Home | History | Annotate | Line # | Download | only in dist
configure revision 1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libX11 1.8.9.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 as_awk_strverscmp='
    595   # Use only awk features that work with 7th edition Unix awk (1978).
    596   # My, what an old awk you have, Mr. Solaris!
    597   END {
    598     while (length(v1) && length(v2)) {
    599       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    600       # Normally this is a single character, but if v1 and v2 contain digits,
    601       # compare them as integers and fractions as strverscmp does.
    602       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    603 	# Split v1 and v2 into their leading digit string components d1 and d2,
    604 	# and advance v1 and v2 past the leading digit strings.
    605 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    606 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    607 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    608 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    609 	if (d1 ~ /^0/) {
    610 	  if (d2 ~ /^0/) {
    611 	    # Compare two fractions.
    612 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    613 	      d1 = substr(d1, 2); len1--
    614 	      d2 = substr(d2, 2); len2--
    615 	    }
    616 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    617 	      # The two components differ in length, and the common prefix
    618 	      # contains only leading zeros.  Consider the longer to be less.
    619 	      d1 = -len1
    620 	      d2 = -len2
    621 	    } else {
    622 	      # Otherwise, compare as strings.
    623 	      d1 = "x" d1
    624 	      d2 = "x" d2
    625 	    }
    626 	  } else {
    627 	    # A fraction is less than an integer.
    628 	    exit 1
    629 	  }
    630 	} else {
    631 	  if (d2 ~ /^0/) {
    632 	    # An integer is greater than a fraction.
    633 	    exit 2
    634 	  } else {
    635 	    # Compare two integers.
    636 	    d1 += 0
    637 	    d2 += 0
    638 	  }
    639 	}
    640       } else {
    641 	# The normal case, without worrying about digits.
    642 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    643 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    644       }
    645       if (d1 < d2) exit 1
    646       if (d1 > d2) exit 2
    647     }
    648     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    649     # which mishandles some comparisons of empty strings to integers.
    650     if (length(v2)) exit 1
    651     if (length(v1)) exit 2
    652   }
    653 '
    654 
    655 test -n "$DJDIR" || exec 7<&0 </dev/null
    656 exec 6>&1
    657 
    658 # Name of the host.
    659 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    660 # so uname gets run too.
    661 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    662 
    663 #
    664 # Initializations.
    665 #
    666 ac_default_prefix=/usr/local
    667 ac_clean_files=
    668 ac_config_libobj_dir=.
    669 LIBOBJS=
    670 cross_compiling=no
    671 subdirs=
    672 MFLAGS=
    673 MAKEFLAGS=
    674 
    675 # Identity of this package.
    676 PACKAGE_NAME='libX11'
    677 PACKAGE_TARNAME='libX11'
    678 PACKAGE_VERSION='1.8.9'
    679 PACKAGE_STRING='libX11 1.8.9'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues'
    681 PACKAGE_URL=''
    682 
    683 ac_unique_file="Makefile.am"
    684 # Factoring default headers for most tests.
    685 ac_includes_default="\
    686 #include <stddef.h>
    687 #ifdef HAVE_STDIO_H
    688 # include <stdio.h>
    689 #endif
    690 #ifdef HAVE_STDLIB_H
    691 # include <stdlib.h>
    692 #endif
    693 #ifdef HAVE_STRING_H
    694 # include <string.h>
    695 #endif
    696 #ifdef HAVE_INTTYPES_H
    697 # include <inttypes.h>
    698 #endif
    699 #ifdef HAVE_STDINT_H
    700 # include <stdint.h>
    701 #endif
    702 #ifdef HAVE_STRINGS_H
    703 # include <strings.h>
    704 #endif
    705 #ifdef HAVE_SYS_TYPES_H
    706 # include <sys/types.h>
    707 #endif
    708 #ifdef HAVE_SYS_STAT_H
    709 # include <sys/stat.h>
    710 #endif
    711 #ifdef HAVE_UNISTD_H
    712 # include <unistd.h>
    713 #endif"
    714 
    715 ac_header_c_list=
    716 ac_func_c_list=
    717 enable_year2038=no
    718 ac_subst_vars='am__EXEEXT_FALSE
    719 am__EXEEXT_TRUE
    720 LTLIBOBJS
    721 XTMALLOC_ZERO_CFLAGS
    722 XMALLOC_ZERO_CFLAGS
    723 MALLOC_ZERO_CFLAGS
    724 XERRORDB
    725 XKEYSYMDB
    726 locales
    727 X11_LOCALEDIR
    728 XLOCALEDIR
    729 X11_LOCALELIBDIR
    730 XLOCALELIBDIR
    731 X11_LOCALEDATADIR
    732 XLOCALEDATADIR
    733 X11_LIBS
    734 X11_CFLAGS
    735 X11_LIBDIR
    736 X11_DATADIR
    737 MAKE_LINT_LIB_FALSE
    738 MAKE_LINT_LIB_TRUE
    739 LINTLIB
    740 LINT_FALSE
    741 LINT_TRUE
    742 LINT_FLAGS
    743 LINT
    744 XKBPROTO_REQUIRES
    745 XKB_FALSE
    746 XKB_TRUE
    747 BIGFONT_LIBS
    748 BIGFONT_CFLAGS
    749 XLOCALE_FALSE
    750 XLOCALE_TRUE
    751 XCMS_FALSE
    752 XCMS_TRUE
    753 KEYSYMDEFS
    754 USE_THREAD_LIBS
    755 XTHREAD_CFLAGS
    756 XTHREADLIB
    757 LAUNCHD
    758 OS2_FALSE
    759 OS2_TRUE
    760 WCHAR32
    761 LIBOBJS
    762 XLIB_LOADABLE_I18N_FALSE
    763 XLIB_LOADABLE_I18N_TRUE
    764 I18N_MODULE_LIBS
    765 X11_EXTRA_DEPS
    766 EXEEXT_FOR_BUILD
    767 LDFLAGS_FOR_BUILD
    768 CFLAGS_FOR_BUILD
    769 CPPFLAGS_FOR_BUILD
    770 CC_FOR_BUILD
    771 HAVE_PERL_FALSE
    772 HAVE_PERL_TRUE
    773 PERL
    774 TRADITIONALCPPFLAGS
    775 RAWCPPFLAGS
    776 RAWCPP
    777 CPP
    778 HAVE_STYLESHEETS_FALSE
    779 HAVE_STYLESHEETS_TRUE
    780 XSL_STYLESHEET
    781 STYLESHEET_SRCDIR
    782 XORG_SGML_PATH
    783 HAVE_XSLTPROC_FALSE
    784 HAVE_XSLTPROC_TRUE
    785 XSLTPROC
    786 HAVE_FOP_FALSE
    787 HAVE_FOP_TRUE
    788 FOP
    789 HAVE_XMLTO_FALSE
    790 HAVE_XMLTO_TRUE
    791 HAVE_XMLTO_TEXT_FALSE
    792 HAVE_XMLTO_TEXT_TRUE
    793 XMLTO
    794 ENABLE_SPECS_FALSE
    795 ENABLE_SPECS_TRUE
    796 MAN_SUBSTS
    797 XORG_MAN_PAGE
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 INSTALL_CMD
    811 PKG_CONFIG_LIBDIR
    812 PKG_CONFIG_PATH
    813 PKG_CONFIG
    814 CHANGELOG_CMD
    815 STRICT_CFLAGS
    816 CWARNFLAGS
    817 BASE_CFLAGS
    818 LT_SYS_LIBRARY_PATH
    819 OTOOL64
    820 OTOOL
    821 LIPO
    822 NMEDIT
    823 DSYMUTIL
    824 MANIFEST_TOOL
    825 RANLIB
    826 ac_ct_AR
    827 AR
    828 DLLTOOL
    829 OBJDUMP
    830 FILECMD
    831 LN_S
    832 NM
    833 ac_ct_DUMPBIN
    834 DUMPBIN
    835 LD
    836 FGREP
    837 EGREP
    838 GREP
    839 SED
    840 LIBTOOL
    841 AM_BACKSLASH
    842 AM_DEFAULT_VERBOSITY
    843 AM_DEFAULT_V
    844 AM_V
    845 CSCOPE
    846 ETAGS
    847 CTAGS
    848 am__fastdepCC_FALSE
    849 am__fastdepCC_TRUE
    850 CCDEPMODE
    851 am__nodep
    852 AMDEPBACKSLASH
    853 AMDEP_FALSE
    854 AMDEP_TRUE
    855 am__include
    856 DEPDIR
    857 am__untar
    858 am__tar
    859 AMTAR
    860 am__leading_dot
    861 SET_MAKE
    862 AWK
    863 mkdir_p
    864 MKDIR_P
    865 INSTALL_STRIP_PROGRAM
    866 STRIP
    867 install_sh
    868 MAKEINFO
    869 AUTOHEADER
    870 AUTOMAKE
    871 AUTOCONF
    872 ACLOCAL
    873 VERSION
    874 PACKAGE
    875 CYGPATH_W
    876 am__isrc
    877 INSTALL_DATA
    878 INSTALL_SCRIPT
    879 INSTALL_PROGRAM
    880 OBJEXT
    881 EXEEXT
    882 ac_ct_CC
    883 CPPFLAGS
    884 LDFLAGS
    885 CFLAGS
    886 CC
    887 host_os
    888 host_vendor
    889 host_cpu
    890 host
    891 build_os
    892 build_vendor
    893 build_cpu
    894 build
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 ECHO_T
    900 ECHO_N
    901 ECHO_C
    902 DEFS
    903 mandir
    904 localedir
    905 libdir
    906 psdir
    907 pdfdir
    908 dvidir
    909 htmldir
    910 infodir
    911 docdir
    912 oldincludedir
    913 includedir
    914 runstatedir
    915 localstatedir
    916 sharedstatedir
    917 sysconfdir
    918 datadir
    919 datarootdir
    920 libexecdir
    921 sbindir
    922 bindir
    923 program_transform_name
    924 prefix
    925 exec_prefix
    926 PACKAGE_URL
    927 PACKAGE_BUGREPORT
    928 PACKAGE_STRING
    929 PACKAGE_VERSION
    930 PACKAGE_TARNAME
    931 PACKAGE_NAME
    932 PATH_SEPARATOR
    933 SHELL
    934 am__quote'
    935 ac_subst_files=''
    936 ac_user_opts='
    937 enable_option_checking
    938 enable_dependency_tracking
    939 enable_silent_rules
    940 enable_shared
    941 enable_static
    942 with_pic
    943 enable_fast_install
    944 with_aix_soname
    945 with_gnu_ld
    946 with_sysroot
    947 enable_libtool_lock
    948 enable_largefile
    949 enable_selective_werror
    950 enable_strict_compilation
    951 enable_specs
    952 with_xmlto
    953 with_fop
    954 with_xsltproc
    955 with_perl
    956 enable_unix_transport
    957 enable_tcp_transport
    958 enable_ipv6
    959 enable_local_transport
    960 enable_loadable_i18n
    961 enable_loadable_xcursor
    962 enable_thread_safety_constructor
    963 with_launchd
    964 enable_xthreads
    965 with_keysymdefdir
    966 enable_xcms
    967 enable_xlocale
    968 enable_xlocaledir
    969 enable_xf86bigfont
    970 enable_xkb
    971 enable_composecache
    972 with_lint
    973 enable_lint_library
    974 with_locale_lib_dir
    975 enable_malloc0returnsnull
    976 enable_year2038
    977 '
    978       ac_precious_vars='build_alias
    979 host_alias
    980 target_alias
    981 CC
    982 CFLAGS
    983 LDFLAGS
    984 LIBS
    985 CPPFLAGS
    986 LT_SYS_LIBRARY_PATH
    987 PKG_CONFIG
    988 PKG_CONFIG_PATH
    989 PKG_CONFIG_LIBDIR
    990 XMLTO
    991 FOP
    992 XSLTPROC
    993 CPP
    994 PERL
    995 BIGFONT_CFLAGS
    996 BIGFONT_LIBS
    997 LINT
    998 LINT_FLAGS
    999 X11_CFLAGS
   1000 X11_LIBS'
   1001 
   1002 
   1003 # Initialize some variables set by options.
   1004 ac_init_help=
   1005 ac_init_version=false
   1006 ac_unrecognized_opts=
   1007 ac_unrecognized_sep=
   1008 # The variables have the same names as the options, with
   1009 # dashes changed to underlines.
   1010 cache_file=/dev/null
   1011 exec_prefix=NONE
   1012 no_create=
   1013 no_recursion=
   1014 prefix=NONE
   1015 program_prefix=NONE
   1016 program_suffix=NONE
   1017 program_transform_name=s,x,x,
   1018 silent=
   1019 site=
   1020 srcdir=
   1021 verbose=
   1022 x_includes=NONE
   1023 x_libraries=NONE
   1024 
   1025 # Installation directory options.
   1026 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1027 # and all the variables that are supposed to be based on exec_prefix
   1028 # by default will actually change.
   1029 # Use braces instead of parens because sh, perl, etc. also accept them.
   1030 # (The list follows the same order as the GNU Coding Standards.)
   1031 bindir='${exec_prefix}/bin'
   1032 sbindir='${exec_prefix}/sbin'
   1033 libexecdir='${exec_prefix}/libexec'
   1034 datarootdir='${prefix}/share'
   1035 datadir='${datarootdir}'
   1036 sysconfdir='${prefix}/etc'
   1037 sharedstatedir='${prefix}/com'
   1038 localstatedir='${prefix}/var'
   1039 runstatedir='${localstatedir}/run'
   1040 includedir='${prefix}/include'
   1041 oldincludedir='/usr/include'
   1042 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1043 infodir='${datarootdir}/info'
   1044 htmldir='${docdir}'
   1045 dvidir='${docdir}'
   1046 pdfdir='${docdir}'
   1047 psdir='${docdir}'
   1048 libdir='${exec_prefix}/lib'
   1049 localedir='${datarootdir}/locale'
   1050 mandir='${datarootdir}/man'
   1051 
   1052 ac_prev=
   1053 ac_dashdash=
   1054 for ac_option
   1055 do
   1056   # If the previous option needs an argument, assign it.
   1057   if test -n "$ac_prev"; then
   1058     eval $ac_prev=\$ac_option
   1059     ac_prev=
   1060     continue
   1061   fi
   1062 
   1063   case $ac_option in
   1064   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1065   *=)   ac_optarg= ;;
   1066   *)    ac_optarg=yes ;;
   1067   esac
   1068 
   1069   case $ac_dashdash$ac_option in
   1070   --)
   1071     ac_dashdash=yes ;;
   1072 
   1073   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1074     ac_prev=bindir ;;
   1075   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1076     bindir=$ac_optarg ;;
   1077 
   1078   -build | --build | --buil | --bui | --bu)
   1079     ac_prev=build_alias ;;
   1080   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1081     build_alias=$ac_optarg ;;
   1082 
   1083   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1084   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1085     ac_prev=cache_file ;;
   1086   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1087   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1088     cache_file=$ac_optarg ;;
   1089 
   1090   --config-cache | -C)
   1091     cache_file=config.cache ;;
   1092 
   1093   -datadir | --datadir | --datadi | --datad)
   1094     ac_prev=datadir ;;
   1095   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1096     datadir=$ac_optarg ;;
   1097 
   1098   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1099   | --dataroo | --dataro | --datar)
   1100     ac_prev=datarootdir ;;
   1101   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1102   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1103     datarootdir=$ac_optarg ;;
   1104 
   1105   -disable-* | --disable-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "enable_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval enable_$ac_useropt=no ;;
   1120 
   1121   -docdir | --docdir | --docdi | --doc | --do)
   1122     ac_prev=docdir ;;
   1123   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1124     docdir=$ac_optarg ;;
   1125 
   1126   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1127     ac_prev=dvidir ;;
   1128   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1129     dvidir=$ac_optarg ;;
   1130 
   1131   -enable-* | --enable-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "enable_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval enable_$ac_useropt=\$ac_optarg ;;
   1146 
   1147   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1148   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1149   | --exec | --exe | --ex)
   1150     ac_prev=exec_prefix ;;
   1151   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1152   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1153   | --exec=* | --exe=* | --ex=*)
   1154     exec_prefix=$ac_optarg ;;
   1155 
   1156   -gas | --gas | --ga | --g)
   1157     # Obsolete; use --with-gas.
   1158     with_gas=yes ;;
   1159 
   1160   -help | --help | --hel | --he | -h)
   1161     ac_init_help=long ;;
   1162   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1163     ac_init_help=recursive ;;
   1164   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1165     ac_init_help=short ;;
   1166 
   1167   -host | --host | --hos | --ho)
   1168     ac_prev=host_alias ;;
   1169   -host=* | --host=* | --hos=* | --ho=*)
   1170     host_alias=$ac_optarg ;;
   1171 
   1172   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1173     ac_prev=htmldir ;;
   1174   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1175   | --ht=*)
   1176     htmldir=$ac_optarg ;;
   1177 
   1178   -includedir | --includedir | --includedi | --included | --include \
   1179   | --includ | --inclu | --incl | --inc)
   1180     ac_prev=includedir ;;
   1181   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1182   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1183     includedir=$ac_optarg ;;
   1184 
   1185   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1186     ac_prev=infodir ;;
   1187   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1188     infodir=$ac_optarg ;;
   1189 
   1190   -libdir | --libdir | --libdi | --libd)
   1191     ac_prev=libdir ;;
   1192   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1193     libdir=$ac_optarg ;;
   1194 
   1195   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1196   | --libexe | --libex | --libe)
   1197     ac_prev=libexecdir ;;
   1198   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1199   | --libexe=* | --libex=* | --libe=*)
   1200     libexecdir=$ac_optarg ;;
   1201 
   1202   -localedir | --localedir | --localedi | --localed | --locale)
   1203     ac_prev=localedir ;;
   1204   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1205     localedir=$ac_optarg ;;
   1206 
   1207   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1208   | --localstate | --localstat | --localsta | --localst | --locals)
   1209     ac_prev=localstatedir ;;
   1210   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1211   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1212     localstatedir=$ac_optarg ;;
   1213 
   1214   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1215     ac_prev=mandir ;;
   1216   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1217     mandir=$ac_optarg ;;
   1218 
   1219   -nfp | --nfp | --nf)
   1220     # Obsolete; use --without-fp.
   1221     with_fp=no ;;
   1222 
   1223   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1224   | --no-cr | --no-c | -n)
   1225     no_create=yes ;;
   1226 
   1227   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1228   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1229     no_recursion=yes ;;
   1230 
   1231   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1232   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1233   | --oldin | --oldi | --old | --ol | --o)
   1234     ac_prev=oldincludedir ;;
   1235   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1236   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1237   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1238     oldincludedir=$ac_optarg ;;
   1239 
   1240   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1241     ac_prev=prefix ;;
   1242   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1243     prefix=$ac_optarg ;;
   1244 
   1245   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1246   | --program-pre | --program-pr | --program-p)
   1247     ac_prev=program_prefix ;;
   1248   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1249   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1250     program_prefix=$ac_optarg ;;
   1251 
   1252   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1253   | --program-suf | --program-su | --program-s)
   1254     ac_prev=program_suffix ;;
   1255   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1256   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1257     program_suffix=$ac_optarg ;;
   1258 
   1259   -program-transform-name | --program-transform-name \
   1260   | --program-transform-nam | --program-transform-na \
   1261   | --program-transform-n | --program-transform- \
   1262   | --program-transform | --program-transfor \
   1263   | --program-transfo | --program-transf \
   1264   | --program-trans | --program-tran \
   1265   | --progr-tra | --program-tr | --program-t)
   1266     ac_prev=program_transform_name ;;
   1267   -program-transform-name=* | --program-transform-name=* \
   1268   | --program-transform-nam=* | --program-transform-na=* \
   1269   | --program-transform-n=* | --program-transform-=* \
   1270   | --program-transform=* | --program-transfor=* \
   1271   | --program-transfo=* | --program-transf=* \
   1272   | --program-trans=* | --program-tran=* \
   1273   | --progr-tra=* | --program-tr=* | --program-t=*)
   1274     program_transform_name=$ac_optarg ;;
   1275 
   1276   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1277     ac_prev=pdfdir ;;
   1278   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1279     pdfdir=$ac_optarg ;;
   1280 
   1281   -psdir | --psdir | --psdi | --psd | --ps)
   1282     ac_prev=psdir ;;
   1283   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1284     psdir=$ac_optarg ;;
   1285 
   1286   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1287   | -silent | --silent | --silen | --sile | --sil)
   1288     silent=yes ;;
   1289 
   1290   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1291   | --runstate | --runstat | --runsta | --runst | --runs \
   1292   | --run | --ru | --r)
   1293     ac_prev=runstatedir ;;
   1294   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1295   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1296   | --run=* | --ru=* | --r=*)
   1297     runstatedir=$ac_optarg ;;
   1298 
   1299   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1300     ac_prev=sbindir ;;
   1301   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1302   | --sbi=* | --sb=*)
   1303     sbindir=$ac_optarg ;;
   1304 
   1305   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1306   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1307   | --sharedst | --shareds | --shared | --share | --shar \
   1308   | --sha | --sh)
   1309     ac_prev=sharedstatedir ;;
   1310   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1311   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1312   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1313   | --sha=* | --sh=*)
   1314     sharedstatedir=$ac_optarg ;;
   1315 
   1316   -site | --site | --sit)
   1317     ac_prev=site ;;
   1318   -site=* | --site=* | --sit=*)
   1319     site=$ac_optarg ;;
   1320 
   1321   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1322     ac_prev=srcdir ;;
   1323   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1324     srcdir=$ac_optarg ;;
   1325 
   1326   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1327   | --syscon | --sysco | --sysc | --sys | --sy)
   1328     ac_prev=sysconfdir ;;
   1329   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1330   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1331     sysconfdir=$ac_optarg ;;
   1332 
   1333   -target | --target | --targe | --targ | --tar | --ta | --t)
   1334     ac_prev=target_alias ;;
   1335   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1336     target_alias=$ac_optarg ;;
   1337 
   1338   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1339     verbose=yes ;;
   1340 
   1341   -version | --version | --versio | --versi | --vers | -V)
   1342     ac_init_version=: ;;
   1343 
   1344   -with-* | --with-*)
   1345     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1346     # Reject names that are not valid shell variable names.
   1347     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1348       as_fn_error $? "invalid package name: '$ac_useropt'"
   1349     ac_useropt_orig=$ac_useropt
   1350     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1351     case $ac_user_opts in
   1352       *"
   1353 "with_$ac_useropt"
   1354 "*) ;;
   1355       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1356 	 ac_unrecognized_sep=', ';;
   1357     esac
   1358     eval with_$ac_useropt=\$ac_optarg ;;
   1359 
   1360   -without-* | --without-*)
   1361     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1362     # Reject names that are not valid shell variable names.
   1363     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1364       as_fn_error $? "invalid package name: '$ac_useropt'"
   1365     ac_useropt_orig=$ac_useropt
   1366     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1367     case $ac_user_opts in
   1368       *"
   1369 "with_$ac_useropt"
   1370 "*) ;;
   1371       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1372 	 ac_unrecognized_sep=', ';;
   1373     esac
   1374     eval with_$ac_useropt=no ;;
   1375 
   1376   --x)
   1377     # Obsolete; use --with-x.
   1378     with_x=yes ;;
   1379 
   1380   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1381   | --x-incl | --x-inc | --x-in | --x-i)
   1382     ac_prev=x_includes ;;
   1383   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1384   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1385     x_includes=$ac_optarg ;;
   1386 
   1387   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1388   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1389     ac_prev=x_libraries ;;
   1390   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1391   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1392     x_libraries=$ac_optarg ;;
   1393 
   1394   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1395 Try '$0 --help' for more information"
   1396     ;;
   1397 
   1398   *=*)
   1399     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1400     # Reject names that are not valid shell variable names.
   1401     case $ac_envvar in #(
   1402       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1403       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1404     esac
   1405     eval $ac_envvar=\$ac_optarg
   1406     export $ac_envvar ;;
   1407 
   1408   *)
   1409     # FIXME: should be removed in autoconf 3.0.
   1410     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1411     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1412       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1413     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1414     ;;
   1415 
   1416   esac
   1417 done
   1418 
   1419 if test -n "$ac_prev"; then
   1420   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1421   as_fn_error $? "missing argument to $ac_option"
   1422 fi
   1423 
   1424 if test -n "$ac_unrecognized_opts"; then
   1425   case $enable_option_checking in
   1426     no) ;;
   1427     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1428     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1429   esac
   1430 fi
   1431 
   1432 # Check all directory arguments for consistency.
   1433 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1434 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1435 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1436 		libdir localedir mandir runstatedir
   1437 do
   1438   eval ac_val=\$$ac_var
   1439   # Remove trailing slashes.
   1440   case $ac_val in
   1441     */ )
   1442       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1443       eval $ac_var=\$ac_val;;
   1444   esac
   1445   # Be sure to have absolute directory names.
   1446   case $ac_val in
   1447     [\\/$]* | ?:[\\/]* )  continue;;
   1448     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1449   esac
   1450   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1451 done
   1452 
   1453 # There might be people who depend on the old broken behavior: '$host'
   1454 # used to hold the argument of --host etc.
   1455 # FIXME: To remove some day.
   1456 build=$build_alias
   1457 host=$host_alias
   1458 target=$target_alias
   1459 
   1460 # FIXME: To remove some day.
   1461 if test "x$host_alias" != x; then
   1462   if test "x$build_alias" = x; then
   1463     cross_compiling=maybe
   1464   elif test "x$build_alias" != "x$host_alias"; then
   1465     cross_compiling=yes
   1466   fi
   1467 fi
   1468 
   1469 ac_tool_prefix=
   1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1471 
   1472 test "$silent" = yes && exec 6>/dev/null
   1473 
   1474 
   1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1476 ac_ls_di=`ls -di .` &&
   1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1478   as_fn_error $? "working directory cannot be determined"
   1479 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1480   as_fn_error $? "pwd does not report name of working directory"
   1481 
   1482 
   1483 # Find the source files, if location was not specified.
   1484 if test -z "$srcdir"; then
   1485   ac_srcdir_defaulted=yes
   1486   # Try the directory containing this script, then the parent directory.
   1487   ac_confdir=`$as_dirname -- "$as_myself" ||
   1488 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1489 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1490 	 X"$as_myself" : 'X\(//\)$' \| \
   1491 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1492 printf "%s\n" X"$as_myself" |
   1493     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1494 	    s//\1/
   1495 	    q
   1496 	  }
   1497 	  /^X\(\/\/\)[^/].*/{
   1498 	    s//\1/
   1499 	    q
   1500 	  }
   1501 	  /^X\(\/\/\)$/{
   1502 	    s//\1/
   1503 	    q
   1504 	  }
   1505 	  /^X\(\/\).*/{
   1506 	    s//\1/
   1507 	    q
   1508 	  }
   1509 	  s/.*/./; q'`
   1510   srcdir=$ac_confdir
   1511   if test ! -r "$srcdir/$ac_unique_file"; then
   1512     srcdir=..
   1513   fi
   1514 else
   1515   ac_srcdir_defaulted=no
   1516 fi
   1517 if test ! -r "$srcdir/$ac_unique_file"; then
   1518   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1519   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1520 fi
   1521 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1522 ac_abs_confdir=`(
   1523 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1524 	pwd)`
   1525 # When building in place, set srcdir=.
   1526 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1527   srcdir=.
   1528 fi
   1529 # Remove unnecessary trailing slashes from srcdir.
   1530 # Double slashes in file names in object file debugging info
   1531 # mess up M-x gdb in Emacs.
   1532 case $srcdir in
   1533 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1534 esac
   1535 for ac_var in $ac_precious_vars; do
   1536   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1537   eval ac_env_${ac_var}_value=\$${ac_var}
   1538   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1539   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1540 done
   1541 
   1542 #
   1543 # Report the --help message.
   1544 #
   1545 if test "$ac_init_help" = "long"; then
   1546   # Omit some internal or obsolete options to make the list less imposing.
   1547   # This message is too long to be a string in the A/UX 3.1 sh.
   1548   cat <<_ACEOF
   1549 'configure' configures libX11 1.8.9 to adapt to many kinds of systems.
   1550 
   1551 Usage: $0 [OPTION]... [VAR=VALUE]...
   1552 
   1553 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1554 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1555 
   1556 Defaults for the options are specified in brackets.
   1557 
   1558 Configuration:
   1559   -h, --help              display this help and exit
   1560       --help=short        display options specific to this package
   1561       --help=recursive    display the short help of all the included packages
   1562   -V, --version           display version information and exit
   1563   -q, --quiet, --silent   do not print 'checking ...' messages
   1564       --cache-file=FILE   cache test results in FILE [disabled]
   1565   -C, --config-cache      alias for '--cache-file=config.cache'
   1566   -n, --no-create         do not create output files
   1567       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1568 
   1569 Installation directories:
   1570   --prefix=PREFIX         install architecture-independent files in PREFIX
   1571                           [$ac_default_prefix]
   1572   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1573                           [PREFIX]
   1574 
   1575 By default, 'make install' will install all the files in
   1576 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1577 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1578 for instance '--prefix=\$HOME'.
   1579 
   1580 For better control, use the options below.
   1581 
   1582 Fine tuning of the installation directories:
   1583   --bindir=DIR            user executables [EPREFIX/bin]
   1584   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1585   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1586   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1587   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1588   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1589   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1590   --libdir=DIR            object code libraries [EPREFIX/lib]
   1591   --includedir=DIR        C header files [PREFIX/include]
   1592   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1593   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1594   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1595   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1596   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1597   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1598   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1599   --htmldir=DIR           html documentation [DOCDIR]
   1600   --dvidir=DIR            dvi documentation [DOCDIR]
   1601   --pdfdir=DIR            pdf documentation [DOCDIR]
   1602   --psdir=DIR             ps documentation [DOCDIR]
   1603 _ACEOF
   1604 
   1605   cat <<\_ACEOF
   1606 
   1607 Program names:
   1608   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1609   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1610   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1611 
   1612 System types:
   1613   --build=BUILD     configure for building on BUILD [guessed]
   1614   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1615 _ACEOF
   1616 fi
   1617 
   1618 if test -n "$ac_init_help"; then
   1619   case $ac_init_help in
   1620      short | recursive ) echo "Configuration of libX11 1.8.9:";;
   1621    esac
   1622   cat <<\_ACEOF
   1623 
   1624 Optional Features:
   1625   --disable-option-checking  ignore unrecognized --enable/--with options
   1626   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1627   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1628   --enable-dependency-tracking
   1629                           do not reject slow dependency extractors
   1630   --disable-dependency-tracking
   1631                           speeds up one-time build
   1632   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1633   --disable-silent-rules  verbose build output (undo: "make V=0")
   1634   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1635   --enable-static[=PKGS]  build static libraries [default=yes]
   1636   --enable-fast-install[=PKGS]
   1637                           optimize for fast installation [default=yes]
   1638   --disable-libtool-lock  avoid locking (might break parallel builds)
   1639   --disable-largefile     omit support for large files
   1640   --disable-selective-werror
   1641                           Turn off selective compiler errors. (default:
   1642                           enabled)
   1643   --enable-strict-compilation
   1644                           Enable all warnings from compiler and make them
   1645                           errors (default: disabled)
   1646   --enable-specs          Enable building the specs (default: yes)
   1647   --enable-unix-transport Enable UNIX domain socket transport
   1648   --enable-tcp-transport  Enable TCP socket transport
   1649   --enable-ipv6           Enable IPv6 support
   1650   --enable-local-transport
   1651                           Enable os-specific local transport
   1652   --enable-loadable-i18n  Controls loadable i18n module support
   1653   --disable-loadable-xcursor
   1654                           Controls loadable xcursor library support
   1655   --disable-thread-safety-constructor
   1656                           Controls mandatory thread safety support
   1657   --disable-xthreads      Disable Xlib support for Multithreading
   1658   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1659   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1660   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1661   --disable-xf86bigfont   Disable XF86BigFont extension support
   1662   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1663   --disable-composecache  Disable compose table cache support
   1664   --enable-lint-library   Create lint library (default: disabled)
   1665   --enable-malloc0returnsnull
   1666                           malloc(0) returns NULL (default: auto)
   1667   --enable-year2038       support timestamps after 2038
   1668 
   1669 Optional Packages:
   1670   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1671   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1672   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1673                           both]
   1674   --with-aix-soname=aix|svr4|both
   1675                           shared library versioning (aka "SONAME") variant to
   1676                           provide on AIX, [default=aix].
   1677   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1678   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1679                           compiler's sysroot if not specified).
   1680   --with-xmlto            Use xmlto to regenerate documentation (default:
   1681                           auto)
   1682   --with-fop              Use fop to regenerate documentation (default: no)
   1683   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1684                           (default: auto)
   1685   --with-perl             Use perl for extracting information from files
   1686                           (default: auto)
   1687   --with-launchd          Build with support for Apple's launchd (default:
   1688                           auto)
   1689   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1690                           include dir)
   1691   --with-lint             Use a lint-style source code checker (default:
   1692                           disabled)
   1693   --with-locale-lib-dir=DIR
   1694                           Directory where locale libraries files are installed
   1695                           (default: $libdir/X11/locale)
   1696 
   1697 Some influential environment variables:
   1698   CC          C compiler command
   1699   CFLAGS      C compiler flags
   1700   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1701               nonstandard directory <lib dir>
   1702   LIBS        libraries to pass to the linker, e.g. -l<library>
   1703   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1704               you have headers in a nonstandard directory <include dir>
   1705   LT_SYS_LIBRARY_PATH
   1706               User-defined run-time library search path.
   1707   PKG_CONFIG  path to pkg-config utility
   1708   PKG_CONFIG_PATH
   1709               directories to add to pkg-config's search path
   1710   PKG_CONFIG_LIBDIR
   1711               path overriding pkg-config's built-in search path
   1712   XMLTO       Path to xmlto command
   1713   FOP         Path to fop command
   1714   XSLTPROC    Path to xsltproc command
   1715   CPP         C preprocessor
   1716   PERL        Path to perl command
   1717   BIGFONT_CFLAGS
   1718               C compiler flags for BIGFONT, overriding pkg-config
   1719   BIGFONT_LIBS
   1720               linker flags for BIGFONT, overriding pkg-config
   1721   LINT        Path to a lint-style command
   1722   LINT_FLAGS  Flags for the lint-style command
   1723   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1724   X11_LIBS    linker flags for X11, overriding pkg-config
   1725 
   1726 Use these variables to override the choices made by 'configure' or to help
   1727 it to find libraries and programs with nonstandard names/locations.
   1728 
   1729 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1730 _ACEOF
   1731 ac_status=$?
   1732 fi
   1733 
   1734 if test "$ac_init_help" = "recursive"; then
   1735   # If there are subdirs, report their specific --help.
   1736   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1737     test -d "$ac_dir" ||
   1738       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1739       continue
   1740     ac_builddir=.
   1741 
   1742 case "$ac_dir" in
   1743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1744 *)
   1745   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1746   # A ".." for each directory in $ac_dir_suffix.
   1747   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1748   case $ac_top_builddir_sub in
   1749   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1750   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1751   esac ;;
   1752 esac
   1753 ac_abs_top_builddir=$ac_pwd
   1754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1755 # for backward compatibility:
   1756 ac_top_builddir=$ac_top_build_prefix
   1757 
   1758 case $srcdir in
   1759   .)  # We are building in place.
   1760     ac_srcdir=.
   1761     ac_top_srcdir=$ac_top_builddir_sub
   1762     ac_abs_top_srcdir=$ac_pwd ;;
   1763   [\\/]* | ?:[\\/]* )  # Absolute name.
   1764     ac_srcdir=$srcdir$ac_dir_suffix;
   1765     ac_top_srcdir=$srcdir
   1766     ac_abs_top_srcdir=$srcdir ;;
   1767   *) # Relative name.
   1768     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1769     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1770     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1771 esac
   1772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1773 
   1774     cd "$ac_dir" || { ac_status=$?; continue; }
   1775     # Check for configure.gnu first; this name is used for a wrapper for
   1776     # Metaconfig's "Configure" on case-insensitive file systems.
   1777     if test -f "$ac_srcdir/configure.gnu"; then
   1778       echo &&
   1779       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1780     elif test -f "$ac_srcdir/configure"; then
   1781       echo &&
   1782       $SHELL "$ac_srcdir/configure" --help=recursive
   1783     else
   1784       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1785     fi || ac_status=$?
   1786     cd "$ac_pwd" || { ac_status=$?; break; }
   1787   done
   1788 fi
   1789 
   1790 test -n "$ac_init_help" && exit $ac_status
   1791 if $ac_init_version; then
   1792   cat <<\_ACEOF
   1793 libX11 configure 1.8.9
   1794 generated by GNU Autoconf 2.72
   1795 
   1796 Copyright (C) 2023 Free Software Foundation, Inc.
   1797 This configure script is free software; the Free Software Foundation
   1798 gives unlimited permission to copy, distribute and modify it.
   1799 _ACEOF
   1800   exit
   1801 fi
   1802 
   1803 ## ------------------------ ##
   1804 ## Autoconf initialization. ##
   1805 ## ------------------------ ##
   1806 
   1807 # ac_fn_c_try_compile LINENO
   1808 # --------------------------
   1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1810 ac_fn_c_try_compile ()
   1811 {
   1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1813   rm -f conftest.$ac_objext conftest.beam
   1814   if { { ac_try="$ac_compile"
   1815 case "(($ac_try" in
   1816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1817   *) ac_try_echo=$ac_try;;
   1818 esac
   1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1820 printf "%s\n" "$ac_try_echo"; } >&5
   1821   (eval "$ac_compile") 2>conftest.err
   1822   ac_status=$?
   1823   if test -s conftest.err; then
   1824     grep -v '^ *+' conftest.err >conftest.er1
   1825     cat conftest.er1 >&5
   1826     mv -f conftest.er1 conftest.err
   1827   fi
   1828   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1829   test $ac_status = 0; } && {
   1830 	 test -z "$ac_c_werror_flag" ||
   1831 	 test ! -s conftest.err
   1832        } && test -s conftest.$ac_objext
   1833 then :
   1834   ac_retval=0
   1835 else case e in #(
   1836   e) printf "%s\n" "$as_me: failed program was:" >&5
   1837 sed 's/^/| /' conftest.$ac_ext >&5
   1838 
   1839 	ac_retval=1 ;;
   1840 esac
   1841 fi
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843   as_fn_set_status $ac_retval
   1844 
   1845 } # ac_fn_c_try_compile
   1846 
   1847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1848 # -------------------------------------------------------
   1849 # Tests whether HEADER exists and can be compiled using the include files in
   1850 # INCLUDES, setting the cache variable VAR accordingly.
   1851 ac_fn_c_check_header_compile ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1855 printf %s "checking for $2... " >&6; }
   1856 if eval test \${$3+y}
   1857 then :
   1858   printf %s "(cached) " >&6
   1859 else case e in #(
   1860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1861 /* end confdefs.h.  */
   1862 $4
   1863 #include <$2>
   1864 _ACEOF
   1865 if ac_fn_c_try_compile "$LINENO"
   1866 then :
   1867   eval "$3=yes"
   1868 else case e in #(
   1869   e) eval "$3=no" ;;
   1870 esac
   1871 fi
   1872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1873 esac
   1874 fi
   1875 eval ac_res=\$$3
   1876 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1877 printf "%s\n" "$ac_res" >&6; }
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879 
   1880 } # ac_fn_c_check_header_compile
   1881 
   1882 # ac_fn_c_try_link LINENO
   1883 # -----------------------
   1884 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1885 ac_fn_c_try_link ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1889   if { { ac_try="$ac_link"
   1890 case "(($ac_try" in
   1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1892   *) ac_try_echo=$ac_try;;
   1893 esac
   1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1895 printf "%s\n" "$ac_try_echo"; } >&5
   1896   (eval "$ac_link") 2>conftest.err
   1897   ac_status=$?
   1898   if test -s conftest.err; then
   1899     grep -v '^ *+' conftest.err >conftest.er1
   1900     cat conftest.er1 >&5
   1901     mv -f conftest.er1 conftest.err
   1902   fi
   1903   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1904   test $ac_status = 0; } && {
   1905 	 test -z "$ac_c_werror_flag" ||
   1906 	 test ! -s conftest.err
   1907        } && test -s conftest$ac_exeext && {
   1908 	 test "$cross_compiling" = yes ||
   1909 	 test -x conftest$ac_exeext
   1910        }
   1911 then :
   1912   ac_retval=0
   1913 else case e in #(
   1914   e) printf "%s\n" "$as_me: failed program was:" >&5
   1915 sed 's/^/| /' conftest.$ac_ext >&5
   1916 
   1917 	ac_retval=1 ;;
   1918 esac
   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 case e in #(
   1942   e) 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 (void); 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 (void);
   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 case e in #(
   1980   e) eval "$3=no" ;;
   1981 esac
   1982 fi
   1983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1984     conftest$ac_exeext conftest.$ac_ext ;;
   1985 esac
   1986 fi
   1987 eval ac_res=\$$3
   1988 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1989 printf "%s\n" "$ac_res" >&6; }
   1990   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1991 
   1992 } # ac_fn_c_check_func
   1993 
   1994 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1995 # ------------------------------------------------------------------
   1996 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1997 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1998 ac_fn_check_decl ()
   1999 {
   2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2001   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2003 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2004 if eval test \${$3+y}
   2005 then :
   2006   printf %s "(cached) " >&6
   2007 else case e in #(
   2008   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2009   eval ac_save_FLAGS=\$$6
   2010   as_fn_append $6 " $5"
   2011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2012 /* end confdefs.h.  */
   2013 $4
   2014 int
   2015 main (void)
   2016 {
   2017 #ifndef $as_decl_name
   2018 #ifdef __cplusplus
   2019   (void) $as_decl_use;
   2020 #else
   2021   (void) $as_decl_name;
   2022 #endif
   2023 #endif
   2024 
   2025   ;
   2026   return 0;
   2027 }
   2028 _ACEOF
   2029 if ac_fn_c_try_compile "$LINENO"
   2030 then :
   2031   eval "$3=yes"
   2032 else case e in #(
   2033   e) eval "$3=no" ;;
   2034 esac
   2035 fi
   2036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2037   eval $6=\$ac_save_FLAGS
   2038  ;;
   2039 esac
   2040 fi
   2041 eval ac_res=\$$3
   2042 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2043 printf "%s\n" "$ac_res" >&6; }
   2044   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2045 
   2046 } # ac_fn_check_decl
   2047 
   2048 # ac_fn_c_try_cpp LINENO
   2049 # ----------------------
   2050 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2051 ac_fn_c_try_cpp ()
   2052 {
   2053   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2054   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2055 case "(($ac_try" in
   2056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2057   *) ac_try_echo=$ac_try;;
   2058 esac
   2059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2060 printf "%s\n" "$ac_try_echo"; } >&5
   2061   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2062   ac_status=$?
   2063   if test -s conftest.err; then
   2064     grep -v '^ *+' conftest.err >conftest.er1
   2065     cat conftest.er1 >&5
   2066     mv -f conftest.er1 conftest.err
   2067   fi
   2068   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2069   test $ac_status = 0; } > conftest.i && {
   2070 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2071 	 test ! -s conftest.err
   2072        }
   2073 then :
   2074   ac_retval=0
   2075 else case e in #(
   2076   e) printf "%s\n" "$as_me: failed program was:" >&5
   2077 sed 's/^/| /' conftest.$ac_ext >&5
   2078 
   2079     ac_retval=1 ;;
   2080 esac
   2081 fi
   2082   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2083   as_fn_set_status $ac_retval
   2084 
   2085 } # ac_fn_c_try_cpp
   2086 
   2087 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2088 # ----------------------------------------------------
   2089 # Tries to find if the field MEMBER exists in type AGGR, after including
   2090 # INCLUDES, setting cache variable VAR accordingly.
   2091 ac_fn_c_check_member ()
   2092 {
   2093   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2095 printf %s "checking for $2.$3... " >&6; }
   2096 if eval test \${$4+y}
   2097 then :
   2098   printf %s "(cached) " >&6
   2099 else case e in #(
   2100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2101 /* end confdefs.h.  */
   2102 $5
   2103 int
   2104 main (void)
   2105 {
   2106 static $2 ac_aggr;
   2107 if (ac_aggr.$3)
   2108 return 0;
   2109   ;
   2110   return 0;
   2111 }
   2112 _ACEOF
   2113 if ac_fn_c_try_compile "$LINENO"
   2114 then :
   2115   eval "$4=yes"
   2116 else case e in #(
   2117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2118 /* end confdefs.h.  */
   2119 $5
   2120 int
   2121 main (void)
   2122 {
   2123 static $2 ac_aggr;
   2124 if (sizeof ac_aggr.$3)
   2125 return 0;
   2126   ;
   2127   return 0;
   2128 }
   2129 _ACEOF
   2130 if ac_fn_c_try_compile "$LINENO"
   2131 then :
   2132   eval "$4=yes"
   2133 else case e in #(
   2134   e) eval "$4=no" ;;
   2135 esac
   2136 fi
   2137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2138 esac
   2139 fi
   2140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2141 esac
   2142 fi
   2143 eval ac_res=\$$4
   2144 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2145 printf "%s\n" "$ac_res" >&6; }
   2146   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2147 
   2148 } # ac_fn_c_check_member
   2149 
   2150 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2151 # -------------------------------------------
   2152 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2153 # variable VAR accordingly.
   2154 ac_fn_c_check_type ()
   2155 {
   2156   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2158 printf %s "checking for $2... " >&6; }
   2159 if eval test \${$3+y}
   2160 then :
   2161   printf %s "(cached) " >&6
   2162 else case e in #(
   2163   e) eval "$3=no"
   2164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2165 /* end confdefs.h.  */
   2166 $4
   2167 int
   2168 main (void)
   2169 {
   2170 if (sizeof ($2))
   2171 	 return 0;
   2172   ;
   2173   return 0;
   2174 }
   2175 _ACEOF
   2176 if ac_fn_c_try_compile "$LINENO"
   2177 then :
   2178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2179 /* end confdefs.h.  */
   2180 $4
   2181 int
   2182 main (void)
   2183 {
   2184 if (sizeof (($2)))
   2185 	    return 0;
   2186   ;
   2187   return 0;
   2188 }
   2189 _ACEOF
   2190 if ac_fn_c_try_compile "$LINENO"
   2191 then :
   2192 
   2193 else case e in #(
   2194   e) eval "$3=yes" ;;
   2195 esac
   2196 fi
   2197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2198 fi
   2199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2200 esac
   2201 fi
   2202 eval ac_res=\$$3
   2203 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2204 printf "%s\n" "$ac_res" >&6; }
   2205   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2206 
   2207 } # ac_fn_c_check_type
   2208 
   2209 # ac_fn_c_try_run LINENO
   2210 # ----------------------
   2211 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2212 # executables *can* be run.
   2213 ac_fn_c_try_run ()
   2214 {
   2215   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2216   if { { ac_try="$ac_link"
   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_link") 2>&5
   2224   ac_status=$?
   2225   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2226   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2227   { { case "(($ac_try" in
   2228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2229   *) ac_try_echo=$ac_try;;
   2230 esac
   2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2232 printf "%s\n" "$ac_try_echo"; } >&5
   2233   (eval "$ac_try") 2>&5
   2234   ac_status=$?
   2235   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2236   test $ac_status = 0; }; }
   2237 then :
   2238   ac_retval=0
   2239 else case e in #(
   2240   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2241        printf "%s\n" "$as_me: failed program was:" >&5
   2242 sed 's/^/| /' conftest.$ac_ext >&5
   2243 
   2244        ac_retval=$ac_status ;;
   2245 esac
   2246 fi
   2247   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2249   as_fn_set_status $ac_retval
   2250 
   2251 } # ac_fn_c_try_run
   2252 ac_configure_args_raw=
   2253 for ac_arg
   2254 do
   2255   case $ac_arg in
   2256   *\'*)
   2257     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2258   esac
   2259   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2260 done
   2261 
   2262 case $ac_configure_args_raw in
   2263   *$as_nl*)
   2264     ac_safe_unquote= ;;
   2265   *)
   2266     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2267     ac_unsafe_a="$ac_unsafe_z#~"
   2268     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2269     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2270 esac
   2271 
   2272 cat >config.log <<_ACEOF
   2273 This file contains any messages produced by compilers while
   2274 running configure, to aid debugging if configure makes a mistake.
   2275 
   2276 It was created by libX11 $as_me 1.8.9, which was
   2277 generated by GNU Autoconf 2.72.  Invocation command line was
   2278 
   2279   $ $0$ac_configure_args_raw
   2280 
   2281 _ACEOF
   2282 exec 5>>config.log
   2283 {
   2284 cat <<_ASUNAME
   2285 ## --------- ##
   2286 ## Platform. ##
   2287 ## --------- ##
   2288 
   2289 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2290 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2291 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2292 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2293 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2294 
   2295 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2296 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2297 
   2298 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2299 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2300 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2301 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2302 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2303 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2304 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2305 
   2306 _ASUNAME
   2307 
   2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2309 for as_dir in $PATH
   2310 do
   2311   IFS=$as_save_IFS
   2312   case $as_dir in #(((
   2313     '') as_dir=./ ;;
   2314     */) ;;
   2315     *) as_dir=$as_dir/ ;;
   2316   esac
   2317     printf "%s\n" "PATH: $as_dir"
   2318   done
   2319 IFS=$as_save_IFS
   2320 
   2321 } >&5
   2322 
   2323 cat >&5 <<_ACEOF
   2324 
   2325 
   2326 ## ----------- ##
   2327 ## Core tests. ##
   2328 ## ----------- ##
   2329 
   2330 _ACEOF
   2331 
   2332 
   2333 # Keep a trace of the command line.
   2334 # Strip out --no-create and --no-recursion so they do not pile up.
   2335 # Strip out --silent because we don't want to record it for future runs.
   2336 # Also quote any args containing shell meta-characters.
   2337 # Make two passes to allow for proper duplicate-argument suppression.
   2338 ac_configure_args=
   2339 ac_configure_args0=
   2340 ac_configure_args1=
   2341 ac_must_keep_next=false
   2342 for ac_pass in 1 2
   2343 do
   2344   for ac_arg
   2345   do
   2346     case $ac_arg in
   2347     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2348     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2349     | -silent | --silent | --silen | --sile | --sil)
   2350       continue ;;
   2351     *\'*)
   2352       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2353     esac
   2354     case $ac_pass in
   2355     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2356     2)
   2357       as_fn_append ac_configure_args1 " '$ac_arg'"
   2358       if test $ac_must_keep_next = true; then
   2359 	ac_must_keep_next=false # Got value, back to normal.
   2360       else
   2361 	case $ac_arg in
   2362 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2363 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2364 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2365 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2366 	    case "$ac_configure_args0 " in
   2367 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2368 	    esac
   2369 	    ;;
   2370 	  -* ) ac_must_keep_next=true ;;
   2371 	esac
   2372       fi
   2373       as_fn_append ac_configure_args " '$ac_arg'"
   2374       ;;
   2375     esac
   2376   done
   2377 done
   2378 { ac_configure_args0=; unset ac_configure_args0;}
   2379 { ac_configure_args1=; unset ac_configure_args1;}
   2380 
   2381 # When interrupted or exit'd, cleanup temporary files, and complete
   2382 # config.log.  We remove comments because anyway the quotes in there
   2383 # would cause problems or look ugly.
   2384 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2386 trap 'exit_status=$?
   2387   # Sanitize IFS.
   2388   IFS=" ""	$as_nl"
   2389   # Save into config.log some information that might help in debugging.
   2390   {
   2391     echo
   2392 
   2393     printf "%s\n" "## ---------------- ##
   2394 ## Cache variables. ##
   2395 ## ---------------- ##"
   2396     echo
   2397     # The following way of writing the cache mishandles newlines in values,
   2398 (
   2399   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2400     eval ac_val=\$$ac_var
   2401     case $ac_val in #(
   2402     *${as_nl}*)
   2403       case $ac_var in #(
   2404       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2405 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2406       esac
   2407       case $ac_var in #(
   2408       _ | IFS | as_nl) ;; #(
   2409       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2410       *) { eval $ac_var=; unset $ac_var;} ;;
   2411       esac ;;
   2412     esac
   2413   done
   2414   (set) 2>&1 |
   2415     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2416     *${as_nl}ac_space=\ *)
   2417       sed -n \
   2418 	"s/'\''/'\''\\\\'\'''\''/g;
   2419 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2420       ;; #(
   2421     *)
   2422       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2423       ;;
   2424     esac |
   2425     sort
   2426 )
   2427     echo
   2428 
   2429     printf "%s\n" "## ----------------- ##
   2430 ## Output variables. ##
   2431 ## ----------------- ##"
   2432     echo
   2433     for ac_var in $ac_subst_vars
   2434     do
   2435       eval ac_val=\$$ac_var
   2436       case $ac_val in
   2437       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2438       esac
   2439       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2440     done | sort
   2441     echo
   2442 
   2443     if test -n "$ac_subst_files"; then
   2444       printf "%s\n" "## ------------------- ##
   2445 ## File substitutions. ##
   2446 ## ------------------- ##"
   2447       echo
   2448       for ac_var in $ac_subst_files
   2449       do
   2450 	eval ac_val=\$$ac_var
   2451 	case $ac_val in
   2452 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2453 	esac
   2454 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2455       done | sort
   2456       echo
   2457     fi
   2458 
   2459     if test -s confdefs.h; then
   2460       printf "%s\n" "## ----------- ##
   2461 ## confdefs.h. ##
   2462 ## ----------- ##"
   2463       echo
   2464       cat confdefs.h
   2465       echo
   2466     fi
   2467     test "$ac_signal" != 0 &&
   2468       printf "%s\n" "$as_me: caught signal $ac_signal"
   2469     printf "%s\n" "$as_me: exit $exit_status"
   2470   } >&5
   2471   rm -f core *.core core.conftest.* &&
   2472     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2473     exit $exit_status
   2474 ' 0
   2475 for ac_signal in 1 2 13 15; do
   2476   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2477 done
   2478 ac_signal=0
   2479 
   2480 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2481 rm -f -r conftest* confdefs.h
   2482 
   2483 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2484 
   2485 # Predefined preprocessor variables.
   2486 
   2487 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2488 
   2489 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2490 
   2491 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2492 
   2493 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2494 
   2495 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2496 
   2497 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2498 
   2499 
   2500 # Let the site file select an alternate cache file if it wants to.
   2501 # Prefer an explicitly selected file to automatically selected ones.
   2502 if test -n "$CONFIG_SITE"; then
   2503   ac_site_files="$CONFIG_SITE"
   2504 elif test "x$prefix" != xNONE; then
   2505   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2506 else
   2507   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2508 fi
   2509 
   2510 for ac_site_file in $ac_site_files
   2511 do
   2512   case $ac_site_file in #(
   2513   */*) :
   2514      ;; #(
   2515   *) :
   2516     ac_site_file=./$ac_site_file ;;
   2517 esac
   2518   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2519     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2520 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2521     sed 's/^/| /' "$ac_site_file" >&5
   2522     . "$ac_site_file" \
   2523       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2524 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2525 as_fn_error $? "failed to load site script $ac_site_file
   2526 See 'config.log' for more details" "$LINENO" 5; }
   2527   fi
   2528 done
   2529 
   2530 if test -r "$cache_file"; then
   2531   # Some versions of bash will fail to source /dev/null (special files
   2532   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2533   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2534     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2535 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2536     case $cache_file in
   2537       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2538       *)                      . "./$cache_file";;
   2539     esac
   2540   fi
   2541 else
   2542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2543 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2544   >$cache_file
   2545 fi
   2546 
   2547 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2548 # Test code for whether the C compiler supports C89 (global declarations)
   2549 ac_c_conftest_c89_globals='
   2550 /* Does the compiler advertise C89 conformance?
   2551    Do not test the value of __STDC__, because some compilers set it to 0
   2552    while being otherwise adequately conformant. */
   2553 #if !defined __STDC__
   2554 # error "Compiler does not advertise C89 conformance"
   2555 #endif
   2556 
   2557 #include <stddef.h>
   2558 #include <stdarg.h>
   2559 struct stat;
   2560 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2561 struct buf { int x; };
   2562 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2563 static char *e (char **p, int i)
   2564 {
   2565   return p[i];
   2566 }
   2567 static char *f (char * (*g) (char **, int), char **p, ...)
   2568 {
   2569   char *s;
   2570   va_list v;
   2571   va_start (v,p);
   2572   s = g (p, va_arg (v,int));
   2573   va_end (v);
   2574   return s;
   2575 }
   2576 
   2577 /* C89 style stringification. */
   2578 #define noexpand_stringify(a) #a
   2579 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2580 
   2581 /* C89 style token pasting.  Exercises some of the corner cases that
   2582    e.g. old MSVC gets wrong, but not very hard. */
   2583 #define noexpand_concat(a,b) a##b
   2584 #define expand_concat(a,b) noexpand_concat(a,b)
   2585 extern int vA;
   2586 extern int vbee;
   2587 #define aye A
   2588 #define bee B
   2589 int *pvA = &expand_concat(v,aye);
   2590 int *pvbee = &noexpand_concat(v,bee);
   2591 
   2592 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2593    function prototypes and stuff, but not \xHH hex character constants.
   2594    These do not provoke an error unfortunately, instead are silently treated
   2595    as an "x".  The following induces an error, until -std is added to get
   2596    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2597    array size at least.  It is necessary to write \x00 == 0 to get something
   2598    that is true only with -std.  */
   2599 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2600 
   2601 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2602    inside strings and character constants.  */
   2603 #define FOO(x) '\''x'\''
   2604 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2605 
   2606 int test (int i, double x);
   2607 struct s1 {int (*f) (int a);};
   2608 struct s2 {int (*f) (double a);};
   2609 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2610                int, int);'
   2611 
   2612 # Test code for whether the C compiler supports C89 (body of main).
   2613 ac_c_conftest_c89_main='
   2614 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2615 '
   2616 
   2617 # Test code for whether the C compiler supports C99 (global declarations)
   2618 ac_c_conftest_c99_globals='
   2619 /* Does the compiler advertise C99 conformance? */
   2620 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2621 # error "Compiler does not advertise C99 conformance"
   2622 #endif
   2623 
   2624 // See if C++-style comments work.
   2625 
   2626 #include <stdbool.h>
   2627 extern int puts (const char *);
   2628 extern int printf (const char *, ...);
   2629 extern int dprintf (int, const char *, ...);
   2630 extern void *malloc (size_t);
   2631 extern void free (void *);
   2632 
   2633 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2634 // dprintf is used instead of fprintf to avoid needing to declare
   2635 // FILE and stderr.
   2636 #define debug(...) dprintf (2, __VA_ARGS__)
   2637 #define showlist(...) puts (#__VA_ARGS__)
   2638 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2639 static void
   2640 test_varargs_macros (void)
   2641 {
   2642   int x = 1234;
   2643   int y = 5678;
   2644   debug ("Flag");
   2645   debug ("X = %d\n", x);
   2646   showlist (The first, second, and third items.);
   2647   report (x>y, "x is %d but y is %d", x, y);
   2648 }
   2649 
   2650 // Check long long types.
   2651 #define BIG64 18446744073709551615ull
   2652 #define BIG32 4294967295ul
   2653 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2654 #if !BIG_OK
   2655   #error "your preprocessor is broken"
   2656 #endif
   2657 #if BIG_OK
   2658 #else
   2659   #error "your preprocessor is broken"
   2660 #endif
   2661 static long long int bignum = -9223372036854775807LL;
   2662 static unsigned long long int ubignum = BIG64;
   2663 
   2664 struct incomplete_array
   2665 {
   2666   int datasize;
   2667   double data[];
   2668 };
   2669 
   2670 struct named_init {
   2671   int number;
   2672   const wchar_t *name;
   2673   double average;
   2674 };
   2675 
   2676 typedef const char *ccp;
   2677 
   2678 static inline int
   2679 test_restrict (ccp restrict text)
   2680 {
   2681   // Iterate through items via the restricted pointer.
   2682   // Also check for declarations in for loops.
   2683   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2684     continue;
   2685   return 0;
   2686 }
   2687 
   2688 // Check varargs and va_copy.
   2689 static bool
   2690 test_varargs (const char *format, ...)
   2691 {
   2692   va_list args;
   2693   va_start (args, format);
   2694   va_list args_copy;
   2695   va_copy (args_copy, args);
   2696 
   2697   const char *str = "";
   2698   int number = 0;
   2699   float fnumber = 0;
   2700 
   2701   while (*format)
   2702     {
   2703       switch (*format++)
   2704 	{
   2705 	case '\''s'\'': // string
   2706 	  str = va_arg (args_copy, const char *);
   2707 	  break;
   2708 	case '\''d'\'': // int
   2709 	  number = va_arg (args_copy, int);
   2710 	  break;
   2711 	case '\''f'\'': // float
   2712 	  fnumber = va_arg (args_copy, double);
   2713 	  break;
   2714 	default:
   2715 	  break;
   2716 	}
   2717     }
   2718   va_end (args_copy);
   2719   va_end (args);
   2720 
   2721   return *str && number && fnumber;
   2722 }
   2723 '
   2724 
   2725 # Test code for whether the C compiler supports C99 (body of main).
   2726 ac_c_conftest_c99_main='
   2727   // Check bool.
   2728   _Bool success = false;
   2729   success |= (argc != 0);
   2730 
   2731   // Check restrict.
   2732   if (test_restrict ("String literal") == 0)
   2733     success = true;
   2734   char *restrict newvar = "Another string";
   2735 
   2736   // Check varargs.
   2737   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2738   test_varargs_macros ();
   2739 
   2740   // Check flexible array members.
   2741   struct incomplete_array *ia =
   2742     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2743   ia->datasize = 10;
   2744   for (int i = 0; i < ia->datasize; ++i)
   2745     ia->data[i] = i * 1.234;
   2746   // Work around memory leak warnings.
   2747   free (ia);
   2748 
   2749   // Check named initializers.
   2750   struct named_init ni = {
   2751     .number = 34,
   2752     .name = L"Test wide string",
   2753     .average = 543.34343,
   2754   };
   2755 
   2756   ni.number = 58;
   2757 
   2758   int dynamic_array[ni.number];
   2759   dynamic_array[0] = argv[0][0];
   2760   dynamic_array[ni.number - 1] = 543;
   2761 
   2762   // work around unused variable warnings
   2763   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2764 	 || dynamic_array[ni.number - 1] != 543);
   2765 '
   2766 
   2767 # Test code for whether the C compiler supports C11 (global declarations)
   2768 ac_c_conftest_c11_globals='
   2769 /* Does the compiler advertise C11 conformance? */
   2770 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2771 # error "Compiler does not advertise C11 conformance"
   2772 #endif
   2773 
   2774 // Check _Alignas.
   2775 char _Alignas (double) aligned_as_double;
   2776 char _Alignas (0) no_special_alignment;
   2777 extern char aligned_as_int;
   2778 char _Alignas (0) _Alignas (int) aligned_as_int;
   2779 
   2780 // Check _Alignof.
   2781 enum
   2782 {
   2783   int_alignment = _Alignof (int),
   2784   int_array_alignment = _Alignof (int[100]),
   2785   char_alignment = _Alignof (char)
   2786 };
   2787 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2788 
   2789 // Check _Noreturn.
   2790 int _Noreturn does_not_return (void) { for (;;) continue; }
   2791 
   2792 // Check _Static_assert.
   2793 struct test_static_assert
   2794 {
   2795   int x;
   2796   _Static_assert (sizeof (int) <= sizeof (long int),
   2797                   "_Static_assert does not work in struct");
   2798   long int y;
   2799 };
   2800 
   2801 // Check UTF-8 literals.
   2802 #define u8 syntax error!
   2803 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2804 
   2805 // Check duplicate typedefs.
   2806 typedef long *long_ptr;
   2807 typedef long int *long_ptr;
   2808 typedef long_ptr long_ptr;
   2809 
   2810 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2811 struct anonymous
   2812 {
   2813   union {
   2814     struct { int i; int j; };
   2815     struct { int k; long int l; } w;
   2816   };
   2817   int m;
   2818 } v1;
   2819 '
   2820 
   2821 # Test code for whether the C compiler supports C11 (body of main).
   2822 ac_c_conftest_c11_main='
   2823   _Static_assert ((offsetof (struct anonymous, i)
   2824 		   == offsetof (struct anonymous, w.k)),
   2825 		  "Anonymous union alignment botch");
   2826   v1.i = 2;
   2827   v1.w.k = 5;
   2828   ok |= v1.i != 5;
   2829 '
   2830 
   2831 # Test code for whether the C compiler supports C11 (complete).
   2832 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2833 ${ac_c_conftest_c99_globals}
   2834 ${ac_c_conftest_c11_globals}
   2835 
   2836 int
   2837 main (int argc, char **argv)
   2838 {
   2839   int ok = 0;
   2840   ${ac_c_conftest_c89_main}
   2841   ${ac_c_conftest_c99_main}
   2842   ${ac_c_conftest_c11_main}
   2843   return ok;
   2844 }
   2845 "
   2846 
   2847 # Test code for whether the C compiler supports C99 (complete).
   2848 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2849 ${ac_c_conftest_c99_globals}
   2850 
   2851 int
   2852 main (int argc, char **argv)
   2853 {
   2854   int ok = 0;
   2855   ${ac_c_conftest_c89_main}
   2856   ${ac_c_conftest_c99_main}
   2857   return ok;
   2858 }
   2859 "
   2860 
   2861 # Test code for whether the C compiler supports C89 (complete).
   2862 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2863 
   2864 int
   2865 main (int argc, char **argv)
   2866 {
   2867   int ok = 0;
   2868   ${ac_c_conftest_c89_main}
   2869   return ok;
   2870 }
   2871 "
   2872 
   2873 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2874 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2875 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2876 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2877 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2878 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2879 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2880 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2881 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2882 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2883 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2884 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2885 
   2886 # Auxiliary files required by this configure script.
   2887 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2888 
   2889 # Locations in which to look for auxiliary files.
   2890 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2891 
   2892 # Search for a directory containing all of the required auxiliary files,
   2893 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2894 # If we don't find one directory that contains all the files we need,
   2895 # we report the set of missing files from the *first* directory in
   2896 # $ac_aux_dir_candidates and give up.
   2897 ac_missing_aux_files=""
   2898 ac_first_candidate=:
   2899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2901 as_found=false
   2902 for as_dir in $ac_aux_dir_candidates
   2903 do
   2904   IFS=$as_save_IFS
   2905   case $as_dir in #(((
   2906     '') as_dir=./ ;;
   2907     */) ;;
   2908     *) as_dir=$as_dir/ ;;
   2909   esac
   2910   as_found=:
   2911 
   2912   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2913   ac_aux_dir_found=yes
   2914   ac_install_sh=
   2915   for ac_aux in $ac_aux_files
   2916   do
   2917     # As a special case, if "install-sh" is required, that requirement
   2918     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2919     # and $ac_install_sh is set appropriately for whichever one is found.
   2920     if test x"$ac_aux" = x"install-sh"
   2921     then
   2922       if test -f "${as_dir}install-sh"; then
   2923         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2924         ac_install_sh="${as_dir}install-sh -c"
   2925       elif test -f "${as_dir}install.sh"; then
   2926         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2927         ac_install_sh="${as_dir}install.sh -c"
   2928       elif test -f "${as_dir}shtool"; then
   2929         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2930         ac_install_sh="${as_dir}shtool install -c"
   2931       else
   2932         ac_aux_dir_found=no
   2933         if $ac_first_candidate; then
   2934           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2935         else
   2936           break
   2937         fi
   2938       fi
   2939     else
   2940       if test -f "${as_dir}${ac_aux}"; then
   2941         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2942       else
   2943         ac_aux_dir_found=no
   2944         if $ac_first_candidate; then
   2945           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2946         else
   2947           break
   2948         fi
   2949       fi
   2950     fi
   2951   done
   2952   if test "$ac_aux_dir_found" = yes; then
   2953     ac_aux_dir="$as_dir"
   2954     break
   2955   fi
   2956   ac_first_candidate=false
   2957 
   2958   as_found=false
   2959 done
   2960 IFS=$as_save_IFS
   2961 if $as_found
   2962 then :
   2963 
   2964 else case e in #(
   2965   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2966 esac
   2967 fi
   2968 
   2969 
   2970 # These three variables are undocumented and unsupported,
   2971 # and are intended to be withdrawn in a future Autoconf release.
   2972 # They can cause serious problems if a builder's source tree is in a directory
   2973 # whose full name contains unusual characters.
   2974 if test -f "${ac_aux_dir}config.guess"; then
   2975   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2976 fi
   2977 if test -f "${ac_aux_dir}config.sub"; then
   2978   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2979 fi
   2980 if test -f "$ac_aux_dir/configure"; then
   2981   ac_configure="$SHELL ${ac_aux_dir}configure"
   2982 fi
   2983 
   2984 # Check that the precious variables saved in the cache have kept the same
   2985 # value.
   2986 ac_cache_corrupted=false
   2987 for ac_var in $ac_precious_vars; do
   2988   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2989   eval ac_new_set=\$ac_env_${ac_var}_set
   2990   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2991   eval ac_new_val=\$ac_env_${ac_var}_value
   2992   case $ac_old_set,$ac_new_set in
   2993     set,)
   2994       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2995 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2996       ac_cache_corrupted=: ;;
   2997     ,set)
   2998       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2999 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3000       ac_cache_corrupted=: ;;
   3001     ,);;
   3002     *)
   3003       if test "x$ac_old_val" != "x$ac_new_val"; then
   3004 	# differences in whitespace do not lead to failure.
   3005 	ac_old_val_w=`echo x $ac_old_val`
   3006 	ac_new_val_w=`echo x $ac_new_val`
   3007 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3008 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3009 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3010 	  ac_cache_corrupted=:
   3011 	else
   3012 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3013 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3014 	  eval $ac_var=\$ac_old_val
   3015 	fi
   3016 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3017 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3019 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3020       fi;;
   3021   esac
   3022   # Pass precious variables to config.status.
   3023   if test "$ac_new_set" = set; then
   3024     case $ac_new_val in
   3025     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3026     *) ac_arg=$ac_var=$ac_new_val ;;
   3027     esac
   3028     case " $ac_configure_args " in
   3029       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3030       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3031     esac
   3032   fi
   3033 done
   3034 if $ac_cache_corrupted; then
   3035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3036 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3038 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3039   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3040 	    and start over" "$LINENO" 5
   3041 fi
   3042 ## -------------------- ##
   3043 ## Main body of script. ##
   3044 ## -------------------- ##
   3045 
   3046 ac_ext=c
   3047 ac_cpp='$CPP $CPPFLAGS'
   3048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3051 
   3052 
   3053 
   3054 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3055 
   3056 
   3057 
   3058 
   3059 
   3060   # Make sure we can run config.sub.
   3061 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3062   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3063 
   3064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3065 printf %s "checking build system type... " >&6; }
   3066 if test ${ac_cv_build+y}
   3067 then :
   3068   printf %s "(cached) " >&6
   3069 else case e in #(
   3070   e) ac_build_alias=$build_alias
   3071 test "x$ac_build_alias" = x &&
   3072   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3073 test "x$ac_build_alias" = x &&
   3074   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3075 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3076   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3077  ;;
   3078 esac
   3079 fi
   3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3081 printf "%s\n" "$ac_cv_build" >&6; }
   3082 case $ac_cv_build in
   3083 *-*-*) ;;
   3084 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3085 esac
   3086 build=$ac_cv_build
   3087 ac_save_IFS=$IFS; IFS='-'
   3088 set x $ac_cv_build
   3089 shift
   3090 build_cpu=$1
   3091 build_vendor=$2
   3092 shift; shift
   3093 # Remember, the first character of IFS is used to create $*,
   3094 # except with old shells:
   3095 build_os=$*
   3096 IFS=$ac_save_IFS
   3097 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3098 
   3099 
   3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3101 printf %s "checking host system type... " >&6; }
   3102 if test ${ac_cv_host+y}
   3103 then :
   3104   printf %s "(cached) " >&6
   3105 else case e in #(
   3106   e) if test "x$host_alias" = x; then
   3107   ac_cv_host=$ac_cv_build
   3108 else
   3109   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3110     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3111 fi
   3112  ;;
   3113 esac
   3114 fi
   3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3116 printf "%s\n" "$ac_cv_host" >&6; }
   3117 case $ac_cv_host in
   3118 *-*-*) ;;
   3119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3120 esac
   3121 host=$ac_cv_host
   3122 ac_save_IFS=$IFS; IFS='-'
   3123 set x $ac_cv_host
   3124 shift
   3125 host_cpu=$1
   3126 host_vendor=$2
   3127 shift; shift
   3128 # Remember, the first character of IFS is used to create $*,
   3129 # except with old shells:
   3130 host_os=$*
   3131 IFS=$ac_save_IFS
   3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3133 
   3134 
   3135 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3136 # Must be called before any macros that run the compiler (like LT_INIT)
   3137 # to avoid autoconf errors.
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 # Expand $ac_aux_dir to an absolute path.
   3149 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3150 
   3151 ac_ext=c
   3152 ac_cpp='$CPP $CPPFLAGS'
   3153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3156 if test -n "$ac_tool_prefix"; then
   3157   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3158 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3160 printf %s "checking for $ac_word... " >&6; }
   3161 if test ${ac_cv_prog_CC+y}
   3162 then :
   3163   printf %s "(cached) " >&6
   3164 else case e in #(
   3165   e) if test -n "$CC"; then
   3166   ac_cv_prog_CC="$CC" # Let the user override the test.
   3167 else
   3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3169 for as_dir in $PATH
   3170 do
   3171   IFS=$as_save_IFS
   3172   case $as_dir in #(((
   3173     '') as_dir=./ ;;
   3174     */) ;;
   3175     *) as_dir=$as_dir/ ;;
   3176   esac
   3177     for ac_exec_ext in '' $ac_executable_extensions; do
   3178   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3179     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3180     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3181     break 2
   3182   fi
   3183 done
   3184   done
   3185 IFS=$as_save_IFS
   3186 
   3187 fi ;;
   3188 esac
   3189 fi
   3190 CC=$ac_cv_prog_CC
   3191 if test -n "$CC"; then
   3192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3193 printf "%s\n" "$CC" >&6; }
   3194 else
   3195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3196 printf "%s\n" "no" >&6; }
   3197 fi
   3198 
   3199 
   3200 fi
   3201 if test -z "$ac_cv_prog_CC"; then
   3202   ac_ct_CC=$CC
   3203   # Extract the first word of "gcc", so it can be a program name with args.
   3204 set dummy gcc; ac_word=$2
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3206 printf %s "checking for $ac_word... " >&6; }
   3207 if test ${ac_cv_prog_ac_ct_CC+y}
   3208 then :
   3209   printf %s "(cached) " >&6
   3210 else case e in #(
   3211   e) if test -n "$ac_ct_CC"; then
   3212   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3213 else
   3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3215 for as_dir in $PATH
   3216 do
   3217   IFS=$as_save_IFS
   3218   case $as_dir in #(((
   3219     '') as_dir=./ ;;
   3220     */) ;;
   3221     *) as_dir=$as_dir/ ;;
   3222   esac
   3223     for ac_exec_ext in '' $ac_executable_extensions; do
   3224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3225     ac_cv_prog_ac_ct_CC="gcc"
   3226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3227     break 2
   3228   fi
   3229 done
   3230   done
   3231 IFS=$as_save_IFS
   3232 
   3233 fi ;;
   3234 esac
   3235 fi
   3236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3237 if test -n "$ac_ct_CC"; then
   3238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3239 printf "%s\n" "$ac_ct_CC" >&6; }
   3240 else
   3241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3242 printf "%s\n" "no" >&6; }
   3243 fi
   3244 
   3245   if test "x$ac_ct_CC" = x; then
   3246     CC=""
   3247   else
   3248     case $cross_compiling:$ac_tool_warned in
   3249 yes:)
   3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3251 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3252 ac_tool_warned=yes ;;
   3253 esac
   3254     CC=$ac_ct_CC
   3255   fi
   3256 else
   3257   CC="$ac_cv_prog_CC"
   3258 fi
   3259 
   3260 if test -z "$CC"; then
   3261           if test -n "$ac_tool_prefix"; then
   3262     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3263 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3265 printf %s "checking for $ac_word... " >&6; }
   3266 if test ${ac_cv_prog_CC+y}
   3267 then :
   3268   printf %s "(cached) " >&6
   3269 else case e in #(
   3270   e) if test -n "$CC"; then
   3271   ac_cv_prog_CC="$CC" # Let the user override the test.
   3272 else
   3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3274 for as_dir in $PATH
   3275 do
   3276   IFS=$as_save_IFS
   3277   case $as_dir in #(((
   3278     '') as_dir=./ ;;
   3279     */) ;;
   3280     *) as_dir=$as_dir/ ;;
   3281   esac
   3282     for ac_exec_ext in '' $ac_executable_extensions; do
   3283   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3284     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3285     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3286     break 2
   3287   fi
   3288 done
   3289   done
   3290 IFS=$as_save_IFS
   3291 
   3292 fi ;;
   3293 esac
   3294 fi
   3295 CC=$ac_cv_prog_CC
   3296 if test -n "$CC"; then
   3297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3298 printf "%s\n" "$CC" >&6; }
   3299 else
   3300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3301 printf "%s\n" "no" >&6; }
   3302 fi
   3303 
   3304 
   3305   fi
   3306 fi
   3307 if test -z "$CC"; then
   3308   # Extract the first word of "cc", so it can be a program name with args.
   3309 set dummy cc; ac_word=$2
   3310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3311 printf %s "checking for $ac_word... " >&6; }
   3312 if test ${ac_cv_prog_CC+y}
   3313 then :
   3314   printf %s "(cached) " >&6
   3315 else case e in #(
   3316   e) if test -n "$CC"; then
   3317   ac_cv_prog_CC="$CC" # Let the user override the test.
   3318 else
   3319   ac_prog_rejected=no
   3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3321 for as_dir in $PATH
   3322 do
   3323   IFS=$as_save_IFS
   3324   case $as_dir in #(((
   3325     '') as_dir=./ ;;
   3326     */) ;;
   3327     *) as_dir=$as_dir/ ;;
   3328   esac
   3329     for ac_exec_ext in '' $ac_executable_extensions; do
   3330   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3331     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3332        ac_prog_rejected=yes
   3333        continue
   3334      fi
   3335     ac_cv_prog_CC="cc"
   3336     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3337     break 2
   3338   fi
   3339 done
   3340   done
   3341 IFS=$as_save_IFS
   3342 
   3343 if test $ac_prog_rejected = yes; then
   3344   # We found a bogon in the path, so make sure we never use it.
   3345   set dummy $ac_cv_prog_CC
   3346   shift
   3347   if test $# != 0; then
   3348     # We chose a different compiler from the bogus one.
   3349     # However, it has the same basename, so the bogon will be chosen
   3350     # first if we set CC to just the basename; use the full file name.
   3351     shift
   3352     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3353   fi
   3354 fi
   3355 fi ;;
   3356 esac
   3357 fi
   3358 CC=$ac_cv_prog_CC
   3359 if test -n "$CC"; then
   3360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3361 printf "%s\n" "$CC" >&6; }
   3362 else
   3363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3364 printf "%s\n" "no" >&6; }
   3365 fi
   3366 
   3367 
   3368 fi
   3369 if test -z "$CC"; then
   3370   if test -n "$ac_tool_prefix"; then
   3371   for ac_prog in cl.exe
   3372   do
   3373     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3376 printf %s "checking for $ac_word... " >&6; }
   3377 if test ${ac_cv_prog_CC+y}
   3378 then :
   3379   printf %s "(cached) " >&6
   3380 else case e in #(
   3381   e) if test -n "$CC"; then
   3382   ac_cv_prog_CC="$CC" # Let the user override the test.
   3383 else
   3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3385 for as_dir in $PATH
   3386 do
   3387   IFS=$as_save_IFS
   3388   case $as_dir in #(((
   3389     '') as_dir=./ ;;
   3390     */) ;;
   3391     *) as_dir=$as_dir/ ;;
   3392   esac
   3393     for ac_exec_ext in '' $ac_executable_extensions; do
   3394   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3395     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3396     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3397     break 2
   3398   fi
   3399 done
   3400   done
   3401 IFS=$as_save_IFS
   3402 
   3403 fi ;;
   3404 esac
   3405 fi
   3406 CC=$ac_cv_prog_CC
   3407 if test -n "$CC"; then
   3408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3409 printf "%s\n" "$CC" >&6; }
   3410 else
   3411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3412 printf "%s\n" "no" >&6; }
   3413 fi
   3414 
   3415 
   3416     test -n "$CC" && break
   3417   done
   3418 fi
   3419 if test -z "$CC"; then
   3420   ac_ct_CC=$CC
   3421   for ac_prog in cl.exe
   3422 do
   3423   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3424 set dummy $ac_prog; ac_word=$2
   3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3426 printf %s "checking for $ac_word... " >&6; }
   3427 if test ${ac_cv_prog_ac_ct_CC+y}
   3428 then :
   3429   printf %s "(cached) " >&6
   3430 else case e in #(
   3431   e) if test -n "$ac_ct_CC"; then
   3432   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   case $as_dir in #(((
   3439     '') as_dir=./ ;;
   3440     */) ;;
   3441     *) as_dir=$as_dir/ ;;
   3442   esac
   3443     for ac_exec_ext in '' $ac_executable_extensions; do
   3444   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3445     ac_cv_prog_ac_ct_CC="$ac_prog"
   3446     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3447     break 2
   3448   fi
   3449 done
   3450   done
   3451 IFS=$as_save_IFS
   3452 
   3453 fi ;;
   3454 esac
   3455 fi
   3456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3457 if test -n "$ac_ct_CC"; then
   3458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3459 printf "%s\n" "$ac_ct_CC" >&6; }
   3460 else
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3462 printf "%s\n" "no" >&6; }
   3463 fi
   3464 
   3465 
   3466   test -n "$ac_ct_CC" && break
   3467 done
   3468 
   3469   if test "x$ac_ct_CC" = x; then
   3470     CC=""
   3471   else
   3472     case $cross_compiling:$ac_tool_warned in
   3473 yes:)
   3474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3475 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3476 ac_tool_warned=yes ;;
   3477 esac
   3478     CC=$ac_ct_CC
   3479   fi
   3480 fi
   3481 
   3482 fi
   3483 if test -z "$CC"; then
   3484   if test -n "$ac_tool_prefix"; then
   3485   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3486 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3488 printf %s "checking for $ac_word... " >&6; }
   3489 if test ${ac_cv_prog_CC+y}
   3490 then :
   3491   printf %s "(cached) " >&6
   3492 else case e in #(
   3493   e) if test -n "$CC"; then
   3494   ac_cv_prog_CC="$CC" # Let the user override the test.
   3495 else
   3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3497 for as_dir in $PATH
   3498 do
   3499   IFS=$as_save_IFS
   3500   case $as_dir in #(((
   3501     '') as_dir=./ ;;
   3502     */) ;;
   3503     *) as_dir=$as_dir/ ;;
   3504   esac
   3505     for ac_exec_ext in '' $ac_executable_extensions; do
   3506   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3507     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3508     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3509     break 2
   3510   fi
   3511 done
   3512   done
   3513 IFS=$as_save_IFS
   3514 
   3515 fi ;;
   3516 esac
   3517 fi
   3518 CC=$ac_cv_prog_CC
   3519 if test -n "$CC"; then
   3520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3521 printf "%s\n" "$CC" >&6; }
   3522 else
   3523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3524 printf "%s\n" "no" >&6; }
   3525 fi
   3526 
   3527 
   3528 fi
   3529 if test -z "$ac_cv_prog_CC"; then
   3530   ac_ct_CC=$CC
   3531   # Extract the first word of "clang", so it can be a program name with args.
   3532 set dummy clang; ac_word=$2
   3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3534 printf %s "checking for $ac_word... " >&6; }
   3535 if test ${ac_cv_prog_ac_ct_CC+y}
   3536 then :
   3537   printf %s "(cached) " >&6
   3538 else case e in #(
   3539   e) if test -n "$ac_ct_CC"; then
   3540   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3541 else
   3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3543 for as_dir in $PATH
   3544 do
   3545   IFS=$as_save_IFS
   3546   case $as_dir in #(((
   3547     '') as_dir=./ ;;
   3548     */) ;;
   3549     *) as_dir=$as_dir/ ;;
   3550   esac
   3551     for ac_exec_ext in '' $ac_executable_extensions; do
   3552   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3553     ac_cv_prog_ac_ct_CC="clang"
   3554     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3555     break 2
   3556   fi
   3557 done
   3558   done
   3559 IFS=$as_save_IFS
   3560 
   3561 fi ;;
   3562 esac
   3563 fi
   3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3565 if test -n "$ac_ct_CC"; then
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3567 printf "%s\n" "$ac_ct_CC" >&6; }
   3568 else
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3570 printf "%s\n" "no" >&6; }
   3571 fi
   3572 
   3573   if test "x$ac_ct_CC" = x; then
   3574     CC=""
   3575   else
   3576     case $cross_compiling:$ac_tool_warned in
   3577 yes:)
   3578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3579 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3580 ac_tool_warned=yes ;;
   3581 esac
   3582     CC=$ac_ct_CC
   3583   fi
   3584 else
   3585   CC="$ac_cv_prog_CC"
   3586 fi
   3587 
   3588 fi
   3589 
   3590 
   3591 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3592 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3593 as_fn_error $? "no acceptable C compiler found in \$PATH
   3594 See 'config.log' for more details" "$LINENO" 5; }
   3595 
   3596 # Provide some information about the compiler.
   3597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3598 set X $ac_compile
   3599 ac_compiler=$2
   3600 for ac_option in --version -v -V -qversion -version; do
   3601   { { ac_try="$ac_compiler $ac_option >&5"
   3602 case "(($ac_try" in
   3603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3604   *) ac_try_echo=$ac_try;;
   3605 esac
   3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3607 printf "%s\n" "$ac_try_echo"; } >&5
   3608   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3609   ac_status=$?
   3610   if test -s conftest.err; then
   3611     sed '10a\
   3612 ... rest of stderr output deleted ...
   3613          10q' conftest.err >conftest.er1
   3614     cat conftest.er1 >&5
   3615   fi
   3616   rm -f conftest.er1 conftest.err
   3617   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3618   test $ac_status = 0; }
   3619 done
   3620 
   3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3622 /* end confdefs.h.  */
   3623 
   3624 int
   3625 main (void)
   3626 {
   3627 
   3628   ;
   3629   return 0;
   3630 }
   3631 _ACEOF
   3632 ac_clean_files_save=$ac_clean_files
   3633 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3634 # Try to create an executable without -o first, disregard a.out.
   3635 # It will help us diagnose broken compilers, and finding out an intuition
   3636 # of exeext.
   3637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3638 printf %s "checking whether the C compiler works... " >&6; }
   3639 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3640 
   3641 # The possible output files:
   3642 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3643 
   3644 ac_rmfiles=
   3645 for ac_file in $ac_files
   3646 do
   3647   case $ac_file in
   3648     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3649     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3650   esac
   3651 done
   3652 rm -f $ac_rmfiles
   3653 
   3654 if { { ac_try="$ac_link_default"
   3655 case "(($ac_try" in
   3656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3657   *) ac_try_echo=$ac_try;;
   3658 esac
   3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3660 printf "%s\n" "$ac_try_echo"; } >&5
   3661   (eval "$ac_link_default") 2>&5
   3662   ac_status=$?
   3663   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3664   test $ac_status = 0; }
   3665 then :
   3666   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3667 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3668 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3669 # so that the user can short-circuit this test for compilers unknown to
   3670 # Autoconf.
   3671 for ac_file in $ac_files ''
   3672 do
   3673   test -f "$ac_file" || continue
   3674   case $ac_file in
   3675     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3676 	;;
   3677     [ab].out )
   3678 	# We found the default executable, but exeext='' is most
   3679 	# certainly right.
   3680 	break;;
   3681     *.* )
   3682 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3683 	then :; else
   3684 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3685 	fi
   3686 	# We set ac_cv_exeext here because the later test for it is not
   3687 	# safe: cross compilers may not add the suffix if given an '-o'
   3688 	# argument, so we may need to know it at that point already.
   3689 	# Even if this section looks crufty: it has the advantage of
   3690 	# actually working.
   3691 	break;;
   3692     * )
   3693 	break;;
   3694   esac
   3695 done
   3696 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3697 
   3698 else case e in #(
   3699   e) ac_file='' ;;
   3700 esac
   3701 fi
   3702 if test -z "$ac_file"
   3703 then :
   3704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3705 printf "%s\n" "no" >&6; }
   3706 printf "%s\n" "$as_me: failed program was:" >&5
   3707 sed 's/^/| /' conftest.$ac_ext >&5
   3708 
   3709 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3710 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3711 as_fn_error 77 "C compiler cannot create executables
   3712 See 'config.log' for more details" "$LINENO" 5; }
   3713 else case e in #(
   3714   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3715 printf "%s\n" "yes" >&6; } ;;
   3716 esac
   3717 fi
   3718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3719 printf %s "checking for C compiler default output file name... " >&6; }
   3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3721 printf "%s\n" "$ac_file" >&6; }
   3722 ac_exeext=$ac_cv_exeext
   3723 
   3724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3725 ac_clean_files=$ac_clean_files_save
   3726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3727 printf %s "checking for suffix of executables... " >&6; }
   3728 if { { ac_try="$ac_link"
   3729 case "(($ac_try" in
   3730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3731   *) ac_try_echo=$ac_try;;
   3732 esac
   3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3734 printf "%s\n" "$ac_try_echo"; } >&5
   3735   (eval "$ac_link") 2>&5
   3736   ac_status=$?
   3737   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3738   test $ac_status = 0; }
   3739 then :
   3740   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3741 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3742 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3743 # 'rm'.
   3744 for ac_file in conftest.exe conftest conftest.*; do
   3745   test -f "$ac_file" || continue
   3746   case $ac_file in
   3747     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3748     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3749 	  break;;
   3750     * ) break;;
   3751   esac
   3752 done
   3753 else case e in #(
   3754   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3755 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3756 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3757 See 'config.log' for more details" "$LINENO" 5; } ;;
   3758 esac
   3759 fi
   3760 rm -f conftest conftest$ac_cv_exeext
   3761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3762 printf "%s\n" "$ac_cv_exeext" >&6; }
   3763 
   3764 rm -f conftest.$ac_ext
   3765 EXEEXT=$ac_cv_exeext
   3766 ac_exeext=$EXEEXT
   3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3768 /* end confdefs.h.  */
   3769 #include <stdio.h>
   3770 int
   3771 main (void)
   3772 {
   3773 FILE *f = fopen ("conftest.out", "w");
   3774  if (!f)
   3775   return 1;
   3776  return ferror (f) || fclose (f) != 0;
   3777 
   3778   ;
   3779   return 0;
   3780 }
   3781 _ACEOF
   3782 ac_clean_files="$ac_clean_files conftest.out"
   3783 # Check that the compiler produces executables we can run.  If not, either
   3784 # the compiler is broken, or we cross compile.
   3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3786 printf %s "checking whether we are cross compiling... " >&6; }
   3787 if test "$cross_compiling" != yes; then
   3788   { { ac_try="$ac_link"
   3789 case "(($ac_try" in
   3790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3791   *) ac_try_echo=$ac_try;;
   3792 esac
   3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3794 printf "%s\n" "$ac_try_echo"; } >&5
   3795   (eval "$ac_link") 2>&5
   3796   ac_status=$?
   3797   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3798   test $ac_status = 0; }
   3799   if { ac_try='./conftest$ac_cv_exeext'
   3800   { { case "(($ac_try" in
   3801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3802   *) ac_try_echo=$ac_try;;
   3803 esac
   3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3805 printf "%s\n" "$ac_try_echo"; } >&5
   3806   (eval "$ac_try") 2>&5
   3807   ac_status=$?
   3808   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3809   test $ac_status = 0; }; }; then
   3810     cross_compiling=no
   3811   else
   3812     if test "$cross_compiling" = maybe; then
   3813 	cross_compiling=yes
   3814     else
   3815 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3816 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3817 as_fn_error 77 "cannot run C compiled programs.
   3818 If you meant to cross compile, use '--host'.
   3819 See 'config.log' for more details" "$LINENO" 5; }
   3820     fi
   3821   fi
   3822 fi
   3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3824 printf "%s\n" "$cross_compiling" >&6; }
   3825 
   3826 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3827   conftest.o conftest.obj conftest.out
   3828 ac_clean_files=$ac_clean_files_save
   3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3830 printf %s "checking for suffix of object files... " >&6; }
   3831 if test ${ac_cv_objext+y}
   3832 then :
   3833   printf %s "(cached) " >&6
   3834 else case e in #(
   3835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3836 /* end confdefs.h.  */
   3837 
   3838 int
   3839 main (void)
   3840 {
   3841 
   3842   ;
   3843   return 0;
   3844 }
   3845 _ACEOF
   3846 rm -f conftest.o conftest.obj
   3847 if { { ac_try="$ac_compile"
   3848 case "(($ac_try" in
   3849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3850   *) ac_try_echo=$ac_try;;
   3851 esac
   3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3853 printf "%s\n" "$ac_try_echo"; } >&5
   3854   (eval "$ac_compile") 2>&5
   3855   ac_status=$?
   3856   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3857   test $ac_status = 0; }
   3858 then :
   3859   for ac_file in conftest.o conftest.obj conftest.*; do
   3860   test -f "$ac_file" || continue;
   3861   case $ac_file in
   3862     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3863     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3864        break;;
   3865   esac
   3866 done
   3867 else case e in #(
   3868   e) printf "%s\n" "$as_me: failed program was:" >&5
   3869 sed 's/^/| /' conftest.$ac_ext >&5
   3870 
   3871 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3872 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3873 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3874 See 'config.log' for more details" "$LINENO" 5; } ;;
   3875 esac
   3876 fi
   3877 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3878 esac
   3879 fi
   3880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3881 printf "%s\n" "$ac_cv_objext" >&6; }
   3882 OBJEXT=$ac_cv_objext
   3883 ac_objext=$OBJEXT
   3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3885 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3886 if test ${ac_cv_c_compiler_gnu+y}
   3887 then :
   3888   printf %s "(cached) " >&6
   3889 else case e in #(
   3890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3891 /* end confdefs.h.  */
   3892 
   3893 int
   3894 main (void)
   3895 {
   3896 #ifndef __GNUC__
   3897        choke me
   3898 #endif
   3899 
   3900   ;
   3901   return 0;
   3902 }
   3903 _ACEOF
   3904 if ac_fn_c_try_compile "$LINENO"
   3905 then :
   3906   ac_compiler_gnu=yes
   3907 else case e in #(
   3908   e) ac_compiler_gnu=no ;;
   3909 esac
   3910 fi
   3911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3913  ;;
   3914 esac
   3915 fi
   3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3917 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3919 
   3920 if test $ac_compiler_gnu = yes; then
   3921   GCC=yes
   3922 else
   3923   GCC=
   3924 fi
   3925 ac_test_CFLAGS=${CFLAGS+y}
   3926 ac_save_CFLAGS=$CFLAGS
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3928 printf %s "checking whether $CC accepts -g... " >&6; }
   3929 if test ${ac_cv_prog_cc_g+y}
   3930 then :
   3931   printf %s "(cached) " >&6
   3932 else case e in #(
   3933   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3934    ac_c_werror_flag=yes
   3935    ac_cv_prog_cc_g=no
   3936    CFLAGS="-g"
   3937    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3938 /* end confdefs.h.  */
   3939 
   3940 int
   3941 main (void)
   3942 {
   3943 
   3944   ;
   3945   return 0;
   3946 }
   3947 _ACEOF
   3948 if ac_fn_c_try_compile "$LINENO"
   3949 then :
   3950   ac_cv_prog_cc_g=yes
   3951 else case e in #(
   3952   e) CFLAGS=""
   3953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3954 /* end confdefs.h.  */
   3955 
   3956 int
   3957 main (void)
   3958 {
   3959 
   3960   ;
   3961   return 0;
   3962 }
   3963 _ACEOF
   3964 if ac_fn_c_try_compile "$LINENO"
   3965 then :
   3966 
   3967 else case e in #(
   3968   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3969 	 CFLAGS="-g"
   3970 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3971 /* end confdefs.h.  */
   3972 
   3973 int
   3974 main (void)
   3975 {
   3976 
   3977   ;
   3978   return 0;
   3979 }
   3980 _ACEOF
   3981 if ac_fn_c_try_compile "$LINENO"
   3982 then :
   3983   ac_cv_prog_cc_g=yes
   3984 fi
   3985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3986 esac
   3987 fi
   3988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3989 esac
   3990 fi
   3991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3992    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3993 esac
   3994 fi
   3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3996 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3997 if test $ac_test_CFLAGS; then
   3998   CFLAGS=$ac_save_CFLAGS
   3999 elif test $ac_cv_prog_cc_g = yes; then
   4000   if test "$GCC" = yes; then
   4001     CFLAGS="-g -O2"
   4002   else
   4003     CFLAGS="-g"
   4004   fi
   4005 else
   4006   if test "$GCC" = yes; then
   4007     CFLAGS="-O2"
   4008   else
   4009     CFLAGS=
   4010   fi
   4011 fi
   4012 ac_prog_cc_stdc=no
   4013 if test x$ac_prog_cc_stdc = xno
   4014 then :
   4015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4016 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4017 if test ${ac_cv_prog_cc_c11+y}
   4018 then :
   4019   printf %s "(cached) " >&6
   4020 else case e in #(
   4021   e) ac_cv_prog_cc_c11=no
   4022 ac_save_CC=$CC
   4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4024 /* end confdefs.h.  */
   4025 $ac_c_conftest_c11_program
   4026 _ACEOF
   4027 for ac_arg in '' -std=gnu11
   4028 do
   4029   CC="$ac_save_CC $ac_arg"
   4030   if ac_fn_c_try_compile "$LINENO"
   4031 then :
   4032   ac_cv_prog_cc_c11=$ac_arg
   4033 fi
   4034 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4035   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4036 done
   4037 rm -f conftest.$ac_ext
   4038 CC=$ac_save_CC ;;
   4039 esac
   4040 fi
   4041 
   4042 if test "x$ac_cv_prog_cc_c11" = xno
   4043 then :
   4044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4045 printf "%s\n" "unsupported" >&6; }
   4046 else case e in #(
   4047   e) if test "x$ac_cv_prog_cc_c11" = x
   4048 then :
   4049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4050 printf "%s\n" "none needed" >&6; }
   4051 else case e in #(
   4052   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4053 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4054      CC="$CC $ac_cv_prog_cc_c11" ;;
   4055 esac
   4056 fi
   4057   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4058   ac_prog_cc_stdc=c11 ;;
   4059 esac
   4060 fi
   4061 fi
   4062 if test x$ac_prog_cc_stdc = xno
   4063 then :
   4064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4065 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4066 if test ${ac_cv_prog_cc_c99+y}
   4067 then :
   4068   printf %s "(cached) " >&6
   4069 else case e in #(
   4070   e) ac_cv_prog_cc_c99=no
   4071 ac_save_CC=$CC
   4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4073 /* end confdefs.h.  */
   4074 $ac_c_conftest_c99_program
   4075 _ACEOF
   4076 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4077 do
   4078   CC="$ac_save_CC $ac_arg"
   4079   if ac_fn_c_try_compile "$LINENO"
   4080 then :
   4081   ac_cv_prog_cc_c99=$ac_arg
   4082 fi
   4083 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4084   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4085 done
   4086 rm -f conftest.$ac_ext
   4087 CC=$ac_save_CC ;;
   4088 esac
   4089 fi
   4090 
   4091 if test "x$ac_cv_prog_cc_c99" = xno
   4092 then :
   4093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4094 printf "%s\n" "unsupported" >&6; }
   4095 else case e in #(
   4096   e) if test "x$ac_cv_prog_cc_c99" = x
   4097 then :
   4098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4099 printf "%s\n" "none needed" >&6; }
   4100 else case e in #(
   4101   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4102 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4103      CC="$CC $ac_cv_prog_cc_c99" ;;
   4104 esac
   4105 fi
   4106   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4107   ac_prog_cc_stdc=c99 ;;
   4108 esac
   4109 fi
   4110 fi
   4111 if test x$ac_prog_cc_stdc = xno
   4112 then :
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4114 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4115 if test ${ac_cv_prog_cc_c89+y}
   4116 then :
   4117   printf %s "(cached) " >&6
   4118 else case e in #(
   4119   e) ac_cv_prog_cc_c89=no
   4120 ac_save_CC=$CC
   4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4122 /* end confdefs.h.  */
   4123 $ac_c_conftest_c89_program
   4124 _ACEOF
   4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4126 do
   4127   CC="$ac_save_CC $ac_arg"
   4128   if ac_fn_c_try_compile "$LINENO"
   4129 then :
   4130   ac_cv_prog_cc_c89=$ac_arg
   4131 fi
   4132 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4133   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4134 done
   4135 rm -f conftest.$ac_ext
   4136 CC=$ac_save_CC ;;
   4137 esac
   4138 fi
   4139 
   4140 if test "x$ac_cv_prog_cc_c89" = xno
   4141 then :
   4142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4143 printf "%s\n" "unsupported" >&6; }
   4144 else case e in #(
   4145   e) if test "x$ac_cv_prog_cc_c89" = x
   4146 then :
   4147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4148 printf "%s\n" "none needed" >&6; }
   4149 else case e in #(
   4150   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4151 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4152      CC="$CC $ac_cv_prog_cc_c89" ;;
   4153 esac
   4154 fi
   4155   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4156   ac_prog_cc_stdc=c89 ;;
   4157 esac
   4158 fi
   4159 fi
   4160 
   4161 ac_ext=c
   4162 ac_cpp='$CPP $CPPFLAGS'
   4163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4166 
   4167 
   4168   ac_ext=c
   4169 ac_cpp='$CPP $CPPFLAGS'
   4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4174 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4175 if test ${am_cv_prog_cc_c_o+y}
   4176 then :
   4177   printf %s "(cached) " >&6
   4178 else case e in #(
   4179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4180 /* end confdefs.h.  */
   4181 
   4182 int
   4183 main (void)
   4184 {
   4185 
   4186   ;
   4187   return 0;
   4188 }
   4189 _ACEOF
   4190   # Make sure it works both with $CC and with simple cc.
   4191   # Following AC_PROG_CC_C_O, we do the test twice because some
   4192   # compilers refuse to overwrite an existing .o file with -o,
   4193   # though they will create one.
   4194   am_cv_prog_cc_c_o=yes
   4195   for am_i in 1 2; do
   4196     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4197    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4198    ac_status=$?
   4199    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4200    (exit $ac_status); } \
   4201          && test -f conftest2.$ac_objext; then
   4202       : OK
   4203     else
   4204       am_cv_prog_cc_c_o=no
   4205       break
   4206     fi
   4207   done
   4208   rm -f core conftest*
   4209   unset am_i ;;
   4210 esac
   4211 fi
   4212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4213 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4214 if test "$am_cv_prog_cc_c_o" != yes; then
   4215    # Losing compiler, so override with the script.
   4216    # FIXME: It is wrong to rewrite CC.
   4217    # But if we don't then we get into trouble of one sort or another.
   4218    # A longer-term fix would be to have automake use am__CC in this case,
   4219    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4220    CC="$am_aux_dir/compile $CC"
   4221 fi
   4222 ac_ext=c
   4223 ac_cpp='$CPP $CPPFLAGS'
   4224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4227 
   4228 
   4229 
   4230 ac_header= ac_cache=
   4231 for ac_item in $ac_header_c_list
   4232 do
   4233   if test $ac_cache; then
   4234     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4235     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4236       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4237     fi
   4238     ac_header= ac_cache=
   4239   elif test $ac_header; then
   4240     ac_cache=$ac_item
   4241   else
   4242     ac_header=$ac_item
   4243   fi
   4244 done
   4245 
   4246 
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4254 then :
   4255 
   4256 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4257 
   4258 fi
   4259 
   4260 
   4261 
   4262 
   4263 
   4264 
   4265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4266 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4267 if test ${ac_cv_safe_to_define___extensions__+y}
   4268 then :
   4269   printf %s "(cached) " >&6
   4270 else case e in #(
   4271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4272 /* end confdefs.h.  */
   4273 
   4274 #         define __EXTENSIONS__ 1
   4275           $ac_includes_default
   4276 int
   4277 main (void)
   4278 {
   4279 
   4280   ;
   4281   return 0;
   4282 }
   4283 _ACEOF
   4284 if ac_fn_c_try_compile "$LINENO"
   4285 then :
   4286   ac_cv_safe_to_define___extensions__=yes
   4287 else case e in #(
   4288   e) ac_cv_safe_to_define___extensions__=no ;;
   4289 esac
   4290 fi
   4291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4292 esac
   4293 fi
   4294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4295 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4296 
   4297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4298 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4299 if test ${ac_cv_should_define__xopen_source+y}
   4300 then :
   4301   printf %s "(cached) " >&6
   4302 else case e in #(
   4303   e) ac_cv_should_define__xopen_source=no
   4304     if test $ac_cv_header_wchar_h = yes
   4305 then :
   4306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 
   4309           #include <wchar.h>
   4310           mbstate_t x;
   4311 int
   4312 main (void)
   4313 {
   4314 
   4315   ;
   4316   return 0;
   4317 }
   4318 _ACEOF
   4319 if ac_fn_c_try_compile "$LINENO"
   4320 then :
   4321 
   4322 else case e in #(
   4323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4324 /* end confdefs.h.  */
   4325 
   4326             #define _XOPEN_SOURCE 500
   4327             #include <wchar.h>
   4328             mbstate_t x;
   4329 int
   4330 main (void)
   4331 {
   4332 
   4333   ;
   4334   return 0;
   4335 }
   4336 _ACEOF
   4337 if ac_fn_c_try_compile "$LINENO"
   4338 then :
   4339   ac_cv_should_define__xopen_source=yes
   4340 fi
   4341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4342 esac
   4343 fi
   4344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4345 fi ;;
   4346 esac
   4347 fi
   4348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4349 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4350 
   4351   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4352 
   4353   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4354 
   4355   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4356 
   4357   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4358 
   4359   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4360 
   4361   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4362 
   4363   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4364 
   4365   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4366 
   4367   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4368 
   4369   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4370 
   4371   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4372 
   4373   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4374 
   4375   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4376 
   4377   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4378 
   4379   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4380 
   4381   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4382 
   4383   if test $ac_cv_header_minix_config_h = yes
   4384 then :
   4385   MINIX=yes
   4386     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4387 
   4388     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4389 
   4390     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4391 
   4392 else case e in #(
   4393   e) MINIX= ;;
   4394 esac
   4395 fi
   4396   if test $ac_cv_safe_to_define___extensions__ = yes
   4397 then :
   4398   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4399 
   4400 fi
   4401   if test $ac_cv_should_define__xopen_source = yes
   4402 then :
   4403   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4404 
   4405 fi
   4406 
   4407 
   4408 # Initialize Automake
   4409 am__api_version='1.16'
   4410 
   4411 
   4412   # Find a good install program.  We prefer a C program (faster),
   4413 # so one script is as good as another.  But avoid the broken or
   4414 # incompatible versions:
   4415 # SysV /etc/install, /usr/sbin/install
   4416 # SunOS /usr/etc/install
   4417 # IRIX /sbin/install
   4418 # AIX /bin/install
   4419 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4423 # OS/2's system install, which has a completely different semantic
   4424 # ./install, which can be erroneously created by make from ./install.sh.
   4425 # Reject install programs that cannot install multiple files.
   4426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4427 printf %s "checking for a BSD-compatible install... " >&6; }
   4428 if test -z "$INSTALL"; then
   4429 if test ${ac_cv_path_install+y}
   4430 then :
   4431   printf %s "(cached) " >&6
   4432 else case e in #(
   4433   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4434 for as_dir in $PATH
   4435 do
   4436   IFS=$as_save_IFS
   4437   case $as_dir in #(((
   4438     '') as_dir=./ ;;
   4439     */) ;;
   4440     *) as_dir=$as_dir/ ;;
   4441   esac
   4442     # Account for fact that we put trailing slashes in our PATH walk.
   4443 case $as_dir in #((
   4444   ./ | /[cC]/* | \
   4445   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4446   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4447   /usr/ucb/* ) ;;
   4448   *)
   4449     # OSF1 and SCO ODT 3.0 have their own names for install.
   4450     # Don't use installbsd from OSF since it installs stuff as root
   4451     # by default.
   4452     for ac_prog in ginstall scoinst install; do
   4453       for ac_exec_ext in '' $ac_executable_extensions; do
   4454 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4455 	  if test $ac_prog = install &&
   4456 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4457 	    # AIX install.  It has an incompatible calling convention.
   4458 	    :
   4459 	  elif test $ac_prog = install &&
   4460 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4461 	    # program-specific install script used by HP pwplus--don't use.
   4462 	    :
   4463 	  else
   4464 	    rm -rf conftest.one conftest.two conftest.dir
   4465 	    echo one > conftest.one
   4466 	    echo two > conftest.two
   4467 	    mkdir conftest.dir
   4468 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4469 	      test -s conftest.one && test -s conftest.two &&
   4470 	      test -s conftest.dir/conftest.one &&
   4471 	      test -s conftest.dir/conftest.two
   4472 	    then
   4473 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4474 	      break 3
   4475 	    fi
   4476 	  fi
   4477 	fi
   4478       done
   4479     done
   4480     ;;
   4481 esac
   4482 
   4483   done
   4484 IFS=$as_save_IFS
   4485 
   4486 rm -rf conftest.one conftest.two conftest.dir
   4487  ;;
   4488 esac
   4489 fi
   4490   if test ${ac_cv_path_install+y}; then
   4491     INSTALL=$ac_cv_path_install
   4492   else
   4493     # As a last resort, use the slow shell script.  Don't cache a
   4494     # value for INSTALL within a source directory, because that will
   4495     # break other packages using the cache if that directory is
   4496     # removed, or if the value is a relative name.
   4497     INSTALL=$ac_install_sh
   4498   fi
   4499 fi
   4500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4501 printf "%s\n" "$INSTALL" >&6; }
   4502 
   4503 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4504 # It thinks the first close brace ends the variable substitution.
   4505 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4506 
   4507 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4508 
   4509 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4510 
   4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4512 printf %s "checking whether build environment is sane... " >&6; }
   4513 # Reject unsafe characters in $srcdir or the absolute working directory
   4514 # name.  Accept space and tab only in the latter.
   4515 am_lf='
   4516 '
   4517 case `pwd` in
   4518   *[\\\"\#\$\&\'\`$am_lf]*)
   4519     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4520 esac
   4521 case $srcdir in
   4522   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4523     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4524 esac
   4525 
   4526 # Do 'set' in a subshell so we don't clobber the current shell's
   4527 # arguments.  Must try -L first in case configure is actually a
   4528 # symlink; some systems play weird games with the mod time of symlinks
   4529 # (eg FreeBSD returns the mod time of the symlink's containing
   4530 # directory).
   4531 if (
   4532    am_has_slept=no
   4533    for am_try in 1 2; do
   4534      echo "timestamp, slept: $am_has_slept" > conftest.file
   4535      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4536      if test "$*" = "X"; then
   4537 	# -L didn't work.
   4538 	set X `ls -t "$srcdir/configure" conftest.file`
   4539      fi
   4540      if test "$*" != "X $srcdir/configure conftest.file" \
   4541 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4542 
   4543 	# If neither matched, then we have a broken ls.  This can happen
   4544 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4545 	# broken ls alias from the environment.  This has actually
   4546 	# happened.  Such a system could not be considered "sane".
   4547 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4548   alias in your environment" "$LINENO" 5
   4549      fi
   4550      if test "$2" = conftest.file || test $am_try -eq 2; then
   4551        break
   4552      fi
   4553      # Just in case.
   4554      sleep 1
   4555      am_has_slept=yes
   4556    done
   4557    test "$2" = conftest.file
   4558    )
   4559 then
   4560    # Ok.
   4561    :
   4562 else
   4563    as_fn_error $? "newly created file is older than distributed files!
   4564 Check your system clock" "$LINENO" 5
   4565 fi
   4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4567 printf "%s\n" "yes" >&6; }
   4568 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4569 # generated files are strictly newer.
   4570 am_sleep_pid=
   4571 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4572   ( sleep 1 ) &
   4573   am_sleep_pid=$!
   4574 fi
   4575 
   4576 rm -f conftest.file
   4577 
   4578 test "$program_prefix" != NONE &&
   4579   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4580 # Use a double $ so make ignores it.
   4581 test "$program_suffix" != NONE &&
   4582   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4583 # Double any \ or $.
   4584 # By default was 's,x,x', remove it if useless.
   4585 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4586 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4587 
   4588 
   4589   if test x"${MISSING+set}" != xset; then
   4590   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4591 fi
   4592 # Use eval to expand $SHELL
   4593 if eval "$MISSING --is-lightweight"; then
   4594   am_missing_run="$MISSING "
   4595 else
   4596   am_missing_run=
   4597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4598 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4599 fi
   4600 
   4601 if test x"${install_sh+set}" != xset; then
   4602   case $am_aux_dir in
   4603   *\ * | *\	*)
   4604     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4605   *)
   4606     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4607   esac
   4608 fi
   4609 
   4610 # Installed binaries are usually stripped using 'strip' when the user
   4611 # run "make install-strip".  However 'strip' might not be the right
   4612 # tool to use in cross-compilation environments, therefore Automake
   4613 # will honor the 'STRIP' environment variable to overrule this program.
   4614 if test "$cross_compiling" != no; then
   4615   if test -n "$ac_tool_prefix"; then
   4616   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4617 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4619 printf %s "checking for $ac_word... " >&6; }
   4620 if test ${ac_cv_prog_STRIP+y}
   4621 then :
   4622   printf %s "(cached) " >&6
   4623 else case e in #(
   4624   e) if test -n "$STRIP"; then
   4625   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4626 else
   4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4628 for as_dir in $PATH
   4629 do
   4630   IFS=$as_save_IFS
   4631   case $as_dir in #(((
   4632     '') as_dir=./ ;;
   4633     */) ;;
   4634     *) as_dir=$as_dir/ ;;
   4635   esac
   4636     for ac_exec_ext in '' $ac_executable_extensions; do
   4637   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4638     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4639     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4640     break 2
   4641   fi
   4642 done
   4643   done
   4644 IFS=$as_save_IFS
   4645 
   4646 fi ;;
   4647 esac
   4648 fi
   4649 STRIP=$ac_cv_prog_STRIP
   4650 if test -n "$STRIP"; then
   4651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4652 printf "%s\n" "$STRIP" >&6; }
   4653 else
   4654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4655 printf "%s\n" "no" >&6; }
   4656 fi
   4657 
   4658 
   4659 fi
   4660 if test -z "$ac_cv_prog_STRIP"; then
   4661   ac_ct_STRIP=$STRIP
   4662   # Extract the first word of "strip", so it can be a program name with args.
   4663 set dummy strip; ac_word=$2
   4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4665 printf %s "checking for $ac_word... " >&6; }
   4666 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4667 then :
   4668   printf %s "(cached) " >&6
   4669 else case e in #(
   4670   e) if test -n "$ac_ct_STRIP"; then
   4671   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4672 else
   4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4674 for as_dir in $PATH
   4675 do
   4676   IFS=$as_save_IFS
   4677   case $as_dir in #(((
   4678     '') as_dir=./ ;;
   4679     */) ;;
   4680     *) as_dir=$as_dir/ ;;
   4681   esac
   4682     for ac_exec_ext in '' $ac_executable_extensions; do
   4683   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4684     ac_cv_prog_ac_ct_STRIP="strip"
   4685     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4686     break 2
   4687   fi
   4688 done
   4689   done
   4690 IFS=$as_save_IFS
   4691 
   4692 fi ;;
   4693 esac
   4694 fi
   4695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4696 if test -n "$ac_ct_STRIP"; then
   4697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4698 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4699 else
   4700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4701 printf "%s\n" "no" >&6; }
   4702 fi
   4703 
   4704   if test "x$ac_ct_STRIP" = x; then
   4705     STRIP=":"
   4706   else
   4707     case $cross_compiling:$ac_tool_warned in
   4708 yes:)
   4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4710 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4711 ac_tool_warned=yes ;;
   4712 esac
   4713     STRIP=$ac_ct_STRIP
   4714   fi
   4715 else
   4716   STRIP="$ac_cv_prog_STRIP"
   4717 fi
   4718 
   4719 fi
   4720 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4721 
   4722 
   4723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4724 printf %s "checking for a race-free mkdir -p... " >&6; }
   4725 if test -z "$MKDIR_P"; then
   4726   if test ${ac_cv_path_mkdir+y}
   4727 then :
   4728   printf %s "(cached) " >&6
   4729 else case e in #(
   4730   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4731 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4732 do
   4733   IFS=$as_save_IFS
   4734   case $as_dir in #(((
   4735     '') as_dir=./ ;;
   4736     */) ;;
   4737     *) as_dir=$as_dir/ ;;
   4738   esac
   4739     for ac_prog in mkdir gmkdir; do
   4740 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4741 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4742 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4743 	     'mkdir ('*'coreutils) '* | \
   4744 	     *'BusyBox '* | \
   4745 	     'mkdir (fileutils) '4.1*)
   4746 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4747 	       break 3;;
   4748 	   esac
   4749 	 done
   4750        done
   4751   done
   4752 IFS=$as_save_IFS
   4753  ;;
   4754 esac
   4755 fi
   4756 
   4757   test -d ./--version && rmdir ./--version
   4758   if test ${ac_cv_path_mkdir+y}; then
   4759     MKDIR_P="$ac_cv_path_mkdir -p"
   4760   else
   4761     # As a last resort, use plain mkdir -p,
   4762     # in the hope it doesn't have the bugs of ancient mkdir.
   4763     MKDIR_P='mkdir -p'
   4764   fi
   4765 fi
   4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4767 printf "%s\n" "$MKDIR_P" >&6; }
   4768 
   4769 for ac_prog in gawk mawk nawk awk
   4770 do
   4771   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4772 set dummy $ac_prog; ac_word=$2
   4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4774 printf %s "checking for $ac_word... " >&6; }
   4775 if test ${ac_cv_prog_AWK+y}
   4776 then :
   4777   printf %s "(cached) " >&6
   4778 else case e in #(
   4779   e) if test -n "$AWK"; then
   4780   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4781 else
   4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4783 for as_dir in $PATH
   4784 do
   4785   IFS=$as_save_IFS
   4786   case $as_dir in #(((
   4787     '') as_dir=./ ;;
   4788     */) ;;
   4789     *) as_dir=$as_dir/ ;;
   4790   esac
   4791     for ac_exec_ext in '' $ac_executable_extensions; do
   4792   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4793     ac_cv_prog_AWK="$ac_prog"
   4794     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4795     break 2
   4796   fi
   4797 done
   4798   done
   4799 IFS=$as_save_IFS
   4800 
   4801 fi ;;
   4802 esac
   4803 fi
   4804 AWK=$ac_cv_prog_AWK
   4805 if test -n "$AWK"; then
   4806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4807 printf "%s\n" "$AWK" >&6; }
   4808 else
   4809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4810 printf "%s\n" "no" >&6; }
   4811 fi
   4812 
   4813 
   4814   test -n "$AWK" && break
   4815 done
   4816 
   4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4818 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4819 set x ${MAKE-make}
   4820 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4821 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4822 then :
   4823   printf %s "(cached) " >&6
   4824 else case e in #(
   4825   e) cat >conftest.make <<\_ACEOF
   4826 SHELL = /bin/sh
   4827 all:
   4828 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4829 _ACEOF
   4830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4832   *@@@%%%=?*=@@@%%%*)
   4833     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4834   *)
   4835     eval ac_cv_prog_make_${ac_make}_set=no;;
   4836 esac
   4837 rm -f conftest.make ;;
   4838 esac
   4839 fi
   4840 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4842 printf "%s\n" "yes" >&6; }
   4843   SET_MAKE=
   4844 else
   4845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4846 printf "%s\n" "no" >&6; }
   4847   SET_MAKE="MAKE=${MAKE-make}"
   4848 fi
   4849 
   4850 rm -rf .tst 2>/dev/null
   4851 mkdir .tst 2>/dev/null
   4852 if test -d .tst; then
   4853   am__leading_dot=.
   4854 else
   4855   am__leading_dot=_
   4856 fi
   4857 rmdir .tst 2>/dev/null
   4858 
   4859 DEPDIR="${am__leading_dot}deps"
   4860 
   4861 ac_config_commands="$ac_config_commands depfiles"
   4862 
   4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4864 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4865 cat > confinc.mk << 'END'
   4866 am__doit:
   4867 	@echo this is the am__doit target >confinc.out
   4868 .PHONY: am__doit
   4869 END
   4870 am__include="#"
   4871 am__quote=
   4872 # BSD make does it like this.
   4873 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4874 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4875 echo 'include confinc.mk # ignored' > confmf.GNU
   4876 _am_result=no
   4877 for s in GNU BSD; do
   4878   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4879    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4880    ac_status=$?
   4881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4882    (exit $ac_status); }
   4883   case $?:`cat confinc.out 2>/dev/null` in #(
   4884   '0:this is the am__doit target') :
   4885     case $s in #(
   4886   BSD) :
   4887     am__include='.include' am__quote='"' ;; #(
   4888   *) :
   4889     am__include='include' am__quote='' ;;
   4890 esac ;; #(
   4891   *) :
   4892      ;;
   4893 esac
   4894   if test "$am__include" != "#"; then
   4895     _am_result="yes ($s style)"
   4896     break
   4897   fi
   4898 done
   4899 rm -f confinc.* confmf.*
   4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4901 printf "%s\n" "${_am_result}" >&6; }
   4902 
   4903 # Check whether --enable-dependency-tracking was given.
   4904 if test ${enable_dependency_tracking+y}
   4905 then :
   4906   enableval=$enable_dependency_tracking;
   4907 fi
   4908 
   4909 if test "x$enable_dependency_tracking" != xno; then
   4910   am_depcomp="$ac_aux_dir/depcomp"
   4911   AMDEPBACKSLASH='\'
   4912   am__nodep='_no'
   4913 fi
   4914  if test "x$enable_dependency_tracking" != xno; then
   4915   AMDEP_TRUE=
   4916   AMDEP_FALSE='#'
   4917 else
   4918   AMDEP_TRUE='#'
   4919   AMDEP_FALSE=
   4920 fi
   4921 
   4922 
   4923 # Check whether --enable-silent-rules was given.
   4924 if test ${enable_silent_rules+y}
   4925 then :
   4926   enableval=$enable_silent_rules;
   4927 fi
   4928 
   4929 case $enable_silent_rules in # (((
   4930   yes) AM_DEFAULT_VERBOSITY=0;;
   4931    no) AM_DEFAULT_VERBOSITY=1;;
   4932     *) AM_DEFAULT_VERBOSITY=1;;
   4933 esac
   4934 am_make=${MAKE-make}
   4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4936 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4937 if test ${am_cv_make_support_nested_variables+y}
   4938 then :
   4939   printf %s "(cached) " >&6
   4940 else case e in #(
   4941   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4942 BAR0=false
   4943 BAR1=true
   4944 V=1
   4945 am__doit:
   4946 	@$(TRUE)
   4947 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4948   am_cv_make_support_nested_variables=yes
   4949 else
   4950   am_cv_make_support_nested_variables=no
   4951 fi ;;
   4952 esac
   4953 fi
   4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4955 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4956 if test $am_cv_make_support_nested_variables = yes; then
   4957     AM_V='$(V)'
   4958   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4959 else
   4960   AM_V=$AM_DEFAULT_VERBOSITY
   4961   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4962 fi
   4963 AM_BACKSLASH='\'
   4964 
   4965 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4966   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4967   # is not polluted with repeated "-I."
   4968   am__isrc=' -I$(srcdir)'
   4969   # test to see if srcdir already configured
   4970   if test -f $srcdir/config.status; then
   4971     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4972   fi
   4973 fi
   4974 
   4975 # test whether we have cygpath
   4976 if test -z "$CYGPATH_W"; then
   4977   if (cygpath --version) >/dev/null 2>/dev/null; then
   4978     CYGPATH_W='cygpath -w'
   4979   else
   4980     CYGPATH_W=echo
   4981   fi
   4982 fi
   4983 
   4984 
   4985 # Define the identity of the package.
   4986  PACKAGE='libX11'
   4987  VERSION='1.8.9'
   4988 
   4989 
   4990 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4991 
   4992 
   4993 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4994 
   4995 # Some tools Automake needs.
   4996 
   4997 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4998 
   4999 
   5000 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5001 
   5002 
   5003 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5004 
   5005 
   5006 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5007 
   5008 
   5009 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5010 
   5011 # For better backward compatibility.  To be removed once Automake 1.9.x
   5012 # dies out for good.  For more background, see:
   5013 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5014 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5015 mkdir_p='$(MKDIR_P)'
   5016 
   5017 # We need awk for the "check" target (and possibly the TAP driver).  The
   5018 # system "awk" is bad on some platforms.
   5019 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5020 # in the wild :-(  We should find a proper way to deprecate it ...
   5021 AMTAR='$${TAR-tar}'
   5022 
   5023 
   5024 # We'll loop over all known methods to create a tar archive until one works.
   5025 _am_tools='gnutar  pax cpio none'
   5026 
   5027 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 depcc="$CC"   am_compiler_list=
   5034 
   5035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5036 printf %s "checking dependency style of $depcc... " >&6; }
   5037 if test ${am_cv_CC_dependencies_compiler_type+y}
   5038 then :
   5039   printf %s "(cached) " >&6
   5040 else case e in #(
   5041   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5042   # We make a subdir and do the tests there.  Otherwise we can end up
   5043   # making bogus files that we don't know about and never remove.  For
   5044   # instance it was reported that on HP-UX the gcc test will end up
   5045   # making a dummy file named 'D' -- because '-MD' means "put the output
   5046   # in D".
   5047   rm -rf conftest.dir
   5048   mkdir conftest.dir
   5049   # Copy depcomp to subdir because otherwise we won't find it if we're
   5050   # using a relative directory.
   5051   cp "$am_depcomp" conftest.dir
   5052   cd conftest.dir
   5053   # We will build objects and dependencies in a subdirectory because
   5054   # it helps to detect inapplicable dependency modes.  For instance
   5055   # both Tru64's cc and ICC support -MD to output dependencies as a
   5056   # side effect of compilation, but ICC will put the dependencies in
   5057   # the current directory while Tru64 will put them in the object
   5058   # directory.
   5059   mkdir sub
   5060 
   5061   am_cv_CC_dependencies_compiler_type=none
   5062   if test "$am_compiler_list" = ""; then
   5063      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5064   fi
   5065   am__universal=false
   5066   case " $depcc " in #(
   5067      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5068      esac
   5069 
   5070   for depmode in $am_compiler_list; do
   5071     # Setup a source with many dependencies, because some compilers
   5072     # like to wrap large dependency lists on column 80 (with \), and
   5073     # we should not choose a depcomp mode which is confused by this.
   5074     #
   5075     # We need to recreate these files for each test, as the compiler may
   5076     # overwrite some of them when testing with obscure command lines.
   5077     # This happens at least with the AIX C compiler.
   5078     : > sub/conftest.c
   5079     for i in 1 2 3 4 5 6; do
   5080       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5081       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5082       # Solaris 10 /bin/sh.
   5083       echo '/* dummy */' > sub/conftst$i.h
   5084     done
   5085     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5086 
   5087     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5088     # mode.  It turns out that the SunPro C++ compiler does not properly
   5089     # handle '-M -o', and we need to detect this.  Also, some Intel
   5090     # versions had trouble with output in subdirs.
   5091     am__obj=sub/conftest.${OBJEXT-o}
   5092     am__minus_obj="-o $am__obj"
   5093     case $depmode in
   5094     gcc)
   5095       # This depmode causes a compiler race in universal mode.
   5096       test "$am__universal" = false || continue
   5097       ;;
   5098     nosideeffect)
   5099       # After this tag, mechanisms are not by side-effect, so they'll
   5100       # only be used when explicitly requested.
   5101       if test "x$enable_dependency_tracking" = xyes; then
   5102 	continue
   5103       else
   5104 	break
   5105       fi
   5106       ;;
   5107     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5108       # This compiler won't grok '-c -o', but also, the minuso test has
   5109       # not run yet.  These depmodes are late enough in the game, and
   5110       # so weak that their functioning should not be impacted.
   5111       am__obj=conftest.${OBJEXT-o}
   5112       am__minus_obj=
   5113       ;;
   5114     none) break ;;
   5115     esac
   5116     if depmode=$depmode \
   5117        source=sub/conftest.c object=$am__obj \
   5118        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5119        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5120          >/dev/null 2>conftest.err &&
   5121        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5122        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5123        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5124        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5125       # icc doesn't choke on unknown options, it will just issue warnings
   5126       # or remarks (even with -Werror).  So we grep stderr for any message
   5127       # that says an option was ignored or not supported.
   5128       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5129       #   icc: Command line warning: ignoring option '-M'; no argument required
   5130       # The diagnosis changed in icc 8.0:
   5131       #   icc: Command line remark: option '-MP' not supported
   5132       if (grep 'ignoring option' conftest.err ||
   5133           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5134         am_cv_CC_dependencies_compiler_type=$depmode
   5135         break
   5136       fi
   5137     fi
   5138   done
   5139 
   5140   cd ..
   5141   rm -rf conftest.dir
   5142 else
   5143   am_cv_CC_dependencies_compiler_type=none
   5144 fi
   5145  ;;
   5146 esac
   5147 fi
   5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5149 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5150 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5151 
   5152  if
   5153   test "x$enable_dependency_tracking" != xno \
   5154   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5155   am__fastdepCC_TRUE=
   5156   am__fastdepCC_FALSE='#'
   5157 else
   5158   am__fastdepCC_TRUE='#'
   5159   am__fastdepCC_FALSE=
   5160 fi
   5161 
   5162 
   5163 # Variables for tags utilities; see am/tags.am
   5164 if test -z "$CTAGS"; then
   5165   CTAGS=ctags
   5166 fi
   5167 
   5168 if test -z "$ETAGS"; then
   5169   ETAGS=etags
   5170 fi
   5171 
   5172 if test -z "$CSCOPE"; then
   5173   CSCOPE=cscope
   5174 fi
   5175 
   5176 
   5177 
   5178 # POSIX will say in a future version that running "rm -f" with no argument
   5179 # is OK; and we want to be able to make that assumption in our Makefile
   5180 # recipes.  So use an aggressive probe to check that the usage we want is
   5181 # actually supported "in the wild" to an acceptable degree.
   5182 # See automake bug#10828.
   5183 # To make any issue more visible, cause the running configure to be aborted
   5184 # by default if the 'rm' program in use doesn't match our expectations; the
   5185 # user can still override this though.
   5186 if rm -f && rm -fr && rm -rf; then : OK; else
   5187   cat >&2 <<'END'
   5188 Oops!
   5189 
   5190 Your 'rm' program seems unable to run without file operands specified
   5191 on the command line, even when the '-f' option is present.  This is contrary
   5192 to the behaviour of most rm programs out there, and not conforming with
   5193 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   5194 
   5195 Please tell bug-automake@gnu.org about your system, including the value
   5196 of your $PATH and any error possibly output before this message.  This
   5197 can help us improve future automake versions.
   5198 
   5199 END
   5200   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   5201     echo 'Configuration will proceed anyway, since you have set the' >&2
   5202     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   5203     echo >&2
   5204   else
   5205     cat >&2 <<'END'
   5206 Aborting the configuration process, to ensure you take notice of the issue.
   5207 
   5208 You can download and install GNU coreutils to get an 'rm' implementation
   5209 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   5210 
   5211 If you want to complete the configuration process using your problematic
   5212 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   5213 to "yes", and re-run configure.
   5214 
   5215 END
   5216     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   5217   fi
   5218 fi
   5219 
   5220 
   5221 # Initialize libtool
   5222 case `pwd` in
   5223   *\ * | *\	*)
   5224     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5225 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5226 esac
   5227 
   5228 
   5229 
   5230 macro_version='2.4.7'
   5231 macro_revision='2.4.7'
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 ltmain=$ac_aux_dir/ltmain.sh
   5247 
   5248 # Backslashify metacharacters that are still active within
   5249 # double-quoted strings.
   5250 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5251 
   5252 # Same as above, but do not quote variable references.
   5253 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5254 
   5255 # Sed substitution to delay expansion of an escaped shell variable in a
   5256 # double_quote_subst'ed string.
   5257 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5258 
   5259 # Sed substitution to delay expansion of an escaped single quote.
   5260 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5261 
   5262 # Sed substitution to avoid accidental globbing in evaled expressions
   5263 no_glob_subst='s/\*/\\\*/g'
   5264 
   5265 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5266 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5267 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5268 
   5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5270 printf %s "checking how to print strings... " >&6; }
   5271 # Test print first, because it will be a builtin if present.
   5272 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5273    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5274   ECHO='print -r --'
   5275 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5276   ECHO='printf %s\n'
   5277 else
   5278   # Use this function as a fallback that always works.
   5279   func_fallback_echo ()
   5280   {
   5281     eval 'cat <<_LTECHO_EOF
   5282 $1
   5283 _LTECHO_EOF'
   5284   }
   5285   ECHO='func_fallback_echo'
   5286 fi
   5287 
   5288 # func_echo_all arg...
   5289 # Invoke $ECHO with all args, space-separated.
   5290 func_echo_all ()
   5291 {
   5292     $ECHO ""
   5293 }
   5294 
   5295 case $ECHO in
   5296   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5297 printf "%s\n" "printf" >&6; } ;;
   5298   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5299 printf "%s\n" "print -r" >&6; } ;;
   5300   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5301 printf "%s\n" "cat" >&6; } ;;
   5302 esac
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5318 printf %s "checking for a sed that does not truncate output... " >&6; }
   5319 if test ${ac_cv_path_SED+y}
   5320 then :
   5321   printf %s "(cached) " >&6
   5322 else case e in #(
   5323   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5324      for ac_i in 1 2 3 4 5 6 7; do
   5325        ac_script="$ac_script$as_nl$ac_script"
   5326      done
   5327      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5328      { ac_script=; unset ac_script;}
   5329      if test -z "$SED"; then
   5330   ac_path_SED_found=false
   5331   # Loop through the user's path and test for each of PROGNAME-LIST
   5332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5333 for as_dir in $PATH
   5334 do
   5335   IFS=$as_save_IFS
   5336   case $as_dir in #(((
   5337     '') as_dir=./ ;;
   5338     */) ;;
   5339     *) as_dir=$as_dir/ ;;
   5340   esac
   5341     for ac_prog in sed gsed
   5342    do
   5343     for ac_exec_ext in '' $ac_executable_extensions; do
   5344       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5345       as_fn_executable_p "$ac_path_SED" || continue
   5346 # Check for GNU ac_path_SED and select it if it is found.
   5347   # Check for GNU $ac_path_SED
   5348 case `"$ac_path_SED" --version 2>&1` in #(
   5349 *GNU*)
   5350   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5351 #(
   5352 *)
   5353   ac_count=0
   5354   printf %s 0123456789 >"conftest.in"
   5355   while :
   5356   do
   5357     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5358     mv "conftest.tmp" "conftest.in"
   5359     cp "conftest.in" "conftest.nl"
   5360     printf "%s\n" '' >> "conftest.nl"
   5361     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5362     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5363     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5364     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5365       # Best one so far, save it but keep looking for a better one
   5366       ac_cv_path_SED="$ac_path_SED"
   5367       ac_path_SED_max=$ac_count
   5368     fi
   5369     # 10*(2^10) chars as input seems more than enough
   5370     test $ac_count -gt 10 && break
   5371   done
   5372   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5373 esac
   5374 
   5375       $ac_path_SED_found && break 3
   5376     done
   5377   done
   5378   done
   5379 IFS=$as_save_IFS
   5380   if test -z "$ac_cv_path_SED"; then
   5381     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5382   fi
   5383 else
   5384   ac_cv_path_SED=$SED
   5385 fi
   5386  ;;
   5387 esac
   5388 fi
   5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5390 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5391  SED="$ac_cv_path_SED"
   5392   rm -f conftest.sed
   5393 
   5394 test -z "$SED" && SED=sed
   5395 Xsed="$SED -e 1s/^X//"
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5408 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5409 if test ${ac_cv_path_GREP+y}
   5410 then :
   5411   printf %s "(cached) " >&6
   5412 else case e in #(
   5413   e) if test -z "$GREP"; then
   5414   ac_path_GREP_found=false
   5415   # Loop through the user's path and test for each of PROGNAME-LIST
   5416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5418 do
   5419   IFS=$as_save_IFS
   5420   case $as_dir in #(((
   5421     '') as_dir=./ ;;
   5422     */) ;;
   5423     *) as_dir=$as_dir/ ;;
   5424   esac
   5425     for ac_prog in grep ggrep
   5426    do
   5427     for ac_exec_ext in '' $ac_executable_extensions; do
   5428       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5429       as_fn_executable_p "$ac_path_GREP" || continue
   5430 # Check for GNU ac_path_GREP and select it if it is found.
   5431   # Check for GNU $ac_path_GREP
   5432 case `"$ac_path_GREP" --version 2>&1` in #(
   5433 *GNU*)
   5434   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5435 #(
   5436 *)
   5437   ac_count=0
   5438   printf %s 0123456789 >"conftest.in"
   5439   while :
   5440   do
   5441     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5442     mv "conftest.tmp" "conftest.in"
   5443     cp "conftest.in" "conftest.nl"
   5444     printf "%s\n" 'GREP' >> "conftest.nl"
   5445     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5446     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5447     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5448     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5449       # Best one so far, save it but keep looking for a better one
   5450       ac_cv_path_GREP="$ac_path_GREP"
   5451       ac_path_GREP_max=$ac_count
   5452     fi
   5453     # 10*(2^10) chars as input seems more than enough
   5454     test $ac_count -gt 10 && break
   5455   done
   5456   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5457 esac
   5458 
   5459       $ac_path_GREP_found && break 3
   5460     done
   5461   done
   5462   done
   5463 IFS=$as_save_IFS
   5464   if test -z "$ac_cv_path_GREP"; then
   5465     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5466   fi
   5467 else
   5468   ac_cv_path_GREP=$GREP
   5469 fi
   5470  ;;
   5471 esac
   5472 fi
   5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5474 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5475  GREP="$ac_cv_path_GREP"
   5476 
   5477 
   5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5479 printf %s "checking for egrep... " >&6; }
   5480 if test ${ac_cv_path_EGREP+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else case e in #(
   5484   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5485    then ac_cv_path_EGREP="$GREP -E"
   5486    else
   5487      if test -z "$EGREP"; then
   5488   ac_path_EGREP_found=false
   5489   # Loop through the user's path and test for each of PROGNAME-LIST
   5490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5491 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5492 do
   5493   IFS=$as_save_IFS
   5494   case $as_dir in #(((
   5495     '') as_dir=./ ;;
   5496     */) ;;
   5497     *) as_dir=$as_dir/ ;;
   5498   esac
   5499     for ac_prog in egrep
   5500    do
   5501     for ac_exec_ext in '' $ac_executable_extensions; do
   5502       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5503       as_fn_executable_p "$ac_path_EGREP" || continue
   5504 # Check for GNU ac_path_EGREP and select it if it is found.
   5505   # Check for GNU $ac_path_EGREP
   5506 case `"$ac_path_EGREP" --version 2>&1` in #(
   5507 *GNU*)
   5508   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5509 #(
   5510 *)
   5511   ac_count=0
   5512   printf %s 0123456789 >"conftest.in"
   5513   while :
   5514   do
   5515     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5516     mv "conftest.tmp" "conftest.in"
   5517     cp "conftest.in" "conftest.nl"
   5518     printf "%s\n" 'EGREP' >> "conftest.nl"
   5519     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5520     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5521     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5522     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5523       # Best one so far, save it but keep looking for a better one
   5524       ac_cv_path_EGREP="$ac_path_EGREP"
   5525       ac_path_EGREP_max=$ac_count
   5526     fi
   5527     # 10*(2^10) chars as input seems more than enough
   5528     test $ac_count -gt 10 && break
   5529   done
   5530   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5531 esac
   5532 
   5533       $ac_path_EGREP_found && break 3
   5534     done
   5535   done
   5536   done
   5537 IFS=$as_save_IFS
   5538   if test -z "$ac_cv_path_EGREP"; then
   5539     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5540   fi
   5541 else
   5542   ac_cv_path_EGREP=$EGREP
   5543 fi
   5544 
   5545    fi ;;
   5546 esac
   5547 fi
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5549 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5550  EGREP="$ac_cv_path_EGREP"
   5551 
   5552          EGREP_TRADITIONAL=$EGREP
   5553  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5554 
   5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5556 printf %s "checking for fgrep... " >&6; }
   5557 if test ${ac_cv_path_FGREP+y}
   5558 then :
   5559   printf %s "(cached) " >&6
   5560 else case e in #(
   5561   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5562    then ac_cv_path_FGREP="$GREP -F"
   5563    else
   5564      if test -z "$FGREP"; then
   5565   ac_path_FGREP_found=false
   5566   # Loop through the user's path and test for each of PROGNAME-LIST
   5567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5568 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5569 do
   5570   IFS=$as_save_IFS
   5571   case $as_dir in #(((
   5572     '') as_dir=./ ;;
   5573     */) ;;
   5574     *) as_dir=$as_dir/ ;;
   5575   esac
   5576     for ac_prog in fgrep
   5577    do
   5578     for ac_exec_ext in '' $ac_executable_extensions; do
   5579       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5580       as_fn_executable_p "$ac_path_FGREP" || continue
   5581 # Check for GNU ac_path_FGREP and select it if it is found.
   5582   # Check for GNU $ac_path_FGREP
   5583 case `"$ac_path_FGREP" --version 2>&1` in #(
   5584 *GNU*)
   5585   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5586 #(
   5587 *)
   5588   ac_count=0
   5589   printf %s 0123456789 >"conftest.in"
   5590   while :
   5591   do
   5592     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5593     mv "conftest.tmp" "conftest.in"
   5594     cp "conftest.in" "conftest.nl"
   5595     printf "%s\n" 'FGREP' >> "conftest.nl"
   5596     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5597     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5598     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5599     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5600       # Best one so far, save it but keep looking for a better one
   5601       ac_cv_path_FGREP="$ac_path_FGREP"
   5602       ac_path_FGREP_max=$ac_count
   5603     fi
   5604     # 10*(2^10) chars as input seems more than enough
   5605     test $ac_count -gt 10 && break
   5606   done
   5607   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5608 esac
   5609 
   5610       $ac_path_FGREP_found && break 3
   5611     done
   5612   done
   5613   done
   5614 IFS=$as_save_IFS
   5615   if test -z "$ac_cv_path_FGREP"; then
   5616     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5617   fi
   5618 else
   5619   ac_cv_path_FGREP=$FGREP
   5620 fi
   5621 
   5622    fi ;;
   5623 esac
   5624 fi
   5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5626 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5627  FGREP="$ac_cv_path_FGREP"
   5628 
   5629 
   5630 test -z "$GREP" && GREP=grep
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 # Check whether --with-gnu-ld was given.
   5651 if test ${with_gnu_ld+y}
   5652 then :
   5653   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5654 else case e in #(
   5655   e) with_gnu_ld=no ;;
   5656 esac
   5657 fi
   5658 
   5659 ac_prog=ld
   5660 if test yes = "$GCC"; then
   5661   # Check if gcc -print-prog-name=ld gives a path.
   5662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5663 printf %s "checking for ld used by $CC... " >&6; }
   5664   case $host in
   5665   *-*-mingw*)
   5666     # gcc leaves a trailing carriage return, which upsets mingw
   5667     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5668   *)
   5669     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5670   esac
   5671   case $ac_prog in
   5672     # Accept absolute paths.
   5673     [\\/]* | ?:[\\/]*)
   5674       re_direlt='/[^/][^/]*/\.\./'
   5675       # Canonicalize the pathname of ld
   5676       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5677       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5678 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5679       done
   5680       test -z "$LD" && LD=$ac_prog
   5681       ;;
   5682   "")
   5683     # If it fails, then pretend we aren't using GCC.
   5684     ac_prog=ld
   5685     ;;
   5686   *)
   5687     # If it is relative, then search for the first ld in PATH.
   5688     with_gnu_ld=unknown
   5689     ;;
   5690   esac
   5691 elif test yes = "$with_gnu_ld"; then
   5692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5693 printf %s "checking for GNU ld... " >&6; }
   5694 else
   5695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5696 printf %s "checking for non-GNU ld... " >&6; }
   5697 fi
   5698 if test ${lt_cv_path_LD+y}
   5699 then :
   5700   printf %s "(cached) " >&6
   5701 else case e in #(
   5702   e) if test -z "$LD"; then
   5703   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5704   for ac_dir in $PATH; do
   5705     IFS=$lt_save_ifs
   5706     test -z "$ac_dir" && ac_dir=.
   5707     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5708       lt_cv_path_LD=$ac_dir/$ac_prog
   5709       # Check to see if the program is GNU ld.  I'd rather use --version,
   5710       # but apparently some variants of GNU ld only accept -v.
   5711       # Break only if it was the GNU/non-GNU ld that we prefer.
   5712       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5713       *GNU* | *'with BFD'*)
   5714 	test no != "$with_gnu_ld" && break
   5715 	;;
   5716       *)
   5717 	test yes != "$with_gnu_ld" && break
   5718 	;;
   5719       esac
   5720     fi
   5721   done
   5722   IFS=$lt_save_ifs
   5723 else
   5724   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5725 fi ;;
   5726 esac
   5727 fi
   5728 
   5729 LD=$lt_cv_path_LD
   5730 if test -n "$LD"; then
   5731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5732 printf "%s\n" "$LD" >&6; }
   5733 else
   5734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5735 printf "%s\n" "no" >&6; }
   5736 fi
   5737 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5739 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5740 if test ${lt_cv_prog_gnu_ld+y}
   5741 then :
   5742   printf %s "(cached) " >&6
   5743 else case e in #(
   5744   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5745 case `$LD -v 2>&1 </dev/null` in
   5746 *GNU* | *'with BFD'*)
   5747   lt_cv_prog_gnu_ld=yes
   5748   ;;
   5749 *)
   5750   lt_cv_prog_gnu_ld=no
   5751   ;;
   5752 esac ;;
   5753 esac
   5754 fi
   5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5756 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5757 with_gnu_ld=$lt_cv_prog_gnu_ld
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5768 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5769 if test ${lt_cv_path_NM+y}
   5770 then :
   5771   printf %s "(cached) " >&6
   5772 else case e in #(
   5773   e) if test -n "$NM"; then
   5774   # Let the user override the test.
   5775   lt_cv_path_NM=$NM
   5776 else
   5777   lt_nm_to_check=${ac_tool_prefix}nm
   5778   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5779     lt_nm_to_check="$lt_nm_to_check nm"
   5780   fi
   5781   for lt_tmp_nm in $lt_nm_to_check; do
   5782     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5783     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5784       IFS=$lt_save_ifs
   5785       test -z "$ac_dir" && ac_dir=.
   5786       tmp_nm=$ac_dir/$lt_tmp_nm
   5787       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5788 	# Check to see if the nm accepts a BSD-compat flag.
   5789 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5790 	#   nm: unknown option "B" ignored
   5791 	# Tru64's nm complains that /dev/null is an invalid object file
   5792 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5793 	case $build_os in
   5794 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5795 	*) lt_bad_file=/dev/null ;;
   5796 	esac
   5797 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5798 	*$lt_bad_file* | *'Invalid file or object type'*)
   5799 	  lt_cv_path_NM="$tmp_nm -B"
   5800 	  break 2
   5801 	  ;;
   5802 	*)
   5803 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5804 	  */dev/null*)
   5805 	    lt_cv_path_NM="$tmp_nm -p"
   5806 	    break 2
   5807 	    ;;
   5808 	  *)
   5809 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5810 	    continue # so that we can try to find one that supports BSD flags
   5811 	    ;;
   5812 	  esac
   5813 	  ;;
   5814 	esac
   5815       fi
   5816     done
   5817     IFS=$lt_save_ifs
   5818   done
   5819   : ${lt_cv_path_NM=no}
   5820 fi ;;
   5821 esac
   5822 fi
   5823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5824 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5825 if test no != "$lt_cv_path_NM"; then
   5826   NM=$lt_cv_path_NM
   5827 else
   5828   # Didn't find any BSD compatible name lister, look for dumpbin.
   5829   if test -n "$DUMPBIN"; then :
   5830     # Let the user override the test.
   5831   else
   5832     if test -n "$ac_tool_prefix"; then
   5833   for ac_prog in dumpbin "link -dump"
   5834   do
   5835     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5838 printf %s "checking for $ac_word... " >&6; }
   5839 if test ${ac_cv_prog_DUMPBIN+y}
   5840 then :
   5841   printf %s "(cached) " >&6
   5842 else case e in #(
   5843   e) if test -n "$DUMPBIN"; then
   5844   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5845 else
   5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5847 for as_dir in $PATH
   5848 do
   5849   IFS=$as_save_IFS
   5850   case $as_dir in #(((
   5851     '') as_dir=./ ;;
   5852     */) ;;
   5853     *) as_dir=$as_dir/ ;;
   5854   esac
   5855     for ac_exec_ext in '' $ac_executable_extensions; do
   5856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5857     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5859     break 2
   5860   fi
   5861 done
   5862   done
   5863 IFS=$as_save_IFS
   5864 
   5865 fi ;;
   5866 esac
   5867 fi
   5868 DUMPBIN=$ac_cv_prog_DUMPBIN
   5869 if test -n "$DUMPBIN"; then
   5870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5871 printf "%s\n" "$DUMPBIN" >&6; }
   5872 else
   5873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5874 printf "%s\n" "no" >&6; }
   5875 fi
   5876 
   5877 
   5878     test -n "$DUMPBIN" && break
   5879   done
   5880 fi
   5881 if test -z "$DUMPBIN"; then
   5882   ac_ct_DUMPBIN=$DUMPBIN
   5883   for ac_prog in dumpbin "link -dump"
   5884 do
   5885   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5886 set dummy $ac_prog; ac_word=$2
   5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5888 printf %s "checking for $ac_word... " >&6; }
   5889 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5890 then :
   5891   printf %s "(cached) " >&6
   5892 else case e in #(
   5893   e) if test -n "$ac_ct_DUMPBIN"; then
   5894   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5895 else
   5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5897 for as_dir in $PATH
   5898 do
   5899   IFS=$as_save_IFS
   5900   case $as_dir in #(((
   5901     '') as_dir=./ ;;
   5902     */) ;;
   5903     *) as_dir=$as_dir/ ;;
   5904   esac
   5905     for ac_exec_ext in '' $ac_executable_extensions; do
   5906   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5907     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5908     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5909     break 2
   5910   fi
   5911 done
   5912   done
   5913 IFS=$as_save_IFS
   5914 
   5915 fi ;;
   5916 esac
   5917 fi
   5918 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5919 if test -n "$ac_ct_DUMPBIN"; then
   5920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5921 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5922 else
   5923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5924 printf "%s\n" "no" >&6; }
   5925 fi
   5926 
   5927 
   5928   test -n "$ac_ct_DUMPBIN" && break
   5929 done
   5930 
   5931   if test "x$ac_ct_DUMPBIN" = x; then
   5932     DUMPBIN=":"
   5933   else
   5934     case $cross_compiling:$ac_tool_warned in
   5935 yes:)
   5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5937 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5938 ac_tool_warned=yes ;;
   5939 esac
   5940     DUMPBIN=$ac_ct_DUMPBIN
   5941   fi
   5942 fi
   5943 
   5944     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5945     *COFF*)
   5946       DUMPBIN="$DUMPBIN -symbols -headers"
   5947       ;;
   5948     *)
   5949       DUMPBIN=:
   5950       ;;
   5951     esac
   5952   fi
   5953 
   5954   if test : != "$DUMPBIN"; then
   5955     NM=$DUMPBIN
   5956   fi
   5957 fi
   5958 test -z "$NM" && NM=nm
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5966 printf %s "checking the name lister ($NM) interface... " >&6; }
   5967 if test ${lt_cv_nm_interface+y}
   5968 then :
   5969   printf %s "(cached) " >&6
   5970 else case e in #(
   5971   e) lt_cv_nm_interface="BSD nm"
   5972   echo "int some_variable = 0;" > conftest.$ac_ext
   5973   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5974   (eval "$ac_compile" 2>conftest.err)
   5975   cat conftest.err >&5
   5976   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5977   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5978   cat conftest.err >&5
   5979   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5980   cat conftest.out >&5
   5981   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5982     lt_cv_nm_interface="MS dumpbin"
   5983   fi
   5984   rm -f conftest* ;;
   5985 esac
   5986 fi
   5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5988 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5989 
   5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5991 printf %s "checking whether ln -s works... " >&6; }
   5992 LN_S=$as_ln_s
   5993 if test "$LN_S" = "ln -s"; then
   5994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5995 printf "%s\n" "yes" >&6; }
   5996 else
   5997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5998 printf "%s\n" "no, using $LN_S" >&6; }
   5999 fi
   6000 
   6001 # find the maximum length of command line arguments
   6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6003 printf %s "checking the maximum length of command line arguments... " >&6; }
   6004 if test ${lt_cv_sys_max_cmd_len+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else case e in #(
   6008   e)   i=0
   6009   teststring=ABCD
   6010 
   6011   case $build_os in
   6012   msdosdjgpp*)
   6013     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6014     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6015     # during glob expansion).  Even if it were fixed, the result of this
   6016     # check would be larger than it should be.
   6017     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6018     ;;
   6019 
   6020   gnu*)
   6021     # Under GNU Hurd, this test is not required because there is
   6022     # no limit to the length of command line arguments.
   6023     # Libtool will interpret -1 as no limit whatsoever
   6024     lt_cv_sys_max_cmd_len=-1;
   6025     ;;
   6026 
   6027   cygwin* | mingw* | cegcc*)
   6028     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6029     # about 5 minutes as the teststring grows exponentially.
   6030     # Worse, since 9x/ME are not pre-emptively multitasking,
   6031     # you end up with a "frozen" computer, even though with patience
   6032     # the test eventually succeeds (with a max line length of 256k).
   6033     # Instead, let's just punt: use the minimum linelength reported by
   6034     # all of the supported platforms: 8192 (on NT/2K/XP).
   6035     lt_cv_sys_max_cmd_len=8192;
   6036     ;;
   6037 
   6038   mint*)
   6039     # On MiNT this can take a long time and run out of memory.
   6040     lt_cv_sys_max_cmd_len=8192;
   6041     ;;
   6042 
   6043   amigaos*)
   6044     # On AmigaOS with pdksh, this test takes hours, literally.
   6045     # So we just punt and use a minimum line length of 8192.
   6046     lt_cv_sys_max_cmd_len=8192;
   6047     ;;
   6048 
   6049   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6050     # This has been around since 386BSD, at least.  Likely further.
   6051     if test -x /sbin/sysctl; then
   6052       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6053     elif test -x /usr/sbin/sysctl; then
   6054       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6055     else
   6056       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6057     fi
   6058     # And add a safety zone
   6059     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6060     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6061     ;;
   6062 
   6063   interix*)
   6064     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6065     lt_cv_sys_max_cmd_len=196608
   6066     ;;
   6067 
   6068   os2*)
   6069     # The test takes a long time on OS/2.
   6070     lt_cv_sys_max_cmd_len=8192
   6071     ;;
   6072 
   6073   osf*)
   6074     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6075     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6076     # nice to cause kernel panics so lets avoid the loop below.
   6077     # First set a reasonable default.
   6078     lt_cv_sys_max_cmd_len=16384
   6079     #
   6080     if test -x /sbin/sysconfig; then
   6081       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6082         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6083       esac
   6084     fi
   6085     ;;
   6086   sco3.2v5*)
   6087     lt_cv_sys_max_cmd_len=102400
   6088     ;;
   6089   sysv5* | sco5v6* | sysv4.2uw2*)
   6090     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6091     if test -n "$kargmax"; then
   6092       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6093     else
   6094       lt_cv_sys_max_cmd_len=32768
   6095     fi
   6096     ;;
   6097   *)
   6098     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6099     if test -n "$lt_cv_sys_max_cmd_len" && \
   6100        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6101       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6102       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6103     else
   6104       # Make teststring a little bigger before we do anything with it.
   6105       # a 1K string should be a reasonable start.
   6106       for i in 1 2 3 4 5 6 7 8; do
   6107         teststring=$teststring$teststring
   6108       done
   6109       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6110       # If test is not a shell built-in, we'll probably end up computing a
   6111       # maximum length that is only half of the actual maximum length, but
   6112       # we can't tell.
   6113       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6114 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6115 	      test 17 != "$i" # 1/2 MB should be enough
   6116       do
   6117         i=`expr $i + 1`
   6118         teststring=$teststring$teststring
   6119       done
   6120       # Only check the string length outside the loop.
   6121       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6122       teststring=
   6123       # Add a significant safety factor because C++ compilers can tack on
   6124       # massive amounts of additional arguments before passing them to the
   6125       # linker.  It appears as though 1/2 is a usable value.
   6126       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6127     fi
   6128     ;;
   6129   esac
   6130  ;;
   6131 esac
   6132 fi
   6133 
   6134 if test -n "$lt_cv_sys_max_cmd_len"; then
   6135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6136 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6137 else
   6138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6139 printf "%s\n" "none" >&6; }
   6140 fi
   6141 max_cmd_len=$lt_cv_sys_max_cmd_len
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 : ${CP="cp -f"}
   6149 : ${MV="mv -f"}
   6150 : ${RM="rm -f"}
   6151 
   6152 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6153   lt_unset=unset
   6154 else
   6155   lt_unset=false
   6156 fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 # test EBCDIC or ASCII
   6163 case `echo X|tr X '\101'` in
   6164  A) # ASCII based system
   6165     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6166   lt_SP2NL='tr \040 \012'
   6167   lt_NL2SP='tr \015\012 \040\040'
   6168   ;;
   6169  *) # EBCDIC based system
   6170   lt_SP2NL='tr \100 \n'
   6171   lt_NL2SP='tr \r\n \100\100'
   6172   ;;
   6173 esac
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6184 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6185 if test ${lt_cv_to_host_file_cmd+y}
   6186 then :
   6187   printf %s "(cached) " >&6
   6188 else case e in #(
   6189   e) case $host in
   6190   *-*-mingw* )
   6191     case $build in
   6192       *-*-mingw* ) # actually msys
   6193         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6194         ;;
   6195       *-*-cygwin* )
   6196         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6197         ;;
   6198       * ) # otherwise, assume *nix
   6199         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6200         ;;
   6201     esac
   6202     ;;
   6203   *-*-cygwin* )
   6204     case $build in
   6205       *-*-mingw* ) # actually msys
   6206         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6207         ;;
   6208       *-*-cygwin* )
   6209         lt_cv_to_host_file_cmd=func_convert_file_noop
   6210         ;;
   6211       * ) # otherwise, assume *nix
   6212         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6213         ;;
   6214     esac
   6215     ;;
   6216   * ) # unhandled hosts (and "normal" native builds)
   6217     lt_cv_to_host_file_cmd=func_convert_file_noop
   6218     ;;
   6219 esac
   6220  ;;
   6221 esac
   6222 fi
   6223 
   6224 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6226 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6233 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6234 if test ${lt_cv_to_tool_file_cmd+y}
   6235 then :
   6236   printf %s "(cached) " >&6
   6237 else case e in #(
   6238   e) #assume ordinary cross tools, or native build.
   6239 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6240 case $host in
   6241   *-*-mingw* )
   6242     case $build in
   6243       *-*-mingw* ) # actually msys
   6244         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6245         ;;
   6246     esac
   6247     ;;
   6248 esac
   6249  ;;
   6250 esac
   6251 fi
   6252 
   6253 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6255 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6262 printf %s "checking for $LD option to reload object files... " >&6; }
   6263 if test ${lt_cv_ld_reload_flag+y}
   6264 then :
   6265   printf %s "(cached) " >&6
   6266 else case e in #(
   6267   e) lt_cv_ld_reload_flag='-r' ;;
   6268 esac
   6269 fi
   6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6271 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6272 reload_flag=$lt_cv_ld_reload_flag
   6273 case $reload_flag in
   6274 "" | " "*) ;;
   6275 *) reload_flag=" $reload_flag" ;;
   6276 esac
   6277 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6278 case $host_os in
   6279   cygwin* | mingw* | pw32* | cegcc*)
   6280     if test yes != "$GCC"; then
   6281       reload_cmds=false
   6282     fi
   6283     ;;
   6284   darwin*)
   6285     if test yes = "$GCC"; then
   6286       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6287     else
   6288       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6289     fi
   6290     ;;
   6291 esac
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 if test -n "$ac_tool_prefix"; then
   6302   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6303 set dummy ${ac_tool_prefix}file; ac_word=$2
   6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6305 printf %s "checking for $ac_word... " >&6; }
   6306 if test ${ac_cv_prog_FILECMD+y}
   6307 then :
   6308   printf %s "(cached) " >&6
   6309 else case e in #(
   6310   e) if test -n "$FILECMD"; then
   6311   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6312 else
   6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6314 for as_dir in $PATH
   6315 do
   6316   IFS=$as_save_IFS
   6317   case $as_dir in #(((
   6318     '') as_dir=./ ;;
   6319     */) ;;
   6320     *) as_dir=$as_dir/ ;;
   6321   esac
   6322     for ac_exec_ext in '' $ac_executable_extensions; do
   6323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6324     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6326     break 2
   6327   fi
   6328 done
   6329   done
   6330 IFS=$as_save_IFS
   6331 
   6332 fi ;;
   6333 esac
   6334 fi
   6335 FILECMD=$ac_cv_prog_FILECMD
   6336 if test -n "$FILECMD"; then
   6337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6338 printf "%s\n" "$FILECMD" >&6; }
   6339 else
   6340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6341 printf "%s\n" "no" >&6; }
   6342 fi
   6343 
   6344 
   6345 fi
   6346 if test -z "$ac_cv_prog_FILECMD"; then
   6347   ac_ct_FILECMD=$FILECMD
   6348   # Extract the first word of "file", so it can be a program name with args.
   6349 set dummy file; ac_word=$2
   6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6351 printf %s "checking for $ac_word... " >&6; }
   6352 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6353 then :
   6354   printf %s "(cached) " >&6
   6355 else case e in #(
   6356   e) if test -n "$ac_ct_FILECMD"; then
   6357   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6358 else
   6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6360 for as_dir in $PATH
   6361 do
   6362   IFS=$as_save_IFS
   6363   case $as_dir in #(((
   6364     '') as_dir=./ ;;
   6365     */) ;;
   6366     *) as_dir=$as_dir/ ;;
   6367   esac
   6368     for ac_exec_ext in '' $ac_executable_extensions; do
   6369   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6370     ac_cv_prog_ac_ct_FILECMD="file"
   6371     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6372     break 2
   6373   fi
   6374 done
   6375   done
   6376 IFS=$as_save_IFS
   6377 
   6378 fi ;;
   6379 esac
   6380 fi
   6381 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6382 if test -n "$ac_ct_FILECMD"; then
   6383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6384 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6385 else
   6386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6387 printf "%s\n" "no" >&6; }
   6388 fi
   6389 
   6390   if test "x$ac_ct_FILECMD" = x; then
   6391     FILECMD=":"
   6392   else
   6393     case $cross_compiling:$ac_tool_warned in
   6394 yes:)
   6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6396 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6397 ac_tool_warned=yes ;;
   6398 esac
   6399     FILECMD=$ac_ct_FILECMD
   6400   fi
   6401 else
   6402   FILECMD="$ac_cv_prog_FILECMD"
   6403 fi
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 if test -n "$ac_tool_prefix"; then
   6412   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6413 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6415 printf %s "checking for $ac_word... " >&6; }
   6416 if test ${ac_cv_prog_OBJDUMP+y}
   6417 then :
   6418   printf %s "(cached) " >&6
   6419 else case e in #(
   6420   e) if test -n "$OBJDUMP"; then
   6421   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6422 else
   6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6424 for as_dir in $PATH
   6425 do
   6426   IFS=$as_save_IFS
   6427   case $as_dir in #(((
   6428     '') as_dir=./ ;;
   6429     */) ;;
   6430     *) as_dir=$as_dir/ ;;
   6431   esac
   6432     for ac_exec_ext in '' $ac_executable_extensions; do
   6433   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6434     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6436     break 2
   6437   fi
   6438 done
   6439   done
   6440 IFS=$as_save_IFS
   6441 
   6442 fi ;;
   6443 esac
   6444 fi
   6445 OBJDUMP=$ac_cv_prog_OBJDUMP
   6446 if test -n "$OBJDUMP"; then
   6447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6448 printf "%s\n" "$OBJDUMP" >&6; }
   6449 else
   6450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6451 printf "%s\n" "no" >&6; }
   6452 fi
   6453 
   6454 
   6455 fi
   6456 if test -z "$ac_cv_prog_OBJDUMP"; then
   6457   ac_ct_OBJDUMP=$OBJDUMP
   6458   # Extract the first word of "objdump", so it can be a program name with args.
   6459 set dummy objdump; ac_word=$2
   6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6461 printf %s "checking for $ac_word... " >&6; }
   6462 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6463 then :
   6464   printf %s "(cached) " >&6
   6465 else case e in #(
   6466   e) if test -n "$ac_ct_OBJDUMP"; then
   6467   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6468 else
   6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6470 for as_dir in $PATH
   6471 do
   6472   IFS=$as_save_IFS
   6473   case $as_dir in #(((
   6474     '') as_dir=./ ;;
   6475     */) ;;
   6476     *) as_dir=$as_dir/ ;;
   6477   esac
   6478     for ac_exec_ext in '' $ac_executable_extensions; do
   6479   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6480     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6481     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6482     break 2
   6483   fi
   6484 done
   6485   done
   6486 IFS=$as_save_IFS
   6487 
   6488 fi ;;
   6489 esac
   6490 fi
   6491 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6492 if test -n "$ac_ct_OBJDUMP"; then
   6493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6494 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6495 else
   6496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6497 printf "%s\n" "no" >&6; }
   6498 fi
   6499 
   6500   if test "x$ac_ct_OBJDUMP" = x; then
   6501     OBJDUMP="false"
   6502   else
   6503     case $cross_compiling:$ac_tool_warned in
   6504 yes:)
   6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6506 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6507 ac_tool_warned=yes ;;
   6508 esac
   6509     OBJDUMP=$ac_ct_OBJDUMP
   6510   fi
   6511 else
   6512   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6513 fi
   6514 
   6515 test -z "$OBJDUMP" && OBJDUMP=objdump
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6526 printf %s "checking how to recognize dependent libraries... " >&6; }
   6527 if test ${lt_cv_deplibs_check_method+y}
   6528 then :
   6529   printf %s "(cached) " >&6
   6530 else case e in #(
   6531   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6532 lt_cv_file_magic_test_file=
   6533 lt_cv_deplibs_check_method='unknown'
   6534 # Need to set the preceding variable on all platforms that support
   6535 # interlibrary dependencies.
   6536 # 'none' -- dependencies not supported.
   6537 # 'unknown' -- same as none, but documents that we really don't know.
   6538 # 'pass_all' -- all dependencies passed with no checks.
   6539 # 'test_compile' -- check by making test program.
   6540 # 'file_magic [[regex]]' -- check by looking for files in library path
   6541 # that responds to the $file_magic_cmd with a given extended regex.
   6542 # If you have 'file' or equivalent on your system and you're not sure
   6543 # whether 'pass_all' will *always* work, you probably want this one.
   6544 
   6545 case $host_os in
   6546 aix[4-9]*)
   6547   lt_cv_deplibs_check_method=pass_all
   6548   ;;
   6549 
   6550 beos*)
   6551   lt_cv_deplibs_check_method=pass_all
   6552   ;;
   6553 
   6554 bsdi[45]*)
   6555   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6556   lt_cv_file_magic_cmd='$FILECMD -L'
   6557   lt_cv_file_magic_test_file=/shlib/libc.so
   6558   ;;
   6559 
   6560 cygwin*)
   6561   # func_win32_libid is a shell function defined in ltmain.sh
   6562   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6563   lt_cv_file_magic_cmd='func_win32_libid'
   6564   ;;
   6565 
   6566 mingw* | pw32*)
   6567   # Base MSYS/MinGW do not provide the 'file' command needed by
   6568   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6569   # unless we find 'file', for example because we are cross-compiling.
   6570   if ( file / ) >/dev/null 2>&1; then
   6571     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6572     lt_cv_file_magic_cmd='func_win32_libid'
   6573   else
   6574     # Keep this pattern in sync with the one in func_win32_libid.
   6575     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6576     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6577   fi
   6578   ;;
   6579 
   6580 cegcc*)
   6581   # use the weaker test based on 'objdump'. See mingw*.
   6582   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6583   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6584   ;;
   6585 
   6586 darwin* | rhapsody*)
   6587   lt_cv_deplibs_check_method=pass_all
   6588   ;;
   6589 
   6590 freebsd* | dragonfly* | midnightbsd*)
   6591   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6592     case $host_cpu in
   6593     i*86 )
   6594       # Not sure whether the presence of OpenBSD here was a mistake.
   6595       # Let's accept both of them until this is cleared up.
   6596       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6597       lt_cv_file_magic_cmd=$FILECMD
   6598       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6599       ;;
   6600     esac
   6601   else
   6602     lt_cv_deplibs_check_method=pass_all
   6603   fi
   6604   ;;
   6605 
   6606 haiku*)
   6607   lt_cv_deplibs_check_method=pass_all
   6608   ;;
   6609 
   6610 hpux10.20* | hpux11*)
   6611   lt_cv_file_magic_cmd=$FILECMD
   6612   case $host_cpu in
   6613   ia64*)
   6614     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6615     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6616     ;;
   6617   hppa*64*)
   6618     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]'
   6619     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6620     ;;
   6621   *)
   6622     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6623     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6624     ;;
   6625   esac
   6626   ;;
   6627 
   6628 interix[3-9]*)
   6629   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6630   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6631   ;;
   6632 
   6633 irix5* | irix6* | nonstopux*)
   6634   case $LD in
   6635   *-32|*"-32 ") libmagic=32-bit;;
   6636   *-n32|*"-n32 ") libmagic=N32;;
   6637   *-64|*"-64 ") libmagic=64-bit;;
   6638   *) libmagic=never-match;;
   6639   esac
   6640   lt_cv_deplibs_check_method=pass_all
   6641   ;;
   6642 
   6643 # This must be glibc/ELF.
   6644 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6645   lt_cv_deplibs_check_method=pass_all
   6646   ;;
   6647 
   6648 netbsd*)
   6649   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6650     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6651   else
   6652     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6653   fi
   6654   ;;
   6655 
   6656 newos6*)
   6657   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6658   lt_cv_file_magic_cmd=$FILECMD
   6659   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6660   ;;
   6661 
   6662 *nto* | *qnx*)
   6663   lt_cv_deplibs_check_method=pass_all
   6664   ;;
   6665 
   6666 openbsd* | bitrig*)
   6667   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6668     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6669   else
   6670     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6671   fi
   6672   ;;
   6673 
   6674 osf3* | osf4* | osf5*)
   6675   lt_cv_deplibs_check_method=pass_all
   6676   ;;
   6677 
   6678 rdos*)
   6679   lt_cv_deplibs_check_method=pass_all
   6680   ;;
   6681 
   6682 solaris*)
   6683   lt_cv_deplibs_check_method=pass_all
   6684   ;;
   6685 
   6686 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6687   lt_cv_deplibs_check_method=pass_all
   6688   ;;
   6689 
   6690 sysv4 | sysv4.3*)
   6691   case $host_vendor in
   6692   motorola)
   6693     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]'
   6694     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6695     ;;
   6696   ncr)
   6697     lt_cv_deplibs_check_method=pass_all
   6698     ;;
   6699   sequent)
   6700     lt_cv_file_magic_cmd='/bin/file'
   6701     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6702     ;;
   6703   sni)
   6704     lt_cv_file_magic_cmd='/bin/file'
   6705     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6706     lt_cv_file_magic_test_file=/lib/libc.so
   6707     ;;
   6708   siemens)
   6709     lt_cv_deplibs_check_method=pass_all
   6710     ;;
   6711   pc)
   6712     lt_cv_deplibs_check_method=pass_all
   6713     ;;
   6714   esac
   6715   ;;
   6716 
   6717 tpf*)
   6718   lt_cv_deplibs_check_method=pass_all
   6719   ;;
   6720 os2*)
   6721   lt_cv_deplibs_check_method=pass_all
   6722   ;;
   6723 esac
   6724  ;;
   6725 esac
   6726 fi
   6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6728 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6729 
   6730 file_magic_glob=
   6731 want_nocaseglob=no
   6732 if test "$build" = "$host"; then
   6733   case $host_os in
   6734   mingw* | pw32*)
   6735     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6736       want_nocaseglob=yes
   6737     else
   6738       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6739     fi
   6740     ;;
   6741   esac
   6742 fi
   6743 
   6744 file_magic_cmd=$lt_cv_file_magic_cmd
   6745 deplibs_check_method=$lt_cv_deplibs_check_method
   6746 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 if test -n "$ac_tool_prefix"; then
   6770   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6771 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6773 printf %s "checking for $ac_word... " >&6; }
   6774 if test ${ac_cv_prog_DLLTOOL+y}
   6775 then :
   6776   printf %s "(cached) " >&6
   6777 else case e in #(
   6778   e) if test -n "$DLLTOOL"; then
   6779   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6780 else
   6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6782 for as_dir in $PATH
   6783 do
   6784   IFS=$as_save_IFS
   6785   case $as_dir in #(((
   6786     '') as_dir=./ ;;
   6787     */) ;;
   6788     *) as_dir=$as_dir/ ;;
   6789   esac
   6790     for ac_exec_ext in '' $ac_executable_extensions; do
   6791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6792     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6794     break 2
   6795   fi
   6796 done
   6797   done
   6798 IFS=$as_save_IFS
   6799 
   6800 fi ;;
   6801 esac
   6802 fi
   6803 DLLTOOL=$ac_cv_prog_DLLTOOL
   6804 if test -n "$DLLTOOL"; then
   6805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6806 printf "%s\n" "$DLLTOOL" >&6; }
   6807 else
   6808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6809 printf "%s\n" "no" >&6; }
   6810 fi
   6811 
   6812 
   6813 fi
   6814 if test -z "$ac_cv_prog_DLLTOOL"; then
   6815   ac_ct_DLLTOOL=$DLLTOOL
   6816   # Extract the first word of "dlltool", so it can be a program name with args.
   6817 set dummy dlltool; ac_word=$2
   6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6819 printf %s "checking for $ac_word... " >&6; }
   6820 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6821 then :
   6822   printf %s "(cached) " >&6
   6823 else case e in #(
   6824   e) if test -n "$ac_ct_DLLTOOL"; then
   6825   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6826 else
   6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6828 for as_dir in $PATH
   6829 do
   6830   IFS=$as_save_IFS
   6831   case $as_dir in #(((
   6832     '') as_dir=./ ;;
   6833     */) ;;
   6834     *) as_dir=$as_dir/ ;;
   6835   esac
   6836     for ac_exec_ext in '' $ac_executable_extensions; do
   6837   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6838     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6839     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6840     break 2
   6841   fi
   6842 done
   6843   done
   6844 IFS=$as_save_IFS
   6845 
   6846 fi ;;
   6847 esac
   6848 fi
   6849 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6850 if test -n "$ac_ct_DLLTOOL"; then
   6851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6852 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6853 else
   6854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6855 printf "%s\n" "no" >&6; }
   6856 fi
   6857 
   6858   if test "x$ac_ct_DLLTOOL" = x; then
   6859     DLLTOOL="false"
   6860   else
   6861     case $cross_compiling:$ac_tool_warned in
   6862 yes:)
   6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6864 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6865 ac_tool_warned=yes ;;
   6866 esac
   6867     DLLTOOL=$ac_ct_DLLTOOL
   6868   fi
   6869 else
   6870   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6871 fi
   6872 
   6873 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6885 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6886 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else case e in #(
   6890   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6891 
   6892 case $host_os in
   6893 cygwin* | mingw* | pw32* | cegcc*)
   6894   # two different shell functions defined in ltmain.sh;
   6895   # decide which one to use based on capabilities of $DLLTOOL
   6896   case `$DLLTOOL --help 2>&1` in
   6897   *--identify-strict*)
   6898     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6899     ;;
   6900   *)
   6901     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6902     ;;
   6903   esac
   6904   ;;
   6905 *)
   6906   # fallback: assume linklib IS sharedlib
   6907   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6908   ;;
   6909 esac
   6910  ;;
   6911 esac
   6912 fi
   6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6914 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6915 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6916 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 if test -n "$ac_tool_prefix"; then
   6925   for ac_prog in ar
   6926   do
   6927     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6930 printf %s "checking for $ac_word... " >&6; }
   6931 if test ${ac_cv_prog_AR+y}
   6932 then :
   6933   printf %s "(cached) " >&6
   6934 else case e in #(
   6935   e) if test -n "$AR"; then
   6936   ac_cv_prog_AR="$AR" # Let the user override the test.
   6937 else
   6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6939 for as_dir in $PATH
   6940 do
   6941   IFS=$as_save_IFS
   6942   case $as_dir in #(((
   6943     '') as_dir=./ ;;
   6944     */) ;;
   6945     *) as_dir=$as_dir/ ;;
   6946   esac
   6947     for ac_exec_ext in '' $ac_executable_extensions; do
   6948   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6949     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6951     break 2
   6952   fi
   6953 done
   6954   done
   6955 IFS=$as_save_IFS
   6956 
   6957 fi ;;
   6958 esac
   6959 fi
   6960 AR=$ac_cv_prog_AR
   6961 if test -n "$AR"; then
   6962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6963 printf "%s\n" "$AR" >&6; }
   6964 else
   6965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6966 printf "%s\n" "no" >&6; }
   6967 fi
   6968 
   6969 
   6970     test -n "$AR" && break
   6971   done
   6972 fi
   6973 if test -z "$AR"; then
   6974   ac_ct_AR=$AR
   6975   for ac_prog in ar
   6976 do
   6977   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6978 set dummy $ac_prog; ac_word=$2
   6979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6980 printf %s "checking for $ac_word... " >&6; }
   6981 if test ${ac_cv_prog_ac_ct_AR+y}
   6982 then :
   6983   printf %s "(cached) " >&6
   6984 else case e in #(
   6985   e) if test -n "$ac_ct_AR"; then
   6986   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6987 else
   6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6989 for as_dir in $PATH
   6990 do
   6991   IFS=$as_save_IFS
   6992   case $as_dir in #(((
   6993     '') as_dir=./ ;;
   6994     */) ;;
   6995     *) as_dir=$as_dir/ ;;
   6996   esac
   6997     for ac_exec_ext in '' $ac_executable_extensions; do
   6998   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6999     ac_cv_prog_ac_ct_AR="$ac_prog"
   7000     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7001     break 2
   7002   fi
   7003 done
   7004   done
   7005 IFS=$as_save_IFS
   7006 
   7007 fi ;;
   7008 esac
   7009 fi
   7010 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7011 if test -n "$ac_ct_AR"; then
   7012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7013 printf "%s\n" "$ac_ct_AR" >&6; }
   7014 else
   7015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7016 printf "%s\n" "no" >&6; }
   7017 fi
   7018 
   7019 
   7020   test -n "$ac_ct_AR" && break
   7021 done
   7022 
   7023   if test "x$ac_ct_AR" = x; then
   7024     AR="false"
   7025   else
   7026     case $cross_compiling:$ac_tool_warned in
   7027 yes:)
   7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7030 ac_tool_warned=yes ;;
   7031 esac
   7032     AR=$ac_ct_AR
   7033   fi
   7034 fi
   7035 
   7036 : ${AR=ar}
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7044 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7045 # higher priority because thats what people were doing historically (setting
   7046 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7047 # variable obsoleted/removed.
   7048 
   7049 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7050 lt_ar_flags=$AR_FLAGS
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7058 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7066 printf %s "checking for archiver @FILE support... " >&6; }
   7067 if test ${lt_cv_ar_at_file+y}
   7068 then :
   7069   printf %s "(cached) " >&6
   7070 else case e in #(
   7071   e) lt_cv_ar_at_file=no
   7072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 
   7075 int
   7076 main (void)
   7077 {
   7078 
   7079   ;
   7080   return 0;
   7081 }
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"
   7084 then :
   7085   echo conftest.$ac_objext > conftest.lst
   7086       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7087       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7088   (eval $lt_ar_try) 2>&5
   7089   ac_status=$?
   7090   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7091   test $ac_status = 0; }
   7092       if test 0 -eq "$ac_status"; then
   7093 	# Ensure the archiver fails upon bogus file names.
   7094 	rm -f conftest.$ac_objext libconftest.a
   7095 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7096   (eval $lt_ar_try) 2>&5
   7097   ac_status=$?
   7098   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7099   test $ac_status = 0; }
   7100 	if test 0 -ne "$ac_status"; then
   7101           lt_cv_ar_at_file=@
   7102         fi
   7103       fi
   7104       rm -f conftest.* libconftest.a
   7105 
   7106 fi
   7107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7108    ;;
   7109 esac
   7110 fi
   7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7112 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7113 
   7114 if test no = "$lt_cv_ar_at_file"; then
   7115   archiver_list_spec=
   7116 else
   7117   archiver_list_spec=$lt_cv_ar_at_file
   7118 fi
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 if test -n "$ac_tool_prefix"; then
   7127   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7128 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7130 printf %s "checking for $ac_word... " >&6; }
   7131 if test ${ac_cv_prog_STRIP+y}
   7132 then :
   7133   printf %s "(cached) " >&6
   7134 else case e in #(
   7135   e) if test -n "$STRIP"; then
   7136   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7137 else
   7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7139 for as_dir in $PATH
   7140 do
   7141   IFS=$as_save_IFS
   7142   case $as_dir in #(((
   7143     '') as_dir=./ ;;
   7144     */) ;;
   7145     *) as_dir=$as_dir/ ;;
   7146   esac
   7147     for ac_exec_ext in '' $ac_executable_extensions; do
   7148   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7149     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7150     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7151     break 2
   7152   fi
   7153 done
   7154   done
   7155 IFS=$as_save_IFS
   7156 
   7157 fi ;;
   7158 esac
   7159 fi
   7160 STRIP=$ac_cv_prog_STRIP
   7161 if test -n "$STRIP"; then
   7162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7163 printf "%s\n" "$STRIP" >&6; }
   7164 else
   7165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7166 printf "%s\n" "no" >&6; }
   7167 fi
   7168 
   7169 
   7170 fi
   7171 if test -z "$ac_cv_prog_STRIP"; then
   7172   ac_ct_STRIP=$STRIP
   7173   # Extract the first word of "strip", so it can be a program name with args.
   7174 set dummy strip; ac_word=$2
   7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7176 printf %s "checking for $ac_word... " >&6; }
   7177 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7178 then :
   7179   printf %s "(cached) " >&6
   7180 else case e in #(
   7181   e) if test -n "$ac_ct_STRIP"; then
   7182   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7183 else
   7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7185 for as_dir in $PATH
   7186 do
   7187   IFS=$as_save_IFS
   7188   case $as_dir in #(((
   7189     '') as_dir=./ ;;
   7190     */) ;;
   7191     *) as_dir=$as_dir/ ;;
   7192   esac
   7193     for ac_exec_ext in '' $ac_executable_extensions; do
   7194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7195     ac_cv_prog_ac_ct_STRIP="strip"
   7196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7197     break 2
   7198   fi
   7199 done
   7200   done
   7201 IFS=$as_save_IFS
   7202 
   7203 fi ;;
   7204 esac
   7205 fi
   7206 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7207 if test -n "$ac_ct_STRIP"; then
   7208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7209 printf "%s\n" "$ac_ct_STRIP" >&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_STRIP" = x; then
   7216     STRIP=":"
   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     STRIP=$ac_ct_STRIP
   7225   fi
   7226 else
   7227   STRIP="$ac_cv_prog_STRIP"
   7228 fi
   7229 
   7230 test -z "$STRIP" && STRIP=:
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 if test -n "$ac_tool_prefix"; then
   7238   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7239 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7241 printf %s "checking for $ac_word... " >&6; }
   7242 if test ${ac_cv_prog_RANLIB+y}
   7243 then :
   7244   printf %s "(cached) " >&6
   7245 else case e in #(
   7246   e) if test -n "$RANLIB"; then
   7247   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7248 else
   7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7250 for as_dir in $PATH
   7251 do
   7252   IFS=$as_save_IFS
   7253   case $as_dir in #(((
   7254     '') as_dir=./ ;;
   7255     */) ;;
   7256     *) as_dir=$as_dir/ ;;
   7257   esac
   7258     for ac_exec_ext in '' $ac_executable_extensions; do
   7259   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7260     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7261     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7262     break 2
   7263   fi
   7264 done
   7265   done
   7266 IFS=$as_save_IFS
   7267 
   7268 fi ;;
   7269 esac
   7270 fi
   7271 RANLIB=$ac_cv_prog_RANLIB
   7272 if test -n "$RANLIB"; then
   7273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7274 printf "%s\n" "$RANLIB" >&6; }
   7275 else
   7276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7277 printf "%s\n" "no" >&6; }
   7278 fi
   7279 
   7280 
   7281 fi
   7282 if test -z "$ac_cv_prog_RANLIB"; then
   7283   ac_ct_RANLIB=$RANLIB
   7284   # Extract the first word of "ranlib", so it can be a program name with args.
   7285 set dummy ranlib; ac_word=$2
   7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7287 printf %s "checking for $ac_word... " >&6; }
   7288 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7289 then :
   7290   printf %s "(cached) " >&6
   7291 else case e in #(
   7292   e) if test -n "$ac_ct_RANLIB"; then
   7293   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   case $as_dir in #(((
   7300     '') as_dir=./ ;;
   7301     */) ;;
   7302     *) as_dir=$as_dir/ ;;
   7303   esac
   7304     for ac_exec_ext in '' $ac_executable_extensions; do
   7305   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7306     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7307     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7308     break 2
   7309   fi
   7310 done
   7311   done
   7312 IFS=$as_save_IFS
   7313 
   7314 fi ;;
   7315 esac
   7316 fi
   7317 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7318 if test -n "$ac_ct_RANLIB"; then
   7319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7320 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7321 else
   7322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7323 printf "%s\n" "no" >&6; }
   7324 fi
   7325 
   7326   if test "x$ac_ct_RANLIB" = x; then
   7327     RANLIB=":"
   7328   else
   7329     case $cross_compiling:$ac_tool_warned in
   7330 yes:)
   7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7332 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7333 ac_tool_warned=yes ;;
   7334 esac
   7335     RANLIB=$ac_ct_RANLIB
   7336   fi
   7337 else
   7338   RANLIB="$ac_cv_prog_RANLIB"
   7339 fi
   7340 
   7341 test -z "$RANLIB" && RANLIB=:
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 # Determine commands to create old-style static archives.
   7349 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7350 old_postinstall_cmds='chmod 644 $oldlib'
   7351 old_postuninstall_cmds=
   7352 
   7353 if test -n "$RANLIB"; then
   7354   case $host_os in
   7355   bitrig* | openbsd*)
   7356     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7357     ;;
   7358   *)
   7359     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7360     ;;
   7361   esac
   7362   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7363 fi
   7364 
   7365 case $host_os in
   7366   darwin*)
   7367     lock_old_archive_extraction=yes ;;
   7368   *)
   7369     lock_old_archive_extraction=no ;;
   7370 esac
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 # If no C compiler was specified, use CC.
   7411 LTCC=${LTCC-"$CC"}
   7412 
   7413 # If no C compiler flags were specified, use CFLAGS.
   7414 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7415 
   7416 # Allow CC to be a program name with arguments.
   7417 compiler=$CC
   7418 
   7419 
   7420 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7422 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7423 if test ${lt_cv_sys_global_symbol_pipe+y}
   7424 then :
   7425   printf %s "(cached) " >&6
   7426 else case e in #(
   7427   e)
   7428 # These are sane defaults that work on at least a few old systems.
   7429 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7430 
   7431 # Character class describing NM global symbol codes.
   7432 symcode='[BCDEGRST]'
   7433 
   7434 # Regexp to match symbols that can be accessed directly from C.
   7435 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7436 
   7437 # Define system-specific variables.
   7438 case $host_os in
   7439 aix*)
   7440   symcode='[BCDT]'
   7441   ;;
   7442 cygwin* | mingw* | pw32* | cegcc*)
   7443   symcode='[ABCDGISTW]'
   7444   ;;
   7445 hpux*)
   7446   if test ia64 = "$host_cpu"; then
   7447     symcode='[ABCDEGRST]'
   7448   fi
   7449   ;;
   7450 irix* | nonstopux*)
   7451   symcode='[BCDEGRST]'
   7452   ;;
   7453 osf*)
   7454   symcode='[BCDEGQRST]'
   7455   ;;
   7456 solaris*)
   7457   symcode='[BDRT]'
   7458   ;;
   7459 sco3.2v5*)
   7460   symcode='[DT]'
   7461   ;;
   7462 sysv4.2uw2*)
   7463   symcode='[DT]'
   7464   ;;
   7465 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7466   symcode='[ABDT]'
   7467   ;;
   7468 sysv4)
   7469   symcode='[DFNSTU]'
   7470   ;;
   7471 esac
   7472 
   7473 # If we're using GNU nm, then use its standard symbol codes.
   7474 case `$NM -V 2>&1` in
   7475 *GNU* | *'with BFD'*)
   7476   symcode='[ABCDGIRSTW]' ;;
   7477 esac
   7478 
   7479 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7480   # Gets list of data symbols to import.
   7481   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7482   # Adjust the below global symbol transforms to fixup imported variables.
   7483   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7484   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7485   lt_c_name_lib_hook="\
   7486   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7487   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7488 else
   7489   # Disable hooks by default.
   7490   lt_cv_sys_global_symbol_to_import=
   7491   lt_cdecl_hook=
   7492   lt_c_name_hook=
   7493   lt_c_name_lib_hook=
   7494 fi
   7495 
   7496 # Transform an extracted symbol line into a proper C declaration.
   7497 # Some systems (esp. on ia64) link data and code symbols differently,
   7498 # so use this general approach.
   7499 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7500 $lt_cdecl_hook\
   7501 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7502 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7503 
   7504 # Transform an extracted symbol line into symbol name and symbol address
   7505 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7506 $lt_c_name_hook\
   7507 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7508 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7509 
   7510 # Transform an extracted symbol line into symbol name with lib prefix and
   7511 # symbol address.
   7512 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7513 $lt_c_name_lib_hook\
   7514 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7515 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7516 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7517 
   7518 # Handle CRLF in mingw tool chain
   7519 opt_cr=
   7520 case $build_os in
   7521 mingw*)
   7522   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7523   ;;
   7524 esac
   7525 
   7526 # Try without a prefix underscore, then with it.
   7527 for ac_symprfx in "" "_"; do
   7528 
   7529   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7530   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7531 
   7532   # Write the raw and C identifiers.
   7533   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7534     # Fake it for dumpbin and say T for any non-static function,
   7535     # D for any global variable and I for any imported variable.
   7536     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7537     # which start with @ or ?.
   7538     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7539 "     {last_section=section; section=\$ 3};"\
   7540 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7541 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7542 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7543 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7544 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7545 "     \$ 0!~/External *\|/{next};"\
   7546 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7547 "     {if(hide[section]) next};"\
   7548 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7549 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7550 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7551 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7552 "     ' prfx=^$ac_symprfx"
   7553   else
   7554     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7555   fi
   7556   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7557 
   7558   # Check to see that the pipe works correctly.
   7559   pipe_works=no
   7560 
   7561   rm -f conftest*
   7562   cat > conftest.$ac_ext <<_LT_EOF
   7563 #ifdef __cplusplus
   7564 extern "C" {
   7565 #endif
   7566 char nm_test_var;
   7567 void nm_test_func(void);
   7568 void nm_test_func(void){}
   7569 #ifdef __cplusplus
   7570 }
   7571 #endif
   7572 int main(){nm_test_var='a';nm_test_func();return(0);}
   7573 _LT_EOF
   7574 
   7575   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7576   (eval $ac_compile) 2>&5
   7577   ac_status=$?
   7578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7579   test $ac_status = 0; }; then
   7580     # Now try to grab the symbols.
   7581     nlist=conftest.nm
   7582     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7583   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7584   ac_status=$?
   7585   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7586   test $ac_status = 0; } && test -s "$nlist"; then
   7587       # Try sorting and uniquifying the output.
   7588       if sort "$nlist" | uniq > "$nlist"T; then
   7589 	mv -f "$nlist"T "$nlist"
   7590       else
   7591 	rm -f "$nlist"T
   7592       fi
   7593 
   7594       # Make sure that we snagged all the symbols we need.
   7595       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7596 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7597 	  cat <<_LT_EOF > conftest.$ac_ext
   7598 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7599 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7600 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7601    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7602 # define LT_DLSYM_CONST
   7603 #elif defined __osf__
   7604 /* This system does not cope well with relocations in const data.  */
   7605 # define LT_DLSYM_CONST
   7606 #else
   7607 # define LT_DLSYM_CONST const
   7608 #endif
   7609 
   7610 #ifdef __cplusplus
   7611 extern "C" {
   7612 #endif
   7613 
   7614 _LT_EOF
   7615 	  # Now generate the symbol file.
   7616 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7617 
   7618 	  cat <<_LT_EOF >> conftest.$ac_ext
   7619 
   7620 /* The mapping between symbol names and symbols.  */
   7621 LT_DLSYM_CONST struct {
   7622   const char *name;
   7623   void       *address;
   7624 }
   7625 lt__PROGRAM__LTX_preloaded_symbols[] =
   7626 {
   7627   { "@PROGRAM@", (void *) 0 },
   7628 _LT_EOF
   7629 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7630 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7631   {0, (void *) 0}
   7632 };
   7633 
   7634 /* This works around a problem in FreeBSD linker */
   7635 #ifdef FREEBSD_WORKAROUND
   7636 static const void *lt_preloaded_setup() {
   7637   return lt__PROGRAM__LTX_preloaded_symbols;
   7638 }
   7639 #endif
   7640 
   7641 #ifdef __cplusplus
   7642 }
   7643 #endif
   7644 _LT_EOF
   7645 	  # Now try linking the two files.
   7646 	  mv conftest.$ac_objext conftstm.$ac_objext
   7647 	  lt_globsym_save_LIBS=$LIBS
   7648 	  lt_globsym_save_CFLAGS=$CFLAGS
   7649 	  LIBS=conftstm.$ac_objext
   7650 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7651 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7652   (eval $ac_link) 2>&5
   7653   ac_status=$?
   7654   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7655   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7656 	    pipe_works=yes
   7657 	  fi
   7658 	  LIBS=$lt_globsym_save_LIBS
   7659 	  CFLAGS=$lt_globsym_save_CFLAGS
   7660 	else
   7661 	  echo "cannot find nm_test_func in $nlist" >&5
   7662 	fi
   7663       else
   7664 	echo "cannot find nm_test_var in $nlist" >&5
   7665       fi
   7666     else
   7667       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7668     fi
   7669   else
   7670     echo "$progname: failed program was:" >&5
   7671     cat conftest.$ac_ext >&5
   7672   fi
   7673   rm -rf conftest* conftst*
   7674 
   7675   # Do not use the global_symbol_pipe unless it works.
   7676   if test yes = "$pipe_works"; then
   7677     break
   7678   else
   7679     lt_cv_sys_global_symbol_pipe=
   7680   fi
   7681 done
   7682  ;;
   7683 esac
   7684 fi
   7685 
   7686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7687   lt_cv_sys_global_symbol_to_cdecl=
   7688 fi
   7689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7691 printf "%s\n" "failed" >&6; }
   7692 else
   7693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7694 printf "%s\n" "ok" >&6; }
   7695 fi
   7696 
   7697 # Response file support.
   7698 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7699   nm_file_list_spec='@'
   7700 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7701   nm_file_list_spec='@'
   7702 fi
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7741 printf %s "checking for sysroot... " >&6; }
   7742 
   7743 # Check whether --with-sysroot was given.
   7744 if test ${with_sysroot+y}
   7745 then :
   7746   withval=$with_sysroot;
   7747 else case e in #(
   7748   e) with_sysroot=no ;;
   7749 esac
   7750 fi
   7751 
   7752 
   7753 lt_sysroot=
   7754 case $with_sysroot in #(
   7755  yes)
   7756    if test yes = "$GCC"; then
   7757      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7758    fi
   7759    ;; #(
   7760  /*)
   7761    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7762    ;; #(
   7763  no|'')
   7764    ;; #(
   7765  *)
   7766    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7767 printf "%s\n" "$with_sysroot" >&6; }
   7768    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7769    ;;
   7770 esac
   7771 
   7772  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7773 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7780 printf %s "checking for a working dd... " >&6; }
   7781 if test ${ac_cv_path_lt_DD+y}
   7782 then :
   7783   printf %s "(cached) " >&6
   7784 else case e in #(
   7785   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7786 cat conftest.i conftest.i >conftest2.i
   7787 : ${lt_DD:=$DD}
   7788 if test -z "$lt_DD"; then
   7789   ac_path_lt_DD_found=false
   7790   # Loop through the user's path and test for each of PROGNAME-LIST
   7791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7792 for as_dir in $PATH
   7793 do
   7794   IFS=$as_save_IFS
   7795   case $as_dir in #(((
   7796     '') as_dir=./ ;;
   7797     */) ;;
   7798     *) as_dir=$as_dir/ ;;
   7799   esac
   7800     for ac_prog in dd
   7801    do
   7802     for ac_exec_ext in '' $ac_executable_extensions; do
   7803       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7804       as_fn_executable_p "$ac_path_lt_DD" || continue
   7805 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7806   cmp -s conftest.i conftest.out \
   7807   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7808 fi
   7809       $ac_path_lt_DD_found && break 3
   7810     done
   7811   done
   7812   done
   7813 IFS=$as_save_IFS
   7814   if test -z "$ac_cv_path_lt_DD"; then
   7815     :
   7816   fi
   7817 else
   7818   ac_cv_path_lt_DD=$lt_DD
   7819 fi
   7820 
   7821 rm -f conftest.i conftest2.i conftest.out ;;
   7822 esac
   7823 fi
   7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7825 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7826 
   7827 
   7828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7829 printf %s "checking how to truncate binary pipes... " >&6; }
   7830 if test ${lt_cv_truncate_bin+y}
   7831 then :
   7832   printf %s "(cached) " >&6
   7833 else case e in #(
   7834   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7835 cat conftest.i conftest.i >conftest2.i
   7836 lt_cv_truncate_bin=
   7837 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7838   cmp -s conftest.i conftest.out \
   7839   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7840 fi
   7841 rm -f conftest.i conftest2.i conftest.out
   7842 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7843 esac
   7844 fi
   7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7846 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7855 func_cc_basename ()
   7856 {
   7857     for cc_temp in $*""; do
   7858       case $cc_temp in
   7859         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7860         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7861         \-*) ;;
   7862         *) break;;
   7863       esac
   7864     done
   7865     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7866 }
   7867 
   7868 # Check whether --enable-libtool-lock was given.
   7869 if test ${enable_libtool_lock+y}
   7870 then :
   7871   enableval=$enable_libtool_lock;
   7872 fi
   7873 
   7874 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7875 
   7876 # Some flags need to be propagated to the compiler or linker for good
   7877 # libtool support.
   7878 case $host in
   7879 ia64-*-hpux*)
   7880   # Find out what ABI is being produced by ac_compile, and set mode
   7881   # options accordingly.
   7882   echo 'int i;' > conftest.$ac_ext
   7883   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7884   (eval $ac_compile) 2>&5
   7885   ac_status=$?
   7886   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7887   test $ac_status = 0; }; then
   7888     case `$FILECMD conftest.$ac_objext` in
   7889       *ELF-32*)
   7890 	HPUX_IA64_MODE=32
   7891 	;;
   7892       *ELF-64*)
   7893 	HPUX_IA64_MODE=64
   7894 	;;
   7895     esac
   7896   fi
   7897   rm -rf conftest*
   7898   ;;
   7899 *-*-irix6*)
   7900   # Find out what ABI is being produced by ac_compile, and set linker
   7901   # options accordingly.
   7902   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7903   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7904   (eval $ac_compile) 2>&5
   7905   ac_status=$?
   7906   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7907   test $ac_status = 0; }; then
   7908     if test yes = "$lt_cv_prog_gnu_ld"; then
   7909       case `$FILECMD conftest.$ac_objext` in
   7910 	*32-bit*)
   7911 	  LD="${LD-ld} -melf32bsmip"
   7912 	  ;;
   7913 	*N32*)
   7914 	  LD="${LD-ld} -melf32bmipn32"
   7915 	  ;;
   7916 	*64-bit*)
   7917 	  LD="${LD-ld} -melf64bmip"
   7918 	;;
   7919       esac
   7920     else
   7921       case `$FILECMD conftest.$ac_objext` in
   7922 	*32-bit*)
   7923 	  LD="${LD-ld} -32"
   7924 	  ;;
   7925 	*N32*)
   7926 	  LD="${LD-ld} -n32"
   7927 	  ;;
   7928 	*64-bit*)
   7929 	  LD="${LD-ld} -64"
   7930 	  ;;
   7931       esac
   7932     fi
   7933   fi
   7934   rm -rf conftest*
   7935   ;;
   7936 
   7937 mips64*-*linux*)
   7938   # Find out what ABI is being produced by ac_compile, and set linker
   7939   # options accordingly.
   7940   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7941   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7942   (eval $ac_compile) 2>&5
   7943   ac_status=$?
   7944   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7945   test $ac_status = 0; }; then
   7946     emul=elf
   7947     case `$FILECMD conftest.$ac_objext` in
   7948       *32-bit*)
   7949 	emul="${emul}32"
   7950 	;;
   7951       *64-bit*)
   7952 	emul="${emul}64"
   7953 	;;
   7954     esac
   7955     case `$FILECMD conftest.$ac_objext` in
   7956       *MSB*)
   7957 	emul="${emul}btsmip"
   7958 	;;
   7959       *LSB*)
   7960 	emul="${emul}ltsmip"
   7961 	;;
   7962     esac
   7963     case `$FILECMD conftest.$ac_objext` in
   7964       *N32*)
   7965 	emul="${emul}n32"
   7966 	;;
   7967     esac
   7968     LD="${LD-ld} -m $emul"
   7969   fi
   7970   rm -rf conftest*
   7971   ;;
   7972 
   7973 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7974 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7975   # Find out what ABI is being produced by ac_compile, and set linker
   7976   # options accordingly.  Note that the listed cases only cover the
   7977   # situations where additional linker options are needed (such as when
   7978   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7979   # vice versa); the common cases where no linker options are needed do
   7980   # not appear in the list.
   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       *32-bit*)
   7989 	case $host in
   7990 	  x86_64-*kfreebsd*-gnu)
   7991 	    LD="${LD-ld} -m elf_i386_fbsd"
   7992 	    ;;
   7993 	  x86_64-*linux*)
   7994 	    case `$FILECMD conftest.o` in
   7995 	      *x86-64*)
   7996 		LD="${LD-ld} -m elf32_x86_64"
   7997 		;;
   7998 	      *)
   7999 		LD="${LD-ld} -m elf_i386"
   8000 		;;
   8001 	    esac
   8002 	    ;;
   8003 	  powerpc64le-*linux*)
   8004 	    LD="${LD-ld} -m elf32lppclinux"
   8005 	    ;;
   8006 	  powerpc64-*linux*)
   8007 	    LD="${LD-ld} -m elf32ppclinux"
   8008 	    ;;
   8009 	  s390x-*linux*)
   8010 	    LD="${LD-ld} -m elf_s390"
   8011 	    ;;
   8012 	  sparc64-*linux*)
   8013 	    LD="${LD-ld} -m elf32_sparc"
   8014 	    ;;
   8015 	esac
   8016 	;;
   8017       *64-bit*)
   8018 	case $host in
   8019 	  x86_64-*kfreebsd*-gnu)
   8020 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8021 	    ;;
   8022 	  x86_64-*linux*)
   8023 	    LD="${LD-ld} -m elf_x86_64"
   8024 	    ;;
   8025 	  powerpcle-*linux*)
   8026 	    LD="${LD-ld} -m elf64lppc"
   8027 	    ;;
   8028 	  powerpc-*linux*)
   8029 	    LD="${LD-ld} -m elf64ppc"
   8030 	    ;;
   8031 	  s390*-*linux*|s390*-*tpf*)
   8032 	    LD="${LD-ld} -m elf64_s390"
   8033 	    ;;
   8034 	  sparc*-*linux*)
   8035 	    LD="${LD-ld} -m elf64_sparc"
   8036 	    ;;
   8037 	esac
   8038 	;;
   8039     esac
   8040   fi
   8041   rm -rf conftest*
   8042   ;;
   8043 
   8044 *-*-sco3.2v5*)
   8045   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8046   SAVE_CFLAGS=$CFLAGS
   8047   CFLAGS="$CFLAGS -belf"
   8048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8049 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8050 if test ${lt_cv_cc_needs_belf+y}
   8051 then :
   8052   printf %s "(cached) " >&6
   8053 else case e in #(
   8054   e) ac_ext=c
   8055 ac_cpp='$CPP $CPPFLAGS'
   8056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8059 
   8060      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8061 /* end confdefs.h.  */
   8062 
   8063 int
   8064 main (void)
   8065 {
   8066 
   8067   ;
   8068   return 0;
   8069 }
   8070 _ACEOF
   8071 if ac_fn_c_try_link "$LINENO"
   8072 then :
   8073   lt_cv_cc_needs_belf=yes
   8074 else case e in #(
   8075   e) lt_cv_cc_needs_belf=no ;;
   8076 esac
   8077 fi
   8078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8079     conftest$ac_exeext conftest.$ac_ext
   8080      ac_ext=c
   8081 ac_cpp='$CPP $CPPFLAGS'
   8082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8085  ;;
   8086 esac
   8087 fi
   8088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8089 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8090   if test yes != "$lt_cv_cc_needs_belf"; then
   8091     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8092     CFLAGS=$SAVE_CFLAGS
   8093   fi
   8094   ;;
   8095 *-*solaris*)
   8096   # Find out what ABI is being produced by ac_compile, and set linker
   8097   # options accordingly.
   8098   echo 'int i;' > conftest.$ac_ext
   8099   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8100   (eval $ac_compile) 2>&5
   8101   ac_status=$?
   8102   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8103   test $ac_status = 0; }; then
   8104     case `$FILECMD conftest.o` in
   8105     *64-bit*)
   8106       case $lt_cv_prog_gnu_ld in
   8107       yes*)
   8108         case $host in
   8109         i?86-*-solaris*|x86_64-*-solaris*)
   8110           LD="${LD-ld} -m elf_x86_64"
   8111           ;;
   8112         sparc*-*-solaris*)
   8113           LD="${LD-ld} -m elf64_sparc"
   8114           ;;
   8115         esac
   8116         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8117         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8118           LD=${LD-ld}_sol2
   8119         fi
   8120         ;;
   8121       *)
   8122 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8123 	  LD="${LD-ld} -64"
   8124 	fi
   8125 	;;
   8126       esac
   8127       ;;
   8128     esac
   8129   fi
   8130   rm -rf conftest*
   8131   ;;
   8132 esac
   8133 
   8134 need_locks=$enable_libtool_lock
   8135 
   8136 if test -n "$ac_tool_prefix"; then
   8137   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8138 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8140 printf %s "checking for $ac_word... " >&6; }
   8141 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8142 then :
   8143   printf %s "(cached) " >&6
   8144 else case e in #(
   8145   e) if test -n "$MANIFEST_TOOL"; then
   8146   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8147 else
   8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8149 for as_dir in $PATH
   8150 do
   8151   IFS=$as_save_IFS
   8152   case $as_dir in #(((
   8153     '') as_dir=./ ;;
   8154     */) ;;
   8155     *) as_dir=$as_dir/ ;;
   8156   esac
   8157     for ac_exec_ext in '' $ac_executable_extensions; do
   8158   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8159     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8160     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8161     break 2
   8162   fi
   8163 done
   8164   done
   8165 IFS=$as_save_IFS
   8166 
   8167 fi ;;
   8168 esac
   8169 fi
   8170 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8171 if test -n "$MANIFEST_TOOL"; then
   8172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8173 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8174 else
   8175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8176 printf "%s\n" "no" >&6; }
   8177 fi
   8178 
   8179 
   8180 fi
   8181 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8182   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8183   # Extract the first word of "mt", so it can be a program name with args.
   8184 set dummy mt; ac_word=$2
   8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8186 printf %s "checking for $ac_word... " >&6; }
   8187 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8188 then :
   8189   printf %s "(cached) " >&6
   8190 else case e in #(
   8191   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8192   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8193 else
   8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8195 for as_dir in $PATH
   8196 do
   8197   IFS=$as_save_IFS
   8198   case $as_dir in #(((
   8199     '') as_dir=./ ;;
   8200     */) ;;
   8201     *) as_dir=$as_dir/ ;;
   8202   esac
   8203     for ac_exec_ext in '' $ac_executable_extensions; do
   8204   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8205     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8206     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8207     break 2
   8208   fi
   8209 done
   8210   done
   8211 IFS=$as_save_IFS
   8212 
   8213 fi ;;
   8214 esac
   8215 fi
   8216 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8217 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8219 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8220 else
   8221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8222 printf "%s\n" "no" >&6; }
   8223 fi
   8224 
   8225   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8226     MANIFEST_TOOL=":"
   8227   else
   8228     case $cross_compiling:$ac_tool_warned in
   8229 yes:)
   8230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8231 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8232 ac_tool_warned=yes ;;
   8233 esac
   8234     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8235   fi
   8236 else
   8237   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8238 fi
   8239 
   8240 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8242 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8243 if test ${lt_cv_path_mainfest_tool+y}
   8244 then :
   8245   printf %s "(cached) " >&6
   8246 else case e in #(
   8247   e) lt_cv_path_mainfest_tool=no
   8248   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8249   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8250   cat conftest.err >&5
   8251   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8252     lt_cv_path_mainfest_tool=yes
   8253   fi
   8254   rm -f conftest* ;;
   8255 esac
   8256 fi
   8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8258 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8259 if test yes != "$lt_cv_path_mainfest_tool"; then
   8260   MANIFEST_TOOL=:
   8261 fi
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268   case $host_os in
   8269     rhapsody* | darwin*)
   8270     if test -n "$ac_tool_prefix"; then
   8271   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8272 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8274 printf %s "checking for $ac_word... " >&6; }
   8275 if test ${ac_cv_prog_DSYMUTIL+y}
   8276 then :
   8277   printf %s "(cached) " >&6
   8278 else case e in #(
   8279   e) if test -n "$DSYMUTIL"; then
   8280   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8281 else
   8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8283 for as_dir in $PATH
   8284 do
   8285   IFS=$as_save_IFS
   8286   case $as_dir in #(((
   8287     '') as_dir=./ ;;
   8288     */) ;;
   8289     *) as_dir=$as_dir/ ;;
   8290   esac
   8291     for ac_exec_ext in '' $ac_executable_extensions; do
   8292   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8293     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8294     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8295     break 2
   8296   fi
   8297 done
   8298   done
   8299 IFS=$as_save_IFS
   8300 
   8301 fi ;;
   8302 esac
   8303 fi
   8304 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8305 if test -n "$DSYMUTIL"; then
   8306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8307 printf "%s\n" "$DSYMUTIL" >&6; }
   8308 else
   8309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8310 printf "%s\n" "no" >&6; }
   8311 fi
   8312 
   8313 
   8314 fi
   8315 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8316   ac_ct_DSYMUTIL=$DSYMUTIL
   8317   # Extract the first word of "dsymutil", so it can be a program name with args.
   8318 set dummy dsymutil; ac_word=$2
   8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8320 printf %s "checking for $ac_word... " >&6; }
   8321 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8322 then :
   8323   printf %s "(cached) " >&6
   8324 else case e in #(
   8325   e) if test -n "$ac_ct_DSYMUTIL"; then
   8326   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8327 else
   8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8329 for as_dir in $PATH
   8330 do
   8331   IFS=$as_save_IFS
   8332   case $as_dir in #(((
   8333     '') as_dir=./ ;;
   8334     */) ;;
   8335     *) as_dir=$as_dir/ ;;
   8336   esac
   8337     for ac_exec_ext in '' $ac_executable_extensions; do
   8338   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8339     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8340     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8341     break 2
   8342   fi
   8343 done
   8344   done
   8345 IFS=$as_save_IFS
   8346 
   8347 fi ;;
   8348 esac
   8349 fi
   8350 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8351 if test -n "$ac_ct_DSYMUTIL"; then
   8352   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8353 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8354 else
   8355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8356 printf "%s\n" "no" >&6; }
   8357 fi
   8358 
   8359   if test "x$ac_ct_DSYMUTIL" = x; then
   8360     DSYMUTIL=":"
   8361   else
   8362     case $cross_compiling:$ac_tool_warned in
   8363 yes:)
   8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8365 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8366 ac_tool_warned=yes ;;
   8367 esac
   8368     DSYMUTIL=$ac_ct_DSYMUTIL
   8369   fi
   8370 else
   8371   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8372 fi
   8373 
   8374     if test -n "$ac_tool_prefix"; then
   8375   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8376 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8378 printf %s "checking for $ac_word... " >&6; }
   8379 if test ${ac_cv_prog_NMEDIT+y}
   8380 then :
   8381   printf %s "(cached) " >&6
   8382 else case e in #(
   8383   e) if test -n "$NMEDIT"; then
   8384   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8385 else
   8386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8387 for as_dir in $PATH
   8388 do
   8389   IFS=$as_save_IFS
   8390   case $as_dir in #(((
   8391     '') as_dir=./ ;;
   8392     */) ;;
   8393     *) as_dir=$as_dir/ ;;
   8394   esac
   8395     for ac_exec_ext in '' $ac_executable_extensions; do
   8396   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8397     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8398     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8399     break 2
   8400   fi
   8401 done
   8402   done
   8403 IFS=$as_save_IFS
   8404 
   8405 fi ;;
   8406 esac
   8407 fi
   8408 NMEDIT=$ac_cv_prog_NMEDIT
   8409 if test -n "$NMEDIT"; then
   8410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8411 printf "%s\n" "$NMEDIT" >&6; }
   8412 else
   8413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8414 printf "%s\n" "no" >&6; }
   8415 fi
   8416 
   8417 
   8418 fi
   8419 if test -z "$ac_cv_prog_NMEDIT"; then
   8420   ac_ct_NMEDIT=$NMEDIT
   8421   # Extract the first word of "nmedit", so it can be a program name with args.
   8422 set dummy nmedit; ac_word=$2
   8423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8424 printf %s "checking for $ac_word... " >&6; }
   8425 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8426 then :
   8427   printf %s "(cached) " >&6
   8428 else case e in #(
   8429   e) if test -n "$ac_ct_NMEDIT"; then
   8430   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8431 else
   8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8433 for as_dir in $PATH
   8434 do
   8435   IFS=$as_save_IFS
   8436   case $as_dir in #(((
   8437     '') as_dir=./ ;;
   8438     */) ;;
   8439     *) as_dir=$as_dir/ ;;
   8440   esac
   8441     for ac_exec_ext in '' $ac_executable_extensions; do
   8442   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8443     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8444     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8445     break 2
   8446   fi
   8447 done
   8448   done
   8449 IFS=$as_save_IFS
   8450 
   8451 fi ;;
   8452 esac
   8453 fi
   8454 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8455 if test -n "$ac_ct_NMEDIT"; then
   8456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8457 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8458 else
   8459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8460 printf "%s\n" "no" >&6; }
   8461 fi
   8462 
   8463   if test "x$ac_ct_NMEDIT" = x; then
   8464     NMEDIT=":"
   8465   else
   8466     case $cross_compiling:$ac_tool_warned in
   8467 yes:)
   8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8469 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8470 ac_tool_warned=yes ;;
   8471 esac
   8472     NMEDIT=$ac_ct_NMEDIT
   8473   fi
   8474 else
   8475   NMEDIT="$ac_cv_prog_NMEDIT"
   8476 fi
   8477 
   8478     if test -n "$ac_tool_prefix"; then
   8479   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8480 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8482 printf %s "checking for $ac_word... " >&6; }
   8483 if test ${ac_cv_prog_LIPO+y}
   8484 then :
   8485   printf %s "(cached) " >&6
   8486 else case e in #(
   8487   e) if test -n "$LIPO"; then
   8488   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8489 else
   8490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8491 for as_dir in $PATH
   8492 do
   8493   IFS=$as_save_IFS
   8494   case $as_dir in #(((
   8495     '') as_dir=./ ;;
   8496     */) ;;
   8497     *) as_dir=$as_dir/ ;;
   8498   esac
   8499     for ac_exec_ext in '' $ac_executable_extensions; do
   8500   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8501     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8502     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8503     break 2
   8504   fi
   8505 done
   8506   done
   8507 IFS=$as_save_IFS
   8508 
   8509 fi ;;
   8510 esac
   8511 fi
   8512 LIPO=$ac_cv_prog_LIPO
   8513 if test -n "$LIPO"; then
   8514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8515 printf "%s\n" "$LIPO" >&6; }
   8516 else
   8517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8518 printf "%s\n" "no" >&6; }
   8519 fi
   8520 
   8521 
   8522 fi
   8523 if test -z "$ac_cv_prog_LIPO"; then
   8524   ac_ct_LIPO=$LIPO
   8525   # Extract the first word of "lipo", so it can be a program name with args.
   8526 set dummy lipo; ac_word=$2
   8527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8528 printf %s "checking for $ac_word... " >&6; }
   8529 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8530 then :
   8531   printf %s "(cached) " >&6
   8532 else case e in #(
   8533   e) if test -n "$ac_ct_LIPO"; then
   8534   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8535 else
   8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8537 for as_dir in $PATH
   8538 do
   8539   IFS=$as_save_IFS
   8540   case $as_dir in #(((
   8541     '') as_dir=./ ;;
   8542     */) ;;
   8543     *) as_dir=$as_dir/ ;;
   8544   esac
   8545     for ac_exec_ext in '' $ac_executable_extensions; do
   8546   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8547     ac_cv_prog_ac_ct_LIPO="lipo"
   8548     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8549     break 2
   8550   fi
   8551 done
   8552   done
   8553 IFS=$as_save_IFS
   8554 
   8555 fi ;;
   8556 esac
   8557 fi
   8558 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8559 if test -n "$ac_ct_LIPO"; then
   8560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8561 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8562 else
   8563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8564 printf "%s\n" "no" >&6; }
   8565 fi
   8566 
   8567   if test "x$ac_ct_LIPO" = x; then
   8568     LIPO=":"
   8569   else
   8570     case $cross_compiling:$ac_tool_warned in
   8571 yes:)
   8572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8573 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8574 ac_tool_warned=yes ;;
   8575 esac
   8576     LIPO=$ac_ct_LIPO
   8577   fi
   8578 else
   8579   LIPO="$ac_cv_prog_LIPO"
   8580 fi
   8581 
   8582     if test -n "$ac_tool_prefix"; then
   8583   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8584 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8586 printf %s "checking for $ac_word... " >&6; }
   8587 if test ${ac_cv_prog_OTOOL+y}
   8588 then :
   8589   printf %s "(cached) " >&6
   8590 else case e in #(
   8591   e) if test -n "$OTOOL"; then
   8592   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8593 else
   8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8595 for as_dir in $PATH
   8596 do
   8597   IFS=$as_save_IFS
   8598   case $as_dir in #(((
   8599     '') as_dir=./ ;;
   8600     */) ;;
   8601     *) as_dir=$as_dir/ ;;
   8602   esac
   8603     for ac_exec_ext in '' $ac_executable_extensions; do
   8604   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8605     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8606     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8607     break 2
   8608   fi
   8609 done
   8610   done
   8611 IFS=$as_save_IFS
   8612 
   8613 fi ;;
   8614 esac
   8615 fi
   8616 OTOOL=$ac_cv_prog_OTOOL
   8617 if test -n "$OTOOL"; then
   8618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8619 printf "%s\n" "$OTOOL" >&6; }
   8620 else
   8621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8622 printf "%s\n" "no" >&6; }
   8623 fi
   8624 
   8625 
   8626 fi
   8627 if test -z "$ac_cv_prog_OTOOL"; then
   8628   ac_ct_OTOOL=$OTOOL
   8629   # Extract the first word of "otool", so it can be a program name with args.
   8630 set dummy otool; ac_word=$2
   8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8632 printf %s "checking for $ac_word... " >&6; }
   8633 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8634 then :
   8635   printf %s "(cached) " >&6
   8636 else case e in #(
   8637   e) if test -n "$ac_ct_OTOOL"; then
   8638   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8639 else
   8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8641 for as_dir in $PATH
   8642 do
   8643   IFS=$as_save_IFS
   8644   case $as_dir in #(((
   8645     '') as_dir=./ ;;
   8646     */) ;;
   8647     *) as_dir=$as_dir/ ;;
   8648   esac
   8649     for ac_exec_ext in '' $ac_executable_extensions; do
   8650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8651     ac_cv_prog_ac_ct_OTOOL="otool"
   8652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8653     break 2
   8654   fi
   8655 done
   8656   done
   8657 IFS=$as_save_IFS
   8658 
   8659 fi ;;
   8660 esac
   8661 fi
   8662 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8663 if test -n "$ac_ct_OTOOL"; then
   8664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8665 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8666 else
   8667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8668 printf "%s\n" "no" >&6; }
   8669 fi
   8670 
   8671   if test "x$ac_ct_OTOOL" = x; then
   8672     OTOOL=":"
   8673   else
   8674     case $cross_compiling:$ac_tool_warned in
   8675 yes:)
   8676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8678 ac_tool_warned=yes ;;
   8679 esac
   8680     OTOOL=$ac_ct_OTOOL
   8681   fi
   8682 else
   8683   OTOOL="$ac_cv_prog_OTOOL"
   8684 fi
   8685 
   8686     if test -n "$ac_tool_prefix"; then
   8687   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8688 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8690 printf %s "checking for $ac_word... " >&6; }
   8691 if test ${ac_cv_prog_OTOOL64+y}
   8692 then :
   8693   printf %s "(cached) " >&6
   8694 else case e in #(
   8695   e) if test -n "$OTOOL64"; then
   8696   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8697 else
   8698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8699 for as_dir in $PATH
   8700 do
   8701   IFS=$as_save_IFS
   8702   case $as_dir in #(((
   8703     '') as_dir=./ ;;
   8704     */) ;;
   8705     *) as_dir=$as_dir/ ;;
   8706   esac
   8707     for ac_exec_ext in '' $ac_executable_extensions; do
   8708   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8709     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8710     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8711     break 2
   8712   fi
   8713 done
   8714   done
   8715 IFS=$as_save_IFS
   8716 
   8717 fi ;;
   8718 esac
   8719 fi
   8720 OTOOL64=$ac_cv_prog_OTOOL64
   8721 if test -n "$OTOOL64"; then
   8722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8723 printf "%s\n" "$OTOOL64" >&6; }
   8724 else
   8725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8726 printf "%s\n" "no" >&6; }
   8727 fi
   8728 
   8729 
   8730 fi
   8731 if test -z "$ac_cv_prog_OTOOL64"; then
   8732   ac_ct_OTOOL64=$OTOOL64
   8733   # Extract the first word of "otool64", so it can be a program name with args.
   8734 set dummy otool64; ac_word=$2
   8735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8736 printf %s "checking for $ac_word... " >&6; }
   8737 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8738 then :
   8739   printf %s "(cached) " >&6
   8740 else case e in #(
   8741   e) if test -n "$ac_ct_OTOOL64"; then
   8742   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8743 else
   8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8745 for as_dir in $PATH
   8746 do
   8747   IFS=$as_save_IFS
   8748   case $as_dir in #(((
   8749     '') as_dir=./ ;;
   8750     */) ;;
   8751     *) as_dir=$as_dir/ ;;
   8752   esac
   8753     for ac_exec_ext in '' $ac_executable_extensions; do
   8754   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8755     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8756     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8757     break 2
   8758   fi
   8759 done
   8760   done
   8761 IFS=$as_save_IFS
   8762 
   8763 fi ;;
   8764 esac
   8765 fi
   8766 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8767 if test -n "$ac_ct_OTOOL64"; then
   8768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8769 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8770 else
   8771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8772 printf "%s\n" "no" >&6; }
   8773 fi
   8774 
   8775   if test "x$ac_ct_OTOOL64" = x; then
   8776     OTOOL64=":"
   8777   else
   8778     case $cross_compiling:$ac_tool_warned in
   8779 yes:)
   8780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8781 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8782 ac_tool_warned=yes ;;
   8783 esac
   8784     OTOOL64=$ac_ct_OTOOL64
   8785   fi
   8786 else
   8787   OTOOL64="$ac_cv_prog_OTOOL64"
   8788 fi
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8817 printf %s "checking for -single_module linker flag... " >&6; }
   8818 if test ${lt_cv_apple_cc_single_mod+y}
   8819 then :
   8820   printf %s "(cached) " >&6
   8821 else case e in #(
   8822   e) lt_cv_apple_cc_single_mod=no
   8823       if test -z "$LT_MULTI_MODULE"; then
   8824 	# By default we will add the -single_module flag. You can override
   8825 	# by either setting the environment variable LT_MULTI_MODULE
   8826 	# non-empty at configure time, or by adding -multi_module to the
   8827 	# link flags.
   8828 	rm -rf libconftest.dylib*
   8829 	echo "int foo(void){return 1;}" > conftest.c
   8830 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8831 -dynamiclib -Wl,-single_module conftest.c" >&5
   8832 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8833 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8834         _lt_result=$?
   8835 	# If there is a non-empty error log, and "single_module"
   8836 	# appears in it, assume the flag caused a linker warning
   8837         if test -s conftest.err && $GREP single_module conftest.err; then
   8838 	  cat conftest.err >&5
   8839 	# Otherwise, if the output was created with a 0 exit code from
   8840 	# the compiler, it worked.
   8841 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8842 	  lt_cv_apple_cc_single_mod=yes
   8843 	else
   8844 	  cat conftest.err >&5
   8845 	fi
   8846 	rm -rf libconftest.dylib*
   8847 	rm -f conftest.*
   8848       fi ;;
   8849 esac
   8850 fi
   8851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8852 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8853 
   8854     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8855 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8856 if test ${lt_cv_ld_exported_symbols_list+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else case e in #(
   8860   e) lt_cv_ld_exported_symbols_list=no
   8861       save_LDFLAGS=$LDFLAGS
   8862       echo "_main" > conftest.sym
   8863       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8865 /* end confdefs.h.  */
   8866 
   8867 int
   8868 main (void)
   8869 {
   8870 
   8871   ;
   8872   return 0;
   8873 }
   8874 _ACEOF
   8875 if ac_fn_c_try_link "$LINENO"
   8876 then :
   8877   lt_cv_ld_exported_symbols_list=yes
   8878 else case e in #(
   8879   e) lt_cv_ld_exported_symbols_list=no ;;
   8880 esac
   8881 fi
   8882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8883     conftest$ac_exeext conftest.$ac_ext
   8884 	LDFLAGS=$save_LDFLAGS
   8885      ;;
   8886 esac
   8887 fi
   8888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8889 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8890 
   8891     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8892 printf %s "checking for -force_load linker flag... " >&6; }
   8893 if test ${lt_cv_ld_force_load+y}
   8894 then :
   8895   printf %s "(cached) " >&6
   8896 else case e in #(
   8897   e) lt_cv_ld_force_load=no
   8898       cat > conftest.c << _LT_EOF
   8899 int forced_loaded() { return 2;}
   8900 _LT_EOF
   8901       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8902       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8903       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8904       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8905       echo "$RANLIB libconftest.a" >&5
   8906       $RANLIB libconftest.a 2>&5
   8907       cat > conftest.c << _LT_EOF
   8908 int main() { return 0;}
   8909 _LT_EOF
   8910       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8911       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8912       _lt_result=$?
   8913       if test -s conftest.err && $GREP force_load conftest.err; then
   8914 	cat conftest.err >&5
   8915       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8916 	lt_cv_ld_force_load=yes
   8917       else
   8918 	cat conftest.err >&5
   8919       fi
   8920         rm -f conftest.err libconftest.a conftest conftest.c
   8921         rm -rf conftest.dSYM
   8922      ;;
   8923 esac
   8924 fi
   8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8926 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8927     case $host_os in
   8928     rhapsody* | darwin1.[012])
   8929       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8930     darwin1.*)
   8931       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8932     darwin*)
   8933       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8934         10.[012],*|,*powerpc*-darwin[5-8]*)
   8935           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8936         *)
   8937           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8938       esac
   8939     ;;
   8940   esac
   8941     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8942       _lt_dar_single_mod='$single_module'
   8943     fi
   8944     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8945       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8946     else
   8947       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8948     fi
   8949     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8950       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8951     else
   8952       _lt_dsymutil=
   8953     fi
   8954     ;;
   8955   esac
   8956 
   8957 # func_munge_path_list VARIABLE PATH
   8958 # -----------------------------------
   8959 # VARIABLE is name of variable containing _space_ separated list of
   8960 # directories to be munged by the contents of PATH, which is string
   8961 # having a format:
   8962 # "DIR[:DIR]:"
   8963 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8964 # ":DIR[:DIR]"
   8965 #       string "DIR[ DIR]" will be appended to VARIABLE
   8966 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8967 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8968 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8969 # "DIR[:DIR]"
   8970 #       VARIABLE will be replaced by "DIR[ DIR]"
   8971 func_munge_path_list ()
   8972 {
   8973     case x$2 in
   8974     x)
   8975         ;;
   8976     *:)
   8977         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8978         ;;
   8979     x:*)
   8980         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8981         ;;
   8982     *::*)
   8983         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8984         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8985         ;;
   8986     *)
   8987         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8988         ;;
   8989     esac
   8990 }
   8991 
   8992 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8993 "
   8994 if test "x$ac_cv_header_dlfcn_h" = xyes
   8995 then :
   8996   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8997 
   8998 fi
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 # Set options
   9005 
   9006 
   9007 
   9008         enable_dlopen=no
   9009 
   9010 
   9011   enable_win32_dll=no
   9012 
   9013 
   9014             # Check whether --enable-shared was given.
   9015 if test ${enable_shared+y}
   9016 then :
   9017   enableval=$enable_shared; p=${PACKAGE-default}
   9018     case $enableval in
   9019     yes) enable_shared=yes ;;
   9020     no) enable_shared=no ;;
   9021     *)
   9022       enable_shared=no
   9023       # Look at the argument we got.  We use all the common list separators.
   9024       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9025       for pkg in $enableval; do
   9026 	IFS=$lt_save_ifs
   9027 	if test "X$pkg" = "X$p"; then
   9028 	  enable_shared=yes
   9029 	fi
   9030       done
   9031       IFS=$lt_save_ifs
   9032       ;;
   9033     esac
   9034 else case e in #(
   9035   e) enable_shared=yes ;;
   9036 esac
   9037 fi
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047   # Check whether --enable-static was given.
   9048 if test ${enable_static+y}
   9049 then :
   9050   enableval=$enable_static; p=${PACKAGE-default}
   9051     case $enableval in
   9052     yes) enable_static=yes ;;
   9053     no) enable_static=no ;;
   9054     *)
   9055      enable_static=no
   9056       # Look at the argument we got.  We use all the common list separators.
   9057       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9058       for pkg in $enableval; do
   9059 	IFS=$lt_save_ifs
   9060 	if test "X$pkg" = "X$p"; then
   9061 	  enable_static=yes
   9062 	fi
   9063       done
   9064       IFS=$lt_save_ifs
   9065       ;;
   9066     esac
   9067 else case e in #(
   9068   e) enable_static=yes ;;
   9069 esac
   9070 fi
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 # Check whether --with-pic was given.
   9082 if test ${with_pic+y}
   9083 then :
   9084   withval=$with_pic; lt_p=${PACKAGE-default}
   9085     case $withval in
   9086     yes|no) pic_mode=$withval ;;
   9087     *)
   9088       pic_mode=default
   9089       # Look at the argument we got.  We use all the common list separators.
   9090       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9091       for lt_pkg in $withval; do
   9092 	IFS=$lt_save_ifs
   9093 	if test "X$lt_pkg" = "X$lt_p"; then
   9094 	  pic_mode=yes
   9095 	fi
   9096       done
   9097       IFS=$lt_save_ifs
   9098       ;;
   9099     esac
   9100 else case e in #(
   9101   e) pic_mode=default ;;
   9102 esac
   9103 fi
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112   # Check whether --enable-fast-install was given.
   9113 if test ${enable_fast_install+y}
   9114 then :
   9115   enableval=$enable_fast_install; p=${PACKAGE-default}
   9116     case $enableval in
   9117     yes) enable_fast_install=yes ;;
   9118     no) enable_fast_install=no ;;
   9119     *)
   9120       enable_fast_install=no
   9121       # Look at the argument we got.  We use all the common list separators.
   9122       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9123       for pkg in $enableval; do
   9124 	IFS=$lt_save_ifs
   9125 	if test "X$pkg" = "X$p"; then
   9126 	  enable_fast_install=yes
   9127 	fi
   9128       done
   9129       IFS=$lt_save_ifs
   9130       ;;
   9131     esac
   9132 else case e in #(
   9133   e) enable_fast_install=yes ;;
   9134 esac
   9135 fi
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144   shared_archive_member_spec=
   9145 case $host,$enable_shared in
   9146 power*-*-aix[5-9]*,yes)
   9147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9148 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9149 
   9150 # Check whether --with-aix-soname was given.
   9151 if test ${with_aix_soname+y}
   9152 then :
   9153   withval=$with_aix_soname; case $withval in
   9154     aix|svr4|both)
   9155       ;;
   9156     *)
   9157       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9158       ;;
   9159     esac
   9160     lt_cv_with_aix_soname=$with_aix_soname
   9161 else case e in #(
   9162   e) if test ${lt_cv_with_aix_soname+y}
   9163 then :
   9164   printf %s "(cached) " >&6
   9165 else case e in #(
   9166   e) lt_cv_with_aix_soname=aix ;;
   9167 esac
   9168 fi
   9169 
   9170     with_aix_soname=$lt_cv_with_aix_soname ;;
   9171 esac
   9172 fi
   9173 
   9174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9175 printf "%s\n" "$with_aix_soname" >&6; }
   9176   if test aix != "$with_aix_soname"; then
   9177     # For the AIX way of multilib, we name the shared archive member
   9178     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9179     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9180     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9181     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9182     if test 64 = "${OBJECT_MODE-32}"; then
   9183       shared_archive_member_spec=shr_64
   9184     else
   9185       shared_archive_member_spec=shr
   9186     fi
   9187   fi
   9188   ;;
   9189 *)
   9190   with_aix_soname=aix
   9191   ;;
   9192 esac
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 # This can be used to rebuild libtool when needed
   9204 LIBTOOL_DEPS=$ltmain
   9205 
   9206 # Always use our own libtool.
   9207 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 test -z "$LN_S" && LN_S="ln -s"
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 if test -n "${ZSH_VERSION+set}"; then
   9254    setopt NO_GLOB_SUBST
   9255 fi
   9256 
   9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9258 printf %s "checking for objdir... " >&6; }
   9259 if test ${lt_cv_objdir+y}
   9260 then :
   9261   printf %s "(cached) " >&6
   9262 else case e in #(
   9263   e) rm -f .libs 2>/dev/null
   9264 mkdir .libs 2>/dev/null
   9265 if test -d .libs; then
   9266   lt_cv_objdir=.libs
   9267 else
   9268   # MS-DOS does not allow filenames that begin with a dot.
   9269   lt_cv_objdir=_libs
   9270 fi
   9271 rmdir .libs 2>/dev/null ;;
   9272 esac
   9273 fi
   9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9275 printf "%s\n" "$lt_cv_objdir" >&6; }
   9276 objdir=$lt_cv_objdir
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9283 
   9284 
   9285 
   9286 
   9287 case $host_os in
   9288 aix3*)
   9289   # AIX sometimes has problems with the GCC collect2 program.  For some
   9290   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9291   # vanish in a puff of smoke.
   9292   if test set != "${COLLECT_NAMES+set}"; then
   9293     COLLECT_NAMES=
   9294     export COLLECT_NAMES
   9295   fi
   9296   ;;
   9297 esac
   9298 
   9299 # Global variables:
   9300 ofile=libtool
   9301 can_build_shared=yes
   9302 
   9303 # All known linkers require a '.a' archive for static linking (except MSVC and
   9304 # ICC, which need '.lib').
   9305 libext=a
   9306 
   9307 with_gnu_ld=$lt_cv_prog_gnu_ld
   9308 
   9309 old_CC=$CC
   9310 old_CFLAGS=$CFLAGS
   9311 
   9312 # Set sane defaults for various variables
   9313 test -z "$CC" && CC=cc
   9314 test -z "$LTCC" && LTCC=$CC
   9315 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9316 test -z "$LD" && LD=ld
   9317 test -z "$ac_objext" && ac_objext=o
   9318 
   9319 func_cc_basename $compiler
   9320 cc_basename=$func_cc_basename_result
   9321 
   9322 
   9323 # Only perform the check for file, if the check method requires it
   9324 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9325 case $deplibs_check_method in
   9326 file_magic*)
   9327   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9328     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9329 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9330 if test ${lt_cv_path_MAGIC_CMD+y}
   9331 then :
   9332   printf %s "(cached) " >&6
   9333 else case e in #(
   9334   e) case $MAGIC_CMD in
   9335 [\\/*] |  ?:[\\/]*)
   9336   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9337   ;;
   9338 *)
   9339   lt_save_MAGIC_CMD=$MAGIC_CMD
   9340   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9341   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9342   for ac_dir in $ac_dummy; do
   9343     IFS=$lt_save_ifs
   9344     test -z "$ac_dir" && ac_dir=.
   9345     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9346       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9347       if test -n "$file_magic_test_file"; then
   9348 	case $deplibs_check_method in
   9349 	"file_magic "*)
   9350 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9351 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9352 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9353 	    $EGREP "$file_magic_regex" > /dev/null; then
   9354 	    :
   9355 	  else
   9356 	    cat <<_LT_EOF 1>&2
   9357 
   9358 *** Warning: the command libtool uses to detect shared libraries,
   9359 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9360 *** The result is that libtool may fail to recognize shared libraries
   9361 *** as such.  This will affect the creation of libtool libraries that
   9362 *** depend on shared libraries, but programs linked with such libtool
   9363 *** libraries will work regardless of this problem.  Nevertheless, you
   9364 *** may want to report the problem to your system manager and/or to
   9365 *** bug-libtool@gnu.org
   9366 
   9367 _LT_EOF
   9368 	  fi ;;
   9369 	esac
   9370       fi
   9371       break
   9372     fi
   9373   done
   9374   IFS=$lt_save_ifs
   9375   MAGIC_CMD=$lt_save_MAGIC_CMD
   9376   ;;
   9377 esac ;;
   9378 esac
   9379 fi
   9380 
   9381 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9382 if test -n "$MAGIC_CMD"; then
   9383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9384 printf "%s\n" "$MAGIC_CMD" >&6; }
   9385 else
   9386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9387 printf "%s\n" "no" >&6; }
   9388 fi
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9395   if test -n "$ac_tool_prefix"; then
   9396     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9397 printf %s "checking for file... " >&6; }
   9398 if test ${lt_cv_path_MAGIC_CMD+y}
   9399 then :
   9400   printf %s "(cached) " >&6
   9401 else case e in #(
   9402   e) case $MAGIC_CMD in
   9403 [\\/*] |  ?:[\\/]*)
   9404   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9405   ;;
   9406 *)
   9407   lt_save_MAGIC_CMD=$MAGIC_CMD
   9408   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9409   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9410   for ac_dir in $ac_dummy; do
   9411     IFS=$lt_save_ifs
   9412     test -z "$ac_dir" && ac_dir=.
   9413     if test -f "$ac_dir/file"; then
   9414       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9415       if test -n "$file_magic_test_file"; then
   9416 	case $deplibs_check_method in
   9417 	"file_magic "*)
   9418 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9419 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9420 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9421 	    $EGREP "$file_magic_regex" > /dev/null; then
   9422 	    :
   9423 	  else
   9424 	    cat <<_LT_EOF 1>&2
   9425 
   9426 *** Warning: the command libtool uses to detect shared libraries,
   9427 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9428 *** The result is that libtool may fail to recognize shared libraries
   9429 *** as such.  This will affect the creation of libtool libraries that
   9430 *** depend on shared libraries, but programs linked with such libtool
   9431 *** libraries will work regardless of this problem.  Nevertheless, you
   9432 *** may want to report the problem to your system manager and/or to
   9433 *** bug-libtool@gnu.org
   9434 
   9435 _LT_EOF
   9436 	  fi ;;
   9437 	esac
   9438       fi
   9439       break
   9440     fi
   9441   done
   9442   IFS=$lt_save_ifs
   9443   MAGIC_CMD=$lt_save_MAGIC_CMD
   9444   ;;
   9445 esac ;;
   9446 esac
   9447 fi
   9448 
   9449 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9450 if test -n "$MAGIC_CMD"; then
   9451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9452 printf "%s\n" "$MAGIC_CMD" >&6; }
   9453 else
   9454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9455 printf "%s\n" "no" >&6; }
   9456 fi
   9457 
   9458 
   9459   else
   9460     MAGIC_CMD=:
   9461   fi
   9462 fi
   9463 
   9464   fi
   9465   ;;
   9466 esac
   9467 
   9468 # Use C for the default configuration in the libtool script
   9469 
   9470 lt_save_CC=$CC
   9471 ac_ext=c
   9472 ac_cpp='$CPP $CPPFLAGS'
   9473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9476 
   9477 
   9478 # Source file extension for C test sources.
   9479 ac_ext=c
   9480 
   9481 # Object file extension for compiled C test sources.
   9482 objext=o
   9483 objext=$objext
   9484 
   9485 # Code to be used in simple compile tests
   9486 lt_simple_compile_test_code="int some_variable = 0;"
   9487 
   9488 # Code to be used in simple link tests
   9489 lt_simple_link_test_code='int main(){return(0);}'
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 # If no C compiler was specified, use CC.
   9498 LTCC=${LTCC-"$CC"}
   9499 
   9500 # If no C compiler flags were specified, use CFLAGS.
   9501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9502 
   9503 # Allow CC to be a program name with arguments.
   9504 compiler=$CC
   9505 
   9506 # Save the default compiler, since it gets overwritten when the other
   9507 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9508 compiler_DEFAULT=$CC
   9509 
   9510 # save warnings/boilerplate of simple test code
   9511 ac_outfile=conftest.$ac_objext
   9512 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9513 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9514 _lt_compiler_boilerplate=`cat conftest.err`
   9515 $RM conftest*
   9516 
   9517 ac_outfile=conftest.$ac_objext
   9518 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9519 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9520 _lt_linker_boilerplate=`cat conftest.err`
   9521 $RM -r conftest*
   9522 
   9523 
   9524 ## CAVEAT EMPTOR:
   9525 ## There is no encapsulation within the following macros, do not change
   9526 ## the running order or otherwise move them around unless you know exactly
   9527 ## what you are doing...
   9528 if test -n "$compiler"; then
   9529 
   9530 lt_prog_compiler_no_builtin_flag=
   9531 
   9532 if test yes = "$GCC"; then
   9533   case $cc_basename in
   9534   nvcc*)
   9535     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9536   *)
   9537     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9538   esac
   9539 
   9540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9541 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9542 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9543 then :
   9544   printf %s "(cached) " >&6
   9545 else case e in #(
   9546   e) lt_cv_prog_compiler_rtti_exceptions=no
   9547    ac_outfile=conftest.$ac_objext
   9548    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9549    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9550    # Insert the option either (1) after the last *FLAGS variable, or
   9551    # (2) before a word containing "conftest.", or (3) at the end.
   9552    # Note that $ac_compile itself does not contain backslashes and begins
   9553    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9554    # The option is referenced via a variable to avoid confusing sed.
   9555    lt_compile=`echo "$ac_compile" | $SED \
   9556    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9557    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9558    -e 's:$: $lt_compiler_flag:'`
   9559    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9560    (eval "$lt_compile" 2>conftest.err)
   9561    ac_status=$?
   9562    cat conftest.err >&5
   9563    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9564    if (exit $ac_status) && test -s "$ac_outfile"; then
   9565      # The compiler can only warn and ignore the option if not recognized
   9566      # So say no if there are warnings other than the usual output.
   9567      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9568      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9569      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9570        lt_cv_prog_compiler_rtti_exceptions=yes
   9571      fi
   9572    fi
   9573    $RM conftest*
   9574  ;;
   9575 esac
   9576 fi
   9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9578 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9579 
   9580 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9581     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9582 else
   9583     :
   9584 fi
   9585 
   9586 fi
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593   lt_prog_compiler_wl=
   9594 lt_prog_compiler_pic=
   9595 lt_prog_compiler_static=
   9596 
   9597 
   9598   if test yes = "$GCC"; then
   9599     lt_prog_compiler_wl='-Wl,'
   9600     lt_prog_compiler_static='-static'
   9601 
   9602     case $host_os in
   9603       aix*)
   9604       # All AIX code is PIC.
   9605       if test ia64 = "$host_cpu"; then
   9606 	# AIX 5 now supports IA64 processor
   9607 	lt_prog_compiler_static='-Bstatic'
   9608       fi
   9609       lt_prog_compiler_pic='-fPIC'
   9610       ;;
   9611 
   9612     amigaos*)
   9613       case $host_cpu in
   9614       powerpc)
   9615             # see comment about AmigaOS4 .so support
   9616             lt_prog_compiler_pic='-fPIC'
   9617         ;;
   9618       m68k)
   9619             # FIXME: we need at least 68020 code to build shared libraries, but
   9620             # adding the '-m68020' flag to GCC prevents building anything better,
   9621             # like '-m68040'.
   9622             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9623         ;;
   9624       esac
   9625       ;;
   9626 
   9627     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9628       # PIC is the default for these OSes.
   9629       ;;
   9630 
   9631     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9632       # This hack is so that the source file can tell whether it is being
   9633       # built for inclusion in a dll (and should export symbols for example).
   9634       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9635       # (--disable-auto-import) libraries
   9636       lt_prog_compiler_pic='-DDLL_EXPORT'
   9637       case $host_os in
   9638       os2*)
   9639 	lt_prog_compiler_static='$wl-static'
   9640 	;;
   9641       esac
   9642       ;;
   9643 
   9644     darwin* | rhapsody*)
   9645       # PIC is the default on this platform
   9646       # Common symbols not allowed in MH_DYLIB files
   9647       lt_prog_compiler_pic='-fno-common'
   9648       ;;
   9649 
   9650     haiku*)
   9651       # PIC is the default for Haiku.
   9652       # The "-static" flag exists, but is broken.
   9653       lt_prog_compiler_static=
   9654       ;;
   9655 
   9656     hpux*)
   9657       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9658       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9659       # sets the default TLS model and affects inlining.
   9660       case $host_cpu in
   9661       hppa*64*)
   9662 	# +Z the default
   9663 	;;
   9664       *)
   9665 	lt_prog_compiler_pic='-fPIC'
   9666 	;;
   9667       esac
   9668       ;;
   9669 
   9670     interix[3-9]*)
   9671       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9672       # Instead, we relocate shared libraries at runtime.
   9673       ;;
   9674 
   9675     msdosdjgpp*)
   9676       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9677       # on systems that don't support them.
   9678       lt_prog_compiler_can_build_shared=no
   9679       enable_shared=no
   9680       ;;
   9681 
   9682     *nto* | *qnx*)
   9683       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9684       # it will coredump.
   9685       lt_prog_compiler_pic='-fPIC -shared'
   9686       ;;
   9687 
   9688     sysv4*MP*)
   9689       if test -d /usr/nec; then
   9690 	lt_prog_compiler_pic=-Kconform_pic
   9691       fi
   9692       ;;
   9693 
   9694     *)
   9695       lt_prog_compiler_pic='-fPIC'
   9696       ;;
   9697     esac
   9698 
   9699     case $cc_basename in
   9700     nvcc*) # Cuda Compiler Driver 2.2
   9701       lt_prog_compiler_wl='-Xlinker '
   9702       if test -n "$lt_prog_compiler_pic"; then
   9703         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9704       fi
   9705       ;;
   9706     esac
   9707   else
   9708     # PORTME Check for flag to pass linker flags through the system compiler.
   9709     case $host_os in
   9710     aix*)
   9711       lt_prog_compiler_wl='-Wl,'
   9712       if test ia64 = "$host_cpu"; then
   9713 	# AIX 5 now supports IA64 processor
   9714 	lt_prog_compiler_static='-Bstatic'
   9715       else
   9716 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9717       fi
   9718       ;;
   9719 
   9720     darwin* | rhapsody*)
   9721       # PIC is the default on this platform
   9722       # Common symbols not allowed in MH_DYLIB files
   9723       lt_prog_compiler_pic='-fno-common'
   9724       case $cc_basename in
   9725       nagfor*)
   9726         # NAG Fortran compiler
   9727         lt_prog_compiler_wl='-Wl,-Wl,,'
   9728         lt_prog_compiler_pic='-PIC'
   9729         lt_prog_compiler_static='-Bstatic'
   9730         ;;
   9731       esac
   9732       ;;
   9733 
   9734     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9735       # This hack is so that the source file can tell whether it is being
   9736       # built for inclusion in a dll (and should export symbols for example).
   9737       lt_prog_compiler_pic='-DDLL_EXPORT'
   9738       case $host_os in
   9739       os2*)
   9740 	lt_prog_compiler_static='$wl-static'
   9741 	;;
   9742       esac
   9743       ;;
   9744 
   9745     hpux9* | hpux10* | hpux11*)
   9746       lt_prog_compiler_wl='-Wl,'
   9747       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9748       # not for PA HP-UX.
   9749       case $host_cpu in
   9750       hppa*64*|ia64*)
   9751 	# +Z the default
   9752 	;;
   9753       *)
   9754 	lt_prog_compiler_pic='+Z'
   9755 	;;
   9756       esac
   9757       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9758       lt_prog_compiler_static='$wl-a ${wl}archive'
   9759       ;;
   9760 
   9761     irix5* | irix6* | nonstopux*)
   9762       lt_prog_compiler_wl='-Wl,'
   9763       # PIC (with -KPIC) is the default.
   9764       lt_prog_compiler_static='-non_shared'
   9765       ;;
   9766 
   9767     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9768       case $cc_basename in
   9769       # old Intel for x86_64, which still supported -KPIC.
   9770       ecc*)
   9771 	lt_prog_compiler_wl='-Wl,'
   9772 	lt_prog_compiler_pic='-KPIC'
   9773 	lt_prog_compiler_static='-static'
   9774         ;;
   9775       # icc used to be incompatible with GCC.
   9776       # ICC 10 doesn't accept -KPIC any more.
   9777       icc* | ifort*)
   9778 	lt_prog_compiler_wl='-Wl,'
   9779 	lt_prog_compiler_pic='-fPIC'
   9780 	lt_prog_compiler_static='-static'
   9781         ;;
   9782       # Lahey Fortran 8.1.
   9783       lf95*)
   9784 	lt_prog_compiler_wl='-Wl,'
   9785 	lt_prog_compiler_pic='--shared'
   9786 	lt_prog_compiler_static='--static'
   9787 	;;
   9788       nagfor*)
   9789 	# NAG Fortran compiler
   9790 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9791 	lt_prog_compiler_pic='-PIC'
   9792 	lt_prog_compiler_static='-Bstatic'
   9793 	;;
   9794       tcc*)
   9795 	# Fabrice Bellard et al's Tiny C Compiler
   9796 	lt_prog_compiler_wl='-Wl,'
   9797 	lt_prog_compiler_pic='-fPIC'
   9798 	lt_prog_compiler_static='-static'
   9799 	;;
   9800       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9801         # Portland Group compilers (*not* the Pentium gcc compiler,
   9802 	# which looks to be a dead project)
   9803 	lt_prog_compiler_wl='-Wl,'
   9804 	lt_prog_compiler_pic='-fpic'
   9805 	lt_prog_compiler_static='-Bstatic'
   9806         ;;
   9807       ccc*)
   9808         lt_prog_compiler_wl='-Wl,'
   9809         # All Alpha code is PIC.
   9810         lt_prog_compiler_static='-non_shared'
   9811         ;;
   9812       xl* | bgxl* | bgf* | mpixl*)
   9813 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9814 	lt_prog_compiler_wl='-Wl,'
   9815 	lt_prog_compiler_pic='-qpic'
   9816 	lt_prog_compiler_static='-qstaticlink'
   9817 	;;
   9818       *)
   9819 	case `$CC -V 2>&1 | $SED 5q` in
   9820 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9821 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9822 	  lt_prog_compiler_pic='-KPIC'
   9823 	  lt_prog_compiler_static='-Bstatic'
   9824 	  lt_prog_compiler_wl=''
   9825 	  ;;
   9826 	*Sun\ F* | *Sun*Fortran*)
   9827 	  lt_prog_compiler_pic='-KPIC'
   9828 	  lt_prog_compiler_static='-Bstatic'
   9829 	  lt_prog_compiler_wl='-Qoption ld '
   9830 	  ;;
   9831 	*Sun\ C*)
   9832 	  # Sun C 5.9
   9833 	  lt_prog_compiler_pic='-KPIC'
   9834 	  lt_prog_compiler_static='-Bstatic'
   9835 	  lt_prog_compiler_wl='-Wl,'
   9836 	  ;;
   9837         *Intel*\ [CF]*Compiler*)
   9838 	  lt_prog_compiler_wl='-Wl,'
   9839 	  lt_prog_compiler_pic='-fPIC'
   9840 	  lt_prog_compiler_static='-static'
   9841 	  ;;
   9842 	*Portland\ Group*)
   9843 	  lt_prog_compiler_wl='-Wl,'
   9844 	  lt_prog_compiler_pic='-fpic'
   9845 	  lt_prog_compiler_static='-Bstatic'
   9846 	  ;;
   9847 	esac
   9848 	;;
   9849       esac
   9850       ;;
   9851 
   9852     newsos6)
   9853       lt_prog_compiler_pic='-KPIC'
   9854       lt_prog_compiler_static='-Bstatic'
   9855       ;;
   9856 
   9857     *nto* | *qnx*)
   9858       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9859       # it will coredump.
   9860       lt_prog_compiler_pic='-fPIC -shared'
   9861       ;;
   9862 
   9863     osf3* | osf4* | osf5*)
   9864       lt_prog_compiler_wl='-Wl,'
   9865       # All OSF/1 code is PIC.
   9866       lt_prog_compiler_static='-non_shared'
   9867       ;;
   9868 
   9869     rdos*)
   9870       lt_prog_compiler_static='-non_shared'
   9871       ;;
   9872 
   9873     solaris*)
   9874       lt_prog_compiler_pic='-KPIC'
   9875       lt_prog_compiler_static='-Bstatic'
   9876       case $cc_basename in
   9877       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9878 	lt_prog_compiler_wl='-Qoption ld ';;
   9879       *)
   9880 	lt_prog_compiler_wl='-Wl,';;
   9881       esac
   9882       ;;
   9883 
   9884     sunos4*)
   9885       lt_prog_compiler_wl='-Qoption ld '
   9886       lt_prog_compiler_pic='-PIC'
   9887       lt_prog_compiler_static='-Bstatic'
   9888       ;;
   9889 
   9890     sysv4 | sysv4.2uw2* | sysv4.3*)
   9891       lt_prog_compiler_wl='-Wl,'
   9892       lt_prog_compiler_pic='-KPIC'
   9893       lt_prog_compiler_static='-Bstatic'
   9894       ;;
   9895 
   9896     sysv4*MP*)
   9897       if test -d /usr/nec; then
   9898 	lt_prog_compiler_pic='-Kconform_pic'
   9899 	lt_prog_compiler_static='-Bstatic'
   9900       fi
   9901       ;;
   9902 
   9903     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9904       lt_prog_compiler_wl='-Wl,'
   9905       lt_prog_compiler_pic='-KPIC'
   9906       lt_prog_compiler_static='-Bstatic'
   9907       ;;
   9908 
   9909     unicos*)
   9910       lt_prog_compiler_wl='-Wl,'
   9911       lt_prog_compiler_can_build_shared=no
   9912       ;;
   9913 
   9914     uts4*)
   9915       lt_prog_compiler_pic='-pic'
   9916       lt_prog_compiler_static='-Bstatic'
   9917       ;;
   9918 
   9919     *)
   9920       lt_prog_compiler_can_build_shared=no
   9921       ;;
   9922     esac
   9923   fi
   9924 
   9925 case $host_os in
   9926   # For platforms that do not support PIC, -DPIC is meaningless:
   9927   *djgpp*)
   9928     lt_prog_compiler_pic=
   9929     ;;
   9930   *)
   9931     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9932     ;;
   9933 esac
   9934 
   9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9936 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9937 if test ${lt_cv_prog_compiler_pic+y}
   9938 then :
   9939   printf %s "(cached) " >&6
   9940 else case e in #(
   9941   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9942 esac
   9943 fi
   9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9945 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9946 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9947 
   9948 #
   9949 # Check to make sure the PIC flag actually works.
   9950 #
   9951 if test -n "$lt_prog_compiler_pic"; then
   9952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9953 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9954 if test ${lt_cv_prog_compiler_pic_works+y}
   9955 then :
   9956   printf %s "(cached) " >&6
   9957 else case e in #(
   9958   e) lt_cv_prog_compiler_pic_works=no
   9959    ac_outfile=conftest.$ac_objext
   9960    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9961    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9962    # Insert the option either (1) after the last *FLAGS variable, or
   9963    # (2) before a word containing "conftest.", or (3) at the end.
   9964    # Note that $ac_compile itself does not contain backslashes and begins
   9965    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9966    # The option is referenced via a variable to avoid confusing sed.
   9967    lt_compile=`echo "$ac_compile" | $SED \
   9968    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9969    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9970    -e 's:$: $lt_compiler_flag:'`
   9971    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9972    (eval "$lt_compile" 2>conftest.err)
   9973    ac_status=$?
   9974    cat conftest.err >&5
   9975    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9976    if (exit $ac_status) && test -s "$ac_outfile"; then
   9977      # The compiler can only warn and ignore the option if not recognized
   9978      # So say no if there are warnings other than the usual output.
   9979      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9980      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9981      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9982        lt_cv_prog_compiler_pic_works=yes
   9983      fi
   9984    fi
   9985    $RM conftest*
   9986  ;;
   9987 esac
   9988 fi
   9989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9990 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9991 
   9992 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9993     case $lt_prog_compiler_pic in
   9994      "" | " "*) ;;
   9995      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9996      esac
   9997 else
   9998     lt_prog_compiler_pic=
   9999      lt_prog_compiler_can_build_shared=no
   10000 fi
   10001 
   10002 fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 #
   10015 # Check to make sure the static flag actually works.
   10016 #
   10017 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10019 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10020 if test ${lt_cv_prog_compiler_static_works+y}
   10021 then :
   10022   printf %s "(cached) " >&6
   10023 else case e in #(
   10024   e) lt_cv_prog_compiler_static_works=no
   10025    save_LDFLAGS=$LDFLAGS
   10026    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10027    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10028    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10029      # The linker can only warn and ignore the option if not recognized
   10030      # So say no if there are warnings
   10031      if test -s conftest.err; then
   10032        # Append any errors to the config.log.
   10033        cat conftest.err 1>&5
   10034        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10035        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10036        if diff conftest.exp conftest.er2 >/dev/null; then
   10037          lt_cv_prog_compiler_static_works=yes
   10038        fi
   10039      else
   10040        lt_cv_prog_compiler_static_works=yes
   10041      fi
   10042    fi
   10043    $RM -r conftest*
   10044    LDFLAGS=$save_LDFLAGS
   10045  ;;
   10046 esac
   10047 fi
   10048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10049 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10050 
   10051 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10052     :
   10053 else
   10054     lt_prog_compiler_static=
   10055 fi
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10064 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10065 if test ${lt_cv_prog_compiler_c_o+y}
   10066 then :
   10067   printf %s "(cached) " >&6
   10068 else case e in #(
   10069   e) lt_cv_prog_compiler_c_o=no
   10070    $RM -r conftest 2>/dev/null
   10071    mkdir conftest
   10072    cd conftest
   10073    mkdir out
   10074    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10075 
   10076    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10077    # Insert the option either (1) after the last *FLAGS variable, or
   10078    # (2) before a word containing "conftest.", or (3) at the end.
   10079    # Note that $ac_compile itself does not contain backslashes and begins
   10080    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10081    lt_compile=`echo "$ac_compile" | $SED \
   10082    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10083    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10084    -e 's:$: $lt_compiler_flag:'`
   10085    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10086    (eval "$lt_compile" 2>out/conftest.err)
   10087    ac_status=$?
   10088    cat out/conftest.err >&5
   10089    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10090    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10091    then
   10092      # The compiler can only warn and ignore the option if not recognized
   10093      # So say no if there are warnings
   10094      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10095      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10096      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10097        lt_cv_prog_compiler_c_o=yes
   10098      fi
   10099    fi
   10100    chmod u+w . 2>&5
   10101    $RM conftest*
   10102    # SGI C++ compiler will create directory out/ii_files/ for
   10103    # template instantiation
   10104    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10105    $RM out/* && rmdir out
   10106    cd ..
   10107    $RM -r conftest
   10108    $RM conftest*
   10109  ;;
   10110 esac
   10111 fi
   10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10113 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10121 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10122 if test ${lt_cv_prog_compiler_c_o+y}
   10123 then :
   10124   printf %s "(cached) " >&6
   10125 else case e in #(
   10126   e) lt_cv_prog_compiler_c_o=no
   10127    $RM -r conftest 2>/dev/null
   10128    mkdir conftest
   10129    cd conftest
   10130    mkdir out
   10131    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10132 
   10133    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10134    # Insert the option either (1) after the last *FLAGS variable, or
   10135    # (2) before a word containing "conftest.", or (3) at the end.
   10136    # Note that $ac_compile itself does not contain backslashes and begins
   10137    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10138    lt_compile=`echo "$ac_compile" | $SED \
   10139    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10140    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10141    -e 's:$: $lt_compiler_flag:'`
   10142    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10143    (eval "$lt_compile" 2>out/conftest.err)
   10144    ac_status=$?
   10145    cat out/conftest.err >&5
   10146    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10147    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10148    then
   10149      # The compiler can only warn and ignore the option if not recognized
   10150      # So say no if there are warnings
   10151      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10152      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10153      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10154        lt_cv_prog_compiler_c_o=yes
   10155      fi
   10156    fi
   10157    chmod u+w . 2>&5
   10158    $RM conftest*
   10159    # SGI C++ compiler will create directory out/ii_files/ for
   10160    # template instantiation
   10161    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10162    $RM out/* && rmdir out
   10163    cd ..
   10164    $RM -r conftest
   10165    $RM conftest*
   10166  ;;
   10167 esac
   10168 fi
   10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10170 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10171 
   10172 
   10173 
   10174 
   10175 hard_links=nottested
   10176 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10177   # do not overwrite the value of need_locks provided by the user
   10178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10179 printf %s "checking if we can lock with hard links... " >&6; }
   10180   hard_links=yes
   10181   $RM conftest*
   10182   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10183   touch conftest.a
   10184   ln conftest.a conftest.b 2>&5 || hard_links=no
   10185   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10187 printf "%s\n" "$hard_links" >&6; }
   10188   if test no = "$hard_links"; then
   10189     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10190 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10191     need_locks=warn
   10192   fi
   10193 else
   10194   need_locks=no
   10195 fi
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10203 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10204 
   10205   runpath_var=
   10206   allow_undefined_flag=
   10207   always_export_symbols=no
   10208   archive_cmds=
   10209   archive_expsym_cmds=
   10210   compiler_needs_object=no
   10211   enable_shared_with_static_runtimes=no
   10212   export_dynamic_flag_spec=
   10213   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10214   hardcode_automatic=no
   10215   hardcode_direct=no
   10216   hardcode_direct_absolute=no
   10217   hardcode_libdir_flag_spec=
   10218   hardcode_libdir_separator=
   10219   hardcode_minus_L=no
   10220   hardcode_shlibpath_var=unsupported
   10221   inherit_rpath=no
   10222   link_all_deplibs=unknown
   10223   module_cmds=
   10224   module_expsym_cmds=
   10225   old_archive_from_new_cmds=
   10226   old_archive_from_expsyms_cmds=
   10227   thread_safe_flag_spec=
   10228   whole_archive_flag_spec=
   10229   # include_expsyms should be a list of space-separated symbols to be *always*
   10230   # included in the symbol list
   10231   include_expsyms=
   10232   # exclude_expsyms can be an extended regexp of symbols to exclude
   10233   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10234   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10235   # as well as any symbol that contains 'd'.
   10236   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10237   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10238   # platforms (ab)use it in PIC code, but their linkers get confused if
   10239   # the symbol is explicitly referenced.  Since portable code cannot
   10240   # rely on this symbol name, it's probably fine to never include it in
   10241   # preloaded symbol tables.
   10242   # Exclude shared library initialization/finalization symbols.
   10243   extract_expsyms_cmds=
   10244 
   10245   case $host_os in
   10246   cygwin* | mingw* | pw32* | cegcc*)
   10247     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10248     # When not using gcc, we currently assume that we are using
   10249     # Microsoft Visual C++ or Intel C++ Compiler.
   10250     if test yes != "$GCC"; then
   10251       with_gnu_ld=no
   10252     fi
   10253     ;;
   10254   interix*)
   10255     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10256     with_gnu_ld=yes
   10257     ;;
   10258   openbsd* | bitrig*)
   10259     with_gnu_ld=no
   10260     ;;
   10261   esac
   10262 
   10263   ld_shlibs=yes
   10264 
   10265   # On some targets, GNU ld is compatible enough with the native linker
   10266   # that we're better off using the native interface for both.
   10267   lt_use_gnu_ld_interface=no
   10268   if test yes = "$with_gnu_ld"; then
   10269     case $host_os in
   10270       aix*)
   10271 	# The AIX port of GNU ld has always aspired to compatibility
   10272 	# with the native linker.  However, as the warning in the GNU ld
   10273 	# block says, versions before 2.19.5* couldn't really create working
   10274 	# shared libraries, regardless of the interface used.
   10275 	case `$LD -v 2>&1` in
   10276 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10277 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10278 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10279 	  *)
   10280 	    lt_use_gnu_ld_interface=yes
   10281 	    ;;
   10282 	esac
   10283 	;;
   10284       *)
   10285 	lt_use_gnu_ld_interface=yes
   10286 	;;
   10287     esac
   10288   fi
   10289 
   10290   if test yes = "$lt_use_gnu_ld_interface"; then
   10291     # If archive_cmds runs LD, not CC, wlarc should be empty
   10292     wlarc='$wl'
   10293 
   10294     # Set some defaults for GNU ld with shared library support. These
   10295     # are reset later if shared libraries are not supported. Putting them
   10296     # here allows them to be overridden if necessary.
   10297     runpath_var=LD_RUN_PATH
   10298     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10299     export_dynamic_flag_spec='$wl--export-dynamic'
   10300     # ancient GNU ld didn't support --whole-archive et. al.
   10301     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10302       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10303     else
   10304       whole_archive_flag_spec=
   10305     fi
   10306     supports_anon_versioning=no
   10307     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10308       *GNU\ gold*) supports_anon_versioning=yes ;;
   10309       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10310       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10311       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10312       *\ 2.11.*) ;; # other 2.11 versions
   10313       *) supports_anon_versioning=yes ;;
   10314     esac
   10315 
   10316     # See if GNU ld supports shared libraries.
   10317     case $host_os in
   10318     aix[3-9]*)
   10319       # On AIX/PPC, the GNU linker is very broken
   10320       if test ia64 != "$host_cpu"; then
   10321 	ld_shlibs=no
   10322 	cat <<_LT_EOF 1>&2
   10323 
   10324 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10325 *** to be unable to reliably create shared libraries on AIX.
   10326 *** Therefore, libtool is disabling shared libraries support.  If you
   10327 *** really care for shared libraries, you may want to install binutils
   10328 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10329 *** You will then need to restart the configuration process.
   10330 
   10331 _LT_EOF
   10332       fi
   10333       ;;
   10334 
   10335     amigaos*)
   10336       case $host_cpu in
   10337       powerpc)
   10338             # see comment about AmigaOS4 .so support
   10339             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10340             archive_expsym_cmds=''
   10341         ;;
   10342       m68k)
   10343             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)'
   10344             hardcode_libdir_flag_spec='-L$libdir'
   10345             hardcode_minus_L=yes
   10346         ;;
   10347       esac
   10348       ;;
   10349 
   10350     beos*)
   10351       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10352 	allow_undefined_flag=unsupported
   10353 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10354 	# support --undefined.  This deserves some investigation.  FIXME
   10355 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10356       else
   10357 	ld_shlibs=no
   10358       fi
   10359       ;;
   10360 
   10361     cygwin* | mingw* | pw32* | cegcc*)
   10362       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10363       # as there is no search path for DLLs.
   10364       hardcode_libdir_flag_spec='-L$libdir'
   10365       export_dynamic_flag_spec='$wl--export-all-symbols'
   10366       allow_undefined_flag=unsupported
   10367       always_export_symbols=no
   10368       enable_shared_with_static_runtimes=yes
   10369       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'
   10370       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10371 
   10372       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10373         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10374 	# If the export-symbols file already is a .def file, use it as
   10375 	# is; otherwise, prepend EXPORTS...
   10376 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10377           cp $export_symbols $output_objdir/$soname.def;
   10378         else
   10379           echo EXPORTS > $output_objdir/$soname.def;
   10380           cat $export_symbols >> $output_objdir/$soname.def;
   10381         fi~
   10382         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10383       else
   10384 	ld_shlibs=no
   10385       fi
   10386       ;;
   10387 
   10388     haiku*)
   10389       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10390       link_all_deplibs=yes
   10391       ;;
   10392 
   10393     os2*)
   10394       hardcode_libdir_flag_spec='-L$libdir'
   10395       hardcode_minus_L=yes
   10396       allow_undefined_flag=unsupported
   10397       shrext_cmds=.dll
   10398       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10399 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10400 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10401 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10402 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10403 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10404 	emximp -o $lib $output_objdir/$libname.def'
   10405       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10406 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10407 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10408 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10409 	prefix_cmds="$SED"~
   10410 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10411 	  prefix_cmds="$prefix_cmds -e 1d";
   10412 	fi~
   10413 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10414 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10415 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10416 	emximp -o $lib $output_objdir/$libname.def'
   10417       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10418       enable_shared_with_static_runtimes=yes
   10419       file_list_spec='@'
   10420       ;;
   10421 
   10422     interix[3-9]*)
   10423       hardcode_direct=no
   10424       hardcode_shlibpath_var=no
   10425       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10426       export_dynamic_flag_spec='$wl-E'
   10427       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10428       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10429       # default) and relocated if they conflict, which is a slow very memory
   10430       # consuming and fragmenting process.  To avoid this, we pick a random,
   10431       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10432       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10433       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10434       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'
   10435       ;;
   10436 
   10437     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10438       tmp_diet=no
   10439       if test linux-dietlibc = "$host_os"; then
   10440 	case $cc_basename in
   10441 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10442 	esac
   10443       fi
   10444       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10445 	 && test no = "$tmp_diet"
   10446       then
   10447 	tmp_addflag=' $pic_flag'
   10448 	tmp_sharedflag='-shared'
   10449 	case $cc_basename,$host_cpu in
   10450         pgcc*)				# Portland Group C compiler
   10451 	  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'
   10452 	  tmp_addflag=' $pic_flag'
   10453 	  ;;
   10454 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10455 					# Portland Group f77 and f90 compilers
   10456 	  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'
   10457 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10458 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10459 	  tmp_addflag=' -i_dynamic' ;;
   10460 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10461 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10462 	ifc* | ifort*)			# Intel Fortran compiler
   10463 	  tmp_addflag=' -nofor_main' ;;
   10464 	lf95*)				# Lahey Fortran 8.1
   10465 	  whole_archive_flag_spec=
   10466 	  tmp_sharedflag='--shared' ;;
   10467         nagfor*)                        # NAGFOR 5.3
   10468           tmp_sharedflag='-Wl,-shared' ;;
   10469 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10470 	  tmp_sharedflag='-qmkshrobj'
   10471 	  tmp_addflag= ;;
   10472 	nvcc*)	# Cuda Compiler Driver 2.2
   10473 	  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'
   10474 	  compiler_needs_object=yes
   10475 	  ;;
   10476 	esac
   10477 	case `$CC -V 2>&1 | $SED 5q` in
   10478 	*Sun\ C*)			# Sun C 5.9
   10479 	  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'
   10480 	  compiler_needs_object=yes
   10481 	  tmp_sharedflag='-G' ;;
   10482 	*Sun\ F*)			# Sun Fortran 8.3
   10483 	  tmp_sharedflag='-G' ;;
   10484 	esac
   10485 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10486 
   10487         if test yes = "$supports_anon_versioning"; then
   10488           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10489             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10490             echo "local: *; };" >> $output_objdir/$libname.ver~
   10491             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10492         fi
   10493 
   10494 	case $cc_basename in
   10495 	tcc*)
   10496 	  export_dynamic_flag_spec='-rdynamic'
   10497 	  ;;
   10498 	xlf* | bgf* | bgxlf* | mpixlf*)
   10499 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10500 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10501 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10502 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10503 	  if test yes = "$supports_anon_versioning"; then
   10504 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10505               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10506               echo "local: *; };" >> $output_objdir/$libname.ver~
   10507               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10508 	  fi
   10509 	  ;;
   10510 	esac
   10511       else
   10512         ld_shlibs=no
   10513       fi
   10514       ;;
   10515 
   10516     netbsd*)
   10517       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10518 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10519 	wlarc=
   10520       else
   10521 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10522 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10523       fi
   10524       ;;
   10525 
   10526     solaris*)
   10527       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10528 	ld_shlibs=no
   10529 	cat <<_LT_EOF 1>&2
   10530 
   10531 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10532 *** create shared libraries on Solaris systems.  Therefore, libtool
   10533 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10534 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10535 *** your PATH or compiler configuration so that the native linker is
   10536 *** used, and then restart.
   10537 
   10538 _LT_EOF
   10539       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10540 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10541 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10542       else
   10543 	ld_shlibs=no
   10544       fi
   10545       ;;
   10546 
   10547     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10548       case `$LD -v 2>&1` in
   10549         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10550 	ld_shlibs=no
   10551 	cat <<_LT_EOF 1>&2
   10552 
   10553 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10554 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10555 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10556 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10557 *** your PATH or compiler configuration so that the native linker is
   10558 *** used, and then restart.
   10559 
   10560 _LT_EOF
   10561 	;;
   10562 	*)
   10563 	  # For security reasons, it is highly recommended that you always
   10564 	  # use absolute paths for naming shared libraries, and exclude the
   10565 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10566 	  # requires that you compile everything twice, which is a pain.
   10567 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10568 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10569 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10570 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10571 	  else
   10572 	    ld_shlibs=no
   10573 	  fi
   10574 	;;
   10575       esac
   10576       ;;
   10577 
   10578     sunos4*)
   10579       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10580       wlarc=
   10581       hardcode_direct=yes
   10582       hardcode_shlibpath_var=no
   10583       ;;
   10584 
   10585     *)
   10586       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10587 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10588 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10589       else
   10590 	ld_shlibs=no
   10591       fi
   10592       ;;
   10593     esac
   10594 
   10595     if test no = "$ld_shlibs"; then
   10596       runpath_var=
   10597       hardcode_libdir_flag_spec=
   10598       export_dynamic_flag_spec=
   10599       whole_archive_flag_spec=
   10600     fi
   10601   else
   10602     # PORTME fill in a description of your system's linker (not GNU ld)
   10603     case $host_os in
   10604     aix3*)
   10605       allow_undefined_flag=unsupported
   10606       always_export_symbols=yes
   10607       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'
   10608       # Note: this linker hardcodes the directories in LIBPATH if there
   10609       # are no directories specified by -L.
   10610       hardcode_minus_L=yes
   10611       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10612 	# Neither direct hardcoding nor static linking is supported with a
   10613 	# broken collect2.
   10614 	hardcode_direct=unsupported
   10615       fi
   10616       ;;
   10617 
   10618     aix[4-9]*)
   10619       if test ia64 = "$host_cpu"; then
   10620 	# On IA64, the linker does run time linking by default, so we don't
   10621 	# have to do anything special.
   10622 	aix_use_runtimelinking=no
   10623 	exp_sym_flag='-Bexport'
   10624 	no_entry_flag=
   10625       else
   10626 	# If we're using GNU nm, then we don't want the "-C" option.
   10627 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10628 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10629 	# weak defined symbols like other global defined symbols, whereas
   10630 	# GNU nm marks them as "W".
   10631 	# While the 'weak' keyword is ignored in the Export File, we need
   10632 	# it in the Import File for the 'aix-soname' feature, so we have
   10633 	# to replace the "-B" option with "-P" for AIX nm.
   10634 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10635 	  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'
   10636 	else
   10637 	  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'
   10638 	fi
   10639 	aix_use_runtimelinking=no
   10640 
   10641 	# Test if we are trying to use run time linking or normal
   10642 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10643 	# have runtime linking enabled, and use it for executables.
   10644 	# For shared libraries, we enable/disable runtime linking
   10645 	# depending on the kind of the shared library created -
   10646 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10647 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10648 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10649 	#            lib.a           static archive
   10650 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10651 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10652 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10653 	#            lib.a(lib.so.V) shared, rtl:no
   10654 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10655 	#            lib.a           static archive
   10656 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10657 	  for ld_flag in $LDFLAGS; do
   10658 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10659 	    aix_use_runtimelinking=yes
   10660 	    break
   10661 	  fi
   10662 	  done
   10663 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10664 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10665 	    # so we don't have lib.a shared libs to link our executables.
   10666 	    # We have to force runtime linking in this case.
   10667 	    aix_use_runtimelinking=yes
   10668 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10669 	  fi
   10670 	  ;;
   10671 	esac
   10672 
   10673 	exp_sym_flag='-bexport'
   10674 	no_entry_flag='-bnoentry'
   10675       fi
   10676 
   10677       # When large executables or shared objects are built, AIX ld can
   10678       # have problems creating the table of contents.  If linking a library
   10679       # or program results in "error TOC overflow" add -mminimal-toc to
   10680       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10681       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10682 
   10683       archive_cmds=''
   10684       hardcode_direct=yes
   10685       hardcode_direct_absolute=yes
   10686       hardcode_libdir_separator=':'
   10687       link_all_deplibs=yes
   10688       file_list_spec='$wl-f,'
   10689       case $with_aix_soname,$aix_use_runtimelinking in
   10690       aix,*) ;; # traditional, no import file
   10691       svr4,* | *,yes) # use import file
   10692 	# The Import File defines what to hardcode.
   10693 	hardcode_direct=no
   10694 	hardcode_direct_absolute=no
   10695 	;;
   10696       esac
   10697 
   10698       if test yes = "$GCC"; then
   10699 	case $host_os in aix4.[012]|aix4.[012].*)
   10700 	# We only want to do this on AIX 4.2 and lower, the check
   10701 	# below for broken collect2 doesn't work under 4.3+
   10702 	  collect2name=`$CC -print-prog-name=collect2`
   10703 	  if test -f "$collect2name" &&
   10704 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10705 	  then
   10706 	  # We have reworked collect2
   10707 	  :
   10708 	  else
   10709 	  # We have old collect2
   10710 	  hardcode_direct=unsupported
   10711 	  # It fails to find uninstalled libraries when the uninstalled
   10712 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10713 	  # to unsupported forces relinking
   10714 	  hardcode_minus_L=yes
   10715 	  hardcode_libdir_flag_spec='-L$libdir'
   10716 	  hardcode_libdir_separator=
   10717 	  fi
   10718 	  ;;
   10719 	esac
   10720 	shared_flag='-shared'
   10721 	if test yes = "$aix_use_runtimelinking"; then
   10722 	  shared_flag="$shared_flag "'$wl-G'
   10723 	fi
   10724 	# Need to ensure runtime linking is disabled for the traditional
   10725 	# shared library, or the linker may eventually find shared libraries
   10726 	# /with/ Import File - we do not want to mix them.
   10727 	shared_flag_aix='-shared'
   10728 	shared_flag_svr4='-shared $wl-G'
   10729       else
   10730 	# not using gcc
   10731 	if test ia64 = "$host_cpu"; then
   10732 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10733 	# chokes on -Wl,-G. The following line is correct:
   10734 	  shared_flag='-G'
   10735 	else
   10736 	  if test yes = "$aix_use_runtimelinking"; then
   10737 	    shared_flag='$wl-G'
   10738 	  else
   10739 	    shared_flag='$wl-bM:SRE'
   10740 	  fi
   10741 	  shared_flag_aix='$wl-bM:SRE'
   10742 	  shared_flag_svr4='$wl-G'
   10743 	fi
   10744       fi
   10745 
   10746       export_dynamic_flag_spec='$wl-bexpall'
   10747       # It seems that -bexpall does not export symbols beginning with
   10748       # underscore (_), so it is better to generate a list of symbols to export.
   10749       always_export_symbols=yes
   10750       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10751 	# Warning - without using the other runtime loading flags (-brtl),
   10752 	# -berok will link without error, but may produce a broken library.
   10753 	allow_undefined_flag='-berok'
   10754         # Determine the default libpath from the value encoded in an
   10755         # empty executable.
   10756         if test set = "${lt_cv_aix_libpath+set}"; then
   10757   aix_libpath=$lt_cv_aix_libpath
   10758 else
   10759   if test ${lt_cv_aix_libpath_+y}
   10760 then :
   10761   printf %s "(cached) " >&6
   10762 else case e in #(
   10763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10764 /* end confdefs.h.  */
   10765 
   10766 int
   10767 main (void)
   10768 {
   10769 
   10770   ;
   10771   return 0;
   10772 }
   10773 _ACEOF
   10774 if ac_fn_c_try_link "$LINENO"
   10775 then :
   10776 
   10777   lt_aix_libpath_sed='
   10778       /Import File Strings/,/^$/ {
   10779 	  /^0/ {
   10780 	      s/^0  *\([^ ]*\) *$/\1/
   10781 	      p
   10782 	  }
   10783       }'
   10784   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10785   # Check for a 64-bit object if we didn't find anything.
   10786   if test -z "$lt_cv_aix_libpath_"; then
   10787     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10788   fi
   10789 fi
   10790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10791     conftest$ac_exeext conftest.$ac_ext
   10792   if test -z "$lt_cv_aix_libpath_"; then
   10793     lt_cv_aix_libpath_=/usr/lib:/lib
   10794   fi
   10795    ;;
   10796 esac
   10797 fi
   10798 
   10799   aix_libpath=$lt_cv_aix_libpath_
   10800 fi
   10801 
   10802         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10803         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
   10804       else
   10805 	if test ia64 = "$host_cpu"; then
   10806 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10807 	  allow_undefined_flag="-z nodefs"
   10808 	  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"
   10809 	else
   10810 	 # Determine the default libpath from the value encoded in an
   10811 	 # empty executable.
   10812 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10813   aix_libpath=$lt_cv_aix_libpath
   10814 else
   10815   if test ${lt_cv_aix_libpath_+y}
   10816 then :
   10817   printf %s "(cached) " >&6
   10818 else case e in #(
   10819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10820 /* end confdefs.h.  */
   10821 
   10822 int
   10823 main (void)
   10824 {
   10825 
   10826   ;
   10827   return 0;
   10828 }
   10829 _ACEOF
   10830 if ac_fn_c_try_link "$LINENO"
   10831 then :
   10832 
   10833   lt_aix_libpath_sed='
   10834       /Import File Strings/,/^$/ {
   10835 	  /^0/ {
   10836 	      s/^0  *\([^ ]*\) *$/\1/
   10837 	      p
   10838 	  }
   10839       }'
   10840   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10841   # Check for a 64-bit object if we didn't find anything.
   10842   if test -z "$lt_cv_aix_libpath_"; then
   10843     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10844   fi
   10845 fi
   10846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10847     conftest$ac_exeext conftest.$ac_ext
   10848   if test -z "$lt_cv_aix_libpath_"; then
   10849     lt_cv_aix_libpath_=/usr/lib:/lib
   10850   fi
   10851    ;;
   10852 esac
   10853 fi
   10854 
   10855   aix_libpath=$lt_cv_aix_libpath_
   10856 fi
   10857 
   10858 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10859 	  # Warning - without using the other run time loading flags,
   10860 	  # -berok will link without error, but may produce a broken library.
   10861 	  no_undefined_flag=' $wl-bernotok'
   10862 	  allow_undefined_flag=' $wl-berok'
   10863 	  if test yes = "$with_gnu_ld"; then
   10864 	    # We only use this code for GNU lds that support --whole-archive.
   10865 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10866 	  else
   10867 	    # Exported symbols can be pulled into shared objects from archives
   10868 	    whole_archive_flag_spec='$convenience'
   10869 	  fi
   10870 	  archive_cmds_need_lc=yes
   10871 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10872 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10873 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10874 	  if test svr4 != "$with_aix_soname"; then
   10875 	    # This is similar to how AIX traditionally builds its shared libraries.
   10876 	    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'
   10877 	  fi
   10878 	  if test aix != "$with_aix_soname"; then
   10879 	    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'
   10880 	  else
   10881 	    # used by -dlpreopen to get the symbols
   10882 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10883 	  fi
   10884 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10885 	fi
   10886       fi
   10887       ;;
   10888 
   10889     amigaos*)
   10890       case $host_cpu in
   10891       powerpc)
   10892             # see comment about AmigaOS4 .so support
   10893             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10894             archive_expsym_cmds=''
   10895         ;;
   10896       m68k)
   10897             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)'
   10898             hardcode_libdir_flag_spec='-L$libdir'
   10899             hardcode_minus_L=yes
   10900         ;;
   10901       esac
   10902       ;;
   10903 
   10904     bsdi[45]*)
   10905       export_dynamic_flag_spec=-rdynamic
   10906       ;;
   10907 
   10908     cygwin* | mingw* | pw32* | cegcc*)
   10909       # When not using gcc, we currently assume that we are using
   10910       # Microsoft Visual C++ or Intel C++ Compiler.
   10911       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10912       # no search path for DLLs.
   10913       case $cc_basename in
   10914       cl* | icl*)
   10915 	# Native MSVC or ICC
   10916 	hardcode_libdir_flag_spec=' '
   10917 	allow_undefined_flag=unsupported
   10918 	always_export_symbols=yes
   10919 	file_list_spec='@'
   10920 	# Tell ltmain to make .lib files, not .a files.
   10921 	libext=lib
   10922 	# Tell ltmain to make .dll files, not .so files.
   10923 	shrext_cmds=.dll
   10924 	# FIXME: Setting linknames here is a bad hack.
   10925 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10926 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10927             cp "$export_symbols" "$output_objdir/$soname.def";
   10928             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10929           else
   10930             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10931           fi~
   10932           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10933           linknames='
   10934 	# The linker will not automatically build a static lib if we build a DLL.
   10935 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10936 	enable_shared_with_static_runtimes=yes
   10937 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10938 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10939 	# Don't use ranlib
   10940 	old_postinstall_cmds='chmod 644 $oldlib'
   10941 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10942           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10943           case $lt_outputfile in
   10944             *.exe|*.EXE) ;;
   10945             *)
   10946               lt_outputfile=$lt_outputfile.exe
   10947               lt_tool_outputfile=$lt_tool_outputfile.exe
   10948               ;;
   10949           esac~
   10950           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10951             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10952             $RM "$lt_outputfile.manifest";
   10953           fi'
   10954 	;;
   10955       *)
   10956 	# Assume MSVC and ICC wrapper
   10957 	hardcode_libdir_flag_spec=' '
   10958 	allow_undefined_flag=unsupported
   10959 	# Tell ltmain to make .lib files, not .a files.
   10960 	libext=lib
   10961 	# Tell ltmain to make .dll files, not .so files.
   10962 	shrext_cmds=.dll
   10963 	# FIXME: Setting linknames here is a bad hack.
   10964 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10965 	# The linker will automatically build a .lib file if we build a DLL.
   10966 	old_archive_from_new_cmds='true'
   10967 	# FIXME: Should let the user specify the lib program.
   10968 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10969 	enable_shared_with_static_runtimes=yes
   10970 	;;
   10971       esac
   10972       ;;
   10973 
   10974     darwin* | rhapsody*)
   10975 
   10976 
   10977   archive_cmds_need_lc=no
   10978   hardcode_direct=no
   10979   hardcode_automatic=yes
   10980   hardcode_shlibpath_var=unsupported
   10981   if test yes = "$lt_cv_ld_force_load"; then
   10982     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\"`'
   10983 
   10984   else
   10985     whole_archive_flag_spec=''
   10986   fi
   10987   link_all_deplibs=yes
   10988   allow_undefined_flag=$_lt_dar_allow_undefined
   10989   case $cc_basename in
   10990      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10991      *) _lt_dar_can_shared=$GCC ;;
   10992   esac
   10993   if test yes = "$_lt_dar_can_shared"; then
   10994     output_verbose_link_cmd=func_echo_all
   10995     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10996     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10997     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"
   10998     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"
   10999 
   11000   else
   11001   ld_shlibs=no
   11002   fi
   11003 
   11004       ;;
   11005 
   11006     dgux*)
   11007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11008       hardcode_libdir_flag_spec='-L$libdir'
   11009       hardcode_shlibpath_var=no
   11010       ;;
   11011 
   11012     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11013     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11014     # does not break anything, and helps significantly (at the cost of a little
   11015     # extra space).
   11016     freebsd2.2*)
   11017       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11018       hardcode_libdir_flag_spec='-R$libdir'
   11019       hardcode_direct=yes
   11020       hardcode_shlibpath_var=no
   11021       ;;
   11022 
   11023     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11024     freebsd2.*)
   11025       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11026       hardcode_direct=yes
   11027       hardcode_minus_L=yes
   11028       hardcode_shlibpath_var=no
   11029       ;;
   11030 
   11031     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11032     freebsd* | dragonfly* | midnightbsd*)
   11033       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11034       hardcode_libdir_flag_spec='-R$libdir'
   11035       hardcode_direct=yes
   11036       hardcode_shlibpath_var=no
   11037       ;;
   11038 
   11039     hpux9*)
   11040       if test yes = "$GCC"; then
   11041 	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'
   11042       else
   11043 	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'
   11044       fi
   11045       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11046       hardcode_libdir_separator=:
   11047       hardcode_direct=yes
   11048 
   11049       # hardcode_minus_L: Not really in the search PATH,
   11050       # but as the default location of the library.
   11051       hardcode_minus_L=yes
   11052       export_dynamic_flag_spec='$wl-E'
   11053       ;;
   11054 
   11055     hpux10*)
   11056       if test yes,no = "$GCC,$with_gnu_ld"; then
   11057 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11058       else
   11059 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11060       fi
   11061       if test no = "$with_gnu_ld"; then
   11062 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11063 	hardcode_libdir_separator=:
   11064 	hardcode_direct=yes
   11065 	hardcode_direct_absolute=yes
   11066 	export_dynamic_flag_spec='$wl-E'
   11067 	# hardcode_minus_L: Not really in the search PATH,
   11068 	# but as the default location of the library.
   11069 	hardcode_minus_L=yes
   11070       fi
   11071       ;;
   11072 
   11073     hpux11*)
   11074       if test yes,no = "$GCC,$with_gnu_ld"; then
   11075 	case $host_cpu in
   11076 	hppa*64*)
   11077 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11078 	  ;;
   11079 	ia64*)
   11080 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11081 	  ;;
   11082 	*)
   11083 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11084 	  ;;
   11085 	esac
   11086       else
   11087 	case $host_cpu in
   11088 	hppa*64*)
   11089 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11090 	  ;;
   11091 	ia64*)
   11092 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11093 	  ;;
   11094 	*)
   11095 
   11096 	  # Older versions of the 11.00 compiler do not understand -b yet
   11097 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11098 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11099 printf %s "checking if $CC understands -b... " >&6; }
   11100 if test ${lt_cv_prog_compiler__b+y}
   11101 then :
   11102   printf %s "(cached) " >&6
   11103 else case e in #(
   11104   e) lt_cv_prog_compiler__b=no
   11105    save_LDFLAGS=$LDFLAGS
   11106    LDFLAGS="$LDFLAGS -b"
   11107    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11108    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11109      # The linker can only warn and ignore the option if not recognized
   11110      # So say no if there are warnings
   11111      if test -s conftest.err; then
   11112        # Append any errors to the config.log.
   11113        cat conftest.err 1>&5
   11114        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11115        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11116        if diff conftest.exp conftest.er2 >/dev/null; then
   11117          lt_cv_prog_compiler__b=yes
   11118        fi
   11119      else
   11120        lt_cv_prog_compiler__b=yes
   11121      fi
   11122    fi
   11123    $RM -r conftest*
   11124    LDFLAGS=$save_LDFLAGS
   11125  ;;
   11126 esac
   11127 fi
   11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11129 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11130 
   11131 if test yes = "$lt_cv_prog_compiler__b"; then
   11132     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11133 else
   11134     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11135 fi
   11136 
   11137 	  ;;
   11138 	esac
   11139       fi
   11140       if test no = "$with_gnu_ld"; then
   11141 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11142 	hardcode_libdir_separator=:
   11143 
   11144 	case $host_cpu in
   11145 	hppa*64*|ia64*)
   11146 	  hardcode_direct=no
   11147 	  hardcode_shlibpath_var=no
   11148 	  ;;
   11149 	*)
   11150 	  hardcode_direct=yes
   11151 	  hardcode_direct_absolute=yes
   11152 	  export_dynamic_flag_spec='$wl-E'
   11153 
   11154 	  # hardcode_minus_L: Not really in the search PATH,
   11155 	  # but as the default location of the library.
   11156 	  hardcode_minus_L=yes
   11157 	  ;;
   11158 	esac
   11159       fi
   11160       ;;
   11161 
   11162     irix5* | irix6* | nonstopux*)
   11163       if test yes = "$GCC"; then
   11164 	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'
   11165 	# Try to use the -exported_symbol ld option, if it does not
   11166 	# work, assume that -exports_file does not work either and
   11167 	# implicitly export all symbols.
   11168 	# This should be the same for all languages, so no per-tag cache variable.
   11169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11170 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11171 if test ${lt_cv_irix_exported_symbol+y}
   11172 then :
   11173   printf %s "(cached) " >&6
   11174 else case e in #(
   11175   e) save_LDFLAGS=$LDFLAGS
   11176 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11177 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11178 /* end confdefs.h.  */
   11179 int foo (void) { return 0; }
   11180 _ACEOF
   11181 if ac_fn_c_try_link "$LINENO"
   11182 then :
   11183   lt_cv_irix_exported_symbol=yes
   11184 else case e in #(
   11185   e) lt_cv_irix_exported_symbol=no ;;
   11186 esac
   11187 fi
   11188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11189     conftest$ac_exeext conftest.$ac_ext
   11190            LDFLAGS=$save_LDFLAGS ;;
   11191 esac
   11192 fi
   11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11194 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11195 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11196           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'
   11197 	fi
   11198       else
   11199 	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'
   11200 	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'
   11201       fi
   11202       archive_cmds_need_lc='no'
   11203       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11204       hardcode_libdir_separator=:
   11205       inherit_rpath=yes
   11206       link_all_deplibs=yes
   11207       ;;
   11208 
   11209     linux*)
   11210       case $cc_basename in
   11211       tcc*)
   11212 	# Fabrice Bellard et al's Tiny C Compiler
   11213 	ld_shlibs=yes
   11214 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11215 	;;
   11216       esac
   11217       ;;
   11218 
   11219     netbsd*)
   11220       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11221 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11222       else
   11223 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11224       fi
   11225       hardcode_libdir_flag_spec='-R$libdir'
   11226       hardcode_direct=yes
   11227       hardcode_shlibpath_var=no
   11228       ;;
   11229 
   11230     newsos6)
   11231       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11232       hardcode_direct=yes
   11233       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11234       hardcode_libdir_separator=:
   11235       hardcode_shlibpath_var=no
   11236       ;;
   11237 
   11238     *nto* | *qnx*)
   11239       ;;
   11240 
   11241     openbsd* | bitrig*)
   11242       if test -f /usr/libexec/ld.so; then
   11243 	hardcode_direct=yes
   11244 	hardcode_shlibpath_var=no
   11245 	hardcode_direct_absolute=yes
   11246 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11247 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11248 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11249 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11250 	  export_dynamic_flag_spec='$wl-E'
   11251 	else
   11252 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11253 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11254 	fi
   11255       else
   11256 	ld_shlibs=no
   11257       fi
   11258       ;;
   11259 
   11260     os2*)
   11261       hardcode_libdir_flag_spec='-L$libdir'
   11262       hardcode_minus_L=yes
   11263       allow_undefined_flag=unsupported
   11264       shrext_cmds=.dll
   11265       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11266 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11267 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11268 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11269 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11270 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11271 	emximp -o $lib $output_objdir/$libname.def'
   11272       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11273 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11274 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11275 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11276 	prefix_cmds="$SED"~
   11277 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11278 	  prefix_cmds="$prefix_cmds -e 1d";
   11279 	fi~
   11280 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11281 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11282 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11283 	emximp -o $lib $output_objdir/$libname.def'
   11284       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11285       enable_shared_with_static_runtimes=yes
   11286       file_list_spec='@'
   11287       ;;
   11288 
   11289     osf3*)
   11290       if test yes = "$GCC"; then
   11291 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11292 	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'
   11293       else
   11294 	allow_undefined_flag=' -expect_unresolved \*'
   11295 	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'
   11296       fi
   11297       archive_cmds_need_lc='no'
   11298       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11299       hardcode_libdir_separator=:
   11300       ;;
   11301 
   11302     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11303       if test yes = "$GCC"; then
   11304 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11305 	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'
   11306 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11307       else
   11308 	allow_undefined_flag=' -expect_unresolved \*'
   11309 	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'
   11310 	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~
   11311           $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'
   11312 
   11313 	# Both c and cxx compiler support -rpath directly
   11314 	hardcode_libdir_flag_spec='-rpath $libdir'
   11315       fi
   11316       archive_cmds_need_lc='no'
   11317       hardcode_libdir_separator=:
   11318       ;;
   11319 
   11320     solaris*)
   11321       no_undefined_flag=' -z defs'
   11322       if test yes = "$GCC"; then
   11323 	wlarc='$wl'
   11324 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11325 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11326           $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'
   11327       else
   11328 	case `$CC -V 2>&1` in
   11329 	*"Compilers 5.0"*)
   11330 	  wlarc=''
   11331 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11332 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11333             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11334 	  ;;
   11335 	*)
   11336 	  wlarc='$wl'
   11337 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11338 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11339             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11340 	  ;;
   11341 	esac
   11342       fi
   11343       hardcode_libdir_flag_spec='-R$libdir'
   11344       hardcode_shlibpath_var=no
   11345       case $host_os in
   11346       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11347       *)
   11348 	# The compiler driver will combine and reorder linker options,
   11349 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11350 	# but is careful enough not to reorder.
   11351 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11352 	if test yes = "$GCC"; then
   11353 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11354 	else
   11355 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11356 	fi
   11357 	;;
   11358       esac
   11359       link_all_deplibs=yes
   11360       ;;
   11361 
   11362     sunos4*)
   11363       if test sequent = "$host_vendor"; then
   11364 	# Use $CC to link under sequent, because it throws in some extra .o
   11365 	# files that make .init and .fini sections work.
   11366 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11367       else
   11368 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11369       fi
   11370       hardcode_libdir_flag_spec='-L$libdir'
   11371       hardcode_direct=yes
   11372       hardcode_minus_L=yes
   11373       hardcode_shlibpath_var=no
   11374       ;;
   11375 
   11376     sysv4)
   11377       case $host_vendor in
   11378 	sni)
   11379 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11380 	  hardcode_direct=yes # is this really true???
   11381 	;;
   11382 	siemens)
   11383 	  ## LD is ld it makes a PLAMLIB
   11384 	  ## CC just makes a GrossModule.
   11385 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11386 	  reload_cmds='$CC -r -o $output$reload_objs'
   11387 	  hardcode_direct=no
   11388         ;;
   11389 	motorola)
   11390 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11391 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11392 	;;
   11393       esac
   11394       runpath_var='LD_RUN_PATH'
   11395       hardcode_shlibpath_var=no
   11396       ;;
   11397 
   11398     sysv4.3*)
   11399       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11400       hardcode_shlibpath_var=no
   11401       export_dynamic_flag_spec='-Bexport'
   11402       ;;
   11403 
   11404     sysv4*MP*)
   11405       if test -d /usr/nec; then
   11406 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11407 	hardcode_shlibpath_var=no
   11408 	runpath_var=LD_RUN_PATH
   11409 	hardcode_runpath_var=yes
   11410 	ld_shlibs=yes
   11411       fi
   11412       ;;
   11413 
   11414     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11415       no_undefined_flag='$wl-z,text'
   11416       archive_cmds_need_lc=no
   11417       hardcode_shlibpath_var=no
   11418       runpath_var='LD_RUN_PATH'
   11419 
   11420       if test yes = "$GCC"; then
   11421 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11422 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11423       else
   11424 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11425 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11426       fi
   11427       ;;
   11428 
   11429     sysv5* | sco3.2v5* | sco5v6*)
   11430       # Note: We CANNOT use -z defs as we might desire, because we do not
   11431       # link with -lc, and that would cause any symbols used from libc to
   11432       # always be unresolved, which means just about no library would
   11433       # ever link correctly.  If we're not using GNU ld we use -z text
   11434       # though, which does catch some bad symbols but isn't as heavy-handed
   11435       # as -z defs.
   11436       no_undefined_flag='$wl-z,text'
   11437       allow_undefined_flag='$wl-z,nodefs'
   11438       archive_cmds_need_lc=no
   11439       hardcode_shlibpath_var=no
   11440       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11441       hardcode_libdir_separator=':'
   11442       link_all_deplibs=yes
   11443       export_dynamic_flag_spec='$wl-Bexport'
   11444       runpath_var='LD_RUN_PATH'
   11445 
   11446       if test yes = "$GCC"; then
   11447 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11448 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11449       else
   11450 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11451 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11452       fi
   11453       ;;
   11454 
   11455     uts4*)
   11456       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11457       hardcode_libdir_flag_spec='-L$libdir'
   11458       hardcode_shlibpath_var=no
   11459       ;;
   11460 
   11461     *)
   11462       ld_shlibs=no
   11463       ;;
   11464     esac
   11465 
   11466     if test sni = "$host_vendor"; then
   11467       case $host in
   11468       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11469 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11470 	;;
   11471       esac
   11472     fi
   11473   fi
   11474 
   11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11476 printf "%s\n" "$ld_shlibs" >&6; }
   11477 test no = "$ld_shlibs" && can_build_shared=no
   11478 
   11479 with_gnu_ld=$with_gnu_ld
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 #
   11496 # Do we need to explicitly link libc?
   11497 #
   11498 case "x$archive_cmds_need_lc" in
   11499 x|xyes)
   11500   # Assume -lc should be added
   11501   archive_cmds_need_lc=yes
   11502 
   11503   if test yes,yes = "$GCC,$enable_shared"; then
   11504     case $archive_cmds in
   11505     *'~'*)
   11506       # FIXME: we may have to deal with multi-command sequences.
   11507       ;;
   11508     '$CC '*)
   11509       # Test whether the compiler implicitly links with -lc since on some
   11510       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11511       # to ld, don't add -lc before -lgcc.
   11512       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11513 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11514 if test ${lt_cv_archive_cmds_need_lc+y}
   11515 then :
   11516   printf %s "(cached) " >&6
   11517 else case e in #(
   11518   e) $RM conftest*
   11519 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11520 
   11521 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11522   (eval $ac_compile) 2>&5
   11523   ac_status=$?
   11524   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11525   test $ac_status = 0; } 2>conftest.err; then
   11526 	  soname=conftest
   11527 	  lib=conftest
   11528 	  libobjs=conftest.$ac_objext
   11529 	  deplibs=
   11530 	  wl=$lt_prog_compiler_wl
   11531 	  pic_flag=$lt_prog_compiler_pic
   11532 	  compiler_flags=-v
   11533 	  linker_flags=-v
   11534 	  verstring=
   11535 	  output_objdir=.
   11536 	  libname=conftest
   11537 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11538 	  allow_undefined_flag=
   11539 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11540   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11541   ac_status=$?
   11542   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11543   test $ac_status = 0; }
   11544 	  then
   11545 	    lt_cv_archive_cmds_need_lc=no
   11546 	  else
   11547 	    lt_cv_archive_cmds_need_lc=yes
   11548 	  fi
   11549 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11550 	else
   11551 	  cat conftest.err 1>&5
   11552 	fi
   11553 	$RM conftest*
   11554 	 ;;
   11555 esac
   11556 fi
   11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11558 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11559       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11560       ;;
   11561     esac
   11562   fi
   11563   ;;
   11564 esac
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11718 printf %s "checking dynamic linker characteristics... " >&6; }
   11719 
   11720 if test yes = "$GCC"; then
   11721   case $host_os in
   11722     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11723     *) lt_awk_arg='/^libraries:/' ;;
   11724   esac
   11725   case $host_os in
   11726     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11727     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11728   esac
   11729   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11730   case $lt_search_path_spec in
   11731   *\;*)
   11732     # if the path contains ";" then we assume it to be the separator
   11733     # otherwise default to the standard path separator (i.e. ":") - it is
   11734     # assumed that no part of a normal pathname contains ";" but that should
   11735     # okay in the real world where ";" in dirpaths is itself problematic.
   11736     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11737     ;;
   11738   *)
   11739     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11740     ;;
   11741   esac
   11742   # Ok, now we have the path, separated by spaces, we can step through it
   11743   # and add multilib dir if necessary...
   11744   lt_tmp_lt_search_path_spec=
   11745   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11746   # ...but if some path component already ends with the multilib dir we assume
   11747   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11748   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11749   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11750     lt_multi_os_dir=
   11751     ;;
   11752   esac
   11753   for lt_sys_path in $lt_search_path_spec; do
   11754     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11755       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11756     elif test -n "$lt_multi_os_dir"; then
   11757       test -d "$lt_sys_path" && \
   11758 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11759     fi
   11760   done
   11761   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11762 BEGIN {RS = " "; FS = "/|\n";} {
   11763   lt_foo = "";
   11764   lt_count = 0;
   11765   for (lt_i = NF; lt_i > 0; lt_i--) {
   11766     if ($lt_i != "" && $lt_i != ".") {
   11767       if ($lt_i == "..") {
   11768         lt_count++;
   11769       } else {
   11770         if (lt_count == 0) {
   11771           lt_foo = "/" $lt_i lt_foo;
   11772         } else {
   11773           lt_count--;
   11774         }
   11775       }
   11776     }
   11777   }
   11778   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11779   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11780 }'`
   11781   # AWK program above erroneously prepends '/' to C:/dos/paths
   11782   # for these hosts.
   11783   case $host_os in
   11784     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11785       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11786   esac
   11787   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11788 else
   11789   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11790 fi
   11791 library_names_spec=
   11792 libname_spec='lib$name'
   11793 soname_spec=
   11794 shrext_cmds=.so
   11795 postinstall_cmds=
   11796 postuninstall_cmds=
   11797 finish_cmds=
   11798 finish_eval=
   11799 shlibpath_var=
   11800 shlibpath_overrides_runpath=unknown
   11801 version_type=none
   11802 dynamic_linker="$host_os ld.so"
   11803 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11804 need_lib_prefix=unknown
   11805 hardcode_into_libs=no
   11806 
   11807 # when you set need_version to no, make sure it does not cause -set_version
   11808 # flags to be left without arguments
   11809 need_version=unknown
   11810 
   11811 
   11812 
   11813 case $host_os in
   11814 aix3*)
   11815   version_type=linux # correct to gnu/linux during the next big refactor
   11816   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11817   shlibpath_var=LIBPATH
   11818 
   11819   # AIX 3 has no versioning support, so we append a major version to the name.
   11820   soname_spec='$libname$release$shared_ext$major'
   11821   ;;
   11822 
   11823 aix[4-9]*)
   11824   version_type=linux # correct to gnu/linux during the next big refactor
   11825   need_lib_prefix=no
   11826   need_version=no
   11827   hardcode_into_libs=yes
   11828   if test ia64 = "$host_cpu"; then
   11829     # AIX 5 supports IA64
   11830     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11831     shlibpath_var=LD_LIBRARY_PATH
   11832   else
   11833     # With GCC up to 2.95.x, collect2 would create an import file
   11834     # for dependence libraries.  The import file would start with
   11835     # the line '#! .'.  This would cause the generated library to
   11836     # depend on '.', always an invalid library.  This was fixed in
   11837     # development snapshots of GCC prior to 3.0.
   11838     case $host_os in
   11839       aix4 | aix4.[01] | aix4.[01].*)
   11840       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11841 	   echo ' yes '
   11842 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11843 	:
   11844       else
   11845 	can_build_shared=no
   11846       fi
   11847       ;;
   11848     esac
   11849     # Using Import Files as archive members, it is possible to support
   11850     # filename-based versioning of shared library archives on AIX. While
   11851     # this would work for both with and without runtime linking, it will
   11852     # prevent static linking of such archives. So we do filename-based
   11853     # shared library versioning with .so extension only, which is used
   11854     # when both runtime linking and shared linking is enabled.
   11855     # Unfortunately, runtime linking may impact performance, so we do
   11856     # not want this to be the default eventually. Also, we use the
   11857     # versioned .so libs for executables only if there is the -brtl
   11858     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11859     # To allow for filename-based versioning support, we need to create
   11860     # libNAME.so.V as an archive file, containing:
   11861     # *) an Import File, referring to the versioned filename of the
   11862     #    archive as well as the shared archive member, telling the
   11863     #    bitwidth (32 or 64) of that shared object, and providing the
   11864     #    list of exported symbols of that shared object, eventually
   11865     #    decorated with the 'weak' keyword
   11866     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11867     #    it being seen by the linker.
   11868     # At run time we better use the real file rather than another symlink,
   11869     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11870 
   11871     case $with_aix_soname,$aix_use_runtimelinking in
   11872     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11873     # soname into executable. Probably we can add versioning support to
   11874     # collect2, so additional links can be useful in future.
   11875     aix,yes) # traditional libtool
   11876       dynamic_linker='AIX unversionable lib.so'
   11877       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11878       # instead of lib<name>.a to let people know that these are not
   11879       # typical AIX shared libraries.
   11880       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11881       ;;
   11882     aix,no) # traditional AIX only
   11883       dynamic_linker='AIX lib.a(lib.so.V)'
   11884       # We preserve .a as extension for shared libraries through AIX4.2
   11885       # and later when we are not doing run time linking.
   11886       library_names_spec='$libname$release.a $libname.a'
   11887       soname_spec='$libname$release$shared_ext$major'
   11888       ;;
   11889     svr4,*) # full svr4 only
   11890       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11891       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11892       # We do not specify a path in Import Files, so LIBPATH fires.
   11893       shlibpath_overrides_runpath=yes
   11894       ;;
   11895     *,yes) # both, prefer svr4
   11896       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11897       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11898       # unpreferred sharedlib libNAME.a needs extra handling
   11899       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"'
   11900       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"'
   11901       # We do not specify a path in Import Files, so LIBPATH fires.
   11902       shlibpath_overrides_runpath=yes
   11903       ;;
   11904     *,no) # both, prefer aix
   11905       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11906       library_names_spec='$libname$release.a $libname.a'
   11907       soname_spec='$libname$release$shared_ext$major'
   11908       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11909       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)'
   11910       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"'
   11911       ;;
   11912     esac
   11913     shlibpath_var=LIBPATH
   11914   fi
   11915   ;;
   11916 
   11917 amigaos*)
   11918   case $host_cpu in
   11919   powerpc)
   11920     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11921     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11922     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11923     ;;
   11924   m68k)
   11925     library_names_spec='$libname.ixlibrary $libname.a'
   11926     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11927     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'
   11928     ;;
   11929   esac
   11930   ;;
   11931 
   11932 beos*)
   11933   library_names_spec='$libname$shared_ext'
   11934   dynamic_linker="$host_os ld.so"
   11935   shlibpath_var=LIBRARY_PATH
   11936   ;;
   11937 
   11938 bsdi[45]*)
   11939   version_type=linux # correct to gnu/linux during the next big refactor
   11940   need_version=no
   11941   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11942   soname_spec='$libname$release$shared_ext$major'
   11943   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11944   shlibpath_var=LD_LIBRARY_PATH
   11945   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11946   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11947   # the default ld.so.conf also contains /usr/contrib/lib and
   11948   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11949   # libtool to hard-code these into programs
   11950   ;;
   11951 
   11952 cygwin* | mingw* | pw32* | cegcc*)
   11953   version_type=windows
   11954   shrext_cmds=.dll
   11955   need_version=no
   11956   need_lib_prefix=no
   11957 
   11958   case $GCC,$cc_basename in
   11959   yes,*)
   11960     # gcc
   11961     library_names_spec='$libname.dll.a'
   11962     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11963     postinstall_cmds='base_file=`basename \$file`~
   11964       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11965       dldir=$destdir/`dirname \$dlpath`~
   11966       test -d \$dldir || mkdir -p \$dldir~
   11967       $install_prog $dir/$dlname \$dldir/$dlname~
   11968       chmod a+x \$dldir/$dlname~
   11969       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11970         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11971       fi'
   11972     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11973       dlpath=$dir/\$dldll~
   11974        $RM \$dlpath'
   11975     shlibpath_overrides_runpath=yes
   11976 
   11977     case $host_os in
   11978     cygwin*)
   11979       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11980       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11981 
   11982       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11983       ;;
   11984     mingw* | cegcc*)
   11985       # MinGW DLLs use traditional 'lib' prefix
   11986       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11987       ;;
   11988     pw32*)
   11989       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11990       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11991       ;;
   11992     esac
   11993     dynamic_linker='Win32 ld.exe'
   11994     ;;
   11995 
   11996   *,cl* | *,icl*)
   11997     # Native MSVC or ICC
   11998     libname_spec='$name'
   11999     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12000     library_names_spec='$libname.dll.lib'
   12001 
   12002     case $build_os in
   12003     mingw*)
   12004       sys_lib_search_path_spec=
   12005       lt_save_ifs=$IFS
   12006       IFS=';'
   12007       for lt_path in $LIB
   12008       do
   12009         IFS=$lt_save_ifs
   12010         # Let DOS variable expansion print the short 8.3 style file name.
   12011         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12012         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12013       done
   12014       IFS=$lt_save_ifs
   12015       # Convert to MSYS style.
   12016       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12017       ;;
   12018     cygwin*)
   12019       # Convert to unix form, then to dos form, then back to unix form
   12020       # but this time dos style (no spaces!) so that the unix form looks
   12021       # like /cygdrive/c/PROGRA~1:/cygdr...
   12022       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12023       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12024       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12025       ;;
   12026     *)
   12027       sys_lib_search_path_spec=$LIB
   12028       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12029         # It is most probably a Windows format PATH.
   12030         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12031       else
   12032         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12033       fi
   12034       # FIXME: find the short name or the path components, as spaces are
   12035       # common. (e.g. "Program Files" -> "PROGRA~1")
   12036       ;;
   12037     esac
   12038 
   12039     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12040     postinstall_cmds='base_file=`basename \$file`~
   12041       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12042       dldir=$destdir/`dirname \$dlpath`~
   12043       test -d \$dldir || mkdir -p \$dldir~
   12044       $install_prog $dir/$dlname \$dldir/$dlname'
   12045     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12046       dlpath=$dir/\$dldll~
   12047        $RM \$dlpath'
   12048     shlibpath_overrides_runpath=yes
   12049     dynamic_linker='Win32 link.exe'
   12050     ;;
   12051 
   12052   *)
   12053     # Assume MSVC and ICC wrapper
   12054     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12055     dynamic_linker='Win32 ld.exe'
   12056     ;;
   12057   esac
   12058   # FIXME: first we should search . and the directory the executable is in
   12059   shlibpath_var=PATH
   12060   ;;
   12061 
   12062 darwin* | rhapsody*)
   12063   dynamic_linker="$host_os dyld"
   12064   version_type=darwin
   12065   need_lib_prefix=no
   12066   need_version=no
   12067   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12068   soname_spec='$libname$release$major$shared_ext'
   12069   shlibpath_overrides_runpath=yes
   12070   shlibpath_var=DYLD_LIBRARY_PATH
   12071   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12072 
   12073   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12074   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12075   ;;
   12076 
   12077 dgux*)
   12078   version_type=linux # correct to gnu/linux during the next big refactor
   12079   need_lib_prefix=no
   12080   need_version=no
   12081   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12082   soname_spec='$libname$release$shared_ext$major'
   12083   shlibpath_var=LD_LIBRARY_PATH
   12084   ;;
   12085 
   12086 freebsd* | dragonfly* | midnightbsd*)
   12087   # DragonFly does not have aout.  When/if they implement a new
   12088   # versioning mechanism, adjust this.
   12089   if test -x /usr/bin/objformat; then
   12090     objformat=`/usr/bin/objformat`
   12091   else
   12092     case $host_os in
   12093     freebsd[23].*) objformat=aout ;;
   12094     *) objformat=elf ;;
   12095     esac
   12096   fi
   12097   version_type=freebsd-$objformat
   12098   case $version_type in
   12099     freebsd-elf*)
   12100       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12101       soname_spec='$libname$release$shared_ext$major'
   12102       need_version=no
   12103       need_lib_prefix=no
   12104       ;;
   12105     freebsd-*)
   12106       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12107       need_version=yes
   12108       ;;
   12109   esac
   12110   shlibpath_var=LD_LIBRARY_PATH
   12111   case $host_os in
   12112   freebsd2.*)
   12113     shlibpath_overrides_runpath=yes
   12114     ;;
   12115   freebsd3.[01]* | freebsdelf3.[01]*)
   12116     shlibpath_overrides_runpath=yes
   12117     hardcode_into_libs=yes
   12118     ;;
   12119   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12120   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12121     shlibpath_overrides_runpath=no
   12122     hardcode_into_libs=yes
   12123     ;;
   12124   *) # from 4.6 on, and DragonFly
   12125     shlibpath_overrides_runpath=yes
   12126     hardcode_into_libs=yes
   12127     ;;
   12128   esac
   12129   ;;
   12130 
   12131 haiku*)
   12132   version_type=linux # correct to gnu/linux during the next big refactor
   12133   need_lib_prefix=no
   12134   need_version=no
   12135   dynamic_linker="$host_os runtime_loader"
   12136   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12137   soname_spec='$libname$release$shared_ext$major'
   12138   shlibpath_var=LIBRARY_PATH
   12139   shlibpath_overrides_runpath=no
   12140   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12141   hardcode_into_libs=yes
   12142   ;;
   12143 
   12144 hpux9* | hpux10* | hpux11*)
   12145   # Give a soname corresponding to the major version so that dld.sl refuses to
   12146   # link against other versions.
   12147   version_type=sunos
   12148   need_lib_prefix=no
   12149   need_version=no
   12150   case $host_cpu in
   12151   ia64*)
   12152     shrext_cmds='.so'
   12153     hardcode_into_libs=yes
   12154     dynamic_linker="$host_os dld.so"
   12155     shlibpath_var=LD_LIBRARY_PATH
   12156     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12157     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12158     soname_spec='$libname$release$shared_ext$major'
   12159     if test 32 = "$HPUX_IA64_MODE"; then
   12160       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12161       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12162     else
   12163       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12164       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12165     fi
   12166     ;;
   12167   hppa*64*)
   12168     shrext_cmds='.sl'
   12169     hardcode_into_libs=yes
   12170     dynamic_linker="$host_os dld.sl"
   12171     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12172     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12173     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12174     soname_spec='$libname$release$shared_ext$major'
   12175     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12176     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12177     ;;
   12178   *)
   12179     shrext_cmds='.sl'
   12180     dynamic_linker="$host_os dld.sl"
   12181     shlibpath_var=SHLIB_PATH
   12182     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12183     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12184     soname_spec='$libname$release$shared_ext$major'
   12185     ;;
   12186   esac
   12187   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12188   postinstall_cmds='chmod 555 $lib'
   12189   # or fails outright, so override atomically:
   12190   install_override_mode=555
   12191   ;;
   12192 
   12193 interix[3-9]*)
   12194   version_type=linux # correct to gnu/linux during the next big refactor
   12195   need_lib_prefix=no
   12196   need_version=no
   12197   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12198   soname_spec='$libname$release$shared_ext$major'
   12199   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12200   shlibpath_var=LD_LIBRARY_PATH
   12201   shlibpath_overrides_runpath=no
   12202   hardcode_into_libs=yes
   12203   ;;
   12204 
   12205 irix5* | irix6* | nonstopux*)
   12206   case $host_os in
   12207     nonstopux*) version_type=nonstopux ;;
   12208     *)
   12209 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12210 		version_type=linux # correct to gnu/linux during the next big refactor
   12211 	else
   12212 		version_type=irix
   12213 	fi ;;
   12214   esac
   12215   need_lib_prefix=no
   12216   need_version=no
   12217   soname_spec='$libname$release$shared_ext$major'
   12218   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12219   case $host_os in
   12220   irix5* | nonstopux*)
   12221     libsuff= shlibsuff=
   12222     ;;
   12223   *)
   12224     case $LD in # libtool.m4 will add one of these switches to LD
   12225     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12226       libsuff= shlibsuff= libmagic=32-bit;;
   12227     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12228       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12229     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12230       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12231     *) libsuff= shlibsuff= libmagic=never-match;;
   12232     esac
   12233     ;;
   12234   esac
   12235   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12236   shlibpath_overrides_runpath=no
   12237   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12238   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12239   hardcode_into_libs=yes
   12240   ;;
   12241 
   12242 # No shared lib support for Linux oldld, aout, or coff.
   12243 linux*oldld* | linux*aout* | linux*coff*)
   12244   dynamic_linker=no
   12245   ;;
   12246 
   12247 linux*android*)
   12248   version_type=none # Android doesn't support versioned libraries.
   12249   need_lib_prefix=no
   12250   need_version=no
   12251   library_names_spec='$libname$release$shared_ext'
   12252   soname_spec='$libname$release$shared_ext'
   12253   finish_cmds=
   12254   shlibpath_var=LD_LIBRARY_PATH
   12255   shlibpath_overrides_runpath=yes
   12256 
   12257   # This implies no fast_install, which is unacceptable.
   12258   # Some rework will be needed to allow for fast_install
   12259   # before this can be enabled.
   12260   hardcode_into_libs=yes
   12261 
   12262   dynamic_linker='Android linker'
   12263   # Don't embed -rpath directories since the linker doesn't support them.
   12264   hardcode_libdir_flag_spec='-L$libdir'
   12265   ;;
   12266 
   12267 # This must be glibc/ELF.
   12268 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12269   version_type=linux # correct to gnu/linux during the next big refactor
   12270   need_lib_prefix=no
   12271   need_version=no
   12272   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12273   soname_spec='$libname$release$shared_ext$major'
   12274   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12275   shlibpath_var=LD_LIBRARY_PATH
   12276   shlibpath_overrides_runpath=no
   12277 
   12278   # Some binutils ld are patched to set DT_RUNPATH
   12279   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12280 then :
   12281   printf %s "(cached) " >&6
   12282 else case e in #(
   12283   e) lt_cv_shlibpath_overrides_runpath=no
   12284     save_LDFLAGS=$LDFLAGS
   12285     save_libdir=$libdir
   12286     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12287 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12288     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12289 /* end confdefs.h.  */
   12290 
   12291 int
   12292 main (void)
   12293 {
   12294 
   12295   ;
   12296   return 0;
   12297 }
   12298 _ACEOF
   12299 if ac_fn_c_try_link "$LINENO"
   12300 then :
   12301   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12302 then :
   12303   lt_cv_shlibpath_overrides_runpath=yes
   12304 fi
   12305 fi
   12306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12307     conftest$ac_exeext conftest.$ac_ext
   12308     LDFLAGS=$save_LDFLAGS
   12309     libdir=$save_libdir
   12310      ;;
   12311 esac
   12312 fi
   12313 
   12314   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12315 
   12316   # This implies no fast_install, which is unacceptable.
   12317   # Some rework will be needed to allow for fast_install
   12318   # before this can be enabled.
   12319   hardcode_into_libs=yes
   12320 
   12321   # Ideally, we could use ldconfig to report *all* directores which are
   12322   # searched for libraries, however this is still not possible.  Aside from not
   12323   # being certain /sbin/ldconfig is available, command
   12324   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12325   # even though it is searched at run-time.  Try to do the best guess by
   12326   # appending ld.so.conf contents (and includes) to the search path.
   12327   if test -f /etc/ld.so.conf; then
   12328     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' ' '`
   12329     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12330   fi
   12331 
   12332   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12333   # powerpc, because MkLinux only supported shared libraries with the
   12334   # GNU dynamic linker.  Since this was broken with cross compilers,
   12335   # most powerpc-linux boxes support dynamic linking these days and
   12336   # people can always --disable-shared, the test was removed, and we
   12337   # assume the GNU/Linux dynamic linker is in use.
   12338   dynamic_linker='GNU/Linux ld.so'
   12339   ;;
   12340 
   12341 netbsd*)
   12342   version_type=sunos
   12343   need_lib_prefix=no
   12344   need_version=no
   12345   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12346     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12347     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12348     dynamic_linker='NetBSD (a.out) ld.so'
   12349   else
   12350     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12351     soname_spec='$libname$release$shared_ext$major'
   12352     dynamic_linker='NetBSD ld.elf_so'
   12353   fi
   12354   shlibpath_var=LD_LIBRARY_PATH
   12355   shlibpath_overrides_runpath=yes
   12356   hardcode_into_libs=yes
   12357   ;;
   12358 
   12359 newsos6)
   12360   version_type=linux # correct to gnu/linux during the next big refactor
   12361   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12362   shlibpath_var=LD_LIBRARY_PATH
   12363   shlibpath_overrides_runpath=yes
   12364   ;;
   12365 
   12366 *nto* | *qnx*)
   12367   version_type=qnx
   12368   need_lib_prefix=no
   12369   need_version=no
   12370   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12371   soname_spec='$libname$release$shared_ext$major'
   12372   shlibpath_var=LD_LIBRARY_PATH
   12373   shlibpath_overrides_runpath=no
   12374   hardcode_into_libs=yes
   12375   dynamic_linker='ldqnx.so'
   12376   ;;
   12377 
   12378 openbsd* | bitrig*)
   12379   version_type=sunos
   12380   sys_lib_dlsearch_path_spec=/usr/lib
   12381   need_lib_prefix=no
   12382   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12383     need_version=no
   12384   else
   12385     need_version=yes
   12386   fi
   12387   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12388   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12389   shlibpath_var=LD_LIBRARY_PATH
   12390   shlibpath_overrides_runpath=yes
   12391   ;;
   12392 
   12393 os2*)
   12394   libname_spec='$name'
   12395   version_type=windows
   12396   shrext_cmds=.dll
   12397   need_version=no
   12398   need_lib_prefix=no
   12399   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12400   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12401     v=$($ECHO $release$versuffix | tr -d .-);
   12402     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12403     $ECHO $n$v`$shared_ext'
   12404   library_names_spec='${libname}_dll.$libext'
   12405   dynamic_linker='OS/2 ld.exe'
   12406   shlibpath_var=BEGINLIBPATH
   12407   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12408   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12409   postinstall_cmds='base_file=`basename \$file`~
   12410     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12411     dldir=$destdir/`dirname \$dlpath`~
   12412     test -d \$dldir || mkdir -p \$dldir~
   12413     $install_prog $dir/$dlname \$dldir/$dlname~
   12414     chmod a+x \$dldir/$dlname~
   12415     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12416       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12417     fi'
   12418   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12419     dlpath=$dir/\$dldll~
   12420     $RM \$dlpath'
   12421   ;;
   12422 
   12423 osf3* | osf4* | osf5*)
   12424   version_type=osf
   12425   need_lib_prefix=no
   12426   need_version=no
   12427   soname_spec='$libname$release$shared_ext$major'
   12428   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12429   shlibpath_var=LD_LIBRARY_PATH
   12430   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12431   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12432   ;;
   12433 
   12434 rdos*)
   12435   dynamic_linker=no
   12436   ;;
   12437 
   12438 solaris*)
   12439   version_type=linux # correct to gnu/linux during the next big refactor
   12440   need_lib_prefix=no
   12441   need_version=no
   12442   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12443   soname_spec='$libname$release$shared_ext$major'
   12444   shlibpath_var=LD_LIBRARY_PATH
   12445   shlibpath_overrides_runpath=yes
   12446   hardcode_into_libs=yes
   12447   # ldd complains unless libraries are executable
   12448   postinstall_cmds='chmod +x $lib'
   12449   ;;
   12450 
   12451 sunos4*)
   12452   version_type=sunos
   12453   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12454   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12455   shlibpath_var=LD_LIBRARY_PATH
   12456   shlibpath_overrides_runpath=yes
   12457   if test yes = "$with_gnu_ld"; then
   12458     need_lib_prefix=no
   12459   fi
   12460   need_version=yes
   12461   ;;
   12462 
   12463 sysv4 | sysv4.3*)
   12464   version_type=linux # correct to gnu/linux during the next big refactor
   12465   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12466   soname_spec='$libname$release$shared_ext$major'
   12467   shlibpath_var=LD_LIBRARY_PATH
   12468   case $host_vendor in
   12469     sni)
   12470       shlibpath_overrides_runpath=no
   12471       need_lib_prefix=no
   12472       runpath_var=LD_RUN_PATH
   12473       ;;
   12474     siemens)
   12475       need_lib_prefix=no
   12476       ;;
   12477     motorola)
   12478       need_lib_prefix=no
   12479       need_version=no
   12480       shlibpath_overrides_runpath=no
   12481       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12482       ;;
   12483   esac
   12484   ;;
   12485 
   12486 sysv4*MP*)
   12487   if test -d /usr/nec; then
   12488     version_type=linux # correct to gnu/linux during the next big refactor
   12489     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12490     soname_spec='$libname$shared_ext.$major'
   12491     shlibpath_var=LD_LIBRARY_PATH
   12492   fi
   12493   ;;
   12494 
   12495 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12496   version_type=sco
   12497   need_lib_prefix=no
   12498   need_version=no
   12499   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12500   soname_spec='$libname$release$shared_ext$major'
   12501   shlibpath_var=LD_LIBRARY_PATH
   12502   shlibpath_overrides_runpath=yes
   12503   hardcode_into_libs=yes
   12504   if test yes = "$with_gnu_ld"; then
   12505     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12506   else
   12507     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12508     case $host_os in
   12509       sco3.2v5*)
   12510         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12511 	;;
   12512     esac
   12513   fi
   12514   sys_lib_dlsearch_path_spec='/usr/lib'
   12515   ;;
   12516 
   12517 tpf*)
   12518   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12519   version_type=linux # correct to gnu/linux during the next big refactor
   12520   need_lib_prefix=no
   12521   need_version=no
   12522   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12523   shlibpath_var=LD_LIBRARY_PATH
   12524   shlibpath_overrides_runpath=no
   12525   hardcode_into_libs=yes
   12526   ;;
   12527 
   12528 uts4*)
   12529   version_type=linux # correct to gnu/linux during the next big refactor
   12530   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12531   soname_spec='$libname$release$shared_ext$major'
   12532   shlibpath_var=LD_LIBRARY_PATH
   12533   ;;
   12534 
   12535 *)
   12536   dynamic_linker=no
   12537   ;;
   12538 esac
   12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12540 printf "%s\n" "$dynamic_linker" >&6; }
   12541 test no = "$dynamic_linker" && can_build_shared=no
   12542 
   12543 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12544 if test yes = "$GCC"; then
   12545   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12546 fi
   12547 
   12548 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12549   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12550 fi
   12551 
   12552 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12553   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12554 fi
   12555 
   12556 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12557 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12558 
   12559 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12560 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12561 
   12562 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12563 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12662 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12663 hardcode_action=
   12664 if test -n "$hardcode_libdir_flag_spec" ||
   12665    test -n "$runpath_var" ||
   12666    test yes = "$hardcode_automatic"; then
   12667 
   12668   # We can hardcode non-existent directories.
   12669   if test no != "$hardcode_direct" &&
   12670      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12671      # have to relink, otherwise we might link with an installed library
   12672      # when we should be linking with a yet-to-be-installed one
   12673      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12674      test no != "$hardcode_minus_L"; then
   12675     # Linking always hardcodes the temporary library directory.
   12676     hardcode_action=relink
   12677   else
   12678     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12679     hardcode_action=immediate
   12680   fi
   12681 else
   12682   # We cannot hardcode anything, or else we can only hardcode existing
   12683   # directories.
   12684   hardcode_action=unsupported
   12685 fi
   12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12687 printf "%s\n" "$hardcode_action" >&6; }
   12688 
   12689 if test relink = "$hardcode_action" ||
   12690    test yes = "$inherit_rpath"; then
   12691   # Fast installation is not supported
   12692   enable_fast_install=no
   12693 elif test yes = "$shlibpath_overrides_runpath" ||
   12694      test no = "$enable_shared"; then
   12695   # Fast installation is not necessary
   12696   enable_fast_install=needless
   12697 fi
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704   if test yes != "$enable_dlopen"; then
   12705   enable_dlopen=unknown
   12706   enable_dlopen_self=unknown
   12707   enable_dlopen_self_static=unknown
   12708 else
   12709   lt_cv_dlopen=no
   12710   lt_cv_dlopen_libs=
   12711 
   12712   case $host_os in
   12713   beos*)
   12714     lt_cv_dlopen=load_add_on
   12715     lt_cv_dlopen_libs=
   12716     lt_cv_dlopen_self=yes
   12717     ;;
   12718 
   12719   mingw* | pw32* | cegcc*)
   12720     lt_cv_dlopen=LoadLibrary
   12721     lt_cv_dlopen_libs=
   12722     ;;
   12723 
   12724   cygwin*)
   12725     lt_cv_dlopen=dlopen
   12726     lt_cv_dlopen_libs=
   12727     ;;
   12728 
   12729   darwin*)
   12730     # if libdl is installed we need to link against it
   12731     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12732 printf %s "checking for dlopen in -ldl... " >&6; }
   12733 if test ${ac_cv_lib_dl_dlopen+y}
   12734 then :
   12735   printf %s "(cached) " >&6
   12736 else case e in #(
   12737   e) ac_check_lib_save_LIBS=$LIBS
   12738 LIBS="-ldl  $LIBS"
   12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12740 /* end confdefs.h.  */
   12741 
   12742 /* Override any GCC internal prototype to avoid an error.
   12743    Use char because int might match the return type of a GCC
   12744    builtin and then its argument prototype would still apply.
   12745    The 'extern "C"' is for builds by C++ compilers;
   12746    although this is not generally supported in C code supporting it here
   12747    has little cost and some practical benefit (sr 110532).  */
   12748 #ifdef __cplusplus
   12749 extern "C"
   12750 #endif
   12751 char dlopen (void);
   12752 int
   12753 main (void)
   12754 {
   12755 return dlopen ();
   12756   ;
   12757   return 0;
   12758 }
   12759 _ACEOF
   12760 if ac_fn_c_try_link "$LINENO"
   12761 then :
   12762   ac_cv_lib_dl_dlopen=yes
   12763 else case e in #(
   12764   e) ac_cv_lib_dl_dlopen=no ;;
   12765 esac
   12766 fi
   12767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12768     conftest$ac_exeext conftest.$ac_ext
   12769 LIBS=$ac_check_lib_save_LIBS ;;
   12770 esac
   12771 fi
   12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12773 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12774 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12775 then :
   12776   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12777 else case e in #(
   12778   e)
   12779     lt_cv_dlopen=dyld
   12780     lt_cv_dlopen_libs=
   12781     lt_cv_dlopen_self=yes
   12782      ;;
   12783 esac
   12784 fi
   12785 
   12786     ;;
   12787 
   12788   tpf*)
   12789     # Don't try to run any link tests for TPF.  We know it's impossible
   12790     # because TPF is a cross-compiler, and we know how we open DSOs.
   12791     lt_cv_dlopen=dlopen
   12792     lt_cv_dlopen_libs=
   12793     lt_cv_dlopen_self=no
   12794     ;;
   12795 
   12796   *)
   12797     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12798 if test "x$ac_cv_func_shl_load" = xyes
   12799 then :
   12800   lt_cv_dlopen=shl_load
   12801 else case e in #(
   12802   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12803 printf %s "checking for shl_load in -ldld... " >&6; }
   12804 if test ${ac_cv_lib_dld_shl_load+y}
   12805 then :
   12806   printf %s "(cached) " >&6
   12807 else case e in #(
   12808   e) ac_check_lib_save_LIBS=$LIBS
   12809 LIBS="-ldld  $LIBS"
   12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12811 /* end confdefs.h.  */
   12812 
   12813 /* Override any GCC internal prototype to avoid an error.
   12814    Use char because int might match the return type of a GCC
   12815    builtin and then its argument prototype would still apply.
   12816    The 'extern "C"' is for builds by C++ compilers;
   12817    although this is not generally supported in C code supporting it here
   12818    has little cost and some practical benefit (sr 110532).  */
   12819 #ifdef __cplusplus
   12820 extern "C"
   12821 #endif
   12822 char shl_load (void);
   12823 int
   12824 main (void)
   12825 {
   12826 return shl_load ();
   12827   ;
   12828   return 0;
   12829 }
   12830 _ACEOF
   12831 if ac_fn_c_try_link "$LINENO"
   12832 then :
   12833   ac_cv_lib_dld_shl_load=yes
   12834 else case e in #(
   12835   e) ac_cv_lib_dld_shl_load=no ;;
   12836 esac
   12837 fi
   12838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12839     conftest$ac_exeext conftest.$ac_ext
   12840 LIBS=$ac_check_lib_save_LIBS ;;
   12841 esac
   12842 fi
   12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12844 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12845 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12846 then :
   12847   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12848 else case e in #(
   12849   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12850 if test "x$ac_cv_func_dlopen" = xyes
   12851 then :
   12852   lt_cv_dlopen=dlopen
   12853 else case e in #(
   12854   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12855 printf %s "checking for dlopen in -ldl... " >&6; }
   12856 if test ${ac_cv_lib_dl_dlopen+y}
   12857 then :
   12858   printf %s "(cached) " >&6
   12859 else case e in #(
   12860   e) ac_check_lib_save_LIBS=$LIBS
   12861 LIBS="-ldl  $LIBS"
   12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12863 /* end confdefs.h.  */
   12864 
   12865 /* Override any GCC internal prototype to avoid an error.
   12866    Use char because int might match the return type of a GCC
   12867    builtin and then its argument prototype would still apply.
   12868    The 'extern "C"' is for builds by C++ compilers;
   12869    although this is not generally supported in C code supporting it here
   12870    has little cost and some practical benefit (sr 110532).  */
   12871 #ifdef __cplusplus
   12872 extern "C"
   12873 #endif
   12874 char dlopen (void);
   12875 int
   12876 main (void)
   12877 {
   12878 return dlopen ();
   12879   ;
   12880   return 0;
   12881 }
   12882 _ACEOF
   12883 if ac_fn_c_try_link "$LINENO"
   12884 then :
   12885   ac_cv_lib_dl_dlopen=yes
   12886 else case e in #(
   12887   e) ac_cv_lib_dl_dlopen=no ;;
   12888 esac
   12889 fi
   12890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12891     conftest$ac_exeext conftest.$ac_ext
   12892 LIBS=$ac_check_lib_save_LIBS ;;
   12893 esac
   12894 fi
   12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12896 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12897 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12898 then :
   12899   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12900 else case e in #(
   12901   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12902 printf %s "checking for dlopen in -lsvld... " >&6; }
   12903 if test ${ac_cv_lib_svld_dlopen+y}
   12904 then :
   12905   printf %s "(cached) " >&6
   12906 else case e in #(
   12907   e) ac_check_lib_save_LIBS=$LIBS
   12908 LIBS="-lsvld  $LIBS"
   12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12910 /* end confdefs.h.  */
   12911 
   12912 /* Override any GCC internal prototype to avoid an error.
   12913    Use char because int might match the return type of a GCC
   12914    builtin and then its argument prototype would still apply.
   12915    The 'extern "C"' is for builds by C++ compilers;
   12916    although this is not generally supported in C code supporting it here
   12917    has little cost and some practical benefit (sr 110532).  */
   12918 #ifdef __cplusplus
   12919 extern "C"
   12920 #endif
   12921 char dlopen (void);
   12922 int
   12923 main (void)
   12924 {
   12925 return dlopen ();
   12926   ;
   12927   return 0;
   12928 }
   12929 _ACEOF
   12930 if ac_fn_c_try_link "$LINENO"
   12931 then :
   12932   ac_cv_lib_svld_dlopen=yes
   12933 else case e in #(
   12934   e) ac_cv_lib_svld_dlopen=no ;;
   12935 esac
   12936 fi
   12937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12938     conftest$ac_exeext conftest.$ac_ext
   12939 LIBS=$ac_check_lib_save_LIBS ;;
   12940 esac
   12941 fi
   12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12943 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12944 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12945 then :
   12946   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12947 else case e in #(
   12948   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12949 printf %s "checking for dld_link in -ldld... " >&6; }
   12950 if test ${ac_cv_lib_dld_dld_link+y}
   12951 then :
   12952   printf %s "(cached) " >&6
   12953 else case e in #(
   12954   e) ac_check_lib_save_LIBS=$LIBS
   12955 LIBS="-ldld  $LIBS"
   12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12957 /* end confdefs.h.  */
   12958 
   12959 /* Override any GCC internal prototype to avoid an error.
   12960    Use char because int might match the return type of a GCC
   12961    builtin and then its argument prototype would still apply.
   12962    The 'extern "C"' is for builds by C++ compilers;
   12963    although this is not generally supported in C code supporting it here
   12964    has little cost and some practical benefit (sr 110532).  */
   12965 #ifdef __cplusplus
   12966 extern "C"
   12967 #endif
   12968 char dld_link (void);
   12969 int
   12970 main (void)
   12971 {
   12972 return dld_link ();
   12973   ;
   12974   return 0;
   12975 }
   12976 _ACEOF
   12977 if ac_fn_c_try_link "$LINENO"
   12978 then :
   12979   ac_cv_lib_dld_dld_link=yes
   12980 else case e in #(
   12981   e) ac_cv_lib_dld_dld_link=no ;;
   12982 esac
   12983 fi
   12984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12985     conftest$ac_exeext conftest.$ac_ext
   12986 LIBS=$ac_check_lib_save_LIBS ;;
   12987 esac
   12988 fi
   12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12990 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12991 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12992 then :
   12993   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12994 fi
   12995 
   12996 	       ;;
   12997 esac
   12998 fi
   12999 
   13000 	     ;;
   13001 esac
   13002 fi
   13003 
   13004 	   ;;
   13005 esac
   13006 fi
   13007 
   13008 	 ;;
   13009 esac
   13010 fi
   13011 
   13012        ;;
   13013 esac
   13014 fi
   13015 
   13016     ;;
   13017   esac
   13018 
   13019   if test no = "$lt_cv_dlopen"; then
   13020     enable_dlopen=no
   13021   else
   13022     enable_dlopen=yes
   13023   fi
   13024 
   13025   case $lt_cv_dlopen in
   13026   dlopen)
   13027     save_CPPFLAGS=$CPPFLAGS
   13028     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13029 
   13030     save_LDFLAGS=$LDFLAGS
   13031     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13032 
   13033     save_LIBS=$LIBS
   13034     LIBS="$lt_cv_dlopen_libs $LIBS"
   13035 
   13036     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13037 printf %s "checking whether a program can dlopen itself... " >&6; }
   13038 if test ${lt_cv_dlopen_self+y}
   13039 then :
   13040   printf %s "(cached) " >&6
   13041 else case e in #(
   13042   e) 	  if test yes = "$cross_compiling"; then :
   13043   lt_cv_dlopen_self=cross
   13044 else
   13045   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13046   lt_status=$lt_dlunknown
   13047   cat > conftest.$ac_ext <<_LT_EOF
   13048 #line $LINENO "configure"
   13049 #include "confdefs.h"
   13050 
   13051 #if HAVE_DLFCN_H
   13052 #include <dlfcn.h>
   13053 #endif
   13054 
   13055 #include <stdio.h>
   13056 
   13057 #ifdef RTLD_GLOBAL
   13058 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13059 #else
   13060 #  ifdef DL_GLOBAL
   13061 #    define LT_DLGLOBAL		DL_GLOBAL
   13062 #  else
   13063 #    define LT_DLGLOBAL		0
   13064 #  endif
   13065 #endif
   13066 
   13067 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13068    find out it does not work in some platform. */
   13069 #ifndef LT_DLLAZY_OR_NOW
   13070 #  ifdef RTLD_LAZY
   13071 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13072 #  else
   13073 #    ifdef DL_LAZY
   13074 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13075 #    else
   13076 #      ifdef RTLD_NOW
   13077 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13078 #      else
   13079 #        ifdef DL_NOW
   13080 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13081 #        else
   13082 #          define LT_DLLAZY_OR_NOW	0
   13083 #        endif
   13084 #      endif
   13085 #    endif
   13086 #  endif
   13087 #endif
   13088 
   13089 /* When -fvisibility=hidden is used, assume the code has been annotated
   13090    correspondingly for the symbols needed.  */
   13091 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13092 int fnord () __attribute__((visibility("default")));
   13093 #endif
   13094 
   13095 int fnord () { return 42; }
   13096 int main ()
   13097 {
   13098   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13099   int status = $lt_dlunknown;
   13100 
   13101   if (self)
   13102     {
   13103       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13104       else
   13105         {
   13106 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13107           else puts (dlerror ());
   13108 	}
   13109       /* dlclose (self); */
   13110     }
   13111   else
   13112     puts (dlerror ());
   13113 
   13114   return status;
   13115 }
   13116 _LT_EOF
   13117   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13118   (eval $ac_link) 2>&5
   13119   ac_status=$?
   13120   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13121   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13122     (./conftest; exit; ) >&5 2>/dev/null
   13123     lt_status=$?
   13124     case x$lt_status in
   13125       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13126       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13127       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13128     esac
   13129   else :
   13130     # compilation failed
   13131     lt_cv_dlopen_self=no
   13132   fi
   13133 fi
   13134 rm -fr conftest*
   13135 
   13136      ;;
   13137 esac
   13138 fi
   13139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13140 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13141 
   13142     if test yes = "$lt_cv_dlopen_self"; then
   13143       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13144       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13145 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13146 if test ${lt_cv_dlopen_self_static+y}
   13147 then :
   13148   printf %s "(cached) " >&6
   13149 else case e in #(
   13150   e) 	  if test yes = "$cross_compiling"; then :
   13151   lt_cv_dlopen_self_static=cross
   13152 else
   13153   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13154   lt_status=$lt_dlunknown
   13155   cat > conftest.$ac_ext <<_LT_EOF
   13156 #line $LINENO "configure"
   13157 #include "confdefs.h"
   13158 
   13159 #if HAVE_DLFCN_H
   13160 #include <dlfcn.h>
   13161 #endif
   13162 
   13163 #include <stdio.h>
   13164 
   13165 #ifdef RTLD_GLOBAL
   13166 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13167 #else
   13168 #  ifdef DL_GLOBAL
   13169 #    define LT_DLGLOBAL		DL_GLOBAL
   13170 #  else
   13171 #    define LT_DLGLOBAL		0
   13172 #  endif
   13173 #endif
   13174 
   13175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13176    find out it does not work in some platform. */
   13177 #ifndef LT_DLLAZY_OR_NOW
   13178 #  ifdef RTLD_LAZY
   13179 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13180 #  else
   13181 #    ifdef DL_LAZY
   13182 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13183 #    else
   13184 #      ifdef RTLD_NOW
   13185 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13186 #      else
   13187 #        ifdef DL_NOW
   13188 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13189 #        else
   13190 #          define LT_DLLAZY_OR_NOW	0
   13191 #        endif
   13192 #      endif
   13193 #    endif
   13194 #  endif
   13195 #endif
   13196 
   13197 /* When -fvisibility=hidden is used, assume the code has been annotated
   13198    correspondingly for the symbols needed.  */
   13199 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13200 int fnord () __attribute__((visibility("default")));
   13201 #endif
   13202 
   13203 int fnord () { return 42; }
   13204 int main ()
   13205 {
   13206   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13207   int status = $lt_dlunknown;
   13208 
   13209   if (self)
   13210     {
   13211       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13212       else
   13213         {
   13214 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13215           else puts (dlerror ());
   13216 	}
   13217       /* dlclose (self); */
   13218     }
   13219   else
   13220     puts (dlerror ());
   13221 
   13222   return status;
   13223 }
   13224 _LT_EOF
   13225   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13226   (eval $ac_link) 2>&5
   13227   ac_status=$?
   13228   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13229   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13230     (./conftest; exit; ) >&5 2>/dev/null
   13231     lt_status=$?
   13232     case x$lt_status in
   13233       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13234       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13235       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13236     esac
   13237   else :
   13238     # compilation failed
   13239     lt_cv_dlopen_self_static=no
   13240   fi
   13241 fi
   13242 rm -fr conftest*
   13243 
   13244        ;;
   13245 esac
   13246 fi
   13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13248 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13249     fi
   13250 
   13251     CPPFLAGS=$save_CPPFLAGS
   13252     LDFLAGS=$save_LDFLAGS
   13253     LIBS=$save_LIBS
   13254     ;;
   13255   esac
   13256 
   13257   case $lt_cv_dlopen_self in
   13258   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13259   *) enable_dlopen_self=unknown ;;
   13260   esac
   13261 
   13262   case $lt_cv_dlopen_self_static in
   13263   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13264   *) enable_dlopen_self_static=unknown ;;
   13265   esac
   13266 fi
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 striplib=
   13285 old_striplib=
   13286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13287 printf %s "checking whether stripping libraries is possible... " >&6; }
   13288 if test -z "$STRIP"; then
   13289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13290 printf "%s\n" "no" >&6; }
   13291 else
   13292   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13293     old_striplib="$STRIP --strip-debug"
   13294     striplib="$STRIP --strip-unneeded"
   13295     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13296 printf "%s\n" "yes" >&6; }
   13297   else
   13298     case $host_os in
   13299     darwin*)
   13300       # FIXME - insert some real tests, host_os isn't really good enough
   13301       striplib="$STRIP -x"
   13302       old_striplib="$STRIP -S"
   13303       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13304 printf "%s\n" "yes" >&6; }
   13305       ;;
   13306     freebsd*)
   13307       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13308         old_striplib="$STRIP --strip-debug"
   13309         striplib="$STRIP --strip-unneeded"
   13310         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13311 printf "%s\n" "yes" >&6; }
   13312       else
   13313         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13314 printf "%s\n" "no" >&6; }
   13315       fi
   13316       ;;
   13317     *)
   13318       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13319 printf "%s\n" "no" >&6; }
   13320       ;;
   13321     esac
   13322   fi
   13323 fi
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336   # Report what library types will actually be built
   13337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13338 printf %s "checking if libtool supports shared libraries... " >&6; }
   13339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13340 printf "%s\n" "$can_build_shared" >&6; }
   13341 
   13342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13343 printf %s "checking whether to build shared libraries... " >&6; }
   13344   test no = "$can_build_shared" && enable_shared=no
   13345 
   13346   # On AIX, shared libraries and static libraries use the same namespace, and
   13347   # are all built from PIC.
   13348   case $host_os in
   13349   aix3*)
   13350     test yes = "$enable_shared" && enable_static=no
   13351     if test -n "$RANLIB"; then
   13352       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13353       postinstall_cmds='$RANLIB $lib'
   13354     fi
   13355     ;;
   13356 
   13357   aix[4-9]*)
   13358     if test ia64 != "$host_cpu"; then
   13359       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13360       yes,aix,yes) ;;			# shared object as lib.so file only
   13361       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13362       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13363       esac
   13364     fi
   13365     ;;
   13366   esac
   13367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13368 printf "%s\n" "$enable_shared" >&6; }
   13369 
   13370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13371 printf %s "checking whether to build static libraries... " >&6; }
   13372   # Make sure either enable_shared or enable_static is yes.
   13373   test yes = "$enable_shared" || enable_static=yes
   13374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13375 printf "%s\n" "$enable_static" >&6; }
   13376 
   13377 
   13378 
   13379 
   13380 fi
   13381 ac_ext=c
   13382 ac_cpp='$CPP $CPPFLAGS'
   13383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13386 
   13387 CC=$lt_save_CC
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403         ac_config_commands="$ac_config_commands libtool"
   13404 
   13405 
   13406 
   13407 
   13408 # Only expand once:
   13409 
   13410 
   13411 
   13412 # Check whether --enable-largefile was given.
   13413 if test ${enable_largefile+y}
   13414 then :
   13415   enableval=$enable_largefile;
   13416 fi
   13417 if test "$enable_largefile,$enable_year2038" != no,no
   13418 then :
   13419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   13420 printf %s "checking for $CC option to enable large file support... " >&6; }
   13421 if test ${ac_cv_sys_largefile_opts+y}
   13422 then :
   13423   printf %s "(cached) " >&6
   13424 else case e in #(
   13425   e) ac_save_CC="$CC"
   13426   ac_opt_found=no
   13427   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   13428     if test x"$ac_opt" != x"none needed"
   13429 then :
   13430   CC="$ac_save_CC $ac_opt"
   13431 fi
   13432     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13433 /* end confdefs.h.  */
   13434 #include <sys/types.h>
   13435 #ifndef FTYPE
   13436 # define FTYPE off_t
   13437 #endif
   13438  /* Check that FTYPE can represent 2**63 - 1 correctly.
   13439     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   13440     since some C++ compilers masquerading as C compilers
   13441     incorrectly reject 9223372036854775807.  */
   13442 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   13443   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   13444 		       && LARGE_FTYPE % 2147483647 == 1)
   13445 		      ? 1 : -1];
   13446 int
   13447 main (void)
   13448 {
   13449 
   13450   ;
   13451   return 0;
   13452 }
   13453 _ACEOF
   13454 if ac_fn_c_try_compile "$LINENO"
   13455 then :
   13456   if test x"$ac_opt" = x"none needed"
   13457 then :
   13458   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   13459 	 CC="$CC -DFTYPE=ino_t"
   13460 	 if ac_fn_c_try_compile "$LINENO"
   13461 then :
   13462 
   13463 else case e in #(
   13464   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   13465 	    if ac_fn_c_try_compile "$LINENO"
   13466 then :
   13467   ac_opt='-D_FILE_OFFSET_BITS=64'
   13468 fi
   13469 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   13470 esac
   13471 fi
   13472 rm -f core conftest.err conftest.$ac_objext conftest.beam
   13473 fi
   13474       ac_cv_sys_largefile_opts=$ac_opt
   13475       ac_opt_found=yes
   13476 fi
   13477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13478     test $ac_opt_found = no || break
   13479   done
   13480   CC="$ac_save_CC"
   13481 
   13482   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   13483 esac
   13484 fi
   13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   13486 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   13487 
   13488 ac_have_largefile=yes
   13489 case $ac_cv_sys_largefile_opts in #(
   13490   "none needed") :
   13491      ;; #(
   13492   "supported through gnulib") :
   13493      ;; #(
   13494   "support not detected") :
   13495     ac_have_largefile=no ;; #(
   13496   "-D_FILE_OFFSET_BITS=64") :
   13497 
   13498 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   13499  ;; #(
   13500   "-D_LARGE_FILES=1") :
   13501 
   13502 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   13503  ;; #(
   13504   "-n32") :
   13505     CC="$CC -n32" ;; #(
   13506   *) :
   13507     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   13508 esac
   13509 
   13510 if test "$enable_year2038" != no
   13511 then :
   13512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   13513 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   13514 if test ${ac_cv_sys_year2038_opts+y}
   13515 then :
   13516   printf %s "(cached) " >&6
   13517 else case e in #(
   13518   e) ac_save_CPPFLAGS="$CPPFLAGS"
   13519   ac_opt_found=no
   13520   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   13521     if test x"$ac_opt" != x"none needed"
   13522 then :
   13523   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   13524 fi
   13525     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13526 /* end confdefs.h.  */
   13527 
   13528   #include <time.h>
   13529   /* Check that time_t can represent 2**32 - 1 correctly.  */
   13530   #define LARGE_TIME_T \\
   13531     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   13532   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   13533                            && LARGE_TIME_T % 65537 == 0)
   13534                           ? 1 : -1];
   13535 
   13536 int
   13537 main (void)
   13538 {
   13539 
   13540   ;
   13541   return 0;
   13542 }
   13543 _ACEOF
   13544 if ac_fn_c_try_compile "$LINENO"
   13545 then :
   13546   ac_cv_sys_year2038_opts="$ac_opt"
   13547       ac_opt_found=yes
   13548 fi
   13549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13550     test $ac_opt_found = no || break
   13551   done
   13552   CPPFLAGS="$ac_save_CPPFLAGS"
   13553   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   13554 esac
   13555 fi
   13556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   13557 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   13558 
   13559 ac_have_year2038=yes
   13560 case $ac_cv_sys_year2038_opts in #(
   13561   "none needed") :
   13562      ;; #(
   13563   "support not detected") :
   13564     ac_have_year2038=no ;; #(
   13565   "-D_TIME_BITS=64") :
   13566 
   13567 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   13568  ;; #(
   13569   "-D__MINGW_USE_VC2005_COMPAT") :
   13570 
   13571 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   13572  ;; #(
   13573   "-U_USE_32_BIT_TIME_T"*) :
   13574     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13575 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13576 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   13577 will stop working after mid-January 2038. Remove
   13578 _USE_32BIT_TIME_T from the compiler flags.
   13579 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13580   *) :
   13581     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   13582 esac
   13583 
   13584 fi
   13585 
   13586 fi
   13587 
   13588 # Require xorg-macros minimum of 1.15 for fop minimum version
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13601 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13602 if test ${ac_cv_c_undeclared_builtin_options+y}
   13603 then :
   13604   printf %s "(cached) " >&6
   13605 else case e in #(
   13606   e) ac_save_CFLAGS=$CFLAGS
   13607    ac_cv_c_undeclared_builtin_options='cannot detect'
   13608    for ac_arg in '' -fno-builtin; do
   13609      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13610      # This test program should *not* compile successfully.
   13611      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13612 /* end confdefs.h.  */
   13613 
   13614 int
   13615 main (void)
   13616 {
   13617 (void) strchr;
   13618   ;
   13619   return 0;
   13620 }
   13621 _ACEOF
   13622 if ac_fn_c_try_compile "$LINENO"
   13623 then :
   13624 
   13625 else case e in #(
   13626   e) # This test program should compile successfully.
   13627         # No library function is consistently available on
   13628         # freestanding implementations, so test against a dummy
   13629         # declaration.  Include always-available headers on the
   13630         # off chance that they somehow elicit warnings.
   13631         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13632 /* end confdefs.h.  */
   13633 #include <float.h>
   13634 #include <limits.h>
   13635 #include <stdarg.h>
   13636 #include <stddef.h>
   13637 extern void ac_decl (int, char *);
   13638 
   13639 int
   13640 main (void)
   13641 {
   13642 (void) ac_decl (0, (char *) 0);
   13643   (void) ac_decl;
   13644 
   13645   ;
   13646   return 0;
   13647 }
   13648 _ACEOF
   13649 if ac_fn_c_try_compile "$LINENO"
   13650 then :
   13651   if test x"$ac_arg" = x
   13652 then :
   13653   ac_cv_c_undeclared_builtin_options='none needed'
   13654 else case e in #(
   13655   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13656 esac
   13657 fi
   13658           break
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13661 esac
   13662 fi
   13663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13664     done
   13665     CFLAGS=$ac_save_CFLAGS
   13666    ;;
   13667 esac
   13668 fi
   13669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13670 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13671   case $ac_cv_c_undeclared_builtin_options in #(
   13672   'cannot detect') :
   13673     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13674 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13675 as_fn_error $? "cannot make $CC report undeclared builtins
   13676 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13677   'none needed') :
   13678     ac_c_undeclared_builtin_options='' ;; #(
   13679   *) :
   13680     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13681 esac
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13688 if test "x$ac_cv_have_decl___clang__" = xyes
   13689 then :
   13690   CLANGCC="yes"
   13691 else case e in #(
   13692   e) CLANGCC="no" ;;
   13693 esac
   13694 fi
   13695 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13696 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13697 then :
   13698   INTELCC="yes"
   13699 else case e in #(
   13700   e) INTELCC="no" ;;
   13701 esac
   13702 fi
   13703 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13704 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13705 then :
   13706   SUNCC="yes"
   13707 else case e in #(
   13708   e) SUNCC="no" ;;
   13709 esac
   13710 fi
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13720 	if test -n "$ac_tool_prefix"; then
   13721   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13722 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13724 printf %s "checking for $ac_word... " >&6; }
   13725 if test ${ac_cv_path_PKG_CONFIG+y}
   13726 then :
   13727   printf %s "(cached) " >&6
   13728 else case e in #(
   13729   e) case $PKG_CONFIG in
   13730   [\\/]* | ?:[\\/]*)
   13731   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13732   ;;
   13733   *)
   13734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13735 for as_dir in $PATH
   13736 do
   13737   IFS=$as_save_IFS
   13738   case $as_dir in #(((
   13739     '') as_dir=./ ;;
   13740     */) ;;
   13741     *) as_dir=$as_dir/ ;;
   13742   esac
   13743     for ac_exec_ext in '' $ac_executable_extensions; do
   13744   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13745     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13746     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13747     break 2
   13748   fi
   13749 done
   13750   done
   13751 IFS=$as_save_IFS
   13752 
   13753   ;;
   13754 esac ;;
   13755 esac
   13756 fi
   13757 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13758 if test -n "$PKG_CONFIG"; then
   13759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13760 printf "%s\n" "$PKG_CONFIG" >&6; }
   13761 else
   13762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13763 printf "%s\n" "no" >&6; }
   13764 fi
   13765 
   13766 
   13767 fi
   13768 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13769   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13770   # Extract the first word of "pkg-config", so it can be a program name with args.
   13771 set dummy pkg-config; ac_word=$2
   13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13773 printf %s "checking for $ac_word... " >&6; }
   13774 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13775 then :
   13776   printf %s "(cached) " >&6
   13777 else case e in #(
   13778   e) case $ac_pt_PKG_CONFIG in
   13779   [\\/]* | ?:[\\/]*)
   13780   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13781   ;;
   13782   *)
   13783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13784 for as_dir in $PATH
   13785 do
   13786   IFS=$as_save_IFS
   13787   case $as_dir in #(((
   13788     '') as_dir=./ ;;
   13789     */) ;;
   13790     *) as_dir=$as_dir/ ;;
   13791   esac
   13792     for ac_exec_ext in '' $ac_executable_extensions; do
   13793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13794     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13796     break 2
   13797   fi
   13798 done
   13799   done
   13800 IFS=$as_save_IFS
   13801 
   13802   ;;
   13803 esac ;;
   13804 esac
   13805 fi
   13806 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13807 if test -n "$ac_pt_PKG_CONFIG"; then
   13808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13809 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13810 else
   13811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13812 printf "%s\n" "no" >&6; }
   13813 fi
   13814 
   13815   if test "x$ac_pt_PKG_CONFIG" = x; then
   13816     PKG_CONFIG=""
   13817   else
   13818     case $cross_compiling:$ac_tool_warned in
   13819 yes:)
   13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13822 ac_tool_warned=yes ;;
   13823 esac
   13824     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13825   fi
   13826 else
   13827   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13828 fi
   13829 
   13830 fi
   13831 if test -n "$PKG_CONFIG"; then
   13832 	_pkg_min_version=0.9.0
   13833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13834 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13835 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13837 printf "%s\n" "yes" >&6; }
   13838 	else
   13839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13840 printf "%s\n" "no" >&6; }
   13841 		PKG_CONFIG=""
   13842 	fi
   13843 fi
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 # Check whether --enable-selective-werror was given.
   13850 if test ${enable_selective_werror+y}
   13851 then :
   13852   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13853 else case e in #(
   13854   e) SELECTIVE_WERROR=yes ;;
   13855 esac
   13856 fi
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13863 if test "x$SUNCC" = "xyes"; then
   13864     BASE_CFLAGS="-v"
   13865 else
   13866     BASE_CFLAGS=""
   13867 fi
   13868 
   13869 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 xorg_testset_save_CFLAGS="$CFLAGS"
   13884 
   13885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13890 then :
   13891   printf %s "(cached) " >&6
   13892 else case e in #(
   13893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13894 /* end confdefs.h.  */
   13895 int i;
   13896 _ACEOF
   13897 if ac_fn_c_try_compile "$LINENO"
   13898 then :
   13899   xorg_cv_cc_flag_unknown_warning_option=yes
   13900 else case e in #(
   13901   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13902 esac
   13903 fi
   13904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13905 esac
   13906 fi
   13907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13908 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13910 	CFLAGS="$xorg_testset_save_CFLAGS"
   13911 fi
   13912 
   13913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13916 	fi
   13917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13919 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13920 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13921 then :
   13922   printf %s "(cached) " >&6
   13923 else case e in #(
   13924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13925 /* end confdefs.h.  */
   13926 int i;
   13927 _ACEOF
   13928 if ac_fn_c_try_compile "$LINENO"
   13929 then :
   13930   xorg_cv_cc_flag_unused_command_line_argument=yes
   13931 else case e in #(
   13932   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13933 esac
   13934 fi
   13935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13936 esac
   13937 fi
   13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13939 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13941 	CFLAGS="$xorg_testset_save_CFLAGS"
   13942 fi
   13943 
   13944 found="no"
   13945 
   13946 	if test $found = "no" ; then
   13947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13949 		fi
   13950 
   13951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13953 		fi
   13954 
   13955 		CFLAGS="$CFLAGS -Wall"
   13956 
   13957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13958 printf %s "checking if $CC supports -Wall... " >&6; }
   13959 		cacheid=xorg_cv_cc_flag__Wall
   13960 		if eval test \${$cacheid+y}
   13961 then :
   13962   printf %s "(cached) " >&6
   13963 else case e in #(
   13964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13965 /* end confdefs.h.  */
   13966 int i;
   13967 int
   13968 main (void)
   13969 {
   13970 
   13971   ;
   13972   return 0;
   13973 }
   13974 _ACEOF
   13975 if ac_fn_c_try_link "$LINENO"
   13976 then :
   13977   eval $cacheid=yes
   13978 else case e in #(
   13979   e) eval $cacheid=no ;;
   13980 esac
   13981 fi
   13982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13983     conftest$ac_exeext conftest.$ac_ext ;;
   13984 esac
   13985 fi
   13986 
   13987 
   13988 		CFLAGS="$xorg_testset_save_CFLAGS"
   13989 
   13990 		eval supported=\$$cacheid
   13991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13992 printf "%s\n" "$supported" >&6; }
   13993 		if test "$supported" = "yes" ; then
   13994 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13995 			found="yes"
   13996 		fi
   13997 	fi
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 xorg_testset_save_CFLAGS="$CFLAGS"
   14014 
   14015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14020 then :
   14021   printf %s "(cached) " >&6
   14022 else case e in #(
   14023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14024 /* end confdefs.h.  */
   14025 int i;
   14026 _ACEOF
   14027 if ac_fn_c_try_compile "$LINENO"
   14028 then :
   14029   xorg_cv_cc_flag_unknown_warning_option=yes
   14030 else case e in #(
   14031   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14032 esac
   14033 fi
   14034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14035 esac
   14036 fi
   14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14040 	CFLAGS="$xorg_testset_save_CFLAGS"
   14041 fi
   14042 
   14043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14046 	fi
   14047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14051 then :
   14052   printf %s "(cached) " >&6
   14053 else case e in #(
   14054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14055 /* end confdefs.h.  */
   14056 int i;
   14057 _ACEOF
   14058 if ac_fn_c_try_compile "$LINENO"
   14059 then :
   14060   xorg_cv_cc_flag_unused_command_line_argument=yes
   14061 else case e in #(
   14062   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14063 esac
   14064 fi
   14065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14066 esac
   14067 fi
   14068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14071 	CFLAGS="$xorg_testset_save_CFLAGS"
   14072 fi
   14073 
   14074 found="no"
   14075 
   14076 	if test $found = "no" ; then
   14077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14079 		fi
   14080 
   14081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14083 		fi
   14084 
   14085 		CFLAGS="$CFLAGS -Wpointer-arith"
   14086 
   14087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14088 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14089 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14090 		if eval test \${$cacheid+y}
   14091 then :
   14092   printf %s "(cached) " >&6
   14093 else case e in #(
   14094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14095 /* end confdefs.h.  */
   14096 int i;
   14097 int
   14098 main (void)
   14099 {
   14100 
   14101   ;
   14102   return 0;
   14103 }
   14104 _ACEOF
   14105 if ac_fn_c_try_link "$LINENO"
   14106 then :
   14107   eval $cacheid=yes
   14108 else case e in #(
   14109   e) eval $cacheid=no ;;
   14110 esac
   14111 fi
   14112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14113     conftest$ac_exeext conftest.$ac_ext ;;
   14114 esac
   14115 fi
   14116 
   14117 
   14118 		CFLAGS="$xorg_testset_save_CFLAGS"
   14119 
   14120 		eval supported=\$$cacheid
   14121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14122 printf "%s\n" "$supported" >&6; }
   14123 		if test "$supported" = "yes" ; then
   14124 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14125 			found="yes"
   14126 		fi
   14127 	fi
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 xorg_testset_save_CFLAGS="$CFLAGS"
   14144 
   14145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14148 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14149 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14150 then :
   14151   printf %s "(cached) " >&6
   14152 else case e in #(
   14153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14154 /* end confdefs.h.  */
   14155 int i;
   14156 _ACEOF
   14157 if ac_fn_c_try_compile "$LINENO"
   14158 then :
   14159   xorg_cv_cc_flag_unknown_warning_option=yes
   14160 else case e in #(
   14161   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14162 esac
   14163 fi
   14164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14165 esac
   14166 fi
   14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14170 	CFLAGS="$xorg_testset_save_CFLAGS"
   14171 fi
   14172 
   14173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14176 	fi
   14177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14181 then :
   14182   printf %s "(cached) " >&6
   14183 else case e in #(
   14184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14185 /* end confdefs.h.  */
   14186 int i;
   14187 _ACEOF
   14188 if ac_fn_c_try_compile "$LINENO"
   14189 then :
   14190   xorg_cv_cc_flag_unused_command_line_argument=yes
   14191 else case e in #(
   14192   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14193 esac
   14194 fi
   14195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14196 esac
   14197 fi
   14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14201 	CFLAGS="$xorg_testset_save_CFLAGS"
   14202 fi
   14203 
   14204 found="no"
   14205 
   14206 	if test $found = "no" ; then
   14207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14209 		fi
   14210 
   14211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14213 		fi
   14214 
   14215 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14216 
   14217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14218 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14219 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14220 		if eval test \${$cacheid+y}
   14221 then :
   14222   printf %s "(cached) " >&6
   14223 else case e in #(
   14224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14225 /* end confdefs.h.  */
   14226 int i;
   14227 int
   14228 main (void)
   14229 {
   14230 
   14231   ;
   14232   return 0;
   14233 }
   14234 _ACEOF
   14235 if ac_fn_c_try_link "$LINENO"
   14236 then :
   14237   eval $cacheid=yes
   14238 else case e in #(
   14239   e) eval $cacheid=no ;;
   14240 esac
   14241 fi
   14242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14243     conftest$ac_exeext conftest.$ac_ext ;;
   14244 esac
   14245 fi
   14246 
   14247 
   14248 		CFLAGS="$xorg_testset_save_CFLAGS"
   14249 
   14250 		eval supported=\$$cacheid
   14251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14252 printf "%s\n" "$supported" >&6; }
   14253 		if test "$supported" = "yes" ; then
   14254 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14255 			found="yes"
   14256 		fi
   14257 	fi
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 xorg_testset_save_CFLAGS="$CFLAGS"
   14274 
   14275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14280 then :
   14281   printf %s "(cached) " >&6
   14282 else case e in #(
   14283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14284 /* end confdefs.h.  */
   14285 int i;
   14286 _ACEOF
   14287 if ac_fn_c_try_compile "$LINENO"
   14288 then :
   14289   xorg_cv_cc_flag_unknown_warning_option=yes
   14290 else case e in #(
   14291   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14292 esac
   14293 fi
   14294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14295 esac
   14296 fi
   14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14298 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14300 	CFLAGS="$xorg_testset_save_CFLAGS"
   14301 fi
   14302 
   14303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14306 	fi
   14307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14309 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14310 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14311 then :
   14312   printf %s "(cached) " >&6
   14313 else case e in #(
   14314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14315 /* end confdefs.h.  */
   14316 int i;
   14317 _ACEOF
   14318 if ac_fn_c_try_compile "$LINENO"
   14319 then :
   14320   xorg_cv_cc_flag_unused_command_line_argument=yes
   14321 else case e in #(
   14322   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14323 esac
   14324 fi
   14325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14326 esac
   14327 fi
   14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14329 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14331 	CFLAGS="$xorg_testset_save_CFLAGS"
   14332 fi
   14333 
   14334 found="no"
   14335 
   14336 	if test $found = "no" ; then
   14337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14339 		fi
   14340 
   14341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14343 		fi
   14344 
   14345 		CFLAGS="$CFLAGS -Wformat=2"
   14346 
   14347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14348 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14349 		cacheid=xorg_cv_cc_flag__Wformat_2
   14350 		if eval test \${$cacheid+y}
   14351 then :
   14352   printf %s "(cached) " >&6
   14353 else case e in #(
   14354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14355 /* end confdefs.h.  */
   14356 int i;
   14357 int
   14358 main (void)
   14359 {
   14360 
   14361   ;
   14362   return 0;
   14363 }
   14364 _ACEOF
   14365 if ac_fn_c_try_link "$LINENO"
   14366 then :
   14367   eval $cacheid=yes
   14368 else case e in #(
   14369   e) eval $cacheid=no ;;
   14370 esac
   14371 fi
   14372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14373     conftest$ac_exeext conftest.$ac_ext ;;
   14374 esac
   14375 fi
   14376 
   14377 
   14378 		CFLAGS="$xorg_testset_save_CFLAGS"
   14379 
   14380 		eval supported=\$$cacheid
   14381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14382 printf "%s\n" "$supported" >&6; }
   14383 		if test "$supported" = "yes" ; then
   14384 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14385 			found="yes"
   14386 		fi
   14387 	fi
   14388 
   14389 	if test $found = "no" ; then
   14390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 		fi
   14393 
   14394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14396 		fi
   14397 
   14398 		CFLAGS="$CFLAGS -Wformat"
   14399 
   14400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14401 printf %s "checking if $CC supports -Wformat... " >&6; }
   14402 		cacheid=xorg_cv_cc_flag__Wformat
   14403 		if eval test \${$cacheid+y}
   14404 then :
   14405   printf %s "(cached) " >&6
   14406 else case e in #(
   14407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14408 /* end confdefs.h.  */
   14409 int i;
   14410 int
   14411 main (void)
   14412 {
   14413 
   14414   ;
   14415   return 0;
   14416 }
   14417 _ACEOF
   14418 if ac_fn_c_try_link "$LINENO"
   14419 then :
   14420   eval $cacheid=yes
   14421 else case e in #(
   14422   e) eval $cacheid=no ;;
   14423 esac
   14424 fi
   14425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14426     conftest$ac_exeext conftest.$ac_ext ;;
   14427 esac
   14428 fi
   14429 
   14430 
   14431 		CFLAGS="$xorg_testset_save_CFLAGS"
   14432 
   14433 		eval supported=\$$cacheid
   14434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14435 printf "%s\n" "$supported" >&6; }
   14436 		if test "$supported" = "yes" ; then
   14437 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14438 			found="yes"
   14439 		fi
   14440 	fi
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 xorg_testset_save_CFLAGS="$CFLAGS"
   14459 
   14460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14463 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14464 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14465 then :
   14466   printf %s "(cached) " >&6
   14467 else case e in #(
   14468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14469 /* end confdefs.h.  */
   14470 int i;
   14471 _ACEOF
   14472 if ac_fn_c_try_compile "$LINENO"
   14473 then :
   14474   xorg_cv_cc_flag_unknown_warning_option=yes
   14475 else case e in #(
   14476   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14477 esac
   14478 fi
   14479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14480 esac
   14481 fi
   14482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14483 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14484 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14485 	CFLAGS="$xorg_testset_save_CFLAGS"
   14486 fi
   14487 
   14488 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14489 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14491 	fi
   14492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14494 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14495 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14496 then :
   14497   printf %s "(cached) " >&6
   14498 else case e in #(
   14499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14500 /* end confdefs.h.  */
   14501 int i;
   14502 _ACEOF
   14503 if ac_fn_c_try_compile "$LINENO"
   14504 then :
   14505   xorg_cv_cc_flag_unused_command_line_argument=yes
   14506 else case e in #(
   14507   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14508 esac
   14509 fi
   14510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14511 esac
   14512 fi
   14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14516 	CFLAGS="$xorg_testset_save_CFLAGS"
   14517 fi
   14518 
   14519 found="no"
   14520 
   14521 	if test $found = "no" ; then
   14522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14524 		fi
   14525 
   14526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14528 		fi
   14529 
   14530 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14531 
   14532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14533 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14534 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14535 		if eval test \${$cacheid+y}
   14536 then :
   14537   printf %s "(cached) " >&6
   14538 else case e in #(
   14539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14540 /* end confdefs.h.  */
   14541 int i;
   14542 int
   14543 main (void)
   14544 {
   14545 
   14546   ;
   14547   return 0;
   14548 }
   14549 _ACEOF
   14550 if ac_fn_c_try_link "$LINENO"
   14551 then :
   14552   eval $cacheid=yes
   14553 else case e in #(
   14554   e) eval $cacheid=no ;;
   14555 esac
   14556 fi
   14557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14558     conftest$ac_exeext conftest.$ac_ext ;;
   14559 esac
   14560 fi
   14561 
   14562 
   14563 		CFLAGS="$xorg_testset_save_CFLAGS"
   14564 
   14565 		eval supported=\$$cacheid
   14566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14567 printf "%s\n" "$supported" >&6; }
   14568 		if test "$supported" = "yes" ; then
   14569 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14570 			found="yes"
   14571 		fi
   14572 	fi
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 xorg_testset_save_CFLAGS="$CFLAGS"
   14589 
   14590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14595 then :
   14596   printf %s "(cached) " >&6
   14597 else case e in #(
   14598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14599 /* end confdefs.h.  */
   14600 int i;
   14601 _ACEOF
   14602 if ac_fn_c_try_compile "$LINENO"
   14603 then :
   14604   xorg_cv_cc_flag_unknown_warning_option=yes
   14605 else case e in #(
   14606   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14607 esac
   14608 fi
   14609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14610 esac
   14611 fi
   14612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14615 	CFLAGS="$xorg_testset_save_CFLAGS"
   14616 fi
   14617 
   14618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14621 	fi
   14622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14626 then :
   14627   printf %s "(cached) " >&6
   14628 else case e in #(
   14629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14630 /* end confdefs.h.  */
   14631 int i;
   14632 _ACEOF
   14633 if ac_fn_c_try_compile "$LINENO"
   14634 then :
   14635   xorg_cv_cc_flag_unused_command_line_argument=yes
   14636 else case e in #(
   14637   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14638 esac
   14639 fi
   14640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14641 esac
   14642 fi
   14643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14644 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14646 	CFLAGS="$xorg_testset_save_CFLAGS"
   14647 fi
   14648 
   14649 found="no"
   14650 
   14651 	if test $found = "no" ; then
   14652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14654 		fi
   14655 
   14656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14658 		fi
   14659 
   14660 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14661 
   14662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14663 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14664 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14665 		if eval test \${$cacheid+y}
   14666 then :
   14667   printf %s "(cached) " >&6
   14668 else case e in #(
   14669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14670 /* end confdefs.h.  */
   14671 int i;
   14672 int
   14673 main (void)
   14674 {
   14675 
   14676   ;
   14677   return 0;
   14678 }
   14679 _ACEOF
   14680 if ac_fn_c_try_link "$LINENO"
   14681 then :
   14682   eval $cacheid=yes
   14683 else case e in #(
   14684   e) eval $cacheid=no ;;
   14685 esac
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14688     conftest$ac_exeext conftest.$ac_ext ;;
   14689 esac
   14690 fi
   14691 
   14692 
   14693 		CFLAGS="$xorg_testset_save_CFLAGS"
   14694 
   14695 		eval supported=\$$cacheid
   14696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14697 printf "%s\n" "$supported" >&6; }
   14698 		if test "$supported" = "yes" ; then
   14699 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14700 			found="yes"
   14701 		fi
   14702 	fi
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 xorg_testset_save_CFLAGS="$CFLAGS"
   14719 
   14720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14725 then :
   14726   printf %s "(cached) " >&6
   14727 else case e in #(
   14728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14729 /* end confdefs.h.  */
   14730 int i;
   14731 _ACEOF
   14732 if ac_fn_c_try_compile "$LINENO"
   14733 then :
   14734   xorg_cv_cc_flag_unknown_warning_option=yes
   14735 else case e in #(
   14736   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14737 esac
   14738 fi
   14739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14740 esac
   14741 fi
   14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14743 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14745 	CFLAGS="$xorg_testset_save_CFLAGS"
   14746 fi
   14747 
   14748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14751 	fi
   14752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14754 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14755 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14756 then :
   14757   printf %s "(cached) " >&6
   14758 else case e in #(
   14759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14760 /* end confdefs.h.  */
   14761 int i;
   14762 _ACEOF
   14763 if ac_fn_c_try_compile "$LINENO"
   14764 then :
   14765   xorg_cv_cc_flag_unused_command_line_argument=yes
   14766 else case e in #(
   14767   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14768 esac
   14769 fi
   14770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14771 esac
   14772 fi
   14773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14774 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14776 	CFLAGS="$xorg_testset_save_CFLAGS"
   14777 fi
   14778 
   14779 found="no"
   14780 
   14781 	if test $found = "no" ; then
   14782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14784 		fi
   14785 
   14786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14788 		fi
   14789 
   14790 		CFLAGS="$CFLAGS -Wnested-externs"
   14791 
   14792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14793 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14794 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14795 		if eval test \${$cacheid+y}
   14796 then :
   14797   printf %s "(cached) " >&6
   14798 else case e in #(
   14799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14800 /* end confdefs.h.  */
   14801 int i;
   14802 int
   14803 main (void)
   14804 {
   14805 
   14806   ;
   14807   return 0;
   14808 }
   14809 _ACEOF
   14810 if ac_fn_c_try_link "$LINENO"
   14811 then :
   14812   eval $cacheid=yes
   14813 else case e in #(
   14814   e) eval $cacheid=no ;;
   14815 esac
   14816 fi
   14817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14818     conftest$ac_exeext conftest.$ac_ext ;;
   14819 esac
   14820 fi
   14821 
   14822 
   14823 		CFLAGS="$xorg_testset_save_CFLAGS"
   14824 
   14825 		eval supported=\$$cacheid
   14826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14827 printf "%s\n" "$supported" >&6; }
   14828 		if test "$supported" = "yes" ; then
   14829 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14830 			found="yes"
   14831 		fi
   14832 	fi
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 xorg_testset_save_CFLAGS="$CFLAGS"
   14849 
   14850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14855 then :
   14856   printf %s "(cached) " >&6
   14857 else case e in #(
   14858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14859 /* end confdefs.h.  */
   14860 int i;
   14861 _ACEOF
   14862 if ac_fn_c_try_compile "$LINENO"
   14863 then :
   14864   xorg_cv_cc_flag_unknown_warning_option=yes
   14865 else case e in #(
   14866   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14867 esac
   14868 fi
   14869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14870 esac
   14871 fi
   14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14873 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14875 	CFLAGS="$xorg_testset_save_CFLAGS"
   14876 fi
   14877 
   14878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14881 	fi
   14882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14884 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14885 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14886 then :
   14887   printf %s "(cached) " >&6
   14888 else case e in #(
   14889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14890 /* end confdefs.h.  */
   14891 int i;
   14892 _ACEOF
   14893 if ac_fn_c_try_compile "$LINENO"
   14894 then :
   14895   xorg_cv_cc_flag_unused_command_line_argument=yes
   14896 else case e in #(
   14897   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14898 esac
   14899 fi
   14900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14901 esac
   14902 fi
   14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14904 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14906 	CFLAGS="$xorg_testset_save_CFLAGS"
   14907 fi
   14908 
   14909 found="no"
   14910 
   14911 	if test $found = "no" ; then
   14912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14914 		fi
   14915 
   14916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14918 		fi
   14919 
   14920 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14921 
   14922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14923 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14924 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14925 		if eval test \${$cacheid+y}
   14926 then :
   14927   printf %s "(cached) " >&6
   14928 else case e in #(
   14929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14930 /* end confdefs.h.  */
   14931 int i;
   14932 int
   14933 main (void)
   14934 {
   14935 
   14936   ;
   14937   return 0;
   14938 }
   14939 _ACEOF
   14940 if ac_fn_c_try_link "$LINENO"
   14941 then :
   14942   eval $cacheid=yes
   14943 else case e in #(
   14944   e) eval $cacheid=no ;;
   14945 esac
   14946 fi
   14947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14948     conftest$ac_exeext conftest.$ac_ext ;;
   14949 esac
   14950 fi
   14951 
   14952 
   14953 		CFLAGS="$xorg_testset_save_CFLAGS"
   14954 
   14955 		eval supported=\$$cacheid
   14956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14957 printf "%s\n" "$supported" >&6; }
   14958 		if test "$supported" = "yes" ; then
   14959 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14960 			found="yes"
   14961 		fi
   14962 	fi
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 xorg_testset_save_CFLAGS="$CFLAGS"
   14979 
   14980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14985 then :
   14986   printf %s "(cached) " >&6
   14987 else case e in #(
   14988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14989 /* end confdefs.h.  */
   14990 int i;
   14991 _ACEOF
   14992 if ac_fn_c_try_compile "$LINENO"
   14993 then :
   14994   xorg_cv_cc_flag_unknown_warning_option=yes
   14995 else case e in #(
   14996   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14997 esac
   14998 fi
   14999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15000 esac
   15001 fi
   15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15003 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15005 	CFLAGS="$xorg_testset_save_CFLAGS"
   15006 fi
   15007 
   15008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15011 	fi
   15012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15014 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15015 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15016 then :
   15017   printf %s "(cached) " >&6
   15018 else case e in #(
   15019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15020 /* end confdefs.h.  */
   15021 int i;
   15022 _ACEOF
   15023 if ac_fn_c_try_compile "$LINENO"
   15024 then :
   15025   xorg_cv_cc_flag_unused_command_line_argument=yes
   15026 else case e in #(
   15027   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15028 esac
   15029 fi
   15030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15031 esac
   15032 fi
   15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15034 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15036 	CFLAGS="$xorg_testset_save_CFLAGS"
   15037 fi
   15038 
   15039 found="no"
   15040 
   15041 	if test $found = "no" ; then
   15042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15044 		fi
   15045 
   15046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15048 		fi
   15049 
   15050 		CFLAGS="$CFLAGS -Wold-style-definition"
   15051 
   15052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15053 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15054 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15055 		if eval test \${$cacheid+y}
   15056 then :
   15057   printf %s "(cached) " >&6
   15058 else case e in #(
   15059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15060 /* end confdefs.h.  */
   15061 int i;
   15062 int
   15063 main (void)
   15064 {
   15065 
   15066   ;
   15067   return 0;
   15068 }
   15069 _ACEOF
   15070 if ac_fn_c_try_link "$LINENO"
   15071 then :
   15072   eval $cacheid=yes
   15073 else case e in #(
   15074   e) eval $cacheid=no ;;
   15075 esac
   15076 fi
   15077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15078     conftest$ac_exeext conftest.$ac_ext ;;
   15079 esac
   15080 fi
   15081 
   15082 
   15083 		CFLAGS="$xorg_testset_save_CFLAGS"
   15084 
   15085 		eval supported=\$$cacheid
   15086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15087 printf "%s\n" "$supported" >&6; }
   15088 		if test "$supported" = "yes" ; then
   15089 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15090 			found="yes"
   15091 		fi
   15092 	fi
   15093 
   15094 	if test $found = "no" ; then
   15095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15097 		fi
   15098 
   15099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15101 		fi
   15102 
   15103 		CFLAGS="$CFLAGS -fd"
   15104 
   15105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15106 printf %s "checking if $CC supports -fd... " >&6; }
   15107 		cacheid=xorg_cv_cc_flag__fd
   15108 		if eval test \${$cacheid+y}
   15109 then :
   15110   printf %s "(cached) " >&6
   15111 else case e in #(
   15112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15113 /* end confdefs.h.  */
   15114 int i;
   15115 int
   15116 main (void)
   15117 {
   15118 
   15119   ;
   15120   return 0;
   15121 }
   15122 _ACEOF
   15123 if ac_fn_c_try_link "$LINENO"
   15124 then :
   15125   eval $cacheid=yes
   15126 else case e in #(
   15127   e) eval $cacheid=no ;;
   15128 esac
   15129 fi
   15130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15131     conftest$ac_exeext conftest.$ac_ext ;;
   15132 esac
   15133 fi
   15134 
   15135 
   15136 		CFLAGS="$xorg_testset_save_CFLAGS"
   15137 
   15138 		eval supported=\$$cacheid
   15139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15140 printf "%s\n" "$supported" >&6; }
   15141 		if test "$supported" = "yes" ; then
   15142 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15143 			found="yes"
   15144 		fi
   15145 	fi
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 xorg_testset_save_CFLAGS="$CFLAGS"
   15162 
   15163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15166 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15167 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15168 then :
   15169   printf %s "(cached) " >&6
   15170 else case e in #(
   15171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15172 /* end confdefs.h.  */
   15173 int i;
   15174 _ACEOF
   15175 if ac_fn_c_try_compile "$LINENO"
   15176 then :
   15177   xorg_cv_cc_flag_unknown_warning_option=yes
   15178 else case e in #(
   15179   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15180 esac
   15181 fi
   15182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15183 esac
   15184 fi
   15185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15186 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15188 	CFLAGS="$xorg_testset_save_CFLAGS"
   15189 fi
   15190 
   15191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15194 	fi
   15195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15196 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15197 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15198 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15199 then :
   15200   printf %s "(cached) " >&6
   15201 else case e in #(
   15202   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15203 /* end confdefs.h.  */
   15204 int i;
   15205 _ACEOF
   15206 if ac_fn_c_try_compile "$LINENO"
   15207 then :
   15208   xorg_cv_cc_flag_unused_command_line_argument=yes
   15209 else case e in #(
   15210   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15211 esac
   15212 fi
   15213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15214 esac
   15215 fi
   15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15217 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15219 	CFLAGS="$xorg_testset_save_CFLAGS"
   15220 fi
   15221 
   15222 found="no"
   15223 
   15224 	if test $found = "no" ; then
   15225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15227 		fi
   15228 
   15229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15231 		fi
   15232 
   15233 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   15234 
   15235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   15236 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   15237 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   15238 		if eval test \${$cacheid+y}
   15239 then :
   15240   printf %s "(cached) " >&6
   15241 else case e in #(
   15242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15243 /* end confdefs.h.  */
   15244 int i;
   15245 int
   15246 main (void)
   15247 {
   15248 
   15249   ;
   15250   return 0;
   15251 }
   15252 _ACEOF
   15253 if ac_fn_c_try_link "$LINENO"
   15254 then :
   15255   eval $cacheid=yes
   15256 else case e in #(
   15257   e) eval $cacheid=no ;;
   15258 esac
   15259 fi
   15260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15261     conftest$ac_exeext conftest.$ac_ext ;;
   15262 esac
   15263 fi
   15264 
   15265 
   15266 		CFLAGS="$xorg_testset_save_CFLAGS"
   15267 
   15268 		eval supported=\$$cacheid
   15269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15270 printf "%s\n" "$supported" >&6; }
   15271 		if test "$supported" = "yes" ; then
   15272 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   15273 			found="yes"
   15274 		fi
   15275 	fi
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 # This chunk adds additional warnings that could catch undesired effects.
   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 case e in #(
   15305   e) 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 case e in #(
   15313   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15314 esac
   15315 fi
   15316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15317 esac
   15318 fi
   15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15322 	CFLAGS="$xorg_testset_save_CFLAGS"
   15323 fi
   15324 
   15325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15328 	fi
   15329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15333 then :
   15334   printf %s "(cached) " >&6
   15335 else case e in #(
   15336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15337 /* end confdefs.h.  */
   15338 int i;
   15339 _ACEOF
   15340 if ac_fn_c_try_compile "$LINENO"
   15341 then :
   15342   xorg_cv_cc_flag_unused_command_line_argument=yes
   15343 else case e in #(
   15344   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15345 esac
   15346 fi
   15347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15348 esac
   15349 fi
   15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15351 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15353 	CFLAGS="$xorg_testset_save_CFLAGS"
   15354 fi
   15355 
   15356 found="no"
   15357 
   15358 	if test $found = "no" ; then
   15359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15361 		fi
   15362 
   15363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15365 		fi
   15366 
   15367 		CFLAGS="$CFLAGS -Wunused"
   15368 
   15369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15370 printf %s "checking if $CC supports -Wunused... " >&6; }
   15371 		cacheid=xorg_cv_cc_flag__Wunused
   15372 		if eval test \${$cacheid+y}
   15373 then :
   15374   printf %s "(cached) " >&6
   15375 else case e in #(
   15376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15377 /* end confdefs.h.  */
   15378 int i;
   15379 int
   15380 main (void)
   15381 {
   15382 
   15383   ;
   15384   return 0;
   15385 }
   15386 _ACEOF
   15387 if ac_fn_c_try_link "$LINENO"
   15388 then :
   15389   eval $cacheid=yes
   15390 else case e in #(
   15391   e) eval $cacheid=no ;;
   15392 esac
   15393 fi
   15394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15395     conftest$ac_exeext conftest.$ac_ext ;;
   15396 esac
   15397 fi
   15398 
   15399 
   15400 		CFLAGS="$xorg_testset_save_CFLAGS"
   15401 
   15402 		eval supported=\$$cacheid
   15403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15404 printf "%s\n" "$supported" >&6; }
   15405 		if test "$supported" = "yes" ; then
   15406 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15407 			found="yes"
   15408 		fi
   15409 	fi
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 xorg_testset_save_CFLAGS="$CFLAGS"
   15426 
   15427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15430 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15431 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15432 then :
   15433   printf %s "(cached) " >&6
   15434 else case e in #(
   15435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15436 /* end confdefs.h.  */
   15437 int i;
   15438 _ACEOF
   15439 if ac_fn_c_try_compile "$LINENO"
   15440 then :
   15441   xorg_cv_cc_flag_unknown_warning_option=yes
   15442 else case e in #(
   15443   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15444 esac
   15445 fi
   15446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15447 esac
   15448 fi
   15449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15450 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15452 	CFLAGS="$xorg_testset_save_CFLAGS"
   15453 fi
   15454 
   15455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15458 	fi
   15459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15460 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15461 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15462 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15463 then :
   15464   printf %s "(cached) " >&6
   15465 else case e in #(
   15466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15467 /* end confdefs.h.  */
   15468 int i;
   15469 _ACEOF
   15470 if ac_fn_c_try_compile "$LINENO"
   15471 then :
   15472   xorg_cv_cc_flag_unused_command_line_argument=yes
   15473 else case e in #(
   15474   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15475 esac
   15476 fi
   15477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15478 esac
   15479 fi
   15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15481 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15483 	CFLAGS="$xorg_testset_save_CFLAGS"
   15484 fi
   15485 
   15486 found="no"
   15487 
   15488 	if test $found = "no" ; then
   15489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15491 		fi
   15492 
   15493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15495 		fi
   15496 
   15497 		CFLAGS="$CFLAGS -Wuninitialized"
   15498 
   15499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15500 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15501 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15502 		if eval test \${$cacheid+y}
   15503 then :
   15504   printf %s "(cached) " >&6
   15505 else case e in #(
   15506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15507 /* end confdefs.h.  */
   15508 int i;
   15509 int
   15510 main (void)
   15511 {
   15512 
   15513   ;
   15514   return 0;
   15515 }
   15516 _ACEOF
   15517 if ac_fn_c_try_link "$LINENO"
   15518 then :
   15519   eval $cacheid=yes
   15520 else case e in #(
   15521   e) eval $cacheid=no ;;
   15522 esac
   15523 fi
   15524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15525     conftest$ac_exeext conftest.$ac_ext ;;
   15526 esac
   15527 fi
   15528 
   15529 
   15530 		CFLAGS="$xorg_testset_save_CFLAGS"
   15531 
   15532 		eval supported=\$$cacheid
   15533 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15534 printf "%s\n" "$supported" >&6; }
   15535 		if test "$supported" = "yes" ; then
   15536 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15537 			found="yes"
   15538 		fi
   15539 	fi
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 xorg_testset_save_CFLAGS="$CFLAGS"
   15556 
   15557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15560 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15561 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15562 then :
   15563   printf %s "(cached) " >&6
   15564 else case e in #(
   15565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15566 /* end confdefs.h.  */
   15567 int i;
   15568 _ACEOF
   15569 if ac_fn_c_try_compile "$LINENO"
   15570 then :
   15571   xorg_cv_cc_flag_unknown_warning_option=yes
   15572 else case e in #(
   15573   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15574 esac
   15575 fi
   15576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15577 esac
   15578 fi
   15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15580 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15582 	CFLAGS="$xorg_testset_save_CFLAGS"
   15583 fi
   15584 
   15585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15588 	fi
   15589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15591 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15592 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15593 then :
   15594   printf %s "(cached) " >&6
   15595 else case e in #(
   15596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15597 /* end confdefs.h.  */
   15598 int i;
   15599 _ACEOF
   15600 if ac_fn_c_try_compile "$LINENO"
   15601 then :
   15602   xorg_cv_cc_flag_unused_command_line_argument=yes
   15603 else case e in #(
   15604   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15605 esac
   15606 fi
   15607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15608 esac
   15609 fi
   15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15611 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15613 	CFLAGS="$xorg_testset_save_CFLAGS"
   15614 fi
   15615 
   15616 found="no"
   15617 
   15618 	if test $found = "no" ; then
   15619 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15621 		fi
   15622 
   15623 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15625 		fi
   15626 
   15627 		CFLAGS="$CFLAGS -Wshadow"
   15628 
   15629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15630 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15631 		cacheid=xorg_cv_cc_flag__Wshadow
   15632 		if eval test \${$cacheid+y}
   15633 then :
   15634   printf %s "(cached) " >&6
   15635 else case e in #(
   15636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15637 /* end confdefs.h.  */
   15638 int i;
   15639 int
   15640 main (void)
   15641 {
   15642 
   15643   ;
   15644   return 0;
   15645 }
   15646 _ACEOF
   15647 if ac_fn_c_try_link "$LINENO"
   15648 then :
   15649   eval $cacheid=yes
   15650 else case e in #(
   15651   e) eval $cacheid=no ;;
   15652 esac
   15653 fi
   15654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15655     conftest$ac_exeext conftest.$ac_ext ;;
   15656 esac
   15657 fi
   15658 
   15659 
   15660 		CFLAGS="$xorg_testset_save_CFLAGS"
   15661 
   15662 		eval supported=\$$cacheid
   15663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15664 printf "%s\n" "$supported" >&6; }
   15665 		if test "$supported" = "yes" ; then
   15666 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15667 			found="yes"
   15668 		fi
   15669 	fi
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 xorg_testset_save_CFLAGS="$CFLAGS"
   15686 
   15687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15690 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15691 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15692 then :
   15693   printf %s "(cached) " >&6
   15694 else case e in #(
   15695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15696 /* end confdefs.h.  */
   15697 int i;
   15698 _ACEOF
   15699 if ac_fn_c_try_compile "$LINENO"
   15700 then :
   15701   xorg_cv_cc_flag_unknown_warning_option=yes
   15702 else case e in #(
   15703   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15704 esac
   15705 fi
   15706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15707 esac
   15708 fi
   15709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15710 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15712 	CFLAGS="$xorg_testset_save_CFLAGS"
   15713 fi
   15714 
   15715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15718 	fi
   15719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15723 then :
   15724   printf %s "(cached) " >&6
   15725 else case e in #(
   15726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15727 /* end confdefs.h.  */
   15728 int i;
   15729 _ACEOF
   15730 if ac_fn_c_try_compile "$LINENO"
   15731 then :
   15732   xorg_cv_cc_flag_unused_command_line_argument=yes
   15733 else case e in #(
   15734   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15735 esac
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15738 esac
   15739 fi
   15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15741 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15743 	CFLAGS="$xorg_testset_save_CFLAGS"
   15744 fi
   15745 
   15746 found="no"
   15747 
   15748 	if test $found = "no" ; then
   15749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15751 		fi
   15752 
   15753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15755 		fi
   15756 
   15757 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15758 
   15759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15760 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15761 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15762 		if eval test \${$cacheid+y}
   15763 then :
   15764   printf %s "(cached) " >&6
   15765 else case e in #(
   15766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15767 /* end confdefs.h.  */
   15768 int i;
   15769 int
   15770 main (void)
   15771 {
   15772 
   15773   ;
   15774   return 0;
   15775 }
   15776 _ACEOF
   15777 if ac_fn_c_try_link "$LINENO"
   15778 then :
   15779   eval $cacheid=yes
   15780 else case e in #(
   15781   e) eval $cacheid=no ;;
   15782 esac
   15783 fi
   15784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15785     conftest$ac_exeext conftest.$ac_ext ;;
   15786 esac
   15787 fi
   15788 
   15789 
   15790 		CFLAGS="$xorg_testset_save_CFLAGS"
   15791 
   15792 		eval supported=\$$cacheid
   15793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15794 printf "%s\n" "$supported" >&6; }
   15795 		if test "$supported" = "yes" ; then
   15796 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15797 			found="yes"
   15798 		fi
   15799 	fi
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 xorg_testset_save_CFLAGS="$CFLAGS"
   15816 
   15817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15820 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15821 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15822 then :
   15823   printf %s "(cached) " >&6
   15824 else case e in #(
   15825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15826 /* end confdefs.h.  */
   15827 int i;
   15828 _ACEOF
   15829 if ac_fn_c_try_compile "$LINENO"
   15830 then :
   15831   xorg_cv_cc_flag_unknown_warning_option=yes
   15832 else case e in #(
   15833   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15834 esac
   15835 fi
   15836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15837 esac
   15838 fi
   15839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15840 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15842 	CFLAGS="$xorg_testset_save_CFLAGS"
   15843 fi
   15844 
   15845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15848 	fi
   15849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15853 then :
   15854   printf %s "(cached) " >&6
   15855 else case e in #(
   15856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15857 /* end confdefs.h.  */
   15858 int i;
   15859 _ACEOF
   15860 if ac_fn_c_try_compile "$LINENO"
   15861 then :
   15862   xorg_cv_cc_flag_unused_command_line_argument=yes
   15863 else case e in #(
   15864   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15865 esac
   15866 fi
   15867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15868 esac
   15869 fi
   15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15873 	CFLAGS="$xorg_testset_save_CFLAGS"
   15874 fi
   15875 
   15876 found="no"
   15877 
   15878 	if test $found = "no" ; then
   15879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15881 		fi
   15882 
   15883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15885 		fi
   15886 
   15887 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15888 
   15889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15890 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15891 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15892 		if eval test \${$cacheid+y}
   15893 then :
   15894   printf %s "(cached) " >&6
   15895 else case e in #(
   15896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15897 /* end confdefs.h.  */
   15898 int i;
   15899 int
   15900 main (void)
   15901 {
   15902 
   15903   ;
   15904   return 0;
   15905 }
   15906 _ACEOF
   15907 if ac_fn_c_try_link "$LINENO"
   15908 then :
   15909   eval $cacheid=yes
   15910 else case e in #(
   15911   e) eval $cacheid=no ;;
   15912 esac
   15913 fi
   15914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15915     conftest$ac_exeext conftest.$ac_ext ;;
   15916 esac
   15917 fi
   15918 
   15919 
   15920 		CFLAGS="$xorg_testset_save_CFLAGS"
   15921 
   15922 		eval supported=\$$cacheid
   15923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15924 printf "%s\n" "$supported" >&6; }
   15925 		if test "$supported" = "yes" ; then
   15926 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15927 			found="yes"
   15928 		fi
   15929 	fi
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 xorg_testset_save_CFLAGS="$CFLAGS"
   15946 
   15947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15952 then :
   15953   printf %s "(cached) " >&6
   15954 else case e in #(
   15955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 int i;
   15958 _ACEOF
   15959 if ac_fn_c_try_compile "$LINENO"
   15960 then :
   15961   xorg_cv_cc_flag_unknown_warning_option=yes
   15962 else case e in #(
   15963   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15964 esac
   15965 fi
   15966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15967 esac
   15968 fi
   15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15970 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15972 	CFLAGS="$xorg_testset_save_CFLAGS"
   15973 fi
   15974 
   15975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15978 	fi
   15979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15983 then :
   15984   printf %s "(cached) " >&6
   15985 else case e in #(
   15986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15987 /* end confdefs.h.  */
   15988 int i;
   15989 _ACEOF
   15990 if ac_fn_c_try_compile "$LINENO"
   15991 then :
   15992   xorg_cv_cc_flag_unused_command_line_argument=yes
   15993 else case e in #(
   15994   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15995 esac
   15996 fi
   15997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15998 esac
   15999 fi
   16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16001 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16003 	CFLAGS="$xorg_testset_save_CFLAGS"
   16004 fi
   16005 
   16006 found="no"
   16007 
   16008 	if test $found = "no" ; then
   16009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16011 		fi
   16012 
   16013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16015 		fi
   16016 
   16017 		CFLAGS="$CFLAGS -Wredundant-decls"
   16018 
   16019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16020 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16021 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16022 		if eval test \${$cacheid+y}
   16023 then :
   16024   printf %s "(cached) " >&6
   16025 else case e in #(
   16026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16027 /* end confdefs.h.  */
   16028 int i;
   16029 int
   16030 main (void)
   16031 {
   16032 
   16033   ;
   16034   return 0;
   16035 }
   16036 _ACEOF
   16037 if ac_fn_c_try_link "$LINENO"
   16038 then :
   16039   eval $cacheid=yes
   16040 else case e in #(
   16041   e) eval $cacheid=no ;;
   16042 esac
   16043 fi
   16044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16045     conftest$ac_exeext conftest.$ac_ext ;;
   16046 esac
   16047 fi
   16048 
   16049 
   16050 		CFLAGS="$xorg_testset_save_CFLAGS"
   16051 
   16052 		eval supported=\$$cacheid
   16053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16054 printf "%s\n" "$supported" >&6; }
   16055 		if test "$supported" = "yes" ; then
   16056 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16057 			found="yes"
   16058 		fi
   16059 	fi
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 xorg_testset_save_CFLAGS="$CFLAGS"
   16076 
   16077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16080 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16081 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16082 then :
   16083   printf %s "(cached) " >&6
   16084 else case e in #(
   16085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16086 /* end confdefs.h.  */
   16087 int i;
   16088 _ACEOF
   16089 if ac_fn_c_try_compile "$LINENO"
   16090 then :
   16091   xorg_cv_cc_flag_unknown_warning_option=yes
   16092 else case e in #(
   16093   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16094 esac
   16095 fi
   16096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16097 esac
   16098 fi
   16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16100 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16102 	CFLAGS="$xorg_testset_save_CFLAGS"
   16103 fi
   16104 
   16105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16108 	fi
   16109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16111 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16112 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16113 then :
   16114   printf %s "(cached) " >&6
   16115 else case e in #(
   16116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16117 /* end confdefs.h.  */
   16118 int i;
   16119 _ACEOF
   16120 if ac_fn_c_try_compile "$LINENO"
   16121 then :
   16122   xorg_cv_cc_flag_unused_command_line_argument=yes
   16123 else case e in #(
   16124   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16125 esac
   16126 fi
   16127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16128 esac
   16129 fi
   16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16131 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16133 	CFLAGS="$xorg_testset_save_CFLAGS"
   16134 fi
   16135 
   16136 found="no"
   16137 
   16138 	if test $found = "no" ; then
   16139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16141 		fi
   16142 
   16143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16145 		fi
   16146 
   16147 		CFLAGS="$CFLAGS -Wlogical-op"
   16148 
   16149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16150 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16151 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16152 		if eval test \${$cacheid+y}
   16153 then :
   16154   printf %s "(cached) " >&6
   16155 else case e in #(
   16156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16157 /* end confdefs.h.  */
   16158 int i;
   16159 int
   16160 main (void)
   16161 {
   16162 
   16163   ;
   16164   return 0;
   16165 }
   16166 _ACEOF
   16167 if ac_fn_c_try_link "$LINENO"
   16168 then :
   16169   eval $cacheid=yes
   16170 else case e in #(
   16171   e) eval $cacheid=no ;;
   16172 esac
   16173 fi
   16174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16175     conftest$ac_exeext conftest.$ac_ext ;;
   16176 esac
   16177 fi
   16178 
   16179 
   16180 		CFLAGS="$xorg_testset_save_CFLAGS"
   16181 
   16182 		eval supported=\$$cacheid
   16183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16184 printf "%s\n" "$supported" >&6; }
   16185 		if test "$supported" = "yes" ; then
   16186 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16187 			found="yes"
   16188 		fi
   16189 	fi
   16190 
   16191 
   16192 
   16193 # These are currently disabled because they are noisy.  They will be enabled
   16194 # in the future once the codebase is sufficiently modernized to silence
   16195 # them.  For now, I don't want them to drown out the other warnings.
   16196 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16197 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16198 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16199 
   16200 # Turn some warnings into errors, so we don't accidentally get successful builds
   16201 # when there are problems that should be fixed.
   16202 
   16203 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 xorg_testset_save_CFLAGS="$CFLAGS"
   16218 
   16219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16222 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16223 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16224 then :
   16225   printf %s "(cached) " >&6
   16226 else case e in #(
   16227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16228 /* end confdefs.h.  */
   16229 int i;
   16230 _ACEOF
   16231 if ac_fn_c_try_compile "$LINENO"
   16232 then :
   16233   xorg_cv_cc_flag_unknown_warning_option=yes
   16234 else case e in #(
   16235   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16236 esac
   16237 fi
   16238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16239 esac
   16240 fi
   16241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16242 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16244 	CFLAGS="$xorg_testset_save_CFLAGS"
   16245 fi
   16246 
   16247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16250 	fi
   16251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16253 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16254 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16255 then :
   16256   printf %s "(cached) " >&6
   16257 else case e in #(
   16258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 _ACEOF
   16262 if ac_fn_c_try_compile "$LINENO"
   16263 then :
   16264   xorg_cv_cc_flag_unused_command_line_argument=yes
   16265 else case e in #(
   16266   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16267 esac
   16268 fi
   16269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16270 esac
   16271 fi
   16272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16275 	CFLAGS="$xorg_testset_save_CFLAGS"
   16276 fi
   16277 
   16278 found="no"
   16279 
   16280 	if test $found = "no" ; then
   16281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16283 		fi
   16284 
   16285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16287 		fi
   16288 
   16289 		CFLAGS="$CFLAGS -Werror=implicit"
   16290 
   16291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16292 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16293 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16294 		if eval test \${$cacheid+y}
   16295 then :
   16296   printf %s "(cached) " >&6
   16297 else case e in #(
   16298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16299 /* end confdefs.h.  */
   16300 int i;
   16301 int
   16302 main (void)
   16303 {
   16304 
   16305   ;
   16306   return 0;
   16307 }
   16308 _ACEOF
   16309 if ac_fn_c_try_link "$LINENO"
   16310 then :
   16311   eval $cacheid=yes
   16312 else case e in #(
   16313   e) eval $cacheid=no ;;
   16314 esac
   16315 fi
   16316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16317     conftest$ac_exeext conftest.$ac_ext ;;
   16318 esac
   16319 fi
   16320 
   16321 
   16322 		CFLAGS="$xorg_testset_save_CFLAGS"
   16323 
   16324 		eval supported=\$$cacheid
   16325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16326 printf "%s\n" "$supported" >&6; }
   16327 		if test "$supported" = "yes" ; then
   16328 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16329 			found="yes"
   16330 		fi
   16331 	fi
   16332 
   16333 	if test $found = "no" ; then
   16334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16336 		fi
   16337 
   16338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16340 		fi
   16341 
   16342 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16343 
   16344 		{ 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
   16345 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16346 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16347 		if eval test \${$cacheid+y}
   16348 then :
   16349   printf %s "(cached) " >&6
   16350 else case e in #(
   16351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 int i;
   16354 int
   16355 main (void)
   16356 {
   16357 
   16358   ;
   16359   return 0;
   16360 }
   16361 _ACEOF
   16362 if ac_fn_c_try_link "$LINENO"
   16363 then :
   16364   eval $cacheid=yes
   16365 else case e in #(
   16366   e) eval $cacheid=no ;;
   16367 esac
   16368 fi
   16369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16370     conftest$ac_exeext conftest.$ac_ext ;;
   16371 esac
   16372 fi
   16373 
   16374 
   16375 		CFLAGS="$xorg_testset_save_CFLAGS"
   16376 
   16377 		eval supported=\$$cacheid
   16378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16379 printf "%s\n" "$supported" >&6; }
   16380 		if test "$supported" = "yes" ; then
   16381 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16382 			found="yes"
   16383 		fi
   16384 	fi
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 xorg_testset_save_CFLAGS="$CFLAGS"
   16401 
   16402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16405 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16406 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16407 then :
   16408   printf %s "(cached) " >&6
   16409 else case e in #(
   16410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16411 /* end confdefs.h.  */
   16412 int i;
   16413 _ACEOF
   16414 if ac_fn_c_try_compile "$LINENO"
   16415 then :
   16416   xorg_cv_cc_flag_unknown_warning_option=yes
   16417 else case e in #(
   16418   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16419 esac
   16420 fi
   16421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16422 esac
   16423 fi
   16424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16425 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16427 	CFLAGS="$xorg_testset_save_CFLAGS"
   16428 fi
   16429 
   16430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16433 	fi
   16434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16436 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16437 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16438 then :
   16439   printf %s "(cached) " >&6
   16440 else case e in #(
   16441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16442 /* end confdefs.h.  */
   16443 int i;
   16444 _ACEOF
   16445 if ac_fn_c_try_compile "$LINENO"
   16446 then :
   16447   xorg_cv_cc_flag_unused_command_line_argument=yes
   16448 else case e in #(
   16449   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16450 esac
   16451 fi
   16452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16453 esac
   16454 fi
   16455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16456 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16458 	CFLAGS="$xorg_testset_save_CFLAGS"
   16459 fi
   16460 
   16461 found="no"
   16462 
   16463 	if test $found = "no" ; then
   16464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16466 		fi
   16467 
   16468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16470 		fi
   16471 
   16472 		CFLAGS="$CFLAGS -Werror=nonnull"
   16473 
   16474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16475 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16476 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16477 		if eval test \${$cacheid+y}
   16478 then :
   16479   printf %s "(cached) " >&6
   16480 else case e in #(
   16481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16482 /* end confdefs.h.  */
   16483 int i;
   16484 int
   16485 main (void)
   16486 {
   16487 
   16488   ;
   16489   return 0;
   16490 }
   16491 _ACEOF
   16492 if ac_fn_c_try_link "$LINENO"
   16493 then :
   16494   eval $cacheid=yes
   16495 else case e in #(
   16496   e) eval $cacheid=no ;;
   16497 esac
   16498 fi
   16499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16500     conftest$ac_exeext conftest.$ac_ext ;;
   16501 esac
   16502 fi
   16503 
   16504 
   16505 		CFLAGS="$xorg_testset_save_CFLAGS"
   16506 
   16507 		eval supported=\$$cacheid
   16508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16509 printf "%s\n" "$supported" >&6; }
   16510 		if test "$supported" = "yes" ; then
   16511 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16512 			found="yes"
   16513 		fi
   16514 	fi
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 xorg_testset_save_CFLAGS="$CFLAGS"
   16531 
   16532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16535 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16536 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16537 then :
   16538   printf %s "(cached) " >&6
   16539 else case e in #(
   16540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16541 /* end confdefs.h.  */
   16542 int i;
   16543 _ACEOF
   16544 if ac_fn_c_try_compile "$LINENO"
   16545 then :
   16546   xorg_cv_cc_flag_unknown_warning_option=yes
   16547 else case e in #(
   16548   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16549 esac
   16550 fi
   16551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16552 esac
   16553 fi
   16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16555 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16557 	CFLAGS="$xorg_testset_save_CFLAGS"
   16558 fi
   16559 
   16560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16563 	fi
   16564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16568 then :
   16569   printf %s "(cached) " >&6
   16570 else case e in #(
   16571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16572 /* end confdefs.h.  */
   16573 int i;
   16574 _ACEOF
   16575 if ac_fn_c_try_compile "$LINENO"
   16576 then :
   16577   xorg_cv_cc_flag_unused_command_line_argument=yes
   16578 else case e in #(
   16579   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16580 esac
   16581 fi
   16582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16583 esac
   16584 fi
   16585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16586 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16588 	CFLAGS="$xorg_testset_save_CFLAGS"
   16589 fi
   16590 
   16591 found="no"
   16592 
   16593 	if test $found = "no" ; then
   16594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16596 		fi
   16597 
   16598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16600 		fi
   16601 
   16602 		CFLAGS="$CFLAGS -Werror=init-self"
   16603 
   16604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16605 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16606 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16607 		if eval test \${$cacheid+y}
   16608 then :
   16609   printf %s "(cached) " >&6
   16610 else case e in #(
   16611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16612 /* end confdefs.h.  */
   16613 int i;
   16614 int
   16615 main (void)
   16616 {
   16617 
   16618   ;
   16619   return 0;
   16620 }
   16621 _ACEOF
   16622 if ac_fn_c_try_link "$LINENO"
   16623 then :
   16624   eval $cacheid=yes
   16625 else case e in #(
   16626   e) eval $cacheid=no ;;
   16627 esac
   16628 fi
   16629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16630     conftest$ac_exeext conftest.$ac_ext ;;
   16631 esac
   16632 fi
   16633 
   16634 
   16635 		CFLAGS="$xorg_testset_save_CFLAGS"
   16636 
   16637 		eval supported=\$$cacheid
   16638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16639 printf "%s\n" "$supported" >&6; }
   16640 		if test "$supported" = "yes" ; then
   16641 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16642 			found="yes"
   16643 		fi
   16644 	fi
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 xorg_testset_save_CFLAGS="$CFLAGS"
   16661 
   16662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16667 then :
   16668   printf %s "(cached) " >&6
   16669 else case e in #(
   16670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16671 /* end confdefs.h.  */
   16672 int i;
   16673 _ACEOF
   16674 if ac_fn_c_try_compile "$LINENO"
   16675 then :
   16676   xorg_cv_cc_flag_unknown_warning_option=yes
   16677 else case e in #(
   16678   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16679 esac
   16680 fi
   16681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16682 esac
   16683 fi
   16684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16685 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16687 	CFLAGS="$xorg_testset_save_CFLAGS"
   16688 fi
   16689 
   16690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16693 	fi
   16694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16698 then :
   16699   printf %s "(cached) " >&6
   16700 else case e in #(
   16701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16702 /* end confdefs.h.  */
   16703 int i;
   16704 _ACEOF
   16705 if ac_fn_c_try_compile "$LINENO"
   16706 then :
   16707   xorg_cv_cc_flag_unused_command_line_argument=yes
   16708 else case e in #(
   16709   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16710 esac
   16711 fi
   16712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16713 esac
   16714 fi
   16715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16716 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16718 	CFLAGS="$xorg_testset_save_CFLAGS"
   16719 fi
   16720 
   16721 found="no"
   16722 
   16723 	if test $found = "no" ; then
   16724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16726 		fi
   16727 
   16728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16730 		fi
   16731 
   16732 		CFLAGS="$CFLAGS -Werror=main"
   16733 
   16734 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16735 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16736 		cacheid=xorg_cv_cc_flag__Werror_main
   16737 		if eval test \${$cacheid+y}
   16738 then :
   16739   printf %s "(cached) " >&6
   16740 else case e in #(
   16741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 int
   16745 main (void)
   16746 {
   16747 
   16748   ;
   16749   return 0;
   16750 }
   16751 _ACEOF
   16752 if ac_fn_c_try_link "$LINENO"
   16753 then :
   16754   eval $cacheid=yes
   16755 else case e in #(
   16756   e) eval $cacheid=no ;;
   16757 esac
   16758 fi
   16759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16760     conftest$ac_exeext conftest.$ac_ext ;;
   16761 esac
   16762 fi
   16763 
   16764 
   16765 		CFLAGS="$xorg_testset_save_CFLAGS"
   16766 
   16767 		eval supported=\$$cacheid
   16768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16769 printf "%s\n" "$supported" >&6; }
   16770 		if test "$supported" = "yes" ; then
   16771 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16772 			found="yes"
   16773 		fi
   16774 	fi
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 xorg_testset_save_CFLAGS="$CFLAGS"
   16791 
   16792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16797 then :
   16798   printf %s "(cached) " >&6
   16799 else case e in #(
   16800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16801 /* end confdefs.h.  */
   16802 int i;
   16803 _ACEOF
   16804 if ac_fn_c_try_compile "$LINENO"
   16805 then :
   16806   xorg_cv_cc_flag_unknown_warning_option=yes
   16807 else case e in #(
   16808   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16809 esac
   16810 fi
   16811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16812 esac
   16813 fi
   16814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16815 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16817 	CFLAGS="$xorg_testset_save_CFLAGS"
   16818 fi
   16819 
   16820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16823 	fi
   16824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16826 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16827 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16828 then :
   16829   printf %s "(cached) " >&6
   16830 else case e in #(
   16831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16832 /* end confdefs.h.  */
   16833 int i;
   16834 _ACEOF
   16835 if ac_fn_c_try_compile "$LINENO"
   16836 then :
   16837   xorg_cv_cc_flag_unused_command_line_argument=yes
   16838 else case e in #(
   16839   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16840 esac
   16841 fi
   16842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16843 esac
   16844 fi
   16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16846 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16848 	CFLAGS="$xorg_testset_save_CFLAGS"
   16849 fi
   16850 
   16851 found="no"
   16852 
   16853 	if test $found = "no" ; then
   16854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16856 		fi
   16857 
   16858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16860 		fi
   16861 
   16862 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16863 
   16864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16865 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16866 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16867 		if eval test \${$cacheid+y}
   16868 then :
   16869   printf %s "(cached) " >&6
   16870 else case e in #(
   16871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16872 /* end confdefs.h.  */
   16873 int i;
   16874 int
   16875 main (void)
   16876 {
   16877 
   16878   ;
   16879   return 0;
   16880 }
   16881 _ACEOF
   16882 if ac_fn_c_try_link "$LINENO"
   16883 then :
   16884   eval $cacheid=yes
   16885 else case e in #(
   16886   e) eval $cacheid=no ;;
   16887 esac
   16888 fi
   16889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16890     conftest$ac_exeext conftest.$ac_ext ;;
   16891 esac
   16892 fi
   16893 
   16894 
   16895 		CFLAGS="$xorg_testset_save_CFLAGS"
   16896 
   16897 		eval supported=\$$cacheid
   16898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16899 printf "%s\n" "$supported" >&6; }
   16900 		if test "$supported" = "yes" ; then
   16901 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16902 			found="yes"
   16903 		fi
   16904 	fi
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 xorg_testset_save_CFLAGS="$CFLAGS"
   16921 
   16922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16927 then :
   16928   printf %s "(cached) " >&6
   16929 else case e in #(
   16930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16931 /* end confdefs.h.  */
   16932 int i;
   16933 _ACEOF
   16934 if ac_fn_c_try_compile "$LINENO"
   16935 then :
   16936   xorg_cv_cc_flag_unknown_warning_option=yes
   16937 else case e in #(
   16938   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16939 esac
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16942 esac
   16943 fi
   16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16945 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16947 	CFLAGS="$xorg_testset_save_CFLAGS"
   16948 fi
   16949 
   16950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16953 	fi
   16954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16956 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16957 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16958 then :
   16959   printf %s "(cached) " >&6
   16960 else case e in #(
   16961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16962 /* end confdefs.h.  */
   16963 int i;
   16964 _ACEOF
   16965 if ac_fn_c_try_compile "$LINENO"
   16966 then :
   16967   xorg_cv_cc_flag_unused_command_line_argument=yes
   16968 else case e in #(
   16969   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16970 esac
   16971 fi
   16972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16973 esac
   16974 fi
   16975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16976 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16978 	CFLAGS="$xorg_testset_save_CFLAGS"
   16979 fi
   16980 
   16981 found="no"
   16982 
   16983 	if test $found = "no" ; then
   16984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16986 		fi
   16987 
   16988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16990 		fi
   16991 
   16992 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16993 
   16994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16995 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16996 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16997 		if eval test \${$cacheid+y}
   16998 then :
   16999   printf %s "(cached) " >&6
   17000 else case e in #(
   17001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17002 /* end confdefs.h.  */
   17003 int i;
   17004 int
   17005 main (void)
   17006 {
   17007 
   17008   ;
   17009   return 0;
   17010 }
   17011 _ACEOF
   17012 if ac_fn_c_try_link "$LINENO"
   17013 then :
   17014   eval $cacheid=yes
   17015 else case e in #(
   17016   e) eval $cacheid=no ;;
   17017 esac
   17018 fi
   17019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17020     conftest$ac_exeext conftest.$ac_ext ;;
   17021 esac
   17022 fi
   17023 
   17024 
   17025 		CFLAGS="$xorg_testset_save_CFLAGS"
   17026 
   17027 		eval supported=\$$cacheid
   17028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17029 printf "%s\n" "$supported" >&6; }
   17030 		if test "$supported" = "yes" ; then
   17031 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17032 			found="yes"
   17033 		fi
   17034 	fi
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 xorg_testset_save_CFLAGS="$CFLAGS"
   17051 
   17052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17055 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17056 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17057 then :
   17058   printf %s "(cached) " >&6
   17059 else case e in #(
   17060   e) 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_unknown_warning_option=yes
   17067 else case e in #(
   17068   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17069 esac
   17070 fi
   17071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17072 esac
   17073 fi
   17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17077 	CFLAGS="$xorg_testset_save_CFLAGS"
   17078 fi
   17079 
   17080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17083 	fi
   17084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17088 then :
   17089   printf %s "(cached) " >&6
   17090 else case e in #(
   17091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17092 /* end confdefs.h.  */
   17093 int i;
   17094 _ACEOF
   17095 if ac_fn_c_try_compile "$LINENO"
   17096 then :
   17097   xorg_cv_cc_flag_unused_command_line_argument=yes
   17098 else case e in #(
   17099   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17100 esac
   17101 fi
   17102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17103 esac
   17104 fi
   17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17106 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17108 	CFLAGS="$xorg_testset_save_CFLAGS"
   17109 fi
   17110 
   17111 found="no"
   17112 
   17113 	if test $found = "no" ; then
   17114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17116 		fi
   17117 
   17118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17120 		fi
   17121 
   17122 		CFLAGS="$CFLAGS -Werror=return-type"
   17123 
   17124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17125 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17126 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17127 		if eval test \${$cacheid+y}
   17128 then :
   17129   printf %s "(cached) " >&6
   17130 else case e in #(
   17131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17132 /* end confdefs.h.  */
   17133 int i;
   17134 int
   17135 main (void)
   17136 {
   17137 
   17138   ;
   17139   return 0;
   17140 }
   17141 _ACEOF
   17142 if ac_fn_c_try_link "$LINENO"
   17143 then :
   17144   eval $cacheid=yes
   17145 else case e in #(
   17146   e) eval $cacheid=no ;;
   17147 esac
   17148 fi
   17149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17150     conftest$ac_exeext conftest.$ac_ext ;;
   17151 esac
   17152 fi
   17153 
   17154 
   17155 		CFLAGS="$xorg_testset_save_CFLAGS"
   17156 
   17157 		eval supported=\$$cacheid
   17158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17159 printf "%s\n" "$supported" >&6; }
   17160 		if test "$supported" = "yes" ; then
   17161 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17162 			found="yes"
   17163 		fi
   17164 	fi
   17165 
   17166 	if test $found = "no" ; then
   17167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17169 		fi
   17170 
   17171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17173 		fi
   17174 
   17175 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17176 
   17177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17178 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17179 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17180 		if eval test \${$cacheid+y}
   17181 then :
   17182   printf %s "(cached) " >&6
   17183 else case e in #(
   17184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17185 /* end confdefs.h.  */
   17186 int i;
   17187 int
   17188 main (void)
   17189 {
   17190 
   17191   ;
   17192   return 0;
   17193 }
   17194 _ACEOF
   17195 if ac_fn_c_try_link "$LINENO"
   17196 then :
   17197   eval $cacheid=yes
   17198 else case e in #(
   17199   e) eval $cacheid=no ;;
   17200 esac
   17201 fi
   17202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17203     conftest$ac_exeext conftest.$ac_ext ;;
   17204 esac
   17205 fi
   17206 
   17207 
   17208 		CFLAGS="$xorg_testset_save_CFLAGS"
   17209 
   17210 		eval supported=\$$cacheid
   17211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17212 printf "%s\n" "$supported" >&6; }
   17213 		if test "$supported" = "yes" ; then
   17214 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17215 			found="yes"
   17216 		fi
   17217 	fi
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 xorg_testset_save_CFLAGS="$CFLAGS"
   17234 
   17235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17238 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17239 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17240 then :
   17241   printf %s "(cached) " >&6
   17242 else case e in #(
   17243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17244 /* end confdefs.h.  */
   17245 int i;
   17246 _ACEOF
   17247 if ac_fn_c_try_compile "$LINENO"
   17248 then :
   17249   xorg_cv_cc_flag_unknown_warning_option=yes
   17250 else case e in #(
   17251   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17252 esac
   17253 fi
   17254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17255 esac
   17256 fi
   17257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17258 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17260 	CFLAGS="$xorg_testset_save_CFLAGS"
   17261 fi
   17262 
   17263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17266 	fi
   17267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17269 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17270 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17271 then :
   17272   printf %s "(cached) " >&6
   17273 else case e in #(
   17274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17275 /* end confdefs.h.  */
   17276 int i;
   17277 _ACEOF
   17278 if ac_fn_c_try_compile "$LINENO"
   17279 then :
   17280   xorg_cv_cc_flag_unused_command_line_argument=yes
   17281 else case e in #(
   17282   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17283 esac
   17284 fi
   17285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17286 esac
   17287 fi
   17288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17289 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17291 	CFLAGS="$xorg_testset_save_CFLAGS"
   17292 fi
   17293 
   17294 found="no"
   17295 
   17296 	if test $found = "no" ; then
   17297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17299 		fi
   17300 
   17301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17303 		fi
   17304 
   17305 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17306 
   17307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17308 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17309 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17310 		if eval test \${$cacheid+y}
   17311 then :
   17312   printf %s "(cached) " >&6
   17313 else case e in #(
   17314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17315 /* end confdefs.h.  */
   17316 int i;
   17317 int
   17318 main (void)
   17319 {
   17320 
   17321   ;
   17322   return 0;
   17323 }
   17324 _ACEOF
   17325 if ac_fn_c_try_link "$LINENO"
   17326 then :
   17327   eval $cacheid=yes
   17328 else case e in #(
   17329   e) eval $cacheid=no ;;
   17330 esac
   17331 fi
   17332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17333     conftest$ac_exeext conftest.$ac_ext ;;
   17334 esac
   17335 fi
   17336 
   17337 
   17338 		CFLAGS="$xorg_testset_save_CFLAGS"
   17339 
   17340 		eval supported=\$$cacheid
   17341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17342 printf "%s\n" "$supported" >&6; }
   17343 		if test "$supported" = "yes" ; then
   17344 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17345 			found="yes"
   17346 		fi
   17347 	fi
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 xorg_testset_save_CFLAGS="$CFLAGS"
   17364 
   17365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17368 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17369 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17370 then :
   17371   printf %s "(cached) " >&6
   17372 else case e in #(
   17373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17374 /* end confdefs.h.  */
   17375 int i;
   17376 _ACEOF
   17377 if ac_fn_c_try_compile "$LINENO"
   17378 then :
   17379   xorg_cv_cc_flag_unknown_warning_option=yes
   17380 else case e in #(
   17381   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17382 esac
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17385 esac
   17386 fi
   17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17390 	CFLAGS="$xorg_testset_save_CFLAGS"
   17391 fi
   17392 
   17393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17396 	fi
   17397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17401 then :
   17402   printf %s "(cached) " >&6
   17403 else case e in #(
   17404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17405 /* end confdefs.h.  */
   17406 int i;
   17407 _ACEOF
   17408 if ac_fn_c_try_compile "$LINENO"
   17409 then :
   17410   xorg_cv_cc_flag_unused_command_line_argument=yes
   17411 else case e in #(
   17412   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17413 esac
   17414 fi
   17415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17416 esac
   17417 fi
   17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17419 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17421 	CFLAGS="$xorg_testset_save_CFLAGS"
   17422 fi
   17423 
   17424 found="no"
   17425 
   17426 	if test $found = "no" ; then
   17427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17429 		fi
   17430 
   17431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17433 		fi
   17434 
   17435 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17436 
   17437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17438 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17439 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17440 		if eval test \${$cacheid+y}
   17441 then :
   17442   printf %s "(cached) " >&6
   17443 else case e in #(
   17444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17445 /* end confdefs.h.  */
   17446 int i;
   17447 int
   17448 main (void)
   17449 {
   17450 
   17451   ;
   17452   return 0;
   17453 }
   17454 _ACEOF
   17455 if ac_fn_c_try_link "$LINENO"
   17456 then :
   17457   eval $cacheid=yes
   17458 else case e in #(
   17459   e) eval $cacheid=no ;;
   17460 esac
   17461 fi
   17462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17463     conftest$ac_exeext conftest.$ac_ext ;;
   17464 esac
   17465 fi
   17466 
   17467 
   17468 		CFLAGS="$xorg_testset_save_CFLAGS"
   17469 
   17470 		eval supported=\$$cacheid
   17471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17472 printf "%s\n" "$supported" >&6; }
   17473 		if test "$supported" = "yes" ; then
   17474 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17475 			found="yes"
   17476 		fi
   17477 	fi
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 xorg_testset_save_CFLAGS="$CFLAGS"
   17494 
   17495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17500 then :
   17501   printf %s "(cached) " >&6
   17502 else case e in #(
   17503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17504 /* end confdefs.h.  */
   17505 int i;
   17506 _ACEOF
   17507 if ac_fn_c_try_compile "$LINENO"
   17508 then :
   17509   xorg_cv_cc_flag_unknown_warning_option=yes
   17510 else case e in #(
   17511   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17512 esac
   17513 fi
   17514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17515 esac
   17516 fi
   17517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17518 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17520 	CFLAGS="$xorg_testset_save_CFLAGS"
   17521 fi
   17522 
   17523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17526 	fi
   17527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17529 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17530 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17531 then :
   17532   printf %s "(cached) " >&6
   17533 else case e in #(
   17534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17535 /* end confdefs.h.  */
   17536 int i;
   17537 _ACEOF
   17538 if ac_fn_c_try_compile "$LINENO"
   17539 then :
   17540   xorg_cv_cc_flag_unused_command_line_argument=yes
   17541 else case e in #(
   17542   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17543 esac
   17544 fi
   17545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17546 esac
   17547 fi
   17548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17551 	CFLAGS="$xorg_testset_save_CFLAGS"
   17552 fi
   17553 
   17554 found="no"
   17555 
   17556 	if test $found = "no" ; then
   17557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17559 		fi
   17560 
   17561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17563 		fi
   17564 
   17565 		CFLAGS="$CFLAGS -Werror=write-strings"
   17566 
   17567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17568 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17569 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17570 		if eval test \${$cacheid+y}
   17571 then :
   17572   printf %s "(cached) " >&6
   17573 else case e in #(
   17574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17575 /* end confdefs.h.  */
   17576 int i;
   17577 int
   17578 main (void)
   17579 {
   17580 
   17581   ;
   17582   return 0;
   17583 }
   17584 _ACEOF
   17585 if ac_fn_c_try_link "$LINENO"
   17586 then :
   17587   eval $cacheid=yes
   17588 else case e in #(
   17589   e) eval $cacheid=no ;;
   17590 esac
   17591 fi
   17592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17593     conftest$ac_exeext conftest.$ac_ext ;;
   17594 esac
   17595 fi
   17596 
   17597 
   17598 		CFLAGS="$xorg_testset_save_CFLAGS"
   17599 
   17600 		eval supported=\$$cacheid
   17601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17602 printf "%s\n" "$supported" >&6; }
   17603 		if test "$supported" = "yes" ; then
   17604 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17605 			found="yes"
   17606 		fi
   17607 	fi
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 xorg_testset_save_CFLAGS="$CFLAGS"
   17624 
   17625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17630 then :
   17631   printf %s "(cached) " >&6
   17632 else case e in #(
   17633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17634 /* end confdefs.h.  */
   17635 int i;
   17636 _ACEOF
   17637 if ac_fn_c_try_compile "$LINENO"
   17638 then :
   17639   xorg_cv_cc_flag_unknown_warning_option=yes
   17640 else case e in #(
   17641   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17642 esac
   17643 fi
   17644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17645 esac
   17646 fi
   17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17650 	CFLAGS="$xorg_testset_save_CFLAGS"
   17651 fi
   17652 
   17653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17656 	fi
   17657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17661 then :
   17662   printf %s "(cached) " >&6
   17663 else case e in #(
   17664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17665 /* end confdefs.h.  */
   17666 int i;
   17667 _ACEOF
   17668 if ac_fn_c_try_compile "$LINENO"
   17669 then :
   17670   xorg_cv_cc_flag_unused_command_line_argument=yes
   17671 else case e in #(
   17672   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17673 esac
   17674 fi
   17675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17676 esac
   17677 fi
   17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17679 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17681 	CFLAGS="$xorg_testset_save_CFLAGS"
   17682 fi
   17683 
   17684 found="no"
   17685 
   17686 	if test $found = "no" ; then
   17687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17689 		fi
   17690 
   17691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17693 		fi
   17694 
   17695 		CFLAGS="$CFLAGS -Werror=address"
   17696 
   17697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17698 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17699 		cacheid=xorg_cv_cc_flag__Werror_address
   17700 		if eval test \${$cacheid+y}
   17701 then :
   17702   printf %s "(cached) " >&6
   17703 else case e in #(
   17704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17705 /* end confdefs.h.  */
   17706 int i;
   17707 int
   17708 main (void)
   17709 {
   17710 
   17711   ;
   17712   return 0;
   17713 }
   17714 _ACEOF
   17715 if ac_fn_c_try_link "$LINENO"
   17716 then :
   17717   eval $cacheid=yes
   17718 else case e in #(
   17719   e) eval $cacheid=no ;;
   17720 esac
   17721 fi
   17722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17723     conftest$ac_exeext conftest.$ac_ext ;;
   17724 esac
   17725 fi
   17726 
   17727 
   17728 		CFLAGS="$xorg_testset_save_CFLAGS"
   17729 
   17730 		eval supported=\$$cacheid
   17731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17732 printf "%s\n" "$supported" >&6; }
   17733 		if test "$supported" = "yes" ; then
   17734 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17735 			found="yes"
   17736 		fi
   17737 	fi
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 xorg_testset_save_CFLAGS="$CFLAGS"
   17754 
   17755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17760 then :
   17761   printf %s "(cached) " >&6
   17762 else case e in #(
   17763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17764 /* end confdefs.h.  */
   17765 int i;
   17766 _ACEOF
   17767 if ac_fn_c_try_compile "$LINENO"
   17768 then :
   17769   xorg_cv_cc_flag_unknown_warning_option=yes
   17770 else case e in #(
   17771   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17772 esac
   17773 fi
   17774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17775 esac
   17776 fi
   17777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17780 	CFLAGS="$xorg_testset_save_CFLAGS"
   17781 fi
   17782 
   17783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17786 	fi
   17787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17791 then :
   17792   printf %s "(cached) " >&6
   17793 else case e in #(
   17794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17795 /* end confdefs.h.  */
   17796 int i;
   17797 _ACEOF
   17798 if ac_fn_c_try_compile "$LINENO"
   17799 then :
   17800   xorg_cv_cc_flag_unused_command_line_argument=yes
   17801 else case e in #(
   17802   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17803 esac
   17804 fi
   17805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17806 esac
   17807 fi
   17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17811 	CFLAGS="$xorg_testset_save_CFLAGS"
   17812 fi
   17813 
   17814 found="no"
   17815 
   17816 	if test $found = "no" ; then
   17817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17819 		fi
   17820 
   17821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17823 		fi
   17824 
   17825 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17826 
   17827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17828 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17829 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17830 		if eval test \${$cacheid+y}
   17831 then :
   17832   printf %s "(cached) " >&6
   17833 else case e in #(
   17834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17835 /* end confdefs.h.  */
   17836 int i;
   17837 int
   17838 main (void)
   17839 {
   17840 
   17841   ;
   17842   return 0;
   17843 }
   17844 _ACEOF
   17845 if ac_fn_c_try_link "$LINENO"
   17846 then :
   17847   eval $cacheid=yes
   17848 else case e in #(
   17849   e) eval $cacheid=no ;;
   17850 esac
   17851 fi
   17852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17853     conftest$ac_exeext conftest.$ac_ext ;;
   17854 esac
   17855 fi
   17856 
   17857 
   17858 		CFLAGS="$xorg_testset_save_CFLAGS"
   17859 
   17860 		eval supported=\$$cacheid
   17861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17862 printf "%s\n" "$supported" >&6; }
   17863 		if test "$supported" = "yes" ; then
   17864 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17865 			found="yes"
   17866 		fi
   17867 	fi
   17868 
   17869 	if test $found = "no" ; then
   17870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17872 		fi
   17873 
   17874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17876 		fi
   17877 
   17878 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17879 
   17880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17881 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17882 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17883 		if eval test \${$cacheid+y}
   17884 then :
   17885   printf %s "(cached) " >&6
   17886 else case e in #(
   17887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17888 /* end confdefs.h.  */
   17889 int i;
   17890 int
   17891 main (void)
   17892 {
   17893 
   17894   ;
   17895   return 0;
   17896 }
   17897 _ACEOF
   17898 if ac_fn_c_try_link "$LINENO"
   17899 then :
   17900   eval $cacheid=yes
   17901 else case e in #(
   17902   e) eval $cacheid=no ;;
   17903 esac
   17904 fi
   17905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17906     conftest$ac_exeext conftest.$ac_ext ;;
   17907 esac
   17908 fi
   17909 
   17910 
   17911 		CFLAGS="$xorg_testset_save_CFLAGS"
   17912 
   17913 		eval supported=\$$cacheid
   17914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17915 printf "%s\n" "$supported" >&6; }
   17916 		if test "$supported" = "yes" ; then
   17917 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17918 			found="yes"
   17919 		fi
   17920 	fi
   17921 
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 xorg_testset_save_CFLAGS="$CFLAGS"
   17937 
   17938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17943 then :
   17944   printf %s "(cached) " >&6
   17945 else case e in #(
   17946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17947 /* end confdefs.h.  */
   17948 int i;
   17949 _ACEOF
   17950 if ac_fn_c_try_compile "$LINENO"
   17951 then :
   17952   xorg_cv_cc_flag_unknown_warning_option=yes
   17953 else case e in #(
   17954   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17955 esac
   17956 fi
   17957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17958 esac
   17959 fi
   17960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17963 	CFLAGS="$xorg_testset_save_CFLAGS"
   17964 fi
   17965 
   17966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17969 	fi
   17970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17974 then :
   17975   printf %s "(cached) " >&6
   17976 else case e in #(
   17977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17978 /* end confdefs.h.  */
   17979 int i;
   17980 _ACEOF
   17981 if ac_fn_c_try_compile "$LINENO"
   17982 then :
   17983   xorg_cv_cc_flag_unused_command_line_argument=yes
   17984 else case e in #(
   17985   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17986 esac
   17987 fi
   17988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17989 esac
   17990 fi
   17991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17994 	CFLAGS="$xorg_testset_save_CFLAGS"
   17995 fi
   17996 
   17997 found="no"
   17998 
   17999 	if test $found = "no" ; then
   18000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18002 		fi
   18003 
   18004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18006 		fi
   18007 
   18008 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18009 
   18010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18011 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18012 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18013 		if eval test \${$cacheid+y}
   18014 then :
   18015   printf %s "(cached) " >&6
   18016 else case e in #(
   18017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18018 /* end confdefs.h.  */
   18019 int i;
   18020 int
   18021 main (void)
   18022 {
   18023 
   18024   ;
   18025   return 0;
   18026 }
   18027 _ACEOF
   18028 if ac_fn_c_try_link "$LINENO"
   18029 then :
   18030   eval $cacheid=yes
   18031 else case e in #(
   18032   e) eval $cacheid=no ;;
   18033 esac
   18034 fi
   18035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18036     conftest$ac_exeext conftest.$ac_ext ;;
   18037 esac
   18038 fi
   18039 
   18040 
   18041 		CFLAGS="$xorg_testset_save_CFLAGS"
   18042 
   18043 		eval supported=\$$cacheid
   18044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18045 printf "%s\n" "$supported" >&6; }
   18046 		if test "$supported" = "yes" ; then
   18047 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18048 			found="yes"
   18049 		fi
   18050 	fi
   18051 
   18052  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18053 else
   18054 { 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
   18055 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;}
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 xorg_testset_save_CFLAGS="$CFLAGS"
   18070 
   18071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18076 then :
   18077   printf %s "(cached) " >&6
   18078 else case e in #(
   18079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18080 /* end confdefs.h.  */
   18081 int i;
   18082 _ACEOF
   18083 if ac_fn_c_try_compile "$LINENO"
   18084 then :
   18085   xorg_cv_cc_flag_unknown_warning_option=yes
   18086 else case e in #(
   18087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18088 esac
   18089 fi
   18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18091 esac
   18092 fi
   18093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18096 	CFLAGS="$xorg_testset_save_CFLAGS"
   18097 fi
   18098 
   18099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18102 	fi
   18103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18107 then :
   18108   printf %s "(cached) " >&6
   18109 else case e in #(
   18110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18111 /* end confdefs.h.  */
   18112 int i;
   18113 _ACEOF
   18114 if ac_fn_c_try_compile "$LINENO"
   18115 then :
   18116   xorg_cv_cc_flag_unused_command_line_argument=yes
   18117 else case e in #(
   18118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18119 esac
   18120 fi
   18121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18122 esac
   18123 fi
   18124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18127 	CFLAGS="$xorg_testset_save_CFLAGS"
   18128 fi
   18129 
   18130 found="no"
   18131 
   18132 	if test $found = "no" ; then
   18133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18135 		fi
   18136 
   18137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18139 		fi
   18140 
   18141 		CFLAGS="$CFLAGS -Wimplicit"
   18142 
   18143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18144 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18145 		cacheid=xorg_cv_cc_flag__Wimplicit
   18146 		if eval test \${$cacheid+y}
   18147 then :
   18148   printf %s "(cached) " >&6
   18149 else case e in #(
   18150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18151 /* end confdefs.h.  */
   18152 int i;
   18153 int
   18154 main (void)
   18155 {
   18156 
   18157   ;
   18158   return 0;
   18159 }
   18160 _ACEOF
   18161 if ac_fn_c_try_link "$LINENO"
   18162 then :
   18163   eval $cacheid=yes
   18164 else case e in #(
   18165   e) eval $cacheid=no ;;
   18166 esac
   18167 fi
   18168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18169     conftest$ac_exeext conftest.$ac_ext ;;
   18170 esac
   18171 fi
   18172 
   18173 
   18174 		CFLAGS="$xorg_testset_save_CFLAGS"
   18175 
   18176 		eval supported=\$$cacheid
   18177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18178 printf "%s\n" "$supported" >&6; }
   18179 		if test "$supported" = "yes" ; then
   18180 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18181 			found="yes"
   18182 		fi
   18183 	fi
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 
   18194 
   18195 
   18196 
   18197 
   18198 
   18199 xorg_testset_save_CFLAGS="$CFLAGS"
   18200 
   18201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18204 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18205 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18206 then :
   18207   printf %s "(cached) " >&6
   18208 else case e in #(
   18209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18210 /* end confdefs.h.  */
   18211 int i;
   18212 _ACEOF
   18213 if ac_fn_c_try_compile "$LINENO"
   18214 then :
   18215   xorg_cv_cc_flag_unknown_warning_option=yes
   18216 else case e in #(
   18217   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18218 esac
   18219 fi
   18220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18221 esac
   18222 fi
   18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18224 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18226 	CFLAGS="$xorg_testset_save_CFLAGS"
   18227 fi
   18228 
   18229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18232 	fi
   18233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18237 then :
   18238   printf %s "(cached) " >&6
   18239 else case e in #(
   18240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18241 /* end confdefs.h.  */
   18242 int i;
   18243 _ACEOF
   18244 if ac_fn_c_try_compile "$LINENO"
   18245 then :
   18246   xorg_cv_cc_flag_unused_command_line_argument=yes
   18247 else case e in #(
   18248   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18249 esac
   18250 fi
   18251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18252 esac
   18253 fi
   18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18255 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18257 	CFLAGS="$xorg_testset_save_CFLAGS"
   18258 fi
   18259 
   18260 found="no"
   18261 
   18262 	if test $found = "no" ; then
   18263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18265 		fi
   18266 
   18267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18269 		fi
   18270 
   18271 		CFLAGS="$CFLAGS -Wnonnull"
   18272 
   18273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18274 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18275 		cacheid=xorg_cv_cc_flag__Wnonnull
   18276 		if eval test \${$cacheid+y}
   18277 then :
   18278   printf %s "(cached) " >&6
   18279 else case e in #(
   18280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18281 /* end confdefs.h.  */
   18282 int i;
   18283 int
   18284 main (void)
   18285 {
   18286 
   18287   ;
   18288   return 0;
   18289 }
   18290 _ACEOF
   18291 if ac_fn_c_try_link "$LINENO"
   18292 then :
   18293   eval $cacheid=yes
   18294 else case e in #(
   18295   e) eval $cacheid=no ;;
   18296 esac
   18297 fi
   18298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18299     conftest$ac_exeext conftest.$ac_ext ;;
   18300 esac
   18301 fi
   18302 
   18303 
   18304 		CFLAGS="$xorg_testset_save_CFLAGS"
   18305 
   18306 		eval supported=\$$cacheid
   18307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18308 printf "%s\n" "$supported" >&6; }
   18309 		if test "$supported" = "yes" ; then
   18310 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18311 			found="yes"
   18312 		fi
   18313 	fi
   18314 
   18315 
   18316 
   18317 
   18318 
   18319 
   18320 
   18321 
   18322 
   18323 
   18324 
   18325 
   18326 
   18327 
   18328 
   18329 xorg_testset_save_CFLAGS="$CFLAGS"
   18330 
   18331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18336 then :
   18337   printf %s "(cached) " >&6
   18338 else case e in #(
   18339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18340 /* end confdefs.h.  */
   18341 int i;
   18342 _ACEOF
   18343 if ac_fn_c_try_compile "$LINENO"
   18344 then :
   18345   xorg_cv_cc_flag_unknown_warning_option=yes
   18346 else case e in #(
   18347   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18348 esac
   18349 fi
   18350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18351 esac
   18352 fi
   18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18354 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18356 	CFLAGS="$xorg_testset_save_CFLAGS"
   18357 fi
   18358 
   18359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18362 	fi
   18363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18365 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18366 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18367 then :
   18368   printf %s "(cached) " >&6
   18369 else case e in #(
   18370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18371 /* end confdefs.h.  */
   18372 int i;
   18373 _ACEOF
   18374 if ac_fn_c_try_compile "$LINENO"
   18375 then :
   18376   xorg_cv_cc_flag_unused_command_line_argument=yes
   18377 else case e in #(
   18378   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18379 esac
   18380 fi
   18381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18382 esac
   18383 fi
   18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18385 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18387 	CFLAGS="$xorg_testset_save_CFLAGS"
   18388 fi
   18389 
   18390 found="no"
   18391 
   18392 	if test $found = "no" ; then
   18393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18395 		fi
   18396 
   18397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18399 		fi
   18400 
   18401 		CFLAGS="$CFLAGS -Winit-self"
   18402 
   18403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18404 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18405 		cacheid=xorg_cv_cc_flag__Winit_self
   18406 		if eval test \${$cacheid+y}
   18407 then :
   18408   printf %s "(cached) " >&6
   18409 else case e in #(
   18410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18411 /* end confdefs.h.  */
   18412 int i;
   18413 int
   18414 main (void)
   18415 {
   18416 
   18417   ;
   18418   return 0;
   18419 }
   18420 _ACEOF
   18421 if ac_fn_c_try_link "$LINENO"
   18422 then :
   18423   eval $cacheid=yes
   18424 else case e in #(
   18425   e) eval $cacheid=no ;;
   18426 esac
   18427 fi
   18428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18429     conftest$ac_exeext conftest.$ac_ext ;;
   18430 esac
   18431 fi
   18432 
   18433 
   18434 		CFLAGS="$xorg_testset_save_CFLAGS"
   18435 
   18436 		eval supported=\$$cacheid
   18437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18438 printf "%s\n" "$supported" >&6; }
   18439 		if test "$supported" = "yes" ; then
   18440 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18441 			found="yes"
   18442 		fi
   18443 	fi
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 xorg_testset_save_CFLAGS="$CFLAGS"
   18460 
   18461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18466 then :
   18467   printf %s "(cached) " >&6
   18468 else case e in #(
   18469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18470 /* end confdefs.h.  */
   18471 int i;
   18472 _ACEOF
   18473 if ac_fn_c_try_compile "$LINENO"
   18474 then :
   18475   xorg_cv_cc_flag_unknown_warning_option=yes
   18476 else case e in #(
   18477   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18478 esac
   18479 fi
   18480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18481 esac
   18482 fi
   18483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18484 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18486 	CFLAGS="$xorg_testset_save_CFLAGS"
   18487 fi
   18488 
   18489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18492 	fi
   18493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18497 then :
   18498   printf %s "(cached) " >&6
   18499 else case e in #(
   18500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18501 /* end confdefs.h.  */
   18502 int i;
   18503 _ACEOF
   18504 if ac_fn_c_try_compile "$LINENO"
   18505 then :
   18506   xorg_cv_cc_flag_unused_command_line_argument=yes
   18507 else case e in #(
   18508   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18509 esac
   18510 fi
   18511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18512 esac
   18513 fi
   18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18515 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18517 	CFLAGS="$xorg_testset_save_CFLAGS"
   18518 fi
   18519 
   18520 found="no"
   18521 
   18522 	if test $found = "no" ; then
   18523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18525 		fi
   18526 
   18527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18529 		fi
   18530 
   18531 		CFLAGS="$CFLAGS -Wmain"
   18532 
   18533 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18534 printf %s "checking if $CC supports -Wmain... " >&6; }
   18535 		cacheid=xorg_cv_cc_flag__Wmain
   18536 		if eval test \${$cacheid+y}
   18537 then :
   18538   printf %s "(cached) " >&6
   18539 else case e in #(
   18540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18541 /* end confdefs.h.  */
   18542 int i;
   18543 int
   18544 main (void)
   18545 {
   18546 
   18547   ;
   18548   return 0;
   18549 }
   18550 _ACEOF
   18551 if ac_fn_c_try_link "$LINENO"
   18552 then :
   18553   eval $cacheid=yes
   18554 else case e in #(
   18555   e) eval $cacheid=no ;;
   18556 esac
   18557 fi
   18558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18559     conftest$ac_exeext conftest.$ac_ext ;;
   18560 esac
   18561 fi
   18562 
   18563 
   18564 		CFLAGS="$xorg_testset_save_CFLAGS"
   18565 
   18566 		eval supported=\$$cacheid
   18567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18568 printf "%s\n" "$supported" >&6; }
   18569 		if test "$supported" = "yes" ; then
   18570 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18571 			found="yes"
   18572 		fi
   18573 	fi
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 xorg_testset_save_CFLAGS="$CFLAGS"
   18590 
   18591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18594 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18595 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18596 then :
   18597   printf %s "(cached) " >&6
   18598 else case e in #(
   18599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18600 /* end confdefs.h.  */
   18601 int i;
   18602 _ACEOF
   18603 if ac_fn_c_try_compile "$LINENO"
   18604 then :
   18605   xorg_cv_cc_flag_unknown_warning_option=yes
   18606 else case e in #(
   18607   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18608 esac
   18609 fi
   18610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18611 esac
   18612 fi
   18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18614 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18616 	CFLAGS="$xorg_testset_save_CFLAGS"
   18617 fi
   18618 
   18619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18622 	fi
   18623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18627 then :
   18628   printf %s "(cached) " >&6
   18629 else case e in #(
   18630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18631 /* end confdefs.h.  */
   18632 int i;
   18633 _ACEOF
   18634 if ac_fn_c_try_compile "$LINENO"
   18635 then :
   18636   xorg_cv_cc_flag_unused_command_line_argument=yes
   18637 else case e in #(
   18638   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18639 esac
   18640 fi
   18641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18642 esac
   18643 fi
   18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18645 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18647 	CFLAGS="$xorg_testset_save_CFLAGS"
   18648 fi
   18649 
   18650 found="no"
   18651 
   18652 	if test $found = "no" ; then
   18653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18655 		fi
   18656 
   18657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18659 		fi
   18660 
   18661 		CFLAGS="$CFLAGS -Wmissing-braces"
   18662 
   18663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18664 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18665 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18666 		if eval test \${$cacheid+y}
   18667 then :
   18668   printf %s "(cached) " >&6
   18669 else case e in #(
   18670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18671 /* end confdefs.h.  */
   18672 int i;
   18673 int
   18674 main (void)
   18675 {
   18676 
   18677   ;
   18678   return 0;
   18679 }
   18680 _ACEOF
   18681 if ac_fn_c_try_link "$LINENO"
   18682 then :
   18683   eval $cacheid=yes
   18684 else case e in #(
   18685   e) eval $cacheid=no ;;
   18686 esac
   18687 fi
   18688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18689     conftest$ac_exeext conftest.$ac_ext ;;
   18690 esac
   18691 fi
   18692 
   18693 
   18694 		CFLAGS="$xorg_testset_save_CFLAGS"
   18695 
   18696 		eval supported=\$$cacheid
   18697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18698 printf "%s\n" "$supported" >&6; }
   18699 		if test "$supported" = "yes" ; then
   18700 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18701 			found="yes"
   18702 		fi
   18703 	fi
   18704 
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 
   18714 
   18715 
   18716 
   18717 
   18718 
   18719 xorg_testset_save_CFLAGS="$CFLAGS"
   18720 
   18721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18724 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18725 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18726 then :
   18727   printf %s "(cached) " >&6
   18728 else case e in #(
   18729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18730 /* end confdefs.h.  */
   18731 int i;
   18732 _ACEOF
   18733 if ac_fn_c_try_compile "$LINENO"
   18734 then :
   18735   xorg_cv_cc_flag_unknown_warning_option=yes
   18736 else case e in #(
   18737   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18738 esac
   18739 fi
   18740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18741 esac
   18742 fi
   18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18744 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18746 	CFLAGS="$xorg_testset_save_CFLAGS"
   18747 fi
   18748 
   18749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18752 	fi
   18753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18755 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18756 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18757 then :
   18758   printf %s "(cached) " >&6
   18759 else case e in #(
   18760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18761 /* end confdefs.h.  */
   18762 int i;
   18763 _ACEOF
   18764 if ac_fn_c_try_compile "$LINENO"
   18765 then :
   18766   xorg_cv_cc_flag_unused_command_line_argument=yes
   18767 else case e in #(
   18768   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18769 esac
   18770 fi
   18771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18772 esac
   18773 fi
   18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18775 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18777 	CFLAGS="$xorg_testset_save_CFLAGS"
   18778 fi
   18779 
   18780 found="no"
   18781 
   18782 	if test $found = "no" ; then
   18783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18785 		fi
   18786 
   18787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18789 		fi
   18790 
   18791 		CFLAGS="$CFLAGS -Wsequence-point"
   18792 
   18793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18794 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18795 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18796 		if eval test \${$cacheid+y}
   18797 then :
   18798   printf %s "(cached) " >&6
   18799 else case e in #(
   18800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18801 /* end confdefs.h.  */
   18802 int i;
   18803 int
   18804 main (void)
   18805 {
   18806 
   18807   ;
   18808   return 0;
   18809 }
   18810 _ACEOF
   18811 if ac_fn_c_try_link "$LINENO"
   18812 then :
   18813   eval $cacheid=yes
   18814 else case e in #(
   18815   e) eval $cacheid=no ;;
   18816 esac
   18817 fi
   18818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18819     conftest$ac_exeext conftest.$ac_ext ;;
   18820 esac
   18821 fi
   18822 
   18823 
   18824 		CFLAGS="$xorg_testset_save_CFLAGS"
   18825 
   18826 		eval supported=\$$cacheid
   18827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18828 printf "%s\n" "$supported" >&6; }
   18829 		if test "$supported" = "yes" ; then
   18830 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18831 			found="yes"
   18832 		fi
   18833 	fi
   18834 
   18835 
   18836 
   18837 
   18838 
   18839 
   18840 
   18841 
   18842 
   18843 
   18844 
   18845 
   18846 
   18847 
   18848 
   18849 xorg_testset_save_CFLAGS="$CFLAGS"
   18850 
   18851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18854 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18855 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18856 then :
   18857   printf %s "(cached) " >&6
   18858 else case e in #(
   18859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18860 /* end confdefs.h.  */
   18861 int i;
   18862 _ACEOF
   18863 if ac_fn_c_try_compile "$LINENO"
   18864 then :
   18865   xorg_cv_cc_flag_unknown_warning_option=yes
   18866 else case e in #(
   18867   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18868 esac
   18869 fi
   18870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18871 esac
   18872 fi
   18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18876 	CFLAGS="$xorg_testset_save_CFLAGS"
   18877 fi
   18878 
   18879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18882 	fi
   18883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18887 then :
   18888   printf %s "(cached) " >&6
   18889 else case e in #(
   18890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18891 /* end confdefs.h.  */
   18892 int i;
   18893 _ACEOF
   18894 if ac_fn_c_try_compile "$LINENO"
   18895 then :
   18896   xorg_cv_cc_flag_unused_command_line_argument=yes
   18897 else case e in #(
   18898   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18899 esac
   18900 fi
   18901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18902 esac
   18903 fi
   18904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18905 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18907 	CFLAGS="$xorg_testset_save_CFLAGS"
   18908 fi
   18909 
   18910 found="no"
   18911 
   18912 	if test $found = "no" ; then
   18913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18915 		fi
   18916 
   18917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18919 		fi
   18920 
   18921 		CFLAGS="$CFLAGS -Wreturn-type"
   18922 
   18923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18924 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18925 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18926 		if eval test \${$cacheid+y}
   18927 then :
   18928   printf %s "(cached) " >&6
   18929 else case e in #(
   18930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18931 /* end confdefs.h.  */
   18932 int i;
   18933 int
   18934 main (void)
   18935 {
   18936 
   18937   ;
   18938   return 0;
   18939 }
   18940 _ACEOF
   18941 if ac_fn_c_try_link "$LINENO"
   18942 then :
   18943   eval $cacheid=yes
   18944 else case e in #(
   18945   e) eval $cacheid=no ;;
   18946 esac
   18947 fi
   18948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18949     conftest$ac_exeext conftest.$ac_ext ;;
   18950 esac
   18951 fi
   18952 
   18953 
   18954 		CFLAGS="$xorg_testset_save_CFLAGS"
   18955 
   18956 		eval supported=\$$cacheid
   18957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18958 printf "%s\n" "$supported" >&6; }
   18959 		if test "$supported" = "yes" ; then
   18960 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18961 			found="yes"
   18962 		fi
   18963 	fi
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 xorg_testset_save_CFLAGS="$CFLAGS"
   18980 
   18981 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18982 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18984 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18985 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18986 then :
   18987   printf %s "(cached) " >&6
   18988 else case e in #(
   18989   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18990 /* end confdefs.h.  */
   18991 int i;
   18992 _ACEOF
   18993 if ac_fn_c_try_compile "$LINENO"
   18994 then :
   18995   xorg_cv_cc_flag_unknown_warning_option=yes
   18996 else case e in #(
   18997   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18998 esac
   18999 fi
   19000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19001 esac
   19002 fi
   19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19004 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19006 	CFLAGS="$xorg_testset_save_CFLAGS"
   19007 fi
   19008 
   19009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19012 	fi
   19013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19015 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19016 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19017 then :
   19018   printf %s "(cached) " >&6
   19019 else case e in #(
   19020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19021 /* end confdefs.h.  */
   19022 int i;
   19023 _ACEOF
   19024 if ac_fn_c_try_compile "$LINENO"
   19025 then :
   19026   xorg_cv_cc_flag_unused_command_line_argument=yes
   19027 else case e in #(
   19028   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19029 esac
   19030 fi
   19031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19032 esac
   19033 fi
   19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19035 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19037 	CFLAGS="$xorg_testset_save_CFLAGS"
   19038 fi
   19039 
   19040 found="no"
   19041 
   19042 	if test $found = "no" ; then
   19043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19045 		fi
   19046 
   19047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19049 		fi
   19050 
   19051 		CFLAGS="$CFLAGS -Wtrigraphs"
   19052 
   19053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19054 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19055 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19056 		if eval test \${$cacheid+y}
   19057 then :
   19058   printf %s "(cached) " >&6
   19059 else case e in #(
   19060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19061 /* end confdefs.h.  */
   19062 int i;
   19063 int
   19064 main (void)
   19065 {
   19066 
   19067   ;
   19068   return 0;
   19069 }
   19070 _ACEOF
   19071 if ac_fn_c_try_link "$LINENO"
   19072 then :
   19073   eval $cacheid=yes
   19074 else case e in #(
   19075   e) eval $cacheid=no ;;
   19076 esac
   19077 fi
   19078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19079     conftest$ac_exeext conftest.$ac_ext ;;
   19080 esac
   19081 fi
   19082 
   19083 
   19084 		CFLAGS="$xorg_testset_save_CFLAGS"
   19085 
   19086 		eval supported=\$$cacheid
   19087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19088 printf "%s\n" "$supported" >&6; }
   19089 		if test "$supported" = "yes" ; then
   19090 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19091 			found="yes"
   19092 		fi
   19093 	fi
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 
   19105 
   19106 
   19107 
   19108 
   19109 xorg_testset_save_CFLAGS="$CFLAGS"
   19110 
   19111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19114 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19115 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19116 then :
   19117   printf %s "(cached) " >&6
   19118 else case e in #(
   19119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19120 /* end confdefs.h.  */
   19121 int i;
   19122 _ACEOF
   19123 if ac_fn_c_try_compile "$LINENO"
   19124 then :
   19125   xorg_cv_cc_flag_unknown_warning_option=yes
   19126 else case e in #(
   19127   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19128 esac
   19129 fi
   19130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19131 esac
   19132 fi
   19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19134 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19136 	CFLAGS="$xorg_testset_save_CFLAGS"
   19137 fi
   19138 
   19139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19142 	fi
   19143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19145 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19146 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19147 then :
   19148   printf %s "(cached) " >&6
   19149 else case e in #(
   19150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19151 /* end confdefs.h.  */
   19152 int i;
   19153 _ACEOF
   19154 if ac_fn_c_try_compile "$LINENO"
   19155 then :
   19156   xorg_cv_cc_flag_unused_command_line_argument=yes
   19157 else case e in #(
   19158   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19159 esac
   19160 fi
   19161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19162 esac
   19163 fi
   19164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19165 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19167 	CFLAGS="$xorg_testset_save_CFLAGS"
   19168 fi
   19169 
   19170 found="no"
   19171 
   19172 	if test $found = "no" ; then
   19173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19175 		fi
   19176 
   19177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19179 		fi
   19180 
   19181 		CFLAGS="$CFLAGS -Warray-bounds"
   19182 
   19183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19184 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19185 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19186 		if eval test \${$cacheid+y}
   19187 then :
   19188   printf %s "(cached) " >&6
   19189 else case e in #(
   19190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19191 /* end confdefs.h.  */
   19192 int i;
   19193 int
   19194 main (void)
   19195 {
   19196 
   19197   ;
   19198   return 0;
   19199 }
   19200 _ACEOF
   19201 if ac_fn_c_try_link "$LINENO"
   19202 then :
   19203   eval $cacheid=yes
   19204 else case e in #(
   19205   e) eval $cacheid=no ;;
   19206 esac
   19207 fi
   19208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19209     conftest$ac_exeext conftest.$ac_ext ;;
   19210 esac
   19211 fi
   19212 
   19213 
   19214 		CFLAGS="$xorg_testset_save_CFLAGS"
   19215 
   19216 		eval supported=\$$cacheid
   19217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19218 printf "%s\n" "$supported" >&6; }
   19219 		if test "$supported" = "yes" ; then
   19220 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19221 			found="yes"
   19222 		fi
   19223 	fi
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 
   19230 
   19231 
   19232 
   19233 
   19234 
   19235 
   19236 
   19237 
   19238 
   19239 xorg_testset_save_CFLAGS="$CFLAGS"
   19240 
   19241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19244 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19245 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19246 then :
   19247   printf %s "(cached) " >&6
   19248 else case e in #(
   19249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19250 /* end confdefs.h.  */
   19251 int i;
   19252 _ACEOF
   19253 if ac_fn_c_try_compile "$LINENO"
   19254 then :
   19255   xorg_cv_cc_flag_unknown_warning_option=yes
   19256 else case e in #(
   19257   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19258 esac
   19259 fi
   19260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19261 esac
   19262 fi
   19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19266 	CFLAGS="$xorg_testset_save_CFLAGS"
   19267 fi
   19268 
   19269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19272 	fi
   19273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19277 then :
   19278   printf %s "(cached) " >&6
   19279 else case e in #(
   19280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19281 /* end confdefs.h.  */
   19282 int i;
   19283 _ACEOF
   19284 if ac_fn_c_try_compile "$LINENO"
   19285 then :
   19286   xorg_cv_cc_flag_unused_command_line_argument=yes
   19287 else case e in #(
   19288   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19289 esac
   19290 fi
   19291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19292 esac
   19293 fi
   19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19295 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19297 	CFLAGS="$xorg_testset_save_CFLAGS"
   19298 fi
   19299 
   19300 found="no"
   19301 
   19302 	if test $found = "no" ; then
   19303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19305 		fi
   19306 
   19307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19309 		fi
   19310 
   19311 		CFLAGS="$CFLAGS -Wwrite-strings"
   19312 
   19313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19314 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19315 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19316 		if eval test \${$cacheid+y}
   19317 then :
   19318   printf %s "(cached) " >&6
   19319 else case e in #(
   19320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19321 /* end confdefs.h.  */
   19322 int i;
   19323 int
   19324 main (void)
   19325 {
   19326 
   19327   ;
   19328   return 0;
   19329 }
   19330 _ACEOF
   19331 if ac_fn_c_try_link "$LINENO"
   19332 then :
   19333   eval $cacheid=yes
   19334 else case e in #(
   19335   e) eval $cacheid=no ;;
   19336 esac
   19337 fi
   19338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19339     conftest$ac_exeext conftest.$ac_ext ;;
   19340 esac
   19341 fi
   19342 
   19343 
   19344 		CFLAGS="$xorg_testset_save_CFLAGS"
   19345 
   19346 		eval supported=\$$cacheid
   19347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19348 printf "%s\n" "$supported" >&6; }
   19349 		if test "$supported" = "yes" ; then
   19350 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19351 			found="yes"
   19352 		fi
   19353 	fi
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 
   19360 
   19361 
   19362 
   19363 
   19364 
   19365 
   19366 
   19367 
   19368 
   19369 xorg_testset_save_CFLAGS="$CFLAGS"
   19370 
   19371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19376 then :
   19377   printf %s "(cached) " >&6
   19378 else case e in #(
   19379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19380 /* end confdefs.h.  */
   19381 int i;
   19382 _ACEOF
   19383 if ac_fn_c_try_compile "$LINENO"
   19384 then :
   19385   xorg_cv_cc_flag_unknown_warning_option=yes
   19386 else case e in #(
   19387   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19388 esac
   19389 fi
   19390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19391 esac
   19392 fi
   19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19394 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19396 	CFLAGS="$xorg_testset_save_CFLAGS"
   19397 fi
   19398 
   19399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19402 	fi
   19403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19405 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19406 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19407 then :
   19408   printf %s "(cached) " >&6
   19409 else case e in #(
   19410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19411 /* end confdefs.h.  */
   19412 int i;
   19413 _ACEOF
   19414 if ac_fn_c_try_compile "$LINENO"
   19415 then :
   19416   xorg_cv_cc_flag_unused_command_line_argument=yes
   19417 else case e in #(
   19418   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19419 esac
   19420 fi
   19421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19422 esac
   19423 fi
   19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19427 	CFLAGS="$xorg_testset_save_CFLAGS"
   19428 fi
   19429 
   19430 found="no"
   19431 
   19432 	if test $found = "no" ; then
   19433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19435 		fi
   19436 
   19437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19439 		fi
   19440 
   19441 		CFLAGS="$CFLAGS -Waddress"
   19442 
   19443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19444 printf %s "checking if $CC supports -Waddress... " >&6; }
   19445 		cacheid=xorg_cv_cc_flag__Waddress
   19446 		if eval test \${$cacheid+y}
   19447 then :
   19448   printf %s "(cached) " >&6
   19449 else case e in #(
   19450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19451 /* end confdefs.h.  */
   19452 int i;
   19453 int
   19454 main (void)
   19455 {
   19456 
   19457   ;
   19458   return 0;
   19459 }
   19460 _ACEOF
   19461 if ac_fn_c_try_link "$LINENO"
   19462 then :
   19463   eval $cacheid=yes
   19464 else case e in #(
   19465   e) eval $cacheid=no ;;
   19466 esac
   19467 fi
   19468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19469     conftest$ac_exeext conftest.$ac_ext ;;
   19470 esac
   19471 fi
   19472 
   19473 
   19474 		CFLAGS="$xorg_testset_save_CFLAGS"
   19475 
   19476 		eval supported=\$$cacheid
   19477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19478 printf "%s\n" "$supported" >&6; }
   19479 		if test "$supported" = "yes" ; then
   19480 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19481 			found="yes"
   19482 		fi
   19483 	fi
   19484 
   19485 
   19486 
   19487 
   19488 
   19489 
   19490 
   19491 
   19492 
   19493 
   19494 
   19495 
   19496 
   19497 
   19498 
   19499 xorg_testset_save_CFLAGS="$CFLAGS"
   19500 
   19501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19506 then :
   19507   printf %s "(cached) " >&6
   19508 else case e in #(
   19509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19510 /* end confdefs.h.  */
   19511 int i;
   19512 _ACEOF
   19513 if ac_fn_c_try_compile "$LINENO"
   19514 then :
   19515   xorg_cv_cc_flag_unknown_warning_option=yes
   19516 else case e in #(
   19517   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19518 esac
   19519 fi
   19520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19521 esac
   19522 fi
   19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19526 	CFLAGS="$xorg_testset_save_CFLAGS"
   19527 fi
   19528 
   19529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19532 	fi
   19533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19537 then :
   19538   printf %s "(cached) " >&6
   19539 else case e in #(
   19540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19541 /* end confdefs.h.  */
   19542 int i;
   19543 _ACEOF
   19544 if ac_fn_c_try_compile "$LINENO"
   19545 then :
   19546   xorg_cv_cc_flag_unused_command_line_argument=yes
   19547 else case e in #(
   19548   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19549 esac
   19550 fi
   19551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19552 esac
   19553 fi
   19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19555 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19557 	CFLAGS="$xorg_testset_save_CFLAGS"
   19558 fi
   19559 
   19560 found="no"
   19561 
   19562 	if test $found = "no" ; then
   19563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19565 		fi
   19566 
   19567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19569 		fi
   19570 
   19571 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19572 
   19573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19574 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19575 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19576 		if eval test \${$cacheid+y}
   19577 then :
   19578   printf %s "(cached) " >&6
   19579 else case e in #(
   19580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19581 /* end confdefs.h.  */
   19582 int i;
   19583 int
   19584 main (void)
   19585 {
   19586 
   19587   ;
   19588   return 0;
   19589 }
   19590 _ACEOF
   19591 if ac_fn_c_try_link "$LINENO"
   19592 then :
   19593   eval $cacheid=yes
   19594 else case e in #(
   19595   e) eval $cacheid=no ;;
   19596 esac
   19597 fi
   19598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19599     conftest$ac_exeext conftest.$ac_ext ;;
   19600 esac
   19601 fi
   19602 
   19603 
   19604 		CFLAGS="$xorg_testset_save_CFLAGS"
   19605 
   19606 		eval supported=\$$cacheid
   19607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19608 printf "%s\n" "$supported" >&6; }
   19609 		if test "$supported" = "yes" ; then
   19610 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19611 			found="yes"
   19612 		fi
   19613 	fi
   19614 
   19615 
   19616 
   19617 
   19618 
   19619 
   19620 
   19621 
   19622 
   19623 
   19624 
   19625 
   19626 
   19627 
   19628 
   19629 xorg_testset_save_CFLAGS="$CFLAGS"
   19630 
   19631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19634 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19635 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19636 then :
   19637   printf %s "(cached) " >&6
   19638 else case e in #(
   19639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19640 /* end confdefs.h.  */
   19641 int i;
   19642 _ACEOF
   19643 if ac_fn_c_try_compile "$LINENO"
   19644 then :
   19645   xorg_cv_cc_flag_unknown_warning_option=yes
   19646 else case e in #(
   19647   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19648 esac
   19649 fi
   19650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19651 esac
   19652 fi
   19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19654 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19656 	CFLAGS="$xorg_testset_save_CFLAGS"
   19657 fi
   19658 
   19659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19662 	fi
   19663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19665 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19666 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19667 then :
   19668   printf %s "(cached) " >&6
   19669 else case e in #(
   19670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19671 /* end confdefs.h.  */
   19672 int i;
   19673 _ACEOF
   19674 if ac_fn_c_try_compile "$LINENO"
   19675 then :
   19676   xorg_cv_cc_flag_unused_command_line_argument=yes
   19677 else case e in #(
   19678   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19679 esac
   19680 fi
   19681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19682 esac
   19683 fi
   19684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19687 	CFLAGS="$xorg_testset_save_CFLAGS"
   19688 fi
   19689 
   19690 found="no"
   19691 
   19692 	if test $found = "no" ; then
   19693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19695 		fi
   19696 
   19697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19699 		fi
   19700 
   19701 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19702 
   19703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19704 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19705 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19706 		if eval test \${$cacheid+y}
   19707 then :
   19708   printf %s "(cached) " >&6
   19709 else case e in #(
   19710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19711 /* end confdefs.h.  */
   19712 int i;
   19713 int
   19714 main (void)
   19715 {
   19716 
   19717   ;
   19718   return 0;
   19719 }
   19720 _ACEOF
   19721 if ac_fn_c_try_link "$LINENO"
   19722 then :
   19723   eval $cacheid=yes
   19724 else case e in #(
   19725   e) eval $cacheid=no ;;
   19726 esac
   19727 fi
   19728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19729     conftest$ac_exeext conftest.$ac_ext ;;
   19730 esac
   19731 fi
   19732 
   19733 
   19734 		CFLAGS="$xorg_testset_save_CFLAGS"
   19735 
   19736 		eval supported=\$$cacheid
   19737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19738 printf "%s\n" "$supported" >&6; }
   19739 		if test "$supported" = "yes" ; then
   19740 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19741 			found="yes"
   19742 		fi
   19743 	fi
   19744 
   19745 
   19746 fi
   19747 
   19748 
   19749 
   19750 
   19751 
   19752 
   19753 
   19754 		CWARNFLAGS="$BASE_CFLAGS"
   19755 		if  test "x$GCC" = xyes ; then
   19756 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19757 		fi
   19758 
   19759 
   19760 
   19761 
   19762 
   19763 
   19764 
   19765 
   19766 # Check whether --enable-strict-compilation was given.
   19767 if test ${enable_strict_compilation+y}
   19768 then :
   19769   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19770 else case e in #(
   19771   e) STRICT_COMPILE=no ;;
   19772 esac
   19773 fi
   19774 
   19775 
   19776 
   19777 
   19778 
   19779 
   19780 STRICT_CFLAGS=""
   19781 
   19782 
   19783 
   19784 
   19785 
   19786 
   19787 
   19788 
   19789 
   19790 
   19791 
   19792 
   19793 
   19794 xorg_testset_save_CFLAGS="$CFLAGS"
   19795 
   19796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19799 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19800 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19801 then :
   19802   printf %s "(cached) " >&6
   19803 else case e in #(
   19804   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19805 /* end confdefs.h.  */
   19806 int i;
   19807 _ACEOF
   19808 if ac_fn_c_try_compile "$LINENO"
   19809 then :
   19810   xorg_cv_cc_flag_unknown_warning_option=yes
   19811 else case e in #(
   19812   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19813 esac
   19814 fi
   19815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19816 esac
   19817 fi
   19818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19821 	CFLAGS="$xorg_testset_save_CFLAGS"
   19822 fi
   19823 
   19824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19827 	fi
   19828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19832 then :
   19833   printf %s "(cached) " >&6
   19834 else case e in #(
   19835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19836 /* end confdefs.h.  */
   19837 int i;
   19838 _ACEOF
   19839 if ac_fn_c_try_compile "$LINENO"
   19840 then :
   19841   xorg_cv_cc_flag_unused_command_line_argument=yes
   19842 else case e in #(
   19843   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19844 esac
   19845 fi
   19846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19847 esac
   19848 fi
   19849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19850 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19852 	CFLAGS="$xorg_testset_save_CFLAGS"
   19853 fi
   19854 
   19855 found="no"
   19856 
   19857 	if test $found = "no" ; then
   19858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19860 		fi
   19861 
   19862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19864 		fi
   19865 
   19866 		CFLAGS="$CFLAGS -pedantic"
   19867 
   19868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19869 printf %s "checking if $CC supports -pedantic... " >&6; }
   19870 		cacheid=xorg_cv_cc_flag__pedantic
   19871 		if eval test \${$cacheid+y}
   19872 then :
   19873   printf %s "(cached) " >&6
   19874 else case e in #(
   19875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19876 /* end confdefs.h.  */
   19877 int i;
   19878 int
   19879 main (void)
   19880 {
   19881 
   19882   ;
   19883   return 0;
   19884 }
   19885 _ACEOF
   19886 if ac_fn_c_try_link "$LINENO"
   19887 then :
   19888   eval $cacheid=yes
   19889 else case e in #(
   19890   e) eval $cacheid=no ;;
   19891 esac
   19892 fi
   19893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19894     conftest$ac_exeext conftest.$ac_ext ;;
   19895 esac
   19896 fi
   19897 
   19898 
   19899 		CFLAGS="$xorg_testset_save_CFLAGS"
   19900 
   19901 		eval supported=\$$cacheid
   19902 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19903 printf "%s\n" "$supported" >&6; }
   19904 		if test "$supported" = "yes" ; then
   19905 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19906 			found="yes"
   19907 		fi
   19908 	fi
   19909 
   19910 
   19911 
   19912 
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 
   19919 
   19920 
   19921 
   19922 
   19923 
   19924 xorg_testset_save_CFLAGS="$CFLAGS"
   19925 
   19926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19929 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19930 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19931 then :
   19932   printf %s "(cached) " >&6
   19933 else case e in #(
   19934   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19935 /* end confdefs.h.  */
   19936 int i;
   19937 _ACEOF
   19938 if ac_fn_c_try_compile "$LINENO"
   19939 then :
   19940   xorg_cv_cc_flag_unknown_warning_option=yes
   19941 else case e in #(
   19942   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19943 esac
   19944 fi
   19945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19946 esac
   19947 fi
   19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19949 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19951 	CFLAGS="$xorg_testset_save_CFLAGS"
   19952 fi
   19953 
   19954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19957 	fi
   19958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19960 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19961 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19962 then :
   19963   printf %s "(cached) " >&6
   19964 else case e in #(
   19965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19966 /* end confdefs.h.  */
   19967 int i;
   19968 _ACEOF
   19969 if ac_fn_c_try_compile "$LINENO"
   19970 then :
   19971   xorg_cv_cc_flag_unused_command_line_argument=yes
   19972 else case e in #(
   19973   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19974 esac
   19975 fi
   19976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19977 esac
   19978 fi
   19979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19980 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19982 	CFLAGS="$xorg_testset_save_CFLAGS"
   19983 fi
   19984 
   19985 found="no"
   19986 
   19987 	if test $found = "no" ; then
   19988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19990 		fi
   19991 
   19992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19994 		fi
   19995 
   19996 		CFLAGS="$CFLAGS -Werror"
   19997 
   19998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19999 printf %s "checking if $CC supports -Werror... " >&6; }
   20000 		cacheid=xorg_cv_cc_flag__Werror
   20001 		if eval test \${$cacheid+y}
   20002 then :
   20003   printf %s "(cached) " >&6
   20004 else case e in #(
   20005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20006 /* end confdefs.h.  */
   20007 int i;
   20008 int
   20009 main (void)
   20010 {
   20011 
   20012   ;
   20013   return 0;
   20014 }
   20015 _ACEOF
   20016 if ac_fn_c_try_link "$LINENO"
   20017 then :
   20018   eval $cacheid=yes
   20019 else case e in #(
   20020   e) eval $cacheid=no ;;
   20021 esac
   20022 fi
   20023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20024     conftest$ac_exeext conftest.$ac_ext ;;
   20025 esac
   20026 fi
   20027 
   20028 
   20029 		CFLAGS="$xorg_testset_save_CFLAGS"
   20030 
   20031 		eval supported=\$$cacheid
   20032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20033 printf "%s\n" "$supported" >&6; }
   20034 		if test "$supported" = "yes" ; then
   20035 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20036 			found="yes"
   20037 		fi
   20038 	fi
   20039 
   20040 	if test $found = "no" ; then
   20041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20043 		fi
   20044 
   20045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20047 		fi
   20048 
   20049 		CFLAGS="$CFLAGS -errwarn"
   20050 
   20051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20052 printf %s "checking if $CC supports -errwarn... " >&6; }
   20053 		cacheid=xorg_cv_cc_flag__errwarn
   20054 		if eval test \${$cacheid+y}
   20055 then :
   20056   printf %s "(cached) " >&6
   20057 else case e in #(
   20058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20059 /* end confdefs.h.  */
   20060 int i;
   20061 int
   20062 main (void)
   20063 {
   20064 
   20065   ;
   20066   return 0;
   20067 }
   20068 _ACEOF
   20069 if ac_fn_c_try_link "$LINENO"
   20070 then :
   20071   eval $cacheid=yes
   20072 else case e in #(
   20073   e) eval $cacheid=no ;;
   20074 esac
   20075 fi
   20076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20077     conftest$ac_exeext conftest.$ac_ext ;;
   20078 esac
   20079 fi
   20080 
   20081 
   20082 		CFLAGS="$xorg_testset_save_CFLAGS"
   20083 
   20084 		eval supported=\$$cacheid
   20085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20086 printf "%s\n" "$supported" >&6; }
   20087 		if test "$supported" = "yes" ; then
   20088 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20089 			found="yes"
   20090 		fi
   20091 	fi
   20092 
   20093 
   20094 
   20095 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20096 # activate it with -Werror, so we add it here explicitly.
   20097 
   20098 
   20099 
   20100 
   20101 
   20102 
   20103 
   20104 
   20105 
   20106 
   20107 
   20108 
   20109 
   20110 xorg_testset_save_CFLAGS="$CFLAGS"
   20111 
   20112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20114 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20115 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20116 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20117 then :
   20118   printf %s "(cached) " >&6
   20119 else case e in #(
   20120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20121 /* end confdefs.h.  */
   20122 int i;
   20123 _ACEOF
   20124 if ac_fn_c_try_compile "$LINENO"
   20125 then :
   20126   xorg_cv_cc_flag_unknown_warning_option=yes
   20127 else case e in #(
   20128   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20129 esac
   20130 fi
   20131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20132 esac
   20133 fi
   20134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20135 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20137 	CFLAGS="$xorg_testset_save_CFLAGS"
   20138 fi
   20139 
   20140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20143 	fi
   20144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20146 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20147 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20148 then :
   20149   printf %s "(cached) " >&6
   20150 else case e in #(
   20151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20152 /* end confdefs.h.  */
   20153 int i;
   20154 _ACEOF
   20155 if ac_fn_c_try_compile "$LINENO"
   20156 then :
   20157   xorg_cv_cc_flag_unused_command_line_argument=yes
   20158 else case e in #(
   20159   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20160 esac
   20161 fi
   20162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20163 esac
   20164 fi
   20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20166 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20168 	CFLAGS="$xorg_testset_save_CFLAGS"
   20169 fi
   20170 
   20171 found="no"
   20172 
   20173 	if test $found = "no" ; then
   20174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20176 		fi
   20177 
   20178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20180 		fi
   20181 
   20182 		CFLAGS="$CFLAGS -Werror=attributes"
   20183 
   20184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20185 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20186 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20187 		if eval test \${$cacheid+y}
   20188 then :
   20189   printf %s "(cached) " >&6
   20190 else case e in #(
   20191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20192 /* end confdefs.h.  */
   20193 int i;
   20194 int
   20195 main (void)
   20196 {
   20197 
   20198   ;
   20199   return 0;
   20200 }
   20201 _ACEOF
   20202 if ac_fn_c_try_link "$LINENO"
   20203 then :
   20204   eval $cacheid=yes
   20205 else case e in #(
   20206   e) eval $cacheid=no ;;
   20207 esac
   20208 fi
   20209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20210     conftest$ac_exeext conftest.$ac_ext ;;
   20211 esac
   20212 fi
   20213 
   20214 
   20215 		CFLAGS="$xorg_testset_save_CFLAGS"
   20216 
   20217 		eval supported=\$$cacheid
   20218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20219 printf "%s\n" "$supported" >&6; }
   20220 		if test "$supported" = "yes" ; then
   20221 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20222 			found="yes"
   20223 		fi
   20224 	fi
   20225 
   20226 
   20227 
   20228 if test "x$STRICT_COMPILE" = "xyes"; then
   20229     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20230     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20231 fi
   20232 
   20233 
   20234 
   20235 
   20236 
   20237 
   20238 
   20239 
   20240 cat >>confdefs.h <<_ACEOF
   20241 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20242 _ACEOF
   20243 
   20244 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20245 	if test "x$PVM" = "x"; then
   20246 		PVM="0"
   20247 	fi
   20248 
   20249 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20250 
   20251 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20252 	if test "x$PVP" = "x"; then
   20253 		PVP="0"
   20254 	fi
   20255 
   20256 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20257 
   20258 
   20259 
   20260 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20261 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20262 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20263 touch \$(top_srcdir)/ChangeLog; \
   20264 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20265 
   20266 
   20267 
   20268 
   20269 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20270 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20271 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20272 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20273 touch \$(top_srcdir)/INSTALL; \
   20274 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20275 
   20276 
   20277 
   20278 
   20279 
   20280 
   20281 case $host_os in
   20282     solaris*)
   20283         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20284         # check for a man page file found in later versions that use
   20285         # traditional section numbers instead
   20286         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20287 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20288 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20289 then :
   20290   printf %s "(cached) " >&6
   20291 else case e in #(
   20292   e) test "$cross_compiling" = yes &&
   20293   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20294 if test -r "/usr/share/man/man7/attributes.7"; then
   20295   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20296 else
   20297   ac_cv_file__usr_share_man_man7_attributes_7=no
   20298 fi ;;
   20299 esac
   20300 fi
   20301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20302 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20303 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20304 then :
   20305   SYSV_MAN_SECTIONS=false
   20306 else case e in #(
   20307   e) SYSV_MAN_SECTIONS=true ;;
   20308 esac
   20309 fi
   20310 
   20311         ;;
   20312     *) SYSV_MAN_SECTIONS=false ;;
   20313 esac
   20314 
   20315 if test x$APP_MAN_SUFFIX = x    ; then
   20316     APP_MAN_SUFFIX=1
   20317 fi
   20318 if test x$APP_MAN_DIR = x    ; then
   20319     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20320 fi
   20321 
   20322 if test x$LIB_MAN_SUFFIX = x    ; then
   20323     LIB_MAN_SUFFIX=3
   20324 fi
   20325 if test x$LIB_MAN_DIR = x    ; then
   20326     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20327 fi
   20328 
   20329 if test x$FILE_MAN_SUFFIX = x    ; then
   20330     case $SYSV_MAN_SECTIONS in
   20331 	true)				FILE_MAN_SUFFIX=4  ;;
   20332 	*)				FILE_MAN_SUFFIX=5  ;;
   20333     esac
   20334 fi
   20335 if test x$FILE_MAN_DIR = x    ; then
   20336     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20337 fi
   20338 
   20339 if test x$MISC_MAN_SUFFIX = x    ; then
   20340     case $SYSV_MAN_SECTIONS in
   20341 	true)				MISC_MAN_SUFFIX=5  ;;
   20342 	*)				MISC_MAN_SUFFIX=7  ;;
   20343     esac
   20344 fi
   20345 if test x$MISC_MAN_DIR = x    ; then
   20346     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20347 fi
   20348 
   20349 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20350     case $SYSV_MAN_SECTIONS in
   20351 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20352 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20353     esac
   20354 fi
   20355 if test x$DRIVER_MAN_DIR = x    ; then
   20356     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20357 fi
   20358 
   20359 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20360     case $SYSV_MAN_SECTIONS in
   20361 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20362 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20363     esac
   20364 fi
   20365 if test x$ADMIN_MAN_DIR = x    ; then
   20366     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20367 fi
   20368 
   20369 
   20370 
   20371 
   20372 
   20373 
   20374 
   20375 
   20376 
   20377 
   20378 
   20379 
   20380 
   20381 
   20382 
   20383 XORG_MAN_PAGE="X Version 11"
   20384 
   20385 MAN_SUBSTS="\
   20386 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20387 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20388 	-e 's|__xservername__|Xorg|g' \
   20389 	-e 's|__xconfigfile__|xorg.conf|g' \
   20390 	-e 's|__projectroot__|\$(prefix)|g' \
   20391 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20392 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20393 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20394 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20395 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20396 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20397 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20398 
   20399 
   20400 
   20401 # Check whether --enable-silent-rules was given.
   20402 if test ${enable_silent_rules+y}
   20403 then :
   20404   enableval=$enable_silent_rules;
   20405 fi
   20406 
   20407 case $enable_silent_rules in # (((
   20408   yes) AM_DEFAULT_VERBOSITY=0;;
   20409    no) AM_DEFAULT_VERBOSITY=1;;
   20410     *) AM_DEFAULT_VERBOSITY=0;;
   20411 esac
   20412 am_make=${MAKE-make}
   20413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   20414 printf %s "checking whether $am_make supports nested variables... " >&6; }
   20415 if test ${am_cv_make_support_nested_variables+y}
   20416 then :
   20417   printf %s "(cached) " >&6
   20418 else case e in #(
   20419   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   20420 BAR0=false
   20421 BAR1=true
   20422 V=1
   20423 am__doit:
   20424 	@$(TRUE)
   20425 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   20426   am_cv_make_support_nested_variables=yes
   20427 else
   20428   am_cv_make_support_nested_variables=no
   20429 fi ;;
   20430 esac
   20431 fi
   20432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   20433 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   20434 if test $am_cv_make_support_nested_variables = yes; then
   20435     AM_V='$(V)'
   20436   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20437 else
   20438   AM_V=$AM_DEFAULT_VERBOSITY
   20439   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20440 fi
   20441 AM_BACKSLASH='\'
   20442 
   20443 
   20444 
   20445 
   20446 
   20447 # Check whether --enable-specs was given.
   20448 if test ${enable_specs+y}
   20449 then :
   20450   enableval=$enable_specs; build_specs=$enableval
   20451 else case e in #(
   20452   e) build_specs=yes ;;
   20453 esac
   20454 fi
   20455 
   20456 
   20457  if test x$build_specs = xyes; then
   20458   ENABLE_SPECS_TRUE=
   20459   ENABLE_SPECS_FALSE='#'
   20460 else
   20461   ENABLE_SPECS_TRUE='#'
   20462   ENABLE_SPECS_FALSE=
   20463 fi
   20464 
   20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   20466 printf %s "checking whether to build functional specifications... " >&6; }
   20467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   20468 printf "%s\n" "$build_specs" >&6; }
   20469 
   20470 
   20471 
   20472 
   20473 
   20474 # Check whether --with-xmlto was given.
   20475 if test ${with_xmlto+y}
   20476 then :
   20477   withval=$with_xmlto; use_xmlto=$withval
   20478 else case e in #(
   20479   e) use_xmlto=auto ;;
   20480 esac
   20481 fi
   20482 
   20483 
   20484 
   20485 if test "x$use_xmlto" = x"auto"; then
   20486    # Extract the first word of "xmlto", so it can be a program name with args.
   20487 set dummy xmlto; ac_word=$2
   20488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20489 printf %s "checking for $ac_word... " >&6; }
   20490 if test ${ac_cv_path_XMLTO+y}
   20491 then :
   20492   printf %s "(cached) " >&6
   20493 else case e in #(
   20494   e) case $XMLTO in
   20495   [\\/]* | ?:[\\/]*)
   20496   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20497   ;;
   20498   *)
   20499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20500 for as_dir in $PATH
   20501 do
   20502   IFS=$as_save_IFS
   20503   case $as_dir in #(((
   20504     '') as_dir=./ ;;
   20505     */) ;;
   20506     *) as_dir=$as_dir/ ;;
   20507   esac
   20508     for ac_exec_ext in '' $ac_executable_extensions; do
   20509   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20510     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20511     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20512     break 2
   20513   fi
   20514 done
   20515   done
   20516 IFS=$as_save_IFS
   20517 
   20518   ;;
   20519 esac ;;
   20520 esac
   20521 fi
   20522 XMLTO=$ac_cv_path_XMLTO
   20523 if test -n "$XMLTO"; then
   20524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20525 printf "%s\n" "$XMLTO" >&6; }
   20526 else
   20527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20528 printf "%s\n" "no" >&6; }
   20529 fi
   20530 
   20531 
   20532    if test "x$XMLTO" = "x"; then
   20533         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20534 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20535 	have_xmlto=no
   20536    else
   20537         have_xmlto=yes
   20538    fi
   20539 elif test "x$use_xmlto" = x"yes" ; then
   20540    # Extract the first word of "xmlto", so it can be a program name with args.
   20541 set dummy xmlto; ac_word=$2
   20542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20543 printf %s "checking for $ac_word... " >&6; }
   20544 if test ${ac_cv_path_XMLTO+y}
   20545 then :
   20546   printf %s "(cached) " >&6
   20547 else case e in #(
   20548   e) case $XMLTO in
   20549   [\\/]* | ?:[\\/]*)
   20550   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20551   ;;
   20552   *)
   20553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20554 for as_dir in $PATH
   20555 do
   20556   IFS=$as_save_IFS
   20557   case $as_dir in #(((
   20558     '') as_dir=./ ;;
   20559     */) ;;
   20560     *) as_dir=$as_dir/ ;;
   20561   esac
   20562     for ac_exec_ext in '' $ac_executable_extensions; do
   20563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20564     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20565     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20566     break 2
   20567   fi
   20568 done
   20569   done
   20570 IFS=$as_save_IFS
   20571 
   20572   ;;
   20573 esac ;;
   20574 esac
   20575 fi
   20576 XMLTO=$ac_cv_path_XMLTO
   20577 if test -n "$XMLTO"; then
   20578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20579 printf "%s\n" "$XMLTO" >&6; }
   20580 else
   20581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20582 printf "%s\n" "no" >&6; }
   20583 fi
   20584 
   20585 
   20586    if test "x$XMLTO" = "x"; then
   20587         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20588    fi
   20589    have_xmlto=yes
   20590 elif test "x$use_xmlto" = x"no" ; then
   20591    if test "x$XMLTO" != "x"; then
   20592       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20593 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20594    fi
   20595    have_xmlto=no
   20596 else
   20597    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20598 fi
   20599 
   20600 # Test for a minimum version of xmlto, if provided.
   20601 if test "$have_xmlto" = yes; then
   20602     # scrape the xmlto version
   20603     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20604 printf %s "checking the xmlto version... " >&6; }
   20605     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20606     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20607 printf "%s\n" "$xmlto_version" >&6; }
   20608     as_arg_v1=$xmlto_version
   20609 as_arg_v2=0.0.22
   20610 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20611 case $? in #(
   20612   1) :
   20613     if test "x$use_xmlto" = xauto; then
   20614             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20615 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20616             have_xmlto=no
   20617         else
   20618             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20619         fi ;; #(
   20620   0) :
   20621      ;; #(
   20622   2) :
   20623      ;; #(
   20624   *) :
   20625      ;;
   20626 esac
   20627 fi
   20628 
   20629 # Test for the ability of xmlto to generate a text target
   20630 #
   20631 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20632 # following test for empty XML docbook files.
   20633 # For compatibility reasons use the following empty XML docbook file and if
   20634 # it fails try it again with a non-empty XML file.
   20635 have_xmlto_text=no
   20636 cat > conftest.xml << "EOF"
   20637 EOF
   20638 if test "$have_xmlto" = yes
   20639 then :
   20640   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20641 then :
   20642   have_xmlto_text=yes
   20643 else case e in #(
   20644   e) # Try it again with a non-empty XML file.
   20645               cat > conftest.xml << "EOF"
   20646 <x></x>
   20647 EOF
   20648               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20649 then :
   20650   have_xmlto_text=yes
   20651 else case e in #(
   20652   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20653 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   20654 esac
   20655 fi ;;
   20656 esac
   20657 fi
   20658 fi
   20659 rm -f conftest.xml
   20660  if test $have_xmlto_text = yes; then
   20661   HAVE_XMLTO_TEXT_TRUE=
   20662   HAVE_XMLTO_TEXT_FALSE='#'
   20663 else
   20664   HAVE_XMLTO_TEXT_TRUE='#'
   20665   HAVE_XMLTO_TEXT_FALSE=
   20666 fi
   20667 
   20668  if test "$have_xmlto" = yes; then
   20669   HAVE_XMLTO_TRUE=
   20670   HAVE_XMLTO_FALSE='#'
   20671 else
   20672   HAVE_XMLTO_TRUE='#'
   20673   HAVE_XMLTO_FALSE=
   20674 fi
   20675 
   20676 
   20677 
   20678 
   20679 
   20680 
   20681 # Check whether --with-fop was given.
   20682 if test ${with_fop+y}
   20683 then :
   20684   withval=$with_fop; use_fop=$withval
   20685 else case e in #(
   20686   e) use_fop=no ;;
   20687 esac
   20688 fi
   20689 
   20690 
   20691 
   20692 if test "x$use_fop" = x"auto"; then
   20693    # Extract the first word of "fop", so it can be a program name with args.
   20694 set dummy fop; ac_word=$2
   20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20696 printf %s "checking for $ac_word... " >&6; }
   20697 if test ${ac_cv_path_FOP+y}
   20698 then :
   20699   printf %s "(cached) " >&6
   20700 else case e in #(
   20701   e) case $FOP in
   20702   [\\/]* | ?:[\\/]*)
   20703   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20704   ;;
   20705   *)
   20706   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20707 for as_dir in $PATH
   20708 do
   20709   IFS=$as_save_IFS
   20710   case $as_dir in #(((
   20711     '') as_dir=./ ;;
   20712     */) ;;
   20713     *) as_dir=$as_dir/ ;;
   20714   esac
   20715     for ac_exec_ext in '' $ac_executable_extensions; do
   20716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20717     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20719     break 2
   20720   fi
   20721 done
   20722   done
   20723 IFS=$as_save_IFS
   20724 
   20725   ;;
   20726 esac ;;
   20727 esac
   20728 fi
   20729 FOP=$ac_cv_path_FOP
   20730 if test -n "$FOP"; then
   20731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20732 printf "%s\n" "$FOP" >&6; }
   20733 else
   20734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20735 printf "%s\n" "no" >&6; }
   20736 fi
   20737 
   20738 
   20739    if test "x$FOP" = "x"; then
   20740         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20741 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20742 	have_fop=no
   20743    else
   20744         have_fop=yes
   20745    fi
   20746 elif test "x$use_fop" = x"yes" ; then
   20747    # Extract the first word of "fop", so it can be a program name with args.
   20748 set dummy fop; ac_word=$2
   20749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20750 printf %s "checking for $ac_word... " >&6; }
   20751 if test ${ac_cv_path_FOP+y}
   20752 then :
   20753   printf %s "(cached) " >&6
   20754 else case e in #(
   20755   e) case $FOP in
   20756   [\\/]* | ?:[\\/]*)
   20757   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20758   ;;
   20759   *)
   20760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20761 for as_dir in $PATH
   20762 do
   20763   IFS=$as_save_IFS
   20764   case $as_dir in #(((
   20765     '') as_dir=./ ;;
   20766     */) ;;
   20767     *) as_dir=$as_dir/ ;;
   20768   esac
   20769     for ac_exec_ext in '' $ac_executable_extensions; do
   20770   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20771     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20772     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20773     break 2
   20774   fi
   20775 done
   20776   done
   20777 IFS=$as_save_IFS
   20778 
   20779   ;;
   20780 esac ;;
   20781 esac
   20782 fi
   20783 FOP=$ac_cv_path_FOP
   20784 if test -n "$FOP"; then
   20785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20786 printf "%s\n" "$FOP" >&6; }
   20787 else
   20788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20789 printf "%s\n" "no" >&6; }
   20790 fi
   20791 
   20792 
   20793    if test "x$FOP" = "x"; then
   20794         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20795    fi
   20796    have_fop=yes
   20797 elif test "x$use_fop" = x"no" ; then
   20798    if test "x$FOP" != "x"; then
   20799       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20800 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20801    fi
   20802    have_fop=no
   20803 else
   20804    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20805 fi
   20806 
   20807 # Test for a minimum version of fop, if provided.
   20808 
   20809  if test "$have_fop" = yes; then
   20810   HAVE_FOP_TRUE=
   20811   HAVE_FOP_FALSE='#'
   20812 else
   20813   HAVE_FOP_TRUE='#'
   20814   HAVE_FOP_FALSE=
   20815 fi
   20816 
   20817 
   20818 
   20819 
   20820 # Preserves the interface, should it be implemented later
   20821 
   20822 
   20823 
   20824 # Check whether --with-xsltproc was given.
   20825 if test ${with_xsltproc+y}
   20826 then :
   20827   withval=$with_xsltproc; use_xsltproc=$withval
   20828 else case e in #(
   20829   e) use_xsltproc=auto ;;
   20830 esac
   20831 fi
   20832 
   20833 
   20834 
   20835 if test "x$use_xsltproc" = x"auto"; then
   20836    # Extract the first word of "xsltproc", so it can be a program name with args.
   20837 set dummy xsltproc; ac_word=$2
   20838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20839 printf %s "checking for $ac_word... " >&6; }
   20840 if test ${ac_cv_path_XSLTPROC+y}
   20841 then :
   20842   printf %s "(cached) " >&6
   20843 else case e in #(
   20844   e) case $XSLTPROC in
   20845   [\\/]* | ?:[\\/]*)
   20846   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20847   ;;
   20848   *)
   20849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20850 for as_dir in $PATH
   20851 do
   20852   IFS=$as_save_IFS
   20853   case $as_dir in #(((
   20854     '') as_dir=./ ;;
   20855     */) ;;
   20856     *) as_dir=$as_dir/ ;;
   20857   esac
   20858     for ac_exec_ext in '' $ac_executable_extensions; do
   20859   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20860     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20861     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20862     break 2
   20863   fi
   20864 done
   20865   done
   20866 IFS=$as_save_IFS
   20867 
   20868   ;;
   20869 esac ;;
   20870 esac
   20871 fi
   20872 XSLTPROC=$ac_cv_path_XSLTPROC
   20873 if test -n "$XSLTPROC"; then
   20874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20875 printf "%s\n" "$XSLTPROC" >&6; }
   20876 else
   20877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20878 printf "%s\n" "no" >&6; }
   20879 fi
   20880 
   20881 
   20882    if test "x$XSLTPROC" = "x"; then
   20883         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20884 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20885 	have_xsltproc=no
   20886    else
   20887         have_xsltproc=yes
   20888    fi
   20889 elif test "x$use_xsltproc" = x"yes" ; then
   20890    # Extract the first word of "xsltproc", so it can be a program name with args.
   20891 set dummy xsltproc; ac_word=$2
   20892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20893 printf %s "checking for $ac_word... " >&6; }
   20894 if test ${ac_cv_path_XSLTPROC+y}
   20895 then :
   20896   printf %s "(cached) " >&6
   20897 else case e in #(
   20898   e) case $XSLTPROC in
   20899   [\\/]* | ?:[\\/]*)
   20900   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20901   ;;
   20902   *)
   20903   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20904 for as_dir in $PATH
   20905 do
   20906   IFS=$as_save_IFS
   20907   case $as_dir in #(((
   20908     '') as_dir=./ ;;
   20909     */) ;;
   20910     *) as_dir=$as_dir/ ;;
   20911   esac
   20912     for ac_exec_ext in '' $ac_executable_extensions; do
   20913   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20914     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20915     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20916     break 2
   20917   fi
   20918 done
   20919   done
   20920 IFS=$as_save_IFS
   20921 
   20922   ;;
   20923 esac ;;
   20924 esac
   20925 fi
   20926 XSLTPROC=$ac_cv_path_XSLTPROC
   20927 if test -n "$XSLTPROC"; then
   20928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20929 printf "%s\n" "$XSLTPROC" >&6; }
   20930 else
   20931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20932 printf "%s\n" "no" >&6; }
   20933 fi
   20934 
   20935 
   20936    if test "x$XSLTPROC" = "x"; then
   20937         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   20938    fi
   20939    have_xsltproc=yes
   20940 elif test "x$use_xsltproc" = x"no" ; then
   20941    if test "x$XSLTPROC" != "x"; then
   20942       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   20943 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   20944    fi
   20945    have_xsltproc=no
   20946 else
   20947    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   20948 fi
   20949 
   20950  if test "$have_xsltproc" = yes; then
   20951   HAVE_XSLTPROC_TRUE=
   20952   HAVE_XSLTPROC_FALSE='#'
   20953 else
   20954   HAVE_XSLTPROC_TRUE='#'
   20955   HAVE_XSLTPROC_FALSE=
   20956 fi
   20957 
   20958 
   20959 
   20960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   20961 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   20962 XORG_SGML_PATH=
   20963 if test -n "$PKG_CONFIG" && \
   20964     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   20965   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   20966   ac_status=$?
   20967   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20968   test $ac_status = 0; }; then
   20969   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   20970 else
   20971   :
   20972 
   20973 fi
   20974 
   20975 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   20976 # the path and the name of the doc stylesheet
   20977 if test "x$XORG_SGML_PATH" != "x" ; then
   20978    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   20979 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   20980    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   20981    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   20982 else
   20983    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20984 printf "%s\n" "no" >&6; }
   20985 fi
   20986 
   20987 
   20988 
   20989 
   20990  if test "x$XSL_STYLESHEET" != "x"; then
   20991   HAVE_STYLESHEETS_TRUE=
   20992   HAVE_STYLESHEETS_FALSE='#'
   20993 else
   20994   HAVE_STYLESHEETS_TRUE='#'
   20995   HAVE_STYLESHEETS_FALSE=
   20996 fi
   20997 
   20998 
   20999 ac_ext=c
   21000 ac_cpp='$CPP $CPPFLAGS'
   21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   21005 printf %s "checking how to run the C preprocessor... " >&6; }
   21006 # On Suns, sometimes $CPP names a directory.
   21007 if test -n "$CPP" && test -d "$CPP"; then
   21008   CPP=
   21009 fi
   21010 if test -z "$CPP"; then
   21011   if test ${ac_cv_prog_CPP+y}
   21012 then :
   21013   printf %s "(cached) " >&6
   21014 else case e in #(
   21015   e)     # Double quotes because $CC needs to be expanded
   21016     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   21017     do
   21018       ac_preproc_ok=false
   21019 for ac_c_preproc_warn_flag in '' yes
   21020 do
   21021   # Use a header file that comes with gcc, so configuring glibc
   21022   # with a fresh cross-compiler works.
   21023   # On the NeXT, cc -E runs the code through the compiler's parser,
   21024   # not just through cpp. "Syntax error" is here to catch this case.
   21025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21026 /* end confdefs.h.  */
   21027 #include <limits.h>
   21028 		     Syntax error
   21029 _ACEOF
   21030 if ac_fn_c_try_cpp "$LINENO"
   21031 then :
   21032 
   21033 else case e in #(
   21034   e) # Broken: fails on valid input.
   21035 continue ;;
   21036 esac
   21037 fi
   21038 rm -f conftest.err conftest.i conftest.$ac_ext
   21039 
   21040   # OK, works on sane cases.  Now check whether nonexistent headers
   21041   # can be detected and how.
   21042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21043 /* end confdefs.h.  */
   21044 #include <ac_nonexistent.h>
   21045 _ACEOF
   21046 if ac_fn_c_try_cpp "$LINENO"
   21047 then :
   21048   # Broken: success on invalid input.
   21049 continue
   21050 else case e in #(
   21051   e) # Passes both tests.
   21052 ac_preproc_ok=:
   21053 break ;;
   21054 esac
   21055 fi
   21056 rm -f conftest.err conftest.i conftest.$ac_ext
   21057 
   21058 done
   21059 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21060 rm -f conftest.i conftest.err conftest.$ac_ext
   21061 if $ac_preproc_ok
   21062 then :
   21063   break
   21064 fi
   21065 
   21066     done
   21067     ac_cv_prog_CPP=$CPP
   21068    ;;
   21069 esac
   21070 fi
   21071   CPP=$ac_cv_prog_CPP
   21072 else
   21073   ac_cv_prog_CPP=$CPP
   21074 fi
   21075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   21076 printf "%s\n" "$CPP" >&6; }
   21077 ac_preproc_ok=false
   21078 for ac_c_preproc_warn_flag in '' yes
   21079 do
   21080   # Use a header file that comes with gcc, so configuring glibc
   21081   # with a fresh cross-compiler works.
   21082   # On the NeXT, cc -E runs the code through the compiler's parser,
   21083   # not just through cpp. "Syntax error" is here to catch this case.
   21084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21085 /* end confdefs.h.  */
   21086 #include <limits.h>
   21087 		     Syntax error
   21088 _ACEOF
   21089 if ac_fn_c_try_cpp "$LINENO"
   21090 then :
   21091 
   21092 else case e in #(
   21093   e) # Broken: fails on valid input.
   21094 continue ;;
   21095 esac
   21096 fi
   21097 rm -f conftest.err conftest.i conftest.$ac_ext
   21098 
   21099   # OK, works on sane cases.  Now check whether nonexistent headers
   21100   # can be detected and how.
   21101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21102 /* end confdefs.h.  */
   21103 #include <ac_nonexistent.h>
   21104 _ACEOF
   21105 if ac_fn_c_try_cpp "$LINENO"
   21106 then :
   21107   # Broken: success on invalid input.
   21108 continue
   21109 else case e in #(
   21110   e) # Passes both tests.
   21111 ac_preproc_ok=:
   21112 break ;;
   21113 esac
   21114 fi
   21115 rm -f conftest.err conftest.i conftest.$ac_ext
   21116 
   21117 done
   21118 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21119 rm -f conftest.i conftest.err conftest.$ac_ext
   21120 if $ac_preproc_ok
   21121 then :
   21122 
   21123 else case e in #(
   21124   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21125 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21126 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   21127 See 'config.log' for more details" "$LINENO" 5; } ;;
   21128 esac
   21129 fi
   21130 
   21131 ac_ext=c
   21132 ac_cpp='$CPP $CPPFLAGS'
   21133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21136 
   21137 
   21138 
   21139 if test -n "$ac_tool_prefix"; then
   21140   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   21141 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   21142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21143 printf %s "checking for $ac_word... " >&6; }
   21144 if test ${ac_cv_path_RAWCPP+y}
   21145 then :
   21146   printf %s "(cached) " >&6
   21147 else case e in #(
   21148   e) case $RAWCPP in
   21149   [\\/]* | ?:[\\/]*)
   21150   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21151   ;;
   21152   *)
   21153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21154 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21155 for as_dir in $as_dummy
   21156 do
   21157   IFS=$as_save_IFS
   21158   case $as_dir in #(((
   21159     '') as_dir=./ ;;
   21160     */) ;;
   21161     *) as_dir=$as_dir/ ;;
   21162   esac
   21163     for ac_exec_ext in '' $ac_executable_extensions; do
   21164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21165     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21167     break 2
   21168   fi
   21169 done
   21170   done
   21171 IFS=$as_save_IFS
   21172 
   21173   ;;
   21174 esac ;;
   21175 esac
   21176 fi
   21177 RAWCPP=$ac_cv_path_RAWCPP
   21178 if test -n "$RAWCPP"; then
   21179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   21180 printf "%s\n" "$RAWCPP" >&6; }
   21181 else
   21182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21183 printf "%s\n" "no" >&6; }
   21184 fi
   21185 
   21186 
   21187 fi
   21188 if test -z "$ac_cv_path_RAWCPP"; then
   21189   ac_pt_RAWCPP=$RAWCPP
   21190   # Extract the first word of "cpp", so it can be a program name with args.
   21191 set dummy cpp; ac_word=$2
   21192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21193 printf %s "checking for $ac_word... " >&6; }
   21194 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   21195 then :
   21196   printf %s "(cached) " >&6
   21197 else case e in #(
   21198   e) case $ac_pt_RAWCPP in
   21199   [\\/]* | ?:[\\/]*)
   21200   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   21201   ;;
   21202   *)
   21203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21204 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21205 for as_dir in $as_dummy
   21206 do
   21207   IFS=$as_save_IFS
   21208   case $as_dir in #(((
   21209     '') as_dir=./ ;;
   21210     */) ;;
   21211     *) as_dir=$as_dir/ ;;
   21212   esac
   21213     for ac_exec_ext in '' $ac_executable_extensions; do
   21214   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21215     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21216     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21217     break 2
   21218   fi
   21219 done
   21220   done
   21221 IFS=$as_save_IFS
   21222 
   21223   ;;
   21224 esac ;;
   21225 esac
   21226 fi
   21227 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   21228 if test -n "$ac_pt_RAWCPP"; then
   21229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   21230 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   21231 else
   21232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21233 printf "%s\n" "no" >&6; }
   21234 fi
   21235 
   21236   if test "x$ac_pt_RAWCPP" = x; then
   21237     RAWCPP="${CPP}"
   21238   else
   21239     case $cross_compiling:$ac_tool_warned in
   21240 yes:)
   21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21242 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21243 ac_tool_warned=yes ;;
   21244 esac
   21245     RAWCPP=$ac_pt_RAWCPP
   21246   fi
   21247 else
   21248   RAWCPP="$ac_cv_path_RAWCPP"
   21249 fi
   21250 
   21251 
   21252 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21253 # which is not the best choice for supporting other OS'es, but covers most
   21254 # of the ones we need for now.
   21255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   21256 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   21257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21258 /* end confdefs.h.  */
   21259 Does cpp redefine unix ?
   21260 _ACEOF
   21261 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21263 printf "%s\n" "no" >&6; }
   21264 else
   21265 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21266 		RAWCPPFLAGS=-undef
   21267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21268 printf "%s\n" "yes" >&6; }
   21269 	# under Cygwin unix is still defined even with -undef
   21270 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21271 		RAWCPPFLAGS="-undef -ansi"
   21272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   21273 printf "%s\n" "yes, with -ansi" >&6; }
   21274 	else
   21275 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   21276 	fi
   21277 fi
   21278 rm -f conftest.$ac_ext
   21279 
   21280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   21281 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21283 /* end confdefs.h.  */
   21284 Does cpp preserve   "whitespace"?
   21285 _ACEOF
   21286 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21288 printf "%s\n" "no" >&6; }
   21289 else
   21290 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21291 		TRADITIONALCPPFLAGS="-traditional"
   21292 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   21293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21294 printf "%s\n" "yes" >&6; }
   21295 	else
   21296 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   21297 	fi
   21298 fi
   21299 rm -f conftest.$ac_ext
   21300 
   21301 
   21302 
   21303 
   21304 
   21305 # Preserves the interface, should it be implemented later
   21306 
   21307 
   21308 
   21309 # Check whether --with-perl was given.
   21310 if test ${with_perl+y}
   21311 then :
   21312   withval=$with_perl; use_perl=$withval
   21313 else case e in #(
   21314   e) use_perl=auto ;;
   21315 esac
   21316 fi
   21317 
   21318 
   21319 
   21320 if test "x$use_perl" = x"auto"; then
   21321    # Extract the first word of "perl", so it can be a program name with args.
   21322 set dummy perl; ac_word=$2
   21323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21324 printf %s "checking for $ac_word... " >&6; }
   21325 if test ${ac_cv_path_PERL+y}
   21326 then :
   21327   printf %s "(cached) " >&6
   21328 else case e in #(
   21329   e) case $PERL in
   21330   [\\/]* | ?:[\\/]*)
   21331   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21332   ;;
   21333   *)
   21334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21335 for as_dir in $PATH
   21336 do
   21337   IFS=$as_save_IFS
   21338   case $as_dir in #(((
   21339     '') as_dir=./ ;;
   21340     */) ;;
   21341     *) as_dir=$as_dir/ ;;
   21342   esac
   21343     for ac_exec_ext in '' $ac_executable_extensions; do
   21344   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21345     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   21346     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21347     break 2
   21348   fi
   21349 done
   21350   done
   21351 IFS=$as_save_IFS
   21352 
   21353   ;;
   21354 esac ;;
   21355 esac
   21356 fi
   21357 PERL=$ac_cv_path_PERL
   21358 if test -n "$PERL"; then
   21359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21360 printf "%s\n" "$PERL" >&6; }
   21361 else
   21362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21363 printf "%s\n" "no" >&6; }
   21364 fi
   21365 
   21366 
   21367    if test "x$PERL" = "x"; then
   21368         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   21369 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   21370 	have_perl=no
   21371    else
   21372         have_perl=yes
   21373    fi
   21374 elif test "x$use_perl" = x"yes" ; then
   21375    # Extract the first word of "perl", so it can be a program name with args.
   21376 set dummy perl; ac_word=$2
   21377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21378 printf %s "checking for $ac_word... " >&6; }
   21379 if test ${ac_cv_path_PERL+y}
   21380 then :
   21381   printf %s "(cached) " >&6
   21382 else case e in #(
   21383   e) case $PERL in
   21384   [\\/]* | ?:[\\/]*)
   21385   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21386   ;;
   21387   *)
   21388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21389 for as_dir in $PATH
   21390 do
   21391   IFS=$as_save_IFS
   21392   case $as_dir in #(((
   21393     '') as_dir=./ ;;
   21394     */) ;;
   21395     *) as_dir=$as_dir/ ;;
   21396   esac
   21397     for ac_exec_ext in '' $ac_executable_extensions; do
   21398   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21399     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   21400     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21401     break 2
   21402   fi
   21403 done
   21404   done
   21405 IFS=$as_save_IFS
   21406 
   21407   ;;
   21408 esac ;;
   21409 esac
   21410 fi
   21411 PERL=$ac_cv_path_PERL
   21412 if test -n "$PERL"; then
   21413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21414 printf "%s\n" "$PERL" >&6; }
   21415 else
   21416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21417 printf "%s\n" "no" >&6; }
   21418 fi
   21419 
   21420 
   21421    if test "x$PERL" = "x"; then
   21422         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   21423    fi
   21424    have_perl=yes
   21425 elif test "x$use_perl" = x"no" ; then
   21426    if test "x$PERL" != "x"; then
   21427       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   21428 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   21429    fi
   21430    have_perl=no
   21431 else
   21432    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   21433 fi
   21434 
   21435  if test "$have_perl" = yes; then
   21436   HAVE_PERL_TRUE=
   21437   HAVE_PERL_FALSE='#'
   21438 else
   21439   HAVE_PERL_TRUE='#'
   21440   HAVE_PERL_FALSE=
   21441 fi
   21442 
   21443 
   21444 
   21445 # Required when PKG_CHECK_MODULES called within an if statement
   21446 
   21447 
   21448 
   21449 
   21450 
   21451 
   21452 
   21453 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21454 	if test -n "$ac_tool_prefix"; then
   21455   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21456 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21458 printf %s "checking for $ac_word... " >&6; }
   21459 if test ${ac_cv_path_PKG_CONFIG+y}
   21460 then :
   21461   printf %s "(cached) " >&6
   21462 else case e in #(
   21463   e) case $PKG_CONFIG in
   21464   [\\/]* | ?:[\\/]*)
   21465   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21466   ;;
   21467   *)
   21468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21469 for as_dir in $PATH
   21470 do
   21471   IFS=$as_save_IFS
   21472   case $as_dir in #(((
   21473     '') as_dir=./ ;;
   21474     */) ;;
   21475     *) as_dir=$as_dir/ ;;
   21476   esac
   21477     for ac_exec_ext in '' $ac_executable_extensions; do
   21478   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21479     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21480     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21481     break 2
   21482   fi
   21483 done
   21484   done
   21485 IFS=$as_save_IFS
   21486 
   21487   ;;
   21488 esac ;;
   21489 esac
   21490 fi
   21491 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21492 if test -n "$PKG_CONFIG"; then
   21493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21494 printf "%s\n" "$PKG_CONFIG" >&6; }
   21495 else
   21496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21497 printf "%s\n" "no" >&6; }
   21498 fi
   21499 
   21500 
   21501 fi
   21502 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21503   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21504   # Extract the first word of "pkg-config", so it can be a program name with args.
   21505 set dummy pkg-config; ac_word=$2
   21506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21507 printf %s "checking for $ac_word... " >&6; }
   21508 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21509 then :
   21510   printf %s "(cached) " >&6
   21511 else case e in #(
   21512   e) case $ac_pt_PKG_CONFIG in
   21513   [\\/]* | ?:[\\/]*)
   21514   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21515   ;;
   21516   *)
   21517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21518 for as_dir in $PATH
   21519 do
   21520   IFS=$as_save_IFS
   21521   case $as_dir in #(((
   21522     '') as_dir=./ ;;
   21523     */) ;;
   21524     *) as_dir=$as_dir/ ;;
   21525   esac
   21526     for ac_exec_ext in '' $ac_executable_extensions; do
   21527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21528     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21530     break 2
   21531   fi
   21532 done
   21533   done
   21534 IFS=$as_save_IFS
   21535 
   21536   ;;
   21537 esac ;;
   21538 esac
   21539 fi
   21540 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21541 if test -n "$ac_pt_PKG_CONFIG"; then
   21542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21543 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21544 else
   21545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21546 printf "%s\n" "no" >&6; }
   21547 fi
   21548 
   21549   if test "x$ac_pt_PKG_CONFIG" = x; then
   21550     PKG_CONFIG=""
   21551   else
   21552     case $cross_compiling:$ac_tool_warned in
   21553 yes:)
   21554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21555 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21556 ac_tool_warned=yes ;;
   21557 esac
   21558     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21559   fi
   21560 else
   21561   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21562 fi
   21563 
   21564 fi
   21565 if test -n "$PKG_CONFIG"; then
   21566 	_pkg_min_version=0.9.0
   21567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21568 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21569 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21571 printf "%s\n" "yes" >&6; }
   21572 	else
   21573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21574 printf "%s\n" "no" >&6; }
   21575 		PKG_CONFIG=""
   21576 	fi
   21577 fi
   21578 
   21579 if test x"$CC_FOR_BUILD" = x; then
   21580 	if test x"$cross_compiling" = xyes; then
   21581 	       for ac_prog in gcc cc
   21582 do
   21583   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21584 set dummy $ac_prog; ac_word=$2
   21585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21586 printf %s "checking for $ac_word... " >&6; }
   21587 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   21588 then :
   21589   printf %s "(cached) " >&6
   21590 else case e in #(
   21591   e) if test -n "$CC_FOR_BUILD"; then
   21592   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   21593 else
   21594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21595 for as_dir in $PATH
   21596 do
   21597   IFS=$as_save_IFS
   21598   case $as_dir in #(((
   21599     '') as_dir=./ ;;
   21600     */) ;;
   21601     *) as_dir=$as_dir/ ;;
   21602   esac
   21603     for ac_exec_ext in '' $ac_executable_extensions; do
   21604   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21605     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   21606     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21607     break 2
   21608   fi
   21609 done
   21610   done
   21611 IFS=$as_save_IFS
   21612 
   21613 fi ;;
   21614 esac
   21615 fi
   21616 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   21617 if test -n "$CC_FOR_BUILD"; then
   21618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   21619 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   21620 else
   21621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21622 printf "%s\n" "no" >&6; }
   21623 fi
   21624 
   21625 
   21626   test -n "$CC_FOR_BUILD" && break
   21627 done
   21628 
   21629 	else
   21630 	       CC_FOR_BUILD="$CC"
   21631 	fi
   21632 fi
   21633 
   21634 
   21635 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   21636 	if test ! x"$cross_compiling" = xyes; then
   21637 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   21638 	fi
   21639 fi
   21640 
   21641 
   21642 if test x"$CFLAGS_FOR_BUILD" = x; then
   21643 	if test ! x"$cross_compiling" = xyes; then
   21644 		CFLAGS_FOR_BUILD=${CFLAGS}
   21645 	fi
   21646 fi
   21647 
   21648 
   21649 if test x"$LDFLAGS_FOR_BUILD" = x; then
   21650 	if test ! x"$cross_compiling" = xyes; then
   21651 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   21652 	fi
   21653 fi
   21654 
   21655 
   21656 if test x"$EXEEXT_FOR_BUILD" = x; then
   21657 	if test x"$cross_compiling" = xno; then
   21658 		EXEEXT_FOR_BUILD=${EXEEXT}
   21659 	fi
   21660 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   21661 fi
   21662 
   21663 
   21664 # Checks for pkg-config packages
   21665 
   21666 # Always required
   21667 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   21668 X11_EXTRA_DEPS="xcb >= 1.11.1"
   21669 
   21670 
   21671 
   21672 
   21673 
   21674 
   21675 
   21676 
   21677 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21678 	if test -n "$ac_tool_prefix"; then
   21679   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21680 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21682 printf %s "checking for $ac_word... " >&6; }
   21683 if test ${ac_cv_path_PKG_CONFIG+y}
   21684 then :
   21685   printf %s "(cached) " >&6
   21686 else case e in #(
   21687   e) case $PKG_CONFIG in
   21688   [\\/]* | ?:[\\/]*)
   21689   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21690   ;;
   21691   *)
   21692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21693 for as_dir in $PATH
   21694 do
   21695   IFS=$as_save_IFS
   21696   case $as_dir in #(((
   21697     '') as_dir=./ ;;
   21698     */) ;;
   21699     *) as_dir=$as_dir/ ;;
   21700   esac
   21701     for ac_exec_ext in '' $ac_executable_extensions; do
   21702   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21703     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21704     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21705     break 2
   21706   fi
   21707 done
   21708   done
   21709 IFS=$as_save_IFS
   21710 
   21711   ;;
   21712 esac ;;
   21713 esac
   21714 fi
   21715 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21716 if test -n "$PKG_CONFIG"; then
   21717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21718 printf "%s\n" "$PKG_CONFIG" >&6; }
   21719 else
   21720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21721 printf "%s\n" "no" >&6; }
   21722 fi
   21723 
   21724 
   21725 fi
   21726 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21727   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21728   # Extract the first word of "pkg-config", so it can be a program name with args.
   21729 set dummy pkg-config; ac_word=$2
   21730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21731 printf %s "checking for $ac_word... " >&6; }
   21732 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21733 then :
   21734   printf %s "(cached) " >&6
   21735 else case e in #(
   21736   e) case $ac_pt_PKG_CONFIG in
   21737   [\\/]* | ?:[\\/]*)
   21738   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21739   ;;
   21740   *)
   21741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21742 for as_dir in $PATH
   21743 do
   21744   IFS=$as_save_IFS
   21745   case $as_dir in #(((
   21746     '') as_dir=./ ;;
   21747     */) ;;
   21748     *) as_dir=$as_dir/ ;;
   21749   esac
   21750     for ac_exec_ext in '' $ac_executable_extensions; do
   21751   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21752     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21753     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21754     break 2
   21755   fi
   21756 done
   21757   done
   21758 IFS=$as_save_IFS
   21759 
   21760   ;;
   21761 esac ;;
   21762 esac
   21763 fi
   21764 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21765 if test -n "$ac_pt_PKG_CONFIG"; then
   21766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21767 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21768 else
   21769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21770 printf "%s\n" "no" >&6; }
   21771 fi
   21772 
   21773   if test "x$ac_pt_PKG_CONFIG" = x; then
   21774     PKG_CONFIG=""
   21775   else
   21776     case $cross_compiling:$ac_tool_warned in
   21777 yes:)
   21778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21779 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21780 ac_tool_warned=yes ;;
   21781 esac
   21782     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21783   fi
   21784 else
   21785   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21786 fi
   21787 
   21788 fi
   21789 if test -n "$PKG_CONFIG"; then
   21790 	_pkg_min_version=0.9.0
   21791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21792 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21793 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21795 printf "%s\n" "yes" >&6; }
   21796 	else
   21797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21798 printf "%s\n" "no" >&6; }
   21799 		PKG_CONFIG=""
   21800 	fi
   21801 fi
   21802 
   21803 
   21804 
   21805 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   21806 # was not expanded, since libX11 with no transport types is rather useless.
   21807 #
   21808 # If you're seeing an error here, be sure you installed the lib/xtrans module
   21809 # first and if it's not in the default location, that you set the ACLOCAL
   21810 # environment variable to find it, such as:
   21811 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   21812 
   21813 
   21814 # Transport selection macro from xtrans.m4
   21815 
   21816 
   21817  case $host_os in
   21818 	mingw*)	unixdef="no"   ;;
   21819 	*)	unixdef="yes"  ;;
   21820  esac
   21821  # Check whether --enable-unix-transport was given.
   21822 if test ${enable_unix_transport+y}
   21823 then :
   21824   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21825 else case e in #(
   21826   e) UNIXCONN=$unixdef ;;
   21827 esac
   21828 fi
   21829 
   21830  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   21831 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   21832  if test "$UNIXCONN" = "yes"; then
   21833 
   21834 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   21835 
   21836  fi
   21837  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   21838 printf "%s\n" "$UNIXCONN" >&6; }
   21839  # Check whether --enable-tcp-transport was given.
   21840 if test ${enable_tcp_transport+y}
   21841 then :
   21842   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21843 else case e in #(
   21844   e) TCPCONN=yes ;;
   21845 esac
   21846 fi
   21847 
   21848  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   21849 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   21850  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   21851 printf "%s\n" "$TCPCONN" >&6; }
   21852  if test "$TCPCONN" = "yes"; then
   21853 
   21854 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   21855 
   21856 
   21857  # SVR4 hides these in libraries other than libc
   21858  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   21859 printf %s "checking for library containing socket... " >&6; }
   21860 if test ${ac_cv_search_socket+y}
   21861 then :
   21862   printf %s "(cached) " >&6
   21863 else case e in #(
   21864   e) ac_func_search_save_LIBS=$LIBS
   21865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21866 /* end confdefs.h.  */
   21867 
   21868 /* Override any GCC internal prototype to avoid an error.
   21869    Use char because int might match the return type of a GCC
   21870    builtin and then its argument prototype would still apply.
   21871    The 'extern "C"' is for builds by C++ compilers;
   21872    although this is not generally supported in C code supporting it here
   21873    has little cost and some practical benefit (sr 110532).  */
   21874 #ifdef __cplusplus
   21875 extern "C"
   21876 #endif
   21877 char socket (void);
   21878 int
   21879 main (void)
   21880 {
   21881 return socket ();
   21882   ;
   21883   return 0;
   21884 }
   21885 _ACEOF
   21886 for ac_lib in '' socket
   21887 do
   21888   if test -z "$ac_lib"; then
   21889     ac_res="none required"
   21890   else
   21891     ac_res=-l$ac_lib
   21892     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21893   fi
   21894   if ac_fn_c_try_link "$LINENO"
   21895 then :
   21896   ac_cv_search_socket=$ac_res
   21897 fi
   21898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21899     conftest$ac_exeext
   21900   if test ${ac_cv_search_socket+y}
   21901 then :
   21902   break
   21903 fi
   21904 done
   21905 if test ${ac_cv_search_socket+y}
   21906 then :
   21907 
   21908 else case e in #(
   21909   e) ac_cv_search_socket=no ;;
   21910 esac
   21911 fi
   21912 rm conftest.$ac_ext
   21913 LIBS=$ac_func_search_save_LIBS ;;
   21914 esac
   21915 fi
   21916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   21917 printf "%s\n" "$ac_cv_search_socket" >&6; }
   21918 ac_res=$ac_cv_search_socket
   21919 if test "$ac_res" != no
   21920 then :
   21921   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21922 
   21923 fi
   21924 
   21925  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   21926 printf %s "checking for library containing gethostbyname... " >&6; }
   21927 if test ${ac_cv_search_gethostbyname+y}
   21928 then :
   21929   printf %s "(cached) " >&6
   21930 else case e in #(
   21931   e) ac_func_search_save_LIBS=$LIBS
   21932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21933 /* end confdefs.h.  */
   21934 
   21935 /* Override any GCC internal prototype to avoid an error.
   21936    Use char because int might match the return type of a GCC
   21937    builtin and then its argument prototype would still apply.
   21938    The 'extern "C"' is for builds by C++ compilers;
   21939    although this is not generally supported in C code supporting it here
   21940    has little cost and some practical benefit (sr 110532).  */
   21941 #ifdef __cplusplus
   21942 extern "C"
   21943 #endif
   21944 char gethostbyname (void);
   21945 int
   21946 main (void)
   21947 {
   21948 return gethostbyname ();
   21949   ;
   21950   return 0;
   21951 }
   21952 _ACEOF
   21953 for ac_lib in '' nsl
   21954 do
   21955   if test -z "$ac_lib"; then
   21956     ac_res="none required"
   21957   else
   21958     ac_res=-l$ac_lib
   21959     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21960   fi
   21961   if ac_fn_c_try_link "$LINENO"
   21962 then :
   21963   ac_cv_search_gethostbyname=$ac_res
   21964 fi
   21965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21966     conftest$ac_exeext
   21967   if test ${ac_cv_search_gethostbyname+y}
   21968 then :
   21969   break
   21970 fi
   21971 done
   21972 if test ${ac_cv_search_gethostbyname+y}
   21973 then :
   21974 
   21975 else case e in #(
   21976   e) ac_cv_search_gethostbyname=no ;;
   21977 esac
   21978 fi
   21979 rm conftest.$ac_ext
   21980 LIBS=$ac_func_search_save_LIBS ;;
   21981 esac
   21982 fi
   21983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   21984 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   21985 ac_res=$ac_cv_search_gethostbyname
   21986 if test "$ac_res" != no
   21987 then :
   21988   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21989 
   21990 fi
   21991 
   21992  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   21993    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   21994 printf %s "checking for main in -lws2_32... " >&6; }
   21995 if test ${ac_cv_lib_ws2_32_main+y}
   21996 then :
   21997   printf %s "(cached) " >&6
   21998 else case e in #(
   21999   e) ac_check_lib_save_LIBS=$LIBS
   22000 LIBS="-lws2_32  $LIBS"
   22001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22002 /* end confdefs.h.  */
   22003 
   22004 
   22005 int
   22006 main (void)
   22007 {
   22008 return main ();
   22009   ;
   22010   return 0;
   22011 }
   22012 _ACEOF
   22013 if ac_fn_c_try_link "$LINENO"
   22014 then :
   22015   ac_cv_lib_ws2_32_main=yes
   22016 else case e in #(
   22017   e) ac_cv_lib_ws2_32_main=no ;;
   22018 esac
   22019 fi
   22020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22021     conftest$ac_exeext conftest.$ac_ext
   22022 LIBS=$ac_check_lib_save_LIBS ;;
   22023 esac
   22024 fi
   22025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   22026 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   22027 if test "x$ac_cv_lib_ws2_32_main" = xyes
   22028 then :
   22029   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   22030 
   22031   LIBS="-lws2_32 $LIBS"
   22032 
   22033 fi
   22034 
   22035  fi
   22036 
   22037  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22038  # Check whether --enable-ipv6 was given.
   22039 if test ${enable_ipv6+y}
   22040 then :
   22041   enableval=$enable_ipv6; IPV6CONN=$enableval
   22042 else case e in #(
   22043   e) ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   22044 if test "x$ac_cv_func_getaddrinfo" = xyes
   22045 then :
   22046   IPV6CONN=yes
   22047 else case e in #(
   22048   e) IPV6CONN=no ;;
   22049 esac
   22050 fi
   22051  ;;
   22052 esac
   22053 fi
   22054 
   22055  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   22056 printf %s "checking if IPv6 support should be built... " >&6; }
   22057  if test "$IPV6CONN" = "yes"; then
   22058 
   22059 printf "%s\n" "#define IPv6 1" >>confdefs.h
   22060 
   22061  fi
   22062  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   22063 printf "%s\n" "$IPV6CONN" >&6; }
   22064 
   22065  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22066  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   22067 #include <sys/types.h>
   22068 #include <sys/socket.h>
   22069 #include <netinet/in.h>
   22070 
   22071 "
   22072 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   22073 then :
   22074 
   22075 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   22076 
   22077 fi
   22078 
   22079 
   22080  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22081  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   22082 $ac_includes_default
   22083 #include <sys/socket.h>
   22084 "
   22085 if test "x$ac_cv_type_socklen_t" = xyes
   22086 then :
   22087 
   22088 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   22089 
   22090 
   22091 fi
   22092 
   22093 
   22094  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   22095  # _XOPEN_SOURCE to get it (such as on Solaris)
   22096  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22097 $ac_includes_default
   22098 #include <sys/socket.h>
   22099 
   22100 "
   22101 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22102 then :
   22103 
   22104 fi
   22105 
   22106  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   22107  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22108      unset ac_cv_member_struct_msghdr_msg_control
   22109      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   22110 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   22111      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22112 #define _XOPEN_SOURCE 600
   22113 $ac_includes_default
   22114 #include <sys/socket.h>
   22115 
   22116 "
   22117 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22118 then :
   22119 
   22120 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   22121 
   22122 
   22123 fi
   22124 
   22125  fi
   22126  # If that didn't work, fall back to XPG5/UNIX98 with C89
   22127  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22128      unset ac_cv_member_struct_msghdr_msg_control
   22129      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   22130 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22131      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22132 #define _XOPEN_SOURCE 500
   22133 $ac_includes_default
   22134 #include <sys/socket.h>
   22135 
   22136 "
   22137 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22138 then :
   22139 
   22140 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22141 
   22142 
   22143 fi
   22144 
   22145  fi
   22146 
   22147 
   22148 
   22149  fi
   22150  case $host_os in
   22151 	solaris*)		localdef="yes" ;;
   22152 	*)			localdef="no"  ;;
   22153  esac
   22154  # Check whether --enable-local-transport was given.
   22155 if test ${enable_local_transport+y}
   22156 then :
   22157   enableval=$enable_local_transport; LOCALCONN=$enableval
   22158 else case e in #(
   22159   e) LOCALCONN=$localdef ;;
   22160 esac
   22161 fi
   22162 
   22163  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22164 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22165  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22166 printf "%s\n" "$LOCALCONN" >&6; }
   22167  if test "$LOCALCONN" = "yes"; then
   22168 
   22169 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22170 
   22171  fi
   22172 
   22173  # Other functions Xtrans may need
   22174  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22175 if test "x$ac_cv_func_strcasecmp" = xyes
   22176 then :
   22177   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22178 
   22179 fi
   22180 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22181 if test "x$ac_cv_func_strlcpy" = xyes
   22182 then :
   22183   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22184 
   22185 fi
   22186 
   22187 
   22188 
   22189 
   22190 # Check for dlopen
   22191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   22192 printf %s "checking for library containing dlopen... " >&6; }
   22193 if test ${ac_cv_search_dlopen+y}
   22194 then :
   22195   printf %s "(cached) " >&6
   22196 else case e in #(
   22197   e) ac_func_search_save_LIBS=$LIBS
   22198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22199 /* end confdefs.h.  */
   22200 
   22201 /* Override any GCC internal prototype to avoid an error.
   22202    Use char because int might match the return type of a GCC
   22203    builtin and then its argument prototype would still apply.
   22204    The 'extern "C"' is for builds by C++ compilers;
   22205    although this is not generally supported in C code supporting it here
   22206    has little cost and some practical benefit (sr 110532).  */
   22207 #ifdef __cplusplus
   22208 extern "C"
   22209 #endif
   22210 char dlopen (void);
   22211 int
   22212 main (void)
   22213 {
   22214 return dlopen ();
   22215   ;
   22216   return 0;
   22217 }
   22218 _ACEOF
   22219 for ac_lib in '' dl svld
   22220 do
   22221   if test -z "$ac_lib"; then
   22222     ac_res="none required"
   22223   else
   22224     ac_res=-l$ac_lib
   22225     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22226   fi
   22227   if ac_fn_c_try_link "$LINENO"
   22228 then :
   22229   ac_cv_search_dlopen=$ac_res
   22230 fi
   22231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22232     conftest$ac_exeext
   22233   if test ${ac_cv_search_dlopen+y}
   22234 then :
   22235   break
   22236 fi
   22237 done
   22238 if test ${ac_cv_search_dlopen+y}
   22239 then :
   22240 
   22241 else case e in #(
   22242   e) ac_cv_search_dlopen=no ;;
   22243 esac
   22244 fi
   22245 rm conftest.$ac_ext
   22246 LIBS=$ac_func_search_save_LIBS ;;
   22247 esac
   22248 fi
   22249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   22250 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   22251 ac_res=$ac_cv_search_dlopen
   22252 if test "$ac_res" != no
   22253 then :
   22254   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22255 
   22256 fi
   22257 
   22258 if test "x$ac_cv_search_dlopen" != xno; then
   22259 
   22260 printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
   22261 
   22262 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   22263 if test "x$ac_cv_header_dlfcn_h" = xyes
   22264 then :
   22265   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   22266 
   22267 fi
   22268 
   22269 fi
   22270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   22271 printf %s "checking if run-time linking is supported... " >&6; }
   22272 if test "x$ac_cv_header_dlfcn_h" = xyes; then
   22273 	HAVE_LOADABLE_MODULES=yes
   22274 else
   22275 	HAVE_LOADABLE_MODULES=no
   22276 fi
   22277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   22278 printf "%s\n" "$HAVE_LOADABLE_MODULES" >&6; }
   22279 
   22280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   22281 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   22282 # Check whether --enable-loadable-i18n was given.
   22283 if test ${enable_loadable_i18n+y}
   22284 then :
   22285   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   22286 else case e in #(
   22287   e) XLIB_LOADABLE_I18N="no" ;;
   22288 esac
   22289 fi
   22290 
   22291 if test x$XLIB_LOADABLE_I18N = xyes; then
   22292 	if test x$HAVE_LOADABLE_MODULES = xno; then
   22293 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   22294 	fi
   22295 
   22296 printf "%s\n" "#define USE_DYNAMIC_LC 1" >>confdefs.h
   22297 
   22298 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   22299 
   22300 fi
   22301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   22302 printf "%s\n" "$XLIB_LOADABLE_I18N" >&6; }
   22303 
   22304  if test x$XLIB_LOADABLE_I18N = xyes; then
   22305   XLIB_LOADABLE_I18N_TRUE=
   22306   XLIB_LOADABLE_I18N_FALSE='#'
   22307 else
   22308   XLIB_LOADABLE_I18N_TRUE='#'
   22309   XLIB_LOADABLE_I18N_FALSE=
   22310 fi
   22311 
   22312 
   22313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   22314 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   22315 # Check whether --enable-loadable-xcursor was given.
   22316 if test ${enable_loadable_xcursor+y}
   22317 then :
   22318   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   22319 else case e in #(
   22320   e) XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES ;;
   22321 esac
   22322 fi
   22323 
   22324 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   22325 
   22326 printf "%s\n" "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   22327 
   22328 fi
   22329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   22330 printf "%s\n" "$XLIB_LOADABLE_XCURSOR" >&6; }
   22331 
   22332 # Check whether --enable-thread-safety-constructor was given.
   22333 if test ${enable_thread_safety_constructor+y}
   22334 then :
   22335   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   22336 else case e in #(
   22337   e) USE_THREAD_SAFETY_CONSTRUCTOR="yes" ;;
   22338 esac
   22339 fi
   22340 
   22341 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22342 
   22343 printf "%s\n" "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   22344 
   22345 fi
   22346 
   22347 # Checks for header files.
   22348 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   22349 if test "x$ac_cv_header_sys_filio_h" = xyes
   22350 then :
   22351   printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   22352 
   22353 fi
   22354 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   22355 if test "x$ac_cv_header_sys_select_h" = xyes
   22356 then :
   22357   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   22358 
   22359 fi
   22360 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   22361 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   22362 then :
   22363   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   22364 
   22365 fi
   22366 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   22367 if test "x$ac_cv_header_sys_socket_h" = xyes
   22368 then :
   22369   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   22370 
   22371 fi
   22372 
   22373 
   22374 # Checks for typedefs, structures, and compiler characteristics.
   22375 
   22376 
   22377 
   22378     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   22379 printf %s "checking for __builtin_popcountl... " >&6; }
   22380 if test ${ax_cv_have___builtin_popcountl+y}
   22381 then :
   22382   printf %s "(cached) " >&6
   22383 else case e in #(
   22384   e)
   22385         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22386 /* end confdefs.h.  */
   22387 
   22388 int
   22389 main (void)
   22390 {
   22391 
   22392             __builtin_popcountl(0)
   22393 
   22394   ;
   22395   return 0;
   22396 }
   22397 _ACEOF
   22398 if ac_fn_c_try_link "$LINENO"
   22399 then :
   22400   ax_cv_have___builtin_popcountl=yes
   22401 else case e in #(
   22402   e) ax_cv_have___builtin_popcountl=no ;;
   22403 esac
   22404 fi
   22405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22406     conftest$ac_exeext conftest.$ac_ext
   22407      ;;
   22408 esac
   22409 fi
   22410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   22411 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   22412 
   22413     if test yes = $ax_cv_have___builtin_popcountl
   22414 then :
   22415 
   22416 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   22417 
   22418 fi
   22419 
   22420 
   22421 
   22422 
   22423 # Checks for library functions.
   22424 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   22425 if test "x$ac_cv_func_strtol" = xyes
   22426 then :
   22427   printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
   22428 
   22429 fi
   22430 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   22431 if test "x$ac_cv_func_seteuid" = xyes
   22432 then :
   22433   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   22434 
   22435 fi
   22436 
   22437 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   22438 if test "x$ac_cv_func_reallocarray" = xyes
   22439 then :
   22440   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   22441 
   22442 else case e in #(
   22443   e) case " $LIBOBJS " in
   22444   *" reallocarray.$ac_objext "* ) ;;
   22445   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   22446  ;;
   22447 esac
   22448  ;;
   22449 esac
   22450 fi
   22451 
   22452 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   22453 XLOCALEDIR_IS_SAFE="no"
   22454 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   22455 if test "x$ac_cv_have_decl_issetugid" = xyes
   22456 then :
   22457 
   22458 fi
   22459 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   22460 if test "x$ac_cv_func_issetugid" = xyes
   22461 then :
   22462 
   22463 fi
   22464 
   22465 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   22466     XLOCALEDIR_IS_SAFE="yes"
   22467 
   22468 printf "%s\n" "#define HASSETUGID 1" >>confdefs.h
   22469 
   22470 fi
   22471 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   22472 if test "x$ac_cv_func_getresuid" = xyes
   22473 then :
   22474   XLOCALEDIR_IS_SAFE="yes"
   22475 
   22476 printf "%s\n" "#define HASGETRESUID 1" >>confdefs.h
   22477 
   22478 fi
   22479 
   22480 # Used in Font.c
   22481 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   22482 if test "x$ac_cv_func_shmat" = xyes
   22483 then :
   22484 
   22485 printf "%s\n" "#define HAS_SHM 1" >>confdefs.h
   22486 
   22487 fi
   22488 
   22489 
   22490 # Checks for system services
   22491 # AC_PATH_XTRA
   22492 
   22493 # arch specific things
   22494 WCHAR32="1"
   22495 case $host_os in
   22496   os2*) os2="true" ; WCHAR32="0" ;;
   22497   *) ;;
   22498 esac
   22499 
   22500 
   22501  if test x$os2 = xtrue; then
   22502   OS2_TRUE=
   22503   OS2_FALSE='#'
   22504 else
   22505   OS2_TRUE='#'
   22506   OS2_FALSE=
   22507 fi
   22508 
   22509 
   22510 
   22511 # Check whether --with-launchd was given.
   22512 if test ${with_launchd+y}
   22513 then :
   22514   withval=$with_launchd; LAUNCHD=$withval
   22515 else case e in #(
   22516   e) LAUNCHD=auto ;;
   22517 esac
   22518 fi
   22519 
   22520 if test "x$LAUNCHD" = xauto; then
   22521 	unset LAUNCHD
   22522 	# Extract the first word of "launchd", so it can be a program name with args.
   22523 set dummy launchd; ac_word=$2
   22524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22525 printf %s "checking for $ac_word... " >&6; }
   22526 if test ${ac_cv_prog_LAUNCHD+y}
   22527 then :
   22528   printf %s "(cached) " >&6
   22529 else case e in #(
   22530   e) if test -n "$LAUNCHD"; then
   22531   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   22532 else
   22533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22534 for as_dir in $PATH$PATH_SEPARATOR/sbin
   22535 do
   22536   IFS=$as_save_IFS
   22537   case $as_dir in #(((
   22538     '') as_dir=./ ;;
   22539     */) ;;
   22540     *) as_dir=$as_dir/ ;;
   22541   esac
   22542     for ac_exec_ext in '' $ac_executable_extensions; do
   22543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22544     ac_cv_prog_LAUNCHD="yes"
   22545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22546     break 2
   22547   fi
   22548 done
   22549   done
   22550 IFS=$as_save_IFS
   22551 
   22552   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   22553 fi ;;
   22554 esac
   22555 fi
   22556 LAUNCHD=$ac_cv_prog_LAUNCHD
   22557 if test -n "$LAUNCHD"; then
   22558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   22559 printf "%s\n" "$LAUNCHD" >&6; }
   22560 else
   22561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22562 printf "%s\n" "no" >&6; }
   22563 fi
   22564 
   22565 
   22566 fi
   22567 
   22568 if test "x$LAUNCHD" = xyes ; then
   22569 
   22570 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   22571 
   22572 
   22573 printf "%s\n" "#define TRANS_REOPEN 1" >>confdefs.h
   22574 
   22575 fi
   22576 
   22577 # Check whether --enable-xthreads was given.
   22578 if test ${enable_xthreads+y}
   22579 then :
   22580   enableval=$enable_xthreads; xthreads=$enableval
   22581 else case e in #(
   22582   e) xthreads=yes ;;
   22583 esac
   22584 fi
   22585 
   22586 
   22587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   22588 printf %s "checking for getpwuid_r in -lc... " >&6; }
   22589 if test ${ac_cv_lib_c_getpwuid_r+y}
   22590 then :
   22591   printf %s "(cached) " >&6
   22592 else case e in #(
   22593   e) ac_check_lib_save_LIBS=$LIBS
   22594 LIBS="-lc  $LIBS"
   22595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22596 /* end confdefs.h.  */
   22597 
   22598 /* Override any GCC internal prototype to avoid an error.
   22599    Use char because int might match the return type of a GCC
   22600    builtin and then its argument prototype would still apply.
   22601    The 'extern "C"' is for builds by C++ compilers;
   22602    although this is not generally supported in C code supporting it here
   22603    has little cost and some practical benefit (sr 110532).  */
   22604 #ifdef __cplusplus
   22605 extern "C"
   22606 #endif
   22607 char getpwuid_r (void);
   22608 int
   22609 main (void)
   22610 {
   22611 return getpwuid_r ();
   22612   ;
   22613   return 0;
   22614 }
   22615 _ACEOF
   22616 if ac_fn_c_try_link "$LINENO"
   22617 then :
   22618   ac_cv_lib_c_getpwuid_r=yes
   22619 else case e in #(
   22620   e) ac_cv_lib_c_getpwuid_r=no ;;
   22621 esac
   22622 fi
   22623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22624     conftest$ac_exeext conftest.$ac_ext
   22625 LIBS=$ac_check_lib_save_LIBS ;;
   22626 esac
   22627 fi
   22628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   22629 printf "%s\n" "$ac_cv_lib_c_getpwuid_r" >&6; }
   22630 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   22631 then :
   22632   mtsafeapi="yes"
   22633 else case e in #(
   22634   e) mtsafeapi="no" ;;
   22635 esac
   22636 fi
   22637 
   22638 
   22639 case x$xthreads in
   22640 xyes)
   22641 
   22642 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   22643 
   22644 	if test x$mtsafeapi = xyes
   22645 	then
   22646 
   22647 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   22648 
   22649 	fi
   22650 	;;
   22651 *)
   22652 	;;
   22653 esac
   22654 
   22655 # XXX incomplete, please fill this in
   22656 if test x$xthreads = xyes ; then
   22657     case $host_os in
   22658     linux*|gnu*|k*bsd*-gnu)
   22659         XTHREADLIB=-lpthread ;;
   22660     netbsd*)
   22661 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   22662 	XTHREADLIB="-lpthread" ;;
   22663     freebsd*)
   22664         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   22665         XTHREADLIB="-pthread" ;;
   22666     dragonfly*|openbsd*)
   22667         XTHREADLIB="-pthread" ;;
   22668     solaris*)
   22669 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   22670     esac
   22671 fi
   22672 
   22673 
   22674 
   22675 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22676     USE_THREAD_LIBS="$XTHREADLIB"
   22677 else
   22678     # This should be kept in sync with libxcb
   22679     case $host_os in
   22680     linux*|darwin*|solaris*) ;;
   22681          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   22682     esac
   22683 fi
   22684 
   22685 
   22686 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   22687 if test "x$ac_cv_func_poll" = xyes
   22688 then :
   22689 
   22690 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   22691 
   22692 fi
   22693 
   22694 
   22695 #
   22696 # Find keysymdef.h
   22697 #
   22698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   22699 printf %s "checking keysym definitions... " >&6; }
   22700 
   22701 # Check whether --with-keysymdefdir was given.
   22702 if test ${with_keysymdefdir+y}
   22703 then :
   22704   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   22705 else case e in #(
   22706   e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
   22707 esac
   22708 fi
   22709 
   22710 
   22711 if test ! -d "$KEYSYMDEFDIR"; then
   22712 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   22713 fi
   22714 
   22715 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   22716 for i in $FILES; do
   22717     if test -f "$KEYSYMDEFDIR/$i"; then
   22718             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   22719     elif test "x$i" = "xkeysymdef.h"; then
   22720 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   22721     fi
   22722 done
   22723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   22724 printf "%s\n" "$KEYSYMDEFS" >&6; }
   22725 
   22726 
   22727 # Check whether --enable-xcms was given.
   22728 if test ${enable_xcms+y}
   22729 then :
   22730   enableval=$enable_xcms; XCMS=$enableval
   22731 else case e in #(
   22732   e) XCMS=yes ;;
   22733 esac
   22734 fi
   22735 
   22736  if test x$XCMS = xyes ; then
   22737   XCMS_TRUE=
   22738   XCMS_FALSE='#'
   22739 else
   22740   XCMS_TRUE='#'
   22741   XCMS_FALSE=
   22742 fi
   22743 
   22744 if test x"$XCMS" = "xyes"; then
   22745 
   22746 printf "%s\n" "#define XCMS 1" >>confdefs.h
   22747 
   22748 fi
   22749 
   22750 # Check whether --enable-xlocale was given.
   22751 if test ${enable_xlocale+y}
   22752 then :
   22753   enableval=$enable_xlocale; XLOCALE=$enableval
   22754 else case e in #(
   22755   e) XLOCALE=yes ;;
   22756 esac
   22757 fi
   22758 
   22759 
   22760  if  test x$XLOCALE = xyes ; then
   22761   XLOCALE_TRUE=
   22762   XLOCALE_FALSE='#'
   22763 else
   22764   XLOCALE_TRUE='#'
   22765   XLOCALE_FALSE=
   22766 fi
   22767 
   22768 if test x"$XLOCALE" = "xyes"; then
   22769 
   22770 printf "%s\n" "#define XLOCALE 1" >>confdefs.h
   22771 
   22772 fi
   22773 
   22774 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   22775 # don't have either issetugid() or getresuid(), and you need to protect
   22776 # clients that are setgid or setuid to an id other than 0.
   22777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   22778 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   22779 # Check whether --enable-xlocaledir was given.
   22780 if test ${enable_xlocaledir+y}
   22781 then :
   22782   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   22783 else case e in #(
   22784   e) ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE ;;
   22785 esac
   22786 fi
   22787 
   22788 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   22789 
   22790 printf "%s\n" "#define NO_XLOCALEDIR 1" >>confdefs.h
   22791 
   22792 fi
   22793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   22794 printf "%s\n" "$ENABLE_XLOCALEDIR" >&6; }
   22795 
   22796 # Check whether --enable-xf86bigfont was given.
   22797 if test ${enable_xf86bigfont+y}
   22798 then :
   22799   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   22800 else case e in #(
   22801   e) XF86BIGFONT="yes" ;;
   22802 esac
   22803 fi
   22804 
   22805 if test "x$XF86BIGFONT" = "xyes"; then
   22806 
   22807 pkg_failed=no
   22808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   22809 printf %s "checking for BIGFONT... " >&6; }
   22810 
   22811 if test -n "$BIGFONT_CFLAGS"; then
   22812     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   22813  elif test -n "$PKG_CONFIG"; then
   22814     if test -n "$PKG_CONFIG" && \
   22815     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22816   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22817   ac_status=$?
   22818   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22819   test $ac_status = 0; }; then
   22820   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22821 		      test "x$?" != "x0" && pkg_failed=yes
   22822 else
   22823   pkg_failed=yes
   22824 fi
   22825  else
   22826     pkg_failed=untried
   22827 fi
   22828 if test -n "$BIGFONT_LIBS"; then
   22829     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   22830  elif test -n "$PKG_CONFIG"; then
   22831     if test -n "$PKG_CONFIG" && \
   22832     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22833   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22834   ac_status=$?
   22835   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22836   test $ac_status = 0; }; then
   22837   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22838 		      test "x$?" != "x0" && pkg_failed=yes
   22839 else
   22840   pkg_failed=yes
   22841 fi
   22842  else
   22843     pkg_failed=untried
   22844 fi
   22845 
   22846 
   22847 
   22848 if test $pkg_failed = yes; then
   22849    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22850 printf "%s\n" "no" >&6; }
   22851 
   22852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22853         _pkg_short_errors_supported=yes
   22854 else
   22855         _pkg_short_errors_supported=no
   22856 fi
   22857         if test $_pkg_short_errors_supported = yes; then
   22858 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22859         else
   22860 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22861         fi
   22862 	# Put the nasty error message in config.log where it belongs
   22863 	echo "$BIGFONT_PKG_ERRORS" >&5
   22864 
   22865 	XF86BIGFONT="no"
   22866 elif test $pkg_failed = untried; then
   22867      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22868 printf "%s\n" "no" >&6; }
   22869 	XF86BIGFONT="no"
   22870 else
   22871 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   22872 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   22873         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22874 printf "%s\n" "yes" >&6; }
   22875 
   22876 printf "%s\n" "#define XF86BIGFONT 1" >>confdefs.h
   22877 
   22878 fi
   22879 fi
   22880 
   22881 # Check whether --enable-xkb was given.
   22882 if test ${enable_xkb+y}
   22883 then :
   22884   enableval=$enable_xkb; XKB=$enableval
   22885 else case e in #(
   22886   e) XKB=yes ;;
   22887 esac
   22888 fi
   22889 
   22890 
   22891  if  test x$XKB = xyes ; then
   22892   XKB_TRUE=
   22893   XKB_FALSE='#'
   22894 else
   22895   XKB_TRUE='#'
   22896   XKB_FALSE=
   22897 fi
   22898 
   22899 if test x"$XKB" = "xyes"; then
   22900    XKBPROTO_REQUIRES="kbproto"
   22901    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   22902 
   22903 printf "%s\n" "#define XKB 1" >>confdefs.h
   22904 
   22905 else
   22906    XKBPROTO_REQUIRES=""
   22907 fi
   22908 
   22909 
   22910 
   22911 ac_func=
   22912 for ac_item in $ac_func_c_list
   22913 do
   22914   if test $ac_func; then
   22915     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   22916     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   22917       echo "#define $ac_item 1" >> confdefs.h
   22918     fi
   22919     ac_func=
   22920   else
   22921     ac_func=$ac_item
   22922   fi
   22923 done
   22924 
   22925 
   22926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   22927 printf %s "checking for working mmap... " >&6; }
   22928 if test ${ac_cv_func_mmap_fixed_mapped+y}
   22929 then :
   22930   printf %s "(cached) " >&6
   22931 else case e in #(
   22932   e) if test "$cross_compiling" = yes
   22933 then :
   22934   case "$host_os" in # ((
   22935 			  # Guess yes on platforms where we know the result.
   22936 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   22937 			  # If we don't know, assume the worst.
   22938 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   22939 		esac
   22940 else case e in #(
   22941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22942 /* end confdefs.h.  */
   22943 $ac_includes_default
   22944 /* malloc might have been renamed as rpl_malloc. */
   22945 #undef malloc
   22946 
   22947 /* Thanks to Mike Haertel and Jim Avera for this test.
   22948    Here is a matrix of mmap possibilities:
   22949 	mmap private not fixed
   22950 	mmap private fixed at somewhere currently unmapped
   22951 	mmap private fixed at somewhere already mapped
   22952 	mmap shared not fixed
   22953 	mmap shared fixed at somewhere currently unmapped
   22954 	mmap shared fixed at somewhere already mapped
   22955    For private mappings, we should verify that changes cannot be read()
   22956    back from the file, nor mmap's back from the file at a different
   22957    address.  (There have been systems where private was not correctly
   22958    implemented like the infamous i386 svr4.0, and systems where the
   22959    VM page cache was not coherent with the file system buffer cache
   22960    like early versions of FreeBSD and possibly contemporary NetBSD.)
   22961    For shared mappings, we should conversely verify that changes get
   22962    propagated back to all the places they're supposed to be.  */
   22963 
   22964 #include <fcntl.h>
   22965 #include <sys/mman.h>
   22966 
   22967 #ifndef getpagesize
   22968 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   22969    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   22970 # ifdef _SC_PAGESIZE
   22971 #  define getpagesize() sysconf (_SC_PAGESIZE)
   22972 # elif defined _SC_PAGE_SIZE
   22973 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   22974 # elif HAVE_GETPAGESIZE
   22975 int getpagesize ();
   22976 # else
   22977 #  ifdef HAVE_SYS_PARAM_H
   22978 #   include <sys/param.h>
   22979 #   ifdef EXEC_PAGESIZE
   22980 #    define getpagesize() EXEC_PAGESIZE
   22981 #   else /* no EXEC_PAGESIZE */
   22982 #    ifdef NBPG
   22983 #     define getpagesize() NBPG * CLSIZE
   22984 #     ifndef CLSIZE
   22985 #      define CLSIZE 1
   22986 #     endif /* no CLSIZE */
   22987 #    else /* no NBPG */
   22988 #     ifdef NBPC
   22989 #      define getpagesize() NBPC
   22990 #     else /* no NBPC */
   22991 #      ifdef PAGESIZE
   22992 #       define getpagesize() PAGESIZE
   22993 #      endif /* PAGESIZE */
   22994 #     endif /* no NBPC */
   22995 #    endif /* no NBPG */
   22996 #   endif /* no EXEC_PAGESIZE */
   22997 #  else /* no HAVE_SYS_PARAM_H */
   22998 #   define getpagesize() 8192	/* punt totally */
   22999 #  endif /* no HAVE_SYS_PARAM_H */
   23000 # endif
   23001 #endif
   23002 
   23003 int
   23004 main (void)
   23005 {
   23006   char *data, *data2, *data3;
   23007   const char *cdata2;
   23008   long i, pagesize;
   23009   int fd, fd2;
   23010 
   23011   pagesize = getpagesize ();
   23012 
   23013   /* First, make a file with some known garbage in it. */
   23014   data = (char *) malloc (pagesize);
   23015   if (!data)
   23016     return 1;
   23017   for (i = 0; i < pagesize; ++i)
   23018     *(data + i) = rand ();
   23019   umask (0);
   23020   fd = creat ("conftest.mmap", 0600);
   23021   if (fd < 0)
   23022     return 2;
   23023   if (write (fd, data, pagesize) != pagesize)
   23024     return 3;
   23025   close (fd);
   23026 
   23027   /* Next, check that the tail of a page is zero-filled.  File must have
   23028      non-zero length, otherwise we risk SIGBUS for entire page.  */
   23029   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   23030   if (fd2 < 0)
   23031     return 4;
   23032   cdata2 = "";
   23033   if (write (fd2, cdata2, 1) != 1)
   23034     return 5;
   23035   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   23036   if (data2 == MAP_FAILED)
   23037     return 6;
   23038   for (i = 0; i < pagesize; ++i)
   23039     if (*(data2 + i))
   23040       return 7;
   23041   close (fd2);
   23042   /* 'return 8;' not currently used.  */
   23043 
   23044   /* Next, try to mmap the file at a fixed address which already has
   23045      something else allocated at it.  If we can, also make sure that
   23046      we see the same garbage.  */
   23047   fd = open ("conftest.mmap", O_RDWR);
   23048   if (fd < 0)
   23049     return 9;
   23050   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   23051 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   23052     return 10;
   23053   for (i = 0; i < pagesize; ++i)
   23054     if (*(data + i) != *(data2 + i))
   23055       return 11;
   23056 
   23057   /* Finally, make sure that changes to the mapped area do not
   23058      percolate back to the file as seen by read().  (This is a bug on
   23059      some variants of i386 svr4.0.)  */
   23060   for (i = 0; i < pagesize; ++i)
   23061     *(data2 + i) = *(data2 + i) + 1;
   23062   data3 = (char *) malloc (pagesize);
   23063   if (!data3)
   23064     return 12;
   23065   if (read (fd, data3, pagesize) != pagesize)
   23066     return 13;
   23067   for (i = 0; i < pagesize; ++i)
   23068     if (*(data + i) != *(data3 + i))
   23069       return 14;
   23070   close (fd);
   23071   free (data);
   23072   free (data3);
   23073   return 0;
   23074 }
   23075 _ACEOF
   23076 if ac_fn_c_try_run "$LINENO"
   23077 then :
   23078   ac_cv_func_mmap_fixed_mapped=yes
   23079 else case e in #(
   23080   e) ac_cv_func_mmap_fixed_mapped=no ;;
   23081 esac
   23082 fi
   23083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23084   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23085 esac
   23086 fi
   23087  ;;
   23088 esac
   23089 fi
   23090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   23091 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   23092 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   23093 
   23094 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   23095 
   23096 fi
   23097 rm -f conftest.mmap conftest.txt
   23098 
   23099 composecache_default=$ac_cv_func_mmap_fixed_mapped
   23100 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   23101 if test "x$ac_cv_func_nl_langinfo" = xyes
   23102 then :
   23103 
   23104 else case e in #(
   23105   e) composecache_default=no ;;
   23106 esac
   23107 fi
   23108 
   23109 # Check whether --enable-composecache was given.
   23110 if test ${enable_composecache+y}
   23111 then :
   23112   enableval=$enable_composecache; COMPOSECACHE=$enableval
   23113 else case e in #(
   23114   e) COMPOSECACHE=$composecache_default ;;
   23115 esac
   23116 fi
   23117 
   23118 if test x"$COMPOSECACHE" = "xyes"; then
   23119 
   23120 printf "%s\n" "#define COMPOSECACHE 1" >>confdefs.h
   23121 
   23122 fi
   23123 
   23124 # Allow checking code with lint, sparse, etc.
   23125 
   23126 
   23127 
   23128 
   23129 
   23130 # Check whether --with-lint was given.
   23131 if test ${with_lint+y}
   23132 then :
   23133   withval=$with_lint; use_lint=$withval
   23134 else case e in #(
   23135   e) use_lint=no ;;
   23136 esac
   23137 fi
   23138 
   23139 
   23140 # Obtain platform specific info like program name and options
   23141 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   23142 case $host_os in
   23143   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   23144 	lint_name=splint
   23145 	lint_options="-badflag"
   23146 	;;
   23147   *freebsd* | *netbsd*)
   23148 	lint_name=lint
   23149 	lint_options="-u -b"
   23150 	;;
   23151   *solaris*)
   23152 	lint_name=lint
   23153 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   23154 	;;
   23155 esac
   23156 
   23157 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   23158 if test "x$use_lint" = x"yes" ; then
   23159    # Extract the first word of "$lint_name", so it can be a program name with args.
   23160 set dummy $lint_name; ac_word=$2
   23161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23162 printf %s "checking for $ac_word... " >&6; }
   23163 if test ${ac_cv_path_LINT+y}
   23164 then :
   23165   printf %s "(cached) " >&6
   23166 else case e in #(
   23167   e) case $LINT in
   23168   [\\/]* | ?:[\\/]*)
   23169   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   23170   ;;
   23171   *)
   23172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23173 for as_dir in $PATH
   23174 do
   23175   IFS=$as_save_IFS
   23176   case $as_dir in #(((
   23177     '') as_dir=./ ;;
   23178     */) ;;
   23179     *) as_dir=$as_dir/ ;;
   23180   esac
   23181     for ac_exec_ext in '' $ac_executable_extensions; do
   23182   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23183     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   23184     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23185     break 2
   23186   fi
   23187 done
   23188   done
   23189 IFS=$as_save_IFS
   23190 
   23191   ;;
   23192 esac ;;
   23193 esac
   23194 fi
   23195 LINT=$ac_cv_path_LINT
   23196 if test -n "$LINT"; then
   23197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   23198 printf "%s\n" "$LINT" >&6; }
   23199 else
   23200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23201 printf "%s\n" "no" >&6; }
   23202 fi
   23203 
   23204 
   23205    if test "x$LINT" = "x"; then
   23206         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   23207    fi
   23208 elif test "x$use_lint" = x"no" ; then
   23209    if test "x$LINT" != "x"; then
   23210       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   23211 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   23212    fi
   23213 else
   23214    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   23215 fi
   23216 
   23217 # User supplied flags override default flags
   23218 if test "x$LINT_FLAGS" != "x"; then
   23219    lint_options=$LINT_FLAGS
   23220 fi
   23221 
   23222 LINT_FLAGS=$lint_options
   23223 
   23224  if test "x$LINT" != x; then
   23225   LINT_TRUE=
   23226   LINT_FALSE='#'
   23227 else
   23228   LINT_TRUE='#'
   23229   LINT_FALSE=
   23230 fi
   23231 
   23232 
   23233 
   23234 
   23235 
   23236 # Check whether --enable-lint-library was given.
   23237 if test ${enable_lint_library+y}
   23238 then :
   23239   enableval=$enable_lint_library; make_lint_lib=$enableval
   23240 else case e in #(
   23241   e) make_lint_lib=no ;;
   23242 esac
   23243 fi
   23244 
   23245 
   23246 if test "x$make_lint_lib" = x"yes" ; then
   23247    LINTLIB=llib-lX11.ln
   23248    if test "x$LINT" = "x"; then
   23249         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   23250    fi
   23251 elif test "x$make_lint_lib" != x"no" ; then
   23252    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   23253 fi
   23254 
   23255 
   23256  if test x$make_lint_lib != xno; then
   23257   MAKE_LINT_LIB_TRUE=
   23258   MAKE_LINT_LIB_FALSE='#'
   23259 else
   23260   MAKE_LINT_LIB_TRUE='#'
   23261   MAKE_LINT_LIB_FALSE=
   23262 fi
   23263 
   23264 
   23265 
   23266 
   23267 X11_DATADIR="${datadir}/X11"
   23268 
   23269   prefix_NONE=
   23270   exec_prefix_NONE=
   23271   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23272   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23273   eval ax_define_dir="\"$X11_DATADIR\""
   23274   eval ax_define_dir="\"$ax_define_dir\""
   23275   X11_DATADIR="$ax_define_dir"
   23276 
   23277 
   23278 printf "%s\n" "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   23279 
   23280   test "$prefix_NONE" && prefix=NONE
   23281   test "$exec_prefix_NONE" && exec_prefix=NONE
   23282 
   23283 
   23284 
   23285 X11_LIBDIR="${libdir}/X11"
   23286 
   23287   prefix_NONE=
   23288   exec_prefix_NONE=
   23289   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23290   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23291   eval ax_define_dir="\"$X11_LIBDIR\""
   23292   eval ax_define_dir="\"$ax_define_dir\""
   23293   X11_LIBDIR="$ax_define_dir"
   23294 
   23295 
   23296 printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   23297 
   23298   test "$prefix_NONE" && prefix=NONE
   23299   test "$exec_prefix_NONE" && exec_prefix=NONE
   23300 
   23301 
   23302 
   23303 
   23304 pkg_failed=no
   23305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   23306 printf %s "checking for X11... " >&6; }
   23307 
   23308 if test -n "$X11_CFLAGS"; then
   23309     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   23310  elif test -n "$PKG_CONFIG"; then
   23311     if test -n "$PKG_CONFIG" && \
   23312     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23313   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23314   ac_status=$?
   23315   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23316   test $ac_status = 0; }; then
   23317   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   23318 		      test "x$?" != "x0" && pkg_failed=yes
   23319 else
   23320   pkg_failed=yes
   23321 fi
   23322  else
   23323     pkg_failed=untried
   23324 fi
   23325 if test -n "$X11_LIBS"; then
   23326     pkg_cv_X11_LIBS="$X11_LIBS"
   23327  elif test -n "$PKG_CONFIG"; then
   23328     if test -n "$PKG_CONFIG" && \
   23329     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23330   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23331   ac_status=$?
   23332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23333   test $ac_status = 0; }; then
   23334   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   23335 		      test "x$?" != "x0" && pkg_failed=yes
   23336 else
   23337   pkg_failed=yes
   23338 fi
   23339  else
   23340     pkg_failed=untried
   23341 fi
   23342 
   23343 
   23344 
   23345 if test $pkg_failed = yes; then
   23346    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23347 printf "%s\n" "no" >&6; }
   23348 
   23349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23350         _pkg_short_errors_supported=yes
   23351 else
   23352         _pkg_short_errors_supported=no
   23353 fi
   23354         if test $_pkg_short_errors_supported = yes; then
   23355 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23356         else
   23357 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23358         fi
   23359 	# Put the nasty error message in config.log where it belongs
   23360 	echo "$X11_PKG_ERRORS" >&5
   23361 
   23362 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   23363 
   23364 $X11_PKG_ERRORS
   23365 
   23366 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23367 installed software in a non-standard prefix.
   23368 
   23369 Alternatively, you may set the environment variables X11_CFLAGS
   23370 and X11_LIBS to avoid the need to call pkg-config.
   23371 See the pkg-config man page for more details." "$LINENO" 5
   23372 elif test $pkg_failed = untried; then
   23373      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23374 printf "%s\n" "no" >&6; }
   23375 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23376 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23377 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23378 is in your PATH or set the PKG_CONFIG environment variable to the full
   23379 path to pkg-config.
   23380 
   23381 Alternatively, you may set the environment variables X11_CFLAGS
   23382 and X11_LIBS to avoid the need to call pkg-config.
   23383 See the pkg-config man page for more details.
   23384 
   23385 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23386 See 'config.log' for more details" "$LINENO" 5; }
   23387 else
   23388 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   23389 	X11_LIBS=$pkg_cv_X11_LIBS
   23390         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23391 printf "%s\n" "yes" >&6; }
   23392 
   23393 fi
   23394 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   23395 
   23396 #
   23397 # Yes, it would be nice to put the locale data in
   23398 # /usr/share, but the locale stuff includes loadable
   23399 # libraries which must be located in the same directory
   23400 # as the other locale data, so for now, everything lives
   23401 # in ${libdir}
   23402 #
   23403 
   23404 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   23405 
   23406   prefix_NONE=
   23407   exec_prefix_NONE=
   23408   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23409   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23410   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   23411   eval ax_define_dir="\"$ax_define_dir\""
   23412   XLOCALEDATADIR="$ax_define_dir"
   23413 
   23414 
   23415 printf "%s\n" "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   23416 
   23417   test "$prefix_NONE" && prefix=NONE
   23418   test "$exec_prefix_NONE" && exec_prefix=NONE
   23419 
   23420 
   23421 
   23422 
   23423 # Check whether --with-locale-lib-dir was given.
   23424 if test ${with_locale_lib_dir+y}
   23425 then :
   23426   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   23427 else case e in #(
   23428   e)  X11_LOCALELIBDIR="${X11_LIBDIR}/locale"  ;;
   23429 esac
   23430 fi
   23431 
   23432 
   23433   prefix_NONE=
   23434   exec_prefix_NONE=
   23435   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23436   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23437   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   23438   eval ax_define_dir="\"$ax_define_dir\""
   23439   XLOCALELIBDIR="$ax_define_dir"
   23440 
   23441 
   23442 printf "%s\n" "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   23443 
   23444   test "$prefix_NONE" && prefix=NONE
   23445   test "$exec_prefix_NONE" && exec_prefix=NONE
   23446 
   23447 
   23448 
   23449 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   23450 
   23451   prefix_NONE=
   23452   exec_prefix_NONE=
   23453   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23454   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23455   eval ax_define_dir="\"$X11_LOCALEDIR\""
   23456   eval ax_define_dir="\"$ax_define_dir\""
   23457   XLOCALEDIR="$ax_define_dir"
   23458 
   23459 
   23460 printf "%s\n" "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   23461 
   23462   test "$prefix_NONE" && prefix=NONE
   23463   test "$exec_prefix_NONE" && exec_prefix=NONE
   23464 
   23465 
   23466 
   23467 locales="\
   23468  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   23469  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   23470  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   23471  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   23472  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   23473  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   23474  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   23475  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   23476  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   23477  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   23478  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   23479  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   23480 
   23481 
   23482 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   23483 
   23484   prefix_NONE=
   23485   exec_prefix_NONE=
   23486   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23487   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23488   eval ax_define_dir="\"$XKEYSYMDB\""
   23489   eval ax_define_dir="\"$ax_define_dir\""
   23490   XKEYSYMDB="$ax_define_dir"
   23491 
   23492 
   23493 printf "%s\n" "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   23494 
   23495   test "$prefix_NONE" && prefix=NONE
   23496   test "$exec_prefix_NONE" && exec_prefix=NONE
   23497 
   23498 
   23499 XERRORDB="${X11_DATADIR}/XErrorDB"
   23500 
   23501   prefix_NONE=
   23502   exec_prefix_NONE=
   23503   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23504   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23505   eval ax_define_dir="\"$XERRORDB\""
   23506   eval ax_define_dir="\"$ax_define_dir\""
   23507   XERRORDB="$ax_define_dir"
   23508 
   23509 
   23510 printf "%s\n" "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   23511 
   23512   test "$prefix_NONE" && prefix=NONE
   23513   test "$exec_prefix_NONE" && exec_prefix=NONE
   23514 
   23515 
   23516 
   23517 # Check whether --enable-malloc0returnsnull was given.
   23518 if test ${enable_malloc0returnsnull+y}
   23519 then :
   23520   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   23521 else case e in #(
   23522   e) MALLOC_ZERO_RETURNS_NULL=auto ;;
   23523 esac
   23524 fi
   23525 
   23526 
   23527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   23528 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   23529 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   23530 if test ${xorg_cv_malloc0_returns_null+y}
   23531 then :
   23532   printf %s "(cached) " >&6
   23533 else case e in #(
   23534   e) if test "$cross_compiling" = yes
   23535 then :
   23536   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23537 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23538 as_fn_error $? "cannot run test program while cross compiling
   23539 See 'config.log' for more details" "$LINENO" 5; }
   23540 else case e in #(
   23541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23542 /* end confdefs.h.  */
   23543 
   23544 #include <stdlib.h>
   23545 
   23546 int
   23547 main (void)
   23548 {
   23549 
   23550     char *m0, *r0, *c0, *p;
   23551     m0 = malloc(0);
   23552     p = malloc(10);
   23553     r0 = realloc(p,0);
   23554     c0 = calloc(0,10);
   23555     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   23556 
   23557   ;
   23558   return 0;
   23559 }
   23560 _ACEOF
   23561 if ac_fn_c_try_run "$LINENO"
   23562 then :
   23563   xorg_cv_malloc0_returns_null=yes
   23564 else case e in #(
   23565   e) xorg_cv_malloc0_returns_null=no ;;
   23566 esac
   23567 fi
   23568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23569   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23570 esac
   23571 fi
   23572  ;;
   23573 esac
   23574 fi
   23575 
   23576 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   23577 fi
   23578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   23579 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   23580 
   23581 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   23582 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   23583 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   23584 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   23585 else
   23586 	MALLOC_ZERO_CFLAGS=""
   23587 	XMALLOC_ZERO_CFLAGS=""
   23588 	XTMALLOC_ZERO_CFLAGS=""
   23589 fi
   23590 
   23591 
   23592 
   23593 
   23594 
   23595 
   23596 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"
   23597 
   23598 cat >confcache <<\_ACEOF
   23599 # This file is a shell script that caches the results of configure
   23600 # tests run on this system so they can be shared between configure
   23601 # scripts and configure runs, see configure's option --config-cache.
   23602 # It is not useful on other systems.  If it contains results you don't
   23603 # want to keep, you may remove or edit it.
   23604 #
   23605 # config.status only pays attention to the cache file if you give it
   23606 # the --recheck option to rerun configure.
   23607 #
   23608 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   23609 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   23610 # following values.
   23611 
   23612 _ACEOF
   23613 
   23614 # The following way of writing the cache mishandles newlines in values,
   23615 # but we know of no workaround that is simple, portable, and efficient.
   23616 # So, we kill variables containing newlines.
   23617 # Ultrix sh set writes to stderr and can't be redirected directly,
   23618 # and sets the high bit in the cache file unless we assign to the vars.
   23619 (
   23620   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23621     eval ac_val=\$$ac_var
   23622     case $ac_val in #(
   23623     *${as_nl}*)
   23624       case $ac_var in #(
   23625       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   23626 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   23627       esac
   23628       case $ac_var in #(
   23629       _ | IFS | as_nl) ;; #(
   23630       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   23631       *) { eval $ac_var=; unset $ac_var;} ;;
   23632       esac ;;
   23633     esac
   23634   done
   23635 
   23636   (set) 2>&1 |
   23637     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23638     *${as_nl}ac_space=\ *)
   23639       # 'set' does not quote correctly, so add quotes: double-quote
   23640       # substitution turns \\\\ into \\, and sed turns \\ into \.
   23641       sed -n \
   23642 	"s/'/'\\\\''/g;
   23643 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23644       ;; #(
   23645     *)
   23646       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   23647       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23648       ;;
   23649     esac |
   23650     sort
   23651 ) |
   23652   sed '
   23653      /^ac_cv_env_/b end
   23654      t clear
   23655      :clear
   23656      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   23657      t end
   23658      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23659      :end' >>confcache
   23660 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23661   if test -w "$cache_file"; then
   23662     if test "x$cache_file" != "x/dev/null"; then
   23663       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   23664 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   23665       if test ! -f "$cache_file" || test -h "$cache_file"; then
   23666 	cat confcache >"$cache_file"
   23667       else
   23668         case $cache_file in #(
   23669         */* | ?:*)
   23670 	  mv -f confcache "$cache_file"$$ &&
   23671 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   23672         *)
   23673 	  mv -f confcache "$cache_file" ;;
   23674 	esac
   23675       fi
   23676     fi
   23677   else
   23678     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   23679 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   23680   fi
   23681 fi
   23682 rm -f confcache
   23683 
   23684 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23685 # Let make expand exec_prefix.
   23686 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23687 
   23688 DEFS=-DHAVE_CONFIG_H
   23689 
   23690 ac_libobjs=
   23691 ac_ltlibobjs=
   23692 U=
   23693 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23694   # 1. Remove the extension, and $U if already installed.
   23695   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23696   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   23697   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23698   #    will be set to the directory where LIBOBJS objects are built.
   23699   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23700   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   23701 done
   23702 LIBOBJS=$ac_libobjs
   23703 
   23704 LTLIBOBJS=$ac_ltlibobjs
   23705 
   23706 
   23707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   23708 printf %s "checking that generated files are newer than configure... " >&6; }
   23709    if test -n "$am_sleep_pid"; then
   23710      # Hide warnings about reused PIDs.
   23711      wait $am_sleep_pid 2>/dev/null
   23712    fi
   23713    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   23714 printf "%s\n" "done" >&6; }
   23715 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23716   as_fn_error $? "conditional \"AMDEP\" was never defined.
   23717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23718 fi
   23719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23720   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   23721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23722 fi
   23723  if test -n "$EXEEXT"; then
   23724   am__EXEEXT_TRUE=
   23725   am__EXEEXT_FALSE='#'
   23726 else
   23727   am__EXEEXT_TRUE='#'
   23728   am__EXEEXT_FALSE=
   23729 fi
   23730 
   23731 # Check whether --enable-year2038 was given.
   23732 if test ${enable_year2038+y}
   23733 then :
   23734   enableval=$enable_year2038;
   23735 fi
   23736 
   23737 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   23738   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   23739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23740 fi
   23741 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   23742   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   23743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23744 fi
   23745 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   23746   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   23747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23748 fi
   23749 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   23750   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   23751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23752 fi
   23753 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   23754   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   23755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23756 fi
   23757 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   23758   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   23759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23760 fi
   23761 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   23762   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   23763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23764 fi
   23765 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   23766   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   23767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23768 fi
   23769 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   23770   as_fn_error $? "conditional \"OS2\" was never defined.
   23771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23772 fi
   23773 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   23774   as_fn_error $? "conditional \"XCMS\" was never defined.
   23775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23776 fi
   23777 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   23778   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   23779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23780 fi
   23781 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   23782   as_fn_error $? "conditional \"XKB\" was never defined.
   23783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23784 fi
   23785 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   23786   as_fn_error $? "conditional \"LINT\" was never defined.
   23787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23788 fi
   23789 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   23790   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   23791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23792 fi
   23793 
   23794 : "${CONFIG_STATUS=./config.status}"
   23795 ac_write_fail=0
   23796 ac_clean_files_save=$ac_clean_files
   23797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   23799 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   23800 as_write_fail=0
   23801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   23802 #! $SHELL
   23803 # Generated by $as_me.
   23804 # Run this file to recreate the current configuration.
   23805 # Compiler output produced by configure, useful for debugging
   23806 # configure, is in config.log if it exists.
   23807 
   23808 debug=false
   23809 ac_cs_recheck=false
   23810 ac_cs_silent=false
   23811 
   23812 SHELL=\${CONFIG_SHELL-$SHELL}
   23813 export SHELL
   23814 _ASEOF
   23815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   23816 ## -------------------- ##
   23817 ## M4sh Initialization. ##
   23818 ## -------------------- ##
   23819 
   23820 # Be more Bourne compatible
   23821 DUALCASE=1; export DUALCASE # for MKS sh
   23822 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   23823 then :
   23824   emulate sh
   23825   NULLCMD=:
   23826   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23827   # is contrary to our usage.  Disable this feature.
   23828   alias -g '${1+"$@"}'='"$@"'
   23829   setopt NO_GLOB_SUBST
   23830 else case e in #(
   23831   e) case `(set -o) 2>/dev/null` in #(
   23832   *posix*) :
   23833     set -o posix ;; #(
   23834   *) :
   23835      ;;
   23836 esac ;;
   23837 esac
   23838 fi
   23839 
   23840 
   23841 
   23842 # Reset variables that may have inherited troublesome values from
   23843 # the environment.
   23844 
   23845 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   23846 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   23847 # side effect of setting IFS to empty, thus disabling word splitting.)
   23848 # Quoting is to prevent editors from complaining about space-tab.
   23849 as_nl='
   23850 '
   23851 export as_nl
   23852 IFS=" ""	$as_nl"
   23853 
   23854 PS1='$ '
   23855 PS2='> '
   23856 PS4='+ '
   23857 
   23858 # Ensure predictable behavior from utilities with locale-dependent output.
   23859 LC_ALL=C
   23860 export LC_ALL
   23861 LANGUAGE=C
   23862 export LANGUAGE
   23863 
   23864 # We cannot yet rely on "unset" to work, but we need these variables
   23865 # to be unset--not just set to an empty or harmless value--now, to
   23866 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   23867 # also avoids known problems related to "unset" and subshell syntax
   23868 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   23869 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   23870 do eval test \${$as_var+y} \
   23871   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   23872 done
   23873 
   23874 # Ensure that fds 0, 1, and 2 are open.
   23875 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   23876 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   23877 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   23878 
   23879 # The user is always right.
   23880 if ${PATH_SEPARATOR+false} :; then
   23881   PATH_SEPARATOR=:
   23882   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   23883     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   23884       PATH_SEPARATOR=';'
   23885   }
   23886 fi
   23887 
   23888 
   23889 # Find who we are.  Look in the path if we contain no directory separator.
   23890 as_myself=
   23891 case $0 in #((
   23892   *[\\/]* ) as_myself=$0 ;;
   23893   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23894 for as_dir in $PATH
   23895 do
   23896   IFS=$as_save_IFS
   23897   case $as_dir in #(((
   23898     '') as_dir=./ ;;
   23899     */) ;;
   23900     *) as_dir=$as_dir/ ;;
   23901   esac
   23902     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   23903   done
   23904 IFS=$as_save_IFS
   23905 
   23906      ;;
   23907 esac
   23908 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   23909 # in which case we are not to be found in the path.
   23910 if test "x$as_myself" = x; then
   23911   as_myself=$0
   23912 fi
   23913 if test ! -f "$as_myself"; then
   23914   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23915   exit 1
   23916 fi
   23917 
   23918 
   23919 
   23920 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   23921 # ----------------------------------------
   23922 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   23923 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   23924 # script with STATUS, using 1 if that was 0.
   23925 as_fn_error ()
   23926 {
   23927   as_status=$1; test $as_status -eq 0 && as_status=1
   23928   if test "$4"; then
   23929     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   23930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   23931   fi
   23932   printf "%s\n" "$as_me: error: $2" >&2
   23933   as_fn_exit $as_status
   23934 } # as_fn_error
   23935 
   23936 
   23937 # as_fn_set_status STATUS
   23938 # -----------------------
   23939 # Set $? to STATUS, without forking.
   23940 as_fn_set_status ()
   23941 {
   23942   return $1
   23943 } # as_fn_set_status
   23944 
   23945 # as_fn_exit STATUS
   23946 # -----------------
   23947 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   23948 as_fn_exit ()
   23949 {
   23950   set +e
   23951   as_fn_set_status $1
   23952   exit $1
   23953 } # as_fn_exit
   23954 
   23955 # as_fn_unset VAR
   23956 # ---------------
   23957 # Portably unset VAR.
   23958 as_fn_unset ()
   23959 {
   23960   { eval $1=; unset $1;}
   23961 }
   23962 as_unset=as_fn_unset
   23963 
   23964 # as_fn_append VAR VALUE
   23965 # ----------------------
   23966 # Append the text in VALUE to the end of the definition contained in VAR. Take
   23967 # advantage of any shell optimizations that allow amortized linear growth over
   23968 # repeated appends, instead of the typical quadratic growth present in naive
   23969 # implementations.
   23970 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   23971 then :
   23972   eval 'as_fn_append ()
   23973   {
   23974     eval $1+=\$2
   23975   }'
   23976 else case e in #(
   23977   e) as_fn_append ()
   23978   {
   23979     eval $1=\$$1\$2
   23980   } ;;
   23981 esac
   23982 fi # as_fn_append
   23983 
   23984 # as_fn_arith ARG...
   23985 # ------------------
   23986 # Perform arithmetic evaluation on the ARGs, and store the result in the
   23987 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   23988 # must be portable across $(()) and expr.
   23989 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   23990 then :
   23991   eval 'as_fn_arith ()
   23992   {
   23993     as_val=$(( $* ))
   23994   }'
   23995 else case e in #(
   23996   e) as_fn_arith ()
   23997   {
   23998     as_val=`expr "$@" || test $? -eq 1`
   23999   } ;;
   24000 esac
   24001 fi # as_fn_arith
   24002 
   24003 
   24004 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24005    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24006   as_expr=expr
   24007 else
   24008   as_expr=false
   24009 fi
   24010 
   24011 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24012   as_basename=basename
   24013 else
   24014   as_basename=false
   24015 fi
   24016 
   24017 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24018   as_dirname=dirname
   24019 else
   24020   as_dirname=false
   24021 fi
   24022 
   24023 as_me=`$as_basename -- "$0" ||
   24024 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24025 	 X"$0" : 'X\(//\)$' \| \
   24026 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24027 printf "%s\n" X/"$0" |
   24028     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24029 	    s//\1/
   24030 	    q
   24031 	  }
   24032 	  /^X\/\(\/\/\)$/{
   24033 	    s//\1/
   24034 	    q
   24035 	  }
   24036 	  /^X\/\(\/\).*/{
   24037 	    s//\1/
   24038 	    q
   24039 	  }
   24040 	  s/.*/./; q'`
   24041 
   24042 # Avoid depending upon Character Ranges.
   24043 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24044 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24045 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24046 as_cr_digits='0123456789'
   24047 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24048 
   24049 
   24050 # Determine whether it's possible to make 'echo' print without a newline.
   24051 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   24052 # for compatibility with existing Makefiles.
   24053 ECHO_C= ECHO_N= ECHO_T=
   24054 case `echo -n x` in #(((((
   24055 -n*)
   24056   case `echo 'xy\c'` in
   24057   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   24058   xy)  ECHO_C='\c';;
   24059   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   24060        ECHO_T='	';;
   24061   esac;;
   24062 *)
   24063   ECHO_N='-n';;
   24064 esac
   24065 
   24066 # For backward compatibility with old third-party macros, we provide
   24067 # the shell variables $as_echo and $as_echo_n.  New code should use
   24068 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   24069 as_echo='printf %s\n'
   24070 as_echo_n='printf %s'
   24071 
   24072 rm -f conf$$ conf$$.exe conf$$.file
   24073 if test -d conf$$.dir; then
   24074   rm -f conf$$.dir/conf$$.file
   24075 else
   24076   rm -f conf$$.dir
   24077   mkdir conf$$.dir 2>/dev/null
   24078 fi
   24079 if (echo >conf$$.file) 2>/dev/null; then
   24080   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24081     as_ln_s='ln -s'
   24082     # ... but there are two gotchas:
   24083     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   24084     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   24085     # In both cases, we have to default to 'cp -pR'.
   24086     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24087       as_ln_s='cp -pR'
   24088   elif ln conf$$.file conf$$ 2>/dev/null; then
   24089     as_ln_s=ln
   24090   else
   24091     as_ln_s='cp -pR'
   24092   fi
   24093 else
   24094   as_ln_s='cp -pR'
   24095 fi
   24096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24097 rmdir conf$$.dir 2>/dev/null
   24098 
   24099 
   24100 # as_fn_mkdir_p
   24101 # -------------
   24102 # Create "$as_dir" as a directory, including parents if necessary.
   24103 as_fn_mkdir_p ()
   24104 {
   24105 
   24106   case $as_dir in #(
   24107   -*) as_dir=./$as_dir;;
   24108   esac
   24109   test -d "$as_dir" || eval $as_mkdir_p || {
   24110     as_dirs=
   24111     while :; do
   24112       case $as_dir in #(
   24113       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24114       *) as_qdir=$as_dir;;
   24115       esac
   24116       as_dirs="'$as_qdir' $as_dirs"
   24117       as_dir=`$as_dirname -- "$as_dir" ||
   24118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24119 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24120 	 X"$as_dir" : 'X\(//\)$' \| \
   24121 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24122 printf "%s\n" X"$as_dir" |
   24123     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24124 	    s//\1/
   24125 	    q
   24126 	  }
   24127 	  /^X\(\/\/\)[^/].*/{
   24128 	    s//\1/
   24129 	    q
   24130 	  }
   24131 	  /^X\(\/\/\)$/{
   24132 	    s//\1/
   24133 	    q
   24134 	  }
   24135 	  /^X\(\/\).*/{
   24136 	    s//\1/
   24137 	    q
   24138 	  }
   24139 	  s/.*/./; q'`
   24140       test -d "$as_dir" && break
   24141     done
   24142     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24143   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   24144 
   24145 
   24146 } # as_fn_mkdir_p
   24147 if mkdir -p . 2>/dev/null; then
   24148   as_mkdir_p='mkdir -p "$as_dir"'
   24149 else
   24150   test -d ./-p && rmdir ./-p
   24151   as_mkdir_p=false
   24152 fi
   24153 
   24154 
   24155 # as_fn_executable_p FILE
   24156 # -----------------------
   24157 # Test if FILE is an executable regular file.
   24158 as_fn_executable_p ()
   24159 {
   24160   test -f "$1" && test -x "$1"
   24161 } # as_fn_executable_p
   24162 as_test_x='test -x'
   24163 as_executable_p=as_fn_executable_p
   24164 
   24165 # Sed expression to map a string onto a valid CPP name.
   24166 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24167 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   24168 
   24169 # Sed expression to map a string onto a valid variable name.
   24170 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   24171 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   24172 
   24173 
   24174 exec 6>&1
   24175 ## ----------------------------------- ##
   24176 ## Main body of $CONFIG_STATUS script. ##
   24177 ## ----------------------------------- ##
   24178 _ASEOF
   24179 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   24180 
   24181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24182 # Save the log message, to keep $0 and so on meaningful, and to
   24183 # report actual input values of CONFIG_FILES etc. instead of their
   24184 # values after options handling.
   24185 ac_log="
   24186 This file was extended by libX11 $as_me 1.8.9, which was
   24187 generated by GNU Autoconf 2.72.  Invocation command line was
   24188 
   24189   CONFIG_FILES    = $CONFIG_FILES
   24190   CONFIG_HEADERS  = $CONFIG_HEADERS
   24191   CONFIG_LINKS    = $CONFIG_LINKS
   24192   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24193   $ $0 $@
   24194 
   24195 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24196 "
   24197 
   24198 _ACEOF
   24199 
   24200 case $ac_config_files in *"
   24201 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24202 esac
   24203 
   24204 case $ac_config_headers in *"
   24205 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24206 esac
   24207 
   24208 
   24209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24210 # Files that config.status was made for.
   24211 config_files="$ac_config_files"
   24212 config_headers="$ac_config_headers"
   24213 config_commands="$ac_config_commands"
   24214 
   24215 _ACEOF
   24216 
   24217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24218 ac_cs_usage="\
   24219 '$as_me' instantiates files and other configuration actions
   24220 from templates according to the current configuration.  Unless the files
   24221 and actions are specified as TAGs, all are instantiated by default.
   24222 
   24223 Usage: $0 [OPTION]... [TAG]...
   24224 
   24225   -h, --help       print this help, then exit
   24226   -V, --version    print version number and configuration settings, then exit
   24227       --config     print configuration, then exit
   24228   -q, --quiet, --silent
   24229                    do not print progress messages
   24230   -d, --debug      don't remove temporary files
   24231       --recheck    update $as_me by reconfiguring in the same conditions
   24232       --file=FILE[:TEMPLATE]
   24233                    instantiate the configuration file FILE
   24234       --header=FILE[:TEMPLATE]
   24235                    instantiate the configuration header FILE
   24236 
   24237 Configuration files:
   24238 $config_files
   24239 
   24240 Configuration headers:
   24241 $config_headers
   24242 
   24243 Configuration commands:
   24244 $config_commands
   24245 
   24246 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   24247 
   24248 _ACEOF
   24249 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   24250 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   24251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24252 ac_cs_config='$ac_cs_config_escaped'
   24253 ac_cs_version="\\
   24254 libX11 config.status 1.8.9
   24255 configured by $0, generated by GNU Autoconf 2.72,
   24256   with options \\"\$ac_cs_config\\"
   24257 
   24258 Copyright (C) 2023 Free Software Foundation, Inc.
   24259 This config.status script is free software; the Free Software Foundation
   24260 gives unlimited permission to copy, distribute and modify it."
   24261 
   24262 ac_pwd='$ac_pwd'
   24263 srcdir='$srcdir'
   24264 INSTALL='$INSTALL'
   24265 MKDIR_P='$MKDIR_P'
   24266 AWK='$AWK'
   24267 test -n "\$AWK" || AWK=awk
   24268 _ACEOF
   24269 
   24270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24271 # The default lists apply if the user does not specify any file.
   24272 ac_need_defaults=:
   24273 while test $# != 0
   24274 do
   24275   case $1 in
   24276   --*=?*)
   24277     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24278     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24279     ac_shift=:
   24280     ;;
   24281   --*=)
   24282     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24283     ac_optarg=
   24284     ac_shift=:
   24285     ;;
   24286   *)
   24287     ac_option=$1
   24288     ac_optarg=$2
   24289     ac_shift=shift
   24290     ;;
   24291   esac
   24292 
   24293   case $ac_option in
   24294   # Handling of the options.
   24295   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24296     ac_cs_recheck=: ;;
   24297   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24298     printf "%s\n" "$ac_cs_version"; exit ;;
   24299   --config | --confi | --conf | --con | --co | --c )
   24300     printf "%s\n" "$ac_cs_config"; exit ;;
   24301   --debug | --debu | --deb | --de | --d | -d )
   24302     debug=: ;;
   24303   --file | --fil | --fi | --f )
   24304     $ac_shift
   24305     case $ac_optarg in
   24306     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24307     '') as_fn_error $? "missing file argument" ;;
   24308     esac
   24309     as_fn_append CONFIG_FILES " '$ac_optarg'"
   24310     ac_need_defaults=false;;
   24311   --header | --heade | --head | --hea )
   24312     $ac_shift
   24313     case $ac_optarg in
   24314     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24315     esac
   24316     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   24317     ac_need_defaults=false;;
   24318   --he | --h)
   24319     # Conflict between --help and --header
   24320     as_fn_error $? "ambiguous option: '$1'
   24321 Try '$0 --help' for more information.";;
   24322   --help | --hel | -h )
   24323     printf "%s\n" "$ac_cs_usage"; exit ;;
   24324   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24325   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24326     ac_cs_silent=: ;;
   24327 
   24328   # This is an error.
   24329   -*) as_fn_error $? "unrecognized option: '$1'
   24330 Try '$0 --help' for more information." ;;
   24331 
   24332   *) as_fn_append ac_config_targets " $1"
   24333      ac_need_defaults=false ;;
   24334 
   24335   esac
   24336   shift
   24337 done
   24338 
   24339 ac_configure_extra_args=
   24340 
   24341 if $ac_cs_silent; then
   24342   exec 6>/dev/null
   24343   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24344 fi
   24345 
   24346 _ACEOF
   24347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24348 if \$ac_cs_recheck; then
   24349   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24350   shift
   24351   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   24352   CONFIG_SHELL='$SHELL'
   24353   export CONFIG_SHELL
   24354   exec "\$@"
   24355 fi
   24356 
   24357 _ACEOF
   24358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24359 exec 5>>config.log
   24360 {
   24361   echo
   24362   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24363 ## Running $as_me. ##
   24364 _ASBOX
   24365   printf "%s\n" "$ac_log"
   24366 } >&5
   24367 
   24368 _ACEOF
   24369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24370 #
   24371 # INIT-COMMANDS
   24372 #
   24373 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   24374 
   24375 
   24376 # The HP-UX ksh and POSIX shell print the target directory to stdout
   24377 # if CDPATH is set.
   24378 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   24379 
   24380 sed_quote_subst='$sed_quote_subst'
   24381 double_quote_subst='$double_quote_subst'
   24382 delay_variable_subst='$delay_variable_subst'
   24383 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   24384 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   24385 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   24386 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   24387 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   24388 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   24389 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   24390 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   24391 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   24392 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   24393 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   24394 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   24395 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   24396 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   24397 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   24398 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   24399 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   24400 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   24401 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   24402 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   24403 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   24404 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   24405 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   24406 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   24407 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   24408 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   24409 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   24410 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   24411 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   24412 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   24413 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   24414 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   24415 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   24416 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   24417 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   24418 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   24419 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   24420 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   24421 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   24422 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   24423 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   24424 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   24425 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   24426 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   24427 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   24428 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   24429 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   24430 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   24431 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24432 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24433 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   24434 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   24435 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   24436 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   24437 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   24438 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   24439 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   24440 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   24441 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   24442 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   24443 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"`'
   24444 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   24445 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   24446 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   24447 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   24448 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   24449 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   24450 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   24451 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   24452 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   24453 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   24454 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   24455 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   24456 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   24457 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   24458 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   24459 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   24460 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   24461 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   24462 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   24463 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   24464 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24465 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   24466 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   24467 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   24468 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   24469 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   24470 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   24471 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24472 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   24473 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24474 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   24475 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24476 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   24477 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24478 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24479 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   24480 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   24481 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   24482 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   24483 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   24484 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24485 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   24486 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   24487 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   24488 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   24489 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   24490 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   24491 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   24492 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   24493 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   24494 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   24495 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   24496 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   24497 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   24498 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   24499 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   24500 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24501 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   24502 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   24503 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   24504 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   24505 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   24506 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24507 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24508 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   24509 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   24510 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   24511 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   24512 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   24513 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   24514 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   24515 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   24516 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   24517 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   24518 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   24519 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   24520 
   24521 LTCC='$LTCC'
   24522 LTCFLAGS='$LTCFLAGS'
   24523 compiler='$compiler_DEFAULT'
   24524 
   24525 # A function that is used when there is no print builtin or printf.
   24526 func_fallback_echo ()
   24527 {
   24528   eval 'cat <<_LTECHO_EOF
   24529 \$1
   24530 _LTECHO_EOF'
   24531 }
   24532 
   24533 # Quote evaled strings.
   24534 for var in SHELL \
   24535 ECHO \
   24536 PATH_SEPARATOR \
   24537 SED \
   24538 GREP \
   24539 EGREP \
   24540 FGREP \
   24541 LD \
   24542 NM \
   24543 LN_S \
   24544 lt_SP2NL \
   24545 lt_NL2SP \
   24546 reload_flag \
   24547 FILECMD \
   24548 OBJDUMP \
   24549 deplibs_check_method \
   24550 file_magic_cmd \
   24551 file_magic_glob \
   24552 want_nocaseglob \
   24553 DLLTOOL \
   24554 sharedlib_from_linklib_cmd \
   24555 AR \
   24556 archiver_list_spec \
   24557 STRIP \
   24558 RANLIB \
   24559 CC \
   24560 CFLAGS \
   24561 compiler \
   24562 lt_cv_sys_global_symbol_pipe \
   24563 lt_cv_sys_global_symbol_to_cdecl \
   24564 lt_cv_sys_global_symbol_to_import \
   24565 lt_cv_sys_global_symbol_to_c_name_address \
   24566 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   24567 lt_cv_nm_interface \
   24568 nm_file_list_spec \
   24569 lt_cv_truncate_bin \
   24570 lt_prog_compiler_no_builtin_flag \
   24571 lt_prog_compiler_pic \
   24572 lt_prog_compiler_wl \
   24573 lt_prog_compiler_static \
   24574 lt_cv_prog_compiler_c_o \
   24575 need_locks \
   24576 MANIFEST_TOOL \
   24577 DSYMUTIL \
   24578 NMEDIT \
   24579 LIPO \
   24580 OTOOL \
   24581 OTOOL64 \
   24582 shrext_cmds \
   24583 export_dynamic_flag_spec \
   24584 whole_archive_flag_spec \
   24585 compiler_needs_object \
   24586 with_gnu_ld \
   24587 allow_undefined_flag \
   24588 no_undefined_flag \
   24589 hardcode_libdir_flag_spec \
   24590 hardcode_libdir_separator \
   24591 exclude_expsyms \
   24592 include_expsyms \
   24593 file_list_spec \
   24594 variables_saved_for_relink \
   24595 libname_spec \
   24596 library_names_spec \
   24597 soname_spec \
   24598 install_override_mode \
   24599 finish_eval \
   24600 old_striplib \
   24601 striplib; do
   24602     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24603     *[\\\\\\\`\\"\\\$]*)
   24604       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24605       ;;
   24606     *)
   24607       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24608       ;;
   24609     esac
   24610 done
   24611 
   24612 # Double-quote double-evaled strings.
   24613 for var in reload_cmds \
   24614 old_postinstall_cmds \
   24615 old_postuninstall_cmds \
   24616 old_archive_cmds \
   24617 extract_expsyms_cmds \
   24618 old_archive_from_new_cmds \
   24619 old_archive_from_expsyms_cmds \
   24620 archive_cmds \
   24621 archive_expsym_cmds \
   24622 module_cmds \
   24623 module_expsym_cmds \
   24624 export_symbols_cmds \
   24625 prelink_cmds \
   24626 postlink_cmds \
   24627 postinstall_cmds \
   24628 postuninstall_cmds \
   24629 finish_cmds \
   24630 sys_lib_search_path_spec \
   24631 configure_time_dlsearch_path \
   24632 configure_time_lt_sys_library_path; do
   24633     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24634     *[\\\\\\\`\\"\\\$]*)
   24635       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24636       ;;
   24637     *)
   24638       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24639       ;;
   24640     esac
   24641 done
   24642 
   24643 ac_aux_dir='$ac_aux_dir'
   24644 
   24645 # See if we are running on zsh, and set the options that allow our
   24646 # commands through without removal of \ escapes INIT.
   24647 if test -n "\${ZSH_VERSION+set}"; then
   24648    setopt NO_GLOB_SUBST
   24649 fi
   24650 
   24651 
   24652     PACKAGE='$PACKAGE'
   24653     VERSION='$VERSION'
   24654     RM='$RM'
   24655     ofile='$ofile'
   24656 
   24657 
   24658 
   24659 
   24660 _ACEOF
   24661 
   24662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24663 
   24664 # Handling of arguments.
   24665 for ac_config_target in $ac_config_targets
   24666 do
   24667   case $ac_config_target in
   24668     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   24669     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   24670     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24671     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   24672     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24673     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   24674     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   24675     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   24676     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   24677     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   24678     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   24679     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   24680     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   24681     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   24682     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   24683     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   24684     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   24685     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   24686     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   24687     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   24688     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   24689     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   24690     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   24691     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   24692     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   24693     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   24694     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   24695     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   24696     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   24697     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   24698     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   24699     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   24700     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   24701     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   24702 
   24703   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   24704   esac
   24705 done
   24706 
   24707 
   24708 # If the user did not use the arguments to specify the items to instantiate,
   24709 # then the envvar interface is used.  Set only those that are not.
   24710 # We use the long form for the default assignment because of an extremely
   24711 # bizarre bug on SunOS 4.1.3.
   24712 if $ac_need_defaults; then
   24713   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   24714   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   24715   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   24716 fi
   24717 
   24718 # Have a temporary directory for convenience.  Make it in the build tree
   24719 # simply because there is no reason against having it here, and in addition,
   24720 # creating and moving files from /tmp can sometimes cause problems.
   24721 # Hook for its removal unless debugging.
   24722 # Note that there is a small window in which the directory will not be cleaned:
   24723 # after its creation but before its name has been assigned to '$tmp'.
   24724 $debug ||
   24725 {
   24726   tmp= ac_tmp=
   24727   trap 'exit_status=$?
   24728   : "${ac_tmp:=$tmp}"
   24729   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   24730 ' 0
   24731   trap 'as_fn_exit 1' 1 2 13 15
   24732 }
   24733 # Create a (secure) tmp directory for tmp files.
   24734 
   24735 {
   24736   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   24737   test -d "$tmp"
   24738 }  ||
   24739 {
   24740   tmp=./conf$$-$RANDOM
   24741   (umask 077 && mkdir "$tmp")
   24742 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   24743 ac_tmp=$tmp
   24744 
   24745 # Set up the scripts for CONFIG_FILES section.
   24746 # No need to generate them if there are no CONFIG_FILES.
   24747 # This happens for instance with './config.status config.h'.
   24748 if test -n "$CONFIG_FILES"; then
   24749 
   24750 
   24751 ac_cr=`echo X | tr X '\015'`
   24752 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   24753 # But we know of no other shell where ac_cr would be empty at this
   24754 # point, so we can use a bashism as a fallback.
   24755 if test "x$ac_cr" = x; then
   24756   eval ac_cr=\$\'\\r\'
   24757 fi
   24758 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   24759 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   24760   ac_cs_awk_cr='\\r'
   24761 else
   24762   ac_cs_awk_cr=$ac_cr
   24763 fi
   24764 
   24765 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   24766 _ACEOF
   24767 
   24768 
   24769 {
   24770   echo "cat >conf$$subs.awk <<_ACEOF" &&
   24771   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   24772   echo "_ACEOF"
   24773 } >conf$$subs.sh ||
   24774   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24775 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   24776 ac_delim='%!_!# '
   24777 for ac_last_try in false false false false false :; do
   24778   . ./conf$$subs.sh ||
   24779     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24780 
   24781   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   24782   if test $ac_delim_n = $ac_delim_num; then
   24783     break
   24784   elif $ac_last_try; then
   24785     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24786   else
   24787     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24788   fi
   24789 done
   24790 rm -f conf$$subs.sh
   24791 
   24792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24793 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   24794 _ACEOF
   24795 sed -n '
   24796 h
   24797 s/^/S["/; s/!.*/"]=/
   24798 p
   24799 g
   24800 s/^[^!]*!//
   24801 :repl
   24802 t repl
   24803 s/'"$ac_delim"'$//
   24804 t delim
   24805 :nl
   24806 h
   24807 s/\(.\{148\}\)..*/\1/
   24808 t more1
   24809 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   24810 p
   24811 n
   24812 b repl
   24813 :more1
   24814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24815 p
   24816 g
   24817 s/.\{148\}//
   24818 t nl
   24819 :delim
   24820 h
   24821 s/\(.\{148\}\)..*/\1/
   24822 t more2
   24823 s/["\\]/\\&/g; s/^/"/; s/$/"/
   24824 p
   24825 b
   24826 :more2
   24827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24828 p
   24829 g
   24830 s/.\{148\}//
   24831 t delim
   24832 ' <conf$$subs.awk | sed '
   24833 /^[^""]/{
   24834   N
   24835   s/\n//
   24836 }
   24837 ' >>$CONFIG_STATUS || ac_write_fail=1
   24838 rm -f conf$$subs.awk
   24839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24840 _ACAWK
   24841 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   24842   for (key in S) S_is_set[key] = 1
   24843   FS = ""
   24844 
   24845 }
   24846 {
   24847   line = $ 0
   24848   nfields = split(line, field, "@")
   24849   substed = 0
   24850   len = length(field[1])
   24851   for (i = 2; i < nfields; i++) {
   24852     key = field[i]
   24853     keylen = length(key)
   24854     if (S_is_set[key]) {
   24855       value = S[key]
   24856       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   24857       len += length(value) + length(field[++i])
   24858       substed = 1
   24859     } else
   24860       len += 1 + keylen
   24861   }
   24862 
   24863   print line
   24864 }
   24865 
   24866 _ACAWK
   24867 _ACEOF
   24868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24869 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   24870   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   24871 else
   24872   cat
   24873 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   24874   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   24875 _ACEOF
   24876 
   24877 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   24878 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   24879 # trailing colons and then remove the whole line if VPATH becomes empty
   24880 # (actually we leave an empty line to preserve line numbers).
   24881 if test "x$srcdir" = x.; then
   24882   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   24883 h
   24884 s///
   24885 s/^/:/
   24886 s/[	 ]*$/:/
   24887 s/:\$(srcdir):/:/g
   24888 s/:\${srcdir}:/:/g
   24889 s/:@srcdir@:/:/g
   24890 s/^:*//
   24891 s/:*$//
   24892 x
   24893 s/\(=[	 ]*\).*/\1/
   24894 G
   24895 s/\n//
   24896 s/^[^=]*=[	 ]*$//
   24897 }'
   24898 fi
   24899 
   24900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24901 fi # test -n "$CONFIG_FILES"
   24902 
   24903 # Set up the scripts for CONFIG_HEADERS section.
   24904 # No need to generate them if there are no CONFIG_HEADERS.
   24905 # This happens for instance with './config.status Makefile'.
   24906 if test -n "$CONFIG_HEADERS"; then
   24907 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   24908 BEGIN {
   24909 _ACEOF
   24910 
   24911 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   24912 # here-document in config.status, that substitutes the proper values into
   24913 # config.h.in to produce config.h.
   24914 
   24915 # Create a delimiter string that does not exist in confdefs.h, to ease
   24916 # handling of long lines.
   24917 ac_delim='%!_!# '
   24918 for ac_last_try in false false :; do
   24919   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   24920   if test -z "$ac_tt"; then
   24921     break
   24922   elif $ac_last_try; then
   24923     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   24924   else
   24925     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24926   fi
   24927 done
   24928 
   24929 # For the awk script, D is an array of macro values keyed by name,
   24930 # likewise P contains macro parameters if any.  Preserve backslash
   24931 # newline sequences.
   24932 
   24933 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24934 sed -n '
   24935 s/.\{148\}/&'"$ac_delim"'/g
   24936 t rset
   24937 :rset
   24938 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   24939 t def
   24940 d
   24941 :def
   24942 s/\\$//
   24943 t bsnl
   24944 s/["\\]/\\&/g
   24945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24946 D["\1"]=" \3"/p
   24947 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   24948 d
   24949 :bsnl
   24950 s/["\\]/\\&/g
   24951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24952 D["\1"]=" \3\\\\\\n"\\/p
   24953 t cont
   24954 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   24955 t cont
   24956 d
   24957 :cont
   24958 n
   24959 s/.\{148\}/&'"$ac_delim"'/g
   24960 t clear
   24961 :clear
   24962 s/\\$//
   24963 t bsnlc
   24964 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   24965 d
   24966 :bsnlc
   24967 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   24968 b cont
   24969 ' <confdefs.h | sed '
   24970 s/'"$ac_delim"'/"\\\
   24971 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   24972 
   24973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24974   for (key in D) D_is_set[key] = 1
   24975   FS = ""
   24976 }
   24977 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   24978   line = \$ 0
   24979   split(line, arg, " ")
   24980   if (arg[1] == "#") {
   24981     defundef = arg[2]
   24982     mac1 = arg[3]
   24983   } else {
   24984     defundef = substr(arg[1], 2)
   24985     mac1 = arg[2]
   24986   }
   24987   split(mac1, mac2, "(") #)
   24988   macro = mac2[1]
   24989   prefix = substr(line, 1, index(line, defundef) - 1)
   24990   if (D_is_set[macro]) {
   24991     # Preserve the white space surrounding the "#".
   24992     print prefix "define", macro P[macro] D[macro]
   24993     next
   24994   } else {
   24995     # Replace #undef with comments.  This is necessary, for example,
   24996     # in the case of _POSIX_SOURCE, which is predefined and required
   24997     # on some systems where configure will not decide to define it.
   24998     if (defundef == "undef") {
   24999       print "/*", prefix defundef, macro, "*/"
   25000       next
   25001     }
   25002   }
   25003 }
   25004 { print }
   25005 _ACAWK
   25006 _ACEOF
   25007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25008   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   25009 fi # test -n "$CONFIG_HEADERS"
   25010 
   25011 
   25012 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25013 shift
   25014 for ac_tag
   25015 do
   25016   case $ac_tag in
   25017   :[FHLC]) ac_mode=$ac_tag; continue;;
   25018   esac
   25019   case $ac_mode$ac_tag in
   25020   :[FHL]*:*);;
   25021   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   25022   :[FH]-) ac_tag=-:-;;
   25023   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25024   esac
   25025   ac_save_IFS=$IFS
   25026   IFS=:
   25027   set x $ac_tag
   25028   IFS=$ac_save_IFS
   25029   shift
   25030   ac_file=$1
   25031   shift
   25032 
   25033   case $ac_mode in
   25034   :L) ac_source=$1;;
   25035   :[FH])
   25036     ac_file_inputs=
   25037     for ac_f
   25038     do
   25039       case $ac_f in
   25040       -) ac_f="$ac_tmp/stdin";;
   25041       *) # Look for the file first in the build tree, then in the source tree
   25042 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25043 	 # because $ac_f cannot contain ':'.
   25044 	 test -f "$ac_f" ||
   25045 	   case $ac_f in
   25046 	   [\\/$]*) false;;
   25047 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25048 	   esac ||
   25049 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   25050       esac
   25051       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25052       as_fn_append ac_file_inputs " '$ac_f'"
   25053     done
   25054 
   25055     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   25056     # use $as_me), people would be surprised to read:
   25057     #    /* config.h.  Generated by config.status.  */
   25058     configure_input='Generated from '`
   25059 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25060 	`' by configure.'
   25061     if test x"$ac_file" != x-; then
   25062       configure_input="$ac_file.  $configure_input"
   25063       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   25064 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   25065     fi
   25066     # Neutralize special characters interpreted by sed in replacement strings.
   25067     case $configure_input in #(
   25068     *\&* | *\|* | *\\* )
   25069        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   25070        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25071     *) ac_sed_conf_input=$configure_input;;
   25072     esac
   25073 
   25074     case $ac_tag in
   25075     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   25076       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   25077     esac
   25078     ;;
   25079   esac
   25080 
   25081   ac_dir=`$as_dirname -- "$ac_file" ||
   25082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25083 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25084 	 X"$ac_file" : 'X\(//\)$' \| \
   25085 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25086 printf "%s\n" X"$ac_file" |
   25087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25088 	    s//\1/
   25089 	    q
   25090 	  }
   25091 	  /^X\(\/\/\)[^/].*/{
   25092 	    s//\1/
   25093 	    q
   25094 	  }
   25095 	  /^X\(\/\/\)$/{
   25096 	    s//\1/
   25097 	    q
   25098 	  }
   25099 	  /^X\(\/\).*/{
   25100 	    s//\1/
   25101 	    q
   25102 	  }
   25103 	  s/.*/./; q'`
   25104   as_dir="$ac_dir"; as_fn_mkdir_p
   25105   ac_builddir=.
   25106 
   25107 case "$ac_dir" in
   25108 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25109 *)
   25110   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   25111   # A ".." for each directory in $ac_dir_suffix.
   25112   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25113   case $ac_top_builddir_sub in
   25114   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25115   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25116   esac ;;
   25117 esac
   25118 ac_abs_top_builddir=$ac_pwd
   25119 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25120 # for backward compatibility:
   25121 ac_top_builddir=$ac_top_build_prefix
   25122 
   25123 case $srcdir in
   25124   .)  # We are building in place.
   25125     ac_srcdir=.
   25126     ac_top_srcdir=$ac_top_builddir_sub
   25127     ac_abs_top_srcdir=$ac_pwd ;;
   25128   [\\/]* | ?:[\\/]* )  # Absolute name.
   25129     ac_srcdir=$srcdir$ac_dir_suffix;
   25130     ac_top_srcdir=$srcdir
   25131     ac_abs_top_srcdir=$srcdir ;;
   25132   *) # Relative name.
   25133     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25134     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25135     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25136 esac
   25137 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25138 
   25139 
   25140   case $ac_mode in
   25141   :F)
   25142   #
   25143   # CONFIG_FILE
   25144   #
   25145 
   25146   case $INSTALL in
   25147   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25148   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25149   esac
   25150   ac_MKDIR_P=$MKDIR_P
   25151   case $MKDIR_P in
   25152   [\\/$]* | ?:[\\/]* ) ;;
   25153   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25154   esac
   25155 _ACEOF
   25156 
   25157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25158 # If the template does not know about datarootdir, expand it.
   25159 # FIXME: This hack should be removed a few years after 2.60.
   25160 ac_datarootdir_hack=; ac_datarootdir_seen=
   25161 ac_sed_dataroot='
   25162 /datarootdir/ {
   25163   p
   25164   q
   25165 }
   25166 /@datadir@/p
   25167 /@docdir@/p
   25168 /@infodir@/p
   25169 /@localedir@/p
   25170 /@mandir@/p'
   25171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25172 *datarootdir*) ac_datarootdir_seen=yes;;
   25173 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25175 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25176 _ACEOF
   25177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25178   ac_datarootdir_hack='
   25179   s&@datadir@&$datadir&g
   25180   s&@docdir@&$docdir&g
   25181   s&@infodir@&$infodir&g
   25182   s&@localedir@&$localedir&g
   25183   s&@mandir@&$mandir&g
   25184   s&\\\${datarootdir}&$datarootdir&g' ;;
   25185 esac
   25186 _ACEOF
   25187 
   25188 # Neutralize VPATH when '$srcdir' = '.'.
   25189 # Shell code in configure.ac might set extrasub.
   25190 # FIXME: do we really want to maintain this feature?
   25191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25192 ac_sed_extra="$ac_vpsub
   25193 $extrasub
   25194 _ACEOF
   25195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25196 :t
   25197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25198 s|@configure_input@|$ac_sed_conf_input|;t t
   25199 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25200 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25201 s&@srcdir@&$ac_srcdir&;t t
   25202 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25203 s&@top_srcdir@&$ac_top_srcdir&;t t
   25204 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25205 s&@builddir@&$ac_builddir&;t t
   25206 s&@abs_builddir@&$ac_abs_builddir&;t t
   25207 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25208 s&@INSTALL@&$ac_INSTALL&;t t
   25209 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25210 $ac_datarootdir_hack
   25211 "
   25212 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   25213   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25214 
   25215 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25216   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   25217   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   25218       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   25219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25220 which seems to be undefined.  Please make sure it is defined" >&5
   25221 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25222 which seems to be undefined.  Please make sure it is defined" >&2;}
   25223 
   25224   rm -f "$ac_tmp/stdin"
   25225   case $ac_file in
   25226   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   25227   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   25228   esac \
   25229   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25230  ;;
   25231   :H)
   25232   #
   25233   # CONFIG_HEADER
   25234   #
   25235   if test x"$ac_file" != x-; then
   25236     {
   25237       printf "%s\n" "/* $configure_input  */" >&1 \
   25238       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   25239     } >"$ac_tmp/config.h" \
   25240       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25241     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   25242       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   25243 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   25244     else
   25245       rm -f "$ac_file"
   25246       mv "$ac_tmp/config.h" "$ac_file" \
   25247 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25248     fi
   25249   else
   25250     printf "%s\n" "/* $configure_input  */" >&1 \
   25251       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   25252       || as_fn_error $? "could not create -" "$LINENO" 5
   25253   fi
   25254 # Compute "$ac_file"'s index in $config_headers.
   25255 _am_arg="$ac_file"
   25256 _am_stamp_count=1
   25257 for _am_header in $config_headers :; do
   25258   case $_am_header in
   25259     $_am_arg | $_am_arg:* )
   25260       break ;;
   25261     * )
   25262       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25263   esac
   25264 done
   25265 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25266 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25267 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25268 	 X"$_am_arg" : 'X\(//\)$' \| \
   25269 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25270 printf "%s\n" X"$_am_arg" |
   25271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25272 	    s//\1/
   25273 	    q
   25274 	  }
   25275 	  /^X\(\/\/\)[^/].*/{
   25276 	    s//\1/
   25277 	    q
   25278 	  }
   25279 	  /^X\(\/\/\)$/{
   25280 	    s//\1/
   25281 	    q
   25282 	  }
   25283 	  /^X\(\/\).*/{
   25284 	    s//\1/
   25285 	    q
   25286 	  }
   25287 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25288  ;;
   25289 
   25290   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   25291 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   25292  ;;
   25293   esac
   25294 
   25295 
   25296   case $ac_file$ac_mode in
   25297     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   25298   # Older Autoconf quotes --file arguments for eval, but not when files
   25299   # are listed without --file.  Let's play safe and only enable the eval
   25300   # if we detect the quoting.
   25301   # TODO: see whether this extra hack can be removed once we start
   25302   # requiring Autoconf 2.70 or later.
   25303   case $CONFIG_FILES in #(
   25304   *\'*) :
   25305     eval set x "$CONFIG_FILES" ;; #(
   25306   *) :
   25307     set x $CONFIG_FILES ;; #(
   25308   *) :
   25309      ;;
   25310 esac
   25311   shift
   25312   # Used to flag and report bootstrapping failures.
   25313   am_rc=0
   25314   for am_mf
   25315   do
   25316     # Strip MF so we end up with the name of the file.
   25317     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   25318     # Check whether this is an Automake generated Makefile which includes
   25319     # dependency-tracking related rules and includes.
   25320     # Grep'ing the whole file directly is not great: AIX grep has a line
   25321     # limit of 2048, but all sed's we know have understand at least 4000.
   25322     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   25323       || continue
   25324     am_dirpart=`$as_dirname -- "$am_mf" ||
   25325 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25326 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   25327 	 X"$am_mf" : 'X\(//\)$' \| \
   25328 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25329 printf "%s\n" X"$am_mf" |
   25330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25331 	    s//\1/
   25332 	    q
   25333 	  }
   25334 	  /^X\(\/\/\)[^/].*/{
   25335 	    s//\1/
   25336 	    q
   25337 	  }
   25338 	  /^X\(\/\/\)$/{
   25339 	    s//\1/
   25340 	    q
   25341 	  }
   25342 	  /^X\(\/\).*/{
   25343 	    s//\1/
   25344 	    q
   25345 	  }
   25346 	  s/.*/./; q'`
   25347     am_filepart=`$as_basename -- "$am_mf" ||
   25348 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   25349 	 X"$am_mf" : 'X\(//\)$' \| \
   25350 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25351 printf "%s\n" X/"$am_mf" |
   25352     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25353 	    s//\1/
   25354 	    q
   25355 	  }
   25356 	  /^X\/\(\/\/\)$/{
   25357 	    s//\1/
   25358 	    q
   25359 	  }
   25360 	  /^X\/\(\/\).*/{
   25361 	    s//\1/
   25362 	    q
   25363 	  }
   25364 	  s/.*/./; q'`
   25365     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   25366       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25367         | $MAKE -f - am--depfiles" >&5
   25368    (cd "$am_dirpart" \
   25369       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25370         | $MAKE -f - am--depfiles) >&5 2>&5
   25371    ac_status=$?
   25372    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   25373    (exit $ac_status); } || am_rc=$?
   25374   done
   25375   if test $am_rc -ne 0; then
   25376     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25377 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25378 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   25379     for automatic dependency tracking.  If GNU make was not used, consider
   25380     re-running the configure script with MAKE=\"gmake\" (or whatever is
   25381     necessary).  You can also try re-running configure with the
   25382     '--disable-dependency-tracking' option to at least be able to build
   25383     the package (albeit without support for automatic dependency tracking).
   25384 See 'config.log' for more details" "$LINENO" 5; }
   25385   fi
   25386   { am_dirpart=; unset am_dirpart;}
   25387   { am_filepart=; unset am_filepart;}
   25388   { am_mf=; unset am_mf;}
   25389   { am_rc=; unset am_rc;}
   25390   rm -f conftest-deps.mk
   25391 }
   25392  ;;
   25393     "libtool":C)
   25394 
   25395     # See if we are running on zsh, and set the options that allow our
   25396     # commands through without removal of \ escapes.
   25397     if test -n "${ZSH_VERSION+set}"; then
   25398       setopt NO_GLOB_SUBST
   25399     fi
   25400 
   25401     cfgfile=${ofile}T
   25402     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   25403     $RM "$cfgfile"
   25404 
   25405     cat <<_LT_EOF >> "$cfgfile"
   25406 #! $SHELL
   25407 # Generated automatically by $as_me ($PACKAGE) $VERSION
   25408 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   25409 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   25410 
   25411 # Provide generalized library-building support services.
   25412 # Written by Gordon Matzigkeit, 1996
   25413 
   25414 # Copyright (C) 2014 Free Software Foundation, Inc.
   25415 # This is free software; see the source for copying conditions.  There is NO
   25416 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   25417 
   25418 # GNU Libtool is free software; you can redistribute it and/or modify
   25419 # it under the terms of the GNU General Public License as published by
   25420 # the Free Software Foundation; either version 2 of of the License, or
   25421 # (at your option) any later version.
   25422 #
   25423 # As a special exception to the GNU General Public License, if you
   25424 # distribute this file as part of a program or library that is built
   25425 # using GNU Libtool, you may include this file under the  same
   25426 # distribution terms that you use for the rest of that program.
   25427 #
   25428 # GNU Libtool is distributed in the hope that it will be useful, but
   25429 # WITHOUT ANY WARRANTY; without even the implied warranty of
   25430 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   25431 # GNU General Public License for more details.
   25432 #
   25433 # You should have received a copy of the GNU General Public License
   25434 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   25435 
   25436 
   25437 # The names of the tagged configurations supported by this script.
   25438 available_tags=''
   25439 
   25440 # Configured defaults for sys_lib_dlsearch_path munging.
   25441 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   25442 
   25443 # ### BEGIN LIBTOOL CONFIG
   25444 
   25445 # Which release of libtool.m4 was used?
   25446 macro_version=$macro_version
   25447 macro_revision=$macro_revision
   25448 
   25449 # Whether or not to build shared libraries.
   25450 build_libtool_libs=$enable_shared
   25451 
   25452 # Whether or not to build static libraries.
   25453 build_old_libs=$enable_static
   25454 
   25455 # What type of objects to build.
   25456 pic_mode=$pic_mode
   25457 
   25458 # Whether or not to optimize for fast installation.
   25459 fast_install=$enable_fast_install
   25460 
   25461 # Shared archive member basename,for filename based shared library versioning on AIX.
   25462 shared_archive_member_spec=$shared_archive_member_spec
   25463 
   25464 # Shell to use when invoking shell scripts.
   25465 SHELL=$lt_SHELL
   25466 
   25467 # An echo program that protects backslashes.
   25468 ECHO=$lt_ECHO
   25469 
   25470 # The PATH separator for the build system.
   25471 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   25472 
   25473 # The host system.
   25474 host_alias=$host_alias
   25475 host=$host
   25476 host_os=$host_os
   25477 
   25478 # The build system.
   25479 build_alias=$build_alias
   25480 build=$build
   25481 build_os=$build_os
   25482 
   25483 # A sed program that does not truncate output.
   25484 SED=$lt_SED
   25485 
   25486 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   25487 Xsed="\$SED -e 1s/^X//"
   25488 
   25489 # A grep program that handles long lines.
   25490 GREP=$lt_GREP
   25491 
   25492 # An ERE matcher.
   25493 EGREP=$lt_EGREP
   25494 
   25495 # A literal string matcher.
   25496 FGREP=$lt_FGREP
   25497 
   25498 # A BSD- or MS-compatible name lister.
   25499 NM=$lt_NM
   25500 
   25501 # Whether we need soft or hard links.
   25502 LN_S=$lt_LN_S
   25503 
   25504 # What is the maximum length of a command?
   25505 max_cmd_len=$max_cmd_len
   25506 
   25507 # Object file suffix (normally "o").
   25508 objext=$ac_objext
   25509 
   25510 # Executable file suffix (normally "").
   25511 exeext=$exeext
   25512 
   25513 # whether the shell understands "unset".
   25514 lt_unset=$lt_unset
   25515 
   25516 # turn spaces into newlines.
   25517 SP2NL=$lt_lt_SP2NL
   25518 
   25519 # turn newlines into spaces.
   25520 NL2SP=$lt_lt_NL2SP
   25521 
   25522 # convert \$build file names to \$host format.
   25523 to_host_file_cmd=$lt_cv_to_host_file_cmd
   25524 
   25525 # convert \$build files to toolchain format.
   25526 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   25527 
   25528 # A file(cmd) program that detects file types.
   25529 FILECMD=$lt_FILECMD
   25530 
   25531 # An object symbol dumper.
   25532 OBJDUMP=$lt_OBJDUMP
   25533 
   25534 # Method to check whether dependent libraries are shared objects.
   25535 deplibs_check_method=$lt_deplibs_check_method
   25536 
   25537 # Command to use when deplibs_check_method = "file_magic".
   25538 file_magic_cmd=$lt_file_magic_cmd
   25539 
   25540 # How to find potential files when deplibs_check_method = "file_magic".
   25541 file_magic_glob=$lt_file_magic_glob
   25542 
   25543 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   25544 want_nocaseglob=$lt_want_nocaseglob
   25545 
   25546 # DLL creation program.
   25547 DLLTOOL=$lt_DLLTOOL
   25548 
   25549 # Command to associate shared and link libraries.
   25550 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   25551 
   25552 # The archiver.
   25553 AR=$lt_AR
   25554 
   25555 # Flags to create an archive (by configure).
   25556 lt_ar_flags=$lt_ar_flags
   25557 
   25558 # Flags to create an archive.
   25559 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   25560 
   25561 # How to feed a file listing to the archiver.
   25562 archiver_list_spec=$lt_archiver_list_spec
   25563 
   25564 # A symbol stripping program.
   25565 STRIP=$lt_STRIP
   25566 
   25567 # Commands used to install an old-style archive.
   25568 RANLIB=$lt_RANLIB
   25569 old_postinstall_cmds=$lt_old_postinstall_cmds
   25570 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   25571 
   25572 # Whether to use a lock for old archive extraction.
   25573 lock_old_archive_extraction=$lock_old_archive_extraction
   25574 
   25575 # A C compiler.
   25576 LTCC=$lt_CC
   25577 
   25578 # LTCC compiler flags.
   25579 LTCFLAGS=$lt_CFLAGS
   25580 
   25581 # Take the output of nm and produce a listing of raw symbols and C names.
   25582 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   25583 
   25584 # Transform the output of nm in a proper C declaration.
   25585 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   25586 
   25587 # Transform the output of nm into a list of symbols to manually relocate.
   25588 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   25589 
   25590 # Transform the output of nm in a C name address pair.
   25591 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   25592 
   25593 # Transform the output of nm in a C name address pair when lib prefix is needed.
   25594 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   25595 
   25596 # The name lister interface.
   25597 nm_interface=$lt_lt_cv_nm_interface
   25598 
   25599 # Specify filename containing input files for \$NM.
   25600 nm_file_list_spec=$lt_nm_file_list_spec
   25601 
   25602 # The root where to search for dependent libraries,and where our libraries should be installed.
   25603 lt_sysroot=$lt_sysroot
   25604 
   25605 # Command to truncate a binary pipe.
   25606 lt_truncate_bin=$lt_lt_cv_truncate_bin
   25607 
   25608 # The name of the directory that contains temporary libtool files.
   25609 objdir=$objdir
   25610 
   25611 # Used to examine libraries when file_magic_cmd begins with "file".
   25612 MAGIC_CMD=$MAGIC_CMD
   25613 
   25614 # Must we lock files when doing compilation?
   25615 need_locks=$lt_need_locks
   25616 
   25617 # Manifest tool.
   25618 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   25619 
   25620 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   25621 DSYMUTIL=$lt_DSYMUTIL
   25622 
   25623 # Tool to change global to local symbols on Mac OS X.
   25624 NMEDIT=$lt_NMEDIT
   25625 
   25626 # Tool to manipulate fat objects and archives on Mac OS X.
   25627 LIPO=$lt_LIPO
   25628 
   25629 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   25630 OTOOL=$lt_OTOOL
   25631 
   25632 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   25633 OTOOL64=$lt_OTOOL64
   25634 
   25635 # Old archive suffix (normally "a").
   25636 libext=$libext
   25637 
   25638 # Shared library suffix (normally ".so").
   25639 shrext_cmds=$lt_shrext_cmds
   25640 
   25641 # The commands to extract the exported symbol list from a shared archive.
   25642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   25643 
   25644 # Variables whose values should be saved in libtool wrapper scripts and
   25645 # restored at link time.
   25646 variables_saved_for_relink=$lt_variables_saved_for_relink
   25647 
   25648 # Do we need the "lib" prefix for modules?
   25649 need_lib_prefix=$need_lib_prefix
   25650 
   25651 # Do we need a version for libraries?
   25652 need_version=$need_version
   25653 
   25654 # Library versioning type.
   25655 version_type=$version_type
   25656 
   25657 # Shared library runtime path variable.
   25658 runpath_var=$runpath_var
   25659 
   25660 # Shared library path variable.
   25661 shlibpath_var=$shlibpath_var
   25662 
   25663 # Is shlibpath searched before the hard-coded library search path?
   25664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   25665 
   25666 # Format of library name prefix.
   25667 libname_spec=$lt_libname_spec
   25668 
   25669 # List of archive names.  First name is the real one, the rest are links.
   25670 # The last name is the one that the linker finds with -lNAME
   25671 library_names_spec=$lt_library_names_spec
   25672 
   25673 # The coded name of the library, if different from the real name.
   25674 soname_spec=$lt_soname_spec
   25675 
   25676 # Permission mode override for installation of shared libraries.
   25677 install_override_mode=$lt_install_override_mode
   25678 
   25679 # Command to use after installation of a shared archive.
   25680 postinstall_cmds=$lt_postinstall_cmds
   25681 
   25682 # Command to use after uninstallation of a shared archive.
   25683 postuninstall_cmds=$lt_postuninstall_cmds
   25684 
   25685 # Commands used to finish a libtool library installation in a directory.
   25686 finish_cmds=$lt_finish_cmds
   25687 
   25688 # As "finish_cmds", except a single script fragment to be evaled but
   25689 # not shown.
   25690 finish_eval=$lt_finish_eval
   25691 
   25692 # Whether we should hardcode library paths into libraries.
   25693 hardcode_into_libs=$hardcode_into_libs
   25694 
   25695 # Compile-time system search path for libraries.
   25696 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   25697 
   25698 # Detected run-time system search path for libraries.
   25699 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   25700 
   25701 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   25702 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   25703 
   25704 # Whether dlopen is supported.
   25705 dlopen_support=$enable_dlopen
   25706 
   25707 # Whether dlopen of programs is supported.
   25708 dlopen_self=$enable_dlopen_self
   25709 
   25710 # Whether dlopen of statically linked programs is supported.
   25711 dlopen_self_static=$enable_dlopen_self_static
   25712 
   25713 # Commands to strip libraries.
   25714 old_striplib=$lt_old_striplib
   25715 striplib=$lt_striplib
   25716 
   25717 
   25718 # The linker used to build libraries.
   25719 LD=$lt_LD
   25720 
   25721 # How to create reloadable object files.
   25722 reload_flag=$lt_reload_flag
   25723 reload_cmds=$lt_reload_cmds
   25724 
   25725 # Commands used to build an old-style archive.
   25726 old_archive_cmds=$lt_old_archive_cmds
   25727 
   25728 # A language specific compiler.
   25729 CC=$lt_compiler
   25730 
   25731 # Is the compiler the GNU compiler?
   25732 with_gcc=$GCC
   25733 
   25734 # Compiler flag to turn off builtin functions.
   25735 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   25736 
   25737 # Additional compiler flags for building library objects.
   25738 pic_flag=$lt_lt_prog_compiler_pic
   25739 
   25740 # How to pass a linker flag through the compiler.
   25741 wl=$lt_lt_prog_compiler_wl
   25742 
   25743 # Compiler flag to prevent dynamic linking.
   25744 link_static_flag=$lt_lt_prog_compiler_static
   25745 
   25746 # Does compiler simultaneously support -c and -o options?
   25747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   25748 
   25749 # Whether or not to add -lc for building shared libraries.
   25750 build_libtool_need_lc=$archive_cmds_need_lc
   25751 
   25752 # Whether or not to disallow shared libs when runtime libs are static.
   25753 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   25754 
   25755 # Compiler flag to allow reflexive dlopens.
   25756 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   25757 
   25758 # Compiler flag to generate shared objects directly from archives.
   25759 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   25760 
   25761 # Whether the compiler copes with passing no objects directly.
   25762 compiler_needs_object=$lt_compiler_needs_object
   25763 
   25764 # Create an old-style archive from a shared archive.
   25765 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   25766 
   25767 # Create a temporary old-style archive to link instead of a shared archive.
   25768 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   25769 
   25770 # Commands used to build a shared archive.
   25771 archive_cmds=$lt_archive_cmds
   25772 archive_expsym_cmds=$lt_archive_expsym_cmds
   25773 
   25774 # Commands used to build a loadable module if different from building
   25775 # a shared archive.
   25776 module_cmds=$lt_module_cmds
   25777 module_expsym_cmds=$lt_module_expsym_cmds
   25778 
   25779 # Whether we are building with GNU ld or not.
   25780 with_gnu_ld=$lt_with_gnu_ld
   25781 
   25782 # Flag that allows shared libraries with undefined symbols to be built.
   25783 allow_undefined_flag=$lt_allow_undefined_flag
   25784 
   25785 # Flag that enforces no undefined symbols.
   25786 no_undefined_flag=$lt_no_undefined_flag
   25787 
   25788 # Flag to hardcode \$libdir into a binary during linking.
   25789 # This must work even if \$libdir does not exist
   25790 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   25791 
   25792 # Whether we need a single "-rpath" flag with a separated argument.
   25793 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   25794 
   25795 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25796 # DIR into the resulting binary.
   25797 hardcode_direct=$hardcode_direct
   25798 
   25799 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25800 # DIR into the resulting binary and the resulting library dependency is
   25801 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   25802 # library is relocated.
   25803 hardcode_direct_absolute=$hardcode_direct_absolute
   25804 
   25805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   25806 # into the resulting binary.
   25807 hardcode_minus_L=$hardcode_minus_L
   25808 
   25809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   25810 # into the resulting binary.
   25811 hardcode_shlibpath_var=$hardcode_shlibpath_var
   25812 
   25813 # Set to "yes" if building a shared library automatically hardcodes DIR
   25814 # into the library and all subsequent libraries and executables linked
   25815 # against it.
   25816 hardcode_automatic=$hardcode_automatic
   25817 
   25818 # Set to yes if linker adds runtime paths of dependent libraries
   25819 # to runtime path list.
   25820 inherit_rpath=$inherit_rpath
   25821 
   25822 # Whether libtool must link a program against all its dependency libraries.
   25823 link_all_deplibs=$link_all_deplibs
   25824 
   25825 # Set to "yes" if exported symbols are required.
   25826 always_export_symbols=$always_export_symbols
   25827 
   25828 # The commands to list exported symbols.
   25829 export_symbols_cmds=$lt_export_symbols_cmds
   25830 
   25831 # Symbols that should not be listed in the preloaded symbols.
   25832 exclude_expsyms=$lt_exclude_expsyms
   25833 
   25834 # Symbols that must always be exported.
   25835 include_expsyms=$lt_include_expsyms
   25836 
   25837 # Commands necessary for linking programs (against libraries) with templates.
   25838 prelink_cmds=$lt_prelink_cmds
   25839 
   25840 # Commands necessary for finishing linking programs.
   25841 postlink_cmds=$lt_postlink_cmds
   25842 
   25843 # Specify filename containing input files.
   25844 file_list_spec=$lt_file_list_spec
   25845 
   25846 # How to hardcode a shared library path into an executable.
   25847 hardcode_action=$hardcode_action
   25848 
   25849 # ### END LIBTOOL CONFIG
   25850 
   25851 _LT_EOF
   25852 
   25853     cat <<'_LT_EOF' >> "$cfgfile"
   25854 
   25855 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   25856 
   25857 # func_munge_path_list VARIABLE PATH
   25858 # -----------------------------------
   25859 # VARIABLE is name of variable containing _space_ separated list of
   25860 # directories to be munged by the contents of PATH, which is string
   25861 # having a format:
   25862 # "DIR[:DIR]:"
   25863 #       string "DIR[ DIR]" will be prepended to VARIABLE
   25864 # ":DIR[:DIR]"
   25865 #       string "DIR[ DIR]" will be appended to VARIABLE
   25866 # "DIRP[:DIRP]::[DIRA:]DIRA"
   25867 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   25868 #       "DIRA[ DIRA]" will be appended to VARIABLE
   25869 # "DIR[:DIR]"
   25870 #       VARIABLE will be replaced by "DIR[ DIR]"
   25871 func_munge_path_list ()
   25872 {
   25873     case x$2 in
   25874     x)
   25875         ;;
   25876     *:)
   25877         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   25878         ;;
   25879     x:*)
   25880         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   25881         ;;
   25882     *::*)
   25883         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   25884         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   25885         ;;
   25886     *)
   25887         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   25888         ;;
   25889     esac
   25890 }
   25891 
   25892 
   25893 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   25894 func_cc_basename ()
   25895 {
   25896     for cc_temp in $*""; do
   25897       case $cc_temp in
   25898         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   25899         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   25900         \-*) ;;
   25901         *) break;;
   25902       esac
   25903     done
   25904     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   25905 }
   25906 
   25907 
   25908 # ### END FUNCTIONS SHARED WITH CONFIGURE
   25909 
   25910 _LT_EOF
   25911 
   25912   case $host_os in
   25913   aix3*)
   25914     cat <<\_LT_EOF >> "$cfgfile"
   25915 # AIX sometimes has problems with the GCC collect2 program.  For some
   25916 # reason, if we set the COLLECT_NAMES environment variable, the problems
   25917 # vanish in a puff of smoke.
   25918 if test set != "${COLLECT_NAMES+set}"; then
   25919   COLLECT_NAMES=
   25920   export COLLECT_NAMES
   25921 fi
   25922 _LT_EOF
   25923     ;;
   25924   esac
   25925 
   25926 
   25927 
   25928 ltmain=$ac_aux_dir/ltmain.sh
   25929 
   25930 
   25931   # We use sed instead of cat because bash on DJGPP gets confused if
   25932   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   25933   # text mode, it properly converts lines to CR/LF.  This bash problem
   25934   # is reportedly fixed, but why not run on old versions too?
   25935   $SED '$q' "$ltmain" >> "$cfgfile" \
   25936      || (rm -f "$cfgfile"; exit 1)
   25937 
   25938    mv -f "$cfgfile" "$ofile" ||
   25939     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   25940   chmod +x "$ofile"
   25941 
   25942  ;;
   25943 
   25944   esac
   25945 done # for ac_tag
   25946 
   25947 
   25948 as_fn_exit 0
   25949 _ACEOF
   25950 ac_clean_files=$ac_clean_files_save
   25951 
   25952 test $ac_write_fail = 0 ||
   25953   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   25954 
   25955 
   25956 # configure is writing to config.log, and then calls config.status.
   25957 # config.status does its own redirection, appending to config.log.
   25958 # Unfortunately, on DOS this fails, as config.log is still kept open
   25959 # by configure, so config.status won't be able to write to it; its
   25960 # output is simply discarded.  So we exec the FD to /dev/null,
   25961 # effectively closing config.log, so it can be properly (re)opened and
   25962 # appended to by config.status.  When coming back to configure, we
   25963 # need to make the FD available again.
   25964 if test "$no_create" != yes; then
   25965   ac_cs_success=:
   25966   ac_config_status_args=
   25967   test "$silent" = yes &&
   25968     ac_config_status_args="$ac_config_status_args --quiet"
   25969   exec 5>/dev/null
   25970   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   25971   exec 5>>config.log
   25972   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   25973   # would make configure fail if this is the last instruction.
   25974   $ac_cs_success || as_fn_exit 1
   25975 fi
   25976 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   25977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   25978 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   25979 fi
   25980 
   25981 
   25982 echo ""
   25983 echo "$PACKAGE_STRING will be built with the following settings:"
   25984 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   25985 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   25986 echo " Threading support:                       "$xthreads
   25987 echo " Use Threads safe API:                    "$mtsafeapi
   25988 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   25989 echo " XCMS:                                    "$XCMS
   25990 echo " Internationalization support:            "$XLOCALE
   25991 echo " XF86BigFont support:                     "$XF86BIGFONT
   25992 echo " XKB support:                             "$XKB
   25993 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   25994 echo " Compose table cache enabled:             "$COMPOSECACHE
   25995 echo " Functional specs building enabled:       "$build_specs
   25996 echo ""
   25997 
   25998