Home | History | Annotate | Line # | Download | only in dist
configure revision 1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libX11 1.8.10.
      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.10'
    679 PACKAGE_STRING='libX11 1.8.10'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues'
    681 PACKAGE_URL=''
    682 
    683 ac_unique_file="Makefile.am"
    684 # Factoring default headers for most tests.
    685 ac_includes_default="\
    686 #include <stddef.h>
    687 #ifdef HAVE_STDIO_H
    688 # include <stdio.h>
    689 #endif
    690 #ifdef HAVE_STDLIB_H
    691 # include <stdlib.h>
    692 #endif
    693 #ifdef HAVE_STRING_H
    694 # include <string.h>
    695 #endif
    696 #ifdef HAVE_INTTYPES_H
    697 # include <inttypes.h>
    698 #endif
    699 #ifdef HAVE_STDINT_H
    700 # include <stdint.h>
    701 #endif
    702 #ifdef HAVE_STRINGS_H
    703 # include <strings.h>
    704 #endif
    705 #ifdef HAVE_SYS_TYPES_H
    706 # include <sys/types.h>
    707 #endif
    708 #ifdef HAVE_SYS_STAT_H
    709 # include <sys/stat.h>
    710 #endif
    711 #ifdef HAVE_UNISTD_H
    712 # include <unistd.h>
    713 #endif"
    714 
    715 ac_header_c_list=
    716 ac_func_c_list=
    717 enable_year2038=no
    718 ac_subst_vars='am__EXEEXT_FALSE
    719 am__EXEEXT_TRUE
    720 LTLIBOBJS
    721 XTMALLOC_ZERO_CFLAGS
    722 XMALLOC_ZERO_CFLAGS
    723 MALLOC_ZERO_CFLAGS
    724 XERRORDB
    725 XKEYSYMDB
    726 locales
    727 X11_LOCALEDIR
    728 XLOCALEDIR
    729 X11_LOCALELIBDIR
    730 XLOCALELIBDIR
    731 X11_LOCALEDATADIR
    732 XLOCALEDATADIR
    733 X11_LIBS
    734 X11_CFLAGS
    735 X11_LIBDIR
    736 X11_DATADIR
    737 MAKE_LINT_LIB_FALSE
    738 MAKE_LINT_LIB_TRUE
    739 LINTLIB
    740 LINT_FALSE
    741 LINT_TRUE
    742 LINT_FLAGS
    743 LINT
    744 XKBPROTO_REQUIRES
    745 XKB_FALSE
    746 XKB_TRUE
    747 BIGFONT_LIBS
    748 BIGFONT_CFLAGS
    749 XLOCALE_FALSE
    750 XLOCALE_TRUE
    751 XCMS_FALSE
    752 XCMS_TRUE
    753 KEYSYMDEFS
    754 USE_THREAD_LIBS
    755 XTHREAD_CFLAGS
    756 XTHREADLIB
    757 LAUNCHD
    758 OS2_FALSE
    759 OS2_TRUE
    760 WCHAR32
    761 LIBOBJS
    762 XLIB_LOADABLE_I18N_FALSE
    763 XLIB_LOADABLE_I18N_TRUE
    764 I18N_MODULE_LIBS
    765 X11_EXTRA_DEPS
    766 EXEEXT_FOR_BUILD
    767 LDFLAGS_FOR_BUILD
    768 CFLAGS_FOR_BUILD
    769 CPPFLAGS_FOR_BUILD
    770 CC_FOR_BUILD
    771 HAVE_PERL_FALSE
    772 HAVE_PERL_TRUE
    773 PERL
    774 TRADITIONALCPPFLAGS
    775 RAWCPPFLAGS
    776 RAWCPP
    777 CPP
    778 HAVE_STYLESHEETS_FALSE
    779 HAVE_STYLESHEETS_TRUE
    780 XSL_STYLESHEET
    781 STYLESHEET_SRCDIR
    782 XORG_SGML_PATH
    783 HAVE_XSLTPROC_FALSE
    784 HAVE_XSLTPROC_TRUE
    785 XSLTPROC
    786 HAVE_FOP_FALSE
    787 HAVE_FOP_TRUE
    788 FOP
    789 HAVE_XMLTO_FALSE
    790 HAVE_XMLTO_TRUE
    791 HAVE_XMLTO_TEXT_FALSE
    792 HAVE_XMLTO_TEXT_TRUE
    793 XMLTO
    794 ENABLE_SPECS_FALSE
    795 ENABLE_SPECS_TRUE
    796 MAN_SUBSTS
    797 XORG_MAN_PAGE
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 INSTALL_CMD
    811 PKG_CONFIG_LIBDIR
    812 PKG_CONFIG_PATH
    813 PKG_CONFIG
    814 CHANGELOG_CMD
    815 STRICT_CFLAGS
    816 CWARNFLAGS
    817 BASE_CFLAGS
    818 LT_SYS_LIBRARY_PATH
    819 OTOOL64
    820 OTOOL
    821 LIPO
    822 NMEDIT
    823 DSYMUTIL
    824 MANIFEST_TOOL
    825 RANLIB
    826 ac_ct_AR
    827 AR
    828 DLLTOOL
    829 OBJDUMP
    830 FILECMD
    831 LN_S
    832 NM
    833 ac_ct_DUMPBIN
    834 DUMPBIN
    835 LD
    836 FGREP
    837 EGREP
    838 GREP
    839 SED
    840 LIBTOOL
    841 am__xargs_n
    842 am__rm_f_notfound
    843 AM_BACKSLASH
    844 AM_DEFAULT_VERBOSITY
    845 AM_DEFAULT_V
    846 AM_V
    847 CSCOPE
    848 ETAGS
    849 CTAGS
    850 am__fastdepCC_FALSE
    851 am__fastdepCC_TRUE
    852 CCDEPMODE
    853 am__nodep
    854 AMDEPBACKSLASH
    855 AMDEP_FALSE
    856 AMDEP_TRUE
    857 am__include
    858 DEPDIR
    859 am__untar
    860 am__tar
    861 AMTAR
    862 am__leading_dot
    863 SET_MAKE
    864 AWK
    865 mkdir_p
    866 MKDIR_P
    867 INSTALL_STRIP_PROGRAM
    868 STRIP
    869 install_sh
    870 MAKEINFO
    871 AUTOHEADER
    872 AUTOMAKE
    873 AUTOCONF
    874 ACLOCAL
    875 VERSION
    876 PACKAGE
    877 CYGPATH_W
    878 am__isrc
    879 INSTALL_DATA
    880 INSTALL_SCRIPT
    881 INSTALL_PROGRAM
    882 OBJEXT
    883 EXEEXT
    884 ac_ct_CC
    885 CPPFLAGS
    886 LDFLAGS
    887 CFLAGS
    888 CC
    889 host_os
    890 host_vendor
    891 host_cpu
    892 host
    893 build_os
    894 build_vendor
    895 build_cpu
    896 build
    897 target_alias
    898 host_alias
    899 build_alias
    900 LIBS
    901 ECHO_T
    902 ECHO_N
    903 ECHO_C
    904 DEFS
    905 mandir
    906 localedir
    907 libdir
    908 psdir
    909 pdfdir
    910 dvidir
    911 htmldir
    912 infodir
    913 docdir
    914 oldincludedir
    915 includedir
    916 runstatedir
    917 localstatedir
    918 sharedstatedir
    919 sysconfdir
    920 datadir
    921 datarootdir
    922 libexecdir
    923 sbindir
    924 bindir
    925 program_transform_name
    926 prefix
    927 exec_prefix
    928 PACKAGE_URL
    929 PACKAGE_BUGREPORT
    930 PACKAGE_STRING
    931 PACKAGE_VERSION
    932 PACKAGE_TARNAME
    933 PACKAGE_NAME
    934 PATH_SEPARATOR
    935 SHELL
    936 am__quote'
    937 ac_subst_files=''
    938 ac_user_opts='
    939 enable_option_checking
    940 enable_dependency_tracking
    941 enable_silent_rules
    942 enable_shared
    943 enable_static
    944 with_pic
    945 enable_fast_install
    946 with_aix_soname
    947 with_gnu_ld
    948 with_sysroot
    949 enable_libtool_lock
    950 enable_largefile
    951 enable_selective_werror
    952 enable_strict_compilation
    953 enable_specs
    954 with_xmlto
    955 with_fop
    956 with_xsltproc
    957 with_perl
    958 enable_unix_transport
    959 enable_tcp_transport
    960 enable_ipv6
    961 enable_local_transport
    962 enable_loadable_i18n
    963 enable_loadable_xcursor
    964 enable_thread_safety_constructor
    965 with_launchd
    966 enable_xthreads
    967 with_keysymdefdir
    968 enable_xcms
    969 enable_xlocale
    970 enable_xlocaledir
    971 enable_xf86bigfont
    972 enable_xkb
    973 enable_composecache
    974 with_lint
    975 enable_lint_library
    976 with_locale_lib_dir
    977 enable_malloc0returnsnull
    978 enable_year2038
    979 '
    980       ac_precious_vars='build_alias
    981 host_alias
    982 target_alias
    983 CC
    984 CFLAGS
    985 LDFLAGS
    986 LIBS
    987 CPPFLAGS
    988 LT_SYS_LIBRARY_PATH
    989 PKG_CONFIG
    990 PKG_CONFIG_PATH
    991 PKG_CONFIG_LIBDIR
    992 XMLTO
    993 FOP
    994 XSLTPROC
    995 CPP
    996 PERL
    997 BIGFONT_CFLAGS
    998 BIGFONT_LIBS
    999 LINT
   1000 LINT_FLAGS
   1001 X11_CFLAGS
   1002 X11_LIBS'
   1003 
   1004 
   1005 # Initialize some variables set by options.
   1006 ac_init_help=
   1007 ac_init_version=false
   1008 ac_unrecognized_opts=
   1009 ac_unrecognized_sep=
   1010 # The variables have the same names as the options, with
   1011 # dashes changed to underlines.
   1012 cache_file=/dev/null
   1013 exec_prefix=NONE
   1014 no_create=
   1015 no_recursion=
   1016 prefix=NONE
   1017 program_prefix=NONE
   1018 program_suffix=NONE
   1019 program_transform_name=s,x,x,
   1020 silent=
   1021 site=
   1022 srcdir=
   1023 verbose=
   1024 x_includes=NONE
   1025 x_libraries=NONE
   1026 
   1027 # Installation directory options.
   1028 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1029 # and all the variables that are supposed to be based on exec_prefix
   1030 # by default will actually change.
   1031 # Use braces instead of parens because sh, perl, etc. also accept them.
   1032 # (The list follows the same order as the GNU Coding Standards.)
   1033 bindir='${exec_prefix}/bin'
   1034 sbindir='${exec_prefix}/sbin'
   1035 libexecdir='${exec_prefix}/libexec'
   1036 datarootdir='${prefix}/share'
   1037 datadir='${datarootdir}'
   1038 sysconfdir='${prefix}/etc'
   1039 sharedstatedir='${prefix}/com'
   1040 localstatedir='${prefix}/var'
   1041 runstatedir='${localstatedir}/run'
   1042 includedir='${prefix}/include'
   1043 oldincludedir='/usr/include'
   1044 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1045 infodir='${datarootdir}/info'
   1046 htmldir='${docdir}'
   1047 dvidir='${docdir}'
   1048 pdfdir='${docdir}'
   1049 psdir='${docdir}'
   1050 libdir='${exec_prefix}/lib'
   1051 localedir='${datarootdir}/locale'
   1052 mandir='${datarootdir}/man'
   1053 
   1054 ac_prev=
   1055 ac_dashdash=
   1056 for ac_option
   1057 do
   1058   # If the previous option needs an argument, assign it.
   1059   if test -n "$ac_prev"; then
   1060     eval $ac_prev=\$ac_option
   1061     ac_prev=
   1062     continue
   1063   fi
   1064 
   1065   case $ac_option in
   1066   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1067   *=)   ac_optarg= ;;
   1068   *)    ac_optarg=yes ;;
   1069   esac
   1070 
   1071   case $ac_dashdash$ac_option in
   1072   --)
   1073     ac_dashdash=yes ;;
   1074 
   1075   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1076     ac_prev=bindir ;;
   1077   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1078     bindir=$ac_optarg ;;
   1079 
   1080   -build | --build | --buil | --bui | --bu)
   1081     ac_prev=build_alias ;;
   1082   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1083     build_alias=$ac_optarg ;;
   1084 
   1085   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1086   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1087     ac_prev=cache_file ;;
   1088   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1089   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1090     cache_file=$ac_optarg ;;
   1091 
   1092   --config-cache | -C)
   1093     cache_file=config.cache ;;
   1094 
   1095   -datadir | --datadir | --datadi | --datad)
   1096     ac_prev=datadir ;;
   1097   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1098     datadir=$ac_optarg ;;
   1099 
   1100   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1101   | --dataroo | --dataro | --datar)
   1102     ac_prev=datarootdir ;;
   1103   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1104   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1105     datarootdir=$ac_optarg ;;
   1106 
   1107   -disable-* | --disable-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "enable_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval enable_$ac_useropt=no ;;
   1122 
   1123   -docdir | --docdir | --docdi | --doc | --do)
   1124     ac_prev=docdir ;;
   1125   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1126     docdir=$ac_optarg ;;
   1127 
   1128   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1129     ac_prev=dvidir ;;
   1130   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1131     dvidir=$ac_optarg ;;
   1132 
   1133   -enable-* | --enable-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "enable_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval enable_$ac_useropt=\$ac_optarg ;;
   1148 
   1149   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1150   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1151   | --exec | --exe | --ex)
   1152     ac_prev=exec_prefix ;;
   1153   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1154   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1155   | --exec=* | --exe=* | --ex=*)
   1156     exec_prefix=$ac_optarg ;;
   1157 
   1158   -gas | --gas | --ga | --g)
   1159     # Obsolete; use --with-gas.
   1160     with_gas=yes ;;
   1161 
   1162   -help | --help | --hel | --he | -h)
   1163     ac_init_help=long ;;
   1164   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1165     ac_init_help=recursive ;;
   1166   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1167     ac_init_help=short ;;
   1168 
   1169   -host | --host | --hos | --ho)
   1170     ac_prev=host_alias ;;
   1171   -host=* | --host=* | --hos=* | --ho=*)
   1172     host_alias=$ac_optarg ;;
   1173 
   1174   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1175     ac_prev=htmldir ;;
   1176   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1177   | --ht=*)
   1178     htmldir=$ac_optarg ;;
   1179 
   1180   -includedir | --includedir | --includedi | --included | --include \
   1181   | --includ | --inclu | --incl | --inc)
   1182     ac_prev=includedir ;;
   1183   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1184   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1185     includedir=$ac_optarg ;;
   1186 
   1187   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1188     ac_prev=infodir ;;
   1189   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1190     infodir=$ac_optarg ;;
   1191 
   1192   -libdir | --libdir | --libdi | --libd)
   1193     ac_prev=libdir ;;
   1194   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1195     libdir=$ac_optarg ;;
   1196 
   1197   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1198   | --libexe | --libex | --libe)
   1199     ac_prev=libexecdir ;;
   1200   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1201   | --libexe=* | --libex=* | --libe=*)
   1202     libexecdir=$ac_optarg ;;
   1203 
   1204   -localedir | --localedir | --localedi | --localed | --locale)
   1205     ac_prev=localedir ;;
   1206   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1207     localedir=$ac_optarg ;;
   1208 
   1209   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1210   | --localstate | --localstat | --localsta | --localst | --locals)
   1211     ac_prev=localstatedir ;;
   1212   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1213   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1214     localstatedir=$ac_optarg ;;
   1215 
   1216   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1217     ac_prev=mandir ;;
   1218   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1219     mandir=$ac_optarg ;;
   1220 
   1221   -nfp | --nfp | --nf)
   1222     # Obsolete; use --without-fp.
   1223     with_fp=no ;;
   1224 
   1225   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1226   | --no-cr | --no-c | -n)
   1227     no_create=yes ;;
   1228 
   1229   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1230   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1231     no_recursion=yes ;;
   1232 
   1233   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1234   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1235   | --oldin | --oldi | --old | --ol | --o)
   1236     ac_prev=oldincludedir ;;
   1237   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1238   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1239   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1240     oldincludedir=$ac_optarg ;;
   1241 
   1242   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1243     ac_prev=prefix ;;
   1244   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1245     prefix=$ac_optarg ;;
   1246 
   1247   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1248   | --program-pre | --program-pr | --program-p)
   1249     ac_prev=program_prefix ;;
   1250   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1251   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1252     program_prefix=$ac_optarg ;;
   1253 
   1254   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1255   | --program-suf | --program-su | --program-s)
   1256     ac_prev=program_suffix ;;
   1257   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1258   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1259     program_suffix=$ac_optarg ;;
   1260 
   1261   -program-transform-name | --program-transform-name \
   1262   | --program-transform-nam | --program-transform-na \
   1263   | --program-transform-n | --program-transform- \
   1264   | --program-transform | --program-transfor \
   1265   | --program-transfo | --program-transf \
   1266   | --program-trans | --program-tran \
   1267   | --progr-tra | --program-tr | --program-t)
   1268     ac_prev=program_transform_name ;;
   1269   -program-transform-name=* | --program-transform-name=* \
   1270   | --program-transform-nam=* | --program-transform-na=* \
   1271   | --program-transform-n=* | --program-transform-=* \
   1272   | --program-transform=* | --program-transfor=* \
   1273   | --program-transfo=* | --program-transf=* \
   1274   | --program-trans=* | --program-tran=* \
   1275   | --progr-tra=* | --program-tr=* | --program-t=*)
   1276     program_transform_name=$ac_optarg ;;
   1277 
   1278   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1279     ac_prev=pdfdir ;;
   1280   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1281     pdfdir=$ac_optarg ;;
   1282 
   1283   -psdir | --psdir | --psdi | --psd | --ps)
   1284     ac_prev=psdir ;;
   1285   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1286     psdir=$ac_optarg ;;
   1287 
   1288   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1289   | -silent | --silent | --silen | --sile | --sil)
   1290     silent=yes ;;
   1291 
   1292   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1293   | --runstate | --runstat | --runsta | --runst | --runs \
   1294   | --run | --ru | --r)
   1295     ac_prev=runstatedir ;;
   1296   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1297   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1298   | --run=* | --ru=* | --r=*)
   1299     runstatedir=$ac_optarg ;;
   1300 
   1301   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1302     ac_prev=sbindir ;;
   1303   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1304   | --sbi=* | --sb=*)
   1305     sbindir=$ac_optarg ;;
   1306 
   1307   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1308   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1309   | --sharedst | --shareds | --shared | --share | --shar \
   1310   | --sha | --sh)
   1311     ac_prev=sharedstatedir ;;
   1312   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1313   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1314   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1315   | --sha=* | --sh=*)
   1316     sharedstatedir=$ac_optarg ;;
   1317 
   1318   -site | --site | --sit)
   1319     ac_prev=site ;;
   1320   -site=* | --site=* | --sit=*)
   1321     site=$ac_optarg ;;
   1322 
   1323   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1324     ac_prev=srcdir ;;
   1325   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1326     srcdir=$ac_optarg ;;
   1327 
   1328   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1329   | --syscon | --sysco | --sysc | --sys | --sy)
   1330     ac_prev=sysconfdir ;;
   1331   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1332   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1333     sysconfdir=$ac_optarg ;;
   1334 
   1335   -target | --target | --targe | --targ | --tar | --ta | --t)
   1336     ac_prev=target_alias ;;
   1337   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1338     target_alias=$ac_optarg ;;
   1339 
   1340   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1341     verbose=yes ;;
   1342 
   1343   -version | --version | --versio | --versi | --vers | -V)
   1344     ac_init_version=: ;;
   1345 
   1346   -with-* | --with-*)
   1347     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1348     # Reject names that are not valid shell variable names.
   1349     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1350       as_fn_error $? "invalid package name: '$ac_useropt'"
   1351     ac_useropt_orig=$ac_useropt
   1352     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1353     case $ac_user_opts in
   1354       *"
   1355 "with_$ac_useropt"
   1356 "*) ;;
   1357       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1358 	 ac_unrecognized_sep=', ';;
   1359     esac
   1360     eval with_$ac_useropt=\$ac_optarg ;;
   1361 
   1362   -without-* | --without-*)
   1363     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1364     # Reject names that are not valid shell variable names.
   1365     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1366       as_fn_error $? "invalid package name: '$ac_useropt'"
   1367     ac_useropt_orig=$ac_useropt
   1368     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1369     case $ac_user_opts in
   1370       *"
   1371 "with_$ac_useropt"
   1372 "*) ;;
   1373       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1374 	 ac_unrecognized_sep=', ';;
   1375     esac
   1376     eval with_$ac_useropt=no ;;
   1377 
   1378   --x)
   1379     # Obsolete; use --with-x.
   1380     with_x=yes ;;
   1381 
   1382   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1383   | --x-incl | --x-inc | --x-in | --x-i)
   1384     ac_prev=x_includes ;;
   1385   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1386   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1387     x_includes=$ac_optarg ;;
   1388 
   1389   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1390   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1391     ac_prev=x_libraries ;;
   1392   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1393   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1394     x_libraries=$ac_optarg ;;
   1395 
   1396   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1397 Try '$0 --help' for more information"
   1398     ;;
   1399 
   1400   *=*)
   1401     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1402     # Reject names that are not valid shell variable names.
   1403     case $ac_envvar in #(
   1404       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1405       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1406     esac
   1407     eval $ac_envvar=\$ac_optarg
   1408     export $ac_envvar ;;
   1409 
   1410   *)
   1411     # FIXME: should be removed in autoconf 3.0.
   1412     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1413     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1414       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1415     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1416     ;;
   1417 
   1418   esac
   1419 done
   1420 
   1421 if test -n "$ac_prev"; then
   1422   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1423   as_fn_error $? "missing argument to $ac_option"
   1424 fi
   1425 
   1426 if test -n "$ac_unrecognized_opts"; then
   1427   case $enable_option_checking in
   1428     no) ;;
   1429     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1430     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1431   esac
   1432 fi
   1433 
   1434 # Check all directory arguments for consistency.
   1435 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1436 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1437 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1438 		libdir localedir mandir runstatedir
   1439 do
   1440   eval ac_val=\$$ac_var
   1441   # Remove trailing slashes.
   1442   case $ac_val in
   1443     */ )
   1444       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1445       eval $ac_var=\$ac_val;;
   1446   esac
   1447   # Be sure to have absolute directory names.
   1448   case $ac_val in
   1449     [\\/$]* | ?:[\\/]* )  continue;;
   1450     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1451   esac
   1452   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1453 done
   1454 
   1455 # There might be people who depend on the old broken behavior: '$host'
   1456 # used to hold the argument of --host etc.
   1457 # FIXME: To remove some day.
   1458 build=$build_alias
   1459 host=$host_alias
   1460 target=$target_alias
   1461 
   1462 # FIXME: To remove some day.
   1463 if test "x$host_alias" != x; then
   1464   if test "x$build_alias" = x; then
   1465     cross_compiling=maybe
   1466   elif test "x$build_alias" != "x$host_alias"; then
   1467     cross_compiling=yes
   1468   fi
   1469 fi
   1470 
   1471 ac_tool_prefix=
   1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1473 
   1474 test "$silent" = yes && exec 6>/dev/null
   1475 
   1476 
   1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1478 ac_ls_di=`ls -di .` &&
   1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1480   as_fn_error $? "working directory cannot be determined"
   1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1482   as_fn_error $? "pwd does not report name of working directory"
   1483 
   1484 
   1485 # Find the source files, if location was not specified.
   1486 if test -z "$srcdir"; then
   1487   ac_srcdir_defaulted=yes
   1488   # Try the directory containing this script, then the parent directory.
   1489   ac_confdir=`$as_dirname -- "$as_myself" ||
   1490 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1491 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1492 	 X"$as_myself" : 'X\(//\)$' \| \
   1493 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1494 printf "%s\n" X"$as_myself" |
   1495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1496 	    s//\1/
   1497 	    q
   1498 	  }
   1499 	  /^X\(\/\/\)[^/].*/{
   1500 	    s//\1/
   1501 	    q
   1502 	  }
   1503 	  /^X\(\/\/\)$/{
   1504 	    s//\1/
   1505 	    q
   1506 	  }
   1507 	  /^X\(\/\).*/{
   1508 	    s//\1/
   1509 	    q
   1510 	  }
   1511 	  s/.*/./; q'`
   1512   srcdir=$ac_confdir
   1513   if test ! -r "$srcdir/$ac_unique_file"; then
   1514     srcdir=..
   1515   fi
   1516 else
   1517   ac_srcdir_defaulted=no
   1518 fi
   1519 if test ! -r "$srcdir/$ac_unique_file"; then
   1520   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1521   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1522 fi
   1523 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1524 ac_abs_confdir=`(
   1525 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1526 	pwd)`
   1527 # When building in place, set srcdir=.
   1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1529   srcdir=.
   1530 fi
   1531 # Remove unnecessary trailing slashes from srcdir.
   1532 # Double slashes in file names in object file debugging info
   1533 # mess up M-x gdb in Emacs.
   1534 case $srcdir in
   1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1536 esac
   1537 for ac_var in $ac_precious_vars; do
   1538   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1539   eval ac_env_${ac_var}_value=\$${ac_var}
   1540   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1541   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1542 done
   1543 
   1544 #
   1545 # Report the --help message.
   1546 #
   1547 if test "$ac_init_help" = "long"; then
   1548   # Omit some internal or obsolete options to make the list less imposing.
   1549   # This message is too long to be a string in the A/UX 3.1 sh.
   1550   cat <<_ACEOF
   1551 'configure' configures libX11 1.8.10 to adapt to many kinds of systems.
   1552 
   1553 Usage: $0 [OPTION]... [VAR=VALUE]...
   1554 
   1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1556 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1557 
   1558 Defaults for the options are specified in brackets.
   1559 
   1560 Configuration:
   1561   -h, --help              display this help and exit
   1562       --help=short        display options specific to this package
   1563       --help=recursive    display the short help of all the included packages
   1564   -V, --version           display version information and exit
   1565   -q, --quiet, --silent   do not print 'checking ...' messages
   1566       --cache-file=FILE   cache test results in FILE [disabled]
   1567   -C, --config-cache      alias for '--cache-file=config.cache'
   1568   -n, --no-create         do not create output files
   1569       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1570 
   1571 Installation directories:
   1572   --prefix=PREFIX         install architecture-independent files in PREFIX
   1573                           [$ac_default_prefix]
   1574   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1575                           [PREFIX]
   1576 
   1577 By default, 'make install' will install all the files in
   1578 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1579 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1580 for instance '--prefix=\$HOME'.
   1581 
   1582 For better control, use the options below.
   1583 
   1584 Fine tuning of the installation directories:
   1585   --bindir=DIR            user executables [EPREFIX/bin]
   1586   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1587   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1588   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1589   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1590   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1591   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1592   --libdir=DIR            object code libraries [EPREFIX/lib]
   1593   --includedir=DIR        C header files [PREFIX/include]
   1594   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1595   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1596   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1597   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1598   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1599   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1600   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1601   --htmldir=DIR           html documentation [DOCDIR]
   1602   --dvidir=DIR            dvi documentation [DOCDIR]
   1603   --pdfdir=DIR            pdf documentation [DOCDIR]
   1604   --psdir=DIR             ps documentation [DOCDIR]
   1605 _ACEOF
   1606 
   1607   cat <<\_ACEOF
   1608 
   1609 Program names:
   1610   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1611   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1612   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1613 
   1614 System types:
   1615   --build=BUILD     configure for building on BUILD [guessed]
   1616   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1617 _ACEOF
   1618 fi
   1619 
   1620 if test -n "$ac_init_help"; then
   1621   case $ac_init_help in
   1622      short | recursive ) echo "Configuration of libX11 1.8.10:";;
   1623    esac
   1624   cat <<\_ACEOF
   1625 
   1626 Optional Features:
   1627   --disable-option-checking  ignore unrecognized --enable/--with options
   1628   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1629   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1630   --enable-dependency-tracking
   1631                           do not reject slow dependency extractors
   1632   --disable-dependency-tracking
   1633                           speeds up one-time build
   1634   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1635   --disable-silent-rules  verbose build output (undo: "make V=0")
   1636   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1637   --enable-static[=PKGS]  build static libraries [default=yes]
   1638   --enable-fast-install[=PKGS]
   1639                           optimize for fast installation [default=yes]
   1640   --disable-libtool-lock  avoid locking (might break parallel builds)
   1641   --disable-largefile     omit support for large files
   1642   --disable-selective-werror
   1643                           Turn off selective compiler errors. (default:
   1644                           enabled)
   1645   --enable-strict-compilation
   1646                           Enable all warnings from compiler and make them
   1647                           errors (default: disabled)
   1648   --enable-specs          Enable building the specs (default: yes)
   1649   --enable-unix-transport Enable UNIX domain socket transport
   1650   --enable-tcp-transport  Enable TCP socket transport
   1651   --enable-ipv6           Enable IPv6 support
   1652   --enable-local-transport
   1653                           Enable os-specific local transport
   1654   --enable-loadable-i18n  Controls loadable i18n module support
   1655   --disable-loadable-xcursor
   1656                           Controls loadable xcursor library support
   1657   --disable-thread-safety-constructor
   1658                           Controls mandatory thread safety support
   1659   --disable-xthreads      Disable Xlib support for Multithreading
   1660   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1661   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1662   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1663   --disable-xf86bigfont   Disable XF86BigFont extension support
   1664   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1665   --disable-composecache  Disable compose table cache support
   1666   --enable-lint-library   Create lint library (default: disabled)
   1667   --enable-malloc0returnsnull
   1668                           malloc(0) returns NULL (default: auto)
   1669   --enable-year2038       support timestamps after 2038
   1670 
   1671 Optional Packages:
   1672   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1673   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1674   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1675                           both]
   1676   --with-aix-soname=aix|svr4|both
   1677                           shared library versioning (aka "SONAME") variant to
   1678                           provide on AIX, [default=aix].
   1679   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1680   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1681                           compiler's sysroot if not specified).
   1682   --with-xmlto            Use xmlto to regenerate documentation (default:
   1683                           auto)
   1684   --with-fop              Use fop to regenerate documentation (default: no)
   1685   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1686                           (default: auto)
   1687   --with-perl             Use perl for extracting information from files
   1688                           (default: auto)
   1689   --with-launchd          Build with support for Apple's launchd (default:
   1690                           auto)
   1691   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1692                           include dir)
   1693   --with-lint             Use a lint-style source code checker (default:
   1694                           disabled)
   1695   --with-locale-lib-dir=DIR
   1696                           Directory where locale libraries files are installed
   1697                           (default: $libdir/X11/locale)
   1698 
   1699 Some influential environment variables:
   1700   CC          C compiler command
   1701   CFLAGS      C compiler flags
   1702   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1703               nonstandard directory <lib dir>
   1704   LIBS        libraries to pass to the linker, e.g. -l<library>
   1705   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1706               you have headers in a nonstandard directory <include dir>
   1707   LT_SYS_LIBRARY_PATH
   1708               User-defined run-time library search path.
   1709   PKG_CONFIG  path to pkg-config utility
   1710   PKG_CONFIG_PATH
   1711               directories to add to pkg-config's search path
   1712   PKG_CONFIG_LIBDIR
   1713               path overriding pkg-config's built-in search path
   1714   XMLTO       Path to xmlto command
   1715   FOP         Path to fop command
   1716   XSLTPROC    Path to xsltproc command
   1717   CPP         C preprocessor
   1718   PERL        Path to perl command
   1719   BIGFONT_CFLAGS
   1720               C compiler flags for BIGFONT, overriding pkg-config
   1721   BIGFONT_LIBS
   1722               linker flags for BIGFONT, overriding pkg-config
   1723   LINT        Path to a lint-style command
   1724   LINT_FLAGS  Flags for the lint-style command
   1725   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1726   X11_LIBS    linker flags for X11, overriding pkg-config
   1727 
   1728 Use these variables to override the choices made by 'configure' or to help
   1729 it to find libraries and programs with nonstandard names/locations.
   1730 
   1731 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1732 _ACEOF
   1733 ac_status=$?
   1734 fi
   1735 
   1736 if test "$ac_init_help" = "recursive"; then
   1737   # If there are subdirs, report their specific --help.
   1738   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1739     test -d "$ac_dir" ||
   1740       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1741       continue
   1742     ac_builddir=.
   1743 
   1744 case "$ac_dir" in
   1745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1746 *)
   1747   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1748   # A ".." for each directory in $ac_dir_suffix.
   1749   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1750   case $ac_top_builddir_sub in
   1751   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1752   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1753   esac ;;
   1754 esac
   1755 ac_abs_top_builddir=$ac_pwd
   1756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1757 # for backward compatibility:
   1758 ac_top_builddir=$ac_top_build_prefix
   1759 
   1760 case $srcdir in
   1761   .)  # We are building in place.
   1762     ac_srcdir=.
   1763     ac_top_srcdir=$ac_top_builddir_sub
   1764     ac_abs_top_srcdir=$ac_pwd ;;
   1765   [\\/]* | ?:[\\/]* )  # Absolute name.
   1766     ac_srcdir=$srcdir$ac_dir_suffix;
   1767     ac_top_srcdir=$srcdir
   1768     ac_abs_top_srcdir=$srcdir ;;
   1769   *) # Relative name.
   1770     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1771     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1772     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1773 esac
   1774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1775 
   1776     cd "$ac_dir" || { ac_status=$?; continue; }
   1777     # Check for configure.gnu first; this name is used for a wrapper for
   1778     # Metaconfig's "Configure" on case-insensitive file systems.
   1779     if test -f "$ac_srcdir/configure.gnu"; then
   1780       echo &&
   1781       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1782     elif test -f "$ac_srcdir/configure"; then
   1783       echo &&
   1784       $SHELL "$ac_srcdir/configure" --help=recursive
   1785     else
   1786       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1787     fi || ac_status=$?
   1788     cd "$ac_pwd" || { ac_status=$?; break; }
   1789   done
   1790 fi
   1791 
   1792 test -n "$ac_init_help" && exit $ac_status
   1793 if $ac_init_version; then
   1794   cat <<\_ACEOF
   1795 libX11 configure 1.8.10
   1796 generated by GNU Autoconf 2.72
   1797 
   1798 Copyright (C) 2023 Free Software Foundation, Inc.
   1799 This configure script is free software; the Free Software Foundation
   1800 gives unlimited permission to copy, distribute and modify it.
   1801 _ACEOF
   1802   exit
   1803 fi
   1804 
   1805 ## ------------------------ ##
   1806 ## Autoconf initialization. ##
   1807 ## ------------------------ ##
   1808 
   1809 # ac_fn_c_try_compile LINENO
   1810 # --------------------------
   1811 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1812 ac_fn_c_try_compile ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   rm -f conftest.$ac_objext conftest.beam
   1816   if { { ac_try="$ac_compile"
   1817 case "(($ac_try" in
   1818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1819   *) ac_try_echo=$ac_try;;
   1820 esac
   1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1822 printf "%s\n" "$ac_try_echo"; } >&5
   1823   (eval "$ac_compile") 2>conftest.err
   1824   ac_status=$?
   1825   if test -s conftest.err; then
   1826     grep -v '^ *+' conftest.err >conftest.er1
   1827     cat conftest.er1 >&5
   1828     mv -f conftest.er1 conftest.err
   1829   fi
   1830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1831   test $ac_status = 0; } && {
   1832 	 test -z "$ac_c_werror_flag" ||
   1833 	 test ! -s conftest.err
   1834        } && test -s conftest.$ac_objext
   1835 then :
   1836   ac_retval=0
   1837 else case e in #(
   1838   e) printf "%s\n" "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841 	ac_retval=1 ;;
   1842 esac
   1843 fi
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845   as_fn_set_status $ac_retval
   1846 
   1847 } # ac_fn_c_try_compile
   1848 
   1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1850 # -------------------------------------------------------
   1851 # Tests whether HEADER exists and can be compiled using the include files in
   1852 # INCLUDES, setting the cache variable VAR accordingly.
   1853 ac_fn_c_check_header_compile ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 printf %s "checking for $2... " >&6; }
   1858 if eval test \${$3+y}
   1859 then :
   1860   printf %s "(cached) " >&6
   1861 else case e in #(
   1862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1863 /* end confdefs.h.  */
   1864 $4
   1865 #include <$2>
   1866 _ACEOF
   1867 if ac_fn_c_try_compile "$LINENO"
   1868 then :
   1869   eval "$3=yes"
   1870 else case e in #(
   1871   e) eval "$3=no" ;;
   1872 esac
   1873 fi
   1874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1875 esac
   1876 fi
   1877 eval ac_res=\$$3
   1878 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1879 printf "%s\n" "$ac_res" >&6; }
   1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1881 
   1882 } # ac_fn_c_check_header_compile
   1883 
   1884 # ac_fn_c_try_link LINENO
   1885 # -----------------------
   1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1887 ac_fn_c_try_link ()
   1888 {
   1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1890   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1891   if { { ac_try="$ac_link"
   1892 case "(($ac_try" in
   1893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1894   *) ac_try_echo=$ac_try;;
   1895 esac
   1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1897 printf "%s\n" "$ac_try_echo"; } >&5
   1898   (eval "$ac_link") 2>conftest.err
   1899   ac_status=$?
   1900   if test -s conftest.err; then
   1901     grep -v '^ *+' conftest.err >conftest.er1
   1902     cat conftest.er1 >&5
   1903     mv -f conftest.er1 conftest.err
   1904   fi
   1905   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1906   test $ac_status = 0; } && {
   1907 	 test -z "$ac_c_werror_flag" ||
   1908 	 test ! -s conftest.err
   1909        } && test -s conftest$ac_exeext && {
   1910 	 test "$cross_compiling" = yes ||
   1911 	 test -x conftest$ac_exeext
   1912        }
   1913 then :
   1914   ac_retval=0
   1915 else case e in #(
   1916   e) printf "%s\n" "$as_me: failed program was:" >&5
   1917 sed 's/^/| /' conftest.$ac_ext >&5
   1918 
   1919 	ac_retval=1 ;;
   1920 esac
   1921 fi
   1922   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1923   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1924   # interfere with the next link command; also delete a directory that is
   1925   # left behind by Apple's compiler.  We do this before executing the actions.
   1926   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1928   as_fn_set_status $ac_retval
   1929 
   1930 } # ac_fn_c_try_link
   1931 
   1932 # ac_fn_c_check_func LINENO FUNC VAR
   1933 # ----------------------------------
   1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1935 ac_fn_c_check_func ()
   1936 {
   1937   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1939 printf %s "checking for $2... " >&6; }
   1940 if eval test \${$3+y}
   1941 then :
   1942   printf %s "(cached) " >&6
   1943 else case e in #(
   1944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1945 /* end confdefs.h.  */
   1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1948 #define $2 innocuous_$2
   1949 
   1950 /* System header to define __stub macros and hopefully few prototypes,
   1951    which can conflict with char $2 (void); below.  */
   1952 
   1953 #include <limits.h>
   1954 #undef $2
   1955 
   1956 /* Override any GCC internal prototype to avoid an error.
   1957    Use char because int might match the return type of a GCC
   1958    builtin and then its argument prototype would still apply.  */
   1959 #ifdef __cplusplus
   1960 extern "C"
   1961 #endif
   1962 char $2 (void);
   1963 /* The GNU C library defines this for functions which it implements
   1964     to always fail with ENOSYS.  Some functions are actually named
   1965     something starting with __ and the normal name is an alias.  */
   1966 #if defined __stub_$2 || defined __stub___$2
   1967 choke me
   1968 #endif
   1969 
   1970 int
   1971 main (void)
   1972 {
   1973 return $2 ();
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_link "$LINENO"
   1979 then :
   1980   eval "$3=yes"
   1981 else case e in #(
   1982   e) eval "$3=no" ;;
   1983 esac
   1984 fi
   1985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1986     conftest$ac_exeext conftest.$ac_ext ;;
   1987 esac
   1988 fi
   1989 eval ac_res=\$$3
   1990 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1991 printf "%s\n" "$ac_res" >&6; }
   1992   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1993 
   1994 } # ac_fn_c_check_func
   1995 
   1996 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1997 # ------------------------------------------------------------------
   1998 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1999 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2000 ac_fn_check_decl ()
   2001 {
   2002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2003   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2005 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2006 if eval test \${$3+y}
   2007 then :
   2008   printf %s "(cached) " >&6
   2009 else case e in #(
   2010   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2011   eval ac_save_FLAGS=\$$6
   2012   as_fn_append $6 " $5"
   2013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2014 /* end confdefs.h.  */
   2015 $4
   2016 int
   2017 main (void)
   2018 {
   2019 #ifndef $as_decl_name
   2020 #ifdef __cplusplus
   2021   (void) $as_decl_use;
   2022 #else
   2023   (void) $as_decl_name;
   2024 #endif
   2025 #endif
   2026 
   2027   ;
   2028   return 0;
   2029 }
   2030 _ACEOF
   2031 if ac_fn_c_try_compile "$LINENO"
   2032 then :
   2033   eval "$3=yes"
   2034 else case e in #(
   2035   e) eval "$3=no" ;;
   2036 esac
   2037 fi
   2038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2039   eval $6=\$ac_save_FLAGS
   2040  ;;
   2041 esac
   2042 fi
   2043 eval ac_res=\$$3
   2044 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2045 printf "%s\n" "$ac_res" >&6; }
   2046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047 
   2048 } # ac_fn_check_decl
   2049 
   2050 # ac_fn_c_try_cpp LINENO
   2051 # ----------------------
   2052 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2053 ac_fn_c_try_cpp ()
   2054 {
   2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2056   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2057 case "(($ac_try" in
   2058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2059   *) ac_try_echo=$ac_try;;
   2060 esac
   2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2062 printf "%s\n" "$ac_try_echo"; } >&5
   2063   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2064   ac_status=$?
   2065   if test -s conftest.err; then
   2066     grep -v '^ *+' conftest.err >conftest.er1
   2067     cat conftest.er1 >&5
   2068     mv -f conftest.er1 conftest.err
   2069   fi
   2070   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2071   test $ac_status = 0; } > conftest.i && {
   2072 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2073 	 test ! -s conftest.err
   2074        }
   2075 then :
   2076   ac_retval=0
   2077 else case e in #(
   2078   e) printf "%s\n" "$as_me: failed program was:" >&5
   2079 sed 's/^/| /' conftest.$ac_ext >&5
   2080 
   2081     ac_retval=1 ;;
   2082 esac
   2083 fi
   2084   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2085   as_fn_set_status $ac_retval
   2086 
   2087 } # ac_fn_c_try_cpp
   2088 
   2089 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2090 # ----------------------------------------------------
   2091 # Tries to find if the field MEMBER exists in type AGGR, after including
   2092 # INCLUDES, setting cache variable VAR accordingly.
   2093 ac_fn_c_check_member ()
   2094 {
   2095   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2097 printf %s "checking for $2.$3... " >&6; }
   2098 if eval test \${$4+y}
   2099 then :
   2100   printf %s "(cached) " >&6
   2101 else case e in #(
   2102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2103 /* end confdefs.h.  */
   2104 $5
   2105 int
   2106 main (void)
   2107 {
   2108 static $2 ac_aggr;
   2109 if (ac_aggr.$3)
   2110 return 0;
   2111   ;
   2112   return 0;
   2113 }
   2114 _ACEOF
   2115 if ac_fn_c_try_compile "$LINENO"
   2116 then :
   2117   eval "$4=yes"
   2118 else case e in #(
   2119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2120 /* end confdefs.h.  */
   2121 $5
   2122 int
   2123 main (void)
   2124 {
   2125 static $2 ac_aggr;
   2126 if (sizeof ac_aggr.$3)
   2127 return 0;
   2128   ;
   2129   return 0;
   2130 }
   2131 _ACEOF
   2132 if ac_fn_c_try_compile "$LINENO"
   2133 then :
   2134   eval "$4=yes"
   2135 else case e in #(
   2136   e) eval "$4=no" ;;
   2137 esac
   2138 fi
   2139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2140 esac
   2141 fi
   2142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2143 esac
   2144 fi
   2145 eval ac_res=\$$4
   2146 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2147 printf "%s\n" "$ac_res" >&6; }
   2148   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2149 
   2150 } # ac_fn_c_check_member
   2151 
   2152 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2153 # -------------------------------------------
   2154 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2155 # variable VAR accordingly.
   2156 ac_fn_c_check_type ()
   2157 {
   2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2160 printf %s "checking for $2... " >&6; }
   2161 if eval test \${$3+y}
   2162 then :
   2163   printf %s "(cached) " >&6
   2164 else case e in #(
   2165   e) eval "$3=no"
   2166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2167 /* end confdefs.h.  */
   2168 $4
   2169 int
   2170 main (void)
   2171 {
   2172 if (sizeof ($2))
   2173 	 return 0;
   2174   ;
   2175   return 0;
   2176 }
   2177 _ACEOF
   2178 if ac_fn_c_try_compile "$LINENO"
   2179 then :
   2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2181 /* end confdefs.h.  */
   2182 $4
   2183 int
   2184 main (void)
   2185 {
   2186 if (sizeof (($2)))
   2187 	    return 0;
   2188   ;
   2189   return 0;
   2190 }
   2191 _ACEOF
   2192 if ac_fn_c_try_compile "$LINENO"
   2193 then :
   2194 
   2195 else case e in #(
   2196   e) eval "$3=yes" ;;
   2197 esac
   2198 fi
   2199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2200 fi
   2201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2202 esac
   2203 fi
   2204 eval ac_res=\$$3
   2205 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2206 printf "%s\n" "$ac_res" >&6; }
   2207   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2208 
   2209 } # ac_fn_c_check_type
   2210 
   2211 # ac_fn_c_try_run LINENO
   2212 # ----------------------
   2213 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2214 # executables *can* be run.
   2215 ac_fn_c_try_run ()
   2216 {
   2217   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2218   if { { ac_try="$ac_link"
   2219 case "(($ac_try" in
   2220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2221   *) ac_try_echo=$ac_try;;
   2222 esac
   2223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2224 printf "%s\n" "$ac_try_echo"; } >&5
   2225   (eval "$ac_link") 2>&5
   2226   ac_status=$?
   2227   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2228   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2229   { { case "(($ac_try" in
   2230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2231   *) ac_try_echo=$ac_try;;
   2232 esac
   2233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2234 printf "%s\n" "$ac_try_echo"; } >&5
   2235   (eval "$ac_try") 2>&5
   2236   ac_status=$?
   2237   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2238   test $ac_status = 0; }; }
   2239 then :
   2240   ac_retval=0
   2241 else case e in #(
   2242   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2243        printf "%s\n" "$as_me: failed program was:" >&5
   2244 sed 's/^/| /' conftest.$ac_ext >&5
   2245 
   2246        ac_retval=$ac_status ;;
   2247 esac
   2248 fi
   2249   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2250   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2251   as_fn_set_status $ac_retval
   2252 
   2253 } # ac_fn_c_try_run
   2254 ac_configure_args_raw=
   2255 for ac_arg
   2256 do
   2257   case $ac_arg in
   2258   *\'*)
   2259     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2260   esac
   2261   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2262 done
   2263 
   2264 case $ac_configure_args_raw in
   2265   *$as_nl*)
   2266     ac_safe_unquote= ;;
   2267   *)
   2268     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2269     ac_unsafe_a="$ac_unsafe_z#~"
   2270     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2271     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2272 esac
   2273 
   2274 cat >config.log <<_ACEOF
   2275 This file contains any messages produced by compilers while
   2276 running configure, to aid debugging if configure makes a mistake.
   2277 
   2278 It was created by libX11 $as_me 1.8.10, which was
   2279 generated by GNU Autoconf 2.72.  Invocation command line was
   2280 
   2281   $ $0$ac_configure_args_raw
   2282 
   2283 _ACEOF
   2284 exec 5>>config.log
   2285 {
   2286 cat <<_ASUNAME
   2287 ## --------- ##
   2288 ## Platform. ##
   2289 ## --------- ##
   2290 
   2291 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2292 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2293 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2294 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2295 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2296 
   2297 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2298 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2299 
   2300 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2301 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2302 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2303 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2304 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2305 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2306 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2307 
   2308 _ASUNAME
   2309 
   2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2311 for as_dir in $PATH
   2312 do
   2313   IFS=$as_save_IFS
   2314   case $as_dir in #(((
   2315     '') as_dir=./ ;;
   2316     */) ;;
   2317     *) as_dir=$as_dir/ ;;
   2318   esac
   2319     printf "%s\n" "PATH: $as_dir"
   2320   done
   2321 IFS=$as_save_IFS
   2322 
   2323 } >&5
   2324 
   2325 cat >&5 <<_ACEOF
   2326 
   2327 
   2328 ## ----------- ##
   2329 ## Core tests. ##
   2330 ## ----------- ##
   2331 
   2332 _ACEOF
   2333 
   2334 
   2335 # Keep a trace of the command line.
   2336 # Strip out --no-create and --no-recursion so they do not pile up.
   2337 # Strip out --silent because we don't want to record it for future runs.
   2338 # Also quote any args containing shell meta-characters.
   2339 # Make two passes to allow for proper duplicate-argument suppression.
   2340 ac_configure_args=
   2341 ac_configure_args0=
   2342 ac_configure_args1=
   2343 ac_must_keep_next=false
   2344 for ac_pass in 1 2
   2345 do
   2346   for ac_arg
   2347   do
   2348     case $ac_arg in
   2349     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2350     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2351     | -silent | --silent | --silen | --sile | --sil)
   2352       continue ;;
   2353     *\'*)
   2354       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2355     esac
   2356     case $ac_pass in
   2357     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2358     2)
   2359       as_fn_append ac_configure_args1 " '$ac_arg'"
   2360       if test $ac_must_keep_next = true; then
   2361 	ac_must_keep_next=false # Got value, back to normal.
   2362       else
   2363 	case $ac_arg in
   2364 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2365 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2366 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2367 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2368 	    case "$ac_configure_args0 " in
   2369 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2370 	    esac
   2371 	    ;;
   2372 	  -* ) ac_must_keep_next=true ;;
   2373 	esac
   2374       fi
   2375       as_fn_append ac_configure_args " '$ac_arg'"
   2376       ;;
   2377     esac
   2378   done
   2379 done
   2380 { ac_configure_args0=; unset ac_configure_args0;}
   2381 { ac_configure_args1=; unset ac_configure_args1;}
   2382 
   2383 # When interrupted or exit'd, cleanup temporary files, and complete
   2384 # config.log.  We remove comments because anyway the quotes in there
   2385 # would cause problems or look ugly.
   2386 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2387 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2388 trap 'exit_status=$?
   2389   # Sanitize IFS.
   2390   IFS=" ""	$as_nl"
   2391   # Save into config.log some information that might help in debugging.
   2392   {
   2393     echo
   2394 
   2395     printf "%s\n" "## ---------------- ##
   2396 ## Cache variables. ##
   2397 ## ---------------- ##"
   2398     echo
   2399     # The following way of writing the cache mishandles newlines in values,
   2400 (
   2401   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2402     eval ac_val=\$$ac_var
   2403     case $ac_val in #(
   2404     *${as_nl}*)
   2405       case $ac_var in #(
   2406       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2407 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2408       esac
   2409       case $ac_var in #(
   2410       _ | IFS | as_nl) ;; #(
   2411       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2412       *) { eval $ac_var=; unset $ac_var;} ;;
   2413       esac ;;
   2414     esac
   2415   done
   2416   (set) 2>&1 |
   2417     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2418     *${as_nl}ac_space=\ *)
   2419       sed -n \
   2420 	"s/'\''/'\''\\\\'\'''\''/g;
   2421 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2422       ;; #(
   2423     *)
   2424       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2425       ;;
   2426     esac |
   2427     sort
   2428 )
   2429     echo
   2430 
   2431     printf "%s\n" "## ----------------- ##
   2432 ## Output variables. ##
   2433 ## ----------------- ##"
   2434     echo
   2435     for ac_var in $ac_subst_vars
   2436     do
   2437       eval ac_val=\$$ac_var
   2438       case $ac_val in
   2439       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2440       esac
   2441       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2442     done | sort
   2443     echo
   2444 
   2445     if test -n "$ac_subst_files"; then
   2446       printf "%s\n" "## ------------------- ##
   2447 ## File substitutions. ##
   2448 ## ------------------- ##"
   2449       echo
   2450       for ac_var in $ac_subst_files
   2451       do
   2452 	eval ac_val=\$$ac_var
   2453 	case $ac_val in
   2454 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2455 	esac
   2456 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2457       done | sort
   2458       echo
   2459     fi
   2460 
   2461     if test -s confdefs.h; then
   2462       printf "%s\n" "## ----------- ##
   2463 ## confdefs.h. ##
   2464 ## ----------- ##"
   2465       echo
   2466       cat confdefs.h
   2467       echo
   2468     fi
   2469     test "$ac_signal" != 0 &&
   2470       printf "%s\n" "$as_me: caught signal $ac_signal"
   2471     printf "%s\n" "$as_me: exit $exit_status"
   2472   } >&5
   2473   rm -f core *.core core.conftest.* &&
   2474     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2475     exit $exit_status
   2476 ' 0
   2477 for ac_signal in 1 2 13 15; do
   2478   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2479 done
   2480 ac_signal=0
   2481 
   2482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2483 rm -f -r conftest* confdefs.h
   2484 
   2485 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2486 
   2487 # Predefined preprocessor variables.
   2488 
   2489 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2490 
   2491 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2492 
   2493 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2494 
   2495 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2496 
   2497 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2498 
   2499 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2500 
   2501 
   2502 # Let the site file select an alternate cache file if it wants to.
   2503 # Prefer an explicitly selected file to automatically selected ones.
   2504 if test -n "$CONFIG_SITE"; then
   2505   ac_site_files="$CONFIG_SITE"
   2506 elif test "x$prefix" != xNONE; then
   2507   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2508 else
   2509   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2510 fi
   2511 
   2512 for ac_site_file in $ac_site_files
   2513 do
   2514   case $ac_site_file in #(
   2515   */*) :
   2516      ;; #(
   2517   *) :
   2518     ac_site_file=./$ac_site_file ;;
   2519 esac
   2520   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2521     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2522 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2523     sed 's/^/| /' "$ac_site_file" >&5
   2524     . "$ac_site_file" \
   2525       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2526 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2527 as_fn_error $? "failed to load site script $ac_site_file
   2528 See 'config.log' for more details" "$LINENO" 5; }
   2529   fi
   2530 done
   2531 
   2532 if test -r "$cache_file"; then
   2533   # Some versions of bash will fail to source /dev/null (special files
   2534   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2535   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2536     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2537 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2538     case $cache_file in
   2539       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2540       *)                      . "./$cache_file";;
   2541     esac
   2542   fi
   2543 else
   2544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2545 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2546   >$cache_file
   2547 fi
   2548 
   2549 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2550 # Test code for whether the C compiler supports C89 (global declarations)
   2551 ac_c_conftest_c89_globals='
   2552 /* Does the compiler advertise C89 conformance?
   2553    Do not test the value of __STDC__, because some compilers set it to 0
   2554    while being otherwise adequately conformant. */
   2555 #if !defined __STDC__
   2556 # error "Compiler does not advertise C89 conformance"
   2557 #endif
   2558 
   2559 #include <stddef.h>
   2560 #include <stdarg.h>
   2561 struct stat;
   2562 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2563 struct buf { int x; };
   2564 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2565 static char *e (char **p, int i)
   2566 {
   2567   return p[i];
   2568 }
   2569 static char *f (char * (*g) (char **, int), char **p, ...)
   2570 {
   2571   char *s;
   2572   va_list v;
   2573   va_start (v,p);
   2574   s = g (p, va_arg (v,int));
   2575   va_end (v);
   2576   return s;
   2577 }
   2578 
   2579 /* C89 style stringification. */
   2580 #define noexpand_stringify(a) #a
   2581 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2582 
   2583 /* C89 style token pasting.  Exercises some of the corner cases that
   2584    e.g. old MSVC gets wrong, but not very hard. */
   2585 #define noexpand_concat(a,b) a##b
   2586 #define expand_concat(a,b) noexpand_concat(a,b)
   2587 extern int vA;
   2588 extern int vbee;
   2589 #define aye A
   2590 #define bee B
   2591 int *pvA = &expand_concat(v,aye);
   2592 int *pvbee = &noexpand_concat(v,bee);
   2593 
   2594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2595    function prototypes and stuff, but not \xHH hex character constants.
   2596    These do not provoke an error unfortunately, instead are silently treated
   2597    as an "x".  The following induces an error, until -std is added to get
   2598    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2599    array size at least.  It is necessary to write \x00 == 0 to get something
   2600    that is true only with -std.  */
   2601 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2602 
   2603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2604    inside strings and character constants.  */
   2605 #define FOO(x) '\''x'\''
   2606 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2607 
   2608 int test (int i, double x);
   2609 struct s1 {int (*f) (int a);};
   2610 struct s2 {int (*f) (double a);};
   2611 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2612                int, int);'
   2613 
   2614 # Test code for whether the C compiler supports C89 (body of main).
   2615 ac_c_conftest_c89_main='
   2616 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2617 '
   2618 
   2619 # Test code for whether the C compiler supports C99 (global declarations)
   2620 ac_c_conftest_c99_globals='
   2621 /* Does the compiler advertise C99 conformance? */
   2622 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2623 # error "Compiler does not advertise C99 conformance"
   2624 #endif
   2625 
   2626 // See if C++-style comments work.
   2627 
   2628 #include <stdbool.h>
   2629 extern int puts (const char *);
   2630 extern int printf (const char *, ...);
   2631 extern int dprintf (int, const char *, ...);
   2632 extern void *malloc (size_t);
   2633 extern void free (void *);
   2634 
   2635 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2636 // dprintf is used instead of fprintf to avoid needing to declare
   2637 // FILE and stderr.
   2638 #define debug(...) dprintf (2, __VA_ARGS__)
   2639 #define showlist(...) puts (#__VA_ARGS__)
   2640 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2641 static void
   2642 test_varargs_macros (void)
   2643 {
   2644   int x = 1234;
   2645   int y = 5678;
   2646   debug ("Flag");
   2647   debug ("X = %d\n", x);
   2648   showlist (The first, second, and third items.);
   2649   report (x>y, "x is %d but y is %d", x, y);
   2650 }
   2651 
   2652 // Check long long types.
   2653 #define BIG64 18446744073709551615ull
   2654 #define BIG32 4294967295ul
   2655 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2656 #if !BIG_OK
   2657   #error "your preprocessor is broken"
   2658 #endif
   2659 #if BIG_OK
   2660 #else
   2661   #error "your preprocessor is broken"
   2662 #endif
   2663 static long long int bignum = -9223372036854775807LL;
   2664 static unsigned long long int ubignum = BIG64;
   2665 
   2666 struct incomplete_array
   2667 {
   2668   int datasize;
   2669   double data[];
   2670 };
   2671 
   2672 struct named_init {
   2673   int number;
   2674   const wchar_t *name;
   2675   double average;
   2676 };
   2677 
   2678 typedef const char *ccp;
   2679 
   2680 static inline int
   2681 test_restrict (ccp restrict text)
   2682 {
   2683   // Iterate through items via the restricted pointer.
   2684   // Also check for declarations in for loops.
   2685   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2686     continue;
   2687   return 0;
   2688 }
   2689 
   2690 // Check varargs and va_copy.
   2691 static bool
   2692 test_varargs (const char *format, ...)
   2693 {
   2694   va_list args;
   2695   va_start (args, format);
   2696   va_list args_copy;
   2697   va_copy (args_copy, args);
   2698 
   2699   const char *str = "";
   2700   int number = 0;
   2701   float fnumber = 0;
   2702 
   2703   while (*format)
   2704     {
   2705       switch (*format++)
   2706 	{
   2707 	case '\''s'\'': // string
   2708 	  str = va_arg (args_copy, const char *);
   2709 	  break;
   2710 	case '\''d'\'': // int
   2711 	  number = va_arg (args_copy, int);
   2712 	  break;
   2713 	case '\''f'\'': // float
   2714 	  fnumber = va_arg (args_copy, double);
   2715 	  break;
   2716 	default:
   2717 	  break;
   2718 	}
   2719     }
   2720   va_end (args_copy);
   2721   va_end (args);
   2722 
   2723   return *str && number && fnumber;
   2724 }
   2725 '
   2726 
   2727 # Test code for whether the C compiler supports C99 (body of main).
   2728 ac_c_conftest_c99_main='
   2729   // Check bool.
   2730   _Bool success = false;
   2731   success |= (argc != 0);
   2732 
   2733   // Check restrict.
   2734   if (test_restrict ("String literal") == 0)
   2735     success = true;
   2736   char *restrict newvar = "Another string";
   2737 
   2738   // Check varargs.
   2739   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2740   test_varargs_macros ();
   2741 
   2742   // Check flexible array members.
   2743   struct incomplete_array *ia =
   2744     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2745   ia->datasize = 10;
   2746   for (int i = 0; i < ia->datasize; ++i)
   2747     ia->data[i] = i * 1.234;
   2748   // Work around memory leak warnings.
   2749   free (ia);
   2750 
   2751   // Check named initializers.
   2752   struct named_init ni = {
   2753     .number = 34,
   2754     .name = L"Test wide string",
   2755     .average = 543.34343,
   2756   };
   2757 
   2758   ni.number = 58;
   2759 
   2760   int dynamic_array[ni.number];
   2761   dynamic_array[0] = argv[0][0];
   2762   dynamic_array[ni.number - 1] = 543;
   2763 
   2764   // work around unused variable warnings
   2765   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2766 	 || dynamic_array[ni.number - 1] != 543);
   2767 '
   2768 
   2769 # Test code for whether the C compiler supports C11 (global declarations)
   2770 ac_c_conftest_c11_globals='
   2771 /* Does the compiler advertise C11 conformance? */
   2772 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2773 # error "Compiler does not advertise C11 conformance"
   2774 #endif
   2775 
   2776 // Check _Alignas.
   2777 char _Alignas (double) aligned_as_double;
   2778 char _Alignas (0) no_special_alignment;
   2779 extern char aligned_as_int;
   2780 char _Alignas (0) _Alignas (int) aligned_as_int;
   2781 
   2782 // Check _Alignof.
   2783 enum
   2784 {
   2785   int_alignment = _Alignof (int),
   2786   int_array_alignment = _Alignof (int[100]),
   2787   char_alignment = _Alignof (char)
   2788 };
   2789 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2790 
   2791 // Check _Noreturn.
   2792 int _Noreturn does_not_return (void) { for (;;) continue; }
   2793 
   2794 // Check _Static_assert.
   2795 struct test_static_assert
   2796 {
   2797   int x;
   2798   _Static_assert (sizeof (int) <= sizeof (long int),
   2799                   "_Static_assert does not work in struct");
   2800   long int y;
   2801 };
   2802 
   2803 // Check UTF-8 literals.
   2804 #define u8 syntax error!
   2805 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2806 
   2807 // Check duplicate typedefs.
   2808 typedef long *long_ptr;
   2809 typedef long int *long_ptr;
   2810 typedef long_ptr long_ptr;
   2811 
   2812 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2813 struct anonymous
   2814 {
   2815   union {
   2816     struct { int i; int j; };
   2817     struct { int k; long int l; } w;
   2818   };
   2819   int m;
   2820 } v1;
   2821 '
   2822 
   2823 # Test code for whether the C compiler supports C11 (body of main).
   2824 ac_c_conftest_c11_main='
   2825   _Static_assert ((offsetof (struct anonymous, i)
   2826 		   == offsetof (struct anonymous, w.k)),
   2827 		  "Anonymous union alignment botch");
   2828   v1.i = 2;
   2829   v1.w.k = 5;
   2830   ok |= v1.i != 5;
   2831 '
   2832 
   2833 # Test code for whether the C compiler supports C11 (complete).
   2834 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2835 ${ac_c_conftest_c99_globals}
   2836 ${ac_c_conftest_c11_globals}
   2837 
   2838 int
   2839 main (int argc, char **argv)
   2840 {
   2841   int ok = 0;
   2842   ${ac_c_conftest_c89_main}
   2843   ${ac_c_conftest_c99_main}
   2844   ${ac_c_conftest_c11_main}
   2845   return ok;
   2846 }
   2847 "
   2848 
   2849 # Test code for whether the C compiler supports C99 (complete).
   2850 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2851 ${ac_c_conftest_c99_globals}
   2852 
   2853 int
   2854 main (int argc, char **argv)
   2855 {
   2856   int ok = 0;
   2857   ${ac_c_conftest_c89_main}
   2858   ${ac_c_conftest_c99_main}
   2859   return ok;
   2860 }
   2861 "
   2862 
   2863 # Test code for whether the C compiler supports C89 (complete).
   2864 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2865 
   2866 int
   2867 main (int argc, char **argv)
   2868 {
   2869   int ok = 0;
   2870   ${ac_c_conftest_c89_main}
   2871   return ok;
   2872 }
   2873 "
   2874 
   2875 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2876 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2877 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2878 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2879 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2880 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2881 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2882 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2883 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2884 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2885 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2886 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2887 
   2888 # Auxiliary files required by this configure script.
   2889 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2890 
   2891 # Locations in which to look for auxiliary files.
   2892 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2893 
   2894 # Search for a directory containing all of the required auxiliary files,
   2895 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2896 # If we don't find one directory that contains all the files we need,
   2897 # we report the set of missing files from the *first* directory in
   2898 # $ac_aux_dir_candidates and give up.
   2899 ac_missing_aux_files=""
   2900 ac_first_candidate=:
   2901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 as_found=false
   2904 for as_dir in $ac_aux_dir_candidates
   2905 do
   2906   IFS=$as_save_IFS
   2907   case $as_dir in #(((
   2908     '') as_dir=./ ;;
   2909     */) ;;
   2910     *) as_dir=$as_dir/ ;;
   2911   esac
   2912   as_found=:
   2913 
   2914   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2915   ac_aux_dir_found=yes
   2916   ac_install_sh=
   2917   for ac_aux in $ac_aux_files
   2918   do
   2919     # As a special case, if "install-sh" is required, that requirement
   2920     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2921     # and $ac_install_sh is set appropriately for whichever one is found.
   2922     if test x"$ac_aux" = x"install-sh"
   2923     then
   2924       if test -f "${as_dir}install-sh"; then
   2925         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2926         ac_install_sh="${as_dir}install-sh -c"
   2927       elif test -f "${as_dir}install.sh"; then
   2928         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2929         ac_install_sh="${as_dir}install.sh -c"
   2930       elif test -f "${as_dir}shtool"; then
   2931         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2932         ac_install_sh="${as_dir}shtool install -c"
   2933       else
   2934         ac_aux_dir_found=no
   2935         if $ac_first_candidate; then
   2936           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2937         else
   2938           break
   2939         fi
   2940       fi
   2941     else
   2942       if test -f "${as_dir}${ac_aux}"; then
   2943         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2944       else
   2945         ac_aux_dir_found=no
   2946         if $ac_first_candidate; then
   2947           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2948         else
   2949           break
   2950         fi
   2951       fi
   2952     fi
   2953   done
   2954   if test "$ac_aux_dir_found" = yes; then
   2955     ac_aux_dir="$as_dir"
   2956     break
   2957   fi
   2958   ac_first_candidate=false
   2959 
   2960   as_found=false
   2961 done
   2962 IFS=$as_save_IFS
   2963 if $as_found
   2964 then :
   2965 
   2966 else case e in #(
   2967   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2968 esac
   2969 fi
   2970 
   2971 
   2972 # These three variables are undocumented and unsupported,
   2973 # and are intended to be withdrawn in a future Autoconf release.
   2974 # They can cause serious problems if a builder's source tree is in a directory
   2975 # whose full name contains unusual characters.
   2976 if test -f "${ac_aux_dir}config.guess"; then
   2977   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2978 fi
   2979 if test -f "${ac_aux_dir}config.sub"; then
   2980   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2981 fi
   2982 if test -f "$ac_aux_dir/configure"; then
   2983   ac_configure="$SHELL ${ac_aux_dir}configure"
   2984 fi
   2985 
   2986 # Check that the precious variables saved in the cache have kept the same
   2987 # value.
   2988 ac_cache_corrupted=false
   2989 for ac_var in $ac_precious_vars; do
   2990   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2991   eval ac_new_set=\$ac_env_${ac_var}_set
   2992   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2993   eval ac_new_val=\$ac_env_${ac_var}_value
   2994   case $ac_old_set,$ac_new_set in
   2995     set,)
   2996       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2997 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2998       ac_cache_corrupted=: ;;
   2999     ,set)
   3000       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3001 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3002       ac_cache_corrupted=: ;;
   3003     ,);;
   3004     *)
   3005       if test "x$ac_old_val" != "x$ac_new_val"; then
   3006 	# differences in whitespace do not lead to failure.
   3007 	ac_old_val_w=`echo x $ac_old_val`
   3008 	ac_new_val_w=`echo x $ac_new_val`
   3009 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3010 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3011 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3012 	  ac_cache_corrupted=:
   3013 	else
   3014 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3015 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3016 	  eval $ac_var=\$ac_old_val
   3017 	fi
   3018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3019 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3021 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3022       fi;;
   3023   esac
   3024   # Pass precious variables to config.status.
   3025   if test "$ac_new_set" = set; then
   3026     case $ac_new_val in
   3027     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3028     *) ac_arg=$ac_var=$ac_new_val ;;
   3029     esac
   3030     case " $ac_configure_args " in
   3031       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3032       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3033     esac
   3034   fi
   3035 done
   3036 if $ac_cache_corrupted; then
   3037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3038 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3040 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3041   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3042 	    and start over" "$LINENO" 5
   3043 fi
   3044 ## -------------------- ##
   3045 ## Main body of script. ##
   3046 ## -------------------- ##
   3047 
   3048 ac_ext=c
   3049 ac_cpp='$CPP $CPPFLAGS'
   3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3053 
   3054 
   3055 
   3056 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3057 
   3058 
   3059 
   3060 
   3061 
   3062   # Make sure we can run config.sub.
   3063 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3064   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3065 
   3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3067 printf %s "checking build system type... " >&6; }
   3068 if test ${ac_cv_build+y}
   3069 then :
   3070   printf %s "(cached) " >&6
   3071 else case e in #(
   3072   e) ac_build_alias=$build_alias
   3073 test "x$ac_build_alias" = x &&
   3074   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3075 test "x$ac_build_alias" = x &&
   3076   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3077 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3078   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3079  ;;
   3080 esac
   3081 fi
   3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3083 printf "%s\n" "$ac_cv_build" >&6; }
   3084 case $ac_cv_build in
   3085 *-*-*) ;;
   3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3087 esac
   3088 build=$ac_cv_build
   3089 ac_save_IFS=$IFS; IFS='-'
   3090 set x $ac_cv_build
   3091 shift
   3092 build_cpu=$1
   3093 build_vendor=$2
   3094 shift; shift
   3095 # Remember, the first character of IFS is used to create $*,
   3096 # except with old shells:
   3097 build_os=$*
   3098 IFS=$ac_save_IFS
   3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3100 
   3101 
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3103 printf %s "checking host system type... " >&6; }
   3104 if test ${ac_cv_host+y}
   3105 then :
   3106   printf %s "(cached) " >&6
   3107 else case e in #(
   3108   e) if test "x$host_alias" = x; then
   3109   ac_cv_host=$ac_cv_build
   3110 else
   3111   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3112     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3113 fi
   3114  ;;
   3115 esac
   3116 fi
   3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3118 printf "%s\n" "$ac_cv_host" >&6; }
   3119 case $ac_cv_host in
   3120 *-*-*) ;;
   3121 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3122 esac
   3123 host=$ac_cv_host
   3124 ac_save_IFS=$IFS; IFS='-'
   3125 set x $ac_cv_host
   3126 shift
   3127 host_cpu=$1
   3128 host_vendor=$2
   3129 shift; shift
   3130 # Remember, the first character of IFS is used to create $*,
   3131 # except with old shells:
   3132 host_os=$*
   3133 IFS=$ac_save_IFS
   3134 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3135 
   3136 
   3137 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3138 # Must be called before any macros that run the compiler (like LT_INIT)
   3139 # to avoid autoconf errors.
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 # Expand $ac_aux_dir to an absolute path.
   3151 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3152 
   3153 ac_ext=c
   3154 ac_cpp='$CPP $CPPFLAGS'
   3155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3158 if test -n "$ac_tool_prefix"; then
   3159   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3160 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3162 printf %s "checking for $ac_word... " >&6; }
   3163 if test ${ac_cv_prog_CC+y}
   3164 then :
   3165   printf %s "(cached) " >&6
   3166 else case e in #(
   3167   e) if test -n "$CC"; then
   3168   ac_cv_prog_CC="$CC" # Let the user override the test.
   3169 else
   3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3171 for as_dir in $PATH
   3172 do
   3173   IFS=$as_save_IFS
   3174   case $as_dir in #(((
   3175     '') as_dir=./ ;;
   3176     */) ;;
   3177     *) as_dir=$as_dir/ ;;
   3178   esac
   3179     for ac_exec_ext in '' $ac_executable_extensions; do
   3180   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3181     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3182     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3183     break 2
   3184   fi
   3185 done
   3186   done
   3187 IFS=$as_save_IFS
   3188 
   3189 fi ;;
   3190 esac
   3191 fi
   3192 CC=$ac_cv_prog_CC
   3193 if test -n "$CC"; then
   3194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3195 printf "%s\n" "$CC" >&6; }
   3196 else
   3197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 printf "%s\n" "no" >&6; }
   3199 fi
   3200 
   3201 
   3202 fi
   3203 if test -z "$ac_cv_prog_CC"; then
   3204   ac_ct_CC=$CC
   3205   # Extract the first word of "gcc", so it can be a program name with args.
   3206 set dummy gcc; ac_word=$2
   3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3208 printf %s "checking for $ac_word... " >&6; }
   3209 if test ${ac_cv_prog_ac_ct_CC+y}
   3210 then :
   3211   printf %s "(cached) " >&6
   3212 else case e in #(
   3213   e) if test -n "$ac_ct_CC"; then
   3214   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3215 else
   3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3217 for as_dir in $PATH
   3218 do
   3219   IFS=$as_save_IFS
   3220   case $as_dir in #(((
   3221     '') as_dir=./ ;;
   3222     */) ;;
   3223     *) as_dir=$as_dir/ ;;
   3224   esac
   3225     for ac_exec_ext in '' $ac_executable_extensions; do
   3226   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3227     ac_cv_prog_ac_ct_CC="gcc"
   3228     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3229     break 2
   3230   fi
   3231 done
   3232   done
   3233 IFS=$as_save_IFS
   3234 
   3235 fi ;;
   3236 esac
   3237 fi
   3238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3239 if test -n "$ac_ct_CC"; then
   3240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3241 printf "%s\n" "$ac_ct_CC" >&6; }
   3242 else
   3243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3244 printf "%s\n" "no" >&6; }
   3245 fi
   3246 
   3247   if test "x$ac_ct_CC" = x; then
   3248     CC=""
   3249   else
   3250     case $cross_compiling:$ac_tool_warned in
   3251 yes:)
   3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3254 ac_tool_warned=yes ;;
   3255 esac
   3256     CC=$ac_ct_CC
   3257   fi
   3258 else
   3259   CC="$ac_cv_prog_CC"
   3260 fi
   3261 
   3262 if test -z "$CC"; then
   3263           if test -n "$ac_tool_prefix"; then
   3264     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3265 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3267 printf %s "checking for $ac_word... " >&6; }
   3268 if test ${ac_cv_prog_CC+y}
   3269 then :
   3270   printf %s "(cached) " >&6
   3271 else case e in #(
   3272   e) if test -n "$CC"; then
   3273   ac_cv_prog_CC="$CC" # Let the user override the test.
   3274 else
   3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3276 for as_dir in $PATH
   3277 do
   3278   IFS=$as_save_IFS
   3279   case $as_dir in #(((
   3280     '') as_dir=./ ;;
   3281     */) ;;
   3282     *) as_dir=$as_dir/ ;;
   3283   esac
   3284     for ac_exec_ext in '' $ac_executable_extensions; do
   3285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3286     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3287     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3288     break 2
   3289   fi
   3290 done
   3291   done
   3292 IFS=$as_save_IFS
   3293 
   3294 fi ;;
   3295 esac
   3296 fi
   3297 CC=$ac_cv_prog_CC
   3298 if test -n "$CC"; then
   3299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3300 printf "%s\n" "$CC" >&6; }
   3301 else
   3302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 printf "%s\n" "no" >&6; }
   3304 fi
   3305 
   3306 
   3307   fi
   3308 fi
   3309 if test -z "$CC"; then
   3310   # Extract the first word of "cc", so it can be a program name with args.
   3311 set dummy cc; ac_word=$2
   3312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3313 printf %s "checking for $ac_word... " >&6; }
   3314 if test ${ac_cv_prog_CC+y}
   3315 then :
   3316   printf %s "(cached) " >&6
   3317 else case e in #(
   3318   e) if test -n "$CC"; then
   3319   ac_cv_prog_CC="$CC" # Let the user override the test.
   3320 else
   3321   ac_prog_rejected=no
   3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3323 for as_dir in $PATH
   3324 do
   3325   IFS=$as_save_IFS
   3326   case $as_dir in #(((
   3327     '') as_dir=./ ;;
   3328     */) ;;
   3329     *) as_dir=$as_dir/ ;;
   3330   esac
   3331     for ac_exec_ext in '' $ac_executable_extensions; do
   3332   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3333     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3334        ac_prog_rejected=yes
   3335        continue
   3336      fi
   3337     ac_cv_prog_CC="cc"
   3338     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3339     break 2
   3340   fi
   3341 done
   3342   done
   3343 IFS=$as_save_IFS
   3344 
   3345 if test $ac_prog_rejected = yes; then
   3346   # We found a bogon in the path, so make sure we never use it.
   3347   set dummy $ac_cv_prog_CC
   3348   shift
   3349   if test $# != 0; then
   3350     # We chose a different compiler from the bogus one.
   3351     # However, it has the same basename, so the bogon will be chosen
   3352     # first if we set CC to just the basename; use the full file name.
   3353     shift
   3354     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3355   fi
   3356 fi
   3357 fi ;;
   3358 esac
   3359 fi
   3360 CC=$ac_cv_prog_CC
   3361 if test -n "$CC"; then
   3362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3363 printf "%s\n" "$CC" >&6; }
   3364 else
   3365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3366 printf "%s\n" "no" >&6; }
   3367 fi
   3368 
   3369 
   3370 fi
   3371 if test -z "$CC"; then
   3372   if test -n "$ac_tool_prefix"; then
   3373   for ac_prog in cl.exe
   3374   do
   3375     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3378 printf %s "checking for $ac_word... " >&6; }
   3379 if test ${ac_cv_prog_CC+y}
   3380 then :
   3381   printf %s "(cached) " >&6
   3382 else case e in #(
   3383   e) if test -n "$CC"; then
   3384   ac_cv_prog_CC="$CC" # Let the user override the test.
   3385 else
   3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3387 for as_dir in $PATH
   3388 do
   3389   IFS=$as_save_IFS
   3390   case $as_dir in #(((
   3391     '') as_dir=./ ;;
   3392     */) ;;
   3393     *) as_dir=$as_dir/ ;;
   3394   esac
   3395     for ac_exec_ext in '' $ac_executable_extensions; do
   3396   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3397     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3398     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3399     break 2
   3400   fi
   3401 done
   3402   done
   3403 IFS=$as_save_IFS
   3404 
   3405 fi ;;
   3406 esac
   3407 fi
   3408 CC=$ac_cv_prog_CC
   3409 if test -n "$CC"; then
   3410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3411 printf "%s\n" "$CC" >&6; }
   3412 else
   3413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3414 printf "%s\n" "no" >&6; }
   3415 fi
   3416 
   3417 
   3418     test -n "$CC" && break
   3419   done
   3420 fi
   3421 if test -z "$CC"; then
   3422   ac_ct_CC=$CC
   3423   for ac_prog in cl.exe
   3424 do
   3425   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3426 set dummy $ac_prog; ac_word=$2
   3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3428 printf %s "checking for $ac_word... " >&6; }
   3429 if test ${ac_cv_prog_ac_ct_CC+y}
   3430 then :
   3431   printf %s "(cached) " >&6
   3432 else case e in #(
   3433   e) if test -n "$ac_ct_CC"; then
   3434   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3435 else
   3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3437 for as_dir in $PATH
   3438 do
   3439   IFS=$as_save_IFS
   3440   case $as_dir in #(((
   3441     '') as_dir=./ ;;
   3442     */) ;;
   3443     *) as_dir=$as_dir/ ;;
   3444   esac
   3445     for ac_exec_ext in '' $ac_executable_extensions; do
   3446   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3447     ac_cv_prog_ac_ct_CC="$ac_prog"
   3448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3449     break 2
   3450   fi
   3451 done
   3452   done
   3453 IFS=$as_save_IFS
   3454 
   3455 fi ;;
   3456 esac
   3457 fi
   3458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3459 if test -n "$ac_ct_CC"; then
   3460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3461 printf "%s\n" "$ac_ct_CC" >&6; }
   3462 else
   3463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3464 printf "%s\n" "no" >&6; }
   3465 fi
   3466 
   3467 
   3468   test -n "$ac_ct_CC" && break
   3469 done
   3470 
   3471   if test "x$ac_ct_CC" = x; then
   3472     CC=""
   3473   else
   3474     case $cross_compiling:$ac_tool_warned in
   3475 yes:)
   3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3477 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3478 ac_tool_warned=yes ;;
   3479 esac
   3480     CC=$ac_ct_CC
   3481   fi
   3482 fi
   3483 
   3484 fi
   3485 if test -z "$CC"; then
   3486   if test -n "$ac_tool_prefix"; then
   3487   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3488 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3490 printf %s "checking for $ac_word... " >&6; }
   3491 if test ${ac_cv_prog_CC+y}
   3492 then :
   3493   printf %s "(cached) " >&6
   3494 else case e in #(
   3495   e) if test -n "$CC"; then
   3496   ac_cv_prog_CC="$CC" # Let the user override the test.
   3497 else
   3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3499 for as_dir in $PATH
   3500 do
   3501   IFS=$as_save_IFS
   3502   case $as_dir in #(((
   3503     '') as_dir=./ ;;
   3504     */) ;;
   3505     *) as_dir=$as_dir/ ;;
   3506   esac
   3507     for ac_exec_ext in '' $ac_executable_extensions; do
   3508   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3509     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3510     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3511     break 2
   3512   fi
   3513 done
   3514   done
   3515 IFS=$as_save_IFS
   3516 
   3517 fi ;;
   3518 esac
   3519 fi
   3520 CC=$ac_cv_prog_CC
   3521 if test -n "$CC"; then
   3522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3523 printf "%s\n" "$CC" >&6; }
   3524 else
   3525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3526 printf "%s\n" "no" >&6; }
   3527 fi
   3528 
   3529 
   3530 fi
   3531 if test -z "$ac_cv_prog_CC"; then
   3532   ac_ct_CC=$CC
   3533   # Extract the first word of "clang", so it can be a program name with args.
   3534 set dummy clang; ac_word=$2
   3535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3536 printf %s "checking for $ac_word... " >&6; }
   3537 if test ${ac_cv_prog_ac_ct_CC+y}
   3538 then :
   3539   printf %s "(cached) " >&6
   3540 else case e in #(
   3541   e) if test -n "$ac_ct_CC"; then
   3542   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3543 else
   3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3545 for as_dir in $PATH
   3546 do
   3547   IFS=$as_save_IFS
   3548   case $as_dir in #(((
   3549     '') as_dir=./ ;;
   3550     */) ;;
   3551     *) as_dir=$as_dir/ ;;
   3552   esac
   3553     for ac_exec_ext in '' $ac_executable_extensions; do
   3554   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3555     ac_cv_prog_ac_ct_CC="clang"
   3556     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3557     break 2
   3558   fi
   3559 done
   3560   done
   3561 IFS=$as_save_IFS
   3562 
   3563 fi ;;
   3564 esac
   3565 fi
   3566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3567 if test -n "$ac_ct_CC"; then
   3568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3569 printf "%s\n" "$ac_ct_CC" >&6; }
   3570 else
   3571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3572 printf "%s\n" "no" >&6; }
   3573 fi
   3574 
   3575   if test "x$ac_ct_CC" = x; then
   3576     CC=""
   3577   else
   3578     case $cross_compiling:$ac_tool_warned in
   3579 yes:)
   3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3582 ac_tool_warned=yes ;;
   3583 esac
   3584     CC=$ac_ct_CC
   3585   fi
   3586 else
   3587   CC="$ac_cv_prog_CC"
   3588 fi
   3589 
   3590 fi
   3591 
   3592 
   3593 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3594 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3595 as_fn_error $? "no acceptable C compiler found in \$PATH
   3596 See 'config.log' for more details" "$LINENO" 5; }
   3597 
   3598 # Provide some information about the compiler.
   3599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3600 set X $ac_compile
   3601 ac_compiler=$2
   3602 for ac_option in --version -v -V -qversion -version; do
   3603   { { ac_try="$ac_compiler $ac_option >&5"
   3604 case "(($ac_try" in
   3605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3606   *) ac_try_echo=$ac_try;;
   3607 esac
   3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3609 printf "%s\n" "$ac_try_echo"; } >&5
   3610   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3611   ac_status=$?
   3612   if test -s conftest.err; then
   3613     sed '10a\
   3614 ... rest of stderr output deleted ...
   3615          10q' conftest.err >conftest.er1
   3616     cat conftest.er1 >&5
   3617   fi
   3618   rm -f conftest.er1 conftest.err
   3619   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3620   test $ac_status = 0; }
   3621 done
   3622 
   3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main (void)
   3628 {
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 ac_clean_files_save=$ac_clean_files
   3635 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3636 # Try to create an executable without -o first, disregard a.out.
   3637 # It will help us diagnose broken compilers, and finding out an intuition
   3638 # of exeext.
   3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3640 printf %s "checking whether the C compiler works... " >&6; }
   3641 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3642 
   3643 # The possible output files:
   3644 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3645 
   3646 ac_rmfiles=
   3647 for ac_file in $ac_files
   3648 do
   3649   case $ac_file in
   3650     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3651     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3652   esac
   3653 done
   3654 rm -f $ac_rmfiles
   3655 
   3656 if { { ac_try="$ac_link_default"
   3657 case "(($ac_try" in
   3658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3659   *) ac_try_echo=$ac_try;;
   3660 esac
   3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3662 printf "%s\n" "$ac_try_echo"; } >&5
   3663   (eval "$ac_link_default") 2>&5
   3664   ac_status=$?
   3665   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3666   test $ac_status = 0; }
   3667 then :
   3668   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3669 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3670 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3671 # so that the user can short-circuit this test for compilers unknown to
   3672 # Autoconf.
   3673 for ac_file in $ac_files ''
   3674 do
   3675   test -f "$ac_file" || continue
   3676   case $ac_file in
   3677     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3678 	;;
   3679     [ab].out )
   3680 	# We found the default executable, but exeext='' is most
   3681 	# certainly right.
   3682 	break;;
   3683     *.* )
   3684 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3685 	then :; else
   3686 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3687 	fi
   3688 	# We set ac_cv_exeext here because the later test for it is not
   3689 	# safe: cross compilers may not add the suffix if given an '-o'
   3690 	# argument, so we may need to know it at that point already.
   3691 	# Even if this section looks crufty: it has the advantage of
   3692 	# actually working.
   3693 	break;;
   3694     * )
   3695 	break;;
   3696   esac
   3697 done
   3698 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3699 
   3700 else case e in #(
   3701   e) ac_file='' ;;
   3702 esac
   3703 fi
   3704 if test -z "$ac_file"
   3705 then :
   3706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3707 printf "%s\n" "no" >&6; }
   3708 printf "%s\n" "$as_me: failed program was:" >&5
   3709 sed 's/^/| /' conftest.$ac_ext >&5
   3710 
   3711 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3712 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3713 as_fn_error 77 "C compiler cannot create executables
   3714 See 'config.log' for more details" "$LINENO" 5; }
   3715 else case e in #(
   3716   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3717 printf "%s\n" "yes" >&6; } ;;
   3718 esac
   3719 fi
   3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3721 printf %s "checking for C compiler default output file name... " >&6; }
   3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3723 printf "%s\n" "$ac_file" >&6; }
   3724 ac_exeext=$ac_cv_exeext
   3725 
   3726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3727 ac_clean_files=$ac_clean_files_save
   3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3729 printf %s "checking for suffix of executables... " >&6; }
   3730 if { { ac_try="$ac_link"
   3731 case "(($ac_try" in
   3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3733   *) ac_try_echo=$ac_try;;
   3734 esac
   3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3736 printf "%s\n" "$ac_try_echo"; } >&5
   3737   (eval "$ac_link") 2>&5
   3738   ac_status=$?
   3739   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3740   test $ac_status = 0; }
   3741 then :
   3742   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3743 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3744 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3745 # 'rm'.
   3746 for ac_file in conftest.exe conftest conftest.*; do
   3747   test -f "$ac_file" || continue
   3748   case $ac_file in
   3749     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3750     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3751 	  break;;
   3752     * ) break;;
   3753   esac
   3754 done
   3755 else case e in #(
   3756   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3757 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3758 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3759 See 'config.log' for more details" "$LINENO" 5; } ;;
   3760 esac
   3761 fi
   3762 rm -f conftest conftest$ac_cv_exeext
   3763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3764 printf "%s\n" "$ac_cv_exeext" >&6; }
   3765 
   3766 rm -f conftest.$ac_ext
   3767 EXEEXT=$ac_cv_exeext
   3768 ac_exeext=$EXEEXT
   3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3770 /* end confdefs.h.  */
   3771 #include <stdio.h>
   3772 int
   3773 main (void)
   3774 {
   3775 FILE *f = fopen ("conftest.out", "w");
   3776  if (!f)
   3777   return 1;
   3778  return ferror (f) || fclose (f) != 0;
   3779 
   3780   ;
   3781   return 0;
   3782 }
   3783 _ACEOF
   3784 ac_clean_files="$ac_clean_files conftest.out"
   3785 # Check that the compiler produces executables we can run.  If not, either
   3786 # the compiler is broken, or we cross compile.
   3787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3788 printf %s "checking whether we are cross compiling... " >&6; }
   3789 if test "$cross_compiling" != yes; then
   3790   { { ac_try="$ac_link"
   3791 case "(($ac_try" in
   3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3793   *) ac_try_echo=$ac_try;;
   3794 esac
   3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3796 printf "%s\n" "$ac_try_echo"; } >&5
   3797   (eval "$ac_link") 2>&5
   3798   ac_status=$?
   3799   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3800   test $ac_status = 0; }
   3801   if { ac_try='./conftest$ac_cv_exeext'
   3802   { { case "(($ac_try" in
   3803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3804   *) ac_try_echo=$ac_try;;
   3805 esac
   3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3807 printf "%s\n" "$ac_try_echo"; } >&5
   3808   (eval "$ac_try") 2>&5
   3809   ac_status=$?
   3810   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3811   test $ac_status = 0; }; }; then
   3812     cross_compiling=no
   3813   else
   3814     if test "$cross_compiling" = maybe; then
   3815 	cross_compiling=yes
   3816     else
   3817 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3818 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3819 as_fn_error 77 "cannot run C compiled programs.
   3820 If you meant to cross compile, use '--host'.
   3821 See 'config.log' for more details" "$LINENO" 5; }
   3822     fi
   3823   fi
   3824 fi
   3825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3826 printf "%s\n" "$cross_compiling" >&6; }
   3827 
   3828 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3829   conftest.o conftest.obj conftest.out
   3830 ac_clean_files=$ac_clean_files_save
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3832 printf %s "checking for suffix of object files... " >&6; }
   3833 if test ${ac_cv_objext+y}
   3834 then :
   3835   printf %s "(cached) " >&6
   3836 else case e in #(
   3837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 
   3840 int
   3841 main (void)
   3842 {
   3843 
   3844   ;
   3845   return 0;
   3846 }
   3847 _ACEOF
   3848 rm -f conftest.o conftest.obj
   3849 if { { ac_try="$ac_compile"
   3850 case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3855 printf "%s\n" "$ac_try_echo"; } >&5
   3856   (eval "$ac_compile") 2>&5
   3857   ac_status=$?
   3858   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3859   test $ac_status = 0; }
   3860 then :
   3861   for ac_file in conftest.o conftest.obj conftest.*; do
   3862   test -f "$ac_file" || continue;
   3863   case $ac_file in
   3864     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3865     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3866        break;;
   3867   esac
   3868 done
   3869 else case e in #(
   3870   e) printf "%s\n" "$as_me: failed program was:" >&5
   3871 sed 's/^/| /' conftest.$ac_ext >&5
   3872 
   3873 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3874 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3875 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3876 See 'config.log' for more details" "$LINENO" 5; } ;;
   3877 esac
   3878 fi
   3879 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3880 esac
   3881 fi
   3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3883 printf "%s\n" "$ac_cv_objext" >&6; }
   3884 OBJEXT=$ac_cv_objext
   3885 ac_objext=$OBJEXT
   3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3887 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3888 if test ${ac_cv_c_compiler_gnu+y}
   3889 then :
   3890   printf %s "(cached) " >&6
   3891 else case e in #(
   3892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3893 /* end confdefs.h.  */
   3894 
   3895 int
   3896 main (void)
   3897 {
   3898 #ifndef __GNUC__
   3899        choke me
   3900 #endif
   3901 
   3902   ;
   3903   return 0;
   3904 }
   3905 _ACEOF
   3906 if ac_fn_c_try_compile "$LINENO"
   3907 then :
   3908   ac_compiler_gnu=yes
   3909 else case e in #(
   3910   e) ac_compiler_gnu=no ;;
   3911 esac
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3914 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3915  ;;
   3916 esac
   3917 fi
   3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3919 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3921 
   3922 if test $ac_compiler_gnu = yes; then
   3923   GCC=yes
   3924 else
   3925   GCC=
   3926 fi
   3927 ac_test_CFLAGS=${CFLAGS+y}
   3928 ac_save_CFLAGS=$CFLAGS
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3930 printf %s "checking whether $CC accepts -g... " >&6; }
   3931 if test ${ac_cv_prog_cc_g+y}
   3932 then :
   3933   printf %s "(cached) " >&6
   3934 else case e in #(
   3935   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3936    ac_c_werror_flag=yes
   3937    ac_cv_prog_cc_g=no
   3938    CFLAGS="-g"
   3939    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 
   3942 int
   3943 main (void)
   3944 {
   3945 
   3946   ;
   3947   return 0;
   3948 }
   3949 _ACEOF
   3950 if ac_fn_c_try_compile "$LINENO"
   3951 then :
   3952   ac_cv_prog_cc_g=yes
   3953 else case e in #(
   3954   e) CFLAGS=""
   3955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3956 /* end confdefs.h.  */
   3957 
   3958 int
   3959 main (void)
   3960 {
   3961 
   3962   ;
   3963   return 0;
   3964 }
   3965 _ACEOF
   3966 if ac_fn_c_try_compile "$LINENO"
   3967 then :
   3968 
   3969 else case e in #(
   3970   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3971 	 CFLAGS="-g"
   3972 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3973 /* end confdefs.h.  */
   3974 
   3975 int
   3976 main (void)
   3977 {
   3978 
   3979   ;
   3980   return 0;
   3981 }
   3982 _ACEOF
   3983 if ac_fn_c_try_compile "$LINENO"
   3984 then :
   3985   ac_cv_prog_cc_g=yes
   3986 fi
   3987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3988 esac
   3989 fi
   3990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3991 esac
   3992 fi
   3993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3994    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3995 esac
   3996 fi
   3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3998 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3999 if test $ac_test_CFLAGS; then
   4000   CFLAGS=$ac_save_CFLAGS
   4001 elif test $ac_cv_prog_cc_g = yes; then
   4002   if test "$GCC" = yes; then
   4003     CFLAGS="-g -O2"
   4004   else
   4005     CFLAGS="-g"
   4006   fi
   4007 else
   4008   if test "$GCC" = yes; then
   4009     CFLAGS="-O2"
   4010   else
   4011     CFLAGS=
   4012   fi
   4013 fi
   4014 ac_prog_cc_stdc=no
   4015 if test x$ac_prog_cc_stdc = xno
   4016 then :
   4017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4018 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4019 if test ${ac_cv_prog_cc_c11+y}
   4020 then :
   4021   printf %s "(cached) " >&6
   4022 else case e in #(
   4023   e) ac_cv_prog_cc_c11=no
   4024 ac_save_CC=$CC
   4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4026 /* end confdefs.h.  */
   4027 $ac_c_conftest_c11_program
   4028 _ACEOF
   4029 for ac_arg in '' -std=gnu11
   4030 do
   4031   CC="$ac_save_CC $ac_arg"
   4032   if ac_fn_c_try_compile "$LINENO"
   4033 then :
   4034   ac_cv_prog_cc_c11=$ac_arg
   4035 fi
   4036 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4037   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4038 done
   4039 rm -f conftest.$ac_ext
   4040 CC=$ac_save_CC ;;
   4041 esac
   4042 fi
   4043 
   4044 if test "x$ac_cv_prog_cc_c11" = xno
   4045 then :
   4046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4047 printf "%s\n" "unsupported" >&6; }
   4048 else case e in #(
   4049   e) if test "x$ac_cv_prog_cc_c11" = x
   4050 then :
   4051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4052 printf "%s\n" "none needed" >&6; }
   4053 else case e in #(
   4054   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4055 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4056      CC="$CC $ac_cv_prog_cc_c11" ;;
   4057 esac
   4058 fi
   4059   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4060   ac_prog_cc_stdc=c11 ;;
   4061 esac
   4062 fi
   4063 fi
   4064 if test x$ac_prog_cc_stdc = xno
   4065 then :
   4066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4067 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4068 if test ${ac_cv_prog_cc_c99+y}
   4069 then :
   4070   printf %s "(cached) " >&6
   4071 else case e in #(
   4072   e) ac_cv_prog_cc_c99=no
   4073 ac_save_CC=$CC
   4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4075 /* end confdefs.h.  */
   4076 $ac_c_conftest_c99_program
   4077 _ACEOF
   4078 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4079 do
   4080   CC="$ac_save_CC $ac_arg"
   4081   if ac_fn_c_try_compile "$LINENO"
   4082 then :
   4083   ac_cv_prog_cc_c99=$ac_arg
   4084 fi
   4085 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4086   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4087 done
   4088 rm -f conftest.$ac_ext
   4089 CC=$ac_save_CC ;;
   4090 esac
   4091 fi
   4092 
   4093 if test "x$ac_cv_prog_cc_c99" = xno
   4094 then :
   4095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4096 printf "%s\n" "unsupported" >&6; }
   4097 else case e in #(
   4098   e) if test "x$ac_cv_prog_cc_c99" = x
   4099 then :
   4100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4101 printf "%s\n" "none needed" >&6; }
   4102 else case e in #(
   4103   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4104 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4105      CC="$CC $ac_cv_prog_cc_c99" ;;
   4106 esac
   4107 fi
   4108   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4109   ac_prog_cc_stdc=c99 ;;
   4110 esac
   4111 fi
   4112 fi
   4113 if test x$ac_prog_cc_stdc = xno
   4114 then :
   4115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4116 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4117 if test ${ac_cv_prog_cc_c89+y}
   4118 then :
   4119   printf %s "(cached) " >&6
   4120 else case e in #(
   4121   e) ac_cv_prog_cc_c89=no
   4122 ac_save_CC=$CC
   4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4124 /* end confdefs.h.  */
   4125 $ac_c_conftest_c89_program
   4126 _ACEOF
   4127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4128 do
   4129   CC="$ac_save_CC $ac_arg"
   4130   if ac_fn_c_try_compile "$LINENO"
   4131 then :
   4132   ac_cv_prog_cc_c89=$ac_arg
   4133 fi
   4134 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4135   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4136 done
   4137 rm -f conftest.$ac_ext
   4138 CC=$ac_save_CC ;;
   4139 esac
   4140 fi
   4141 
   4142 if test "x$ac_cv_prog_cc_c89" = xno
   4143 then :
   4144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4145 printf "%s\n" "unsupported" >&6; }
   4146 else case e in #(
   4147   e) if test "x$ac_cv_prog_cc_c89" = x
   4148 then :
   4149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4150 printf "%s\n" "none needed" >&6; }
   4151 else case e in #(
   4152   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4153 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4154      CC="$CC $ac_cv_prog_cc_c89" ;;
   4155 esac
   4156 fi
   4157   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4158   ac_prog_cc_stdc=c89 ;;
   4159 esac
   4160 fi
   4161 fi
   4162 
   4163 ac_ext=c
   4164 ac_cpp='$CPP $CPPFLAGS'
   4165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4168 
   4169 
   4170   ac_ext=c
   4171 ac_cpp='$CPP $CPPFLAGS'
   4172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4176 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4177 if test ${am_cv_prog_cc_c_o+y}
   4178 then :
   4179   printf %s "(cached) " >&6
   4180 else case e in #(
   4181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 
   4184 int
   4185 main (void)
   4186 {
   4187 
   4188   ;
   4189   return 0;
   4190 }
   4191 _ACEOF
   4192   # Make sure it works both with $CC and with simple cc.
   4193   # Following AC_PROG_CC_C_O, we do the test twice because some
   4194   # compilers refuse to overwrite an existing .o file with -o,
   4195   # though they will create one.
   4196   am_cv_prog_cc_c_o=yes
   4197   for am_i in 1 2; do
   4198     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4199    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4200    ac_status=$?
   4201    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4202    (exit $ac_status); } \
   4203          && test -f conftest2.$ac_objext; then
   4204       : OK
   4205     else
   4206       am_cv_prog_cc_c_o=no
   4207       break
   4208     fi
   4209   done
   4210   rm -f core conftest*
   4211   unset am_i ;;
   4212 esac
   4213 fi
   4214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4215 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4216 if test "$am_cv_prog_cc_c_o" != yes; then
   4217    # Losing compiler, so override with the script.
   4218    # FIXME: It is wrong to rewrite CC.
   4219    # But if we don't then we get into trouble of one sort or another.
   4220    # A longer-term fix would be to have automake use am__CC in this case,
   4221    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4222    CC="$am_aux_dir/compile $CC"
   4223 fi
   4224 ac_ext=c
   4225 ac_cpp='$CPP $CPPFLAGS'
   4226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4229 
   4230 
   4231 
   4232 ac_header= ac_cache=
   4233 for ac_item in $ac_header_c_list
   4234 do
   4235   if test $ac_cache; then
   4236     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4237     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4238       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4239     fi
   4240     ac_header= ac_cache=
   4241   elif test $ac_header; then
   4242     ac_cache=$ac_item
   4243   else
   4244     ac_header=$ac_item
   4245   fi
   4246 done
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4256 then :
   4257 
   4258 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4259 
   4260 fi
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 
   4267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4268 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4269 if test ${ac_cv_safe_to_define___extensions__+y}
   4270 then :
   4271   printf %s "(cached) " >&6
   4272 else case e in #(
   4273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4274 /* end confdefs.h.  */
   4275 
   4276 #         define __EXTENSIONS__ 1
   4277           $ac_includes_default
   4278 int
   4279 main (void)
   4280 {
   4281 
   4282   ;
   4283   return 0;
   4284 }
   4285 _ACEOF
   4286 if ac_fn_c_try_compile "$LINENO"
   4287 then :
   4288   ac_cv_safe_to_define___extensions__=yes
   4289 else case e in #(
   4290   e) ac_cv_safe_to_define___extensions__=no ;;
   4291 esac
   4292 fi
   4293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4294 esac
   4295 fi
   4296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4297 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4298 
   4299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4300 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4301 if test ${ac_cv_should_define__xopen_source+y}
   4302 then :
   4303   printf %s "(cached) " >&6
   4304 else case e in #(
   4305   e) ac_cv_should_define__xopen_source=no
   4306     if test $ac_cv_header_wchar_h = yes
   4307 then :
   4308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4309 /* end confdefs.h.  */
   4310 
   4311           #include <wchar.h>
   4312           mbstate_t x;
   4313 int
   4314 main (void)
   4315 {
   4316 
   4317   ;
   4318   return 0;
   4319 }
   4320 _ACEOF
   4321 if ac_fn_c_try_compile "$LINENO"
   4322 then :
   4323 
   4324 else case e in #(
   4325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4326 /* end confdefs.h.  */
   4327 
   4328             #define _XOPEN_SOURCE 500
   4329             #include <wchar.h>
   4330             mbstate_t x;
   4331 int
   4332 main (void)
   4333 {
   4334 
   4335   ;
   4336   return 0;
   4337 }
   4338 _ACEOF
   4339 if ac_fn_c_try_compile "$LINENO"
   4340 then :
   4341   ac_cv_should_define__xopen_source=yes
   4342 fi
   4343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4344 esac
   4345 fi
   4346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4347 fi ;;
   4348 esac
   4349 fi
   4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4351 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4352 
   4353   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4354 
   4355   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4356 
   4357   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4358 
   4359   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4360 
   4361   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4362 
   4363   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4364 
   4365   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4366 
   4367   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4368 
   4369   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4370 
   4371   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4372 
   4373   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4374 
   4375   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4376 
   4377   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4378 
   4379   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4380 
   4381   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4382 
   4383   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4384 
   4385   if test $ac_cv_header_minix_config_h = yes
   4386 then :
   4387   MINIX=yes
   4388     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4389 
   4390     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4391 
   4392     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4393 
   4394 else case e in #(
   4395   e) MINIX= ;;
   4396 esac
   4397 fi
   4398   if test $ac_cv_safe_to_define___extensions__ = yes
   4399 then :
   4400   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4401 
   4402 fi
   4403   if test $ac_cv_should_define__xopen_source = yes
   4404 then :
   4405   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4406 
   4407 fi
   4408 
   4409 
   4410 # Initialize Automake
   4411 am__api_version='1.17'
   4412 
   4413 
   4414   # Find a good install program.  We prefer a C program (faster),
   4415 # so one script is as good as another.  But avoid the broken or
   4416 # incompatible versions:
   4417 # SysV /etc/install, /usr/sbin/install
   4418 # SunOS /usr/etc/install
   4419 # IRIX /sbin/install
   4420 # AIX /bin/install
   4421 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4425 # OS/2's system install, which has a completely different semantic
   4426 # ./install, which can be erroneously created by make from ./install.sh.
   4427 # Reject install programs that cannot install multiple files.
   4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4429 printf %s "checking for a BSD-compatible install... " >&6; }
   4430 if test -z "$INSTALL"; then
   4431 if test ${ac_cv_path_install+y}
   4432 then :
   4433   printf %s "(cached) " >&6
   4434 else case e in #(
   4435   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4436 for as_dir in $PATH
   4437 do
   4438   IFS=$as_save_IFS
   4439   case $as_dir in #(((
   4440     '') as_dir=./ ;;
   4441     */) ;;
   4442     *) as_dir=$as_dir/ ;;
   4443   esac
   4444     # Account for fact that we put trailing slashes in our PATH walk.
   4445 case $as_dir in #((
   4446   ./ | /[cC]/* | \
   4447   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4448   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4449   /usr/ucb/* ) ;;
   4450   *)
   4451     # OSF1 and SCO ODT 3.0 have their own names for install.
   4452     # Don't use installbsd from OSF since it installs stuff as root
   4453     # by default.
   4454     for ac_prog in ginstall scoinst install; do
   4455       for ac_exec_ext in '' $ac_executable_extensions; do
   4456 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4457 	  if test $ac_prog = install &&
   4458 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4459 	    # AIX install.  It has an incompatible calling convention.
   4460 	    :
   4461 	  elif test $ac_prog = install &&
   4462 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4463 	    # program-specific install script used by HP pwplus--don't use.
   4464 	    :
   4465 	  else
   4466 	    rm -rf conftest.one conftest.two conftest.dir
   4467 	    echo one > conftest.one
   4468 	    echo two > conftest.two
   4469 	    mkdir conftest.dir
   4470 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4471 	      test -s conftest.one && test -s conftest.two &&
   4472 	      test -s conftest.dir/conftest.one &&
   4473 	      test -s conftest.dir/conftest.two
   4474 	    then
   4475 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4476 	      break 3
   4477 	    fi
   4478 	  fi
   4479 	fi
   4480       done
   4481     done
   4482     ;;
   4483 esac
   4484 
   4485   done
   4486 IFS=$as_save_IFS
   4487 
   4488 rm -rf conftest.one conftest.two conftest.dir
   4489  ;;
   4490 esac
   4491 fi
   4492   if test ${ac_cv_path_install+y}; then
   4493     INSTALL=$ac_cv_path_install
   4494   else
   4495     # As a last resort, use the slow shell script.  Don't cache a
   4496     # value for INSTALL within a source directory, because that will
   4497     # break other packages using the cache if that directory is
   4498     # removed, or if the value is a relative name.
   4499     INSTALL=$ac_install_sh
   4500   fi
   4501 fi
   4502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4503 printf "%s\n" "$INSTALL" >&6; }
   4504 
   4505 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4506 # It thinks the first close brace ends the variable substitution.
   4507 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4508 
   4509 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4510 
   4511 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4512 
   4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4514 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4515 if test ${am_cv_sleep_fractional_seconds+y}
   4516 then :
   4517   printf %s "(cached) " >&6
   4518 else case e in #(
   4519   e) if sleep 0.001 2>/dev/null
   4520 then :
   4521   am_cv_sleep_fractional_seconds=yes
   4522 else case e in #(
   4523   e) am_cv_sleep_fractional_seconds=no ;;
   4524 esac
   4525 fi
   4526  ;;
   4527 esac
   4528 fi
   4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4530 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   4531 
   4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4533 printf %s "checking filesystem timestamp resolution... " >&6; }
   4534 if test ${am_cv_filesystem_timestamp_resolution+y}
   4535 then :
   4536   printf %s "(cached) " >&6
   4537 else case e in #(
   4538   e) # Default to the worst case.
   4539 am_cv_filesystem_timestamp_resolution=2
   4540 
   4541 # Only try to go finer than 1 sec if sleep can do it.
   4542 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4543 # - 1 sec is not much of a win compared to 2 sec, and
   4544 # - it takes 2 seconds to perform the test whether 1 sec works.
   4545 #
   4546 # Instead, just use the default 2s on platforms that have 1s resolution,
   4547 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4548 # exchange for not incurring the 2s delay for running the test for all
   4549 # packages.
   4550 #
   4551 am_try_resolutions=
   4552 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4553   # Even a millisecond often causes a bunch of false positives,
   4554   # so just try a hundredth of a second. The time saved between .001 and
   4555   # .01 is not terribly consequential.
   4556   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4557 fi
   4558 
   4559 # In order to catch current-generation FAT out, we must *modify* files
   4560 # that already exist; the *creation* timestamp is finer.  Use names
   4561 # that make ls -t sort them differently when they have equal
   4562 # timestamps than when they have distinct timestamps, keeping
   4563 # in mind that ls -t prints the *newest* file first.
   4564 rm -f conftest.ts?
   4565 : > conftest.ts1
   4566 : > conftest.ts2
   4567 : > conftest.ts3
   4568 
   4569 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4570 # clobber the current shell's arguments. (Outer-level square brackets
   4571 # are removed by m4; they're present so that m4 does not expand
   4572 # <dollar><star>; be careful, easy to get confused.)
   4573 if (
   4574      set X `ls -t conftest.ts[12]` &&
   4575      {
   4576        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4577        test "$*" != "X conftest.ts2 conftest.ts1";
   4578      }
   4579 ); then :; else
   4580   # If neither matched, then we have a broken ls.  This can happen
   4581   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4582   # broken ls alias from the environment.  This has actually
   4583   # happened.  Such a system could not be considered "sane".
   4584   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4585   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4586 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4587 as_fn_error $? "ls -t produces unexpected output.
   4588 Make sure there is not a broken ls alias in your environment.
   4589 See 'config.log' for more details" "$LINENO" 5; }
   4590 fi
   4591 
   4592 for am_try_res in $am_try_resolutions; do
   4593   # Any one fine-grained sleep might happen to cross the boundary
   4594   # between two values of a coarser actual resolution, but if we do
   4595   # two fine-grained sleeps in a row, at least one of them will fall
   4596   # entirely within a coarse interval.
   4597   echo alpha > conftest.ts1
   4598   sleep $am_try_res
   4599   echo beta > conftest.ts2
   4600   sleep $am_try_res
   4601   echo gamma > conftest.ts3
   4602 
   4603   # We assume that 'ls -t' will make use of high-resolution
   4604   # timestamps if the operating system supports them at all.
   4605   if (set X `ls -t conftest.ts?` &&
   4606       test "$2" = conftest.ts3 &&
   4607       test "$3" = conftest.ts2 &&
   4608       test "$4" = conftest.ts1); then
   4609     #
   4610     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4611     # because we don't need to test make.
   4612     make_ok=true
   4613     if test $am_try_res != 1; then
   4614       # But if we've succeeded so far with a subsecond resolution, we
   4615       # have one more thing to check: make. It can happen that
   4616       # everything else supports the subsecond mtimes, but make doesn't;
   4617       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4618       # released under GPLv2). https://bugs.gnu.org/68808
   4619       #
   4620       # We test $MAKE if it is defined in the environment, else "make".
   4621       # It might get overridden later, but our hope is that in practice
   4622       # it does not matter: it is the system "make" which is (by far)
   4623       # the most likely to be broken, whereas if the user overrides it,
   4624       # probably they did so with a better, or at least not worse, make.
   4625       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4626       #
   4627       # Create a Makefile (real tab character here):
   4628       rm -f conftest.mk
   4629       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4630       echo '	touch conftest.ts2' >>conftest.mk
   4631       #
   4632       # Now, running
   4633       #   touch conftest.ts1; touch conftest.ts2; make
   4634       # should touch ts1 because ts2 is newer. This could happen by luck,
   4635       # but most often, it will fail if make's support is insufficient. So
   4636       # test for several consecutive successes.
   4637       #
   4638       # (We reuse conftest.ts[12] because we still want to modify existing
   4639       # files, not create new ones, per above.)
   4640       n=0
   4641       make=${MAKE-make}
   4642       until test $n -eq 3; do
   4643         echo one > conftest.ts1
   4644         sleep $am_try_res
   4645         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4646         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4647           make_ok=false
   4648           break # out of $n loop
   4649         fi
   4650         n=`expr $n + 1`
   4651       done
   4652     fi
   4653     #
   4654     if $make_ok; then
   4655       # Everything we know to check worked out, so call this resolution good.
   4656       am_cv_filesystem_timestamp_resolution=$am_try_res
   4657       break # out of $am_try_res loop
   4658     fi
   4659     # Otherwise, we'll go on to check the next resolution.
   4660   fi
   4661 done
   4662 rm -f conftest.ts?
   4663 # (end _am_filesystem_timestamp_resolution)
   4664  ;;
   4665 esac
   4666 fi
   4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4668 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4669 
   4670 # This check should not be cached, as it may vary across builds of
   4671 # different projects.
   4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4673 printf %s "checking whether build environment is sane... " >&6; }
   4674 # Reject unsafe characters in $srcdir or the absolute working directory
   4675 # name.  Accept space and tab only in the latter.
   4676 am_lf='
   4677 '
   4678 case `pwd` in
   4679   *[\\\"\#\$\&\'\`$am_lf]*)
   4680     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4681 esac
   4682 case $srcdir in
   4683   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4684     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4685 esac
   4686 
   4687 # Do 'set' in a subshell so we don't clobber the current shell's
   4688 # arguments.  Must try -L first in case configure is actually a
   4689 # symlink; some systems play weird games with the mod time of symlinks
   4690 # (eg FreeBSD returns the mod time of the symlink's containing
   4691 # directory).
   4692 am_build_env_is_sane=no
   4693 am_has_slept=no
   4694 rm -f conftest.file
   4695 for am_try in 1 2; do
   4696   echo "timestamp, slept: $am_has_slept" > conftest.file
   4697   if (
   4698     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4699     if test "$*" = "X"; then
   4700       # -L didn't work.
   4701       set X `ls -t "$srcdir/configure" conftest.file`
   4702     fi
   4703     test "$2" = conftest.file
   4704   ); then
   4705     am_build_env_is_sane=yes
   4706     break
   4707   fi
   4708   # Just in case.
   4709   sleep "$am_cv_filesystem_timestamp_resolution"
   4710   am_has_slept=yes
   4711 done
   4712 
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4714 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4715 if test "$am_build_env_is_sane" = no; then
   4716   as_fn_error $? "newly created file is older than distributed files!
   4717 Check your system clock" "$LINENO" 5
   4718 fi
   4719 
   4720 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4721 # generated files are strictly newer.
   4722 am_sleep_pid=
   4723 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4724 then :
   4725 
   4726 else case e in #(
   4727   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4728   am_sleep_pid=$!
   4729  ;;
   4730 esac
   4731 fi
   4732 
   4733 rm -f conftest.file
   4734 
   4735 test "$program_prefix" != NONE &&
   4736   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4737 # Use a double $ so make ignores it.
   4738 test "$program_suffix" != NONE &&
   4739   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4740 # Double any \ or $.
   4741 # By default was 's,x,x', remove it if useless.
   4742 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4743 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4744 
   4745 
   4746   if test x"${MISSING+set}" != xset; then
   4747   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4748 fi
   4749 # Use eval to expand $SHELL
   4750 if eval "$MISSING --is-lightweight"; then
   4751   am_missing_run="$MISSING "
   4752 else
   4753   am_missing_run=
   4754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4755 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4756 fi
   4757 
   4758 if test x"${install_sh+set}" != xset; then
   4759   case $am_aux_dir in
   4760   *\ * | *\	*)
   4761     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4762   *)
   4763     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4764   esac
   4765 fi
   4766 
   4767 # Installed binaries are usually stripped using 'strip' when the user
   4768 # run "make install-strip".  However 'strip' might not be the right
   4769 # tool to use in cross-compilation environments, therefore Automake
   4770 # will honor the 'STRIP' environment variable to overrule this program.
   4771 if test "$cross_compiling" != no; then
   4772   if test -n "$ac_tool_prefix"; then
   4773   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4774 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4776 printf %s "checking for $ac_word... " >&6; }
   4777 if test ${ac_cv_prog_STRIP+y}
   4778 then :
   4779   printf %s "(cached) " >&6
   4780 else case e in #(
   4781   e) if test -n "$STRIP"; then
   4782   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4783 else
   4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4785 for as_dir in $PATH
   4786 do
   4787   IFS=$as_save_IFS
   4788   case $as_dir in #(((
   4789     '') as_dir=./ ;;
   4790     */) ;;
   4791     *) as_dir=$as_dir/ ;;
   4792   esac
   4793     for ac_exec_ext in '' $ac_executable_extensions; do
   4794   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4795     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4796     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4797     break 2
   4798   fi
   4799 done
   4800   done
   4801 IFS=$as_save_IFS
   4802 
   4803 fi ;;
   4804 esac
   4805 fi
   4806 STRIP=$ac_cv_prog_STRIP
   4807 if test -n "$STRIP"; then
   4808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4809 printf "%s\n" "$STRIP" >&6; }
   4810 else
   4811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4812 printf "%s\n" "no" >&6; }
   4813 fi
   4814 
   4815 
   4816 fi
   4817 if test -z "$ac_cv_prog_STRIP"; then
   4818   ac_ct_STRIP=$STRIP
   4819   # Extract the first word of "strip", so it can be a program name with args.
   4820 set dummy strip; ac_word=$2
   4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4822 printf %s "checking for $ac_word... " >&6; }
   4823 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4824 then :
   4825   printf %s "(cached) " >&6
   4826 else case e in #(
   4827   e) if test -n "$ac_ct_STRIP"; then
   4828   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4829 else
   4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4831 for as_dir in $PATH
   4832 do
   4833   IFS=$as_save_IFS
   4834   case $as_dir in #(((
   4835     '') as_dir=./ ;;
   4836     */) ;;
   4837     *) as_dir=$as_dir/ ;;
   4838   esac
   4839     for ac_exec_ext in '' $ac_executable_extensions; do
   4840   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4841     ac_cv_prog_ac_ct_STRIP="strip"
   4842     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4843     break 2
   4844   fi
   4845 done
   4846   done
   4847 IFS=$as_save_IFS
   4848 
   4849 fi ;;
   4850 esac
   4851 fi
   4852 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4853 if test -n "$ac_ct_STRIP"; then
   4854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4855 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4856 else
   4857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4858 printf "%s\n" "no" >&6; }
   4859 fi
   4860 
   4861   if test "x$ac_ct_STRIP" = x; then
   4862     STRIP=":"
   4863   else
   4864     case $cross_compiling:$ac_tool_warned in
   4865 yes:)
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4867 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4868 ac_tool_warned=yes ;;
   4869 esac
   4870     STRIP=$ac_ct_STRIP
   4871   fi
   4872 else
   4873   STRIP="$ac_cv_prog_STRIP"
   4874 fi
   4875 
   4876 fi
   4877 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4878 
   4879 
   4880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4881 printf %s "checking for a race-free mkdir -p... " >&6; }
   4882 if test -z "$MKDIR_P"; then
   4883   if test ${ac_cv_path_mkdir+y}
   4884 then :
   4885   printf %s "(cached) " >&6
   4886 else case e in #(
   4887   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4888 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4889 do
   4890   IFS=$as_save_IFS
   4891   case $as_dir in #(((
   4892     '') as_dir=./ ;;
   4893     */) ;;
   4894     *) as_dir=$as_dir/ ;;
   4895   esac
   4896     for ac_prog in mkdir gmkdir; do
   4897 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4898 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4899 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4900 	     'mkdir ('*'coreutils) '* | \
   4901 	     *'BusyBox '* | \
   4902 	     'mkdir (fileutils) '4.1*)
   4903 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4904 	       break 3;;
   4905 	   esac
   4906 	 done
   4907        done
   4908   done
   4909 IFS=$as_save_IFS
   4910  ;;
   4911 esac
   4912 fi
   4913 
   4914   test -d ./--version && rmdir ./--version
   4915   if test ${ac_cv_path_mkdir+y}; then
   4916     MKDIR_P="$ac_cv_path_mkdir -p"
   4917   else
   4918     # As a last resort, use plain mkdir -p,
   4919     # in the hope it doesn't have the bugs of ancient mkdir.
   4920     MKDIR_P='mkdir -p'
   4921   fi
   4922 fi
   4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4924 printf "%s\n" "$MKDIR_P" >&6; }
   4925 
   4926 for ac_prog in gawk mawk nawk awk
   4927 do
   4928   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4929 set dummy $ac_prog; ac_word=$2
   4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4931 printf %s "checking for $ac_word... " >&6; }
   4932 if test ${ac_cv_prog_AWK+y}
   4933 then :
   4934   printf %s "(cached) " >&6
   4935 else case e in #(
   4936   e) if test -n "$AWK"; then
   4937   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4938 else
   4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4940 for as_dir in $PATH
   4941 do
   4942   IFS=$as_save_IFS
   4943   case $as_dir in #(((
   4944     '') as_dir=./ ;;
   4945     */) ;;
   4946     *) as_dir=$as_dir/ ;;
   4947   esac
   4948     for ac_exec_ext in '' $ac_executable_extensions; do
   4949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4950     ac_cv_prog_AWK="$ac_prog"
   4951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4952     break 2
   4953   fi
   4954 done
   4955   done
   4956 IFS=$as_save_IFS
   4957 
   4958 fi ;;
   4959 esac
   4960 fi
   4961 AWK=$ac_cv_prog_AWK
   4962 if test -n "$AWK"; then
   4963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4964 printf "%s\n" "$AWK" >&6; }
   4965 else
   4966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4967 printf "%s\n" "no" >&6; }
   4968 fi
   4969 
   4970 
   4971   test -n "$AWK" && break
   4972 done
   4973 
   4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4975 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4976 set x ${MAKE-make}
   4977 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4978 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4979 then :
   4980   printf %s "(cached) " >&6
   4981 else case e in #(
   4982   e) cat >conftest.make <<\_ACEOF
   4983 SHELL = /bin/sh
   4984 all:
   4985 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4986 _ACEOF
   4987 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4989   *@@@%%%=?*=@@@%%%*)
   4990     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4991   *)
   4992     eval ac_cv_prog_make_${ac_make}_set=no;;
   4993 esac
   4994 rm -f conftest.make ;;
   4995 esac
   4996 fi
   4997 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4999 printf "%s\n" "yes" >&6; }
   5000   SET_MAKE=
   5001 else
   5002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5003 printf "%s\n" "no" >&6; }
   5004   SET_MAKE="MAKE=${MAKE-make}"
   5005 fi
   5006 
   5007 rm -rf .tst 2>/dev/null
   5008 mkdir .tst 2>/dev/null
   5009 if test -d .tst; then
   5010   am__leading_dot=.
   5011 else
   5012   am__leading_dot=_
   5013 fi
   5014 rmdir .tst 2>/dev/null
   5015 
   5016 DEPDIR="${am__leading_dot}deps"
   5017 
   5018 ac_config_commands="$ac_config_commands depfiles"
   5019 
   5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5021 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5022 cat > confinc.mk << 'END'
   5023 am__doit:
   5024 	@echo this is the am__doit target >confinc.out
   5025 .PHONY: am__doit
   5026 END
   5027 am__include="#"
   5028 am__quote=
   5029 # BSD make does it like this.
   5030 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5031 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5032 echo 'include confinc.mk # ignored' > confmf.GNU
   5033 _am_result=no
   5034 for s in GNU BSD; do
   5035   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5036    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5037    ac_status=$?
   5038    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5039    (exit $ac_status); }
   5040   case $?:`cat confinc.out 2>/dev/null` in #(
   5041   '0:this is the am__doit target') :
   5042     case $s in #(
   5043   BSD) :
   5044     am__include='.include' am__quote='"' ;; #(
   5045   *) :
   5046     am__include='include' am__quote='' ;;
   5047 esac ;; #(
   5048   *) :
   5049      ;;
   5050 esac
   5051   if test "$am__include" != "#"; then
   5052     _am_result="yes ($s style)"
   5053     break
   5054   fi
   5055 done
   5056 rm -f confinc.* confmf.*
   5057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5058 printf "%s\n" "${_am_result}" >&6; }
   5059 
   5060 # Check whether --enable-dependency-tracking was given.
   5061 if test ${enable_dependency_tracking+y}
   5062 then :
   5063   enableval=$enable_dependency_tracking;
   5064 fi
   5065 
   5066 if test "x$enable_dependency_tracking" != xno; then
   5067   am_depcomp="$ac_aux_dir/depcomp"
   5068   AMDEPBACKSLASH='\'
   5069   am__nodep='_no'
   5070 fi
   5071  if test "x$enable_dependency_tracking" != xno; then
   5072   AMDEP_TRUE=
   5073   AMDEP_FALSE='#'
   5074 else
   5075   AMDEP_TRUE='#'
   5076   AMDEP_FALSE=
   5077 fi
   5078 
   5079 
   5080 AM_DEFAULT_VERBOSITY=1
   5081 # Check whether --enable-silent-rules was given.
   5082 if test ${enable_silent_rules+y}
   5083 then :
   5084   enableval=$enable_silent_rules;
   5085 fi
   5086 
   5087 am_make=${MAKE-make}
   5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5089 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5090 if test ${am_cv_make_support_nested_variables+y}
   5091 then :
   5092   printf %s "(cached) " >&6
   5093 else case e in #(
   5094   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   5095 BAR0=false
   5096 BAR1=true
   5097 V=1
   5098 am__doit:
   5099 	@$(TRUE)
   5100 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5101   am_cv_make_support_nested_variables=yes
   5102 else
   5103   am_cv_make_support_nested_variables=no
   5104 fi ;;
   5105 esac
   5106 fi
   5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5108 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   5109 AM_BACKSLASH='\'
   5110 
   5111 am__rm_f_notfound=
   5112 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5113 then :
   5114 
   5115 else case e in #(
   5116   e) am__rm_f_notfound='""' ;;
   5117 esac
   5118 fi
   5119 
   5120 
   5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5122 printf %s "checking xargs -n works... " >&6; }
   5123 if test ${am_cv_xargs_n_works+y}
   5124 then :
   5125   printf %s "(cached) " >&6
   5126 else case e in #(
   5127   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5128 3"
   5129 then :
   5130   am_cv_xargs_n_works=yes
   5131 else case e in #(
   5132   e) am_cv_xargs_n_works=no ;;
   5133 esac
   5134 fi ;;
   5135 esac
   5136 fi
   5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5138 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   5139 if test "$am_cv_xargs_n_works" = yes
   5140 then :
   5141   am__xargs_n='xargs -n'
   5142 else case e in #(
   5143   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5144  ;;
   5145 esac
   5146 fi
   5147 
   5148 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5149   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5150   # is not polluted with repeated "-I."
   5151   am__isrc=' -I$(srcdir)'
   5152   # test to see if srcdir already configured
   5153   if test -f $srcdir/config.status; then
   5154     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5155   fi
   5156 fi
   5157 
   5158 # test whether we have cygpath
   5159 if test -z "$CYGPATH_W"; then
   5160   if (cygpath --version) >/dev/null 2>/dev/null; then
   5161     CYGPATH_W='cygpath -w'
   5162   else
   5163     CYGPATH_W=echo
   5164   fi
   5165 fi
   5166 
   5167 
   5168 # Define the identity of the package.
   5169  PACKAGE='libX11'
   5170  VERSION='1.8.10'
   5171 
   5172 
   5173 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5174 
   5175 
   5176 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   5177 
   5178 # Some tools Automake needs.
   5179 
   5180 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5181 
   5182 
   5183 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5184 
   5185 
   5186 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5187 
   5188 
   5189 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5190 
   5191 
   5192 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5193 
   5194 # For better backward compatibility.  To be removed once Automake 1.9.x
   5195 # dies out for good.  For more background, see:
   5196 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5197 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5198 mkdir_p='$(MKDIR_P)'
   5199 
   5200 # We need awk for the "check" target (and possibly the TAP driver).  The
   5201 # system "awk" is bad on some platforms.
   5202 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5203 # in the wild :-(  We should find a proper way to deprecate it ...
   5204 AMTAR='$${TAR-tar}'
   5205 
   5206 
   5207 # We'll loop over all known methods to create a tar archive until one works.
   5208 _am_tools='gnutar  pax cpio none'
   5209 
   5210 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 depcc="$CC"   am_compiler_list=
   5217 
   5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5219 printf %s "checking dependency style of $depcc... " >&6; }
   5220 if test ${am_cv_CC_dependencies_compiler_type+y}
   5221 then :
   5222   printf %s "(cached) " >&6
   5223 else case e in #(
   5224   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5225   # We make a subdir and do the tests there.  Otherwise we can end up
   5226   # making bogus files that we don't know about and never remove.  For
   5227   # instance it was reported that on HP-UX the gcc test will end up
   5228   # making a dummy file named 'D' -- because '-MD' means "put the output
   5229   # in D".
   5230   rm -rf conftest.dir
   5231   mkdir conftest.dir
   5232   # Copy depcomp to subdir because otherwise we won't find it if we're
   5233   # using a relative directory.
   5234   cp "$am_depcomp" conftest.dir
   5235   cd conftest.dir
   5236   # We will build objects and dependencies in a subdirectory because
   5237   # it helps to detect inapplicable dependency modes.  For instance
   5238   # both Tru64's cc and ICC support -MD to output dependencies as a
   5239   # side effect of compilation, but ICC will put the dependencies in
   5240   # the current directory while Tru64 will put them in the object
   5241   # directory.
   5242   mkdir sub
   5243 
   5244   am_cv_CC_dependencies_compiler_type=none
   5245   if test "$am_compiler_list" = ""; then
   5246      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5247   fi
   5248   am__universal=false
   5249   case " $depcc " in #(
   5250      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5251      esac
   5252 
   5253   for depmode in $am_compiler_list; do
   5254     # Setup a source with many dependencies, because some compilers
   5255     # like to wrap large dependency lists on column 80 (with \), and
   5256     # we should not choose a depcomp mode which is confused by this.
   5257     #
   5258     # We need to recreate these files for each test, as the compiler may
   5259     # overwrite some of them when testing with obscure command lines.
   5260     # This happens at least with the AIX C compiler.
   5261     : > sub/conftest.c
   5262     for i in 1 2 3 4 5 6; do
   5263       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5264       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5265       # Solaris 10 /bin/sh.
   5266       echo '/* dummy */' > sub/conftst$i.h
   5267     done
   5268     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5269 
   5270     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5271     # mode.  It turns out that the SunPro C++ compiler does not properly
   5272     # handle '-M -o', and we need to detect this.  Also, some Intel
   5273     # versions had trouble with output in subdirs.
   5274     am__obj=sub/conftest.${OBJEXT-o}
   5275     am__minus_obj="-o $am__obj"
   5276     case $depmode in
   5277     gcc)
   5278       # This depmode causes a compiler race in universal mode.
   5279       test "$am__universal" = false || continue
   5280       ;;
   5281     nosideeffect)
   5282       # After this tag, mechanisms are not by side-effect, so they'll
   5283       # only be used when explicitly requested.
   5284       if test "x$enable_dependency_tracking" = xyes; then
   5285 	continue
   5286       else
   5287 	break
   5288       fi
   5289       ;;
   5290     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5291       # This compiler won't grok '-c -o', but also, the minuso test has
   5292       # not run yet.  These depmodes are late enough in the game, and
   5293       # so weak that their functioning should not be impacted.
   5294       am__obj=conftest.${OBJEXT-o}
   5295       am__minus_obj=
   5296       ;;
   5297     none) break ;;
   5298     esac
   5299     if depmode=$depmode \
   5300        source=sub/conftest.c object=$am__obj \
   5301        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5302        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5303          >/dev/null 2>conftest.err &&
   5304        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5305        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5306        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5307        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5308       # icc doesn't choke on unknown options, it will just issue warnings
   5309       # or remarks (even with -Werror).  So we grep stderr for any message
   5310       # that says an option was ignored or not supported.
   5311       # When given -MP, icc 7.0 and 7.1 complain thus:
   5312       #   icc: Command line warning: ignoring option '-M'; no argument required
   5313       # The diagnosis changed in icc 8.0:
   5314       #   icc: Command line remark: option '-MP' not supported
   5315       if (grep 'ignoring option' conftest.err ||
   5316           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5317         am_cv_CC_dependencies_compiler_type=$depmode
   5318         break
   5319       fi
   5320     fi
   5321   done
   5322 
   5323   cd ..
   5324   rm -rf conftest.dir
   5325 else
   5326   am_cv_CC_dependencies_compiler_type=none
   5327 fi
   5328  ;;
   5329 esac
   5330 fi
   5331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5332 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5333 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5334 
   5335  if
   5336   test "x$enable_dependency_tracking" != xno \
   5337   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5338   am__fastdepCC_TRUE=
   5339   am__fastdepCC_FALSE='#'
   5340 else
   5341   am__fastdepCC_TRUE='#'
   5342   am__fastdepCC_FALSE=
   5343 fi
   5344 
   5345 
   5346 # Variables for tags utilities; see am/tags.am
   5347 if test -z "$CTAGS"; then
   5348   CTAGS=ctags
   5349 fi
   5350 
   5351 if test -z "$ETAGS"; then
   5352   ETAGS=etags
   5353 fi
   5354 
   5355 if test -z "$CSCOPE"; then
   5356   CSCOPE=cscope
   5357 fi
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 # Initialize libtool
   5367 case `pwd` in
   5368   *\ * | *\	*)
   5369     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5370 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5371 esac
   5372 
   5373 
   5374 
   5375 macro_version='2.4.7'
   5376 macro_revision='2.4.7'
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 ltmain=$ac_aux_dir/ltmain.sh
   5392 
   5393 # Backslashify metacharacters that are still active within
   5394 # double-quoted strings.
   5395 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5396 
   5397 # Same as above, but do not quote variable references.
   5398 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5399 
   5400 # Sed substitution to delay expansion of an escaped shell variable in a
   5401 # double_quote_subst'ed string.
   5402 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5403 
   5404 # Sed substitution to delay expansion of an escaped single quote.
   5405 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5406 
   5407 # Sed substitution to avoid accidental globbing in evaled expressions
   5408 no_glob_subst='s/\*/\\\*/g'
   5409 
   5410 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5411 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5412 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5413 
   5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5415 printf %s "checking how to print strings... " >&6; }
   5416 # Test print first, because it will be a builtin if present.
   5417 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5418    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5419   ECHO='print -r --'
   5420 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5421   ECHO='printf %s\n'
   5422 else
   5423   # Use this function as a fallback that always works.
   5424   func_fallback_echo ()
   5425   {
   5426     eval 'cat <<_LTECHO_EOF
   5427 $1
   5428 _LTECHO_EOF'
   5429   }
   5430   ECHO='func_fallback_echo'
   5431 fi
   5432 
   5433 # func_echo_all arg...
   5434 # Invoke $ECHO with all args, space-separated.
   5435 func_echo_all ()
   5436 {
   5437     $ECHO ""
   5438 }
   5439 
   5440 case $ECHO in
   5441   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5442 printf "%s\n" "printf" >&6; } ;;
   5443   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5444 printf "%s\n" "print -r" >&6; } ;;
   5445   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5446 printf "%s\n" "cat" >&6; } ;;
   5447 esac
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5463 printf %s "checking for a sed that does not truncate output... " >&6; }
   5464 if test ${ac_cv_path_SED+y}
   5465 then :
   5466   printf %s "(cached) " >&6
   5467 else case e in #(
   5468   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5469      for ac_i in 1 2 3 4 5 6 7; do
   5470        ac_script="$ac_script$as_nl$ac_script"
   5471      done
   5472      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5473      { ac_script=; unset ac_script;}
   5474      if test -z "$SED"; then
   5475   ac_path_SED_found=false
   5476   # Loop through the user's path and test for each of PROGNAME-LIST
   5477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5478 for as_dir in $PATH
   5479 do
   5480   IFS=$as_save_IFS
   5481   case $as_dir in #(((
   5482     '') as_dir=./ ;;
   5483     */) ;;
   5484     *) as_dir=$as_dir/ ;;
   5485   esac
   5486     for ac_prog in sed gsed
   5487    do
   5488     for ac_exec_ext in '' $ac_executable_extensions; do
   5489       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5490       as_fn_executable_p "$ac_path_SED" || continue
   5491 # Check for GNU ac_path_SED and select it if it is found.
   5492   # Check for GNU $ac_path_SED
   5493 case `"$ac_path_SED" --version 2>&1` in #(
   5494 *GNU*)
   5495   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5496 #(
   5497 *)
   5498   ac_count=0
   5499   printf %s 0123456789 >"conftest.in"
   5500   while :
   5501   do
   5502     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5503     mv "conftest.tmp" "conftest.in"
   5504     cp "conftest.in" "conftest.nl"
   5505     printf "%s\n" '' >> "conftest.nl"
   5506     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5507     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5508     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5509     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5510       # Best one so far, save it but keep looking for a better one
   5511       ac_cv_path_SED="$ac_path_SED"
   5512       ac_path_SED_max=$ac_count
   5513     fi
   5514     # 10*(2^10) chars as input seems more than enough
   5515     test $ac_count -gt 10 && break
   5516   done
   5517   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5518 esac
   5519 
   5520       $ac_path_SED_found && break 3
   5521     done
   5522   done
   5523   done
   5524 IFS=$as_save_IFS
   5525   if test -z "$ac_cv_path_SED"; then
   5526     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5527   fi
   5528 else
   5529   ac_cv_path_SED=$SED
   5530 fi
   5531  ;;
   5532 esac
   5533 fi
   5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5535 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5536  SED="$ac_cv_path_SED"
   5537   rm -f conftest.sed
   5538 
   5539 test -z "$SED" && SED=sed
   5540 Xsed="$SED -e 1s/^X//"
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5553 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5554 if test ${ac_cv_path_GREP+y}
   5555 then :
   5556   printf %s "(cached) " >&6
   5557 else case e in #(
   5558   e) if test -z "$GREP"; then
   5559   ac_path_GREP_found=false
   5560   # Loop through the user's path and test for each of PROGNAME-LIST
   5561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5563 do
   5564   IFS=$as_save_IFS
   5565   case $as_dir in #(((
   5566     '') as_dir=./ ;;
   5567     */) ;;
   5568     *) as_dir=$as_dir/ ;;
   5569   esac
   5570     for ac_prog in grep ggrep
   5571    do
   5572     for ac_exec_ext in '' $ac_executable_extensions; do
   5573       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5574       as_fn_executable_p "$ac_path_GREP" || continue
   5575 # Check for GNU ac_path_GREP and select it if it is found.
   5576   # Check for GNU $ac_path_GREP
   5577 case `"$ac_path_GREP" --version 2>&1` in #(
   5578 *GNU*)
   5579   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5580 #(
   5581 *)
   5582   ac_count=0
   5583   printf %s 0123456789 >"conftest.in"
   5584   while :
   5585   do
   5586     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5587     mv "conftest.tmp" "conftest.in"
   5588     cp "conftest.in" "conftest.nl"
   5589     printf "%s\n" 'GREP' >> "conftest.nl"
   5590     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5591     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5592     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5593     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5594       # Best one so far, save it but keep looking for a better one
   5595       ac_cv_path_GREP="$ac_path_GREP"
   5596       ac_path_GREP_max=$ac_count
   5597     fi
   5598     # 10*(2^10) chars as input seems more than enough
   5599     test $ac_count -gt 10 && break
   5600   done
   5601   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5602 esac
   5603 
   5604       $ac_path_GREP_found && break 3
   5605     done
   5606   done
   5607   done
   5608 IFS=$as_save_IFS
   5609   if test -z "$ac_cv_path_GREP"; then
   5610     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5611   fi
   5612 else
   5613   ac_cv_path_GREP=$GREP
   5614 fi
   5615  ;;
   5616 esac
   5617 fi
   5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5619 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5620  GREP="$ac_cv_path_GREP"
   5621 
   5622 
   5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5624 printf %s "checking for egrep... " >&6; }
   5625 if test ${ac_cv_path_EGREP+y}
   5626 then :
   5627   printf %s "(cached) " >&6
   5628 else case e in #(
   5629   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5630    then ac_cv_path_EGREP="$GREP -E"
   5631    else
   5632      if test -z "$EGREP"; then
   5633   ac_path_EGREP_found=false
   5634   # Loop through the user's path and test for each of PROGNAME-LIST
   5635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5637 do
   5638   IFS=$as_save_IFS
   5639   case $as_dir in #(((
   5640     '') as_dir=./ ;;
   5641     */) ;;
   5642     *) as_dir=$as_dir/ ;;
   5643   esac
   5644     for ac_prog in egrep
   5645    do
   5646     for ac_exec_ext in '' $ac_executable_extensions; do
   5647       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5648       as_fn_executable_p "$ac_path_EGREP" || continue
   5649 # Check for GNU ac_path_EGREP and select it if it is found.
   5650   # Check for GNU $ac_path_EGREP
   5651 case `"$ac_path_EGREP" --version 2>&1` in #(
   5652 *GNU*)
   5653   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5654 #(
   5655 *)
   5656   ac_count=0
   5657   printf %s 0123456789 >"conftest.in"
   5658   while :
   5659   do
   5660     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5661     mv "conftest.tmp" "conftest.in"
   5662     cp "conftest.in" "conftest.nl"
   5663     printf "%s\n" 'EGREP' >> "conftest.nl"
   5664     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5665     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5666     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5667     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5668       # Best one so far, save it but keep looking for a better one
   5669       ac_cv_path_EGREP="$ac_path_EGREP"
   5670       ac_path_EGREP_max=$ac_count
   5671     fi
   5672     # 10*(2^10) chars as input seems more than enough
   5673     test $ac_count -gt 10 && break
   5674   done
   5675   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5676 esac
   5677 
   5678       $ac_path_EGREP_found && break 3
   5679     done
   5680   done
   5681   done
   5682 IFS=$as_save_IFS
   5683   if test -z "$ac_cv_path_EGREP"; then
   5684     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5685   fi
   5686 else
   5687   ac_cv_path_EGREP=$EGREP
   5688 fi
   5689 
   5690    fi ;;
   5691 esac
   5692 fi
   5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5694 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5695  EGREP="$ac_cv_path_EGREP"
   5696 
   5697          EGREP_TRADITIONAL=$EGREP
   5698  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5699 
   5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5701 printf %s "checking for fgrep... " >&6; }
   5702 if test ${ac_cv_path_FGREP+y}
   5703 then :
   5704   printf %s "(cached) " >&6
   5705 else case e in #(
   5706   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5707    then ac_cv_path_FGREP="$GREP -F"
   5708    else
   5709      if test -z "$FGREP"; then
   5710   ac_path_FGREP_found=false
   5711   # Loop through the user's path and test for each of PROGNAME-LIST
   5712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5713 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5714 do
   5715   IFS=$as_save_IFS
   5716   case $as_dir in #(((
   5717     '') as_dir=./ ;;
   5718     */) ;;
   5719     *) as_dir=$as_dir/ ;;
   5720   esac
   5721     for ac_prog in fgrep
   5722    do
   5723     for ac_exec_ext in '' $ac_executable_extensions; do
   5724       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5725       as_fn_executable_p "$ac_path_FGREP" || continue
   5726 # Check for GNU ac_path_FGREP and select it if it is found.
   5727   # Check for GNU $ac_path_FGREP
   5728 case `"$ac_path_FGREP" --version 2>&1` in #(
   5729 *GNU*)
   5730   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5731 #(
   5732 *)
   5733   ac_count=0
   5734   printf %s 0123456789 >"conftest.in"
   5735   while :
   5736   do
   5737     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5738     mv "conftest.tmp" "conftest.in"
   5739     cp "conftest.in" "conftest.nl"
   5740     printf "%s\n" 'FGREP' >> "conftest.nl"
   5741     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5742     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5743     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5744     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5745       # Best one so far, save it but keep looking for a better one
   5746       ac_cv_path_FGREP="$ac_path_FGREP"
   5747       ac_path_FGREP_max=$ac_count
   5748     fi
   5749     # 10*(2^10) chars as input seems more than enough
   5750     test $ac_count -gt 10 && break
   5751   done
   5752   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5753 esac
   5754 
   5755       $ac_path_FGREP_found && break 3
   5756     done
   5757   done
   5758   done
   5759 IFS=$as_save_IFS
   5760   if test -z "$ac_cv_path_FGREP"; then
   5761     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5762   fi
   5763 else
   5764   ac_cv_path_FGREP=$FGREP
   5765 fi
   5766 
   5767    fi ;;
   5768 esac
   5769 fi
   5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5771 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5772  FGREP="$ac_cv_path_FGREP"
   5773 
   5774 
   5775 test -z "$GREP" && GREP=grep
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 # Check whether --with-gnu-ld was given.
   5796 if test ${with_gnu_ld+y}
   5797 then :
   5798   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5799 else case e in #(
   5800   e) with_gnu_ld=no ;;
   5801 esac
   5802 fi
   5803 
   5804 ac_prog=ld
   5805 if test yes = "$GCC"; then
   5806   # Check if gcc -print-prog-name=ld gives a path.
   5807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5808 printf %s "checking for ld used by $CC... " >&6; }
   5809   case $host in
   5810   *-*-mingw*)
   5811     # gcc leaves a trailing carriage return, which upsets mingw
   5812     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5813   *)
   5814     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5815   esac
   5816   case $ac_prog in
   5817     # Accept absolute paths.
   5818     [\\/]* | ?:[\\/]*)
   5819       re_direlt='/[^/][^/]*/\.\./'
   5820       # Canonicalize the pathname of ld
   5821       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5822       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5823 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5824       done
   5825       test -z "$LD" && LD=$ac_prog
   5826       ;;
   5827   "")
   5828     # If it fails, then pretend we aren't using GCC.
   5829     ac_prog=ld
   5830     ;;
   5831   *)
   5832     # If it is relative, then search for the first ld in PATH.
   5833     with_gnu_ld=unknown
   5834     ;;
   5835   esac
   5836 elif test yes = "$with_gnu_ld"; then
   5837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5838 printf %s "checking for GNU ld... " >&6; }
   5839 else
   5840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5841 printf %s "checking for non-GNU ld... " >&6; }
   5842 fi
   5843 if test ${lt_cv_path_LD+y}
   5844 then :
   5845   printf %s "(cached) " >&6
   5846 else case e in #(
   5847   e) if test -z "$LD"; then
   5848   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5849   for ac_dir in $PATH; do
   5850     IFS=$lt_save_ifs
   5851     test -z "$ac_dir" && ac_dir=.
   5852     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5853       lt_cv_path_LD=$ac_dir/$ac_prog
   5854       # Check to see if the program is GNU ld.  I'd rather use --version,
   5855       # but apparently some variants of GNU ld only accept -v.
   5856       # Break only if it was the GNU/non-GNU ld that we prefer.
   5857       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5858       *GNU* | *'with BFD'*)
   5859 	test no != "$with_gnu_ld" && break
   5860 	;;
   5861       *)
   5862 	test yes != "$with_gnu_ld" && break
   5863 	;;
   5864       esac
   5865     fi
   5866   done
   5867   IFS=$lt_save_ifs
   5868 else
   5869   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5870 fi ;;
   5871 esac
   5872 fi
   5873 
   5874 LD=$lt_cv_path_LD
   5875 if test -n "$LD"; then
   5876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5877 printf "%s\n" "$LD" >&6; }
   5878 else
   5879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5880 printf "%s\n" "no" >&6; }
   5881 fi
   5882 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5884 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5885 if test ${lt_cv_prog_gnu_ld+y}
   5886 then :
   5887   printf %s "(cached) " >&6
   5888 else case e in #(
   5889   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5890 case `$LD -v 2>&1 </dev/null` in
   5891 *GNU* | *'with BFD'*)
   5892   lt_cv_prog_gnu_ld=yes
   5893   ;;
   5894 *)
   5895   lt_cv_prog_gnu_ld=no
   5896   ;;
   5897 esac ;;
   5898 esac
   5899 fi
   5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5901 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5902 with_gnu_ld=$lt_cv_prog_gnu_ld
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5913 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5914 if test ${lt_cv_path_NM+y}
   5915 then :
   5916   printf %s "(cached) " >&6
   5917 else case e in #(
   5918   e) if test -n "$NM"; then
   5919   # Let the user override the test.
   5920   lt_cv_path_NM=$NM
   5921 else
   5922   lt_nm_to_check=${ac_tool_prefix}nm
   5923   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5924     lt_nm_to_check="$lt_nm_to_check nm"
   5925   fi
   5926   for lt_tmp_nm in $lt_nm_to_check; do
   5927     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5928     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5929       IFS=$lt_save_ifs
   5930       test -z "$ac_dir" && ac_dir=.
   5931       tmp_nm=$ac_dir/$lt_tmp_nm
   5932       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5933 	# Check to see if the nm accepts a BSD-compat flag.
   5934 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5935 	#   nm: unknown option "B" ignored
   5936 	# Tru64's nm complains that /dev/null is an invalid object file
   5937 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5938 	case $build_os in
   5939 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5940 	*) lt_bad_file=/dev/null ;;
   5941 	esac
   5942 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5943 	*$lt_bad_file* | *'Invalid file or object type'*)
   5944 	  lt_cv_path_NM="$tmp_nm -B"
   5945 	  break 2
   5946 	  ;;
   5947 	*)
   5948 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5949 	  */dev/null*)
   5950 	    lt_cv_path_NM="$tmp_nm -p"
   5951 	    break 2
   5952 	    ;;
   5953 	  *)
   5954 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5955 	    continue # so that we can try to find one that supports BSD flags
   5956 	    ;;
   5957 	  esac
   5958 	  ;;
   5959 	esac
   5960       fi
   5961     done
   5962     IFS=$lt_save_ifs
   5963   done
   5964   : ${lt_cv_path_NM=no}
   5965 fi ;;
   5966 esac
   5967 fi
   5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5969 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5970 if test no != "$lt_cv_path_NM"; then
   5971   NM=$lt_cv_path_NM
   5972 else
   5973   # Didn't find any BSD compatible name lister, look for dumpbin.
   5974   if test -n "$DUMPBIN"; then :
   5975     # Let the user override the test.
   5976   else
   5977     if test -n "$ac_tool_prefix"; then
   5978   for ac_prog in dumpbin "link -dump"
   5979   do
   5980     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5983 printf %s "checking for $ac_word... " >&6; }
   5984 if test ${ac_cv_prog_DUMPBIN+y}
   5985 then :
   5986   printf %s "(cached) " >&6
   5987 else case e in #(
   5988   e) if test -n "$DUMPBIN"; then
   5989   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5990 else
   5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5992 for as_dir in $PATH
   5993 do
   5994   IFS=$as_save_IFS
   5995   case $as_dir in #(((
   5996     '') as_dir=./ ;;
   5997     */) ;;
   5998     *) as_dir=$as_dir/ ;;
   5999   esac
   6000     for ac_exec_ext in '' $ac_executable_extensions; do
   6001   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6002     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6003     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6004     break 2
   6005   fi
   6006 done
   6007   done
   6008 IFS=$as_save_IFS
   6009 
   6010 fi ;;
   6011 esac
   6012 fi
   6013 DUMPBIN=$ac_cv_prog_DUMPBIN
   6014 if test -n "$DUMPBIN"; then
   6015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6016 printf "%s\n" "$DUMPBIN" >&6; }
   6017 else
   6018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6019 printf "%s\n" "no" >&6; }
   6020 fi
   6021 
   6022 
   6023     test -n "$DUMPBIN" && break
   6024   done
   6025 fi
   6026 if test -z "$DUMPBIN"; then
   6027   ac_ct_DUMPBIN=$DUMPBIN
   6028   for ac_prog in dumpbin "link -dump"
   6029 do
   6030   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6031 set dummy $ac_prog; ac_word=$2
   6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6033 printf %s "checking for $ac_word... " >&6; }
   6034 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6035 then :
   6036   printf %s "(cached) " >&6
   6037 else case e in #(
   6038   e) if test -n "$ac_ct_DUMPBIN"; then
   6039   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6040 else
   6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6042 for as_dir in $PATH
   6043 do
   6044   IFS=$as_save_IFS
   6045   case $as_dir in #(((
   6046     '') as_dir=./ ;;
   6047     */) ;;
   6048     *) as_dir=$as_dir/ ;;
   6049   esac
   6050     for ac_exec_ext in '' $ac_executable_extensions; do
   6051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6052     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6054     break 2
   6055   fi
   6056 done
   6057   done
   6058 IFS=$as_save_IFS
   6059 
   6060 fi ;;
   6061 esac
   6062 fi
   6063 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6064 if test -n "$ac_ct_DUMPBIN"; then
   6065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6066 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6067 else
   6068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6069 printf "%s\n" "no" >&6; }
   6070 fi
   6071 
   6072 
   6073   test -n "$ac_ct_DUMPBIN" && break
   6074 done
   6075 
   6076   if test "x$ac_ct_DUMPBIN" = x; then
   6077     DUMPBIN=":"
   6078   else
   6079     case $cross_compiling:$ac_tool_warned in
   6080 yes:)
   6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6083 ac_tool_warned=yes ;;
   6084 esac
   6085     DUMPBIN=$ac_ct_DUMPBIN
   6086   fi
   6087 fi
   6088 
   6089     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6090     *COFF*)
   6091       DUMPBIN="$DUMPBIN -symbols -headers"
   6092       ;;
   6093     *)
   6094       DUMPBIN=:
   6095       ;;
   6096     esac
   6097   fi
   6098 
   6099   if test : != "$DUMPBIN"; then
   6100     NM=$DUMPBIN
   6101   fi
   6102 fi
   6103 test -z "$NM" && NM=nm
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6111 printf %s "checking the name lister ($NM) interface... " >&6; }
   6112 if test ${lt_cv_nm_interface+y}
   6113 then :
   6114   printf %s "(cached) " >&6
   6115 else case e in #(
   6116   e) lt_cv_nm_interface="BSD nm"
   6117   echo "int some_variable = 0;" > conftest.$ac_ext
   6118   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6119   (eval "$ac_compile" 2>conftest.err)
   6120   cat conftest.err >&5
   6121   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6122   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6123   cat conftest.err >&5
   6124   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6125   cat conftest.out >&5
   6126   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6127     lt_cv_nm_interface="MS dumpbin"
   6128   fi
   6129   rm -f conftest* ;;
   6130 esac
   6131 fi
   6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6133 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6134 
   6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6136 printf %s "checking whether ln -s works... " >&6; }
   6137 LN_S=$as_ln_s
   6138 if test "$LN_S" = "ln -s"; then
   6139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6140 printf "%s\n" "yes" >&6; }
   6141 else
   6142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6143 printf "%s\n" "no, using $LN_S" >&6; }
   6144 fi
   6145 
   6146 # find the maximum length of command line arguments
   6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6148 printf %s "checking the maximum length of command line arguments... " >&6; }
   6149 if test ${lt_cv_sys_max_cmd_len+y}
   6150 then :
   6151   printf %s "(cached) " >&6
   6152 else case e in #(
   6153   e)   i=0
   6154   teststring=ABCD
   6155 
   6156   case $build_os in
   6157   msdosdjgpp*)
   6158     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6159     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6160     # during glob expansion).  Even if it were fixed, the result of this
   6161     # check would be larger than it should be.
   6162     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6163     ;;
   6164 
   6165   gnu*)
   6166     # Under GNU Hurd, this test is not required because there is
   6167     # no limit to the length of command line arguments.
   6168     # Libtool will interpret -1 as no limit whatsoever
   6169     lt_cv_sys_max_cmd_len=-1;
   6170     ;;
   6171 
   6172   cygwin* | mingw* | cegcc*)
   6173     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6174     # about 5 minutes as the teststring grows exponentially.
   6175     # Worse, since 9x/ME are not pre-emptively multitasking,
   6176     # you end up with a "frozen" computer, even though with patience
   6177     # the test eventually succeeds (with a max line length of 256k).
   6178     # Instead, let's just punt: use the minimum linelength reported by
   6179     # all of the supported platforms: 8192 (on NT/2K/XP).
   6180     lt_cv_sys_max_cmd_len=8192;
   6181     ;;
   6182 
   6183   mint*)
   6184     # On MiNT this can take a long time and run out of memory.
   6185     lt_cv_sys_max_cmd_len=8192;
   6186     ;;
   6187 
   6188   amigaos*)
   6189     # On AmigaOS with pdksh, this test takes hours, literally.
   6190     # So we just punt and use a minimum line length of 8192.
   6191     lt_cv_sys_max_cmd_len=8192;
   6192     ;;
   6193 
   6194   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6195     # This has been around since 386BSD, at least.  Likely further.
   6196     if test -x /sbin/sysctl; then
   6197       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6198     elif test -x /usr/sbin/sysctl; then
   6199       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6200     else
   6201       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6202     fi
   6203     # And add a safety zone
   6204     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6205     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6206     ;;
   6207 
   6208   interix*)
   6209     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6210     lt_cv_sys_max_cmd_len=196608
   6211     ;;
   6212 
   6213   os2*)
   6214     # The test takes a long time on OS/2.
   6215     lt_cv_sys_max_cmd_len=8192
   6216     ;;
   6217 
   6218   osf*)
   6219     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6220     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6221     # nice to cause kernel panics so lets avoid the loop below.
   6222     # First set a reasonable default.
   6223     lt_cv_sys_max_cmd_len=16384
   6224     #
   6225     if test -x /sbin/sysconfig; then
   6226       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6227         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6228       esac
   6229     fi
   6230     ;;
   6231   sco3.2v5*)
   6232     lt_cv_sys_max_cmd_len=102400
   6233     ;;
   6234   sysv5* | sco5v6* | sysv4.2uw2*)
   6235     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6236     if test -n "$kargmax"; then
   6237       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6238     else
   6239       lt_cv_sys_max_cmd_len=32768
   6240     fi
   6241     ;;
   6242   *)
   6243     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6244     if test -n "$lt_cv_sys_max_cmd_len" && \
   6245        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6246       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6247       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6248     else
   6249       # Make teststring a little bigger before we do anything with it.
   6250       # a 1K string should be a reasonable start.
   6251       for i in 1 2 3 4 5 6 7 8; do
   6252         teststring=$teststring$teststring
   6253       done
   6254       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6255       # If test is not a shell built-in, we'll probably end up computing a
   6256       # maximum length that is only half of the actual maximum length, but
   6257       # we can't tell.
   6258       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6259 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6260 	      test 17 != "$i" # 1/2 MB should be enough
   6261       do
   6262         i=`expr $i + 1`
   6263         teststring=$teststring$teststring
   6264       done
   6265       # Only check the string length outside the loop.
   6266       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6267       teststring=
   6268       # Add a significant safety factor because C++ compilers can tack on
   6269       # massive amounts of additional arguments before passing them to the
   6270       # linker.  It appears as though 1/2 is a usable value.
   6271       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6272     fi
   6273     ;;
   6274   esac
   6275  ;;
   6276 esac
   6277 fi
   6278 
   6279 if test -n "$lt_cv_sys_max_cmd_len"; then
   6280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6281 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6282 else
   6283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6284 printf "%s\n" "none" >&6; }
   6285 fi
   6286 max_cmd_len=$lt_cv_sys_max_cmd_len
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 : ${CP="cp -f"}
   6294 : ${MV="mv -f"}
   6295 : ${RM="rm -f"}
   6296 
   6297 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6298   lt_unset=unset
   6299 else
   6300   lt_unset=false
   6301 fi
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 # test EBCDIC or ASCII
   6308 case `echo X|tr X '\101'` in
   6309  A) # ASCII based system
   6310     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6311   lt_SP2NL='tr \040 \012'
   6312   lt_NL2SP='tr \015\012 \040\040'
   6313   ;;
   6314  *) # EBCDIC based system
   6315   lt_SP2NL='tr \100 \n'
   6316   lt_NL2SP='tr \r\n \100\100'
   6317   ;;
   6318 esac
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6329 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6330 if test ${lt_cv_to_host_file_cmd+y}
   6331 then :
   6332   printf %s "(cached) " >&6
   6333 else case e in #(
   6334   e) case $host in
   6335   *-*-mingw* )
   6336     case $build in
   6337       *-*-mingw* ) # actually msys
   6338         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6339         ;;
   6340       *-*-cygwin* )
   6341         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6342         ;;
   6343       * ) # otherwise, assume *nix
   6344         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6345         ;;
   6346     esac
   6347     ;;
   6348   *-*-cygwin* )
   6349     case $build in
   6350       *-*-mingw* ) # actually msys
   6351         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6352         ;;
   6353       *-*-cygwin* )
   6354         lt_cv_to_host_file_cmd=func_convert_file_noop
   6355         ;;
   6356       * ) # otherwise, assume *nix
   6357         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6358         ;;
   6359     esac
   6360     ;;
   6361   * ) # unhandled hosts (and "normal" native builds)
   6362     lt_cv_to_host_file_cmd=func_convert_file_noop
   6363     ;;
   6364 esac
   6365  ;;
   6366 esac
   6367 fi
   6368 
   6369 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6371 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6378 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6379 if test ${lt_cv_to_tool_file_cmd+y}
   6380 then :
   6381   printf %s "(cached) " >&6
   6382 else case e in #(
   6383   e) #assume ordinary cross tools, or native build.
   6384 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6385 case $host in
   6386   *-*-mingw* )
   6387     case $build in
   6388       *-*-mingw* ) # actually msys
   6389         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6390         ;;
   6391     esac
   6392     ;;
   6393 esac
   6394  ;;
   6395 esac
   6396 fi
   6397 
   6398 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6400 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6407 printf %s "checking for $LD option to reload object files... " >&6; }
   6408 if test ${lt_cv_ld_reload_flag+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else case e in #(
   6412   e) lt_cv_ld_reload_flag='-r' ;;
   6413 esac
   6414 fi
   6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6416 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6417 reload_flag=$lt_cv_ld_reload_flag
   6418 case $reload_flag in
   6419 "" | " "*) ;;
   6420 *) reload_flag=" $reload_flag" ;;
   6421 esac
   6422 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6423 case $host_os in
   6424   cygwin* | mingw* | pw32* | cegcc*)
   6425     if test yes != "$GCC"; then
   6426       reload_cmds=false
   6427     fi
   6428     ;;
   6429   darwin*)
   6430     if test yes = "$GCC"; then
   6431       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6432     else
   6433       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6434     fi
   6435     ;;
   6436 esac
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 if test -n "$ac_tool_prefix"; then
   6447   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6448 set dummy ${ac_tool_prefix}file; ac_word=$2
   6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6450 printf %s "checking for $ac_word... " >&6; }
   6451 if test ${ac_cv_prog_FILECMD+y}
   6452 then :
   6453   printf %s "(cached) " >&6
   6454 else case e in #(
   6455   e) if test -n "$FILECMD"; then
   6456   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6457 else
   6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6459 for as_dir in $PATH
   6460 do
   6461   IFS=$as_save_IFS
   6462   case $as_dir in #(((
   6463     '') as_dir=./ ;;
   6464     */) ;;
   6465     *) as_dir=$as_dir/ ;;
   6466   esac
   6467     for ac_exec_ext in '' $ac_executable_extensions; do
   6468   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6469     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6470     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6471     break 2
   6472   fi
   6473 done
   6474   done
   6475 IFS=$as_save_IFS
   6476 
   6477 fi ;;
   6478 esac
   6479 fi
   6480 FILECMD=$ac_cv_prog_FILECMD
   6481 if test -n "$FILECMD"; then
   6482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6483 printf "%s\n" "$FILECMD" >&6; }
   6484 else
   6485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6486 printf "%s\n" "no" >&6; }
   6487 fi
   6488 
   6489 
   6490 fi
   6491 if test -z "$ac_cv_prog_FILECMD"; then
   6492   ac_ct_FILECMD=$FILECMD
   6493   # Extract the first word of "file", so it can be a program name with args.
   6494 set dummy file; ac_word=$2
   6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6496 printf %s "checking for $ac_word... " >&6; }
   6497 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6498 then :
   6499   printf %s "(cached) " >&6
   6500 else case e in #(
   6501   e) if test -n "$ac_ct_FILECMD"; then
   6502   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6503 else
   6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6505 for as_dir in $PATH
   6506 do
   6507   IFS=$as_save_IFS
   6508   case $as_dir in #(((
   6509     '') as_dir=./ ;;
   6510     */) ;;
   6511     *) as_dir=$as_dir/ ;;
   6512   esac
   6513     for ac_exec_ext in '' $ac_executable_extensions; do
   6514   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6515     ac_cv_prog_ac_ct_FILECMD="file"
   6516     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6517     break 2
   6518   fi
   6519 done
   6520   done
   6521 IFS=$as_save_IFS
   6522 
   6523 fi ;;
   6524 esac
   6525 fi
   6526 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6527 if test -n "$ac_ct_FILECMD"; then
   6528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6529 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6530 else
   6531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 printf "%s\n" "no" >&6; }
   6533 fi
   6534 
   6535   if test "x$ac_ct_FILECMD" = x; then
   6536     FILECMD=":"
   6537   else
   6538     case $cross_compiling:$ac_tool_warned in
   6539 yes:)
   6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6541 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6542 ac_tool_warned=yes ;;
   6543 esac
   6544     FILECMD=$ac_ct_FILECMD
   6545   fi
   6546 else
   6547   FILECMD="$ac_cv_prog_FILECMD"
   6548 fi
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 if test -n "$ac_tool_prefix"; then
   6557   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6558 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6560 printf %s "checking for $ac_word... " >&6; }
   6561 if test ${ac_cv_prog_OBJDUMP+y}
   6562 then :
   6563   printf %s "(cached) " >&6
   6564 else case e in #(
   6565   e) if test -n "$OBJDUMP"; then
   6566   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6567 else
   6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6569 for as_dir in $PATH
   6570 do
   6571   IFS=$as_save_IFS
   6572   case $as_dir in #(((
   6573     '') as_dir=./ ;;
   6574     */) ;;
   6575     *) as_dir=$as_dir/ ;;
   6576   esac
   6577     for ac_exec_ext in '' $ac_executable_extensions; do
   6578   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6579     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6580     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6581     break 2
   6582   fi
   6583 done
   6584   done
   6585 IFS=$as_save_IFS
   6586 
   6587 fi ;;
   6588 esac
   6589 fi
   6590 OBJDUMP=$ac_cv_prog_OBJDUMP
   6591 if test -n "$OBJDUMP"; then
   6592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6593 printf "%s\n" "$OBJDUMP" >&6; }
   6594 else
   6595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6596 printf "%s\n" "no" >&6; }
   6597 fi
   6598 
   6599 
   6600 fi
   6601 if test -z "$ac_cv_prog_OBJDUMP"; then
   6602   ac_ct_OBJDUMP=$OBJDUMP
   6603   # Extract the first word of "objdump", so it can be a program name with args.
   6604 set dummy objdump; ac_word=$2
   6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6606 printf %s "checking for $ac_word... " >&6; }
   6607 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6608 then :
   6609   printf %s "(cached) " >&6
   6610 else case e in #(
   6611   e) if test -n "$ac_ct_OBJDUMP"; then
   6612   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6613 else
   6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6615 for as_dir in $PATH
   6616 do
   6617   IFS=$as_save_IFS
   6618   case $as_dir in #(((
   6619     '') as_dir=./ ;;
   6620     */) ;;
   6621     *) as_dir=$as_dir/ ;;
   6622   esac
   6623     for ac_exec_ext in '' $ac_executable_extensions; do
   6624   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6625     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6626     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6627     break 2
   6628   fi
   6629 done
   6630   done
   6631 IFS=$as_save_IFS
   6632 
   6633 fi ;;
   6634 esac
   6635 fi
   6636 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6637 if test -n "$ac_ct_OBJDUMP"; then
   6638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6639 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6640 else
   6641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6642 printf "%s\n" "no" >&6; }
   6643 fi
   6644 
   6645   if test "x$ac_ct_OBJDUMP" = x; then
   6646     OBJDUMP="false"
   6647   else
   6648     case $cross_compiling:$ac_tool_warned in
   6649 yes:)
   6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6651 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6652 ac_tool_warned=yes ;;
   6653 esac
   6654     OBJDUMP=$ac_ct_OBJDUMP
   6655   fi
   6656 else
   6657   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6658 fi
   6659 
   6660 test -z "$OBJDUMP" && OBJDUMP=objdump
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6671 printf %s "checking how to recognize dependent libraries... " >&6; }
   6672 if test ${lt_cv_deplibs_check_method+y}
   6673 then :
   6674   printf %s "(cached) " >&6
   6675 else case e in #(
   6676   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6677 lt_cv_file_magic_test_file=
   6678 lt_cv_deplibs_check_method='unknown'
   6679 # Need to set the preceding variable on all platforms that support
   6680 # interlibrary dependencies.
   6681 # 'none' -- dependencies not supported.
   6682 # 'unknown' -- same as none, but documents that we really don't know.
   6683 # 'pass_all' -- all dependencies passed with no checks.
   6684 # 'test_compile' -- check by making test program.
   6685 # 'file_magic [[regex]]' -- check by looking for files in library path
   6686 # that responds to the $file_magic_cmd with a given extended regex.
   6687 # If you have 'file' or equivalent on your system and you're not sure
   6688 # whether 'pass_all' will *always* work, you probably want this one.
   6689 
   6690 case $host_os in
   6691 aix[4-9]*)
   6692   lt_cv_deplibs_check_method=pass_all
   6693   ;;
   6694 
   6695 beos*)
   6696   lt_cv_deplibs_check_method=pass_all
   6697   ;;
   6698 
   6699 bsdi[45]*)
   6700   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6701   lt_cv_file_magic_cmd='$FILECMD -L'
   6702   lt_cv_file_magic_test_file=/shlib/libc.so
   6703   ;;
   6704 
   6705 cygwin*)
   6706   # func_win32_libid is a shell function defined in ltmain.sh
   6707   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6708   lt_cv_file_magic_cmd='func_win32_libid'
   6709   ;;
   6710 
   6711 mingw* | pw32*)
   6712   # Base MSYS/MinGW do not provide the 'file' command needed by
   6713   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6714   # unless we find 'file', for example because we are cross-compiling.
   6715   if ( file / ) >/dev/null 2>&1; then
   6716     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6717     lt_cv_file_magic_cmd='func_win32_libid'
   6718   else
   6719     # Keep this pattern in sync with the one in func_win32_libid.
   6720     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6721     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6722   fi
   6723   ;;
   6724 
   6725 cegcc*)
   6726   # use the weaker test based on 'objdump'. See mingw*.
   6727   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6728   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6729   ;;
   6730 
   6731 darwin* | rhapsody*)
   6732   lt_cv_deplibs_check_method=pass_all
   6733   ;;
   6734 
   6735 freebsd* | dragonfly* | midnightbsd*)
   6736   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6737     case $host_cpu in
   6738     i*86 )
   6739       # Not sure whether the presence of OpenBSD here was a mistake.
   6740       # Let's accept both of them until this is cleared up.
   6741       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6742       lt_cv_file_magic_cmd=$FILECMD
   6743       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6744       ;;
   6745     esac
   6746   else
   6747     lt_cv_deplibs_check_method=pass_all
   6748   fi
   6749   ;;
   6750 
   6751 haiku*)
   6752   lt_cv_deplibs_check_method=pass_all
   6753   ;;
   6754 
   6755 hpux10.20* | hpux11*)
   6756   lt_cv_file_magic_cmd=$FILECMD
   6757   case $host_cpu in
   6758   ia64*)
   6759     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6760     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6761     ;;
   6762   hppa*64*)
   6763     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]'
   6764     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6765     ;;
   6766   *)
   6767     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6768     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6769     ;;
   6770   esac
   6771   ;;
   6772 
   6773 interix[3-9]*)
   6774   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6775   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6776   ;;
   6777 
   6778 irix5* | irix6* | nonstopux*)
   6779   case $LD in
   6780   *-32|*"-32 ") libmagic=32-bit;;
   6781   *-n32|*"-n32 ") libmagic=N32;;
   6782   *-64|*"-64 ") libmagic=64-bit;;
   6783   *) libmagic=never-match;;
   6784   esac
   6785   lt_cv_deplibs_check_method=pass_all
   6786   ;;
   6787 
   6788 # This must be glibc/ELF.
   6789 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6790   lt_cv_deplibs_check_method=pass_all
   6791   ;;
   6792 
   6793 netbsd*)
   6794   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6795     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6796   else
   6797     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6798   fi
   6799   ;;
   6800 
   6801 newos6*)
   6802   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6803   lt_cv_file_magic_cmd=$FILECMD
   6804   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6805   ;;
   6806 
   6807 *nto* | *qnx*)
   6808   lt_cv_deplibs_check_method=pass_all
   6809   ;;
   6810 
   6811 openbsd* | bitrig*)
   6812   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6813     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6814   else
   6815     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6816   fi
   6817   ;;
   6818 
   6819 osf3* | osf4* | osf5*)
   6820   lt_cv_deplibs_check_method=pass_all
   6821   ;;
   6822 
   6823 rdos*)
   6824   lt_cv_deplibs_check_method=pass_all
   6825   ;;
   6826 
   6827 solaris*)
   6828   lt_cv_deplibs_check_method=pass_all
   6829   ;;
   6830 
   6831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6832   lt_cv_deplibs_check_method=pass_all
   6833   ;;
   6834 
   6835 sysv4 | sysv4.3*)
   6836   case $host_vendor in
   6837   motorola)
   6838     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]'
   6839     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6840     ;;
   6841   ncr)
   6842     lt_cv_deplibs_check_method=pass_all
   6843     ;;
   6844   sequent)
   6845     lt_cv_file_magic_cmd='/bin/file'
   6846     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6847     ;;
   6848   sni)
   6849     lt_cv_file_magic_cmd='/bin/file'
   6850     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6851     lt_cv_file_magic_test_file=/lib/libc.so
   6852     ;;
   6853   siemens)
   6854     lt_cv_deplibs_check_method=pass_all
   6855     ;;
   6856   pc)
   6857     lt_cv_deplibs_check_method=pass_all
   6858     ;;
   6859   esac
   6860   ;;
   6861 
   6862 tpf*)
   6863   lt_cv_deplibs_check_method=pass_all
   6864   ;;
   6865 os2*)
   6866   lt_cv_deplibs_check_method=pass_all
   6867   ;;
   6868 esac
   6869  ;;
   6870 esac
   6871 fi
   6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6873 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6874 
   6875 file_magic_glob=
   6876 want_nocaseglob=no
   6877 if test "$build" = "$host"; then
   6878   case $host_os in
   6879   mingw* | pw32*)
   6880     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6881       want_nocaseglob=yes
   6882     else
   6883       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6884     fi
   6885     ;;
   6886   esac
   6887 fi
   6888 
   6889 file_magic_cmd=$lt_cv_file_magic_cmd
   6890 deplibs_check_method=$lt_cv_deplibs_check_method
   6891 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 if test -n "$ac_tool_prefix"; then
   6915   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6916 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6918 printf %s "checking for $ac_word... " >&6; }
   6919 if test ${ac_cv_prog_DLLTOOL+y}
   6920 then :
   6921   printf %s "(cached) " >&6
   6922 else case e in #(
   6923   e) if test -n "$DLLTOOL"; then
   6924   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6925 else
   6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6927 for as_dir in $PATH
   6928 do
   6929   IFS=$as_save_IFS
   6930   case $as_dir in #(((
   6931     '') as_dir=./ ;;
   6932     */) ;;
   6933     *) as_dir=$as_dir/ ;;
   6934   esac
   6935     for ac_exec_ext in '' $ac_executable_extensions; do
   6936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6937     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6939     break 2
   6940   fi
   6941 done
   6942   done
   6943 IFS=$as_save_IFS
   6944 
   6945 fi ;;
   6946 esac
   6947 fi
   6948 DLLTOOL=$ac_cv_prog_DLLTOOL
   6949 if test -n "$DLLTOOL"; then
   6950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6951 printf "%s\n" "$DLLTOOL" >&6; }
   6952 else
   6953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6954 printf "%s\n" "no" >&6; }
   6955 fi
   6956 
   6957 
   6958 fi
   6959 if test -z "$ac_cv_prog_DLLTOOL"; then
   6960   ac_ct_DLLTOOL=$DLLTOOL
   6961   # Extract the first word of "dlltool", so it can be a program name with args.
   6962 set dummy dlltool; ac_word=$2
   6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6964 printf %s "checking for $ac_word... " >&6; }
   6965 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6966 then :
   6967   printf %s "(cached) " >&6
   6968 else case e in #(
   6969   e) if test -n "$ac_ct_DLLTOOL"; then
   6970   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6971 else
   6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6973 for as_dir in $PATH
   6974 do
   6975   IFS=$as_save_IFS
   6976   case $as_dir in #(((
   6977     '') as_dir=./ ;;
   6978     */) ;;
   6979     *) as_dir=$as_dir/ ;;
   6980   esac
   6981     for ac_exec_ext in '' $ac_executable_extensions; do
   6982   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6983     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6984     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6985     break 2
   6986   fi
   6987 done
   6988   done
   6989 IFS=$as_save_IFS
   6990 
   6991 fi ;;
   6992 esac
   6993 fi
   6994 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6995 if test -n "$ac_ct_DLLTOOL"; then
   6996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6997 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6998 else
   6999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7000 printf "%s\n" "no" >&6; }
   7001 fi
   7002 
   7003   if test "x$ac_ct_DLLTOOL" = x; then
   7004     DLLTOOL="false"
   7005   else
   7006     case $cross_compiling:$ac_tool_warned in
   7007 yes:)
   7008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7009 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7010 ac_tool_warned=yes ;;
   7011 esac
   7012     DLLTOOL=$ac_ct_DLLTOOL
   7013   fi
   7014 else
   7015   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7016 fi
   7017 
   7018 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7030 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7031 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7032 then :
   7033   printf %s "(cached) " >&6
   7034 else case e in #(
   7035   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7036 
   7037 case $host_os in
   7038 cygwin* | mingw* | pw32* | cegcc*)
   7039   # two different shell functions defined in ltmain.sh;
   7040   # decide which one to use based on capabilities of $DLLTOOL
   7041   case `$DLLTOOL --help 2>&1` in
   7042   *--identify-strict*)
   7043     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7044     ;;
   7045   *)
   7046     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7047     ;;
   7048   esac
   7049   ;;
   7050 *)
   7051   # fallback: assume linklib IS sharedlib
   7052   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7053   ;;
   7054 esac
   7055  ;;
   7056 esac
   7057 fi
   7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7059 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7060 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7061 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 if test -n "$ac_tool_prefix"; then
   7070   for ac_prog in ar
   7071   do
   7072     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7073 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7075 printf %s "checking for $ac_word... " >&6; }
   7076 if test ${ac_cv_prog_AR+y}
   7077 then :
   7078   printf %s "(cached) " >&6
   7079 else case e in #(
   7080   e) if test -n "$AR"; then
   7081   ac_cv_prog_AR="$AR" # Let the user override the test.
   7082 else
   7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7084 for as_dir in $PATH
   7085 do
   7086   IFS=$as_save_IFS
   7087   case $as_dir in #(((
   7088     '') as_dir=./ ;;
   7089     */) ;;
   7090     *) as_dir=$as_dir/ ;;
   7091   esac
   7092     for ac_exec_ext in '' $ac_executable_extensions; do
   7093   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7094     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7095     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7096     break 2
   7097   fi
   7098 done
   7099   done
   7100 IFS=$as_save_IFS
   7101 
   7102 fi ;;
   7103 esac
   7104 fi
   7105 AR=$ac_cv_prog_AR
   7106 if test -n "$AR"; then
   7107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7108 printf "%s\n" "$AR" >&6; }
   7109 else
   7110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7111 printf "%s\n" "no" >&6; }
   7112 fi
   7113 
   7114 
   7115     test -n "$AR" && break
   7116   done
   7117 fi
   7118 if test -z "$AR"; then
   7119   ac_ct_AR=$AR
   7120   for ac_prog in ar
   7121 do
   7122   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7123 set dummy $ac_prog; ac_word=$2
   7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7125 printf %s "checking for $ac_word... " >&6; }
   7126 if test ${ac_cv_prog_ac_ct_AR+y}
   7127 then :
   7128   printf %s "(cached) " >&6
   7129 else case e in #(
   7130   e) if test -n "$ac_ct_AR"; then
   7131   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7132 else
   7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7134 for as_dir in $PATH
   7135 do
   7136   IFS=$as_save_IFS
   7137   case $as_dir in #(((
   7138     '') as_dir=./ ;;
   7139     */) ;;
   7140     *) as_dir=$as_dir/ ;;
   7141   esac
   7142     for ac_exec_ext in '' $ac_executable_extensions; do
   7143   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7144     ac_cv_prog_ac_ct_AR="$ac_prog"
   7145     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7146     break 2
   7147   fi
   7148 done
   7149   done
   7150 IFS=$as_save_IFS
   7151 
   7152 fi ;;
   7153 esac
   7154 fi
   7155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7156 if test -n "$ac_ct_AR"; then
   7157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7158 printf "%s\n" "$ac_ct_AR" >&6; }
   7159 else
   7160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7161 printf "%s\n" "no" >&6; }
   7162 fi
   7163 
   7164 
   7165   test -n "$ac_ct_AR" && break
   7166 done
   7167 
   7168   if test "x$ac_ct_AR" = x; then
   7169     AR="false"
   7170   else
   7171     case $cross_compiling:$ac_tool_warned in
   7172 yes:)
   7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7174 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7175 ac_tool_warned=yes ;;
   7176 esac
   7177     AR=$ac_ct_AR
   7178   fi
   7179 fi
   7180 
   7181 : ${AR=ar}
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7189 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7190 # higher priority because thats what people were doing historically (setting
   7191 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7192 # variable obsoleted/removed.
   7193 
   7194 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7195 lt_ar_flags=$AR_FLAGS
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7203 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7211 printf %s "checking for archiver @FILE support... " >&6; }
   7212 if test ${lt_cv_ar_at_file+y}
   7213 then :
   7214   printf %s "(cached) " >&6
   7215 else case e in #(
   7216   e) lt_cv_ar_at_file=no
   7217    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 
   7220 int
   7221 main (void)
   7222 {
   7223 
   7224   ;
   7225   return 0;
   7226 }
   7227 _ACEOF
   7228 if ac_fn_c_try_compile "$LINENO"
   7229 then :
   7230   echo conftest.$ac_objext > conftest.lst
   7231       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7232       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7233   (eval $lt_ar_try) 2>&5
   7234   ac_status=$?
   7235   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7236   test $ac_status = 0; }
   7237       if test 0 -eq "$ac_status"; then
   7238 	# Ensure the archiver fails upon bogus file names.
   7239 	rm -f conftest.$ac_objext libconftest.a
   7240 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7241   (eval $lt_ar_try) 2>&5
   7242   ac_status=$?
   7243   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7244   test $ac_status = 0; }
   7245 	if test 0 -ne "$ac_status"; then
   7246           lt_cv_ar_at_file=@
   7247         fi
   7248       fi
   7249       rm -f conftest.* libconftest.a
   7250 
   7251 fi
   7252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7253    ;;
   7254 esac
   7255 fi
   7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7257 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7258 
   7259 if test no = "$lt_cv_ar_at_file"; then
   7260   archiver_list_spec=
   7261 else
   7262   archiver_list_spec=$lt_cv_ar_at_file
   7263 fi
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 if test -n "$ac_tool_prefix"; then
   7272   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7273 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7275 printf %s "checking for $ac_word... " >&6; }
   7276 if test ${ac_cv_prog_STRIP+y}
   7277 then :
   7278   printf %s "(cached) " >&6
   7279 else case e in #(
   7280   e) if test -n "$STRIP"; then
   7281   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7282 else
   7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7284 for as_dir in $PATH
   7285 do
   7286   IFS=$as_save_IFS
   7287   case $as_dir in #(((
   7288     '') as_dir=./ ;;
   7289     */) ;;
   7290     *) as_dir=$as_dir/ ;;
   7291   esac
   7292     for ac_exec_ext in '' $ac_executable_extensions; do
   7293   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7294     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7295     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7296     break 2
   7297   fi
   7298 done
   7299   done
   7300 IFS=$as_save_IFS
   7301 
   7302 fi ;;
   7303 esac
   7304 fi
   7305 STRIP=$ac_cv_prog_STRIP
   7306 if test -n "$STRIP"; then
   7307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7308 printf "%s\n" "$STRIP" >&6; }
   7309 else
   7310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7311 printf "%s\n" "no" >&6; }
   7312 fi
   7313 
   7314 
   7315 fi
   7316 if test -z "$ac_cv_prog_STRIP"; then
   7317   ac_ct_STRIP=$STRIP
   7318   # Extract the first word of "strip", so it can be a program name with args.
   7319 set dummy strip; ac_word=$2
   7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7321 printf %s "checking for $ac_word... " >&6; }
   7322 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7323 then :
   7324   printf %s "(cached) " >&6
   7325 else case e in #(
   7326   e) if test -n "$ac_ct_STRIP"; then
   7327   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7328 else
   7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7330 for as_dir in $PATH
   7331 do
   7332   IFS=$as_save_IFS
   7333   case $as_dir in #(((
   7334     '') as_dir=./ ;;
   7335     */) ;;
   7336     *) as_dir=$as_dir/ ;;
   7337   esac
   7338     for ac_exec_ext in '' $ac_executable_extensions; do
   7339   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7340     ac_cv_prog_ac_ct_STRIP="strip"
   7341     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7342     break 2
   7343   fi
   7344 done
   7345   done
   7346 IFS=$as_save_IFS
   7347 
   7348 fi ;;
   7349 esac
   7350 fi
   7351 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7352 if test -n "$ac_ct_STRIP"; then
   7353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7354 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7355 else
   7356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7357 printf "%s\n" "no" >&6; }
   7358 fi
   7359 
   7360   if test "x$ac_ct_STRIP" = x; then
   7361     STRIP=":"
   7362   else
   7363     case $cross_compiling:$ac_tool_warned in
   7364 yes:)
   7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7366 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7367 ac_tool_warned=yes ;;
   7368 esac
   7369     STRIP=$ac_ct_STRIP
   7370   fi
   7371 else
   7372   STRIP="$ac_cv_prog_STRIP"
   7373 fi
   7374 
   7375 test -z "$STRIP" && STRIP=:
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 if test -n "$ac_tool_prefix"; then
   7383   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7384 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7386 printf %s "checking for $ac_word... " >&6; }
   7387 if test ${ac_cv_prog_RANLIB+y}
   7388 then :
   7389   printf %s "(cached) " >&6
   7390 else case e in #(
   7391   e) if test -n "$RANLIB"; then
   7392   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7393 else
   7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7395 for as_dir in $PATH
   7396 do
   7397   IFS=$as_save_IFS
   7398   case $as_dir in #(((
   7399     '') as_dir=./ ;;
   7400     */) ;;
   7401     *) as_dir=$as_dir/ ;;
   7402   esac
   7403     for ac_exec_ext in '' $ac_executable_extensions; do
   7404   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7405     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7406     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7407     break 2
   7408   fi
   7409 done
   7410   done
   7411 IFS=$as_save_IFS
   7412 
   7413 fi ;;
   7414 esac
   7415 fi
   7416 RANLIB=$ac_cv_prog_RANLIB
   7417 if test -n "$RANLIB"; then
   7418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7419 printf "%s\n" "$RANLIB" >&6; }
   7420 else
   7421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7422 printf "%s\n" "no" >&6; }
   7423 fi
   7424 
   7425 
   7426 fi
   7427 if test -z "$ac_cv_prog_RANLIB"; then
   7428   ac_ct_RANLIB=$RANLIB
   7429   # Extract the first word of "ranlib", so it can be a program name with args.
   7430 set dummy ranlib; ac_word=$2
   7431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7432 printf %s "checking for $ac_word... " >&6; }
   7433 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7434 then :
   7435   printf %s "(cached) " >&6
   7436 else case e in #(
   7437   e) if test -n "$ac_ct_RANLIB"; then
   7438   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7439 else
   7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7441 for as_dir in $PATH
   7442 do
   7443   IFS=$as_save_IFS
   7444   case $as_dir in #(((
   7445     '') as_dir=./ ;;
   7446     */) ;;
   7447     *) as_dir=$as_dir/ ;;
   7448   esac
   7449     for ac_exec_ext in '' $ac_executable_extensions; do
   7450   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7451     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7452     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7453     break 2
   7454   fi
   7455 done
   7456   done
   7457 IFS=$as_save_IFS
   7458 
   7459 fi ;;
   7460 esac
   7461 fi
   7462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7463 if test -n "$ac_ct_RANLIB"; then
   7464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7465 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7466 else
   7467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7468 printf "%s\n" "no" >&6; }
   7469 fi
   7470 
   7471   if test "x$ac_ct_RANLIB" = x; then
   7472     RANLIB=":"
   7473   else
   7474     case $cross_compiling:$ac_tool_warned in
   7475 yes:)
   7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7477 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7478 ac_tool_warned=yes ;;
   7479 esac
   7480     RANLIB=$ac_ct_RANLIB
   7481   fi
   7482 else
   7483   RANLIB="$ac_cv_prog_RANLIB"
   7484 fi
   7485 
   7486 test -z "$RANLIB" && RANLIB=:
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 # Determine commands to create old-style static archives.
   7494 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7495 old_postinstall_cmds='chmod 644 $oldlib'
   7496 old_postuninstall_cmds=
   7497 
   7498 if test -n "$RANLIB"; then
   7499   case $host_os in
   7500   bitrig* | openbsd*)
   7501     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7502     ;;
   7503   *)
   7504     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7505     ;;
   7506   esac
   7507   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7508 fi
   7509 
   7510 case $host_os in
   7511   darwin*)
   7512     lock_old_archive_extraction=yes ;;
   7513   *)
   7514     lock_old_archive_extraction=no ;;
   7515 esac
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 # If no C compiler was specified, use CC.
   7556 LTCC=${LTCC-"$CC"}
   7557 
   7558 # If no C compiler flags were specified, use CFLAGS.
   7559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7560 
   7561 # Allow CC to be a program name with arguments.
   7562 compiler=$CC
   7563 
   7564 
   7565 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7567 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7568 if test ${lt_cv_sys_global_symbol_pipe+y}
   7569 then :
   7570   printf %s "(cached) " >&6
   7571 else case e in #(
   7572   e)
   7573 # These are sane defaults that work on at least a few old systems.
   7574 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7575 
   7576 # Character class describing NM global symbol codes.
   7577 symcode='[BCDEGRST]'
   7578 
   7579 # Regexp to match symbols that can be accessed directly from C.
   7580 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7581 
   7582 # Define system-specific variables.
   7583 case $host_os in
   7584 aix*)
   7585   symcode='[BCDT]'
   7586   ;;
   7587 cygwin* | mingw* | pw32* | cegcc*)
   7588   symcode='[ABCDGISTW]'
   7589   ;;
   7590 hpux*)
   7591   if test ia64 = "$host_cpu"; then
   7592     symcode='[ABCDEGRST]'
   7593   fi
   7594   ;;
   7595 irix* | nonstopux*)
   7596   symcode='[BCDEGRST]'
   7597   ;;
   7598 osf*)
   7599   symcode='[BCDEGQRST]'
   7600   ;;
   7601 solaris*)
   7602   symcode='[BDRT]'
   7603   ;;
   7604 sco3.2v5*)
   7605   symcode='[DT]'
   7606   ;;
   7607 sysv4.2uw2*)
   7608   symcode='[DT]'
   7609   ;;
   7610 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7611   symcode='[ABDT]'
   7612   ;;
   7613 sysv4)
   7614   symcode='[DFNSTU]'
   7615   ;;
   7616 esac
   7617 
   7618 # If we're using GNU nm, then use its standard symbol codes.
   7619 case `$NM -V 2>&1` in
   7620 *GNU* | *'with BFD'*)
   7621   symcode='[ABCDGIRSTW]' ;;
   7622 esac
   7623 
   7624 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7625   # Gets list of data symbols to import.
   7626   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7627   # Adjust the below global symbol transforms to fixup imported variables.
   7628   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7629   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7630   lt_c_name_lib_hook="\
   7631   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7632   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7633 else
   7634   # Disable hooks by default.
   7635   lt_cv_sys_global_symbol_to_import=
   7636   lt_cdecl_hook=
   7637   lt_c_name_hook=
   7638   lt_c_name_lib_hook=
   7639 fi
   7640 
   7641 # Transform an extracted symbol line into a proper C declaration.
   7642 # Some systems (esp. on ia64) link data and code symbols differently,
   7643 # so use this general approach.
   7644 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7645 $lt_cdecl_hook\
   7646 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7647 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7648 
   7649 # Transform an extracted symbol line into symbol name and symbol address
   7650 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7651 $lt_c_name_hook\
   7652 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7653 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7654 
   7655 # Transform an extracted symbol line into symbol name with lib prefix and
   7656 # symbol address.
   7657 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7658 $lt_c_name_lib_hook\
   7659 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7660 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7661 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7662 
   7663 # Handle CRLF in mingw tool chain
   7664 opt_cr=
   7665 case $build_os in
   7666 mingw*)
   7667   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7668   ;;
   7669 esac
   7670 
   7671 # Try without a prefix underscore, then with it.
   7672 for ac_symprfx in "" "_"; do
   7673 
   7674   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7675   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7676 
   7677   # Write the raw and C identifiers.
   7678   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7679     # Fake it for dumpbin and say T for any non-static function,
   7680     # D for any global variable and I for any imported variable.
   7681     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7682     # which start with @ or ?.
   7683     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7684 "     {last_section=section; section=\$ 3};"\
   7685 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7686 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7687 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7688 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7689 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7690 "     \$ 0!~/External *\|/{next};"\
   7691 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7692 "     {if(hide[section]) next};"\
   7693 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7694 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7695 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7696 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7697 "     ' prfx=^$ac_symprfx"
   7698   else
   7699     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7700   fi
   7701   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7702 
   7703   # Check to see that the pipe works correctly.
   7704   pipe_works=no
   7705 
   7706   rm -f conftest*
   7707   cat > conftest.$ac_ext <<_LT_EOF
   7708 #ifdef __cplusplus
   7709 extern "C" {
   7710 #endif
   7711 char nm_test_var;
   7712 void nm_test_func(void);
   7713 void nm_test_func(void){}
   7714 #ifdef __cplusplus
   7715 }
   7716 #endif
   7717 int main(){nm_test_var='a';nm_test_func();return(0);}
   7718 _LT_EOF
   7719 
   7720   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7721   (eval $ac_compile) 2>&5
   7722   ac_status=$?
   7723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7724   test $ac_status = 0; }; then
   7725     # Now try to grab the symbols.
   7726     nlist=conftest.nm
   7727     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7728   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7729   ac_status=$?
   7730   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7731   test $ac_status = 0; } && test -s "$nlist"; then
   7732       # Try sorting and uniquifying the output.
   7733       if sort "$nlist" | uniq > "$nlist"T; then
   7734 	mv -f "$nlist"T "$nlist"
   7735       else
   7736 	rm -f "$nlist"T
   7737       fi
   7738 
   7739       # Make sure that we snagged all the symbols we need.
   7740       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7741 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7742 	  cat <<_LT_EOF > conftest.$ac_ext
   7743 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7744 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7745 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7746    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7747 # define LT_DLSYM_CONST
   7748 #elif defined __osf__
   7749 /* This system does not cope well with relocations in const data.  */
   7750 # define LT_DLSYM_CONST
   7751 #else
   7752 # define LT_DLSYM_CONST const
   7753 #endif
   7754 
   7755 #ifdef __cplusplus
   7756 extern "C" {
   7757 #endif
   7758 
   7759 _LT_EOF
   7760 	  # Now generate the symbol file.
   7761 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7762 
   7763 	  cat <<_LT_EOF >> conftest.$ac_ext
   7764 
   7765 /* The mapping between symbol names and symbols.  */
   7766 LT_DLSYM_CONST struct {
   7767   const char *name;
   7768   void       *address;
   7769 }
   7770 lt__PROGRAM__LTX_preloaded_symbols[] =
   7771 {
   7772   { "@PROGRAM@", (void *) 0 },
   7773 _LT_EOF
   7774 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7775 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7776   {0, (void *) 0}
   7777 };
   7778 
   7779 /* This works around a problem in FreeBSD linker */
   7780 #ifdef FREEBSD_WORKAROUND
   7781 static const void *lt_preloaded_setup() {
   7782   return lt__PROGRAM__LTX_preloaded_symbols;
   7783 }
   7784 #endif
   7785 
   7786 #ifdef __cplusplus
   7787 }
   7788 #endif
   7789 _LT_EOF
   7790 	  # Now try linking the two files.
   7791 	  mv conftest.$ac_objext conftstm.$ac_objext
   7792 	  lt_globsym_save_LIBS=$LIBS
   7793 	  lt_globsym_save_CFLAGS=$CFLAGS
   7794 	  LIBS=conftstm.$ac_objext
   7795 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7796 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7797   (eval $ac_link) 2>&5
   7798   ac_status=$?
   7799   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7800   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7801 	    pipe_works=yes
   7802 	  fi
   7803 	  LIBS=$lt_globsym_save_LIBS
   7804 	  CFLAGS=$lt_globsym_save_CFLAGS
   7805 	else
   7806 	  echo "cannot find nm_test_func in $nlist" >&5
   7807 	fi
   7808       else
   7809 	echo "cannot find nm_test_var in $nlist" >&5
   7810       fi
   7811     else
   7812       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7813     fi
   7814   else
   7815     echo "$progname: failed program was:" >&5
   7816     cat conftest.$ac_ext >&5
   7817   fi
   7818   rm -rf conftest* conftst*
   7819 
   7820   # Do not use the global_symbol_pipe unless it works.
   7821   if test yes = "$pipe_works"; then
   7822     break
   7823   else
   7824     lt_cv_sys_global_symbol_pipe=
   7825   fi
   7826 done
   7827  ;;
   7828 esac
   7829 fi
   7830 
   7831 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7832   lt_cv_sys_global_symbol_to_cdecl=
   7833 fi
   7834 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7836 printf "%s\n" "failed" >&6; }
   7837 else
   7838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7839 printf "%s\n" "ok" >&6; }
   7840 fi
   7841 
   7842 # Response file support.
   7843 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7844   nm_file_list_spec='@'
   7845 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7846   nm_file_list_spec='@'
   7847 fi
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7886 printf %s "checking for sysroot... " >&6; }
   7887 
   7888 # Check whether --with-sysroot was given.
   7889 if test ${with_sysroot+y}
   7890 then :
   7891   withval=$with_sysroot;
   7892 else case e in #(
   7893   e) with_sysroot=no ;;
   7894 esac
   7895 fi
   7896 
   7897 
   7898 lt_sysroot=
   7899 case $with_sysroot in #(
   7900  yes)
   7901    if test yes = "$GCC"; then
   7902      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7903    fi
   7904    ;; #(
   7905  /*)
   7906    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7907    ;; #(
   7908  no|'')
   7909    ;; #(
   7910  *)
   7911    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7912 printf "%s\n" "$with_sysroot" >&6; }
   7913    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7914    ;;
   7915 esac
   7916 
   7917  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7918 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7925 printf %s "checking for a working dd... " >&6; }
   7926 if test ${ac_cv_path_lt_DD+y}
   7927 then :
   7928   printf %s "(cached) " >&6
   7929 else case e in #(
   7930   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7931 cat conftest.i conftest.i >conftest2.i
   7932 : ${lt_DD:=$DD}
   7933 if test -z "$lt_DD"; then
   7934   ac_path_lt_DD_found=false
   7935   # Loop through the user's path and test for each of PROGNAME-LIST
   7936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7937 for as_dir in $PATH
   7938 do
   7939   IFS=$as_save_IFS
   7940   case $as_dir in #(((
   7941     '') as_dir=./ ;;
   7942     */) ;;
   7943     *) as_dir=$as_dir/ ;;
   7944   esac
   7945     for ac_prog in dd
   7946    do
   7947     for ac_exec_ext in '' $ac_executable_extensions; do
   7948       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7949       as_fn_executable_p "$ac_path_lt_DD" || continue
   7950 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7951   cmp -s conftest.i conftest.out \
   7952   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7953 fi
   7954       $ac_path_lt_DD_found && break 3
   7955     done
   7956   done
   7957   done
   7958 IFS=$as_save_IFS
   7959   if test -z "$ac_cv_path_lt_DD"; then
   7960     :
   7961   fi
   7962 else
   7963   ac_cv_path_lt_DD=$lt_DD
   7964 fi
   7965 
   7966 rm -f conftest.i conftest2.i conftest.out ;;
   7967 esac
   7968 fi
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7970 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7971 
   7972 
   7973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7974 printf %s "checking how to truncate binary pipes... " >&6; }
   7975 if test ${lt_cv_truncate_bin+y}
   7976 then :
   7977   printf %s "(cached) " >&6
   7978 else case e in #(
   7979   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7980 cat conftest.i conftest.i >conftest2.i
   7981 lt_cv_truncate_bin=
   7982 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7983   cmp -s conftest.i conftest.out \
   7984   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7985 fi
   7986 rm -f conftest.i conftest2.i conftest.out
   7987 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7988 esac
   7989 fi
   7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7991 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8000 func_cc_basename ()
   8001 {
   8002     for cc_temp in $*""; do
   8003       case $cc_temp in
   8004         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8005         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8006         \-*) ;;
   8007         *) break;;
   8008       esac
   8009     done
   8010     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8011 }
   8012 
   8013 # Check whether --enable-libtool-lock was given.
   8014 if test ${enable_libtool_lock+y}
   8015 then :
   8016   enableval=$enable_libtool_lock;
   8017 fi
   8018 
   8019 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8020 
   8021 # Some flags need to be propagated to the compiler or linker for good
   8022 # libtool support.
   8023 case $host in
   8024 ia64-*-hpux*)
   8025   # Find out what ABI is being produced by ac_compile, and set mode
   8026   # options accordingly.
   8027   echo 'int i;' > conftest.$ac_ext
   8028   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8029   (eval $ac_compile) 2>&5
   8030   ac_status=$?
   8031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8032   test $ac_status = 0; }; then
   8033     case `$FILECMD conftest.$ac_objext` in
   8034       *ELF-32*)
   8035 	HPUX_IA64_MODE=32
   8036 	;;
   8037       *ELF-64*)
   8038 	HPUX_IA64_MODE=64
   8039 	;;
   8040     esac
   8041   fi
   8042   rm -rf conftest*
   8043   ;;
   8044 *-*-irix6*)
   8045   # Find out what ABI is being produced by ac_compile, and set linker
   8046   # options accordingly.
   8047   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8048   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8049   (eval $ac_compile) 2>&5
   8050   ac_status=$?
   8051   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8052   test $ac_status = 0; }; then
   8053     if test yes = "$lt_cv_prog_gnu_ld"; then
   8054       case `$FILECMD conftest.$ac_objext` in
   8055 	*32-bit*)
   8056 	  LD="${LD-ld} -melf32bsmip"
   8057 	  ;;
   8058 	*N32*)
   8059 	  LD="${LD-ld} -melf32bmipn32"
   8060 	  ;;
   8061 	*64-bit*)
   8062 	  LD="${LD-ld} -melf64bmip"
   8063 	;;
   8064       esac
   8065     else
   8066       case `$FILECMD conftest.$ac_objext` in
   8067 	*32-bit*)
   8068 	  LD="${LD-ld} -32"
   8069 	  ;;
   8070 	*N32*)
   8071 	  LD="${LD-ld} -n32"
   8072 	  ;;
   8073 	*64-bit*)
   8074 	  LD="${LD-ld} -64"
   8075 	  ;;
   8076       esac
   8077     fi
   8078   fi
   8079   rm -rf conftest*
   8080   ;;
   8081 
   8082 mips64*-*linux*)
   8083   # Find out what ABI is being produced by ac_compile, and set linker
   8084   # options accordingly.
   8085   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8086   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8087   (eval $ac_compile) 2>&5
   8088   ac_status=$?
   8089   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8090   test $ac_status = 0; }; then
   8091     emul=elf
   8092     case `$FILECMD conftest.$ac_objext` in
   8093       *32-bit*)
   8094 	emul="${emul}32"
   8095 	;;
   8096       *64-bit*)
   8097 	emul="${emul}64"
   8098 	;;
   8099     esac
   8100     case `$FILECMD conftest.$ac_objext` in
   8101       *MSB*)
   8102 	emul="${emul}btsmip"
   8103 	;;
   8104       *LSB*)
   8105 	emul="${emul}ltsmip"
   8106 	;;
   8107     esac
   8108     case `$FILECMD conftest.$ac_objext` in
   8109       *N32*)
   8110 	emul="${emul}n32"
   8111 	;;
   8112     esac
   8113     LD="${LD-ld} -m $emul"
   8114   fi
   8115   rm -rf conftest*
   8116   ;;
   8117 
   8118 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8119 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8120   # Find out what ABI is being produced by ac_compile, and set linker
   8121   # options accordingly.  Note that the listed cases only cover the
   8122   # situations where additional linker options are needed (such as when
   8123   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8124   # vice versa); the common cases where no linker options are needed do
   8125   # not appear in the list.
   8126   echo 'int i;' > conftest.$ac_ext
   8127   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8128   (eval $ac_compile) 2>&5
   8129   ac_status=$?
   8130   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8131   test $ac_status = 0; }; then
   8132     case `$FILECMD conftest.o` in
   8133       *32-bit*)
   8134 	case $host in
   8135 	  x86_64-*kfreebsd*-gnu)
   8136 	    LD="${LD-ld} -m elf_i386_fbsd"
   8137 	    ;;
   8138 	  x86_64-*linux*)
   8139 	    case `$FILECMD conftest.o` in
   8140 	      *x86-64*)
   8141 		LD="${LD-ld} -m elf32_x86_64"
   8142 		;;
   8143 	      *)
   8144 		LD="${LD-ld} -m elf_i386"
   8145 		;;
   8146 	    esac
   8147 	    ;;
   8148 	  powerpc64le-*linux*)
   8149 	    LD="${LD-ld} -m elf32lppclinux"
   8150 	    ;;
   8151 	  powerpc64-*linux*)
   8152 	    LD="${LD-ld} -m elf32ppclinux"
   8153 	    ;;
   8154 	  s390x-*linux*)
   8155 	    LD="${LD-ld} -m elf_s390"
   8156 	    ;;
   8157 	  sparc64-*linux*)
   8158 	    LD="${LD-ld} -m elf32_sparc"
   8159 	    ;;
   8160 	esac
   8161 	;;
   8162       *64-bit*)
   8163 	case $host in
   8164 	  x86_64-*kfreebsd*-gnu)
   8165 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8166 	    ;;
   8167 	  x86_64-*linux*)
   8168 	    LD="${LD-ld} -m elf_x86_64"
   8169 	    ;;
   8170 	  powerpcle-*linux*)
   8171 	    LD="${LD-ld} -m elf64lppc"
   8172 	    ;;
   8173 	  powerpc-*linux*)
   8174 	    LD="${LD-ld} -m elf64ppc"
   8175 	    ;;
   8176 	  s390*-*linux*|s390*-*tpf*)
   8177 	    LD="${LD-ld} -m elf64_s390"
   8178 	    ;;
   8179 	  sparc*-*linux*)
   8180 	    LD="${LD-ld} -m elf64_sparc"
   8181 	    ;;
   8182 	esac
   8183 	;;
   8184     esac
   8185   fi
   8186   rm -rf conftest*
   8187   ;;
   8188 
   8189 *-*-sco3.2v5*)
   8190   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8191   SAVE_CFLAGS=$CFLAGS
   8192   CFLAGS="$CFLAGS -belf"
   8193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8194 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8195 if test ${lt_cv_cc_needs_belf+y}
   8196 then :
   8197   printf %s "(cached) " >&6
   8198 else case e in #(
   8199   e) ac_ext=c
   8200 ac_cpp='$CPP $CPPFLAGS'
   8201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8204 
   8205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8206 /* end confdefs.h.  */
   8207 
   8208 int
   8209 main (void)
   8210 {
   8211 
   8212   ;
   8213   return 0;
   8214 }
   8215 _ACEOF
   8216 if ac_fn_c_try_link "$LINENO"
   8217 then :
   8218   lt_cv_cc_needs_belf=yes
   8219 else case e in #(
   8220   e) lt_cv_cc_needs_belf=no ;;
   8221 esac
   8222 fi
   8223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8224     conftest$ac_exeext conftest.$ac_ext
   8225      ac_ext=c
   8226 ac_cpp='$CPP $CPPFLAGS'
   8227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8230  ;;
   8231 esac
   8232 fi
   8233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8234 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8235   if test yes != "$lt_cv_cc_needs_belf"; then
   8236     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8237     CFLAGS=$SAVE_CFLAGS
   8238   fi
   8239   ;;
   8240 *-*solaris*)
   8241   # Find out what ABI is being produced by ac_compile, and set linker
   8242   # options accordingly.
   8243   echo 'int i;' > conftest.$ac_ext
   8244   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8245   (eval $ac_compile) 2>&5
   8246   ac_status=$?
   8247   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8248   test $ac_status = 0; }; then
   8249     case `$FILECMD conftest.o` in
   8250     *64-bit*)
   8251       case $lt_cv_prog_gnu_ld in
   8252       yes*)
   8253         case $host in
   8254         i?86-*-solaris*|x86_64-*-solaris*)
   8255           LD="${LD-ld} -m elf_x86_64"
   8256           ;;
   8257         sparc*-*-solaris*)
   8258           LD="${LD-ld} -m elf64_sparc"
   8259           ;;
   8260         esac
   8261         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8262         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8263           LD=${LD-ld}_sol2
   8264         fi
   8265         ;;
   8266       *)
   8267 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8268 	  LD="${LD-ld} -64"
   8269 	fi
   8270 	;;
   8271       esac
   8272       ;;
   8273     esac
   8274   fi
   8275   rm -rf conftest*
   8276   ;;
   8277 esac
   8278 
   8279 need_locks=$enable_libtool_lock
   8280 
   8281 if test -n "$ac_tool_prefix"; then
   8282   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8283 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8285 printf %s "checking for $ac_word... " >&6; }
   8286 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8287 then :
   8288   printf %s "(cached) " >&6
   8289 else case e in #(
   8290   e) if test -n "$MANIFEST_TOOL"; then
   8291   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8292 else
   8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8294 for as_dir in $PATH
   8295 do
   8296   IFS=$as_save_IFS
   8297   case $as_dir in #(((
   8298     '') as_dir=./ ;;
   8299     */) ;;
   8300     *) as_dir=$as_dir/ ;;
   8301   esac
   8302     for ac_exec_ext in '' $ac_executable_extensions; do
   8303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8304     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8305     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8306     break 2
   8307   fi
   8308 done
   8309   done
   8310 IFS=$as_save_IFS
   8311 
   8312 fi ;;
   8313 esac
   8314 fi
   8315 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8316 if test -n "$MANIFEST_TOOL"; then
   8317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8318 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8319 else
   8320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8321 printf "%s\n" "no" >&6; }
   8322 fi
   8323 
   8324 
   8325 fi
   8326 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8327   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8328   # Extract the first word of "mt", so it can be a program name with args.
   8329 set dummy mt; ac_word=$2
   8330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8331 printf %s "checking for $ac_word... " >&6; }
   8332 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8333 then :
   8334   printf %s "(cached) " >&6
   8335 else case e in #(
   8336   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8337   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8338 else
   8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8340 for as_dir in $PATH
   8341 do
   8342   IFS=$as_save_IFS
   8343   case $as_dir in #(((
   8344     '') as_dir=./ ;;
   8345     */) ;;
   8346     *) as_dir=$as_dir/ ;;
   8347   esac
   8348     for ac_exec_ext in '' $ac_executable_extensions; do
   8349   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8350     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8351     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8352     break 2
   8353   fi
   8354 done
   8355   done
   8356 IFS=$as_save_IFS
   8357 
   8358 fi ;;
   8359 esac
   8360 fi
   8361 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8362 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8364 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8365 else
   8366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8367 printf "%s\n" "no" >&6; }
   8368 fi
   8369 
   8370   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8371     MANIFEST_TOOL=":"
   8372   else
   8373     case $cross_compiling:$ac_tool_warned in
   8374 yes:)
   8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8376 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8377 ac_tool_warned=yes ;;
   8378 esac
   8379     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8380   fi
   8381 else
   8382   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8383 fi
   8384 
   8385 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8387 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8388 if test ${lt_cv_path_mainfest_tool+y}
   8389 then :
   8390   printf %s "(cached) " >&6
   8391 else case e in #(
   8392   e) lt_cv_path_mainfest_tool=no
   8393   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8394   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8395   cat conftest.err >&5
   8396   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8397     lt_cv_path_mainfest_tool=yes
   8398   fi
   8399   rm -f conftest* ;;
   8400 esac
   8401 fi
   8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8403 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8404 if test yes != "$lt_cv_path_mainfest_tool"; then
   8405   MANIFEST_TOOL=:
   8406 fi
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413   case $host_os in
   8414     rhapsody* | darwin*)
   8415     if test -n "$ac_tool_prefix"; then
   8416   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8417 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8419 printf %s "checking for $ac_word... " >&6; }
   8420 if test ${ac_cv_prog_DSYMUTIL+y}
   8421 then :
   8422   printf %s "(cached) " >&6
   8423 else case e in #(
   8424   e) if test -n "$DSYMUTIL"; then
   8425   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8426 else
   8427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8428 for as_dir in $PATH
   8429 do
   8430   IFS=$as_save_IFS
   8431   case $as_dir in #(((
   8432     '') as_dir=./ ;;
   8433     */) ;;
   8434     *) as_dir=$as_dir/ ;;
   8435   esac
   8436     for ac_exec_ext in '' $ac_executable_extensions; do
   8437   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8438     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8439     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8440     break 2
   8441   fi
   8442 done
   8443   done
   8444 IFS=$as_save_IFS
   8445 
   8446 fi ;;
   8447 esac
   8448 fi
   8449 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8450 if test -n "$DSYMUTIL"; then
   8451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8452 printf "%s\n" "$DSYMUTIL" >&6; }
   8453 else
   8454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8455 printf "%s\n" "no" >&6; }
   8456 fi
   8457 
   8458 
   8459 fi
   8460 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8461   ac_ct_DSYMUTIL=$DSYMUTIL
   8462   # Extract the first word of "dsymutil", so it can be a program name with args.
   8463 set dummy dsymutil; ac_word=$2
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8465 printf %s "checking for $ac_word... " >&6; }
   8466 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8467 then :
   8468   printf %s "(cached) " >&6
   8469 else case e in #(
   8470   e) if test -n "$ac_ct_DSYMUTIL"; then
   8471   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8472 else
   8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8474 for as_dir in $PATH
   8475 do
   8476   IFS=$as_save_IFS
   8477   case $as_dir in #(((
   8478     '') as_dir=./ ;;
   8479     */) ;;
   8480     *) as_dir=$as_dir/ ;;
   8481   esac
   8482     for ac_exec_ext in '' $ac_executable_extensions; do
   8483   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8484     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8485     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8486     break 2
   8487   fi
   8488 done
   8489   done
   8490 IFS=$as_save_IFS
   8491 
   8492 fi ;;
   8493 esac
   8494 fi
   8495 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8496 if test -n "$ac_ct_DSYMUTIL"; then
   8497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8498 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8499 else
   8500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8501 printf "%s\n" "no" >&6; }
   8502 fi
   8503 
   8504   if test "x$ac_ct_DSYMUTIL" = x; then
   8505     DSYMUTIL=":"
   8506   else
   8507     case $cross_compiling:$ac_tool_warned in
   8508 yes:)
   8509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8510 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8511 ac_tool_warned=yes ;;
   8512 esac
   8513     DSYMUTIL=$ac_ct_DSYMUTIL
   8514   fi
   8515 else
   8516   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8517 fi
   8518 
   8519     if test -n "$ac_tool_prefix"; then
   8520   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8521 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8523 printf %s "checking for $ac_word... " >&6; }
   8524 if test ${ac_cv_prog_NMEDIT+y}
   8525 then :
   8526   printf %s "(cached) " >&6
   8527 else case e in #(
   8528   e) if test -n "$NMEDIT"; then
   8529   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8530 else
   8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8532 for as_dir in $PATH
   8533 do
   8534   IFS=$as_save_IFS
   8535   case $as_dir in #(((
   8536     '') as_dir=./ ;;
   8537     */) ;;
   8538     *) as_dir=$as_dir/ ;;
   8539   esac
   8540     for ac_exec_ext in '' $ac_executable_extensions; do
   8541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8542     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8544     break 2
   8545   fi
   8546 done
   8547   done
   8548 IFS=$as_save_IFS
   8549 
   8550 fi ;;
   8551 esac
   8552 fi
   8553 NMEDIT=$ac_cv_prog_NMEDIT
   8554 if test -n "$NMEDIT"; then
   8555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8556 printf "%s\n" "$NMEDIT" >&6; }
   8557 else
   8558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8559 printf "%s\n" "no" >&6; }
   8560 fi
   8561 
   8562 
   8563 fi
   8564 if test -z "$ac_cv_prog_NMEDIT"; then
   8565   ac_ct_NMEDIT=$NMEDIT
   8566   # Extract the first word of "nmedit", so it can be a program name with args.
   8567 set dummy nmedit; ac_word=$2
   8568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8569 printf %s "checking for $ac_word... " >&6; }
   8570 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else case e in #(
   8574   e) if test -n "$ac_ct_NMEDIT"; then
   8575   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8576 else
   8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8578 for as_dir in $PATH
   8579 do
   8580   IFS=$as_save_IFS
   8581   case $as_dir in #(((
   8582     '') as_dir=./ ;;
   8583     */) ;;
   8584     *) as_dir=$as_dir/ ;;
   8585   esac
   8586     for ac_exec_ext in '' $ac_executable_extensions; do
   8587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8588     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8590     break 2
   8591   fi
   8592 done
   8593   done
   8594 IFS=$as_save_IFS
   8595 
   8596 fi ;;
   8597 esac
   8598 fi
   8599 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8600 if test -n "$ac_ct_NMEDIT"; then
   8601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8602 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8603 else
   8604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8605 printf "%s\n" "no" >&6; }
   8606 fi
   8607 
   8608   if test "x$ac_ct_NMEDIT" = x; then
   8609     NMEDIT=":"
   8610   else
   8611     case $cross_compiling:$ac_tool_warned in
   8612 yes:)
   8613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8615 ac_tool_warned=yes ;;
   8616 esac
   8617     NMEDIT=$ac_ct_NMEDIT
   8618   fi
   8619 else
   8620   NMEDIT="$ac_cv_prog_NMEDIT"
   8621 fi
   8622 
   8623     if test -n "$ac_tool_prefix"; then
   8624   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8625 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8627 printf %s "checking for $ac_word... " >&6; }
   8628 if test ${ac_cv_prog_LIPO+y}
   8629 then :
   8630   printf %s "(cached) " >&6
   8631 else case e in #(
   8632   e) if test -n "$LIPO"; then
   8633   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8634 else
   8635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8636 for as_dir in $PATH
   8637 do
   8638   IFS=$as_save_IFS
   8639   case $as_dir in #(((
   8640     '') as_dir=./ ;;
   8641     */) ;;
   8642     *) as_dir=$as_dir/ ;;
   8643   esac
   8644     for ac_exec_ext in '' $ac_executable_extensions; do
   8645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8646     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8648     break 2
   8649   fi
   8650 done
   8651   done
   8652 IFS=$as_save_IFS
   8653 
   8654 fi ;;
   8655 esac
   8656 fi
   8657 LIPO=$ac_cv_prog_LIPO
   8658 if test -n "$LIPO"; then
   8659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8660 printf "%s\n" "$LIPO" >&6; }
   8661 else
   8662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8663 printf "%s\n" "no" >&6; }
   8664 fi
   8665 
   8666 
   8667 fi
   8668 if test -z "$ac_cv_prog_LIPO"; then
   8669   ac_ct_LIPO=$LIPO
   8670   # Extract the first word of "lipo", so it can be a program name with args.
   8671 set dummy lipo; ac_word=$2
   8672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8673 printf %s "checking for $ac_word... " >&6; }
   8674 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8675 then :
   8676   printf %s "(cached) " >&6
   8677 else case e in #(
   8678   e) if test -n "$ac_ct_LIPO"; then
   8679   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8680 else
   8681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8682 for as_dir in $PATH
   8683 do
   8684   IFS=$as_save_IFS
   8685   case $as_dir in #(((
   8686     '') as_dir=./ ;;
   8687     */) ;;
   8688     *) as_dir=$as_dir/ ;;
   8689   esac
   8690     for ac_exec_ext in '' $ac_executable_extensions; do
   8691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8692     ac_cv_prog_ac_ct_LIPO="lipo"
   8693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8694     break 2
   8695   fi
   8696 done
   8697   done
   8698 IFS=$as_save_IFS
   8699 
   8700 fi ;;
   8701 esac
   8702 fi
   8703 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8704 if test -n "$ac_ct_LIPO"; then
   8705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8706 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8707 else
   8708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8709 printf "%s\n" "no" >&6; }
   8710 fi
   8711 
   8712   if test "x$ac_ct_LIPO" = x; then
   8713     LIPO=":"
   8714   else
   8715     case $cross_compiling:$ac_tool_warned in
   8716 yes:)
   8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8718 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8719 ac_tool_warned=yes ;;
   8720 esac
   8721     LIPO=$ac_ct_LIPO
   8722   fi
   8723 else
   8724   LIPO="$ac_cv_prog_LIPO"
   8725 fi
   8726 
   8727     if test -n "$ac_tool_prefix"; then
   8728   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8729 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8731 printf %s "checking for $ac_word... " >&6; }
   8732 if test ${ac_cv_prog_OTOOL+y}
   8733 then :
   8734   printf %s "(cached) " >&6
   8735 else case e in #(
   8736   e) if test -n "$OTOOL"; then
   8737   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8738 else
   8739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8740 for as_dir in $PATH
   8741 do
   8742   IFS=$as_save_IFS
   8743   case $as_dir in #(((
   8744     '') as_dir=./ ;;
   8745     */) ;;
   8746     *) as_dir=$as_dir/ ;;
   8747   esac
   8748     for ac_exec_ext in '' $ac_executable_extensions; do
   8749   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8750     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8751     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8752     break 2
   8753   fi
   8754 done
   8755   done
   8756 IFS=$as_save_IFS
   8757 
   8758 fi ;;
   8759 esac
   8760 fi
   8761 OTOOL=$ac_cv_prog_OTOOL
   8762 if test -n "$OTOOL"; then
   8763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8764 printf "%s\n" "$OTOOL" >&6; }
   8765 else
   8766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8767 printf "%s\n" "no" >&6; }
   8768 fi
   8769 
   8770 
   8771 fi
   8772 if test -z "$ac_cv_prog_OTOOL"; then
   8773   ac_ct_OTOOL=$OTOOL
   8774   # Extract the first word of "otool", so it can be a program name with args.
   8775 set dummy otool; ac_word=$2
   8776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8777 printf %s "checking for $ac_word... " >&6; }
   8778 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8779 then :
   8780   printf %s "(cached) " >&6
   8781 else case e in #(
   8782   e) if test -n "$ac_ct_OTOOL"; then
   8783   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8784 else
   8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8786 for as_dir in $PATH
   8787 do
   8788   IFS=$as_save_IFS
   8789   case $as_dir in #(((
   8790     '') as_dir=./ ;;
   8791     */) ;;
   8792     *) as_dir=$as_dir/ ;;
   8793   esac
   8794     for ac_exec_ext in '' $ac_executable_extensions; do
   8795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8796     ac_cv_prog_ac_ct_OTOOL="otool"
   8797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8798     break 2
   8799   fi
   8800 done
   8801   done
   8802 IFS=$as_save_IFS
   8803 
   8804 fi ;;
   8805 esac
   8806 fi
   8807 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8808 if test -n "$ac_ct_OTOOL"; then
   8809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8810 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8811 else
   8812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8813 printf "%s\n" "no" >&6; }
   8814 fi
   8815 
   8816   if test "x$ac_ct_OTOOL" = x; then
   8817     OTOOL=":"
   8818   else
   8819     case $cross_compiling:$ac_tool_warned in
   8820 yes:)
   8821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8822 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8823 ac_tool_warned=yes ;;
   8824 esac
   8825     OTOOL=$ac_ct_OTOOL
   8826   fi
   8827 else
   8828   OTOOL="$ac_cv_prog_OTOOL"
   8829 fi
   8830 
   8831     if test -n "$ac_tool_prefix"; then
   8832   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8833 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8835 printf %s "checking for $ac_word... " >&6; }
   8836 if test ${ac_cv_prog_OTOOL64+y}
   8837 then :
   8838   printf %s "(cached) " >&6
   8839 else case e in #(
   8840   e) if test -n "$OTOOL64"; then
   8841   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8842 else
   8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8844 for as_dir in $PATH
   8845 do
   8846   IFS=$as_save_IFS
   8847   case $as_dir in #(((
   8848     '') as_dir=./ ;;
   8849     */) ;;
   8850     *) as_dir=$as_dir/ ;;
   8851   esac
   8852     for ac_exec_ext in '' $ac_executable_extensions; do
   8853   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8854     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8855     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8856     break 2
   8857   fi
   8858 done
   8859   done
   8860 IFS=$as_save_IFS
   8861 
   8862 fi ;;
   8863 esac
   8864 fi
   8865 OTOOL64=$ac_cv_prog_OTOOL64
   8866 if test -n "$OTOOL64"; then
   8867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8868 printf "%s\n" "$OTOOL64" >&6; }
   8869 else
   8870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8871 printf "%s\n" "no" >&6; }
   8872 fi
   8873 
   8874 
   8875 fi
   8876 if test -z "$ac_cv_prog_OTOOL64"; then
   8877   ac_ct_OTOOL64=$OTOOL64
   8878   # Extract the first word of "otool64", so it can be a program name with args.
   8879 set dummy otool64; ac_word=$2
   8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8881 printf %s "checking for $ac_word... " >&6; }
   8882 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8883 then :
   8884   printf %s "(cached) " >&6
   8885 else case e in #(
   8886   e) if test -n "$ac_ct_OTOOL64"; then
   8887   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8888 else
   8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8890 for as_dir in $PATH
   8891 do
   8892   IFS=$as_save_IFS
   8893   case $as_dir in #(((
   8894     '') as_dir=./ ;;
   8895     */) ;;
   8896     *) as_dir=$as_dir/ ;;
   8897   esac
   8898     for ac_exec_ext in '' $ac_executable_extensions; do
   8899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8900     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8901     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8902     break 2
   8903   fi
   8904 done
   8905   done
   8906 IFS=$as_save_IFS
   8907 
   8908 fi ;;
   8909 esac
   8910 fi
   8911 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8912 if test -n "$ac_ct_OTOOL64"; then
   8913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8914 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8915 else
   8916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8917 printf "%s\n" "no" >&6; }
   8918 fi
   8919 
   8920   if test "x$ac_ct_OTOOL64" = x; then
   8921     OTOOL64=":"
   8922   else
   8923     case $cross_compiling:$ac_tool_warned in
   8924 yes:)
   8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8926 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8927 ac_tool_warned=yes ;;
   8928 esac
   8929     OTOOL64=$ac_ct_OTOOL64
   8930   fi
   8931 else
   8932   OTOOL64="$ac_cv_prog_OTOOL64"
   8933 fi
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8962 printf %s "checking for -single_module linker flag... " >&6; }
   8963 if test ${lt_cv_apple_cc_single_mod+y}
   8964 then :
   8965   printf %s "(cached) " >&6
   8966 else case e in #(
   8967   e) lt_cv_apple_cc_single_mod=no
   8968       if test -z "$LT_MULTI_MODULE"; then
   8969 	# By default we will add the -single_module flag. You can override
   8970 	# by either setting the environment variable LT_MULTI_MODULE
   8971 	# non-empty at configure time, or by adding -multi_module to the
   8972 	# link flags.
   8973 	rm -rf libconftest.dylib*
   8974 	echo "int foo(void){return 1;}" > conftest.c
   8975 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8976 -dynamiclib -Wl,-single_module conftest.c" >&5
   8977 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8978 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8979         _lt_result=$?
   8980 	# If there is a non-empty error log, and "single_module"
   8981 	# appears in it, assume the flag caused a linker warning
   8982         if test -s conftest.err && $GREP single_module conftest.err; then
   8983 	  cat conftest.err >&5
   8984 	# Otherwise, if the output was created with a 0 exit code from
   8985 	# the compiler, it worked.
   8986 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8987 	  lt_cv_apple_cc_single_mod=yes
   8988 	else
   8989 	  cat conftest.err >&5
   8990 	fi
   8991 	rm -rf libconftest.dylib*
   8992 	rm -f conftest.*
   8993       fi ;;
   8994 esac
   8995 fi
   8996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8997 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8998 
   8999     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9000 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9001 if test ${lt_cv_ld_exported_symbols_list+y}
   9002 then :
   9003   printf %s "(cached) " >&6
   9004 else case e in #(
   9005   e) lt_cv_ld_exported_symbols_list=no
   9006       save_LDFLAGS=$LDFLAGS
   9007       echo "_main" > conftest.sym
   9008       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 
   9012 int
   9013 main (void)
   9014 {
   9015 
   9016   ;
   9017   return 0;
   9018 }
   9019 _ACEOF
   9020 if ac_fn_c_try_link "$LINENO"
   9021 then :
   9022   lt_cv_ld_exported_symbols_list=yes
   9023 else case e in #(
   9024   e) lt_cv_ld_exported_symbols_list=no ;;
   9025 esac
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9028     conftest$ac_exeext conftest.$ac_ext
   9029 	LDFLAGS=$save_LDFLAGS
   9030      ;;
   9031 esac
   9032 fi
   9033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9034 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9035 
   9036     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9037 printf %s "checking for -force_load linker flag... " >&6; }
   9038 if test ${lt_cv_ld_force_load+y}
   9039 then :
   9040   printf %s "(cached) " >&6
   9041 else case e in #(
   9042   e) lt_cv_ld_force_load=no
   9043       cat > conftest.c << _LT_EOF
   9044 int forced_loaded() { return 2;}
   9045 _LT_EOF
   9046       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9047       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9048       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9049       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9050       echo "$RANLIB libconftest.a" >&5
   9051       $RANLIB libconftest.a 2>&5
   9052       cat > conftest.c << _LT_EOF
   9053 int main() { return 0;}
   9054 _LT_EOF
   9055       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9056       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9057       _lt_result=$?
   9058       if test -s conftest.err && $GREP force_load conftest.err; then
   9059 	cat conftest.err >&5
   9060       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9061 	lt_cv_ld_force_load=yes
   9062       else
   9063 	cat conftest.err >&5
   9064       fi
   9065         rm -f conftest.err libconftest.a conftest conftest.c
   9066         rm -rf conftest.dSYM
   9067      ;;
   9068 esac
   9069 fi
   9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9071 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9072     case $host_os in
   9073     rhapsody* | darwin1.[012])
   9074       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9075     darwin1.*)
   9076       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9077     darwin*)
   9078       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9079         10.[012],*|,*powerpc*-darwin[5-8]*)
   9080           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9081         *)
   9082           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9083       esac
   9084     ;;
   9085   esac
   9086     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9087       _lt_dar_single_mod='$single_module'
   9088     fi
   9089     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9090       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9091     else
   9092       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9093     fi
   9094     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9095       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9096     else
   9097       _lt_dsymutil=
   9098     fi
   9099     ;;
   9100   esac
   9101 
   9102 # func_munge_path_list VARIABLE PATH
   9103 # -----------------------------------
   9104 # VARIABLE is name of variable containing _space_ separated list of
   9105 # directories to be munged by the contents of PATH, which is string
   9106 # having a format:
   9107 # "DIR[:DIR]:"
   9108 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9109 # ":DIR[:DIR]"
   9110 #       string "DIR[ DIR]" will be appended to VARIABLE
   9111 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9112 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9113 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9114 # "DIR[:DIR]"
   9115 #       VARIABLE will be replaced by "DIR[ DIR]"
   9116 func_munge_path_list ()
   9117 {
   9118     case x$2 in
   9119     x)
   9120         ;;
   9121     *:)
   9122         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9123         ;;
   9124     x:*)
   9125         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9126         ;;
   9127     *::*)
   9128         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9129         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9130         ;;
   9131     *)
   9132         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9133         ;;
   9134     esac
   9135 }
   9136 
   9137 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9138 "
   9139 if test "x$ac_cv_header_dlfcn_h" = xyes
   9140 then :
   9141   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9142 
   9143 fi
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 # Set options
   9150 
   9151 
   9152 
   9153         enable_dlopen=no
   9154 
   9155 
   9156   enable_win32_dll=no
   9157 
   9158 
   9159             # Check whether --enable-shared was given.
   9160 if test ${enable_shared+y}
   9161 then :
   9162   enableval=$enable_shared; p=${PACKAGE-default}
   9163     case $enableval in
   9164     yes) enable_shared=yes ;;
   9165     no) enable_shared=no ;;
   9166     *)
   9167       enable_shared=no
   9168       # Look at the argument we got.  We use all the common list separators.
   9169       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9170       for pkg in $enableval; do
   9171 	IFS=$lt_save_ifs
   9172 	if test "X$pkg" = "X$p"; then
   9173 	  enable_shared=yes
   9174 	fi
   9175       done
   9176       IFS=$lt_save_ifs
   9177       ;;
   9178     esac
   9179 else case e in #(
   9180   e) enable_shared=yes ;;
   9181 esac
   9182 fi
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192   # Check whether --enable-static was given.
   9193 if test ${enable_static+y}
   9194 then :
   9195   enableval=$enable_static; p=${PACKAGE-default}
   9196     case $enableval in
   9197     yes) enable_static=yes ;;
   9198     no) enable_static=no ;;
   9199     *)
   9200      enable_static=no
   9201       # Look at the argument we got.  We use all the common list separators.
   9202       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9203       for pkg in $enableval; do
   9204 	IFS=$lt_save_ifs
   9205 	if test "X$pkg" = "X$p"; then
   9206 	  enable_static=yes
   9207 	fi
   9208       done
   9209       IFS=$lt_save_ifs
   9210       ;;
   9211     esac
   9212 else case e in #(
   9213   e) enable_static=yes ;;
   9214 esac
   9215 fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 # Check whether --with-pic was given.
   9227 if test ${with_pic+y}
   9228 then :
   9229   withval=$with_pic; lt_p=${PACKAGE-default}
   9230     case $withval in
   9231     yes|no) pic_mode=$withval ;;
   9232     *)
   9233       pic_mode=default
   9234       # Look at the argument we got.  We use all the common list separators.
   9235       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9236       for lt_pkg in $withval; do
   9237 	IFS=$lt_save_ifs
   9238 	if test "X$lt_pkg" = "X$lt_p"; then
   9239 	  pic_mode=yes
   9240 	fi
   9241       done
   9242       IFS=$lt_save_ifs
   9243       ;;
   9244     esac
   9245 else case e in #(
   9246   e) pic_mode=default ;;
   9247 esac
   9248 fi
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257   # Check whether --enable-fast-install was given.
   9258 if test ${enable_fast_install+y}
   9259 then :
   9260   enableval=$enable_fast_install; p=${PACKAGE-default}
   9261     case $enableval in
   9262     yes) enable_fast_install=yes ;;
   9263     no) enable_fast_install=no ;;
   9264     *)
   9265       enable_fast_install=no
   9266       # Look at the argument we got.  We use all the common list separators.
   9267       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9268       for pkg in $enableval; do
   9269 	IFS=$lt_save_ifs
   9270 	if test "X$pkg" = "X$p"; then
   9271 	  enable_fast_install=yes
   9272 	fi
   9273       done
   9274       IFS=$lt_save_ifs
   9275       ;;
   9276     esac
   9277 else case e in #(
   9278   e) enable_fast_install=yes ;;
   9279 esac
   9280 fi
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289   shared_archive_member_spec=
   9290 case $host,$enable_shared in
   9291 power*-*-aix[5-9]*,yes)
   9292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9293 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9294 
   9295 # Check whether --with-aix-soname was given.
   9296 if test ${with_aix_soname+y}
   9297 then :
   9298   withval=$with_aix_soname; case $withval in
   9299     aix|svr4|both)
   9300       ;;
   9301     *)
   9302       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9303       ;;
   9304     esac
   9305     lt_cv_with_aix_soname=$with_aix_soname
   9306 else case e in #(
   9307   e) if test ${lt_cv_with_aix_soname+y}
   9308 then :
   9309   printf %s "(cached) " >&6
   9310 else case e in #(
   9311   e) lt_cv_with_aix_soname=aix ;;
   9312 esac
   9313 fi
   9314 
   9315     with_aix_soname=$lt_cv_with_aix_soname ;;
   9316 esac
   9317 fi
   9318 
   9319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9320 printf "%s\n" "$with_aix_soname" >&6; }
   9321   if test aix != "$with_aix_soname"; then
   9322     # For the AIX way of multilib, we name the shared archive member
   9323     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9324     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9325     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9326     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9327     if test 64 = "${OBJECT_MODE-32}"; then
   9328       shared_archive_member_spec=shr_64
   9329     else
   9330       shared_archive_member_spec=shr
   9331     fi
   9332   fi
   9333   ;;
   9334 *)
   9335   with_aix_soname=aix
   9336   ;;
   9337 esac
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 # This can be used to rebuild libtool when needed
   9349 LIBTOOL_DEPS=$ltmain
   9350 
   9351 # Always use our own libtool.
   9352 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 test -z "$LN_S" && LN_S="ln -s"
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 if test -n "${ZSH_VERSION+set}"; then
   9399    setopt NO_GLOB_SUBST
   9400 fi
   9401 
   9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9403 printf %s "checking for objdir... " >&6; }
   9404 if test ${lt_cv_objdir+y}
   9405 then :
   9406   printf %s "(cached) " >&6
   9407 else case e in #(
   9408   e) rm -f .libs 2>/dev/null
   9409 mkdir .libs 2>/dev/null
   9410 if test -d .libs; then
   9411   lt_cv_objdir=.libs
   9412 else
   9413   # MS-DOS does not allow filenames that begin with a dot.
   9414   lt_cv_objdir=_libs
   9415 fi
   9416 rmdir .libs 2>/dev/null ;;
   9417 esac
   9418 fi
   9419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9420 printf "%s\n" "$lt_cv_objdir" >&6; }
   9421 objdir=$lt_cv_objdir
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9428 
   9429 
   9430 
   9431 
   9432 case $host_os in
   9433 aix3*)
   9434   # AIX sometimes has problems with the GCC collect2 program.  For some
   9435   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9436   # vanish in a puff of smoke.
   9437   if test set != "${COLLECT_NAMES+set}"; then
   9438     COLLECT_NAMES=
   9439     export COLLECT_NAMES
   9440   fi
   9441   ;;
   9442 esac
   9443 
   9444 # Global variables:
   9445 ofile=libtool
   9446 can_build_shared=yes
   9447 
   9448 # All known linkers require a '.a' archive for static linking (except MSVC and
   9449 # ICC, which need '.lib').
   9450 libext=a
   9451 
   9452 with_gnu_ld=$lt_cv_prog_gnu_ld
   9453 
   9454 old_CC=$CC
   9455 old_CFLAGS=$CFLAGS
   9456 
   9457 # Set sane defaults for various variables
   9458 test -z "$CC" && CC=cc
   9459 test -z "$LTCC" && LTCC=$CC
   9460 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9461 test -z "$LD" && LD=ld
   9462 test -z "$ac_objext" && ac_objext=o
   9463 
   9464 func_cc_basename $compiler
   9465 cc_basename=$func_cc_basename_result
   9466 
   9467 
   9468 # Only perform the check for file, if the check method requires it
   9469 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9470 case $deplibs_check_method in
   9471 file_magic*)
   9472   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9473     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9474 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9475 if test ${lt_cv_path_MAGIC_CMD+y}
   9476 then :
   9477   printf %s "(cached) " >&6
   9478 else case e in #(
   9479   e) case $MAGIC_CMD in
   9480 [\\/*] |  ?:[\\/]*)
   9481   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9482   ;;
   9483 *)
   9484   lt_save_MAGIC_CMD=$MAGIC_CMD
   9485   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9486   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9487   for ac_dir in $ac_dummy; do
   9488     IFS=$lt_save_ifs
   9489     test -z "$ac_dir" && ac_dir=.
   9490     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9491       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9492       if test -n "$file_magic_test_file"; then
   9493 	case $deplibs_check_method in
   9494 	"file_magic "*)
   9495 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9496 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9497 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9498 	    $EGREP "$file_magic_regex" > /dev/null; then
   9499 	    :
   9500 	  else
   9501 	    cat <<_LT_EOF 1>&2
   9502 
   9503 *** Warning: the command libtool uses to detect shared libraries,
   9504 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9505 *** The result is that libtool may fail to recognize shared libraries
   9506 *** as such.  This will affect the creation of libtool libraries that
   9507 *** depend on shared libraries, but programs linked with such libtool
   9508 *** libraries will work regardless of this problem.  Nevertheless, you
   9509 *** may want to report the problem to your system manager and/or to
   9510 *** bug-libtool@gnu.org
   9511 
   9512 _LT_EOF
   9513 	  fi ;;
   9514 	esac
   9515       fi
   9516       break
   9517     fi
   9518   done
   9519   IFS=$lt_save_ifs
   9520   MAGIC_CMD=$lt_save_MAGIC_CMD
   9521   ;;
   9522 esac ;;
   9523 esac
   9524 fi
   9525 
   9526 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9527 if test -n "$MAGIC_CMD"; then
   9528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9529 printf "%s\n" "$MAGIC_CMD" >&6; }
   9530 else
   9531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9532 printf "%s\n" "no" >&6; }
   9533 fi
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9540   if test -n "$ac_tool_prefix"; then
   9541     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9542 printf %s "checking for file... " >&6; }
   9543 if test ${lt_cv_path_MAGIC_CMD+y}
   9544 then :
   9545   printf %s "(cached) " >&6
   9546 else case e in #(
   9547   e) case $MAGIC_CMD in
   9548 [\\/*] |  ?:[\\/]*)
   9549   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9550   ;;
   9551 *)
   9552   lt_save_MAGIC_CMD=$MAGIC_CMD
   9553   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9554   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9555   for ac_dir in $ac_dummy; do
   9556     IFS=$lt_save_ifs
   9557     test -z "$ac_dir" && ac_dir=.
   9558     if test -f "$ac_dir/file"; then
   9559       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9560       if test -n "$file_magic_test_file"; then
   9561 	case $deplibs_check_method in
   9562 	"file_magic "*)
   9563 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9564 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9565 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9566 	    $EGREP "$file_magic_regex" > /dev/null; then
   9567 	    :
   9568 	  else
   9569 	    cat <<_LT_EOF 1>&2
   9570 
   9571 *** Warning: the command libtool uses to detect shared libraries,
   9572 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9573 *** The result is that libtool may fail to recognize shared libraries
   9574 *** as such.  This will affect the creation of libtool libraries that
   9575 *** depend on shared libraries, but programs linked with such libtool
   9576 *** libraries will work regardless of this problem.  Nevertheless, you
   9577 *** may want to report the problem to your system manager and/or to
   9578 *** bug-libtool@gnu.org
   9579 
   9580 _LT_EOF
   9581 	  fi ;;
   9582 	esac
   9583       fi
   9584       break
   9585     fi
   9586   done
   9587   IFS=$lt_save_ifs
   9588   MAGIC_CMD=$lt_save_MAGIC_CMD
   9589   ;;
   9590 esac ;;
   9591 esac
   9592 fi
   9593 
   9594 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9595 if test -n "$MAGIC_CMD"; then
   9596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9597 printf "%s\n" "$MAGIC_CMD" >&6; }
   9598 else
   9599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9600 printf "%s\n" "no" >&6; }
   9601 fi
   9602 
   9603 
   9604   else
   9605     MAGIC_CMD=:
   9606   fi
   9607 fi
   9608 
   9609   fi
   9610   ;;
   9611 esac
   9612 
   9613 # Use C for the default configuration in the libtool script
   9614 
   9615 lt_save_CC=$CC
   9616 ac_ext=c
   9617 ac_cpp='$CPP $CPPFLAGS'
   9618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9621 
   9622 
   9623 # Source file extension for C test sources.
   9624 ac_ext=c
   9625 
   9626 # Object file extension for compiled C test sources.
   9627 objext=o
   9628 objext=$objext
   9629 
   9630 # Code to be used in simple compile tests
   9631 lt_simple_compile_test_code="int some_variable = 0;"
   9632 
   9633 # Code to be used in simple link tests
   9634 lt_simple_link_test_code='int main(){return(0);}'
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 # If no C compiler was specified, use CC.
   9643 LTCC=${LTCC-"$CC"}
   9644 
   9645 # If no C compiler flags were specified, use CFLAGS.
   9646 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9647 
   9648 # Allow CC to be a program name with arguments.
   9649 compiler=$CC
   9650 
   9651 # Save the default compiler, since it gets overwritten when the other
   9652 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9653 compiler_DEFAULT=$CC
   9654 
   9655 # save warnings/boilerplate of simple test code
   9656 ac_outfile=conftest.$ac_objext
   9657 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9658 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9659 _lt_compiler_boilerplate=`cat conftest.err`
   9660 $RM conftest*
   9661 
   9662 ac_outfile=conftest.$ac_objext
   9663 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9664 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9665 _lt_linker_boilerplate=`cat conftest.err`
   9666 $RM -r conftest*
   9667 
   9668 
   9669 ## CAVEAT EMPTOR:
   9670 ## There is no encapsulation within the following macros, do not change
   9671 ## the running order or otherwise move them around unless you know exactly
   9672 ## what you are doing...
   9673 if test -n "$compiler"; then
   9674 
   9675 lt_prog_compiler_no_builtin_flag=
   9676 
   9677 if test yes = "$GCC"; then
   9678   case $cc_basename in
   9679   nvcc*)
   9680     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9681   *)
   9682     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9683   esac
   9684 
   9685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9686 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9687 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9688 then :
   9689   printf %s "(cached) " >&6
   9690 else case e in #(
   9691   e) lt_cv_prog_compiler_rtti_exceptions=no
   9692    ac_outfile=conftest.$ac_objext
   9693    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9694    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9695    # Insert the option either (1) after the last *FLAGS variable, or
   9696    # (2) before a word containing "conftest.", or (3) at the end.
   9697    # Note that $ac_compile itself does not contain backslashes and begins
   9698    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9699    # The option is referenced via a variable to avoid confusing sed.
   9700    lt_compile=`echo "$ac_compile" | $SED \
   9701    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9702    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9703    -e 's:$: $lt_compiler_flag:'`
   9704    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9705    (eval "$lt_compile" 2>conftest.err)
   9706    ac_status=$?
   9707    cat conftest.err >&5
   9708    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9709    if (exit $ac_status) && test -s "$ac_outfile"; then
   9710      # The compiler can only warn and ignore the option if not recognized
   9711      # So say no if there are warnings other than the usual output.
   9712      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9713      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9714      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9715        lt_cv_prog_compiler_rtti_exceptions=yes
   9716      fi
   9717    fi
   9718    $RM conftest*
   9719  ;;
   9720 esac
   9721 fi
   9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9723 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9724 
   9725 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9726     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9727 else
   9728     :
   9729 fi
   9730 
   9731 fi
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738   lt_prog_compiler_wl=
   9739 lt_prog_compiler_pic=
   9740 lt_prog_compiler_static=
   9741 
   9742 
   9743   if test yes = "$GCC"; then
   9744     lt_prog_compiler_wl='-Wl,'
   9745     lt_prog_compiler_static='-static'
   9746 
   9747     case $host_os in
   9748       aix*)
   9749       # All AIX code is PIC.
   9750       if test ia64 = "$host_cpu"; then
   9751 	# AIX 5 now supports IA64 processor
   9752 	lt_prog_compiler_static='-Bstatic'
   9753       fi
   9754       lt_prog_compiler_pic='-fPIC'
   9755       ;;
   9756 
   9757     amigaos*)
   9758       case $host_cpu in
   9759       powerpc)
   9760             # see comment about AmigaOS4 .so support
   9761             lt_prog_compiler_pic='-fPIC'
   9762         ;;
   9763       m68k)
   9764             # FIXME: we need at least 68020 code to build shared libraries, but
   9765             # adding the '-m68020' flag to GCC prevents building anything better,
   9766             # like '-m68040'.
   9767             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9768         ;;
   9769       esac
   9770       ;;
   9771 
   9772     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9773       # PIC is the default for these OSes.
   9774       ;;
   9775 
   9776     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9777       # This hack is so that the source file can tell whether it is being
   9778       # built for inclusion in a dll (and should export symbols for example).
   9779       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9780       # (--disable-auto-import) libraries
   9781       lt_prog_compiler_pic='-DDLL_EXPORT'
   9782       case $host_os in
   9783       os2*)
   9784 	lt_prog_compiler_static='$wl-static'
   9785 	;;
   9786       esac
   9787       ;;
   9788 
   9789     darwin* | rhapsody*)
   9790       # PIC is the default on this platform
   9791       # Common symbols not allowed in MH_DYLIB files
   9792       lt_prog_compiler_pic='-fno-common'
   9793       ;;
   9794 
   9795     haiku*)
   9796       # PIC is the default for Haiku.
   9797       # The "-static" flag exists, but is broken.
   9798       lt_prog_compiler_static=
   9799       ;;
   9800 
   9801     hpux*)
   9802       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9803       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9804       # sets the default TLS model and affects inlining.
   9805       case $host_cpu in
   9806       hppa*64*)
   9807 	# +Z the default
   9808 	;;
   9809       *)
   9810 	lt_prog_compiler_pic='-fPIC'
   9811 	;;
   9812       esac
   9813       ;;
   9814 
   9815     interix[3-9]*)
   9816       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9817       # Instead, we relocate shared libraries at runtime.
   9818       ;;
   9819 
   9820     msdosdjgpp*)
   9821       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9822       # on systems that don't support them.
   9823       lt_prog_compiler_can_build_shared=no
   9824       enable_shared=no
   9825       ;;
   9826 
   9827     *nto* | *qnx*)
   9828       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9829       # it will coredump.
   9830       lt_prog_compiler_pic='-fPIC -shared'
   9831       ;;
   9832 
   9833     sysv4*MP*)
   9834       if test -d /usr/nec; then
   9835 	lt_prog_compiler_pic=-Kconform_pic
   9836       fi
   9837       ;;
   9838 
   9839     *)
   9840       lt_prog_compiler_pic='-fPIC'
   9841       ;;
   9842     esac
   9843 
   9844     case $cc_basename in
   9845     nvcc*) # Cuda Compiler Driver 2.2
   9846       lt_prog_compiler_wl='-Xlinker '
   9847       if test -n "$lt_prog_compiler_pic"; then
   9848         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9849       fi
   9850       ;;
   9851     esac
   9852   else
   9853     # PORTME Check for flag to pass linker flags through the system compiler.
   9854     case $host_os in
   9855     aix*)
   9856       lt_prog_compiler_wl='-Wl,'
   9857       if test ia64 = "$host_cpu"; then
   9858 	# AIX 5 now supports IA64 processor
   9859 	lt_prog_compiler_static='-Bstatic'
   9860       else
   9861 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9862       fi
   9863       ;;
   9864 
   9865     darwin* | rhapsody*)
   9866       # PIC is the default on this platform
   9867       # Common symbols not allowed in MH_DYLIB files
   9868       lt_prog_compiler_pic='-fno-common'
   9869       case $cc_basename in
   9870       nagfor*)
   9871         # NAG Fortran compiler
   9872         lt_prog_compiler_wl='-Wl,-Wl,,'
   9873         lt_prog_compiler_pic='-PIC'
   9874         lt_prog_compiler_static='-Bstatic'
   9875         ;;
   9876       esac
   9877       ;;
   9878 
   9879     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9880       # This hack is so that the source file can tell whether it is being
   9881       # built for inclusion in a dll (and should export symbols for example).
   9882       lt_prog_compiler_pic='-DDLL_EXPORT'
   9883       case $host_os in
   9884       os2*)
   9885 	lt_prog_compiler_static='$wl-static'
   9886 	;;
   9887       esac
   9888       ;;
   9889 
   9890     hpux9* | hpux10* | hpux11*)
   9891       lt_prog_compiler_wl='-Wl,'
   9892       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9893       # not for PA HP-UX.
   9894       case $host_cpu in
   9895       hppa*64*|ia64*)
   9896 	# +Z the default
   9897 	;;
   9898       *)
   9899 	lt_prog_compiler_pic='+Z'
   9900 	;;
   9901       esac
   9902       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9903       lt_prog_compiler_static='$wl-a ${wl}archive'
   9904       ;;
   9905 
   9906     irix5* | irix6* | nonstopux*)
   9907       lt_prog_compiler_wl='-Wl,'
   9908       # PIC (with -KPIC) is the default.
   9909       lt_prog_compiler_static='-non_shared'
   9910       ;;
   9911 
   9912     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9913       case $cc_basename in
   9914       # old Intel for x86_64, which still supported -KPIC.
   9915       ecc*)
   9916 	lt_prog_compiler_wl='-Wl,'
   9917 	lt_prog_compiler_pic='-KPIC'
   9918 	lt_prog_compiler_static='-static'
   9919         ;;
   9920       # icc used to be incompatible with GCC.
   9921       # ICC 10 doesn't accept -KPIC any more.
   9922       icc* | ifort*)
   9923 	lt_prog_compiler_wl='-Wl,'
   9924 	lt_prog_compiler_pic='-fPIC'
   9925 	lt_prog_compiler_static='-static'
   9926         ;;
   9927       # Lahey Fortran 8.1.
   9928       lf95*)
   9929 	lt_prog_compiler_wl='-Wl,'
   9930 	lt_prog_compiler_pic='--shared'
   9931 	lt_prog_compiler_static='--static'
   9932 	;;
   9933       nagfor*)
   9934 	# NAG Fortran compiler
   9935 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9936 	lt_prog_compiler_pic='-PIC'
   9937 	lt_prog_compiler_static='-Bstatic'
   9938 	;;
   9939       tcc*)
   9940 	# Fabrice Bellard et al's Tiny C Compiler
   9941 	lt_prog_compiler_wl='-Wl,'
   9942 	lt_prog_compiler_pic='-fPIC'
   9943 	lt_prog_compiler_static='-static'
   9944 	;;
   9945       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9946         # Portland Group compilers (*not* the Pentium gcc compiler,
   9947 	# which looks to be a dead project)
   9948 	lt_prog_compiler_wl='-Wl,'
   9949 	lt_prog_compiler_pic='-fpic'
   9950 	lt_prog_compiler_static='-Bstatic'
   9951         ;;
   9952       ccc*)
   9953         lt_prog_compiler_wl='-Wl,'
   9954         # All Alpha code is PIC.
   9955         lt_prog_compiler_static='-non_shared'
   9956         ;;
   9957       xl* | bgxl* | bgf* | mpixl*)
   9958 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9959 	lt_prog_compiler_wl='-Wl,'
   9960 	lt_prog_compiler_pic='-qpic'
   9961 	lt_prog_compiler_static='-qstaticlink'
   9962 	;;
   9963       *)
   9964 	case `$CC -V 2>&1 | $SED 5q` in
   9965 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9966 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9967 	  lt_prog_compiler_pic='-KPIC'
   9968 	  lt_prog_compiler_static='-Bstatic'
   9969 	  lt_prog_compiler_wl=''
   9970 	  ;;
   9971 	*Sun\ F* | *Sun*Fortran*)
   9972 	  lt_prog_compiler_pic='-KPIC'
   9973 	  lt_prog_compiler_static='-Bstatic'
   9974 	  lt_prog_compiler_wl='-Qoption ld '
   9975 	  ;;
   9976 	*Sun\ C*)
   9977 	  # Sun C 5.9
   9978 	  lt_prog_compiler_pic='-KPIC'
   9979 	  lt_prog_compiler_static='-Bstatic'
   9980 	  lt_prog_compiler_wl='-Wl,'
   9981 	  ;;
   9982         *Intel*\ [CF]*Compiler*)
   9983 	  lt_prog_compiler_wl='-Wl,'
   9984 	  lt_prog_compiler_pic='-fPIC'
   9985 	  lt_prog_compiler_static='-static'
   9986 	  ;;
   9987 	*Portland\ Group*)
   9988 	  lt_prog_compiler_wl='-Wl,'
   9989 	  lt_prog_compiler_pic='-fpic'
   9990 	  lt_prog_compiler_static='-Bstatic'
   9991 	  ;;
   9992 	esac
   9993 	;;
   9994       esac
   9995       ;;
   9996 
   9997     newsos6)
   9998       lt_prog_compiler_pic='-KPIC'
   9999       lt_prog_compiler_static='-Bstatic'
   10000       ;;
   10001 
   10002     *nto* | *qnx*)
   10003       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10004       # it will coredump.
   10005       lt_prog_compiler_pic='-fPIC -shared'
   10006       ;;
   10007 
   10008     osf3* | osf4* | osf5*)
   10009       lt_prog_compiler_wl='-Wl,'
   10010       # All OSF/1 code is PIC.
   10011       lt_prog_compiler_static='-non_shared'
   10012       ;;
   10013 
   10014     rdos*)
   10015       lt_prog_compiler_static='-non_shared'
   10016       ;;
   10017 
   10018     solaris*)
   10019       lt_prog_compiler_pic='-KPIC'
   10020       lt_prog_compiler_static='-Bstatic'
   10021       case $cc_basename in
   10022       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10023 	lt_prog_compiler_wl='-Qoption ld ';;
   10024       *)
   10025 	lt_prog_compiler_wl='-Wl,';;
   10026       esac
   10027       ;;
   10028 
   10029     sunos4*)
   10030       lt_prog_compiler_wl='-Qoption ld '
   10031       lt_prog_compiler_pic='-PIC'
   10032       lt_prog_compiler_static='-Bstatic'
   10033       ;;
   10034 
   10035     sysv4 | sysv4.2uw2* | sysv4.3*)
   10036       lt_prog_compiler_wl='-Wl,'
   10037       lt_prog_compiler_pic='-KPIC'
   10038       lt_prog_compiler_static='-Bstatic'
   10039       ;;
   10040 
   10041     sysv4*MP*)
   10042       if test -d /usr/nec; then
   10043 	lt_prog_compiler_pic='-Kconform_pic'
   10044 	lt_prog_compiler_static='-Bstatic'
   10045       fi
   10046       ;;
   10047 
   10048     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10049       lt_prog_compiler_wl='-Wl,'
   10050       lt_prog_compiler_pic='-KPIC'
   10051       lt_prog_compiler_static='-Bstatic'
   10052       ;;
   10053 
   10054     unicos*)
   10055       lt_prog_compiler_wl='-Wl,'
   10056       lt_prog_compiler_can_build_shared=no
   10057       ;;
   10058 
   10059     uts4*)
   10060       lt_prog_compiler_pic='-pic'
   10061       lt_prog_compiler_static='-Bstatic'
   10062       ;;
   10063 
   10064     *)
   10065       lt_prog_compiler_can_build_shared=no
   10066       ;;
   10067     esac
   10068   fi
   10069 
   10070 case $host_os in
   10071   # For platforms that do not support PIC, -DPIC is meaningless:
   10072   *djgpp*)
   10073     lt_prog_compiler_pic=
   10074     ;;
   10075   *)
   10076     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10077     ;;
   10078 esac
   10079 
   10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10081 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10082 if test ${lt_cv_prog_compiler_pic+y}
   10083 then :
   10084   printf %s "(cached) " >&6
   10085 else case e in #(
   10086   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10087 esac
   10088 fi
   10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10090 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10091 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10092 
   10093 #
   10094 # Check to make sure the PIC flag actually works.
   10095 #
   10096 if test -n "$lt_prog_compiler_pic"; then
   10097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10098 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10099 if test ${lt_cv_prog_compiler_pic_works+y}
   10100 then :
   10101   printf %s "(cached) " >&6
   10102 else case e in #(
   10103   e) lt_cv_prog_compiler_pic_works=no
   10104    ac_outfile=conftest.$ac_objext
   10105    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10106    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10107    # Insert the option either (1) after the last *FLAGS variable, or
   10108    # (2) before a word containing "conftest.", or (3) at the end.
   10109    # Note that $ac_compile itself does not contain backslashes and begins
   10110    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10111    # The option is referenced via a variable to avoid confusing sed.
   10112    lt_compile=`echo "$ac_compile" | $SED \
   10113    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10114    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10115    -e 's:$: $lt_compiler_flag:'`
   10116    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10117    (eval "$lt_compile" 2>conftest.err)
   10118    ac_status=$?
   10119    cat conftest.err >&5
   10120    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10121    if (exit $ac_status) && test -s "$ac_outfile"; then
   10122      # The compiler can only warn and ignore the option if not recognized
   10123      # So say no if there are warnings other than the usual output.
   10124      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10125      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10126      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10127        lt_cv_prog_compiler_pic_works=yes
   10128      fi
   10129    fi
   10130    $RM conftest*
   10131  ;;
   10132 esac
   10133 fi
   10134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10135 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10136 
   10137 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10138     case $lt_prog_compiler_pic in
   10139      "" | " "*) ;;
   10140      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10141      esac
   10142 else
   10143     lt_prog_compiler_pic=
   10144      lt_prog_compiler_can_build_shared=no
   10145 fi
   10146 
   10147 fi
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 #
   10160 # Check to make sure the static flag actually works.
   10161 #
   10162 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10164 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10165 if test ${lt_cv_prog_compiler_static_works+y}
   10166 then :
   10167   printf %s "(cached) " >&6
   10168 else case e in #(
   10169   e) lt_cv_prog_compiler_static_works=no
   10170    save_LDFLAGS=$LDFLAGS
   10171    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10172    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10173    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10174      # The linker can only warn and ignore the option if not recognized
   10175      # So say no if there are warnings
   10176      if test -s conftest.err; then
   10177        # Append any errors to the config.log.
   10178        cat conftest.err 1>&5
   10179        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10180        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10181        if diff conftest.exp conftest.er2 >/dev/null; then
   10182          lt_cv_prog_compiler_static_works=yes
   10183        fi
   10184      else
   10185        lt_cv_prog_compiler_static_works=yes
   10186      fi
   10187    fi
   10188    $RM -r conftest*
   10189    LDFLAGS=$save_LDFLAGS
   10190  ;;
   10191 esac
   10192 fi
   10193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10194 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10195 
   10196 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10197     :
   10198 else
   10199     lt_prog_compiler_static=
   10200 fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10209 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10210 if test ${lt_cv_prog_compiler_c_o+y}
   10211 then :
   10212   printf %s "(cached) " >&6
   10213 else case e in #(
   10214   e) lt_cv_prog_compiler_c_o=no
   10215    $RM -r conftest 2>/dev/null
   10216    mkdir conftest
   10217    cd conftest
   10218    mkdir out
   10219    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10220 
   10221    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10222    # Insert the option either (1) after the last *FLAGS variable, or
   10223    # (2) before a word containing "conftest.", or (3) at the end.
   10224    # Note that $ac_compile itself does not contain backslashes and begins
   10225    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10226    lt_compile=`echo "$ac_compile" | $SED \
   10227    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10228    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10229    -e 's:$: $lt_compiler_flag:'`
   10230    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10231    (eval "$lt_compile" 2>out/conftest.err)
   10232    ac_status=$?
   10233    cat out/conftest.err >&5
   10234    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10235    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10236    then
   10237      # The compiler can only warn and ignore the option if not recognized
   10238      # So say no if there are warnings
   10239      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10240      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10241      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10242        lt_cv_prog_compiler_c_o=yes
   10243      fi
   10244    fi
   10245    chmod u+w . 2>&5
   10246    $RM conftest*
   10247    # SGI C++ compiler will create directory out/ii_files/ for
   10248    # template instantiation
   10249    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10250    $RM out/* && rmdir out
   10251    cd ..
   10252    $RM -r conftest
   10253    $RM conftest*
   10254  ;;
   10255 esac
   10256 fi
   10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10258 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10266 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10267 if test ${lt_cv_prog_compiler_c_o+y}
   10268 then :
   10269   printf %s "(cached) " >&6
   10270 else case e in #(
   10271   e) lt_cv_prog_compiler_c_o=no
   10272    $RM -r conftest 2>/dev/null
   10273    mkdir conftest
   10274    cd conftest
   10275    mkdir out
   10276    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10277 
   10278    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10279    # Insert the option either (1) after the last *FLAGS variable, or
   10280    # (2) before a word containing "conftest.", or (3) at the end.
   10281    # Note that $ac_compile itself does not contain backslashes and begins
   10282    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10283    lt_compile=`echo "$ac_compile" | $SED \
   10284    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10285    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10286    -e 's:$: $lt_compiler_flag:'`
   10287    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10288    (eval "$lt_compile" 2>out/conftest.err)
   10289    ac_status=$?
   10290    cat out/conftest.err >&5
   10291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10292    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10293    then
   10294      # The compiler can only warn and ignore the option if not recognized
   10295      # So say no if there are warnings
   10296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10297      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10298      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10299        lt_cv_prog_compiler_c_o=yes
   10300      fi
   10301    fi
   10302    chmod u+w . 2>&5
   10303    $RM conftest*
   10304    # SGI C++ compiler will create directory out/ii_files/ for
   10305    # template instantiation
   10306    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10307    $RM out/* && rmdir out
   10308    cd ..
   10309    $RM -r conftest
   10310    $RM conftest*
   10311  ;;
   10312 esac
   10313 fi
   10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10315 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10316 
   10317 
   10318 
   10319 
   10320 hard_links=nottested
   10321 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10322   # do not overwrite the value of need_locks provided by the user
   10323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10324 printf %s "checking if we can lock with hard links... " >&6; }
   10325   hard_links=yes
   10326   $RM conftest*
   10327   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10328   touch conftest.a
   10329   ln conftest.a conftest.b 2>&5 || hard_links=no
   10330   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10332 printf "%s\n" "$hard_links" >&6; }
   10333   if test no = "$hard_links"; then
   10334     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10335 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10336     need_locks=warn
   10337   fi
   10338 else
   10339   need_locks=no
   10340 fi
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10348 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10349 
   10350   runpath_var=
   10351   allow_undefined_flag=
   10352   always_export_symbols=no
   10353   archive_cmds=
   10354   archive_expsym_cmds=
   10355   compiler_needs_object=no
   10356   enable_shared_with_static_runtimes=no
   10357   export_dynamic_flag_spec=
   10358   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10359   hardcode_automatic=no
   10360   hardcode_direct=no
   10361   hardcode_direct_absolute=no
   10362   hardcode_libdir_flag_spec=
   10363   hardcode_libdir_separator=
   10364   hardcode_minus_L=no
   10365   hardcode_shlibpath_var=unsupported
   10366   inherit_rpath=no
   10367   link_all_deplibs=unknown
   10368   module_cmds=
   10369   module_expsym_cmds=
   10370   old_archive_from_new_cmds=
   10371   old_archive_from_expsyms_cmds=
   10372   thread_safe_flag_spec=
   10373   whole_archive_flag_spec=
   10374   # include_expsyms should be a list of space-separated symbols to be *always*
   10375   # included in the symbol list
   10376   include_expsyms=
   10377   # exclude_expsyms can be an extended regexp of symbols to exclude
   10378   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10379   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10380   # as well as any symbol that contains 'd'.
   10381   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10382   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10383   # platforms (ab)use it in PIC code, but their linkers get confused if
   10384   # the symbol is explicitly referenced.  Since portable code cannot
   10385   # rely on this symbol name, it's probably fine to never include it in
   10386   # preloaded symbol tables.
   10387   # Exclude shared library initialization/finalization symbols.
   10388   extract_expsyms_cmds=
   10389 
   10390   case $host_os in
   10391   cygwin* | mingw* | pw32* | cegcc*)
   10392     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10393     # When not using gcc, we currently assume that we are using
   10394     # Microsoft Visual C++ or Intel C++ Compiler.
   10395     if test yes != "$GCC"; then
   10396       with_gnu_ld=no
   10397     fi
   10398     ;;
   10399   interix*)
   10400     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10401     with_gnu_ld=yes
   10402     ;;
   10403   openbsd* | bitrig*)
   10404     with_gnu_ld=no
   10405     ;;
   10406   esac
   10407 
   10408   ld_shlibs=yes
   10409 
   10410   # On some targets, GNU ld is compatible enough with the native linker
   10411   # that we're better off using the native interface for both.
   10412   lt_use_gnu_ld_interface=no
   10413   if test yes = "$with_gnu_ld"; then
   10414     case $host_os in
   10415       aix*)
   10416 	# The AIX port of GNU ld has always aspired to compatibility
   10417 	# with the native linker.  However, as the warning in the GNU ld
   10418 	# block says, versions before 2.19.5* couldn't really create working
   10419 	# shared libraries, regardless of the interface used.
   10420 	case `$LD -v 2>&1` in
   10421 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10422 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10423 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10424 	  *)
   10425 	    lt_use_gnu_ld_interface=yes
   10426 	    ;;
   10427 	esac
   10428 	;;
   10429       *)
   10430 	lt_use_gnu_ld_interface=yes
   10431 	;;
   10432     esac
   10433   fi
   10434 
   10435   if test yes = "$lt_use_gnu_ld_interface"; then
   10436     # If archive_cmds runs LD, not CC, wlarc should be empty
   10437     wlarc='$wl'
   10438 
   10439     # Set some defaults for GNU ld with shared library support. These
   10440     # are reset later if shared libraries are not supported. Putting them
   10441     # here allows them to be overridden if necessary.
   10442     runpath_var=LD_RUN_PATH
   10443     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10444     export_dynamic_flag_spec='$wl--export-dynamic'
   10445     # ancient GNU ld didn't support --whole-archive et. al.
   10446     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10447       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10448     else
   10449       whole_archive_flag_spec=
   10450     fi
   10451     supports_anon_versioning=no
   10452     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10453       *GNU\ gold*) supports_anon_versioning=yes ;;
   10454       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10455       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10456       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10457       *\ 2.11.*) ;; # other 2.11 versions
   10458       *) supports_anon_versioning=yes ;;
   10459     esac
   10460 
   10461     # See if GNU ld supports shared libraries.
   10462     case $host_os in
   10463     aix[3-9]*)
   10464       # On AIX/PPC, the GNU linker is very broken
   10465       if test ia64 != "$host_cpu"; then
   10466 	ld_shlibs=no
   10467 	cat <<_LT_EOF 1>&2
   10468 
   10469 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10470 *** to be unable to reliably create shared libraries on AIX.
   10471 *** Therefore, libtool is disabling shared libraries support.  If you
   10472 *** really care for shared libraries, you may want to install binutils
   10473 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10474 *** You will then need to restart the configuration process.
   10475 
   10476 _LT_EOF
   10477       fi
   10478       ;;
   10479 
   10480     amigaos*)
   10481       case $host_cpu in
   10482       powerpc)
   10483             # see comment about AmigaOS4 .so support
   10484             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10485             archive_expsym_cmds=''
   10486         ;;
   10487       m68k)
   10488             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)'
   10489             hardcode_libdir_flag_spec='-L$libdir'
   10490             hardcode_minus_L=yes
   10491         ;;
   10492       esac
   10493       ;;
   10494 
   10495     beos*)
   10496       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10497 	allow_undefined_flag=unsupported
   10498 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10499 	# support --undefined.  This deserves some investigation.  FIXME
   10500 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10501       else
   10502 	ld_shlibs=no
   10503       fi
   10504       ;;
   10505 
   10506     cygwin* | mingw* | pw32* | cegcc*)
   10507       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10508       # as there is no search path for DLLs.
   10509       hardcode_libdir_flag_spec='-L$libdir'
   10510       export_dynamic_flag_spec='$wl--export-all-symbols'
   10511       allow_undefined_flag=unsupported
   10512       always_export_symbols=no
   10513       enable_shared_with_static_runtimes=yes
   10514       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'
   10515       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10516 
   10517       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10518         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10519 	# If the export-symbols file already is a .def file, use it as
   10520 	# is; otherwise, prepend EXPORTS...
   10521 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10522           cp $export_symbols $output_objdir/$soname.def;
   10523         else
   10524           echo EXPORTS > $output_objdir/$soname.def;
   10525           cat $export_symbols >> $output_objdir/$soname.def;
   10526         fi~
   10527         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10528       else
   10529 	ld_shlibs=no
   10530       fi
   10531       ;;
   10532 
   10533     haiku*)
   10534       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10535       link_all_deplibs=yes
   10536       ;;
   10537 
   10538     os2*)
   10539       hardcode_libdir_flag_spec='-L$libdir'
   10540       hardcode_minus_L=yes
   10541       allow_undefined_flag=unsupported
   10542       shrext_cmds=.dll
   10543       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10544 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10545 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10546 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10547 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10548 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10549 	emximp -o $lib $output_objdir/$libname.def'
   10550       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10551 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10552 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10553 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10554 	prefix_cmds="$SED"~
   10555 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10556 	  prefix_cmds="$prefix_cmds -e 1d";
   10557 	fi~
   10558 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10559 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10560 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10561 	emximp -o $lib $output_objdir/$libname.def'
   10562       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10563       enable_shared_with_static_runtimes=yes
   10564       file_list_spec='@'
   10565       ;;
   10566 
   10567     interix[3-9]*)
   10568       hardcode_direct=no
   10569       hardcode_shlibpath_var=no
   10570       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10571       export_dynamic_flag_spec='$wl-E'
   10572       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10573       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10574       # default) and relocated if they conflict, which is a slow very memory
   10575       # consuming and fragmenting process.  To avoid this, we pick a random,
   10576       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10577       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10578       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10579       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'
   10580       ;;
   10581 
   10582     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10583       tmp_diet=no
   10584       if test linux-dietlibc = "$host_os"; then
   10585 	case $cc_basename in
   10586 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10587 	esac
   10588       fi
   10589       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10590 	 && test no = "$tmp_diet"
   10591       then
   10592 	tmp_addflag=' $pic_flag'
   10593 	tmp_sharedflag='-shared'
   10594 	case $cc_basename,$host_cpu in
   10595         pgcc*)				# Portland Group C compiler
   10596 	  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'
   10597 	  tmp_addflag=' $pic_flag'
   10598 	  ;;
   10599 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10600 					# Portland Group f77 and f90 compilers
   10601 	  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'
   10602 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10603 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10604 	  tmp_addflag=' -i_dynamic' ;;
   10605 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10606 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10607 	ifc* | ifort*)			# Intel Fortran compiler
   10608 	  tmp_addflag=' -nofor_main' ;;
   10609 	lf95*)				# Lahey Fortran 8.1
   10610 	  whole_archive_flag_spec=
   10611 	  tmp_sharedflag='--shared' ;;
   10612         nagfor*)                        # NAGFOR 5.3
   10613           tmp_sharedflag='-Wl,-shared' ;;
   10614 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10615 	  tmp_sharedflag='-qmkshrobj'
   10616 	  tmp_addflag= ;;
   10617 	nvcc*)	# Cuda Compiler Driver 2.2
   10618 	  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'
   10619 	  compiler_needs_object=yes
   10620 	  ;;
   10621 	esac
   10622 	case `$CC -V 2>&1 | $SED 5q` in
   10623 	*Sun\ C*)			# Sun C 5.9
   10624 	  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'
   10625 	  compiler_needs_object=yes
   10626 	  tmp_sharedflag='-G' ;;
   10627 	*Sun\ F*)			# Sun Fortran 8.3
   10628 	  tmp_sharedflag='-G' ;;
   10629 	esac
   10630 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10631 
   10632         if test yes = "$supports_anon_versioning"; then
   10633           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10634             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10635             echo "local: *; };" >> $output_objdir/$libname.ver~
   10636             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10637         fi
   10638 
   10639 	case $cc_basename in
   10640 	tcc*)
   10641 	  export_dynamic_flag_spec='-rdynamic'
   10642 	  ;;
   10643 	xlf* | bgf* | bgxlf* | mpixlf*)
   10644 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10645 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10646 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10647 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10648 	  if test yes = "$supports_anon_versioning"; then
   10649 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10650               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10651               echo "local: *; };" >> $output_objdir/$libname.ver~
   10652               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10653 	  fi
   10654 	  ;;
   10655 	esac
   10656       else
   10657         ld_shlibs=no
   10658       fi
   10659       ;;
   10660 
   10661     netbsd*)
   10662       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10663 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10664 	wlarc=
   10665       else
   10666 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10667 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10668       fi
   10669       ;;
   10670 
   10671     solaris*)
   10672       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10673 	ld_shlibs=no
   10674 	cat <<_LT_EOF 1>&2
   10675 
   10676 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10677 *** create shared libraries on Solaris systems.  Therefore, libtool
   10678 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10679 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10680 *** your PATH or compiler configuration so that the native linker is
   10681 *** used, and then restart.
   10682 
   10683 _LT_EOF
   10684       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10685 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10686 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10687       else
   10688 	ld_shlibs=no
   10689       fi
   10690       ;;
   10691 
   10692     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10693       case `$LD -v 2>&1` in
   10694         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10695 	ld_shlibs=no
   10696 	cat <<_LT_EOF 1>&2
   10697 
   10698 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10699 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10700 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10701 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10702 *** your PATH or compiler configuration so that the native linker is
   10703 *** used, and then restart.
   10704 
   10705 _LT_EOF
   10706 	;;
   10707 	*)
   10708 	  # For security reasons, it is highly recommended that you always
   10709 	  # use absolute paths for naming shared libraries, and exclude the
   10710 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10711 	  # requires that you compile everything twice, which is a pain.
   10712 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10713 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10714 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10715 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10716 	  else
   10717 	    ld_shlibs=no
   10718 	  fi
   10719 	;;
   10720       esac
   10721       ;;
   10722 
   10723     sunos4*)
   10724       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10725       wlarc=
   10726       hardcode_direct=yes
   10727       hardcode_shlibpath_var=no
   10728       ;;
   10729 
   10730     *)
   10731       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10732 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10733 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10734       else
   10735 	ld_shlibs=no
   10736       fi
   10737       ;;
   10738     esac
   10739 
   10740     if test no = "$ld_shlibs"; then
   10741       runpath_var=
   10742       hardcode_libdir_flag_spec=
   10743       export_dynamic_flag_spec=
   10744       whole_archive_flag_spec=
   10745     fi
   10746   else
   10747     # PORTME fill in a description of your system's linker (not GNU ld)
   10748     case $host_os in
   10749     aix3*)
   10750       allow_undefined_flag=unsupported
   10751       always_export_symbols=yes
   10752       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'
   10753       # Note: this linker hardcodes the directories in LIBPATH if there
   10754       # are no directories specified by -L.
   10755       hardcode_minus_L=yes
   10756       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10757 	# Neither direct hardcoding nor static linking is supported with a
   10758 	# broken collect2.
   10759 	hardcode_direct=unsupported
   10760       fi
   10761       ;;
   10762 
   10763     aix[4-9]*)
   10764       if test ia64 = "$host_cpu"; then
   10765 	# On IA64, the linker does run time linking by default, so we don't
   10766 	# have to do anything special.
   10767 	aix_use_runtimelinking=no
   10768 	exp_sym_flag='-Bexport'
   10769 	no_entry_flag=
   10770       else
   10771 	# If we're using GNU nm, then we don't want the "-C" option.
   10772 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10773 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10774 	# weak defined symbols like other global defined symbols, whereas
   10775 	# GNU nm marks them as "W".
   10776 	# While the 'weak' keyword is ignored in the Export File, we need
   10777 	# it in the Import File for the 'aix-soname' feature, so we have
   10778 	# to replace the "-B" option with "-P" for AIX nm.
   10779 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10780 	  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'
   10781 	else
   10782 	  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'
   10783 	fi
   10784 	aix_use_runtimelinking=no
   10785 
   10786 	# Test if we are trying to use run time linking or normal
   10787 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10788 	# have runtime linking enabled, and use it for executables.
   10789 	# For shared libraries, we enable/disable runtime linking
   10790 	# depending on the kind of the shared library created -
   10791 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10792 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10793 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10794 	#            lib.a           static archive
   10795 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10796 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10797 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10798 	#            lib.a(lib.so.V) shared, rtl:no
   10799 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10800 	#            lib.a           static archive
   10801 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10802 	  for ld_flag in $LDFLAGS; do
   10803 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10804 	    aix_use_runtimelinking=yes
   10805 	    break
   10806 	  fi
   10807 	  done
   10808 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10809 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10810 	    # so we don't have lib.a shared libs to link our executables.
   10811 	    # We have to force runtime linking in this case.
   10812 	    aix_use_runtimelinking=yes
   10813 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10814 	  fi
   10815 	  ;;
   10816 	esac
   10817 
   10818 	exp_sym_flag='-bexport'
   10819 	no_entry_flag='-bnoentry'
   10820       fi
   10821 
   10822       # When large executables or shared objects are built, AIX ld can
   10823       # have problems creating the table of contents.  If linking a library
   10824       # or program results in "error TOC overflow" add -mminimal-toc to
   10825       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10826       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10827 
   10828       archive_cmds=''
   10829       hardcode_direct=yes
   10830       hardcode_direct_absolute=yes
   10831       hardcode_libdir_separator=':'
   10832       link_all_deplibs=yes
   10833       file_list_spec='$wl-f,'
   10834       case $with_aix_soname,$aix_use_runtimelinking in
   10835       aix,*) ;; # traditional, no import file
   10836       svr4,* | *,yes) # use import file
   10837 	# The Import File defines what to hardcode.
   10838 	hardcode_direct=no
   10839 	hardcode_direct_absolute=no
   10840 	;;
   10841       esac
   10842 
   10843       if test yes = "$GCC"; then
   10844 	case $host_os in aix4.[012]|aix4.[012].*)
   10845 	# We only want to do this on AIX 4.2 and lower, the check
   10846 	# below for broken collect2 doesn't work under 4.3+
   10847 	  collect2name=`$CC -print-prog-name=collect2`
   10848 	  if test -f "$collect2name" &&
   10849 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10850 	  then
   10851 	  # We have reworked collect2
   10852 	  :
   10853 	  else
   10854 	  # We have old collect2
   10855 	  hardcode_direct=unsupported
   10856 	  # It fails to find uninstalled libraries when the uninstalled
   10857 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10858 	  # to unsupported forces relinking
   10859 	  hardcode_minus_L=yes
   10860 	  hardcode_libdir_flag_spec='-L$libdir'
   10861 	  hardcode_libdir_separator=
   10862 	  fi
   10863 	  ;;
   10864 	esac
   10865 	shared_flag='-shared'
   10866 	if test yes = "$aix_use_runtimelinking"; then
   10867 	  shared_flag="$shared_flag "'$wl-G'
   10868 	fi
   10869 	# Need to ensure runtime linking is disabled for the traditional
   10870 	# shared library, or the linker may eventually find shared libraries
   10871 	# /with/ Import File - we do not want to mix them.
   10872 	shared_flag_aix='-shared'
   10873 	shared_flag_svr4='-shared $wl-G'
   10874       else
   10875 	# not using gcc
   10876 	if test ia64 = "$host_cpu"; then
   10877 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10878 	# chokes on -Wl,-G. The following line is correct:
   10879 	  shared_flag='-G'
   10880 	else
   10881 	  if test yes = "$aix_use_runtimelinking"; then
   10882 	    shared_flag='$wl-G'
   10883 	  else
   10884 	    shared_flag='$wl-bM:SRE'
   10885 	  fi
   10886 	  shared_flag_aix='$wl-bM:SRE'
   10887 	  shared_flag_svr4='$wl-G'
   10888 	fi
   10889       fi
   10890 
   10891       export_dynamic_flag_spec='$wl-bexpall'
   10892       # It seems that -bexpall does not export symbols beginning with
   10893       # underscore (_), so it is better to generate a list of symbols to export.
   10894       always_export_symbols=yes
   10895       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10896 	# Warning - without using the other runtime loading flags (-brtl),
   10897 	# -berok will link without error, but may produce a broken library.
   10898 	allow_undefined_flag='-berok'
   10899         # Determine the default libpath from the value encoded in an
   10900         # empty executable.
   10901         if test set = "${lt_cv_aix_libpath+set}"; then
   10902   aix_libpath=$lt_cv_aix_libpath
   10903 else
   10904   if test ${lt_cv_aix_libpath_+y}
   10905 then :
   10906   printf %s "(cached) " >&6
   10907 else case e in #(
   10908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10909 /* end confdefs.h.  */
   10910 
   10911 int
   10912 main (void)
   10913 {
   10914 
   10915   ;
   10916   return 0;
   10917 }
   10918 _ACEOF
   10919 if ac_fn_c_try_link "$LINENO"
   10920 then :
   10921 
   10922   lt_aix_libpath_sed='
   10923       /Import File Strings/,/^$/ {
   10924 	  /^0/ {
   10925 	      s/^0  *\([^ ]*\) *$/\1/
   10926 	      p
   10927 	  }
   10928       }'
   10929   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10930   # Check for a 64-bit object if we didn't find anything.
   10931   if test -z "$lt_cv_aix_libpath_"; then
   10932     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10933   fi
   10934 fi
   10935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10936     conftest$ac_exeext conftest.$ac_ext
   10937   if test -z "$lt_cv_aix_libpath_"; then
   10938     lt_cv_aix_libpath_=/usr/lib:/lib
   10939   fi
   10940    ;;
   10941 esac
   10942 fi
   10943 
   10944   aix_libpath=$lt_cv_aix_libpath_
   10945 fi
   10946 
   10947         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10948         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
   10949       else
   10950 	if test ia64 = "$host_cpu"; then
   10951 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10952 	  allow_undefined_flag="-z nodefs"
   10953 	  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"
   10954 	else
   10955 	 # Determine the default libpath from the value encoded in an
   10956 	 # empty executable.
   10957 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10958   aix_libpath=$lt_cv_aix_libpath
   10959 else
   10960   if test ${lt_cv_aix_libpath_+y}
   10961 then :
   10962   printf %s "(cached) " >&6
   10963 else case e in #(
   10964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10965 /* end confdefs.h.  */
   10966 
   10967 int
   10968 main (void)
   10969 {
   10970 
   10971   ;
   10972   return 0;
   10973 }
   10974 _ACEOF
   10975 if ac_fn_c_try_link "$LINENO"
   10976 then :
   10977 
   10978   lt_aix_libpath_sed='
   10979       /Import File Strings/,/^$/ {
   10980 	  /^0/ {
   10981 	      s/^0  *\([^ ]*\) *$/\1/
   10982 	      p
   10983 	  }
   10984       }'
   10985   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10986   # Check for a 64-bit object if we didn't find anything.
   10987   if test -z "$lt_cv_aix_libpath_"; then
   10988     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10989   fi
   10990 fi
   10991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10992     conftest$ac_exeext conftest.$ac_ext
   10993   if test -z "$lt_cv_aix_libpath_"; then
   10994     lt_cv_aix_libpath_=/usr/lib:/lib
   10995   fi
   10996    ;;
   10997 esac
   10998 fi
   10999 
   11000   aix_libpath=$lt_cv_aix_libpath_
   11001 fi
   11002 
   11003 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11004 	  # Warning - without using the other run time loading flags,
   11005 	  # -berok will link without error, but may produce a broken library.
   11006 	  no_undefined_flag=' $wl-bernotok'
   11007 	  allow_undefined_flag=' $wl-berok'
   11008 	  if test yes = "$with_gnu_ld"; then
   11009 	    # We only use this code for GNU lds that support --whole-archive.
   11010 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11011 	  else
   11012 	    # Exported symbols can be pulled into shared objects from archives
   11013 	    whole_archive_flag_spec='$convenience'
   11014 	  fi
   11015 	  archive_cmds_need_lc=yes
   11016 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11017 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11018 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11019 	  if test svr4 != "$with_aix_soname"; then
   11020 	    # This is similar to how AIX traditionally builds its shared libraries.
   11021 	    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'
   11022 	  fi
   11023 	  if test aix != "$with_aix_soname"; then
   11024 	    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'
   11025 	  else
   11026 	    # used by -dlpreopen to get the symbols
   11027 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11028 	  fi
   11029 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11030 	fi
   11031       fi
   11032       ;;
   11033 
   11034     amigaos*)
   11035       case $host_cpu in
   11036       powerpc)
   11037             # see comment about AmigaOS4 .so support
   11038             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11039             archive_expsym_cmds=''
   11040         ;;
   11041       m68k)
   11042             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)'
   11043             hardcode_libdir_flag_spec='-L$libdir'
   11044             hardcode_minus_L=yes
   11045         ;;
   11046       esac
   11047       ;;
   11048 
   11049     bsdi[45]*)
   11050       export_dynamic_flag_spec=-rdynamic
   11051       ;;
   11052 
   11053     cygwin* | mingw* | pw32* | cegcc*)
   11054       # When not using gcc, we currently assume that we are using
   11055       # Microsoft Visual C++ or Intel C++ Compiler.
   11056       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11057       # no search path for DLLs.
   11058       case $cc_basename in
   11059       cl* | icl*)
   11060 	# Native MSVC or ICC
   11061 	hardcode_libdir_flag_spec=' '
   11062 	allow_undefined_flag=unsupported
   11063 	always_export_symbols=yes
   11064 	file_list_spec='@'
   11065 	# Tell ltmain to make .lib files, not .a files.
   11066 	libext=lib
   11067 	# Tell ltmain to make .dll files, not .so files.
   11068 	shrext_cmds=.dll
   11069 	# FIXME: Setting linknames here is a bad hack.
   11070 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11071 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11072             cp "$export_symbols" "$output_objdir/$soname.def";
   11073             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11074           else
   11075             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11076           fi~
   11077           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11078           linknames='
   11079 	# The linker will not automatically build a static lib if we build a DLL.
   11080 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11081 	enable_shared_with_static_runtimes=yes
   11082 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11083 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11084 	# Don't use ranlib
   11085 	old_postinstall_cmds='chmod 644 $oldlib'
   11086 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11087           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11088           case $lt_outputfile in
   11089             *.exe|*.EXE) ;;
   11090             *)
   11091               lt_outputfile=$lt_outputfile.exe
   11092               lt_tool_outputfile=$lt_tool_outputfile.exe
   11093               ;;
   11094           esac~
   11095           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11096             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11097             $RM "$lt_outputfile.manifest";
   11098           fi'
   11099 	;;
   11100       *)
   11101 	# Assume MSVC and ICC wrapper
   11102 	hardcode_libdir_flag_spec=' '
   11103 	allow_undefined_flag=unsupported
   11104 	# Tell ltmain to make .lib files, not .a files.
   11105 	libext=lib
   11106 	# Tell ltmain to make .dll files, not .so files.
   11107 	shrext_cmds=.dll
   11108 	# FIXME: Setting linknames here is a bad hack.
   11109 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11110 	# The linker will automatically build a .lib file if we build a DLL.
   11111 	old_archive_from_new_cmds='true'
   11112 	# FIXME: Should let the user specify the lib program.
   11113 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11114 	enable_shared_with_static_runtimes=yes
   11115 	;;
   11116       esac
   11117       ;;
   11118 
   11119     darwin* | rhapsody*)
   11120 
   11121 
   11122   archive_cmds_need_lc=no
   11123   hardcode_direct=no
   11124   hardcode_automatic=yes
   11125   hardcode_shlibpath_var=unsupported
   11126   if test yes = "$lt_cv_ld_force_load"; then
   11127     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\"`'
   11128 
   11129   else
   11130     whole_archive_flag_spec=''
   11131   fi
   11132   link_all_deplibs=yes
   11133   allow_undefined_flag=$_lt_dar_allow_undefined
   11134   case $cc_basename in
   11135      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11136      *) _lt_dar_can_shared=$GCC ;;
   11137   esac
   11138   if test yes = "$_lt_dar_can_shared"; then
   11139     output_verbose_link_cmd=func_echo_all
   11140     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11141     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11142     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"
   11143     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"
   11144 
   11145   else
   11146   ld_shlibs=no
   11147   fi
   11148 
   11149       ;;
   11150 
   11151     dgux*)
   11152       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11153       hardcode_libdir_flag_spec='-L$libdir'
   11154       hardcode_shlibpath_var=no
   11155       ;;
   11156 
   11157     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11158     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11159     # does not break anything, and helps significantly (at the cost of a little
   11160     # extra space).
   11161     freebsd2.2*)
   11162       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11163       hardcode_libdir_flag_spec='-R$libdir'
   11164       hardcode_direct=yes
   11165       hardcode_shlibpath_var=no
   11166       ;;
   11167 
   11168     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11169     freebsd2.*)
   11170       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11171       hardcode_direct=yes
   11172       hardcode_minus_L=yes
   11173       hardcode_shlibpath_var=no
   11174       ;;
   11175 
   11176     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11177     freebsd* | dragonfly* | midnightbsd*)
   11178       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11179       hardcode_libdir_flag_spec='-R$libdir'
   11180       hardcode_direct=yes
   11181       hardcode_shlibpath_var=no
   11182       ;;
   11183 
   11184     hpux9*)
   11185       if test yes = "$GCC"; then
   11186 	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'
   11187       else
   11188 	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'
   11189       fi
   11190       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11191       hardcode_libdir_separator=:
   11192       hardcode_direct=yes
   11193 
   11194       # hardcode_minus_L: Not really in the search PATH,
   11195       # but as the default location of the library.
   11196       hardcode_minus_L=yes
   11197       export_dynamic_flag_spec='$wl-E'
   11198       ;;
   11199 
   11200     hpux10*)
   11201       if test yes,no = "$GCC,$with_gnu_ld"; then
   11202 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11203       else
   11204 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11205       fi
   11206       if test no = "$with_gnu_ld"; then
   11207 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11208 	hardcode_libdir_separator=:
   11209 	hardcode_direct=yes
   11210 	hardcode_direct_absolute=yes
   11211 	export_dynamic_flag_spec='$wl-E'
   11212 	# hardcode_minus_L: Not really in the search PATH,
   11213 	# but as the default location of the library.
   11214 	hardcode_minus_L=yes
   11215       fi
   11216       ;;
   11217 
   11218     hpux11*)
   11219       if test yes,no = "$GCC,$with_gnu_ld"; then
   11220 	case $host_cpu in
   11221 	hppa*64*)
   11222 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11223 	  ;;
   11224 	ia64*)
   11225 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11226 	  ;;
   11227 	*)
   11228 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11229 	  ;;
   11230 	esac
   11231       else
   11232 	case $host_cpu in
   11233 	hppa*64*)
   11234 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11235 	  ;;
   11236 	ia64*)
   11237 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11238 	  ;;
   11239 	*)
   11240 
   11241 	  # Older versions of the 11.00 compiler do not understand -b yet
   11242 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11243 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11244 printf %s "checking if $CC understands -b... " >&6; }
   11245 if test ${lt_cv_prog_compiler__b+y}
   11246 then :
   11247   printf %s "(cached) " >&6
   11248 else case e in #(
   11249   e) lt_cv_prog_compiler__b=no
   11250    save_LDFLAGS=$LDFLAGS
   11251    LDFLAGS="$LDFLAGS -b"
   11252    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11253    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11254      # The linker can only warn and ignore the option if not recognized
   11255      # So say no if there are warnings
   11256      if test -s conftest.err; then
   11257        # Append any errors to the config.log.
   11258        cat conftest.err 1>&5
   11259        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11260        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11261        if diff conftest.exp conftest.er2 >/dev/null; then
   11262          lt_cv_prog_compiler__b=yes
   11263        fi
   11264      else
   11265        lt_cv_prog_compiler__b=yes
   11266      fi
   11267    fi
   11268    $RM -r conftest*
   11269    LDFLAGS=$save_LDFLAGS
   11270  ;;
   11271 esac
   11272 fi
   11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11274 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11275 
   11276 if test yes = "$lt_cv_prog_compiler__b"; then
   11277     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11278 else
   11279     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11280 fi
   11281 
   11282 	  ;;
   11283 	esac
   11284       fi
   11285       if test no = "$with_gnu_ld"; then
   11286 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11287 	hardcode_libdir_separator=:
   11288 
   11289 	case $host_cpu in
   11290 	hppa*64*|ia64*)
   11291 	  hardcode_direct=no
   11292 	  hardcode_shlibpath_var=no
   11293 	  ;;
   11294 	*)
   11295 	  hardcode_direct=yes
   11296 	  hardcode_direct_absolute=yes
   11297 	  export_dynamic_flag_spec='$wl-E'
   11298 
   11299 	  # hardcode_minus_L: Not really in the search PATH,
   11300 	  # but as the default location of the library.
   11301 	  hardcode_minus_L=yes
   11302 	  ;;
   11303 	esac
   11304       fi
   11305       ;;
   11306 
   11307     irix5* | irix6* | nonstopux*)
   11308       if test yes = "$GCC"; then
   11309 	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'
   11310 	# Try to use the -exported_symbol ld option, if it does not
   11311 	# work, assume that -exports_file does not work either and
   11312 	# implicitly export all symbols.
   11313 	# This should be the same for all languages, so no per-tag cache variable.
   11314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11315 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11316 if test ${lt_cv_irix_exported_symbol+y}
   11317 then :
   11318   printf %s "(cached) " >&6
   11319 else case e in #(
   11320   e) save_LDFLAGS=$LDFLAGS
   11321 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11322 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11323 /* end confdefs.h.  */
   11324 int foo (void) { return 0; }
   11325 _ACEOF
   11326 if ac_fn_c_try_link "$LINENO"
   11327 then :
   11328   lt_cv_irix_exported_symbol=yes
   11329 else case e in #(
   11330   e) lt_cv_irix_exported_symbol=no ;;
   11331 esac
   11332 fi
   11333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11334     conftest$ac_exeext conftest.$ac_ext
   11335            LDFLAGS=$save_LDFLAGS ;;
   11336 esac
   11337 fi
   11338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11339 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11340 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11341           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'
   11342 	fi
   11343       else
   11344 	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'
   11345 	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'
   11346       fi
   11347       archive_cmds_need_lc='no'
   11348       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11349       hardcode_libdir_separator=:
   11350       inherit_rpath=yes
   11351       link_all_deplibs=yes
   11352       ;;
   11353 
   11354     linux*)
   11355       case $cc_basename in
   11356       tcc*)
   11357 	# Fabrice Bellard et al's Tiny C Compiler
   11358 	ld_shlibs=yes
   11359 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11360 	;;
   11361       esac
   11362       ;;
   11363 
   11364     netbsd*)
   11365       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11366 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11367       else
   11368 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11369       fi
   11370       hardcode_libdir_flag_spec='-R$libdir'
   11371       hardcode_direct=yes
   11372       hardcode_shlibpath_var=no
   11373       ;;
   11374 
   11375     newsos6)
   11376       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11377       hardcode_direct=yes
   11378       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11379       hardcode_libdir_separator=:
   11380       hardcode_shlibpath_var=no
   11381       ;;
   11382 
   11383     *nto* | *qnx*)
   11384       ;;
   11385 
   11386     openbsd* | bitrig*)
   11387       if test -f /usr/libexec/ld.so; then
   11388 	hardcode_direct=yes
   11389 	hardcode_shlibpath_var=no
   11390 	hardcode_direct_absolute=yes
   11391 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11392 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11393 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11394 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11395 	  export_dynamic_flag_spec='$wl-E'
   11396 	else
   11397 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11398 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11399 	fi
   11400       else
   11401 	ld_shlibs=no
   11402       fi
   11403       ;;
   11404 
   11405     os2*)
   11406       hardcode_libdir_flag_spec='-L$libdir'
   11407       hardcode_minus_L=yes
   11408       allow_undefined_flag=unsupported
   11409       shrext_cmds=.dll
   11410       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11411 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11412 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11413 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11414 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11415 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11416 	emximp -o $lib $output_objdir/$libname.def'
   11417       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11418 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11419 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11420 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11421 	prefix_cmds="$SED"~
   11422 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11423 	  prefix_cmds="$prefix_cmds -e 1d";
   11424 	fi~
   11425 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11426 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11427 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11428 	emximp -o $lib $output_objdir/$libname.def'
   11429       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11430       enable_shared_with_static_runtimes=yes
   11431       file_list_spec='@'
   11432       ;;
   11433 
   11434     osf3*)
   11435       if test yes = "$GCC"; then
   11436 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11437 	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'
   11438       else
   11439 	allow_undefined_flag=' -expect_unresolved \*'
   11440 	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'
   11441       fi
   11442       archive_cmds_need_lc='no'
   11443       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11444       hardcode_libdir_separator=:
   11445       ;;
   11446 
   11447     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11448       if test yes = "$GCC"; then
   11449 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11450 	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'
   11451 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11452       else
   11453 	allow_undefined_flag=' -expect_unresolved \*'
   11454 	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'
   11455 	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~
   11456           $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'
   11457 
   11458 	# Both c and cxx compiler support -rpath directly
   11459 	hardcode_libdir_flag_spec='-rpath $libdir'
   11460       fi
   11461       archive_cmds_need_lc='no'
   11462       hardcode_libdir_separator=:
   11463       ;;
   11464 
   11465     solaris*)
   11466       no_undefined_flag=' -z defs'
   11467       if test yes = "$GCC"; then
   11468 	wlarc='$wl'
   11469 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11470 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11471           $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'
   11472       else
   11473 	case `$CC -V 2>&1` in
   11474 	*"Compilers 5.0"*)
   11475 	  wlarc=''
   11476 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11477 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11478             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11479 	  ;;
   11480 	*)
   11481 	  wlarc='$wl'
   11482 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11483 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11484             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11485 	  ;;
   11486 	esac
   11487       fi
   11488       hardcode_libdir_flag_spec='-R$libdir'
   11489       hardcode_shlibpath_var=no
   11490       case $host_os in
   11491       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11492       *)
   11493 	# The compiler driver will combine and reorder linker options,
   11494 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11495 	# but is careful enough not to reorder.
   11496 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11497 	if test yes = "$GCC"; then
   11498 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11499 	else
   11500 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11501 	fi
   11502 	;;
   11503       esac
   11504       link_all_deplibs=yes
   11505       ;;
   11506 
   11507     sunos4*)
   11508       if test sequent = "$host_vendor"; then
   11509 	# Use $CC to link under sequent, because it throws in some extra .o
   11510 	# files that make .init and .fini sections work.
   11511 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11512       else
   11513 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11514       fi
   11515       hardcode_libdir_flag_spec='-L$libdir'
   11516       hardcode_direct=yes
   11517       hardcode_minus_L=yes
   11518       hardcode_shlibpath_var=no
   11519       ;;
   11520 
   11521     sysv4)
   11522       case $host_vendor in
   11523 	sni)
   11524 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11525 	  hardcode_direct=yes # is this really true???
   11526 	;;
   11527 	siemens)
   11528 	  ## LD is ld it makes a PLAMLIB
   11529 	  ## CC just makes a GrossModule.
   11530 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11531 	  reload_cmds='$CC -r -o $output$reload_objs'
   11532 	  hardcode_direct=no
   11533         ;;
   11534 	motorola)
   11535 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11536 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11537 	;;
   11538       esac
   11539       runpath_var='LD_RUN_PATH'
   11540       hardcode_shlibpath_var=no
   11541       ;;
   11542 
   11543     sysv4.3*)
   11544       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11545       hardcode_shlibpath_var=no
   11546       export_dynamic_flag_spec='-Bexport'
   11547       ;;
   11548 
   11549     sysv4*MP*)
   11550       if test -d /usr/nec; then
   11551 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11552 	hardcode_shlibpath_var=no
   11553 	runpath_var=LD_RUN_PATH
   11554 	hardcode_runpath_var=yes
   11555 	ld_shlibs=yes
   11556       fi
   11557       ;;
   11558 
   11559     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11560       no_undefined_flag='$wl-z,text'
   11561       archive_cmds_need_lc=no
   11562       hardcode_shlibpath_var=no
   11563       runpath_var='LD_RUN_PATH'
   11564 
   11565       if test yes = "$GCC"; then
   11566 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11567 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11568       else
   11569 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11570 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11571       fi
   11572       ;;
   11573 
   11574     sysv5* | sco3.2v5* | sco5v6*)
   11575       # Note: We CANNOT use -z defs as we might desire, because we do not
   11576       # link with -lc, and that would cause any symbols used from libc to
   11577       # always be unresolved, which means just about no library would
   11578       # ever link correctly.  If we're not using GNU ld we use -z text
   11579       # though, which does catch some bad symbols but isn't as heavy-handed
   11580       # as -z defs.
   11581       no_undefined_flag='$wl-z,text'
   11582       allow_undefined_flag='$wl-z,nodefs'
   11583       archive_cmds_need_lc=no
   11584       hardcode_shlibpath_var=no
   11585       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11586       hardcode_libdir_separator=':'
   11587       link_all_deplibs=yes
   11588       export_dynamic_flag_spec='$wl-Bexport'
   11589       runpath_var='LD_RUN_PATH'
   11590 
   11591       if test yes = "$GCC"; then
   11592 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11593 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11594       else
   11595 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11596 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11597       fi
   11598       ;;
   11599 
   11600     uts4*)
   11601       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11602       hardcode_libdir_flag_spec='-L$libdir'
   11603       hardcode_shlibpath_var=no
   11604       ;;
   11605 
   11606     *)
   11607       ld_shlibs=no
   11608       ;;
   11609     esac
   11610 
   11611     if test sni = "$host_vendor"; then
   11612       case $host in
   11613       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11614 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11615 	;;
   11616       esac
   11617     fi
   11618   fi
   11619 
   11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11621 printf "%s\n" "$ld_shlibs" >&6; }
   11622 test no = "$ld_shlibs" && can_build_shared=no
   11623 
   11624 with_gnu_ld=$with_gnu_ld
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 #
   11641 # Do we need to explicitly link libc?
   11642 #
   11643 case "x$archive_cmds_need_lc" in
   11644 x|xyes)
   11645   # Assume -lc should be added
   11646   archive_cmds_need_lc=yes
   11647 
   11648   if test yes,yes = "$GCC,$enable_shared"; then
   11649     case $archive_cmds in
   11650     *'~'*)
   11651       # FIXME: we may have to deal with multi-command sequences.
   11652       ;;
   11653     '$CC '*)
   11654       # Test whether the compiler implicitly links with -lc since on some
   11655       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11656       # to ld, don't add -lc before -lgcc.
   11657       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11658 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11659 if test ${lt_cv_archive_cmds_need_lc+y}
   11660 then :
   11661   printf %s "(cached) " >&6
   11662 else case e in #(
   11663   e) $RM conftest*
   11664 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11665 
   11666 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11667   (eval $ac_compile) 2>&5
   11668   ac_status=$?
   11669   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11670   test $ac_status = 0; } 2>conftest.err; then
   11671 	  soname=conftest
   11672 	  lib=conftest
   11673 	  libobjs=conftest.$ac_objext
   11674 	  deplibs=
   11675 	  wl=$lt_prog_compiler_wl
   11676 	  pic_flag=$lt_prog_compiler_pic
   11677 	  compiler_flags=-v
   11678 	  linker_flags=-v
   11679 	  verstring=
   11680 	  output_objdir=.
   11681 	  libname=conftest
   11682 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11683 	  allow_undefined_flag=
   11684 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11685   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11686   ac_status=$?
   11687   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11688   test $ac_status = 0; }
   11689 	  then
   11690 	    lt_cv_archive_cmds_need_lc=no
   11691 	  else
   11692 	    lt_cv_archive_cmds_need_lc=yes
   11693 	  fi
   11694 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11695 	else
   11696 	  cat conftest.err 1>&5
   11697 	fi
   11698 	$RM conftest*
   11699 	 ;;
   11700 esac
   11701 fi
   11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11703 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11704       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11705       ;;
   11706     esac
   11707   fi
   11708   ;;
   11709 esac
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11863 printf %s "checking dynamic linker characteristics... " >&6; }
   11864 
   11865 if test yes = "$GCC"; then
   11866   case $host_os in
   11867     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11868     *) lt_awk_arg='/^libraries:/' ;;
   11869   esac
   11870   case $host_os in
   11871     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11872     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11873   esac
   11874   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11875   case $lt_search_path_spec in
   11876   *\;*)
   11877     # if the path contains ";" then we assume it to be the separator
   11878     # otherwise default to the standard path separator (i.e. ":") - it is
   11879     # assumed that no part of a normal pathname contains ";" but that should
   11880     # okay in the real world where ";" in dirpaths is itself problematic.
   11881     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11882     ;;
   11883   *)
   11884     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11885     ;;
   11886   esac
   11887   # Ok, now we have the path, separated by spaces, we can step through it
   11888   # and add multilib dir if necessary...
   11889   lt_tmp_lt_search_path_spec=
   11890   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11891   # ...but if some path component already ends with the multilib dir we assume
   11892   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11893   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11894   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11895     lt_multi_os_dir=
   11896     ;;
   11897   esac
   11898   for lt_sys_path in $lt_search_path_spec; do
   11899     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11900       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11901     elif test -n "$lt_multi_os_dir"; then
   11902       test -d "$lt_sys_path" && \
   11903 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11904     fi
   11905   done
   11906   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11907 BEGIN {RS = " "; FS = "/|\n";} {
   11908   lt_foo = "";
   11909   lt_count = 0;
   11910   for (lt_i = NF; lt_i > 0; lt_i--) {
   11911     if ($lt_i != "" && $lt_i != ".") {
   11912       if ($lt_i == "..") {
   11913         lt_count++;
   11914       } else {
   11915         if (lt_count == 0) {
   11916           lt_foo = "/" $lt_i lt_foo;
   11917         } else {
   11918           lt_count--;
   11919         }
   11920       }
   11921     }
   11922   }
   11923   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11924   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11925 }'`
   11926   # AWK program above erroneously prepends '/' to C:/dos/paths
   11927   # for these hosts.
   11928   case $host_os in
   11929     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11930       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11931   esac
   11932   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11933 else
   11934   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11935 fi
   11936 library_names_spec=
   11937 libname_spec='lib$name'
   11938 soname_spec=
   11939 shrext_cmds=.so
   11940 postinstall_cmds=
   11941 postuninstall_cmds=
   11942 finish_cmds=
   11943 finish_eval=
   11944 shlibpath_var=
   11945 shlibpath_overrides_runpath=unknown
   11946 version_type=none
   11947 dynamic_linker="$host_os ld.so"
   11948 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11949 need_lib_prefix=unknown
   11950 hardcode_into_libs=no
   11951 
   11952 # when you set need_version to no, make sure it does not cause -set_version
   11953 # flags to be left without arguments
   11954 need_version=unknown
   11955 
   11956 
   11957 
   11958 case $host_os in
   11959 aix3*)
   11960   version_type=linux # correct to gnu/linux during the next big refactor
   11961   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11962   shlibpath_var=LIBPATH
   11963 
   11964   # AIX 3 has no versioning support, so we append a major version to the name.
   11965   soname_spec='$libname$release$shared_ext$major'
   11966   ;;
   11967 
   11968 aix[4-9]*)
   11969   version_type=linux # correct to gnu/linux during the next big refactor
   11970   need_lib_prefix=no
   11971   need_version=no
   11972   hardcode_into_libs=yes
   11973   if test ia64 = "$host_cpu"; then
   11974     # AIX 5 supports IA64
   11975     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11976     shlibpath_var=LD_LIBRARY_PATH
   11977   else
   11978     # With GCC up to 2.95.x, collect2 would create an import file
   11979     # for dependence libraries.  The import file would start with
   11980     # the line '#! .'.  This would cause the generated library to
   11981     # depend on '.', always an invalid library.  This was fixed in
   11982     # development snapshots of GCC prior to 3.0.
   11983     case $host_os in
   11984       aix4 | aix4.[01] | aix4.[01].*)
   11985       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11986 	   echo ' yes '
   11987 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11988 	:
   11989       else
   11990 	can_build_shared=no
   11991       fi
   11992       ;;
   11993     esac
   11994     # Using Import Files as archive members, it is possible to support
   11995     # filename-based versioning of shared library archives on AIX. While
   11996     # this would work for both with and without runtime linking, it will
   11997     # prevent static linking of such archives. So we do filename-based
   11998     # shared library versioning with .so extension only, which is used
   11999     # when both runtime linking and shared linking is enabled.
   12000     # Unfortunately, runtime linking may impact performance, so we do
   12001     # not want this to be the default eventually. Also, we use the
   12002     # versioned .so libs for executables only if there is the -brtl
   12003     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   12004     # To allow for filename-based versioning support, we need to create
   12005     # libNAME.so.V as an archive file, containing:
   12006     # *) an Import File, referring to the versioned filename of the
   12007     #    archive as well as the shared archive member, telling the
   12008     #    bitwidth (32 or 64) of that shared object, and providing the
   12009     #    list of exported symbols of that shared object, eventually
   12010     #    decorated with the 'weak' keyword
   12011     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12012     #    it being seen by the linker.
   12013     # At run time we better use the real file rather than another symlink,
   12014     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12015 
   12016     case $with_aix_soname,$aix_use_runtimelinking in
   12017     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12018     # soname into executable. Probably we can add versioning support to
   12019     # collect2, so additional links can be useful in future.
   12020     aix,yes) # traditional libtool
   12021       dynamic_linker='AIX unversionable lib.so'
   12022       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12023       # instead of lib<name>.a to let people know that these are not
   12024       # typical AIX shared libraries.
   12025       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12026       ;;
   12027     aix,no) # traditional AIX only
   12028       dynamic_linker='AIX lib.a(lib.so.V)'
   12029       # We preserve .a as extension for shared libraries through AIX4.2
   12030       # and later when we are not doing run time linking.
   12031       library_names_spec='$libname$release.a $libname.a'
   12032       soname_spec='$libname$release$shared_ext$major'
   12033       ;;
   12034     svr4,*) # full svr4 only
   12035       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12036       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12037       # We do not specify a path in Import Files, so LIBPATH fires.
   12038       shlibpath_overrides_runpath=yes
   12039       ;;
   12040     *,yes) # both, prefer svr4
   12041       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12042       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12043       # unpreferred sharedlib libNAME.a needs extra handling
   12044       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"'
   12045       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"'
   12046       # We do not specify a path in Import Files, so LIBPATH fires.
   12047       shlibpath_overrides_runpath=yes
   12048       ;;
   12049     *,no) # both, prefer aix
   12050       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12051       library_names_spec='$libname$release.a $libname.a'
   12052       soname_spec='$libname$release$shared_ext$major'
   12053       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12054       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)'
   12055       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"'
   12056       ;;
   12057     esac
   12058     shlibpath_var=LIBPATH
   12059   fi
   12060   ;;
   12061 
   12062 amigaos*)
   12063   case $host_cpu in
   12064   powerpc)
   12065     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12066     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12067     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12068     ;;
   12069   m68k)
   12070     library_names_spec='$libname.ixlibrary $libname.a'
   12071     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12072     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'
   12073     ;;
   12074   esac
   12075   ;;
   12076 
   12077 beos*)
   12078   library_names_spec='$libname$shared_ext'
   12079   dynamic_linker="$host_os ld.so"
   12080   shlibpath_var=LIBRARY_PATH
   12081   ;;
   12082 
   12083 bsdi[45]*)
   12084   version_type=linux # correct to gnu/linux during the next big refactor
   12085   need_version=no
   12086   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12087   soname_spec='$libname$release$shared_ext$major'
   12088   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12089   shlibpath_var=LD_LIBRARY_PATH
   12090   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12091   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12092   # the default ld.so.conf also contains /usr/contrib/lib and
   12093   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12094   # libtool to hard-code these into programs
   12095   ;;
   12096 
   12097 cygwin* | mingw* | pw32* | cegcc*)
   12098   version_type=windows
   12099   shrext_cmds=.dll
   12100   need_version=no
   12101   need_lib_prefix=no
   12102 
   12103   case $GCC,$cc_basename in
   12104   yes,*)
   12105     # gcc
   12106     library_names_spec='$libname.dll.a'
   12107     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12108     postinstall_cmds='base_file=`basename \$file`~
   12109       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12110       dldir=$destdir/`dirname \$dlpath`~
   12111       test -d \$dldir || mkdir -p \$dldir~
   12112       $install_prog $dir/$dlname \$dldir/$dlname~
   12113       chmod a+x \$dldir/$dlname~
   12114       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12115         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12116       fi'
   12117     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12118       dlpath=$dir/\$dldll~
   12119        $RM \$dlpath'
   12120     shlibpath_overrides_runpath=yes
   12121 
   12122     case $host_os in
   12123     cygwin*)
   12124       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12125       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12126 
   12127       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12128       ;;
   12129     mingw* | cegcc*)
   12130       # MinGW DLLs use traditional 'lib' prefix
   12131       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12132       ;;
   12133     pw32*)
   12134       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12135       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12136       ;;
   12137     esac
   12138     dynamic_linker='Win32 ld.exe'
   12139     ;;
   12140 
   12141   *,cl* | *,icl*)
   12142     # Native MSVC or ICC
   12143     libname_spec='$name'
   12144     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12145     library_names_spec='$libname.dll.lib'
   12146 
   12147     case $build_os in
   12148     mingw*)
   12149       sys_lib_search_path_spec=
   12150       lt_save_ifs=$IFS
   12151       IFS=';'
   12152       for lt_path in $LIB
   12153       do
   12154         IFS=$lt_save_ifs
   12155         # Let DOS variable expansion print the short 8.3 style file name.
   12156         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12157         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12158       done
   12159       IFS=$lt_save_ifs
   12160       # Convert to MSYS style.
   12161       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12162       ;;
   12163     cygwin*)
   12164       # Convert to unix form, then to dos form, then back to unix form
   12165       # but this time dos style (no spaces!) so that the unix form looks
   12166       # like /cygdrive/c/PROGRA~1:/cygdr...
   12167       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12168       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12169       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12170       ;;
   12171     *)
   12172       sys_lib_search_path_spec=$LIB
   12173       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12174         # It is most probably a Windows format PATH.
   12175         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12176       else
   12177         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12178       fi
   12179       # FIXME: find the short name or the path components, as spaces are
   12180       # common. (e.g. "Program Files" -> "PROGRA~1")
   12181       ;;
   12182     esac
   12183 
   12184     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12185     postinstall_cmds='base_file=`basename \$file`~
   12186       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12187       dldir=$destdir/`dirname \$dlpath`~
   12188       test -d \$dldir || mkdir -p \$dldir~
   12189       $install_prog $dir/$dlname \$dldir/$dlname'
   12190     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12191       dlpath=$dir/\$dldll~
   12192        $RM \$dlpath'
   12193     shlibpath_overrides_runpath=yes
   12194     dynamic_linker='Win32 link.exe'
   12195     ;;
   12196 
   12197   *)
   12198     # Assume MSVC and ICC wrapper
   12199     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12200     dynamic_linker='Win32 ld.exe'
   12201     ;;
   12202   esac
   12203   # FIXME: first we should search . and the directory the executable is in
   12204   shlibpath_var=PATH
   12205   ;;
   12206 
   12207 darwin* | rhapsody*)
   12208   dynamic_linker="$host_os dyld"
   12209   version_type=darwin
   12210   need_lib_prefix=no
   12211   need_version=no
   12212   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12213   soname_spec='$libname$release$major$shared_ext'
   12214   shlibpath_overrides_runpath=yes
   12215   shlibpath_var=DYLD_LIBRARY_PATH
   12216   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12217 
   12218   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12219   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12220   ;;
   12221 
   12222 dgux*)
   12223   version_type=linux # correct to gnu/linux during the next big refactor
   12224   need_lib_prefix=no
   12225   need_version=no
   12226   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12227   soname_spec='$libname$release$shared_ext$major'
   12228   shlibpath_var=LD_LIBRARY_PATH
   12229   ;;
   12230 
   12231 freebsd* | dragonfly* | midnightbsd*)
   12232   # DragonFly does not have aout.  When/if they implement a new
   12233   # versioning mechanism, adjust this.
   12234   if test -x /usr/bin/objformat; then
   12235     objformat=`/usr/bin/objformat`
   12236   else
   12237     case $host_os in
   12238     freebsd[23].*) objformat=aout ;;
   12239     *) objformat=elf ;;
   12240     esac
   12241   fi
   12242   version_type=freebsd-$objformat
   12243   case $version_type in
   12244     freebsd-elf*)
   12245       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12246       soname_spec='$libname$release$shared_ext$major'
   12247       need_version=no
   12248       need_lib_prefix=no
   12249       ;;
   12250     freebsd-*)
   12251       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12252       need_version=yes
   12253       ;;
   12254   esac
   12255   shlibpath_var=LD_LIBRARY_PATH
   12256   case $host_os in
   12257   freebsd2.*)
   12258     shlibpath_overrides_runpath=yes
   12259     ;;
   12260   freebsd3.[01]* | freebsdelf3.[01]*)
   12261     shlibpath_overrides_runpath=yes
   12262     hardcode_into_libs=yes
   12263     ;;
   12264   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12265   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12266     shlibpath_overrides_runpath=no
   12267     hardcode_into_libs=yes
   12268     ;;
   12269   *) # from 4.6 on, and DragonFly
   12270     shlibpath_overrides_runpath=yes
   12271     hardcode_into_libs=yes
   12272     ;;
   12273   esac
   12274   ;;
   12275 
   12276 haiku*)
   12277   version_type=linux # correct to gnu/linux during the next big refactor
   12278   need_lib_prefix=no
   12279   need_version=no
   12280   dynamic_linker="$host_os runtime_loader"
   12281   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12282   soname_spec='$libname$release$shared_ext$major'
   12283   shlibpath_var=LIBRARY_PATH
   12284   shlibpath_overrides_runpath=no
   12285   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12286   hardcode_into_libs=yes
   12287   ;;
   12288 
   12289 hpux9* | hpux10* | hpux11*)
   12290   # Give a soname corresponding to the major version so that dld.sl refuses to
   12291   # link against other versions.
   12292   version_type=sunos
   12293   need_lib_prefix=no
   12294   need_version=no
   12295   case $host_cpu in
   12296   ia64*)
   12297     shrext_cmds='.so'
   12298     hardcode_into_libs=yes
   12299     dynamic_linker="$host_os dld.so"
   12300     shlibpath_var=LD_LIBRARY_PATH
   12301     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12302     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12303     soname_spec='$libname$release$shared_ext$major'
   12304     if test 32 = "$HPUX_IA64_MODE"; then
   12305       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12306       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12307     else
   12308       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12309       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12310     fi
   12311     ;;
   12312   hppa*64*)
   12313     shrext_cmds='.sl'
   12314     hardcode_into_libs=yes
   12315     dynamic_linker="$host_os dld.sl"
   12316     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12317     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12318     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12319     soname_spec='$libname$release$shared_ext$major'
   12320     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12321     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12322     ;;
   12323   *)
   12324     shrext_cmds='.sl'
   12325     dynamic_linker="$host_os dld.sl"
   12326     shlibpath_var=SHLIB_PATH
   12327     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12328     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12329     soname_spec='$libname$release$shared_ext$major'
   12330     ;;
   12331   esac
   12332   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12333   postinstall_cmds='chmod 555 $lib'
   12334   # or fails outright, so override atomically:
   12335   install_override_mode=555
   12336   ;;
   12337 
   12338 interix[3-9]*)
   12339   version_type=linux # correct to gnu/linux during the next big refactor
   12340   need_lib_prefix=no
   12341   need_version=no
   12342   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12343   soname_spec='$libname$release$shared_ext$major'
   12344   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12345   shlibpath_var=LD_LIBRARY_PATH
   12346   shlibpath_overrides_runpath=no
   12347   hardcode_into_libs=yes
   12348   ;;
   12349 
   12350 irix5* | irix6* | nonstopux*)
   12351   case $host_os in
   12352     nonstopux*) version_type=nonstopux ;;
   12353     *)
   12354 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12355 		version_type=linux # correct to gnu/linux during the next big refactor
   12356 	else
   12357 		version_type=irix
   12358 	fi ;;
   12359   esac
   12360   need_lib_prefix=no
   12361   need_version=no
   12362   soname_spec='$libname$release$shared_ext$major'
   12363   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12364   case $host_os in
   12365   irix5* | nonstopux*)
   12366     libsuff= shlibsuff=
   12367     ;;
   12368   *)
   12369     case $LD in # libtool.m4 will add one of these switches to LD
   12370     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12371       libsuff= shlibsuff= libmagic=32-bit;;
   12372     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12373       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12374     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12375       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12376     *) libsuff= shlibsuff= libmagic=never-match;;
   12377     esac
   12378     ;;
   12379   esac
   12380   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12381   shlibpath_overrides_runpath=no
   12382   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12383   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12384   hardcode_into_libs=yes
   12385   ;;
   12386 
   12387 # No shared lib support for Linux oldld, aout, or coff.
   12388 linux*oldld* | linux*aout* | linux*coff*)
   12389   dynamic_linker=no
   12390   ;;
   12391 
   12392 linux*android*)
   12393   version_type=none # Android doesn't support versioned libraries.
   12394   need_lib_prefix=no
   12395   need_version=no
   12396   library_names_spec='$libname$release$shared_ext'
   12397   soname_spec='$libname$release$shared_ext'
   12398   finish_cmds=
   12399   shlibpath_var=LD_LIBRARY_PATH
   12400   shlibpath_overrides_runpath=yes
   12401 
   12402   # This implies no fast_install, which is unacceptable.
   12403   # Some rework will be needed to allow for fast_install
   12404   # before this can be enabled.
   12405   hardcode_into_libs=yes
   12406 
   12407   dynamic_linker='Android linker'
   12408   # Don't embed -rpath directories since the linker doesn't support them.
   12409   hardcode_libdir_flag_spec='-L$libdir'
   12410   ;;
   12411 
   12412 # This must be glibc/ELF.
   12413 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12414   version_type=linux # correct to gnu/linux during the next big refactor
   12415   need_lib_prefix=no
   12416   need_version=no
   12417   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12418   soname_spec='$libname$release$shared_ext$major'
   12419   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12420   shlibpath_var=LD_LIBRARY_PATH
   12421   shlibpath_overrides_runpath=no
   12422 
   12423   # Some binutils ld are patched to set DT_RUNPATH
   12424   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12425 then :
   12426   printf %s "(cached) " >&6
   12427 else case e in #(
   12428   e) lt_cv_shlibpath_overrides_runpath=no
   12429     save_LDFLAGS=$LDFLAGS
   12430     save_libdir=$libdir
   12431     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12432 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12433     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12434 /* end confdefs.h.  */
   12435 
   12436 int
   12437 main (void)
   12438 {
   12439 
   12440   ;
   12441   return 0;
   12442 }
   12443 _ACEOF
   12444 if ac_fn_c_try_link "$LINENO"
   12445 then :
   12446   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12447 then :
   12448   lt_cv_shlibpath_overrides_runpath=yes
   12449 fi
   12450 fi
   12451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12452     conftest$ac_exeext conftest.$ac_ext
   12453     LDFLAGS=$save_LDFLAGS
   12454     libdir=$save_libdir
   12455      ;;
   12456 esac
   12457 fi
   12458 
   12459   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12460 
   12461   # This implies no fast_install, which is unacceptable.
   12462   # Some rework will be needed to allow for fast_install
   12463   # before this can be enabled.
   12464   hardcode_into_libs=yes
   12465 
   12466   # Ideally, we could use ldconfig to report *all* directores which are
   12467   # searched for libraries, however this is still not possible.  Aside from not
   12468   # being certain /sbin/ldconfig is available, command
   12469   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12470   # even though it is searched at run-time.  Try to do the best guess by
   12471   # appending ld.so.conf contents (and includes) to the search path.
   12472   if test -f /etc/ld.so.conf; then
   12473     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' ' '`
   12474     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12475   fi
   12476 
   12477   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12478   # powerpc, because MkLinux only supported shared libraries with the
   12479   # GNU dynamic linker.  Since this was broken with cross compilers,
   12480   # most powerpc-linux boxes support dynamic linking these days and
   12481   # people can always --disable-shared, the test was removed, and we
   12482   # assume the GNU/Linux dynamic linker is in use.
   12483   dynamic_linker='GNU/Linux ld.so'
   12484   ;;
   12485 
   12486 netbsd*)
   12487   version_type=sunos
   12488   need_lib_prefix=no
   12489   need_version=no
   12490   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12491     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12492     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12493     dynamic_linker='NetBSD (a.out) ld.so'
   12494   else
   12495     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12496     soname_spec='$libname$release$shared_ext$major'
   12497     dynamic_linker='NetBSD ld.elf_so'
   12498   fi
   12499   shlibpath_var=LD_LIBRARY_PATH
   12500   shlibpath_overrides_runpath=yes
   12501   hardcode_into_libs=yes
   12502   ;;
   12503 
   12504 newsos6)
   12505   version_type=linux # correct to gnu/linux during the next big refactor
   12506   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12507   shlibpath_var=LD_LIBRARY_PATH
   12508   shlibpath_overrides_runpath=yes
   12509   ;;
   12510 
   12511 *nto* | *qnx*)
   12512   version_type=qnx
   12513   need_lib_prefix=no
   12514   need_version=no
   12515   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12516   soname_spec='$libname$release$shared_ext$major'
   12517   shlibpath_var=LD_LIBRARY_PATH
   12518   shlibpath_overrides_runpath=no
   12519   hardcode_into_libs=yes
   12520   dynamic_linker='ldqnx.so'
   12521   ;;
   12522 
   12523 openbsd* | bitrig*)
   12524   version_type=sunos
   12525   sys_lib_dlsearch_path_spec=/usr/lib
   12526   need_lib_prefix=no
   12527   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12528     need_version=no
   12529   else
   12530     need_version=yes
   12531   fi
   12532   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12533   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12534   shlibpath_var=LD_LIBRARY_PATH
   12535   shlibpath_overrides_runpath=yes
   12536   ;;
   12537 
   12538 os2*)
   12539   libname_spec='$name'
   12540   version_type=windows
   12541   shrext_cmds=.dll
   12542   need_version=no
   12543   need_lib_prefix=no
   12544   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12545   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12546     v=$($ECHO $release$versuffix | tr -d .-);
   12547     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12548     $ECHO $n$v`$shared_ext'
   12549   library_names_spec='${libname}_dll.$libext'
   12550   dynamic_linker='OS/2 ld.exe'
   12551   shlibpath_var=BEGINLIBPATH
   12552   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12553   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12554   postinstall_cmds='base_file=`basename \$file`~
   12555     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12556     dldir=$destdir/`dirname \$dlpath`~
   12557     test -d \$dldir || mkdir -p \$dldir~
   12558     $install_prog $dir/$dlname \$dldir/$dlname~
   12559     chmod a+x \$dldir/$dlname~
   12560     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12561       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12562     fi'
   12563   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12564     dlpath=$dir/\$dldll~
   12565     $RM \$dlpath'
   12566   ;;
   12567 
   12568 osf3* | osf4* | osf5*)
   12569   version_type=osf
   12570   need_lib_prefix=no
   12571   need_version=no
   12572   soname_spec='$libname$release$shared_ext$major'
   12573   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12574   shlibpath_var=LD_LIBRARY_PATH
   12575   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12576   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12577   ;;
   12578 
   12579 rdos*)
   12580   dynamic_linker=no
   12581   ;;
   12582 
   12583 solaris*)
   12584   version_type=linux # correct to gnu/linux during the next big refactor
   12585   need_lib_prefix=no
   12586   need_version=no
   12587   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12588   soname_spec='$libname$release$shared_ext$major'
   12589   shlibpath_var=LD_LIBRARY_PATH
   12590   shlibpath_overrides_runpath=yes
   12591   hardcode_into_libs=yes
   12592   # ldd complains unless libraries are executable
   12593   postinstall_cmds='chmod +x $lib'
   12594   ;;
   12595 
   12596 sunos4*)
   12597   version_type=sunos
   12598   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12599   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12600   shlibpath_var=LD_LIBRARY_PATH
   12601   shlibpath_overrides_runpath=yes
   12602   if test yes = "$with_gnu_ld"; then
   12603     need_lib_prefix=no
   12604   fi
   12605   need_version=yes
   12606   ;;
   12607 
   12608 sysv4 | sysv4.3*)
   12609   version_type=linux # correct to gnu/linux during the next big refactor
   12610   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12611   soname_spec='$libname$release$shared_ext$major'
   12612   shlibpath_var=LD_LIBRARY_PATH
   12613   case $host_vendor in
   12614     sni)
   12615       shlibpath_overrides_runpath=no
   12616       need_lib_prefix=no
   12617       runpath_var=LD_RUN_PATH
   12618       ;;
   12619     siemens)
   12620       need_lib_prefix=no
   12621       ;;
   12622     motorola)
   12623       need_lib_prefix=no
   12624       need_version=no
   12625       shlibpath_overrides_runpath=no
   12626       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12627       ;;
   12628   esac
   12629   ;;
   12630 
   12631 sysv4*MP*)
   12632   if test -d /usr/nec; then
   12633     version_type=linux # correct to gnu/linux during the next big refactor
   12634     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12635     soname_spec='$libname$shared_ext.$major'
   12636     shlibpath_var=LD_LIBRARY_PATH
   12637   fi
   12638   ;;
   12639 
   12640 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12641   version_type=sco
   12642   need_lib_prefix=no
   12643   need_version=no
   12644   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12645   soname_spec='$libname$release$shared_ext$major'
   12646   shlibpath_var=LD_LIBRARY_PATH
   12647   shlibpath_overrides_runpath=yes
   12648   hardcode_into_libs=yes
   12649   if test yes = "$with_gnu_ld"; then
   12650     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12651   else
   12652     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12653     case $host_os in
   12654       sco3.2v5*)
   12655         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12656 	;;
   12657     esac
   12658   fi
   12659   sys_lib_dlsearch_path_spec='/usr/lib'
   12660   ;;
   12661 
   12662 tpf*)
   12663   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12664   version_type=linux # correct to gnu/linux during the next big refactor
   12665   need_lib_prefix=no
   12666   need_version=no
   12667   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12668   shlibpath_var=LD_LIBRARY_PATH
   12669   shlibpath_overrides_runpath=no
   12670   hardcode_into_libs=yes
   12671   ;;
   12672 
   12673 uts4*)
   12674   version_type=linux # correct to gnu/linux during the next big refactor
   12675   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12676   soname_spec='$libname$release$shared_ext$major'
   12677   shlibpath_var=LD_LIBRARY_PATH
   12678   ;;
   12679 
   12680 *)
   12681   dynamic_linker=no
   12682   ;;
   12683 esac
   12684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12685 printf "%s\n" "$dynamic_linker" >&6; }
   12686 test no = "$dynamic_linker" && can_build_shared=no
   12687 
   12688 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12689 if test yes = "$GCC"; then
   12690   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12691 fi
   12692 
   12693 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12694   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12695 fi
   12696 
   12697 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12698   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12699 fi
   12700 
   12701 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12702 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12703 
   12704 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12705 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12706 
   12707 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12708 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12807 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12808 hardcode_action=
   12809 if test -n "$hardcode_libdir_flag_spec" ||
   12810    test -n "$runpath_var" ||
   12811    test yes = "$hardcode_automatic"; then
   12812 
   12813   # We can hardcode non-existent directories.
   12814   if test no != "$hardcode_direct" &&
   12815      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12816      # have to relink, otherwise we might link with an installed library
   12817      # when we should be linking with a yet-to-be-installed one
   12818      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12819      test no != "$hardcode_minus_L"; then
   12820     # Linking always hardcodes the temporary library directory.
   12821     hardcode_action=relink
   12822   else
   12823     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12824     hardcode_action=immediate
   12825   fi
   12826 else
   12827   # We cannot hardcode anything, or else we can only hardcode existing
   12828   # directories.
   12829   hardcode_action=unsupported
   12830 fi
   12831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12832 printf "%s\n" "$hardcode_action" >&6; }
   12833 
   12834 if test relink = "$hardcode_action" ||
   12835    test yes = "$inherit_rpath"; then
   12836   # Fast installation is not supported
   12837   enable_fast_install=no
   12838 elif test yes = "$shlibpath_overrides_runpath" ||
   12839      test no = "$enable_shared"; then
   12840   # Fast installation is not necessary
   12841   enable_fast_install=needless
   12842 fi
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849   if test yes != "$enable_dlopen"; then
   12850   enable_dlopen=unknown
   12851   enable_dlopen_self=unknown
   12852   enable_dlopen_self_static=unknown
   12853 else
   12854   lt_cv_dlopen=no
   12855   lt_cv_dlopen_libs=
   12856 
   12857   case $host_os in
   12858   beos*)
   12859     lt_cv_dlopen=load_add_on
   12860     lt_cv_dlopen_libs=
   12861     lt_cv_dlopen_self=yes
   12862     ;;
   12863 
   12864   mingw* | pw32* | cegcc*)
   12865     lt_cv_dlopen=LoadLibrary
   12866     lt_cv_dlopen_libs=
   12867     ;;
   12868 
   12869   cygwin*)
   12870     lt_cv_dlopen=dlopen
   12871     lt_cv_dlopen_libs=
   12872     ;;
   12873 
   12874   darwin*)
   12875     # if libdl is installed we need to link against it
   12876     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12877 printf %s "checking for dlopen in -ldl... " >&6; }
   12878 if test ${ac_cv_lib_dl_dlopen+y}
   12879 then :
   12880   printf %s "(cached) " >&6
   12881 else case e in #(
   12882   e) ac_check_lib_save_LIBS=$LIBS
   12883 LIBS="-ldl  $LIBS"
   12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12885 /* end confdefs.h.  */
   12886 
   12887 /* Override any GCC internal prototype to avoid an error.
   12888    Use char because int might match the return type of a GCC
   12889    builtin and then its argument prototype would still apply.
   12890    The 'extern "C"' is for builds by C++ compilers;
   12891    although this is not generally supported in C code supporting it here
   12892    has little cost and some practical benefit (sr 110532).  */
   12893 #ifdef __cplusplus
   12894 extern "C"
   12895 #endif
   12896 char dlopen (void);
   12897 int
   12898 main (void)
   12899 {
   12900 return dlopen ();
   12901   ;
   12902   return 0;
   12903 }
   12904 _ACEOF
   12905 if ac_fn_c_try_link "$LINENO"
   12906 then :
   12907   ac_cv_lib_dl_dlopen=yes
   12908 else case e in #(
   12909   e) ac_cv_lib_dl_dlopen=no ;;
   12910 esac
   12911 fi
   12912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12913     conftest$ac_exeext conftest.$ac_ext
   12914 LIBS=$ac_check_lib_save_LIBS ;;
   12915 esac
   12916 fi
   12917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12918 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12919 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12920 then :
   12921   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12922 else case e in #(
   12923   e)
   12924     lt_cv_dlopen=dyld
   12925     lt_cv_dlopen_libs=
   12926     lt_cv_dlopen_self=yes
   12927      ;;
   12928 esac
   12929 fi
   12930 
   12931     ;;
   12932 
   12933   tpf*)
   12934     # Don't try to run any link tests for TPF.  We know it's impossible
   12935     # because TPF is a cross-compiler, and we know how we open DSOs.
   12936     lt_cv_dlopen=dlopen
   12937     lt_cv_dlopen_libs=
   12938     lt_cv_dlopen_self=no
   12939     ;;
   12940 
   12941   *)
   12942     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12943 if test "x$ac_cv_func_shl_load" = xyes
   12944 then :
   12945   lt_cv_dlopen=shl_load
   12946 else case e in #(
   12947   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12948 printf %s "checking for shl_load in -ldld... " >&6; }
   12949 if test ${ac_cv_lib_dld_shl_load+y}
   12950 then :
   12951   printf %s "(cached) " >&6
   12952 else case e in #(
   12953   e) ac_check_lib_save_LIBS=$LIBS
   12954 LIBS="-ldld  $LIBS"
   12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12956 /* end confdefs.h.  */
   12957 
   12958 /* Override any GCC internal prototype to avoid an error.
   12959    Use char because int might match the return type of a GCC
   12960    builtin and then its argument prototype would still apply.
   12961    The 'extern "C"' is for builds by C++ compilers;
   12962    although this is not generally supported in C code supporting it here
   12963    has little cost and some practical benefit (sr 110532).  */
   12964 #ifdef __cplusplus
   12965 extern "C"
   12966 #endif
   12967 char shl_load (void);
   12968 int
   12969 main (void)
   12970 {
   12971 return shl_load ();
   12972   ;
   12973   return 0;
   12974 }
   12975 _ACEOF
   12976 if ac_fn_c_try_link "$LINENO"
   12977 then :
   12978   ac_cv_lib_dld_shl_load=yes
   12979 else case e in #(
   12980   e) ac_cv_lib_dld_shl_load=no ;;
   12981 esac
   12982 fi
   12983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12984     conftest$ac_exeext conftest.$ac_ext
   12985 LIBS=$ac_check_lib_save_LIBS ;;
   12986 esac
   12987 fi
   12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12989 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12990 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12991 then :
   12992   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12993 else case e in #(
   12994   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12995 if test "x$ac_cv_func_dlopen" = xyes
   12996 then :
   12997   lt_cv_dlopen=dlopen
   12998 else case e in #(
   12999   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13000 printf %s "checking for dlopen in -ldl... " >&6; }
   13001 if test ${ac_cv_lib_dl_dlopen+y}
   13002 then :
   13003   printf %s "(cached) " >&6
   13004 else case e in #(
   13005   e) ac_check_lib_save_LIBS=$LIBS
   13006 LIBS="-ldl  $LIBS"
   13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13008 /* end confdefs.h.  */
   13009 
   13010 /* Override any GCC internal prototype to avoid an error.
   13011    Use char because int might match the return type of a GCC
   13012    builtin and then its argument prototype would still apply.
   13013    The 'extern "C"' is for builds by C++ compilers;
   13014    although this is not generally supported in C code supporting it here
   13015    has little cost and some practical benefit (sr 110532).  */
   13016 #ifdef __cplusplus
   13017 extern "C"
   13018 #endif
   13019 char dlopen (void);
   13020 int
   13021 main (void)
   13022 {
   13023 return dlopen ();
   13024   ;
   13025   return 0;
   13026 }
   13027 _ACEOF
   13028 if ac_fn_c_try_link "$LINENO"
   13029 then :
   13030   ac_cv_lib_dl_dlopen=yes
   13031 else case e in #(
   13032   e) ac_cv_lib_dl_dlopen=no ;;
   13033 esac
   13034 fi
   13035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13036     conftest$ac_exeext conftest.$ac_ext
   13037 LIBS=$ac_check_lib_save_LIBS ;;
   13038 esac
   13039 fi
   13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13041 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13042 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13043 then :
   13044   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13045 else case e in #(
   13046   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13047 printf %s "checking for dlopen in -lsvld... " >&6; }
   13048 if test ${ac_cv_lib_svld_dlopen+y}
   13049 then :
   13050   printf %s "(cached) " >&6
   13051 else case e in #(
   13052   e) ac_check_lib_save_LIBS=$LIBS
   13053 LIBS="-lsvld  $LIBS"
   13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13055 /* end confdefs.h.  */
   13056 
   13057 /* Override any GCC internal prototype to avoid an error.
   13058    Use char because int might match the return type of a GCC
   13059    builtin and then its argument prototype would still apply.
   13060    The 'extern "C"' is for builds by C++ compilers;
   13061    although this is not generally supported in C code supporting it here
   13062    has little cost and some practical benefit (sr 110532).  */
   13063 #ifdef __cplusplus
   13064 extern "C"
   13065 #endif
   13066 char dlopen (void);
   13067 int
   13068 main (void)
   13069 {
   13070 return dlopen ();
   13071   ;
   13072   return 0;
   13073 }
   13074 _ACEOF
   13075 if ac_fn_c_try_link "$LINENO"
   13076 then :
   13077   ac_cv_lib_svld_dlopen=yes
   13078 else case e in #(
   13079   e) ac_cv_lib_svld_dlopen=no ;;
   13080 esac
   13081 fi
   13082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13083     conftest$ac_exeext conftest.$ac_ext
   13084 LIBS=$ac_check_lib_save_LIBS ;;
   13085 esac
   13086 fi
   13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13088 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13089 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13090 then :
   13091   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13092 else case e in #(
   13093   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13094 printf %s "checking for dld_link in -ldld... " >&6; }
   13095 if test ${ac_cv_lib_dld_dld_link+y}
   13096 then :
   13097   printf %s "(cached) " >&6
   13098 else case e in #(
   13099   e) ac_check_lib_save_LIBS=$LIBS
   13100 LIBS="-ldld  $LIBS"
   13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13102 /* end confdefs.h.  */
   13103 
   13104 /* Override any GCC internal prototype to avoid an error.
   13105    Use char because int might match the return type of a GCC
   13106    builtin and then its argument prototype would still apply.
   13107    The 'extern "C"' is for builds by C++ compilers;
   13108    although this is not generally supported in C code supporting it here
   13109    has little cost and some practical benefit (sr 110532).  */
   13110 #ifdef __cplusplus
   13111 extern "C"
   13112 #endif
   13113 char dld_link (void);
   13114 int
   13115 main (void)
   13116 {
   13117 return dld_link ();
   13118   ;
   13119   return 0;
   13120 }
   13121 _ACEOF
   13122 if ac_fn_c_try_link "$LINENO"
   13123 then :
   13124   ac_cv_lib_dld_dld_link=yes
   13125 else case e in #(
   13126   e) ac_cv_lib_dld_dld_link=no ;;
   13127 esac
   13128 fi
   13129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13130     conftest$ac_exeext conftest.$ac_ext
   13131 LIBS=$ac_check_lib_save_LIBS ;;
   13132 esac
   13133 fi
   13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13135 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13136 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13137 then :
   13138   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13139 fi
   13140 
   13141 	       ;;
   13142 esac
   13143 fi
   13144 
   13145 	     ;;
   13146 esac
   13147 fi
   13148 
   13149 	   ;;
   13150 esac
   13151 fi
   13152 
   13153 	 ;;
   13154 esac
   13155 fi
   13156 
   13157        ;;
   13158 esac
   13159 fi
   13160 
   13161     ;;
   13162   esac
   13163 
   13164   if test no = "$lt_cv_dlopen"; then
   13165     enable_dlopen=no
   13166   else
   13167     enable_dlopen=yes
   13168   fi
   13169 
   13170   case $lt_cv_dlopen in
   13171   dlopen)
   13172     save_CPPFLAGS=$CPPFLAGS
   13173     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13174 
   13175     save_LDFLAGS=$LDFLAGS
   13176     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13177 
   13178     save_LIBS=$LIBS
   13179     LIBS="$lt_cv_dlopen_libs $LIBS"
   13180 
   13181     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13182 printf %s "checking whether a program can dlopen itself... " >&6; }
   13183 if test ${lt_cv_dlopen_self+y}
   13184 then :
   13185   printf %s "(cached) " >&6
   13186 else case e in #(
   13187   e) 	  if test yes = "$cross_compiling"; then :
   13188   lt_cv_dlopen_self=cross
   13189 else
   13190   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13191   lt_status=$lt_dlunknown
   13192   cat > conftest.$ac_ext <<_LT_EOF
   13193 #line $LINENO "configure"
   13194 #include "confdefs.h"
   13195 
   13196 #if HAVE_DLFCN_H
   13197 #include <dlfcn.h>
   13198 #endif
   13199 
   13200 #include <stdio.h>
   13201 
   13202 #ifdef RTLD_GLOBAL
   13203 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13204 #else
   13205 #  ifdef DL_GLOBAL
   13206 #    define LT_DLGLOBAL		DL_GLOBAL
   13207 #  else
   13208 #    define LT_DLGLOBAL		0
   13209 #  endif
   13210 #endif
   13211 
   13212 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13213    find out it does not work in some platform. */
   13214 #ifndef LT_DLLAZY_OR_NOW
   13215 #  ifdef RTLD_LAZY
   13216 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13217 #  else
   13218 #    ifdef DL_LAZY
   13219 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13220 #    else
   13221 #      ifdef RTLD_NOW
   13222 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13223 #      else
   13224 #        ifdef DL_NOW
   13225 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13226 #        else
   13227 #          define LT_DLLAZY_OR_NOW	0
   13228 #        endif
   13229 #      endif
   13230 #    endif
   13231 #  endif
   13232 #endif
   13233 
   13234 /* When -fvisibility=hidden is used, assume the code has been annotated
   13235    correspondingly for the symbols needed.  */
   13236 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13237 int fnord () __attribute__((visibility("default")));
   13238 #endif
   13239 
   13240 int fnord () { return 42; }
   13241 int main ()
   13242 {
   13243   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13244   int status = $lt_dlunknown;
   13245 
   13246   if (self)
   13247     {
   13248       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13249       else
   13250         {
   13251 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13252           else puts (dlerror ());
   13253 	}
   13254       /* dlclose (self); */
   13255     }
   13256   else
   13257     puts (dlerror ());
   13258 
   13259   return status;
   13260 }
   13261 _LT_EOF
   13262   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13263   (eval $ac_link) 2>&5
   13264   ac_status=$?
   13265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13266   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13267     (./conftest; exit; ) >&5 2>/dev/null
   13268     lt_status=$?
   13269     case x$lt_status in
   13270       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13271       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13272       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13273     esac
   13274   else :
   13275     # compilation failed
   13276     lt_cv_dlopen_self=no
   13277   fi
   13278 fi
   13279 rm -fr conftest*
   13280 
   13281      ;;
   13282 esac
   13283 fi
   13284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13285 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13286 
   13287     if test yes = "$lt_cv_dlopen_self"; then
   13288       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13289       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13290 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13291 if test ${lt_cv_dlopen_self_static+y}
   13292 then :
   13293   printf %s "(cached) " >&6
   13294 else case e in #(
   13295   e) 	  if test yes = "$cross_compiling"; then :
   13296   lt_cv_dlopen_self_static=cross
   13297 else
   13298   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13299   lt_status=$lt_dlunknown
   13300   cat > conftest.$ac_ext <<_LT_EOF
   13301 #line $LINENO "configure"
   13302 #include "confdefs.h"
   13303 
   13304 #if HAVE_DLFCN_H
   13305 #include <dlfcn.h>
   13306 #endif
   13307 
   13308 #include <stdio.h>
   13309 
   13310 #ifdef RTLD_GLOBAL
   13311 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13312 #else
   13313 #  ifdef DL_GLOBAL
   13314 #    define LT_DLGLOBAL		DL_GLOBAL
   13315 #  else
   13316 #    define LT_DLGLOBAL		0
   13317 #  endif
   13318 #endif
   13319 
   13320 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13321    find out it does not work in some platform. */
   13322 #ifndef LT_DLLAZY_OR_NOW
   13323 #  ifdef RTLD_LAZY
   13324 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13325 #  else
   13326 #    ifdef DL_LAZY
   13327 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13328 #    else
   13329 #      ifdef RTLD_NOW
   13330 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13331 #      else
   13332 #        ifdef DL_NOW
   13333 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13334 #        else
   13335 #          define LT_DLLAZY_OR_NOW	0
   13336 #        endif
   13337 #      endif
   13338 #    endif
   13339 #  endif
   13340 #endif
   13341 
   13342 /* When -fvisibility=hidden is used, assume the code has been annotated
   13343    correspondingly for the symbols needed.  */
   13344 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13345 int fnord () __attribute__((visibility("default")));
   13346 #endif
   13347 
   13348 int fnord () { return 42; }
   13349 int main ()
   13350 {
   13351   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13352   int status = $lt_dlunknown;
   13353 
   13354   if (self)
   13355     {
   13356       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13357       else
   13358         {
   13359 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13360           else puts (dlerror ());
   13361 	}
   13362       /* dlclose (self); */
   13363     }
   13364   else
   13365     puts (dlerror ());
   13366 
   13367   return status;
   13368 }
   13369 _LT_EOF
   13370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13371   (eval $ac_link) 2>&5
   13372   ac_status=$?
   13373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13374   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13375     (./conftest; exit; ) >&5 2>/dev/null
   13376     lt_status=$?
   13377     case x$lt_status in
   13378       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13379       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13380       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13381     esac
   13382   else :
   13383     # compilation failed
   13384     lt_cv_dlopen_self_static=no
   13385   fi
   13386 fi
   13387 rm -fr conftest*
   13388 
   13389        ;;
   13390 esac
   13391 fi
   13392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13393 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13394     fi
   13395 
   13396     CPPFLAGS=$save_CPPFLAGS
   13397     LDFLAGS=$save_LDFLAGS
   13398     LIBS=$save_LIBS
   13399     ;;
   13400   esac
   13401 
   13402   case $lt_cv_dlopen_self in
   13403   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13404   *) enable_dlopen_self=unknown ;;
   13405   esac
   13406 
   13407   case $lt_cv_dlopen_self_static in
   13408   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13409   *) enable_dlopen_self_static=unknown ;;
   13410   esac
   13411 fi
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 striplib=
   13430 old_striplib=
   13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13432 printf %s "checking whether stripping libraries is possible... " >&6; }
   13433 if test -z "$STRIP"; then
   13434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13435 printf "%s\n" "no" >&6; }
   13436 else
   13437   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13438     old_striplib="$STRIP --strip-debug"
   13439     striplib="$STRIP --strip-unneeded"
   13440     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13441 printf "%s\n" "yes" >&6; }
   13442   else
   13443     case $host_os in
   13444     darwin*)
   13445       # FIXME - insert some real tests, host_os isn't really good enough
   13446       striplib="$STRIP -x"
   13447       old_striplib="$STRIP -S"
   13448       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13449 printf "%s\n" "yes" >&6; }
   13450       ;;
   13451     freebsd*)
   13452       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13453         old_striplib="$STRIP --strip-debug"
   13454         striplib="$STRIP --strip-unneeded"
   13455         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13456 printf "%s\n" "yes" >&6; }
   13457       else
   13458         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13459 printf "%s\n" "no" >&6; }
   13460       fi
   13461       ;;
   13462     *)
   13463       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13464 printf "%s\n" "no" >&6; }
   13465       ;;
   13466     esac
   13467   fi
   13468 fi
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481   # Report what library types will actually be built
   13482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13483 printf %s "checking if libtool supports shared libraries... " >&6; }
   13484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13485 printf "%s\n" "$can_build_shared" >&6; }
   13486 
   13487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13488 printf %s "checking whether to build shared libraries... " >&6; }
   13489   test no = "$can_build_shared" && enable_shared=no
   13490 
   13491   # On AIX, shared libraries and static libraries use the same namespace, and
   13492   # are all built from PIC.
   13493   case $host_os in
   13494   aix3*)
   13495     test yes = "$enable_shared" && enable_static=no
   13496     if test -n "$RANLIB"; then
   13497       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13498       postinstall_cmds='$RANLIB $lib'
   13499     fi
   13500     ;;
   13501 
   13502   aix[4-9]*)
   13503     if test ia64 != "$host_cpu"; then
   13504       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13505       yes,aix,yes) ;;			# shared object as lib.so file only
   13506       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13507       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13508       esac
   13509     fi
   13510     ;;
   13511   esac
   13512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13513 printf "%s\n" "$enable_shared" >&6; }
   13514 
   13515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13516 printf %s "checking whether to build static libraries... " >&6; }
   13517   # Make sure either enable_shared or enable_static is yes.
   13518   test yes = "$enable_shared" || enable_static=yes
   13519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13520 printf "%s\n" "$enable_static" >&6; }
   13521 
   13522 
   13523 
   13524 
   13525 fi
   13526 ac_ext=c
   13527 ac_cpp='$CPP $CPPFLAGS'
   13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13531 
   13532 CC=$lt_save_CC
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548         ac_config_commands="$ac_config_commands libtool"
   13549 
   13550 
   13551 
   13552 
   13553 # Only expand once:
   13554 
   13555 
   13556 
   13557 # Check whether --enable-largefile was given.
   13558 if test ${enable_largefile+y}
   13559 then :
   13560   enableval=$enable_largefile;
   13561 fi
   13562 if test "$enable_largefile,$enable_year2038" != no,no
   13563 then :
   13564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   13565 printf %s "checking for $CC option to enable large file support... " >&6; }
   13566 if test ${ac_cv_sys_largefile_opts+y}
   13567 then :
   13568   printf %s "(cached) " >&6
   13569 else case e in #(
   13570   e) ac_save_CC="$CC"
   13571   ac_opt_found=no
   13572   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   13573     if test x"$ac_opt" != x"none needed"
   13574 then :
   13575   CC="$ac_save_CC $ac_opt"
   13576 fi
   13577     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13578 /* end confdefs.h.  */
   13579 #include <sys/types.h>
   13580 #ifndef FTYPE
   13581 # define FTYPE off_t
   13582 #endif
   13583  /* Check that FTYPE can represent 2**63 - 1 correctly.
   13584     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   13585     since some C++ compilers masquerading as C compilers
   13586     incorrectly reject 9223372036854775807.  */
   13587 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   13588   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   13589 		       && LARGE_FTYPE % 2147483647 == 1)
   13590 		      ? 1 : -1];
   13591 int
   13592 main (void)
   13593 {
   13594 
   13595   ;
   13596   return 0;
   13597 }
   13598 _ACEOF
   13599 if ac_fn_c_try_compile "$LINENO"
   13600 then :
   13601   if test x"$ac_opt" = x"none needed"
   13602 then :
   13603   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   13604 	 CC="$CC -DFTYPE=ino_t"
   13605 	 if ac_fn_c_try_compile "$LINENO"
   13606 then :
   13607 
   13608 else case e in #(
   13609   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   13610 	    if ac_fn_c_try_compile "$LINENO"
   13611 then :
   13612   ac_opt='-D_FILE_OFFSET_BITS=64'
   13613 fi
   13614 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   13615 esac
   13616 fi
   13617 rm -f core conftest.err conftest.$ac_objext conftest.beam
   13618 fi
   13619       ac_cv_sys_largefile_opts=$ac_opt
   13620       ac_opt_found=yes
   13621 fi
   13622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13623     test $ac_opt_found = no || break
   13624   done
   13625   CC="$ac_save_CC"
   13626 
   13627   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   13628 esac
   13629 fi
   13630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   13631 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   13632 
   13633 ac_have_largefile=yes
   13634 case $ac_cv_sys_largefile_opts in #(
   13635   "none needed") :
   13636      ;; #(
   13637   "supported through gnulib") :
   13638      ;; #(
   13639   "support not detected") :
   13640     ac_have_largefile=no ;; #(
   13641   "-D_FILE_OFFSET_BITS=64") :
   13642 
   13643 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   13644  ;; #(
   13645   "-D_LARGE_FILES=1") :
   13646 
   13647 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   13648  ;; #(
   13649   "-n32") :
   13650     CC="$CC -n32" ;; #(
   13651   *) :
   13652     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   13653 esac
   13654 
   13655 if test "$enable_year2038" != no
   13656 then :
   13657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   13658 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   13659 if test ${ac_cv_sys_year2038_opts+y}
   13660 then :
   13661   printf %s "(cached) " >&6
   13662 else case e in #(
   13663   e) ac_save_CPPFLAGS="$CPPFLAGS"
   13664   ac_opt_found=no
   13665   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
   13666     if test x"$ac_opt" != x"none needed"
   13667 then :
   13668   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   13669 fi
   13670     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13671 /* end confdefs.h.  */
   13672 
   13673   #include <time.h>
   13674   /* Check that time_t can represent 2**32 - 1 correctly.  */
   13675   #define LARGE_TIME_T \\
   13676     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   13677   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   13678                            && LARGE_TIME_T % 65537 == 0)
   13679                           ? 1 : -1];
   13680 
   13681 int
   13682 main (void)
   13683 {
   13684 
   13685   ;
   13686   return 0;
   13687 }
   13688 _ACEOF
   13689 if ac_fn_c_try_compile "$LINENO"
   13690 then :
   13691   ac_cv_sys_year2038_opts="$ac_opt"
   13692       ac_opt_found=yes
   13693 fi
   13694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13695     test $ac_opt_found = no || break
   13696   done
   13697   CPPFLAGS="$ac_save_CPPFLAGS"
   13698   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   13699 esac
   13700 fi
   13701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   13702 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   13703 
   13704 ac_have_year2038=yes
   13705 case $ac_cv_sys_year2038_opts in #(
   13706   "none needed") :
   13707      ;; #(
   13708   "support not detected") :
   13709     ac_have_year2038=no ;; #(
   13710   "-D_TIME_BITS=64") :
   13711 
   13712 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   13713  ;; #(
   13714   "-D__MINGW_USE_VC2005_COMPAT") :
   13715 
   13716 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   13717  ;; #(
   13718   "-U_USE_32_BIT_TIME_T"*) :
   13719     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13720 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13721 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   13722 will stop working after mid-January 2038. Remove
   13723 _USE_32BIT_TIME_T from the compiler flags.
   13724 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13725   *) :
   13726     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   13727 esac
   13728 
   13729 fi
   13730 
   13731 fi
   13732 
   13733 # Require xorg-macros minimum of 1.15 for fop minimum version
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13746 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13747 if test ${ac_cv_c_undeclared_builtin_options+y}
   13748 then :
   13749   printf %s "(cached) " >&6
   13750 else case e in #(
   13751   e) ac_save_CFLAGS=$CFLAGS
   13752    ac_cv_c_undeclared_builtin_options='cannot detect'
   13753    for ac_arg in '' -fno-builtin; do
   13754      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13755      # This test program should *not* compile successfully.
   13756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13757 /* end confdefs.h.  */
   13758 
   13759 int
   13760 main (void)
   13761 {
   13762 (void) strchr;
   13763   ;
   13764   return 0;
   13765 }
   13766 _ACEOF
   13767 if ac_fn_c_try_compile "$LINENO"
   13768 then :
   13769 
   13770 else case e in #(
   13771   e) # This test program should compile successfully.
   13772         # No library function is consistently available on
   13773         # freestanding implementations, so test against a dummy
   13774         # declaration.  Include always-available headers on the
   13775         # off chance that they somehow elicit warnings.
   13776         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13777 /* end confdefs.h.  */
   13778 #include <float.h>
   13779 #include <limits.h>
   13780 #include <stdarg.h>
   13781 #include <stddef.h>
   13782 extern void ac_decl (int, char *);
   13783 
   13784 int
   13785 main (void)
   13786 {
   13787 (void) ac_decl (0, (char *) 0);
   13788   (void) ac_decl;
   13789 
   13790   ;
   13791   return 0;
   13792 }
   13793 _ACEOF
   13794 if ac_fn_c_try_compile "$LINENO"
   13795 then :
   13796   if test x"$ac_arg" = x
   13797 then :
   13798   ac_cv_c_undeclared_builtin_options='none needed'
   13799 else case e in #(
   13800   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13801 esac
   13802 fi
   13803           break
   13804 fi
   13805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13806 esac
   13807 fi
   13808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13809     done
   13810     CFLAGS=$ac_save_CFLAGS
   13811    ;;
   13812 esac
   13813 fi
   13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13815 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13816   case $ac_cv_c_undeclared_builtin_options in #(
   13817   'cannot detect') :
   13818     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13819 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13820 as_fn_error $? "cannot make $CC report undeclared builtins
   13821 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13822   'none needed') :
   13823     ac_c_undeclared_builtin_options='' ;; #(
   13824   *) :
   13825     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13826 esac
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13833 if test "x$ac_cv_have_decl___clang__" = xyes
   13834 then :
   13835   CLANGCC="yes"
   13836 else case e in #(
   13837   e) CLANGCC="no" ;;
   13838 esac
   13839 fi
   13840 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13841 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13842 then :
   13843   INTELCC="yes"
   13844 else case e in #(
   13845   e) INTELCC="no" ;;
   13846 esac
   13847 fi
   13848 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13849 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13850 then :
   13851   SUNCC="yes"
   13852 else case e in #(
   13853   e) SUNCC="no" ;;
   13854 esac
   13855 fi
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13865 	if test -n "$ac_tool_prefix"; then
   13866   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13869 printf %s "checking for $ac_word... " >&6; }
   13870 if test ${ac_cv_path_PKG_CONFIG+y}
   13871 then :
   13872   printf %s "(cached) " >&6
   13873 else case e in #(
   13874   e) case $PKG_CONFIG in
   13875   [\\/]* | ?:[\\/]*)
   13876   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13877   ;;
   13878   *)
   13879   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13880 for as_dir in $PATH
   13881 do
   13882   IFS=$as_save_IFS
   13883   case $as_dir in #(((
   13884     '') as_dir=./ ;;
   13885     */) ;;
   13886     *) as_dir=$as_dir/ ;;
   13887   esac
   13888     for ac_exec_ext in '' $ac_executable_extensions; do
   13889   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13890     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13891     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13892     break 2
   13893   fi
   13894 done
   13895   done
   13896 IFS=$as_save_IFS
   13897 
   13898   ;;
   13899 esac ;;
   13900 esac
   13901 fi
   13902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13903 if test -n "$PKG_CONFIG"; then
   13904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13905 printf "%s\n" "$PKG_CONFIG" >&6; }
   13906 else
   13907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13908 printf "%s\n" "no" >&6; }
   13909 fi
   13910 
   13911 
   13912 fi
   13913 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13914   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13915   # Extract the first word of "pkg-config", so it can be a program name with args.
   13916 set dummy pkg-config; ac_word=$2
   13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13918 printf %s "checking for $ac_word... " >&6; }
   13919 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13920 then :
   13921   printf %s "(cached) " >&6
   13922 else case e in #(
   13923   e) case $ac_pt_PKG_CONFIG in
   13924   [\\/]* | ?:[\\/]*)
   13925   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13926   ;;
   13927   *)
   13928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13929 for as_dir in $PATH
   13930 do
   13931   IFS=$as_save_IFS
   13932   case $as_dir in #(((
   13933     '') as_dir=./ ;;
   13934     */) ;;
   13935     *) as_dir=$as_dir/ ;;
   13936   esac
   13937     for ac_exec_ext in '' $ac_executable_extensions; do
   13938   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13939     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13940     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13941     break 2
   13942   fi
   13943 done
   13944   done
   13945 IFS=$as_save_IFS
   13946 
   13947   ;;
   13948 esac ;;
   13949 esac
   13950 fi
   13951 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13952 if test -n "$ac_pt_PKG_CONFIG"; then
   13953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13954 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13955 else
   13956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13957 printf "%s\n" "no" >&6; }
   13958 fi
   13959 
   13960   if test "x$ac_pt_PKG_CONFIG" = x; then
   13961     PKG_CONFIG=""
   13962   else
   13963     case $cross_compiling:$ac_tool_warned in
   13964 yes:)
   13965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13967 ac_tool_warned=yes ;;
   13968 esac
   13969     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13970   fi
   13971 else
   13972   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13973 fi
   13974 
   13975 fi
   13976 if test -n "$PKG_CONFIG"; then
   13977 	_pkg_min_version=0.9.0
   13978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13979 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13980 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13982 printf "%s\n" "yes" >&6; }
   13983 	else
   13984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13985 printf "%s\n" "no" >&6; }
   13986 		PKG_CONFIG=""
   13987 	fi
   13988 fi
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 # Check whether --enable-selective-werror was given.
   13995 if test ${enable_selective_werror+y}
   13996 then :
   13997   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13998 else case e in #(
   13999   e) SELECTIVE_WERROR=yes ;;
   14000 esac
   14001 fi
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14008 if test "x$SUNCC" = "xyes"; then
   14009     BASE_CFLAGS="-v"
   14010 else
   14011     BASE_CFLAGS=""
   14012 fi
   14013 
   14014 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 xorg_testset_save_CFLAGS="$CFLAGS"
   14029 
   14030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14033 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14034 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14035 then :
   14036   printf %s "(cached) " >&6
   14037 else case e in #(
   14038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14039 /* end confdefs.h.  */
   14040 int i;
   14041 _ACEOF
   14042 if ac_fn_c_try_compile "$LINENO"
   14043 then :
   14044   xorg_cv_cc_flag_unknown_warning_option=yes
   14045 else case e in #(
   14046   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14047 esac
   14048 fi
   14049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14050 esac
   14051 fi
   14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14055 	CFLAGS="$xorg_testset_save_CFLAGS"
   14056 fi
   14057 
   14058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14061 	fi
   14062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14066 then :
   14067   printf %s "(cached) " >&6
   14068 else case e in #(
   14069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14070 /* end confdefs.h.  */
   14071 int i;
   14072 _ACEOF
   14073 if ac_fn_c_try_compile "$LINENO"
   14074 then :
   14075   xorg_cv_cc_flag_unused_command_line_argument=yes
   14076 else case e in #(
   14077   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14078 esac
   14079 fi
   14080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14081 esac
   14082 fi
   14083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14084 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14086 	CFLAGS="$xorg_testset_save_CFLAGS"
   14087 fi
   14088 
   14089 found="no"
   14090 
   14091 	if test $found = "no" ; then
   14092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14094 		fi
   14095 
   14096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14098 		fi
   14099 
   14100 		CFLAGS="$CFLAGS -Wall"
   14101 
   14102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14103 printf %s "checking if $CC supports -Wall... " >&6; }
   14104 		cacheid=xorg_cv_cc_flag__Wall
   14105 		if eval test \${$cacheid+y}
   14106 then :
   14107   printf %s "(cached) " >&6
   14108 else case e in #(
   14109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14110 /* end confdefs.h.  */
   14111 int i;
   14112 int
   14113 main (void)
   14114 {
   14115 
   14116   ;
   14117   return 0;
   14118 }
   14119 _ACEOF
   14120 if ac_fn_c_try_link "$LINENO"
   14121 then :
   14122   eval $cacheid=yes
   14123 else case e in #(
   14124   e) eval $cacheid=no ;;
   14125 esac
   14126 fi
   14127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14128     conftest$ac_exeext conftest.$ac_ext ;;
   14129 esac
   14130 fi
   14131 
   14132 
   14133 		CFLAGS="$xorg_testset_save_CFLAGS"
   14134 
   14135 		eval supported=\$$cacheid
   14136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14137 printf "%s\n" "$supported" >&6; }
   14138 		if test "$supported" = "yes" ; then
   14139 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14140 			found="yes"
   14141 		fi
   14142 	fi
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 xorg_testset_save_CFLAGS="$CFLAGS"
   14159 
   14160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14163 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14164 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14165 then :
   14166   printf %s "(cached) " >&6
   14167 else case e in #(
   14168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14169 /* end confdefs.h.  */
   14170 int i;
   14171 _ACEOF
   14172 if ac_fn_c_try_compile "$LINENO"
   14173 then :
   14174   xorg_cv_cc_flag_unknown_warning_option=yes
   14175 else case e in #(
   14176   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14177 esac
   14178 fi
   14179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14180 esac
   14181 fi
   14182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14183 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14185 	CFLAGS="$xorg_testset_save_CFLAGS"
   14186 fi
   14187 
   14188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14191 	fi
   14192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14194 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14195 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14196 then :
   14197   printf %s "(cached) " >&6
   14198 else case e in #(
   14199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14200 /* end confdefs.h.  */
   14201 int i;
   14202 _ACEOF
   14203 if ac_fn_c_try_compile "$LINENO"
   14204 then :
   14205   xorg_cv_cc_flag_unused_command_line_argument=yes
   14206 else case e in #(
   14207   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14208 esac
   14209 fi
   14210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14211 esac
   14212 fi
   14213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14214 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14216 	CFLAGS="$xorg_testset_save_CFLAGS"
   14217 fi
   14218 
   14219 found="no"
   14220 
   14221 	if test $found = "no" ; then
   14222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14224 		fi
   14225 
   14226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14228 		fi
   14229 
   14230 		CFLAGS="$CFLAGS -Wpointer-arith"
   14231 
   14232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14233 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14234 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14235 		if eval test \${$cacheid+y}
   14236 then :
   14237   printf %s "(cached) " >&6
   14238 else case e in #(
   14239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14240 /* end confdefs.h.  */
   14241 int i;
   14242 int
   14243 main (void)
   14244 {
   14245 
   14246   ;
   14247   return 0;
   14248 }
   14249 _ACEOF
   14250 if ac_fn_c_try_link "$LINENO"
   14251 then :
   14252   eval $cacheid=yes
   14253 else case e in #(
   14254   e) eval $cacheid=no ;;
   14255 esac
   14256 fi
   14257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14258     conftest$ac_exeext conftest.$ac_ext ;;
   14259 esac
   14260 fi
   14261 
   14262 
   14263 		CFLAGS="$xorg_testset_save_CFLAGS"
   14264 
   14265 		eval supported=\$$cacheid
   14266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14267 printf "%s\n" "$supported" >&6; }
   14268 		if test "$supported" = "yes" ; then
   14269 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14270 			found="yes"
   14271 		fi
   14272 	fi
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 xorg_testset_save_CFLAGS="$CFLAGS"
   14289 
   14290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14293 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14294 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14295 then :
   14296   printf %s "(cached) " >&6
   14297 else case e in #(
   14298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14299 /* end confdefs.h.  */
   14300 int i;
   14301 _ACEOF
   14302 if ac_fn_c_try_compile "$LINENO"
   14303 then :
   14304   xorg_cv_cc_flag_unknown_warning_option=yes
   14305 else case e in #(
   14306   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14307 esac
   14308 fi
   14309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14310 esac
   14311 fi
   14312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14313 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14315 	CFLAGS="$xorg_testset_save_CFLAGS"
   14316 fi
   14317 
   14318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14321 	fi
   14322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14324 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14325 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14326 then :
   14327   printf %s "(cached) " >&6
   14328 else case e in #(
   14329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14330 /* end confdefs.h.  */
   14331 int i;
   14332 _ACEOF
   14333 if ac_fn_c_try_compile "$LINENO"
   14334 then :
   14335   xorg_cv_cc_flag_unused_command_line_argument=yes
   14336 else case e in #(
   14337   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14338 esac
   14339 fi
   14340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14341 esac
   14342 fi
   14343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14346 	CFLAGS="$xorg_testset_save_CFLAGS"
   14347 fi
   14348 
   14349 found="no"
   14350 
   14351 	if test $found = "no" ; then
   14352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14354 		fi
   14355 
   14356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14358 		fi
   14359 
   14360 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14361 
   14362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14363 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14364 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14365 		if eval test \${$cacheid+y}
   14366 then :
   14367   printf %s "(cached) " >&6
   14368 else case e in #(
   14369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14370 /* end confdefs.h.  */
   14371 int i;
   14372 int
   14373 main (void)
   14374 {
   14375 
   14376   ;
   14377   return 0;
   14378 }
   14379 _ACEOF
   14380 if ac_fn_c_try_link "$LINENO"
   14381 then :
   14382   eval $cacheid=yes
   14383 else case e in #(
   14384   e) eval $cacheid=no ;;
   14385 esac
   14386 fi
   14387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14388     conftest$ac_exeext conftest.$ac_ext ;;
   14389 esac
   14390 fi
   14391 
   14392 
   14393 		CFLAGS="$xorg_testset_save_CFLAGS"
   14394 
   14395 		eval supported=\$$cacheid
   14396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14397 printf "%s\n" "$supported" >&6; }
   14398 		if test "$supported" = "yes" ; then
   14399 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14400 			found="yes"
   14401 		fi
   14402 	fi
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 xorg_testset_save_CFLAGS="$CFLAGS"
   14419 
   14420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14423 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14424 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14425 then :
   14426   printf %s "(cached) " >&6
   14427 else case e in #(
   14428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14429 /* end confdefs.h.  */
   14430 int i;
   14431 _ACEOF
   14432 if ac_fn_c_try_compile "$LINENO"
   14433 then :
   14434   xorg_cv_cc_flag_unknown_warning_option=yes
   14435 else case e in #(
   14436   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14437 esac
   14438 fi
   14439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14440 esac
   14441 fi
   14442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14443 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14445 	CFLAGS="$xorg_testset_save_CFLAGS"
   14446 fi
   14447 
   14448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14451 	fi
   14452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14454 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14455 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14456 then :
   14457   printf %s "(cached) " >&6
   14458 else case e in #(
   14459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14460 /* end confdefs.h.  */
   14461 int i;
   14462 _ACEOF
   14463 if ac_fn_c_try_compile "$LINENO"
   14464 then :
   14465   xorg_cv_cc_flag_unused_command_line_argument=yes
   14466 else case e in #(
   14467   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14468 esac
   14469 fi
   14470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14471 esac
   14472 fi
   14473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14474 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14476 	CFLAGS="$xorg_testset_save_CFLAGS"
   14477 fi
   14478 
   14479 found="no"
   14480 
   14481 	if test $found = "no" ; then
   14482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14484 		fi
   14485 
   14486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14488 		fi
   14489 
   14490 		CFLAGS="$CFLAGS -Wformat=2"
   14491 
   14492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14493 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14494 		cacheid=xorg_cv_cc_flag__Wformat_2
   14495 		if eval test \${$cacheid+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 int
   14503 main (void)
   14504 {
   14505 
   14506   ;
   14507   return 0;
   14508 }
   14509 _ACEOF
   14510 if ac_fn_c_try_link "$LINENO"
   14511 then :
   14512   eval $cacheid=yes
   14513 else case e in #(
   14514   e) eval $cacheid=no ;;
   14515 esac
   14516 fi
   14517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14518     conftest$ac_exeext conftest.$ac_ext ;;
   14519 esac
   14520 fi
   14521 
   14522 
   14523 		CFLAGS="$xorg_testset_save_CFLAGS"
   14524 
   14525 		eval supported=\$$cacheid
   14526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14527 printf "%s\n" "$supported" >&6; }
   14528 		if test "$supported" = "yes" ; then
   14529 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14530 			found="yes"
   14531 		fi
   14532 	fi
   14533 
   14534 	if test $found = "no" ; then
   14535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14537 		fi
   14538 
   14539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14541 		fi
   14542 
   14543 		CFLAGS="$CFLAGS -Wformat"
   14544 
   14545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14546 printf %s "checking if $CC supports -Wformat... " >&6; }
   14547 		cacheid=xorg_cv_cc_flag__Wformat
   14548 		if eval test \${$cacheid+y}
   14549 then :
   14550   printf %s "(cached) " >&6
   14551 else case e in #(
   14552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14553 /* end confdefs.h.  */
   14554 int i;
   14555 int
   14556 main (void)
   14557 {
   14558 
   14559   ;
   14560   return 0;
   14561 }
   14562 _ACEOF
   14563 if ac_fn_c_try_link "$LINENO"
   14564 then :
   14565   eval $cacheid=yes
   14566 else case e in #(
   14567   e) eval $cacheid=no ;;
   14568 esac
   14569 fi
   14570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14571     conftest$ac_exeext conftest.$ac_ext ;;
   14572 esac
   14573 fi
   14574 
   14575 
   14576 		CFLAGS="$xorg_testset_save_CFLAGS"
   14577 
   14578 		eval supported=\$$cacheid
   14579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14580 printf "%s\n" "$supported" >&6; }
   14581 		if test "$supported" = "yes" ; then
   14582 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14583 			found="yes"
   14584 		fi
   14585 	fi
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 xorg_testset_save_CFLAGS="$CFLAGS"
   14604 
   14605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14610 then :
   14611   printf %s "(cached) " >&6
   14612 else case e in #(
   14613   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14614 /* end confdefs.h.  */
   14615 int i;
   14616 _ACEOF
   14617 if ac_fn_c_try_compile "$LINENO"
   14618 then :
   14619   xorg_cv_cc_flag_unknown_warning_option=yes
   14620 else case e in #(
   14621   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14622 esac
   14623 fi
   14624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14625 esac
   14626 fi
   14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14628 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14630 	CFLAGS="$xorg_testset_save_CFLAGS"
   14631 fi
   14632 
   14633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14636 	fi
   14637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14639 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14640 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14641 then :
   14642   printf %s "(cached) " >&6
   14643 else case e in #(
   14644   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14645 /* end confdefs.h.  */
   14646 int i;
   14647 _ACEOF
   14648 if ac_fn_c_try_compile "$LINENO"
   14649 then :
   14650   xorg_cv_cc_flag_unused_command_line_argument=yes
   14651 else case e in #(
   14652   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14653 esac
   14654 fi
   14655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14656 esac
   14657 fi
   14658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14659 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14661 	CFLAGS="$xorg_testset_save_CFLAGS"
   14662 fi
   14663 
   14664 found="no"
   14665 
   14666 	if test $found = "no" ; then
   14667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14669 		fi
   14670 
   14671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14673 		fi
   14674 
   14675 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14676 
   14677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14678 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14679 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14680 		if eval test \${$cacheid+y}
   14681 then :
   14682   printf %s "(cached) " >&6
   14683 else case e in #(
   14684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14685 /* end confdefs.h.  */
   14686 int i;
   14687 int
   14688 main (void)
   14689 {
   14690 
   14691   ;
   14692   return 0;
   14693 }
   14694 _ACEOF
   14695 if ac_fn_c_try_link "$LINENO"
   14696 then :
   14697   eval $cacheid=yes
   14698 else case e in #(
   14699   e) eval $cacheid=no ;;
   14700 esac
   14701 fi
   14702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14703     conftest$ac_exeext conftest.$ac_ext ;;
   14704 esac
   14705 fi
   14706 
   14707 
   14708 		CFLAGS="$xorg_testset_save_CFLAGS"
   14709 
   14710 		eval supported=\$$cacheid
   14711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14712 printf "%s\n" "$supported" >&6; }
   14713 		if test "$supported" = "yes" ; then
   14714 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14715 			found="yes"
   14716 		fi
   14717 	fi
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 xorg_testset_save_CFLAGS="$CFLAGS"
   14734 
   14735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14740 then :
   14741   printf %s "(cached) " >&6
   14742 else case e in #(
   14743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14744 /* end confdefs.h.  */
   14745 int i;
   14746 _ACEOF
   14747 if ac_fn_c_try_compile "$LINENO"
   14748 then :
   14749   xorg_cv_cc_flag_unknown_warning_option=yes
   14750 else case e in #(
   14751   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14752 esac
   14753 fi
   14754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14755 esac
   14756 fi
   14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14758 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14760 	CFLAGS="$xorg_testset_save_CFLAGS"
   14761 fi
   14762 
   14763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14766 	fi
   14767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14769 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14770 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14771 then :
   14772   printf %s "(cached) " >&6
   14773 else case e in #(
   14774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14775 /* end confdefs.h.  */
   14776 int i;
   14777 _ACEOF
   14778 if ac_fn_c_try_compile "$LINENO"
   14779 then :
   14780   xorg_cv_cc_flag_unused_command_line_argument=yes
   14781 else case e in #(
   14782   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14783 esac
   14784 fi
   14785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14786 esac
   14787 fi
   14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14791 	CFLAGS="$xorg_testset_save_CFLAGS"
   14792 fi
   14793 
   14794 found="no"
   14795 
   14796 	if test $found = "no" ; then
   14797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14799 		fi
   14800 
   14801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14803 		fi
   14804 
   14805 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14806 
   14807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14808 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14809 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14810 		if eval test \${$cacheid+y}
   14811 then :
   14812   printf %s "(cached) " >&6
   14813 else case e in #(
   14814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14815 /* end confdefs.h.  */
   14816 int i;
   14817 int
   14818 main (void)
   14819 {
   14820 
   14821   ;
   14822   return 0;
   14823 }
   14824 _ACEOF
   14825 if ac_fn_c_try_link "$LINENO"
   14826 then :
   14827   eval $cacheid=yes
   14828 else case e in #(
   14829   e) eval $cacheid=no ;;
   14830 esac
   14831 fi
   14832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14833     conftest$ac_exeext conftest.$ac_ext ;;
   14834 esac
   14835 fi
   14836 
   14837 
   14838 		CFLAGS="$xorg_testset_save_CFLAGS"
   14839 
   14840 		eval supported=\$$cacheid
   14841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14842 printf "%s\n" "$supported" >&6; }
   14843 		if test "$supported" = "yes" ; then
   14844 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14845 			found="yes"
   14846 		fi
   14847 	fi
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 xorg_testset_save_CFLAGS="$CFLAGS"
   14864 
   14865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14868 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14869 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14870 then :
   14871   printf %s "(cached) " >&6
   14872 else case e in #(
   14873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14874 /* end confdefs.h.  */
   14875 int i;
   14876 _ACEOF
   14877 if ac_fn_c_try_compile "$LINENO"
   14878 then :
   14879   xorg_cv_cc_flag_unknown_warning_option=yes
   14880 else case e in #(
   14881   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14882 esac
   14883 fi
   14884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14885 esac
   14886 fi
   14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14890 	CFLAGS="$xorg_testset_save_CFLAGS"
   14891 fi
   14892 
   14893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14896 	fi
   14897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14901 then :
   14902   printf %s "(cached) " >&6
   14903 else case e in #(
   14904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14905 /* end confdefs.h.  */
   14906 int i;
   14907 _ACEOF
   14908 if ac_fn_c_try_compile "$LINENO"
   14909 then :
   14910   xorg_cv_cc_flag_unused_command_line_argument=yes
   14911 else case e in #(
   14912   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14913 esac
   14914 fi
   14915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14916 esac
   14917 fi
   14918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14919 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14921 	CFLAGS="$xorg_testset_save_CFLAGS"
   14922 fi
   14923 
   14924 found="no"
   14925 
   14926 	if test $found = "no" ; then
   14927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14929 		fi
   14930 
   14931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14933 		fi
   14934 
   14935 		CFLAGS="$CFLAGS -Wnested-externs"
   14936 
   14937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14938 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14939 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14940 		if eval test \${$cacheid+y}
   14941 then :
   14942   printf %s "(cached) " >&6
   14943 else case e in #(
   14944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14945 /* end confdefs.h.  */
   14946 int i;
   14947 int
   14948 main (void)
   14949 {
   14950 
   14951   ;
   14952   return 0;
   14953 }
   14954 _ACEOF
   14955 if ac_fn_c_try_link "$LINENO"
   14956 then :
   14957   eval $cacheid=yes
   14958 else case e in #(
   14959   e) eval $cacheid=no ;;
   14960 esac
   14961 fi
   14962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14963     conftest$ac_exeext conftest.$ac_ext ;;
   14964 esac
   14965 fi
   14966 
   14967 
   14968 		CFLAGS="$xorg_testset_save_CFLAGS"
   14969 
   14970 		eval supported=\$$cacheid
   14971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14972 printf "%s\n" "$supported" >&6; }
   14973 		if test "$supported" = "yes" ; then
   14974 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14975 			found="yes"
   14976 		fi
   14977 	fi
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 xorg_testset_save_CFLAGS="$CFLAGS"
   14994 
   14995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15000 then :
   15001   printf %s "(cached) " >&6
   15002 else case e in #(
   15003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15004 /* end confdefs.h.  */
   15005 int i;
   15006 _ACEOF
   15007 if ac_fn_c_try_compile "$LINENO"
   15008 then :
   15009   xorg_cv_cc_flag_unknown_warning_option=yes
   15010 else case e in #(
   15011   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15012 esac
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15015 esac
   15016 fi
   15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15018 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15020 	CFLAGS="$xorg_testset_save_CFLAGS"
   15021 fi
   15022 
   15023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15026 	fi
   15027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15029 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15030 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15031 then :
   15032   printf %s "(cached) " >&6
   15033 else case e in #(
   15034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15035 /* end confdefs.h.  */
   15036 int i;
   15037 _ACEOF
   15038 if ac_fn_c_try_compile "$LINENO"
   15039 then :
   15040   xorg_cv_cc_flag_unused_command_line_argument=yes
   15041 else case e in #(
   15042   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15043 esac
   15044 fi
   15045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15046 esac
   15047 fi
   15048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15051 	CFLAGS="$xorg_testset_save_CFLAGS"
   15052 fi
   15053 
   15054 found="no"
   15055 
   15056 	if test $found = "no" ; then
   15057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15059 		fi
   15060 
   15061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15063 		fi
   15064 
   15065 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15066 
   15067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15068 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15069 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15070 		if eval test \${$cacheid+y}
   15071 then :
   15072   printf %s "(cached) " >&6
   15073 else case e in #(
   15074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15075 /* end confdefs.h.  */
   15076 int i;
   15077 int
   15078 main (void)
   15079 {
   15080 
   15081   ;
   15082   return 0;
   15083 }
   15084 _ACEOF
   15085 if ac_fn_c_try_link "$LINENO"
   15086 then :
   15087   eval $cacheid=yes
   15088 else case e in #(
   15089   e) eval $cacheid=no ;;
   15090 esac
   15091 fi
   15092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15093     conftest$ac_exeext conftest.$ac_ext ;;
   15094 esac
   15095 fi
   15096 
   15097 
   15098 		CFLAGS="$xorg_testset_save_CFLAGS"
   15099 
   15100 		eval supported=\$$cacheid
   15101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15102 printf "%s\n" "$supported" >&6; }
   15103 		if test "$supported" = "yes" ; then
   15104 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15105 			found="yes"
   15106 		fi
   15107 	fi
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 xorg_testset_save_CFLAGS="$CFLAGS"
   15124 
   15125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15128 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15129 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15130 then :
   15131   printf %s "(cached) " >&6
   15132 else case e in #(
   15133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15134 /* end confdefs.h.  */
   15135 int i;
   15136 _ACEOF
   15137 if ac_fn_c_try_compile "$LINENO"
   15138 then :
   15139   xorg_cv_cc_flag_unknown_warning_option=yes
   15140 else case e in #(
   15141   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15142 esac
   15143 fi
   15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15145 esac
   15146 fi
   15147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15148 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15150 	CFLAGS="$xorg_testset_save_CFLAGS"
   15151 fi
   15152 
   15153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15156 	fi
   15157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15159 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15160 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15161 then :
   15162   printf %s "(cached) " >&6
   15163 else case e in #(
   15164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15165 /* end confdefs.h.  */
   15166 int i;
   15167 _ACEOF
   15168 if ac_fn_c_try_compile "$LINENO"
   15169 then :
   15170   xorg_cv_cc_flag_unused_command_line_argument=yes
   15171 else case e in #(
   15172   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15173 esac
   15174 fi
   15175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15176 esac
   15177 fi
   15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15179 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15181 	CFLAGS="$xorg_testset_save_CFLAGS"
   15182 fi
   15183 
   15184 found="no"
   15185 
   15186 	if test $found = "no" ; then
   15187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15189 		fi
   15190 
   15191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15193 		fi
   15194 
   15195 		CFLAGS="$CFLAGS -Wold-style-definition"
   15196 
   15197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15198 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15199 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15200 		if eval test \${$cacheid+y}
   15201 then :
   15202   printf %s "(cached) " >&6
   15203 else case e in #(
   15204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15205 /* end confdefs.h.  */
   15206 int i;
   15207 int
   15208 main (void)
   15209 {
   15210 
   15211   ;
   15212   return 0;
   15213 }
   15214 _ACEOF
   15215 if ac_fn_c_try_link "$LINENO"
   15216 then :
   15217   eval $cacheid=yes
   15218 else case e in #(
   15219   e) eval $cacheid=no ;;
   15220 esac
   15221 fi
   15222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15223     conftest$ac_exeext conftest.$ac_ext ;;
   15224 esac
   15225 fi
   15226 
   15227 
   15228 		CFLAGS="$xorg_testset_save_CFLAGS"
   15229 
   15230 		eval supported=\$$cacheid
   15231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15232 printf "%s\n" "$supported" >&6; }
   15233 		if test "$supported" = "yes" ; then
   15234 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15235 			found="yes"
   15236 		fi
   15237 	fi
   15238 
   15239 	if test $found = "no" ; then
   15240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15242 		fi
   15243 
   15244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15246 		fi
   15247 
   15248 		CFLAGS="$CFLAGS -fd"
   15249 
   15250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15251 printf %s "checking if $CC supports -fd... " >&6; }
   15252 		cacheid=xorg_cv_cc_flag__fd
   15253 		if eval test \${$cacheid+y}
   15254 then :
   15255   printf %s "(cached) " >&6
   15256 else case e in #(
   15257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15258 /* end confdefs.h.  */
   15259 int i;
   15260 int
   15261 main (void)
   15262 {
   15263 
   15264   ;
   15265   return 0;
   15266 }
   15267 _ACEOF
   15268 if ac_fn_c_try_link "$LINENO"
   15269 then :
   15270   eval $cacheid=yes
   15271 else case e in #(
   15272   e) eval $cacheid=no ;;
   15273 esac
   15274 fi
   15275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15276     conftest$ac_exeext conftest.$ac_ext ;;
   15277 esac
   15278 fi
   15279 
   15280 
   15281 		CFLAGS="$xorg_testset_save_CFLAGS"
   15282 
   15283 		eval supported=\$$cacheid
   15284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15285 printf "%s\n" "$supported" >&6; }
   15286 		if test "$supported" = "yes" ; then
   15287 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15288 			found="yes"
   15289 		fi
   15290 	fi
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 xorg_testset_save_CFLAGS="$CFLAGS"
   15307 
   15308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15311 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15312 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15313 then :
   15314   printf %s "(cached) " >&6
   15315 else case e in #(
   15316   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15317 /* end confdefs.h.  */
   15318 int i;
   15319 _ACEOF
   15320 if ac_fn_c_try_compile "$LINENO"
   15321 then :
   15322   xorg_cv_cc_flag_unknown_warning_option=yes
   15323 else case e in #(
   15324   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15325 esac
   15326 fi
   15327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15328 esac
   15329 fi
   15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15331 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15333 	CFLAGS="$xorg_testset_save_CFLAGS"
   15334 fi
   15335 
   15336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15339 	fi
   15340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15342 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15343 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15344 then :
   15345   printf %s "(cached) " >&6
   15346 else case e in #(
   15347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15348 /* end confdefs.h.  */
   15349 int i;
   15350 _ACEOF
   15351 if ac_fn_c_try_compile "$LINENO"
   15352 then :
   15353   xorg_cv_cc_flag_unused_command_line_argument=yes
   15354 else case e in #(
   15355   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15356 esac
   15357 fi
   15358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15359 esac
   15360 fi
   15361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15362 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15364 	CFLAGS="$xorg_testset_save_CFLAGS"
   15365 fi
   15366 
   15367 found="no"
   15368 
   15369 	if test $found = "no" ; then
   15370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15372 		fi
   15373 
   15374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15376 		fi
   15377 
   15378 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   15379 
   15380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   15381 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   15382 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   15383 		if eval test \${$cacheid+y}
   15384 then :
   15385   printf %s "(cached) " >&6
   15386 else case e in #(
   15387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15388 /* end confdefs.h.  */
   15389 int i;
   15390 int
   15391 main (void)
   15392 {
   15393 
   15394   ;
   15395   return 0;
   15396 }
   15397 _ACEOF
   15398 if ac_fn_c_try_link "$LINENO"
   15399 then :
   15400   eval $cacheid=yes
   15401 else case e in #(
   15402   e) eval $cacheid=no ;;
   15403 esac
   15404 fi
   15405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15406     conftest$ac_exeext conftest.$ac_ext ;;
   15407 esac
   15408 fi
   15409 
   15410 
   15411 		CFLAGS="$xorg_testset_save_CFLAGS"
   15412 
   15413 		eval supported=\$$cacheid
   15414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15415 printf "%s\n" "$supported" >&6; }
   15416 		if test "$supported" = "yes" ; then
   15417 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   15418 			found="yes"
   15419 		fi
   15420 	fi
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 # This chunk adds additional warnings that could catch undesired effects.
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 xorg_testset_save_CFLAGS="$CFLAGS"
   15441 
   15442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15445 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15446 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15447 then :
   15448   printf %s "(cached) " >&6
   15449 else case e in #(
   15450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15451 /* end confdefs.h.  */
   15452 int i;
   15453 _ACEOF
   15454 if ac_fn_c_try_compile "$LINENO"
   15455 then :
   15456   xorg_cv_cc_flag_unknown_warning_option=yes
   15457 else case e in #(
   15458   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15459 esac
   15460 fi
   15461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15462 esac
   15463 fi
   15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15467 	CFLAGS="$xorg_testset_save_CFLAGS"
   15468 fi
   15469 
   15470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15473 	fi
   15474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15478 then :
   15479   printf %s "(cached) " >&6
   15480 else case e in #(
   15481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15482 /* end confdefs.h.  */
   15483 int i;
   15484 _ACEOF
   15485 if ac_fn_c_try_compile "$LINENO"
   15486 then :
   15487   xorg_cv_cc_flag_unused_command_line_argument=yes
   15488 else case e in #(
   15489   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15490 esac
   15491 fi
   15492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15493 esac
   15494 fi
   15495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15496 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15498 	CFLAGS="$xorg_testset_save_CFLAGS"
   15499 fi
   15500 
   15501 found="no"
   15502 
   15503 	if test $found = "no" ; then
   15504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15506 		fi
   15507 
   15508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15510 		fi
   15511 
   15512 		CFLAGS="$CFLAGS -Wunused"
   15513 
   15514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15515 printf %s "checking if $CC supports -Wunused... " >&6; }
   15516 		cacheid=xorg_cv_cc_flag__Wunused
   15517 		if eval test \${$cacheid+y}
   15518 then :
   15519   printf %s "(cached) " >&6
   15520 else case e in #(
   15521   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15522 /* end confdefs.h.  */
   15523 int i;
   15524 int
   15525 main (void)
   15526 {
   15527 
   15528   ;
   15529   return 0;
   15530 }
   15531 _ACEOF
   15532 if ac_fn_c_try_link "$LINENO"
   15533 then :
   15534   eval $cacheid=yes
   15535 else case e in #(
   15536   e) eval $cacheid=no ;;
   15537 esac
   15538 fi
   15539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15540     conftest$ac_exeext conftest.$ac_ext ;;
   15541 esac
   15542 fi
   15543 
   15544 
   15545 		CFLAGS="$xorg_testset_save_CFLAGS"
   15546 
   15547 		eval supported=\$$cacheid
   15548 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15549 printf "%s\n" "$supported" >&6; }
   15550 		if test "$supported" = "yes" ; then
   15551 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15552 			found="yes"
   15553 		fi
   15554 	fi
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 xorg_testset_save_CFLAGS="$CFLAGS"
   15571 
   15572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15575 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15576 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15577 then :
   15578   printf %s "(cached) " >&6
   15579 else case e in #(
   15580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15581 /* end confdefs.h.  */
   15582 int i;
   15583 _ACEOF
   15584 if ac_fn_c_try_compile "$LINENO"
   15585 then :
   15586   xorg_cv_cc_flag_unknown_warning_option=yes
   15587 else case e in #(
   15588   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15589 esac
   15590 fi
   15591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15592 esac
   15593 fi
   15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15595 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15597 	CFLAGS="$xorg_testset_save_CFLAGS"
   15598 fi
   15599 
   15600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15603 	fi
   15604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15606 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15607 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15608 then :
   15609   printf %s "(cached) " >&6
   15610 else case e in #(
   15611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15612 /* end confdefs.h.  */
   15613 int i;
   15614 _ACEOF
   15615 if ac_fn_c_try_compile "$LINENO"
   15616 then :
   15617   xorg_cv_cc_flag_unused_command_line_argument=yes
   15618 else case e in #(
   15619   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15620 esac
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15623 esac
   15624 fi
   15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15628 	CFLAGS="$xorg_testset_save_CFLAGS"
   15629 fi
   15630 
   15631 found="no"
   15632 
   15633 	if test $found = "no" ; then
   15634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15636 		fi
   15637 
   15638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15640 		fi
   15641 
   15642 		CFLAGS="$CFLAGS -Wuninitialized"
   15643 
   15644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15645 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15646 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15647 		if eval test \${$cacheid+y}
   15648 then :
   15649   printf %s "(cached) " >&6
   15650 else case e in #(
   15651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15652 /* end confdefs.h.  */
   15653 int i;
   15654 int
   15655 main (void)
   15656 {
   15657 
   15658   ;
   15659   return 0;
   15660 }
   15661 _ACEOF
   15662 if ac_fn_c_try_link "$LINENO"
   15663 then :
   15664   eval $cacheid=yes
   15665 else case e in #(
   15666   e) eval $cacheid=no ;;
   15667 esac
   15668 fi
   15669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15670     conftest$ac_exeext conftest.$ac_ext ;;
   15671 esac
   15672 fi
   15673 
   15674 
   15675 		CFLAGS="$xorg_testset_save_CFLAGS"
   15676 
   15677 		eval supported=\$$cacheid
   15678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15679 printf "%s\n" "$supported" >&6; }
   15680 		if test "$supported" = "yes" ; then
   15681 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15682 			found="yes"
   15683 		fi
   15684 	fi
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 xorg_testset_save_CFLAGS="$CFLAGS"
   15701 
   15702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15705 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15706 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15707 then :
   15708   printf %s "(cached) " >&6
   15709 else case e in #(
   15710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15711 /* end confdefs.h.  */
   15712 int i;
   15713 _ACEOF
   15714 if ac_fn_c_try_compile "$LINENO"
   15715 then :
   15716   xorg_cv_cc_flag_unknown_warning_option=yes
   15717 else case e in #(
   15718   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15719 esac
   15720 fi
   15721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15722 esac
   15723 fi
   15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15727 	CFLAGS="$xorg_testset_save_CFLAGS"
   15728 fi
   15729 
   15730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15733 	fi
   15734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15738 then :
   15739   printf %s "(cached) " >&6
   15740 else case e in #(
   15741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15742 /* end confdefs.h.  */
   15743 int i;
   15744 _ACEOF
   15745 if ac_fn_c_try_compile "$LINENO"
   15746 then :
   15747   xorg_cv_cc_flag_unused_command_line_argument=yes
   15748 else case e in #(
   15749   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15750 esac
   15751 fi
   15752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15753 esac
   15754 fi
   15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15756 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15757 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15758 	CFLAGS="$xorg_testset_save_CFLAGS"
   15759 fi
   15760 
   15761 found="no"
   15762 
   15763 	if test $found = "no" ; then
   15764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15766 		fi
   15767 
   15768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15770 		fi
   15771 
   15772 		CFLAGS="$CFLAGS -Wshadow"
   15773 
   15774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15775 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15776 		cacheid=xorg_cv_cc_flag__Wshadow
   15777 		if eval test \${$cacheid+y}
   15778 then :
   15779   printf %s "(cached) " >&6
   15780 else case e in #(
   15781   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 int i;
   15784 int
   15785 main (void)
   15786 {
   15787 
   15788   ;
   15789   return 0;
   15790 }
   15791 _ACEOF
   15792 if ac_fn_c_try_link "$LINENO"
   15793 then :
   15794   eval $cacheid=yes
   15795 else case e in #(
   15796   e) eval $cacheid=no ;;
   15797 esac
   15798 fi
   15799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15800     conftest$ac_exeext conftest.$ac_ext ;;
   15801 esac
   15802 fi
   15803 
   15804 
   15805 		CFLAGS="$xorg_testset_save_CFLAGS"
   15806 
   15807 		eval supported=\$$cacheid
   15808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15809 printf "%s\n" "$supported" >&6; }
   15810 		if test "$supported" = "yes" ; then
   15811 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15812 			found="yes"
   15813 		fi
   15814 	fi
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 xorg_testset_save_CFLAGS="$CFLAGS"
   15831 
   15832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15837 then :
   15838   printf %s "(cached) " >&6
   15839 else case e in #(
   15840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15841 /* end confdefs.h.  */
   15842 int i;
   15843 _ACEOF
   15844 if ac_fn_c_try_compile "$LINENO"
   15845 then :
   15846   xorg_cv_cc_flag_unknown_warning_option=yes
   15847 else case e in #(
   15848   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15849 esac
   15850 fi
   15851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15852 esac
   15853 fi
   15854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15855 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15857 	CFLAGS="$xorg_testset_save_CFLAGS"
   15858 fi
   15859 
   15860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15863 	fi
   15864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15866 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15867 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15868 then :
   15869   printf %s "(cached) " >&6
   15870 else case e in #(
   15871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15872 /* end confdefs.h.  */
   15873 int i;
   15874 _ACEOF
   15875 if ac_fn_c_try_compile "$LINENO"
   15876 then :
   15877   xorg_cv_cc_flag_unused_command_line_argument=yes
   15878 else case e in #(
   15879   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15880 esac
   15881 fi
   15882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15883 esac
   15884 fi
   15885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15888 	CFLAGS="$xorg_testset_save_CFLAGS"
   15889 fi
   15890 
   15891 found="no"
   15892 
   15893 	if test $found = "no" ; then
   15894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15896 		fi
   15897 
   15898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15900 		fi
   15901 
   15902 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15903 
   15904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15905 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15906 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15907 		if eval test \${$cacheid+y}
   15908 then :
   15909   printf %s "(cached) " >&6
   15910 else case e in #(
   15911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15912 /* end confdefs.h.  */
   15913 int i;
   15914 int
   15915 main (void)
   15916 {
   15917 
   15918   ;
   15919   return 0;
   15920 }
   15921 _ACEOF
   15922 if ac_fn_c_try_link "$LINENO"
   15923 then :
   15924   eval $cacheid=yes
   15925 else case e in #(
   15926   e) eval $cacheid=no ;;
   15927 esac
   15928 fi
   15929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15930     conftest$ac_exeext conftest.$ac_ext ;;
   15931 esac
   15932 fi
   15933 
   15934 
   15935 		CFLAGS="$xorg_testset_save_CFLAGS"
   15936 
   15937 		eval supported=\$$cacheid
   15938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15939 printf "%s\n" "$supported" >&6; }
   15940 		if test "$supported" = "yes" ; then
   15941 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15942 			found="yes"
   15943 		fi
   15944 	fi
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 xorg_testset_save_CFLAGS="$CFLAGS"
   15961 
   15962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15967 then :
   15968   printf %s "(cached) " >&6
   15969 else case e in #(
   15970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15971 /* end confdefs.h.  */
   15972 int i;
   15973 _ACEOF
   15974 if ac_fn_c_try_compile "$LINENO"
   15975 then :
   15976   xorg_cv_cc_flag_unknown_warning_option=yes
   15977 else case e in #(
   15978   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15979 esac
   15980 fi
   15981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15982 esac
   15983 fi
   15984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15987 	CFLAGS="$xorg_testset_save_CFLAGS"
   15988 fi
   15989 
   15990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15993 	fi
   15994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15998 then :
   15999   printf %s "(cached) " >&6
   16000 else case e in #(
   16001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16002 /* end confdefs.h.  */
   16003 int i;
   16004 _ACEOF
   16005 if ac_fn_c_try_compile "$LINENO"
   16006 then :
   16007   xorg_cv_cc_flag_unused_command_line_argument=yes
   16008 else case e in #(
   16009   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16010 esac
   16011 fi
   16012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16013 esac
   16014 fi
   16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16016 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16018 	CFLAGS="$xorg_testset_save_CFLAGS"
   16019 fi
   16020 
   16021 found="no"
   16022 
   16023 	if test $found = "no" ; then
   16024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16026 		fi
   16027 
   16028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16030 		fi
   16031 
   16032 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16033 
   16034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16035 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16036 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16037 		if eval test \${$cacheid+y}
   16038 then :
   16039   printf %s "(cached) " >&6
   16040 else case e in #(
   16041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16042 /* end confdefs.h.  */
   16043 int i;
   16044 int
   16045 main (void)
   16046 {
   16047 
   16048   ;
   16049   return 0;
   16050 }
   16051 _ACEOF
   16052 if ac_fn_c_try_link "$LINENO"
   16053 then :
   16054   eval $cacheid=yes
   16055 else case e in #(
   16056   e) eval $cacheid=no ;;
   16057 esac
   16058 fi
   16059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16060     conftest$ac_exeext conftest.$ac_ext ;;
   16061 esac
   16062 fi
   16063 
   16064 
   16065 		CFLAGS="$xorg_testset_save_CFLAGS"
   16066 
   16067 		eval supported=\$$cacheid
   16068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16069 printf "%s\n" "$supported" >&6; }
   16070 		if test "$supported" = "yes" ; then
   16071 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16072 			found="yes"
   16073 		fi
   16074 	fi
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 xorg_testset_save_CFLAGS="$CFLAGS"
   16091 
   16092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16097 then :
   16098   printf %s "(cached) " >&6
   16099 else case e in #(
   16100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16101 /* end confdefs.h.  */
   16102 int i;
   16103 _ACEOF
   16104 if ac_fn_c_try_compile "$LINENO"
   16105 then :
   16106   xorg_cv_cc_flag_unknown_warning_option=yes
   16107 else case e in #(
   16108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16109 esac
   16110 fi
   16111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16112 esac
   16113 fi
   16114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16117 	CFLAGS="$xorg_testset_save_CFLAGS"
   16118 fi
   16119 
   16120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16123 	fi
   16124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16128 then :
   16129   printf %s "(cached) " >&6
   16130 else case e in #(
   16131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16132 /* end confdefs.h.  */
   16133 int i;
   16134 _ACEOF
   16135 if ac_fn_c_try_compile "$LINENO"
   16136 then :
   16137   xorg_cv_cc_flag_unused_command_line_argument=yes
   16138 else case e in #(
   16139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16140 esac
   16141 fi
   16142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16143 esac
   16144 fi
   16145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16148 	CFLAGS="$xorg_testset_save_CFLAGS"
   16149 fi
   16150 
   16151 found="no"
   16152 
   16153 	if test $found = "no" ; then
   16154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16156 		fi
   16157 
   16158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16160 		fi
   16161 
   16162 		CFLAGS="$CFLAGS -Wredundant-decls"
   16163 
   16164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16165 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16166 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16167 		if eval test \${$cacheid+y}
   16168 then :
   16169   printf %s "(cached) " >&6
   16170 else case e in #(
   16171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16172 /* end confdefs.h.  */
   16173 int i;
   16174 int
   16175 main (void)
   16176 {
   16177 
   16178   ;
   16179   return 0;
   16180 }
   16181 _ACEOF
   16182 if ac_fn_c_try_link "$LINENO"
   16183 then :
   16184   eval $cacheid=yes
   16185 else case e in #(
   16186   e) eval $cacheid=no ;;
   16187 esac
   16188 fi
   16189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16190     conftest$ac_exeext conftest.$ac_ext ;;
   16191 esac
   16192 fi
   16193 
   16194 
   16195 		CFLAGS="$xorg_testset_save_CFLAGS"
   16196 
   16197 		eval supported=\$$cacheid
   16198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16199 printf "%s\n" "$supported" >&6; }
   16200 		if test "$supported" = "yes" ; then
   16201 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16202 			found="yes"
   16203 		fi
   16204 	fi
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 xorg_testset_save_CFLAGS="$CFLAGS"
   16221 
   16222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16227 then :
   16228   printf %s "(cached) " >&6
   16229 else case e in #(
   16230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16231 /* end confdefs.h.  */
   16232 int i;
   16233 _ACEOF
   16234 if ac_fn_c_try_compile "$LINENO"
   16235 then :
   16236   xorg_cv_cc_flag_unknown_warning_option=yes
   16237 else case e in #(
   16238   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16239 esac
   16240 fi
   16241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16242 esac
   16243 fi
   16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16247 	CFLAGS="$xorg_testset_save_CFLAGS"
   16248 fi
   16249 
   16250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 	fi
   16254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16258 then :
   16259   printf %s "(cached) " >&6
   16260 else case e in #(
   16261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16262 /* end confdefs.h.  */
   16263 int i;
   16264 _ACEOF
   16265 if ac_fn_c_try_compile "$LINENO"
   16266 then :
   16267   xorg_cv_cc_flag_unused_command_line_argument=yes
   16268 else case e in #(
   16269   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16270 esac
   16271 fi
   16272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16273 esac
   16274 fi
   16275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16278 	CFLAGS="$xorg_testset_save_CFLAGS"
   16279 fi
   16280 
   16281 found="no"
   16282 
   16283 	if test $found = "no" ; then
   16284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16286 		fi
   16287 
   16288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16290 		fi
   16291 
   16292 		CFLAGS="$CFLAGS -Wlogical-op"
   16293 
   16294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16295 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16296 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16297 		if eval test \${$cacheid+y}
   16298 then :
   16299   printf %s "(cached) " >&6
   16300 else case e in #(
   16301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16302 /* end confdefs.h.  */
   16303 int i;
   16304 int
   16305 main (void)
   16306 {
   16307 
   16308   ;
   16309   return 0;
   16310 }
   16311 _ACEOF
   16312 if ac_fn_c_try_link "$LINENO"
   16313 then :
   16314   eval $cacheid=yes
   16315 else case e in #(
   16316   e) eval $cacheid=no ;;
   16317 esac
   16318 fi
   16319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16320     conftest$ac_exeext conftest.$ac_ext ;;
   16321 esac
   16322 fi
   16323 
   16324 
   16325 		CFLAGS="$xorg_testset_save_CFLAGS"
   16326 
   16327 		eval supported=\$$cacheid
   16328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16329 printf "%s\n" "$supported" >&6; }
   16330 		if test "$supported" = "yes" ; then
   16331 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16332 			found="yes"
   16333 		fi
   16334 	fi
   16335 
   16336 
   16337 
   16338 # These are currently disabled because they are noisy.  They will be enabled
   16339 # in the future once the codebase is sufficiently modernized to silence
   16340 # them.  For now, I don't want them to drown out the other warnings.
   16341 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16342 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16343 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16344 
   16345 # Turn some warnings into errors, so we don't accidentally get successful builds
   16346 # when there are problems that should be fixed.
   16347 
   16348 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 xorg_testset_save_CFLAGS="$CFLAGS"
   16363 
   16364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16367 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16368 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16369 then :
   16370   printf %s "(cached) " >&6
   16371 else case e in #(
   16372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16373 /* end confdefs.h.  */
   16374 int i;
   16375 _ACEOF
   16376 if ac_fn_c_try_compile "$LINENO"
   16377 then :
   16378   xorg_cv_cc_flag_unknown_warning_option=yes
   16379 else case e in #(
   16380   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16381 esac
   16382 fi
   16383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16384 esac
   16385 fi
   16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16387 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16389 	CFLAGS="$xorg_testset_save_CFLAGS"
   16390 fi
   16391 
   16392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16395 	fi
   16396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16398 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16399 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16400 then :
   16401   printf %s "(cached) " >&6
   16402 else case e in #(
   16403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16404 /* end confdefs.h.  */
   16405 int i;
   16406 _ACEOF
   16407 if ac_fn_c_try_compile "$LINENO"
   16408 then :
   16409   xorg_cv_cc_flag_unused_command_line_argument=yes
   16410 else case e in #(
   16411   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16412 esac
   16413 fi
   16414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16415 esac
   16416 fi
   16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16418 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16420 	CFLAGS="$xorg_testset_save_CFLAGS"
   16421 fi
   16422 
   16423 found="no"
   16424 
   16425 	if test $found = "no" ; then
   16426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16428 		fi
   16429 
   16430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16432 		fi
   16433 
   16434 		CFLAGS="$CFLAGS -Werror=implicit"
   16435 
   16436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16437 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16438 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16439 		if eval test \${$cacheid+y}
   16440 then :
   16441   printf %s "(cached) " >&6
   16442 else case e in #(
   16443   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16444 /* end confdefs.h.  */
   16445 int i;
   16446 int
   16447 main (void)
   16448 {
   16449 
   16450   ;
   16451   return 0;
   16452 }
   16453 _ACEOF
   16454 if ac_fn_c_try_link "$LINENO"
   16455 then :
   16456   eval $cacheid=yes
   16457 else case e in #(
   16458   e) eval $cacheid=no ;;
   16459 esac
   16460 fi
   16461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16462     conftest$ac_exeext conftest.$ac_ext ;;
   16463 esac
   16464 fi
   16465 
   16466 
   16467 		CFLAGS="$xorg_testset_save_CFLAGS"
   16468 
   16469 		eval supported=\$$cacheid
   16470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16471 printf "%s\n" "$supported" >&6; }
   16472 		if test "$supported" = "yes" ; then
   16473 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16474 			found="yes"
   16475 		fi
   16476 	fi
   16477 
   16478 	if test $found = "no" ; then
   16479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16481 		fi
   16482 
   16483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16485 		fi
   16486 
   16487 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16488 
   16489 		{ 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
   16490 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16491 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16492 		if eval test \${$cacheid+y}
   16493 then :
   16494   printf %s "(cached) " >&6
   16495 else case e in #(
   16496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16497 /* end confdefs.h.  */
   16498 int i;
   16499 int
   16500 main (void)
   16501 {
   16502 
   16503   ;
   16504   return 0;
   16505 }
   16506 _ACEOF
   16507 if ac_fn_c_try_link "$LINENO"
   16508 then :
   16509   eval $cacheid=yes
   16510 else case e in #(
   16511   e) eval $cacheid=no ;;
   16512 esac
   16513 fi
   16514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16515     conftest$ac_exeext conftest.$ac_ext ;;
   16516 esac
   16517 fi
   16518 
   16519 
   16520 		CFLAGS="$xorg_testset_save_CFLAGS"
   16521 
   16522 		eval supported=\$$cacheid
   16523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16524 printf "%s\n" "$supported" >&6; }
   16525 		if test "$supported" = "yes" ; then
   16526 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16527 			found="yes"
   16528 		fi
   16529 	fi
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 xorg_testset_save_CFLAGS="$CFLAGS"
   16546 
   16547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16552 then :
   16553   printf %s "(cached) " >&6
   16554 else case e in #(
   16555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16556 /* end confdefs.h.  */
   16557 int i;
   16558 _ACEOF
   16559 if ac_fn_c_try_compile "$LINENO"
   16560 then :
   16561   xorg_cv_cc_flag_unknown_warning_option=yes
   16562 else case e in #(
   16563   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16564 esac
   16565 fi
   16566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16567 esac
   16568 fi
   16569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16572 	CFLAGS="$xorg_testset_save_CFLAGS"
   16573 fi
   16574 
   16575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16578 	fi
   16579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16583 then :
   16584   printf %s "(cached) " >&6
   16585 else case e in #(
   16586   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16587 /* end confdefs.h.  */
   16588 int i;
   16589 _ACEOF
   16590 if ac_fn_c_try_compile "$LINENO"
   16591 then :
   16592   xorg_cv_cc_flag_unused_command_line_argument=yes
   16593 else case e in #(
   16594   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16595 esac
   16596 fi
   16597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16598 esac
   16599 fi
   16600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16601 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16603 	CFLAGS="$xorg_testset_save_CFLAGS"
   16604 fi
   16605 
   16606 found="no"
   16607 
   16608 	if test $found = "no" ; then
   16609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16611 		fi
   16612 
   16613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16615 		fi
   16616 
   16617 		CFLAGS="$CFLAGS -Werror=nonnull"
   16618 
   16619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16620 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16621 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16622 		if eval test \${$cacheid+y}
   16623 then :
   16624   printf %s "(cached) " >&6
   16625 else case e in #(
   16626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16627 /* end confdefs.h.  */
   16628 int i;
   16629 int
   16630 main (void)
   16631 {
   16632 
   16633   ;
   16634   return 0;
   16635 }
   16636 _ACEOF
   16637 if ac_fn_c_try_link "$LINENO"
   16638 then :
   16639   eval $cacheid=yes
   16640 else case e in #(
   16641   e) eval $cacheid=no ;;
   16642 esac
   16643 fi
   16644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16645     conftest$ac_exeext conftest.$ac_ext ;;
   16646 esac
   16647 fi
   16648 
   16649 
   16650 		CFLAGS="$xorg_testset_save_CFLAGS"
   16651 
   16652 		eval supported=\$$cacheid
   16653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16654 printf "%s\n" "$supported" >&6; }
   16655 		if test "$supported" = "yes" ; then
   16656 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16657 			found="yes"
   16658 		fi
   16659 	fi
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 xorg_testset_save_CFLAGS="$CFLAGS"
   16676 
   16677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16682 then :
   16683   printf %s "(cached) " >&6
   16684 else case e in #(
   16685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16686 /* end confdefs.h.  */
   16687 int i;
   16688 _ACEOF
   16689 if ac_fn_c_try_compile "$LINENO"
   16690 then :
   16691   xorg_cv_cc_flag_unknown_warning_option=yes
   16692 else case e in #(
   16693   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16694 esac
   16695 fi
   16696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16697 esac
   16698 fi
   16699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16700 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16702 	CFLAGS="$xorg_testset_save_CFLAGS"
   16703 fi
   16704 
   16705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16708 	fi
   16709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16713 then :
   16714   printf %s "(cached) " >&6
   16715 else case e in #(
   16716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16717 /* end confdefs.h.  */
   16718 int i;
   16719 _ACEOF
   16720 if ac_fn_c_try_compile "$LINENO"
   16721 then :
   16722   xorg_cv_cc_flag_unused_command_line_argument=yes
   16723 else case e in #(
   16724   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16725 esac
   16726 fi
   16727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16728 esac
   16729 fi
   16730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16731 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16733 	CFLAGS="$xorg_testset_save_CFLAGS"
   16734 fi
   16735 
   16736 found="no"
   16737 
   16738 	if test $found = "no" ; then
   16739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16741 		fi
   16742 
   16743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16745 		fi
   16746 
   16747 		CFLAGS="$CFLAGS -Werror=init-self"
   16748 
   16749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16750 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16751 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16752 		if eval test \${$cacheid+y}
   16753 then :
   16754   printf %s "(cached) " >&6
   16755 else case e in #(
   16756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16757 /* end confdefs.h.  */
   16758 int i;
   16759 int
   16760 main (void)
   16761 {
   16762 
   16763   ;
   16764   return 0;
   16765 }
   16766 _ACEOF
   16767 if ac_fn_c_try_link "$LINENO"
   16768 then :
   16769   eval $cacheid=yes
   16770 else case e in #(
   16771   e) eval $cacheid=no ;;
   16772 esac
   16773 fi
   16774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16775     conftest$ac_exeext conftest.$ac_ext ;;
   16776 esac
   16777 fi
   16778 
   16779 
   16780 		CFLAGS="$xorg_testset_save_CFLAGS"
   16781 
   16782 		eval supported=\$$cacheid
   16783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16784 printf "%s\n" "$supported" >&6; }
   16785 		if test "$supported" = "yes" ; then
   16786 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16787 			found="yes"
   16788 		fi
   16789 	fi
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 xorg_testset_save_CFLAGS="$CFLAGS"
   16806 
   16807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16812 then :
   16813   printf %s "(cached) " >&6
   16814 else case e in #(
   16815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16816 /* end confdefs.h.  */
   16817 int i;
   16818 _ACEOF
   16819 if ac_fn_c_try_compile "$LINENO"
   16820 then :
   16821   xorg_cv_cc_flag_unknown_warning_option=yes
   16822 else case e in #(
   16823   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16824 esac
   16825 fi
   16826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16827 esac
   16828 fi
   16829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16830 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16832 	CFLAGS="$xorg_testset_save_CFLAGS"
   16833 fi
   16834 
   16835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16838 	fi
   16839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16841 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16842 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16843 then :
   16844   printf %s "(cached) " >&6
   16845 else case e in #(
   16846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16847 /* end confdefs.h.  */
   16848 int i;
   16849 _ACEOF
   16850 if ac_fn_c_try_compile "$LINENO"
   16851 then :
   16852   xorg_cv_cc_flag_unused_command_line_argument=yes
   16853 else case e in #(
   16854   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16855 esac
   16856 fi
   16857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16858 esac
   16859 fi
   16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16863 	CFLAGS="$xorg_testset_save_CFLAGS"
   16864 fi
   16865 
   16866 found="no"
   16867 
   16868 	if test $found = "no" ; then
   16869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 		fi
   16872 
   16873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16875 		fi
   16876 
   16877 		CFLAGS="$CFLAGS -Werror=main"
   16878 
   16879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16880 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16881 		cacheid=xorg_cv_cc_flag__Werror_main
   16882 		if eval test \${$cacheid+y}
   16883 then :
   16884   printf %s "(cached) " >&6
   16885 else case e in #(
   16886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16887 /* end confdefs.h.  */
   16888 int i;
   16889 int
   16890 main (void)
   16891 {
   16892 
   16893   ;
   16894   return 0;
   16895 }
   16896 _ACEOF
   16897 if ac_fn_c_try_link "$LINENO"
   16898 then :
   16899   eval $cacheid=yes
   16900 else case e in #(
   16901   e) eval $cacheid=no ;;
   16902 esac
   16903 fi
   16904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16905     conftest$ac_exeext conftest.$ac_ext ;;
   16906 esac
   16907 fi
   16908 
   16909 
   16910 		CFLAGS="$xorg_testset_save_CFLAGS"
   16911 
   16912 		eval supported=\$$cacheid
   16913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16914 printf "%s\n" "$supported" >&6; }
   16915 		if test "$supported" = "yes" ; then
   16916 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16917 			found="yes"
   16918 		fi
   16919 	fi
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 xorg_testset_save_CFLAGS="$CFLAGS"
   16936 
   16937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16940 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16941 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16942 then :
   16943   printf %s "(cached) " >&6
   16944 else case e in #(
   16945   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16946 /* end confdefs.h.  */
   16947 int i;
   16948 _ACEOF
   16949 if ac_fn_c_try_compile "$LINENO"
   16950 then :
   16951   xorg_cv_cc_flag_unknown_warning_option=yes
   16952 else case e in #(
   16953   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16954 esac
   16955 fi
   16956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16957 esac
   16958 fi
   16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16962 	CFLAGS="$xorg_testset_save_CFLAGS"
   16963 fi
   16964 
   16965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16968 	fi
   16969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16973 then :
   16974   printf %s "(cached) " >&6
   16975 else case e in #(
   16976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16977 /* end confdefs.h.  */
   16978 int i;
   16979 _ACEOF
   16980 if ac_fn_c_try_compile "$LINENO"
   16981 then :
   16982   xorg_cv_cc_flag_unused_command_line_argument=yes
   16983 else case e in #(
   16984   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16985 esac
   16986 fi
   16987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16988 esac
   16989 fi
   16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16991 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16993 	CFLAGS="$xorg_testset_save_CFLAGS"
   16994 fi
   16995 
   16996 found="no"
   16997 
   16998 	if test $found = "no" ; then
   16999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17001 		fi
   17002 
   17003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17005 		fi
   17006 
   17007 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17008 
   17009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17010 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17011 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17012 		if eval test \${$cacheid+y}
   17013 then :
   17014   printf %s "(cached) " >&6
   17015 else case e in #(
   17016   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17017 /* end confdefs.h.  */
   17018 int i;
   17019 int
   17020 main (void)
   17021 {
   17022 
   17023   ;
   17024   return 0;
   17025 }
   17026 _ACEOF
   17027 if ac_fn_c_try_link "$LINENO"
   17028 then :
   17029   eval $cacheid=yes
   17030 else case e in #(
   17031   e) eval $cacheid=no ;;
   17032 esac
   17033 fi
   17034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17035     conftest$ac_exeext conftest.$ac_ext ;;
   17036 esac
   17037 fi
   17038 
   17039 
   17040 		CFLAGS="$xorg_testset_save_CFLAGS"
   17041 
   17042 		eval supported=\$$cacheid
   17043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17044 printf "%s\n" "$supported" >&6; }
   17045 		if test "$supported" = "yes" ; then
   17046 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17047 			found="yes"
   17048 		fi
   17049 	fi
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 xorg_testset_save_CFLAGS="$CFLAGS"
   17066 
   17067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17072 then :
   17073   printf %s "(cached) " >&6
   17074 else case e in #(
   17075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17076 /* end confdefs.h.  */
   17077 int i;
   17078 _ACEOF
   17079 if ac_fn_c_try_compile "$LINENO"
   17080 then :
   17081   xorg_cv_cc_flag_unknown_warning_option=yes
   17082 else case e in #(
   17083   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17084 esac
   17085 fi
   17086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17087 esac
   17088 fi
   17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17092 	CFLAGS="$xorg_testset_save_CFLAGS"
   17093 fi
   17094 
   17095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17098 	fi
   17099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17103 then :
   17104   printf %s "(cached) " >&6
   17105 else case e in #(
   17106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17107 /* end confdefs.h.  */
   17108 int i;
   17109 _ACEOF
   17110 if ac_fn_c_try_compile "$LINENO"
   17111 then :
   17112   xorg_cv_cc_flag_unused_command_line_argument=yes
   17113 else case e in #(
   17114   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17115 esac
   17116 fi
   17117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17118 esac
   17119 fi
   17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17123 	CFLAGS="$xorg_testset_save_CFLAGS"
   17124 fi
   17125 
   17126 found="no"
   17127 
   17128 	if test $found = "no" ; then
   17129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17131 		fi
   17132 
   17133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17135 		fi
   17136 
   17137 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17138 
   17139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17140 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17141 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17142 		if eval test \${$cacheid+y}
   17143 then :
   17144   printf %s "(cached) " >&6
   17145 else case e in #(
   17146   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17147 /* end confdefs.h.  */
   17148 int i;
   17149 int
   17150 main (void)
   17151 {
   17152 
   17153   ;
   17154   return 0;
   17155 }
   17156 _ACEOF
   17157 if ac_fn_c_try_link "$LINENO"
   17158 then :
   17159   eval $cacheid=yes
   17160 else case e in #(
   17161   e) eval $cacheid=no ;;
   17162 esac
   17163 fi
   17164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17165     conftest$ac_exeext conftest.$ac_ext ;;
   17166 esac
   17167 fi
   17168 
   17169 
   17170 		CFLAGS="$xorg_testset_save_CFLAGS"
   17171 
   17172 		eval supported=\$$cacheid
   17173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17174 printf "%s\n" "$supported" >&6; }
   17175 		if test "$supported" = "yes" ; then
   17176 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17177 			found="yes"
   17178 		fi
   17179 	fi
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 xorg_testset_save_CFLAGS="$CFLAGS"
   17196 
   17197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17202 then :
   17203   printf %s "(cached) " >&6
   17204 else case e in #(
   17205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17206 /* end confdefs.h.  */
   17207 int i;
   17208 _ACEOF
   17209 if ac_fn_c_try_compile "$LINENO"
   17210 then :
   17211   xorg_cv_cc_flag_unknown_warning_option=yes
   17212 else case e in #(
   17213   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17214 esac
   17215 fi
   17216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17217 esac
   17218 fi
   17219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17222 	CFLAGS="$xorg_testset_save_CFLAGS"
   17223 fi
   17224 
   17225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17228 	fi
   17229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17233 then :
   17234   printf %s "(cached) " >&6
   17235 else case e in #(
   17236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 _ACEOF
   17240 if ac_fn_c_try_compile "$LINENO"
   17241 then :
   17242   xorg_cv_cc_flag_unused_command_line_argument=yes
   17243 else case e in #(
   17244   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17245 esac
   17246 fi
   17247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17248 esac
   17249 fi
   17250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17251 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17253 	CFLAGS="$xorg_testset_save_CFLAGS"
   17254 fi
   17255 
   17256 found="no"
   17257 
   17258 	if test $found = "no" ; then
   17259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17261 		fi
   17262 
   17263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17265 		fi
   17266 
   17267 		CFLAGS="$CFLAGS -Werror=return-type"
   17268 
   17269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17270 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17271 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17272 		if eval test \${$cacheid+y}
   17273 then :
   17274   printf %s "(cached) " >&6
   17275 else case e in #(
   17276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17277 /* end confdefs.h.  */
   17278 int i;
   17279 int
   17280 main (void)
   17281 {
   17282 
   17283   ;
   17284   return 0;
   17285 }
   17286 _ACEOF
   17287 if ac_fn_c_try_link "$LINENO"
   17288 then :
   17289   eval $cacheid=yes
   17290 else case e in #(
   17291   e) eval $cacheid=no ;;
   17292 esac
   17293 fi
   17294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17295     conftest$ac_exeext conftest.$ac_ext ;;
   17296 esac
   17297 fi
   17298 
   17299 
   17300 		CFLAGS="$xorg_testset_save_CFLAGS"
   17301 
   17302 		eval supported=\$$cacheid
   17303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17304 printf "%s\n" "$supported" >&6; }
   17305 		if test "$supported" = "yes" ; then
   17306 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17307 			found="yes"
   17308 		fi
   17309 	fi
   17310 
   17311 	if test $found = "no" ; then
   17312 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17314 		fi
   17315 
   17316 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17318 		fi
   17319 
   17320 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17321 
   17322 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17323 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17324 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17325 		if eval test \${$cacheid+y}
   17326 then :
   17327   printf %s "(cached) " >&6
   17328 else case e in #(
   17329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17330 /* end confdefs.h.  */
   17331 int i;
   17332 int
   17333 main (void)
   17334 {
   17335 
   17336   ;
   17337   return 0;
   17338 }
   17339 _ACEOF
   17340 if ac_fn_c_try_link "$LINENO"
   17341 then :
   17342   eval $cacheid=yes
   17343 else case e in #(
   17344   e) eval $cacheid=no ;;
   17345 esac
   17346 fi
   17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17348     conftest$ac_exeext conftest.$ac_ext ;;
   17349 esac
   17350 fi
   17351 
   17352 
   17353 		CFLAGS="$xorg_testset_save_CFLAGS"
   17354 
   17355 		eval supported=\$$cacheid
   17356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17357 printf "%s\n" "$supported" >&6; }
   17358 		if test "$supported" = "yes" ; then
   17359 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17360 			found="yes"
   17361 		fi
   17362 	fi
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 
   17378 xorg_testset_save_CFLAGS="$CFLAGS"
   17379 
   17380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17383 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17384 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17385 then :
   17386   printf %s "(cached) " >&6
   17387 else case e in #(
   17388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17389 /* end confdefs.h.  */
   17390 int i;
   17391 _ACEOF
   17392 if ac_fn_c_try_compile "$LINENO"
   17393 then :
   17394   xorg_cv_cc_flag_unknown_warning_option=yes
   17395 else case e in #(
   17396   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17397 esac
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17400 esac
   17401 fi
   17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17403 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17405 	CFLAGS="$xorg_testset_save_CFLAGS"
   17406 fi
   17407 
   17408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17411 	fi
   17412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17414 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17415 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17416 then :
   17417   printf %s "(cached) " >&6
   17418 else case e in #(
   17419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17420 /* end confdefs.h.  */
   17421 int i;
   17422 _ACEOF
   17423 if ac_fn_c_try_compile "$LINENO"
   17424 then :
   17425   xorg_cv_cc_flag_unused_command_line_argument=yes
   17426 else case e in #(
   17427   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17428 esac
   17429 fi
   17430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17431 esac
   17432 fi
   17433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17434 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17436 	CFLAGS="$xorg_testset_save_CFLAGS"
   17437 fi
   17438 
   17439 found="no"
   17440 
   17441 	if test $found = "no" ; then
   17442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17444 		fi
   17445 
   17446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17448 		fi
   17449 
   17450 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17451 
   17452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17453 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17454 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17455 		if eval test \${$cacheid+y}
   17456 then :
   17457   printf %s "(cached) " >&6
   17458 else case e in #(
   17459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17460 /* end confdefs.h.  */
   17461 int i;
   17462 int
   17463 main (void)
   17464 {
   17465 
   17466   ;
   17467   return 0;
   17468 }
   17469 _ACEOF
   17470 if ac_fn_c_try_link "$LINENO"
   17471 then :
   17472   eval $cacheid=yes
   17473 else case e in #(
   17474   e) eval $cacheid=no ;;
   17475 esac
   17476 fi
   17477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17478     conftest$ac_exeext conftest.$ac_ext ;;
   17479 esac
   17480 fi
   17481 
   17482 
   17483 		CFLAGS="$xorg_testset_save_CFLAGS"
   17484 
   17485 		eval supported=\$$cacheid
   17486 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17487 printf "%s\n" "$supported" >&6; }
   17488 		if test "$supported" = "yes" ; then
   17489 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17490 			found="yes"
   17491 		fi
   17492 	fi
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 xorg_testset_save_CFLAGS="$CFLAGS"
   17509 
   17510 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17511 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17513 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17514 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17515 then :
   17516   printf %s "(cached) " >&6
   17517 else case e in #(
   17518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17519 /* end confdefs.h.  */
   17520 int i;
   17521 _ACEOF
   17522 if ac_fn_c_try_compile "$LINENO"
   17523 then :
   17524   xorg_cv_cc_flag_unknown_warning_option=yes
   17525 else case e in #(
   17526   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17527 esac
   17528 fi
   17529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17530 esac
   17531 fi
   17532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17533 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17535 	CFLAGS="$xorg_testset_save_CFLAGS"
   17536 fi
   17537 
   17538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17541 	fi
   17542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17544 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17545 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17546 then :
   17547   printf %s "(cached) " >&6
   17548 else case e in #(
   17549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17550 /* end confdefs.h.  */
   17551 int i;
   17552 _ACEOF
   17553 if ac_fn_c_try_compile "$LINENO"
   17554 then :
   17555   xorg_cv_cc_flag_unused_command_line_argument=yes
   17556 else case e in #(
   17557   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17558 esac
   17559 fi
   17560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17561 esac
   17562 fi
   17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17564 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17566 	CFLAGS="$xorg_testset_save_CFLAGS"
   17567 fi
   17568 
   17569 found="no"
   17570 
   17571 	if test $found = "no" ; then
   17572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17574 		fi
   17575 
   17576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17578 		fi
   17579 
   17580 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17581 
   17582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17583 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17584 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17585 		if eval test \${$cacheid+y}
   17586 then :
   17587   printf %s "(cached) " >&6
   17588 else case e in #(
   17589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17590 /* end confdefs.h.  */
   17591 int i;
   17592 int
   17593 main (void)
   17594 {
   17595 
   17596   ;
   17597   return 0;
   17598 }
   17599 _ACEOF
   17600 if ac_fn_c_try_link "$LINENO"
   17601 then :
   17602   eval $cacheid=yes
   17603 else case e in #(
   17604   e) eval $cacheid=no ;;
   17605 esac
   17606 fi
   17607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17608     conftest$ac_exeext conftest.$ac_ext ;;
   17609 esac
   17610 fi
   17611 
   17612 
   17613 		CFLAGS="$xorg_testset_save_CFLAGS"
   17614 
   17615 		eval supported=\$$cacheid
   17616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17617 printf "%s\n" "$supported" >&6; }
   17618 		if test "$supported" = "yes" ; then
   17619 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17620 			found="yes"
   17621 		fi
   17622 	fi
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 xorg_testset_save_CFLAGS="$CFLAGS"
   17639 
   17640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17645 then :
   17646   printf %s "(cached) " >&6
   17647 else case e in #(
   17648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17649 /* end confdefs.h.  */
   17650 int i;
   17651 _ACEOF
   17652 if ac_fn_c_try_compile "$LINENO"
   17653 then :
   17654   xorg_cv_cc_flag_unknown_warning_option=yes
   17655 else case e in #(
   17656   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17657 esac
   17658 fi
   17659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17660 esac
   17661 fi
   17662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17663 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17665 	CFLAGS="$xorg_testset_save_CFLAGS"
   17666 fi
   17667 
   17668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17671 	fi
   17672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17674 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17675 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17676 then :
   17677   printf %s "(cached) " >&6
   17678 else case e in #(
   17679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17680 /* end confdefs.h.  */
   17681 int i;
   17682 _ACEOF
   17683 if ac_fn_c_try_compile "$LINENO"
   17684 then :
   17685   xorg_cv_cc_flag_unused_command_line_argument=yes
   17686 else case e in #(
   17687   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17688 esac
   17689 fi
   17690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17691 esac
   17692 fi
   17693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17696 	CFLAGS="$xorg_testset_save_CFLAGS"
   17697 fi
   17698 
   17699 found="no"
   17700 
   17701 	if test $found = "no" ; then
   17702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17704 		fi
   17705 
   17706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17708 		fi
   17709 
   17710 		CFLAGS="$CFLAGS -Werror=write-strings"
   17711 
   17712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17713 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17714 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17715 		if eval test \${$cacheid+y}
   17716 then :
   17717   printf %s "(cached) " >&6
   17718 else case e in #(
   17719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17720 /* end confdefs.h.  */
   17721 int i;
   17722 int
   17723 main (void)
   17724 {
   17725 
   17726   ;
   17727   return 0;
   17728 }
   17729 _ACEOF
   17730 if ac_fn_c_try_link "$LINENO"
   17731 then :
   17732   eval $cacheid=yes
   17733 else case e in #(
   17734   e) eval $cacheid=no ;;
   17735 esac
   17736 fi
   17737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17738     conftest$ac_exeext conftest.$ac_ext ;;
   17739 esac
   17740 fi
   17741 
   17742 
   17743 		CFLAGS="$xorg_testset_save_CFLAGS"
   17744 
   17745 		eval supported=\$$cacheid
   17746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17747 printf "%s\n" "$supported" >&6; }
   17748 		if test "$supported" = "yes" ; then
   17749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17750 			found="yes"
   17751 		fi
   17752 	fi
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 xorg_testset_save_CFLAGS="$CFLAGS"
   17769 
   17770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17775 then :
   17776   printf %s "(cached) " >&6
   17777 else case e in #(
   17778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17779 /* end confdefs.h.  */
   17780 int i;
   17781 _ACEOF
   17782 if ac_fn_c_try_compile "$LINENO"
   17783 then :
   17784   xorg_cv_cc_flag_unknown_warning_option=yes
   17785 else case e in #(
   17786   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17787 esac
   17788 fi
   17789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17790 esac
   17791 fi
   17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17793 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17795 	CFLAGS="$xorg_testset_save_CFLAGS"
   17796 fi
   17797 
   17798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17801 	fi
   17802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17806 then :
   17807   printf %s "(cached) " >&6
   17808 else case e in #(
   17809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17810 /* end confdefs.h.  */
   17811 int i;
   17812 _ACEOF
   17813 if ac_fn_c_try_compile "$LINENO"
   17814 then :
   17815   xorg_cv_cc_flag_unused_command_line_argument=yes
   17816 else case e in #(
   17817   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17818 esac
   17819 fi
   17820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17821 esac
   17822 fi
   17823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17826 	CFLAGS="$xorg_testset_save_CFLAGS"
   17827 fi
   17828 
   17829 found="no"
   17830 
   17831 	if test $found = "no" ; then
   17832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17834 		fi
   17835 
   17836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17838 		fi
   17839 
   17840 		CFLAGS="$CFLAGS -Werror=address"
   17841 
   17842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17843 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17844 		cacheid=xorg_cv_cc_flag__Werror_address
   17845 		if eval test \${$cacheid+y}
   17846 then :
   17847   printf %s "(cached) " >&6
   17848 else case e in #(
   17849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17850 /* end confdefs.h.  */
   17851 int i;
   17852 int
   17853 main (void)
   17854 {
   17855 
   17856   ;
   17857   return 0;
   17858 }
   17859 _ACEOF
   17860 if ac_fn_c_try_link "$LINENO"
   17861 then :
   17862   eval $cacheid=yes
   17863 else case e in #(
   17864   e) eval $cacheid=no ;;
   17865 esac
   17866 fi
   17867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17868     conftest$ac_exeext conftest.$ac_ext ;;
   17869 esac
   17870 fi
   17871 
   17872 
   17873 		CFLAGS="$xorg_testset_save_CFLAGS"
   17874 
   17875 		eval supported=\$$cacheid
   17876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17877 printf "%s\n" "$supported" >&6; }
   17878 		if test "$supported" = "yes" ; then
   17879 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17880 			found="yes"
   17881 		fi
   17882 	fi
   17883 
   17884 
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 xorg_testset_save_CFLAGS="$CFLAGS"
   17899 
   17900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17905 then :
   17906   printf %s "(cached) " >&6
   17907 else case e in #(
   17908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17909 /* end confdefs.h.  */
   17910 int i;
   17911 _ACEOF
   17912 if ac_fn_c_try_compile "$LINENO"
   17913 then :
   17914   xorg_cv_cc_flag_unknown_warning_option=yes
   17915 else case e in #(
   17916   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17917 esac
   17918 fi
   17919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17920 esac
   17921 fi
   17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17923 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17925 	CFLAGS="$xorg_testset_save_CFLAGS"
   17926 fi
   17927 
   17928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17931 	fi
   17932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17934 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17935 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17936 then :
   17937   printf %s "(cached) " >&6
   17938 else case e in #(
   17939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17940 /* end confdefs.h.  */
   17941 int i;
   17942 _ACEOF
   17943 if ac_fn_c_try_compile "$LINENO"
   17944 then :
   17945   xorg_cv_cc_flag_unused_command_line_argument=yes
   17946 else case e in #(
   17947   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17948 esac
   17949 fi
   17950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17951 esac
   17952 fi
   17953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17954 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17956 	CFLAGS="$xorg_testset_save_CFLAGS"
   17957 fi
   17958 
   17959 found="no"
   17960 
   17961 	if test $found = "no" ; then
   17962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17964 		fi
   17965 
   17966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17968 		fi
   17969 
   17970 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17971 
   17972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17973 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17974 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17975 		if eval test \${$cacheid+y}
   17976 then :
   17977   printf %s "(cached) " >&6
   17978 else case e in #(
   17979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17980 /* end confdefs.h.  */
   17981 int i;
   17982 int
   17983 main (void)
   17984 {
   17985 
   17986   ;
   17987   return 0;
   17988 }
   17989 _ACEOF
   17990 if ac_fn_c_try_link "$LINENO"
   17991 then :
   17992   eval $cacheid=yes
   17993 else case e in #(
   17994   e) eval $cacheid=no ;;
   17995 esac
   17996 fi
   17997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17998     conftest$ac_exeext conftest.$ac_ext ;;
   17999 esac
   18000 fi
   18001 
   18002 
   18003 		CFLAGS="$xorg_testset_save_CFLAGS"
   18004 
   18005 		eval supported=\$$cacheid
   18006 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18007 printf "%s\n" "$supported" >&6; }
   18008 		if test "$supported" = "yes" ; then
   18009 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18010 			found="yes"
   18011 		fi
   18012 	fi
   18013 
   18014 	if test $found = "no" ; then
   18015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18017 		fi
   18018 
   18019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18021 		fi
   18022 
   18023 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18024 
   18025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18026 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18027 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18028 		if eval test \${$cacheid+y}
   18029 then :
   18030   printf %s "(cached) " >&6
   18031 else case e in #(
   18032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18033 /* end confdefs.h.  */
   18034 int i;
   18035 int
   18036 main (void)
   18037 {
   18038 
   18039   ;
   18040   return 0;
   18041 }
   18042 _ACEOF
   18043 if ac_fn_c_try_link "$LINENO"
   18044 then :
   18045   eval $cacheid=yes
   18046 else case e in #(
   18047   e) eval $cacheid=no ;;
   18048 esac
   18049 fi
   18050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18051     conftest$ac_exeext conftest.$ac_ext ;;
   18052 esac
   18053 fi
   18054 
   18055 
   18056 		CFLAGS="$xorg_testset_save_CFLAGS"
   18057 
   18058 		eval supported=\$$cacheid
   18059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18060 printf "%s\n" "$supported" >&6; }
   18061 		if test "$supported" = "yes" ; then
   18062 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18063 			found="yes"
   18064 		fi
   18065 	fi
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 xorg_testset_save_CFLAGS="$CFLAGS"
   18082 
   18083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18086 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18087 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18088 then :
   18089   printf %s "(cached) " >&6
   18090 else case e in #(
   18091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18092 /* end confdefs.h.  */
   18093 int i;
   18094 _ACEOF
   18095 if ac_fn_c_try_compile "$LINENO"
   18096 then :
   18097   xorg_cv_cc_flag_unknown_warning_option=yes
   18098 else case e in #(
   18099   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18100 esac
   18101 fi
   18102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18103 esac
   18104 fi
   18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18106 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18108 	CFLAGS="$xorg_testset_save_CFLAGS"
   18109 fi
   18110 
   18111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18114 	fi
   18115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18117 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18118 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18119 then :
   18120   printf %s "(cached) " >&6
   18121 else case e in #(
   18122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18123 /* end confdefs.h.  */
   18124 int i;
   18125 _ACEOF
   18126 if ac_fn_c_try_compile "$LINENO"
   18127 then :
   18128   xorg_cv_cc_flag_unused_command_line_argument=yes
   18129 else case e in #(
   18130   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18131 esac
   18132 fi
   18133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18134 esac
   18135 fi
   18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18137 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18139 	CFLAGS="$xorg_testset_save_CFLAGS"
   18140 fi
   18141 
   18142 found="no"
   18143 
   18144 	if test $found = "no" ; then
   18145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18147 		fi
   18148 
   18149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18151 		fi
   18152 
   18153 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18154 
   18155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18156 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18157 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18158 		if eval test \${$cacheid+y}
   18159 then :
   18160   printf %s "(cached) " >&6
   18161 else case e in #(
   18162   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18163 /* end confdefs.h.  */
   18164 int i;
   18165 int
   18166 main (void)
   18167 {
   18168 
   18169   ;
   18170   return 0;
   18171 }
   18172 _ACEOF
   18173 if ac_fn_c_try_link "$LINENO"
   18174 then :
   18175   eval $cacheid=yes
   18176 else case e in #(
   18177   e) eval $cacheid=no ;;
   18178 esac
   18179 fi
   18180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18181     conftest$ac_exeext conftest.$ac_ext ;;
   18182 esac
   18183 fi
   18184 
   18185 
   18186 		CFLAGS="$xorg_testset_save_CFLAGS"
   18187 
   18188 		eval supported=\$$cacheid
   18189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18190 printf "%s\n" "$supported" >&6; }
   18191 		if test "$supported" = "yes" ; then
   18192 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18193 			found="yes"
   18194 		fi
   18195 	fi
   18196 
   18197  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18198 else
   18199 { 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
   18200 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;}
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 xorg_testset_save_CFLAGS="$CFLAGS"
   18215 
   18216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18221 then :
   18222   printf %s "(cached) " >&6
   18223 else case e in #(
   18224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18225 /* end confdefs.h.  */
   18226 int i;
   18227 _ACEOF
   18228 if ac_fn_c_try_compile "$LINENO"
   18229 then :
   18230   xorg_cv_cc_flag_unknown_warning_option=yes
   18231 else case e in #(
   18232   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18233 esac
   18234 fi
   18235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18236 esac
   18237 fi
   18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18239 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18241 	CFLAGS="$xorg_testset_save_CFLAGS"
   18242 fi
   18243 
   18244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18247 	fi
   18248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18250 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18251 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18252 then :
   18253   printf %s "(cached) " >&6
   18254 else case e in #(
   18255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18256 /* end confdefs.h.  */
   18257 int i;
   18258 _ACEOF
   18259 if ac_fn_c_try_compile "$LINENO"
   18260 then :
   18261   xorg_cv_cc_flag_unused_command_line_argument=yes
   18262 else case e in #(
   18263   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18264 esac
   18265 fi
   18266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18267 esac
   18268 fi
   18269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18270 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18272 	CFLAGS="$xorg_testset_save_CFLAGS"
   18273 fi
   18274 
   18275 found="no"
   18276 
   18277 	if test $found = "no" ; then
   18278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18280 		fi
   18281 
   18282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18284 		fi
   18285 
   18286 		CFLAGS="$CFLAGS -Wimplicit"
   18287 
   18288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18289 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18290 		cacheid=xorg_cv_cc_flag__Wimplicit
   18291 		if eval test \${$cacheid+y}
   18292 then :
   18293   printf %s "(cached) " >&6
   18294 else case e in #(
   18295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18296 /* end confdefs.h.  */
   18297 int i;
   18298 int
   18299 main (void)
   18300 {
   18301 
   18302   ;
   18303   return 0;
   18304 }
   18305 _ACEOF
   18306 if ac_fn_c_try_link "$LINENO"
   18307 then :
   18308   eval $cacheid=yes
   18309 else case e in #(
   18310   e) eval $cacheid=no ;;
   18311 esac
   18312 fi
   18313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18314     conftest$ac_exeext conftest.$ac_ext ;;
   18315 esac
   18316 fi
   18317 
   18318 
   18319 		CFLAGS="$xorg_testset_save_CFLAGS"
   18320 
   18321 		eval supported=\$$cacheid
   18322 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18323 printf "%s\n" "$supported" >&6; }
   18324 		if test "$supported" = "yes" ; then
   18325 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18326 			found="yes"
   18327 		fi
   18328 	fi
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 xorg_testset_save_CFLAGS="$CFLAGS"
   18345 
   18346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18349 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18350 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18351 then :
   18352   printf %s "(cached) " >&6
   18353 else case e in #(
   18354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18355 /* end confdefs.h.  */
   18356 int i;
   18357 _ACEOF
   18358 if ac_fn_c_try_compile "$LINENO"
   18359 then :
   18360   xorg_cv_cc_flag_unknown_warning_option=yes
   18361 else case e in #(
   18362   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18363 esac
   18364 fi
   18365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18366 esac
   18367 fi
   18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18369 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18371 	CFLAGS="$xorg_testset_save_CFLAGS"
   18372 fi
   18373 
   18374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18377 	fi
   18378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18380 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18381 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18382 then :
   18383   printf %s "(cached) " >&6
   18384 else case e in #(
   18385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18386 /* end confdefs.h.  */
   18387 int i;
   18388 _ACEOF
   18389 if ac_fn_c_try_compile "$LINENO"
   18390 then :
   18391   xorg_cv_cc_flag_unused_command_line_argument=yes
   18392 else case e in #(
   18393   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18394 esac
   18395 fi
   18396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18397 esac
   18398 fi
   18399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18400 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18402 	CFLAGS="$xorg_testset_save_CFLAGS"
   18403 fi
   18404 
   18405 found="no"
   18406 
   18407 	if test $found = "no" ; then
   18408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18410 		fi
   18411 
   18412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18414 		fi
   18415 
   18416 		CFLAGS="$CFLAGS -Wnonnull"
   18417 
   18418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18419 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18420 		cacheid=xorg_cv_cc_flag__Wnonnull
   18421 		if eval test \${$cacheid+y}
   18422 then :
   18423   printf %s "(cached) " >&6
   18424 else case e in #(
   18425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18426 /* end confdefs.h.  */
   18427 int i;
   18428 int
   18429 main (void)
   18430 {
   18431 
   18432   ;
   18433   return 0;
   18434 }
   18435 _ACEOF
   18436 if ac_fn_c_try_link "$LINENO"
   18437 then :
   18438   eval $cacheid=yes
   18439 else case e in #(
   18440   e) eval $cacheid=no ;;
   18441 esac
   18442 fi
   18443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18444     conftest$ac_exeext conftest.$ac_ext ;;
   18445 esac
   18446 fi
   18447 
   18448 
   18449 		CFLAGS="$xorg_testset_save_CFLAGS"
   18450 
   18451 		eval supported=\$$cacheid
   18452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18453 printf "%s\n" "$supported" >&6; }
   18454 		if test "$supported" = "yes" ; then
   18455 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18456 			found="yes"
   18457 		fi
   18458 	fi
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 xorg_testset_save_CFLAGS="$CFLAGS"
   18475 
   18476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18479 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18480 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18481 then :
   18482   printf %s "(cached) " >&6
   18483 else case e in #(
   18484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18485 /* end confdefs.h.  */
   18486 int i;
   18487 _ACEOF
   18488 if ac_fn_c_try_compile "$LINENO"
   18489 then :
   18490   xorg_cv_cc_flag_unknown_warning_option=yes
   18491 else case e in #(
   18492   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18493 esac
   18494 fi
   18495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18496 esac
   18497 fi
   18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18499 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18501 	CFLAGS="$xorg_testset_save_CFLAGS"
   18502 fi
   18503 
   18504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18507 	fi
   18508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18512 then :
   18513   printf %s "(cached) " >&6
   18514 else case e in #(
   18515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18516 /* end confdefs.h.  */
   18517 int i;
   18518 _ACEOF
   18519 if ac_fn_c_try_compile "$LINENO"
   18520 then :
   18521   xorg_cv_cc_flag_unused_command_line_argument=yes
   18522 else case e in #(
   18523   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18524 esac
   18525 fi
   18526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18527 esac
   18528 fi
   18529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18530 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18532 	CFLAGS="$xorg_testset_save_CFLAGS"
   18533 fi
   18534 
   18535 found="no"
   18536 
   18537 	if test $found = "no" ; then
   18538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18540 		fi
   18541 
   18542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18544 		fi
   18545 
   18546 		CFLAGS="$CFLAGS -Winit-self"
   18547 
   18548 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18549 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18550 		cacheid=xorg_cv_cc_flag__Winit_self
   18551 		if eval test \${$cacheid+y}
   18552 then :
   18553   printf %s "(cached) " >&6
   18554 else case e in #(
   18555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18556 /* end confdefs.h.  */
   18557 int i;
   18558 int
   18559 main (void)
   18560 {
   18561 
   18562   ;
   18563   return 0;
   18564 }
   18565 _ACEOF
   18566 if ac_fn_c_try_link "$LINENO"
   18567 then :
   18568   eval $cacheid=yes
   18569 else case e in #(
   18570   e) eval $cacheid=no ;;
   18571 esac
   18572 fi
   18573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18574     conftest$ac_exeext conftest.$ac_ext ;;
   18575 esac
   18576 fi
   18577 
   18578 
   18579 		CFLAGS="$xorg_testset_save_CFLAGS"
   18580 
   18581 		eval supported=\$$cacheid
   18582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18583 printf "%s\n" "$supported" >&6; }
   18584 		if test "$supported" = "yes" ; then
   18585 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18586 			found="yes"
   18587 		fi
   18588 	fi
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 xorg_testset_save_CFLAGS="$CFLAGS"
   18605 
   18606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18608 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18609 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18610 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18611 then :
   18612   printf %s "(cached) " >&6
   18613 else case e in #(
   18614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18615 /* end confdefs.h.  */
   18616 int i;
   18617 _ACEOF
   18618 if ac_fn_c_try_compile "$LINENO"
   18619 then :
   18620   xorg_cv_cc_flag_unknown_warning_option=yes
   18621 else case e in #(
   18622   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18623 esac
   18624 fi
   18625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18626 esac
   18627 fi
   18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18629 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18631 	CFLAGS="$xorg_testset_save_CFLAGS"
   18632 fi
   18633 
   18634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18637 	fi
   18638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18639 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18640 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18641 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18642 then :
   18643   printf %s "(cached) " >&6
   18644 else case e in #(
   18645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18646 /* end confdefs.h.  */
   18647 int i;
   18648 _ACEOF
   18649 if ac_fn_c_try_compile "$LINENO"
   18650 then :
   18651   xorg_cv_cc_flag_unused_command_line_argument=yes
   18652 else case e in #(
   18653   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18654 esac
   18655 fi
   18656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18657 esac
   18658 fi
   18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18660 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18662 	CFLAGS="$xorg_testset_save_CFLAGS"
   18663 fi
   18664 
   18665 found="no"
   18666 
   18667 	if test $found = "no" ; then
   18668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18670 		fi
   18671 
   18672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18674 		fi
   18675 
   18676 		CFLAGS="$CFLAGS -Wmain"
   18677 
   18678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18679 printf %s "checking if $CC supports -Wmain... " >&6; }
   18680 		cacheid=xorg_cv_cc_flag__Wmain
   18681 		if eval test \${$cacheid+y}
   18682 then :
   18683   printf %s "(cached) " >&6
   18684 else case e in #(
   18685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18686 /* end confdefs.h.  */
   18687 int i;
   18688 int
   18689 main (void)
   18690 {
   18691 
   18692   ;
   18693   return 0;
   18694 }
   18695 _ACEOF
   18696 if ac_fn_c_try_link "$LINENO"
   18697 then :
   18698   eval $cacheid=yes
   18699 else case e in #(
   18700   e) eval $cacheid=no ;;
   18701 esac
   18702 fi
   18703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18704     conftest$ac_exeext conftest.$ac_ext ;;
   18705 esac
   18706 fi
   18707 
   18708 
   18709 		CFLAGS="$xorg_testset_save_CFLAGS"
   18710 
   18711 		eval supported=\$$cacheid
   18712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18713 printf "%s\n" "$supported" >&6; }
   18714 		if test "$supported" = "yes" ; then
   18715 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18716 			found="yes"
   18717 		fi
   18718 	fi
   18719 
   18720 
   18721 
   18722 
   18723 
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 xorg_testset_save_CFLAGS="$CFLAGS"
   18735 
   18736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18738 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18739 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18740 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18741 then :
   18742   printf %s "(cached) " >&6
   18743 else case e in #(
   18744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18745 /* end confdefs.h.  */
   18746 int i;
   18747 _ACEOF
   18748 if ac_fn_c_try_compile "$LINENO"
   18749 then :
   18750   xorg_cv_cc_flag_unknown_warning_option=yes
   18751 else case e in #(
   18752   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18753 esac
   18754 fi
   18755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18756 esac
   18757 fi
   18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18759 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18761 	CFLAGS="$xorg_testset_save_CFLAGS"
   18762 fi
   18763 
   18764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18767 	fi
   18768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18772 then :
   18773   printf %s "(cached) " >&6
   18774 else case e in #(
   18775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18776 /* end confdefs.h.  */
   18777 int i;
   18778 _ACEOF
   18779 if ac_fn_c_try_compile "$LINENO"
   18780 then :
   18781   xorg_cv_cc_flag_unused_command_line_argument=yes
   18782 else case e in #(
   18783   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18784 esac
   18785 fi
   18786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18787 esac
   18788 fi
   18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18790 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18792 	CFLAGS="$xorg_testset_save_CFLAGS"
   18793 fi
   18794 
   18795 found="no"
   18796 
   18797 	if test $found = "no" ; then
   18798 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18800 		fi
   18801 
   18802 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18804 		fi
   18805 
   18806 		CFLAGS="$CFLAGS -Wmissing-braces"
   18807 
   18808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18809 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18810 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18811 		if eval test \${$cacheid+y}
   18812 then :
   18813   printf %s "(cached) " >&6
   18814 else case e in #(
   18815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18816 /* end confdefs.h.  */
   18817 int i;
   18818 int
   18819 main (void)
   18820 {
   18821 
   18822   ;
   18823   return 0;
   18824 }
   18825 _ACEOF
   18826 if ac_fn_c_try_link "$LINENO"
   18827 then :
   18828   eval $cacheid=yes
   18829 else case e in #(
   18830   e) eval $cacheid=no ;;
   18831 esac
   18832 fi
   18833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18834     conftest$ac_exeext conftest.$ac_ext ;;
   18835 esac
   18836 fi
   18837 
   18838 
   18839 		CFLAGS="$xorg_testset_save_CFLAGS"
   18840 
   18841 		eval supported=\$$cacheid
   18842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18843 printf "%s\n" "$supported" >&6; }
   18844 		if test "$supported" = "yes" ; then
   18845 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18846 			found="yes"
   18847 		fi
   18848 	fi
   18849 
   18850 
   18851 
   18852 
   18853 
   18854 
   18855 
   18856 
   18857 
   18858 
   18859 
   18860 
   18861 
   18862 
   18863 
   18864 xorg_testset_save_CFLAGS="$CFLAGS"
   18865 
   18866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18868 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18869 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18870 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18871 then :
   18872   printf %s "(cached) " >&6
   18873 else case e in #(
   18874   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18875 /* end confdefs.h.  */
   18876 int i;
   18877 _ACEOF
   18878 if ac_fn_c_try_compile "$LINENO"
   18879 then :
   18880   xorg_cv_cc_flag_unknown_warning_option=yes
   18881 else case e in #(
   18882   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18883 esac
   18884 fi
   18885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18886 esac
   18887 fi
   18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18889 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18891 	CFLAGS="$xorg_testset_save_CFLAGS"
   18892 fi
   18893 
   18894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18897 	fi
   18898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18900 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18901 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18902 then :
   18903   printf %s "(cached) " >&6
   18904 else case e in #(
   18905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18906 /* end confdefs.h.  */
   18907 int i;
   18908 _ACEOF
   18909 if ac_fn_c_try_compile "$LINENO"
   18910 then :
   18911   xorg_cv_cc_flag_unused_command_line_argument=yes
   18912 else case e in #(
   18913   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18914 esac
   18915 fi
   18916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18917 esac
   18918 fi
   18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18920 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18922 	CFLAGS="$xorg_testset_save_CFLAGS"
   18923 fi
   18924 
   18925 found="no"
   18926 
   18927 	if test $found = "no" ; then
   18928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18930 		fi
   18931 
   18932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18934 		fi
   18935 
   18936 		CFLAGS="$CFLAGS -Wsequence-point"
   18937 
   18938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18939 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18940 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18941 		if eval test \${$cacheid+y}
   18942 then :
   18943   printf %s "(cached) " >&6
   18944 else case e in #(
   18945   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18946 /* end confdefs.h.  */
   18947 int i;
   18948 int
   18949 main (void)
   18950 {
   18951 
   18952   ;
   18953   return 0;
   18954 }
   18955 _ACEOF
   18956 if ac_fn_c_try_link "$LINENO"
   18957 then :
   18958   eval $cacheid=yes
   18959 else case e in #(
   18960   e) eval $cacheid=no ;;
   18961 esac
   18962 fi
   18963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18964     conftest$ac_exeext conftest.$ac_ext ;;
   18965 esac
   18966 fi
   18967 
   18968 
   18969 		CFLAGS="$xorg_testset_save_CFLAGS"
   18970 
   18971 		eval supported=\$$cacheid
   18972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18973 printf "%s\n" "$supported" >&6; }
   18974 		if test "$supported" = "yes" ; then
   18975 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18976 			found="yes"
   18977 		fi
   18978 	fi
   18979 
   18980 
   18981 
   18982 
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 xorg_testset_save_CFLAGS="$CFLAGS"
   18995 
   18996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18999 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19000 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19001 then :
   19002   printf %s "(cached) " >&6
   19003 else case e in #(
   19004   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19005 /* end confdefs.h.  */
   19006 int i;
   19007 _ACEOF
   19008 if ac_fn_c_try_compile "$LINENO"
   19009 then :
   19010   xorg_cv_cc_flag_unknown_warning_option=yes
   19011 else case e in #(
   19012   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19013 esac
   19014 fi
   19015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19016 esac
   19017 fi
   19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19019 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19021 	CFLAGS="$xorg_testset_save_CFLAGS"
   19022 fi
   19023 
   19024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19027 	fi
   19028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19030 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19031 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19032 then :
   19033   printf %s "(cached) " >&6
   19034 else case e in #(
   19035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19036 /* end confdefs.h.  */
   19037 int i;
   19038 _ACEOF
   19039 if ac_fn_c_try_compile "$LINENO"
   19040 then :
   19041   xorg_cv_cc_flag_unused_command_line_argument=yes
   19042 else case e in #(
   19043   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19044 esac
   19045 fi
   19046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19047 esac
   19048 fi
   19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19050 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19052 	CFLAGS="$xorg_testset_save_CFLAGS"
   19053 fi
   19054 
   19055 found="no"
   19056 
   19057 	if test $found = "no" ; then
   19058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19060 		fi
   19061 
   19062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19064 		fi
   19065 
   19066 		CFLAGS="$CFLAGS -Wreturn-type"
   19067 
   19068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19069 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19070 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19071 		if eval test \${$cacheid+y}
   19072 then :
   19073   printf %s "(cached) " >&6
   19074 else case e in #(
   19075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19076 /* end confdefs.h.  */
   19077 int i;
   19078 int
   19079 main (void)
   19080 {
   19081 
   19082   ;
   19083   return 0;
   19084 }
   19085 _ACEOF
   19086 if ac_fn_c_try_link "$LINENO"
   19087 then :
   19088   eval $cacheid=yes
   19089 else case e in #(
   19090   e) eval $cacheid=no ;;
   19091 esac
   19092 fi
   19093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19094     conftest$ac_exeext conftest.$ac_ext ;;
   19095 esac
   19096 fi
   19097 
   19098 
   19099 		CFLAGS="$xorg_testset_save_CFLAGS"
   19100 
   19101 		eval supported=\$$cacheid
   19102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19103 printf "%s\n" "$supported" >&6; }
   19104 		if test "$supported" = "yes" ; then
   19105 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19106 			found="yes"
   19107 		fi
   19108 	fi
   19109 
   19110 
   19111 
   19112 
   19113 
   19114 
   19115 
   19116 
   19117 
   19118 
   19119 
   19120 
   19121 
   19122 
   19123 
   19124 xorg_testset_save_CFLAGS="$CFLAGS"
   19125 
   19126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19129 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19130 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19131 then :
   19132   printf %s "(cached) " >&6
   19133 else case e in #(
   19134   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19135 /* end confdefs.h.  */
   19136 int i;
   19137 _ACEOF
   19138 if ac_fn_c_try_compile "$LINENO"
   19139 then :
   19140   xorg_cv_cc_flag_unknown_warning_option=yes
   19141 else case e in #(
   19142   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19143 esac
   19144 fi
   19145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19146 esac
   19147 fi
   19148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19149 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19151 	CFLAGS="$xorg_testset_save_CFLAGS"
   19152 fi
   19153 
   19154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19157 	fi
   19158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19160 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19161 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19162 then :
   19163   printf %s "(cached) " >&6
   19164 else case e in #(
   19165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19166 /* end confdefs.h.  */
   19167 int i;
   19168 _ACEOF
   19169 if ac_fn_c_try_compile "$LINENO"
   19170 then :
   19171   xorg_cv_cc_flag_unused_command_line_argument=yes
   19172 else case e in #(
   19173   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19174 esac
   19175 fi
   19176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19177 esac
   19178 fi
   19179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19180 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19182 	CFLAGS="$xorg_testset_save_CFLAGS"
   19183 fi
   19184 
   19185 found="no"
   19186 
   19187 	if test $found = "no" ; then
   19188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19190 		fi
   19191 
   19192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19194 		fi
   19195 
   19196 		CFLAGS="$CFLAGS -Wtrigraphs"
   19197 
   19198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19199 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19200 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19201 		if eval test \${$cacheid+y}
   19202 then :
   19203   printf %s "(cached) " >&6
   19204 else case e in #(
   19205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19206 /* end confdefs.h.  */
   19207 int i;
   19208 int
   19209 main (void)
   19210 {
   19211 
   19212   ;
   19213   return 0;
   19214 }
   19215 _ACEOF
   19216 if ac_fn_c_try_link "$LINENO"
   19217 then :
   19218   eval $cacheid=yes
   19219 else case e in #(
   19220   e) eval $cacheid=no ;;
   19221 esac
   19222 fi
   19223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19224     conftest$ac_exeext conftest.$ac_ext ;;
   19225 esac
   19226 fi
   19227 
   19228 
   19229 		CFLAGS="$xorg_testset_save_CFLAGS"
   19230 
   19231 		eval supported=\$$cacheid
   19232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19233 printf "%s\n" "$supported" >&6; }
   19234 		if test "$supported" = "yes" ; then
   19235 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19236 			found="yes"
   19237 		fi
   19238 	fi
   19239 
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 xorg_testset_save_CFLAGS="$CFLAGS"
   19255 
   19256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19259 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19260 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19261 then :
   19262   printf %s "(cached) " >&6
   19263 else case e in #(
   19264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19265 /* end confdefs.h.  */
   19266 int i;
   19267 _ACEOF
   19268 if ac_fn_c_try_compile "$LINENO"
   19269 then :
   19270   xorg_cv_cc_flag_unknown_warning_option=yes
   19271 else case e in #(
   19272   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19273 esac
   19274 fi
   19275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19276 esac
   19277 fi
   19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19279 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19281 	CFLAGS="$xorg_testset_save_CFLAGS"
   19282 fi
   19283 
   19284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19287 	fi
   19288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19290 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19291 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19292 then :
   19293   printf %s "(cached) " >&6
   19294 else case e in #(
   19295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19296 /* end confdefs.h.  */
   19297 int i;
   19298 _ACEOF
   19299 if ac_fn_c_try_compile "$LINENO"
   19300 then :
   19301   xorg_cv_cc_flag_unused_command_line_argument=yes
   19302 else case e in #(
   19303   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19304 esac
   19305 fi
   19306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19307 esac
   19308 fi
   19309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19310 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19312 	CFLAGS="$xorg_testset_save_CFLAGS"
   19313 fi
   19314 
   19315 found="no"
   19316 
   19317 	if test $found = "no" ; then
   19318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19320 		fi
   19321 
   19322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19324 		fi
   19325 
   19326 		CFLAGS="$CFLAGS -Warray-bounds"
   19327 
   19328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19329 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19330 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19331 		if eval test \${$cacheid+y}
   19332 then :
   19333   printf %s "(cached) " >&6
   19334 else case e in #(
   19335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19336 /* end confdefs.h.  */
   19337 int i;
   19338 int
   19339 main (void)
   19340 {
   19341 
   19342   ;
   19343   return 0;
   19344 }
   19345 _ACEOF
   19346 if ac_fn_c_try_link "$LINENO"
   19347 then :
   19348   eval $cacheid=yes
   19349 else case e in #(
   19350   e) eval $cacheid=no ;;
   19351 esac
   19352 fi
   19353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19354     conftest$ac_exeext conftest.$ac_ext ;;
   19355 esac
   19356 fi
   19357 
   19358 
   19359 		CFLAGS="$xorg_testset_save_CFLAGS"
   19360 
   19361 		eval supported=\$$cacheid
   19362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19363 printf "%s\n" "$supported" >&6; }
   19364 		if test "$supported" = "yes" ; then
   19365 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19366 			found="yes"
   19367 		fi
   19368 	fi
   19369 
   19370 
   19371 
   19372 
   19373 
   19374 
   19375 
   19376 
   19377 
   19378 
   19379 
   19380 
   19381 
   19382 
   19383 
   19384 xorg_testset_save_CFLAGS="$CFLAGS"
   19385 
   19386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19389 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19390 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19391 then :
   19392   printf %s "(cached) " >&6
   19393 else case e in #(
   19394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19395 /* end confdefs.h.  */
   19396 int i;
   19397 _ACEOF
   19398 if ac_fn_c_try_compile "$LINENO"
   19399 then :
   19400   xorg_cv_cc_flag_unknown_warning_option=yes
   19401 else case e in #(
   19402   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19403 esac
   19404 fi
   19405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19406 esac
   19407 fi
   19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19409 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19411 	CFLAGS="$xorg_testset_save_CFLAGS"
   19412 fi
   19413 
   19414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19417 	fi
   19418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19419 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19420 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19421 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19422 then :
   19423   printf %s "(cached) " >&6
   19424 else case e in #(
   19425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19426 /* end confdefs.h.  */
   19427 int i;
   19428 _ACEOF
   19429 if ac_fn_c_try_compile "$LINENO"
   19430 then :
   19431   xorg_cv_cc_flag_unused_command_line_argument=yes
   19432 else case e in #(
   19433   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19434 esac
   19435 fi
   19436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19437 esac
   19438 fi
   19439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19440 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19442 	CFLAGS="$xorg_testset_save_CFLAGS"
   19443 fi
   19444 
   19445 found="no"
   19446 
   19447 	if test $found = "no" ; then
   19448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19450 		fi
   19451 
   19452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19454 		fi
   19455 
   19456 		CFLAGS="$CFLAGS -Wwrite-strings"
   19457 
   19458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19459 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19460 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19461 		if eval test \${$cacheid+y}
   19462 then :
   19463   printf %s "(cached) " >&6
   19464 else case e in #(
   19465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19466 /* end confdefs.h.  */
   19467 int i;
   19468 int
   19469 main (void)
   19470 {
   19471 
   19472   ;
   19473   return 0;
   19474 }
   19475 _ACEOF
   19476 if ac_fn_c_try_link "$LINENO"
   19477 then :
   19478   eval $cacheid=yes
   19479 else case e in #(
   19480   e) eval $cacheid=no ;;
   19481 esac
   19482 fi
   19483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19484     conftest$ac_exeext conftest.$ac_ext ;;
   19485 esac
   19486 fi
   19487 
   19488 
   19489 		CFLAGS="$xorg_testset_save_CFLAGS"
   19490 
   19491 		eval supported=\$$cacheid
   19492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19493 printf "%s\n" "$supported" >&6; }
   19494 		if test "$supported" = "yes" ; then
   19495 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19496 			found="yes"
   19497 		fi
   19498 	fi
   19499 
   19500 
   19501 
   19502 
   19503 
   19504 
   19505 
   19506 
   19507 
   19508 
   19509 
   19510 
   19511 
   19512 
   19513 
   19514 xorg_testset_save_CFLAGS="$CFLAGS"
   19515 
   19516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19519 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19520 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19521 then :
   19522   printf %s "(cached) " >&6
   19523 else case e in #(
   19524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19525 /* end confdefs.h.  */
   19526 int i;
   19527 _ACEOF
   19528 if ac_fn_c_try_compile "$LINENO"
   19529 then :
   19530   xorg_cv_cc_flag_unknown_warning_option=yes
   19531 else case e in #(
   19532   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19533 esac
   19534 fi
   19535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19536 esac
   19537 fi
   19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19539 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19541 	CFLAGS="$xorg_testset_save_CFLAGS"
   19542 fi
   19543 
   19544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19547 	fi
   19548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19550 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19551 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19552 then :
   19553   printf %s "(cached) " >&6
   19554 else case e in #(
   19555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19556 /* end confdefs.h.  */
   19557 int i;
   19558 _ACEOF
   19559 if ac_fn_c_try_compile "$LINENO"
   19560 then :
   19561   xorg_cv_cc_flag_unused_command_line_argument=yes
   19562 else case e in #(
   19563   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19564 esac
   19565 fi
   19566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19567 esac
   19568 fi
   19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19572 	CFLAGS="$xorg_testset_save_CFLAGS"
   19573 fi
   19574 
   19575 found="no"
   19576 
   19577 	if test $found = "no" ; then
   19578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19580 		fi
   19581 
   19582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19584 		fi
   19585 
   19586 		CFLAGS="$CFLAGS -Waddress"
   19587 
   19588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19589 printf %s "checking if $CC supports -Waddress... " >&6; }
   19590 		cacheid=xorg_cv_cc_flag__Waddress
   19591 		if eval test \${$cacheid+y}
   19592 then :
   19593   printf %s "(cached) " >&6
   19594 else case e in #(
   19595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19596 /* end confdefs.h.  */
   19597 int i;
   19598 int
   19599 main (void)
   19600 {
   19601 
   19602   ;
   19603   return 0;
   19604 }
   19605 _ACEOF
   19606 if ac_fn_c_try_link "$LINENO"
   19607 then :
   19608   eval $cacheid=yes
   19609 else case e in #(
   19610   e) eval $cacheid=no ;;
   19611 esac
   19612 fi
   19613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19614     conftest$ac_exeext conftest.$ac_ext ;;
   19615 esac
   19616 fi
   19617 
   19618 
   19619 		CFLAGS="$xorg_testset_save_CFLAGS"
   19620 
   19621 		eval supported=\$$cacheid
   19622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19623 printf "%s\n" "$supported" >&6; }
   19624 		if test "$supported" = "yes" ; then
   19625 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19626 			found="yes"
   19627 		fi
   19628 	fi
   19629 
   19630 
   19631 
   19632 
   19633 
   19634 
   19635 
   19636 
   19637 
   19638 
   19639 
   19640 
   19641 
   19642 
   19643 
   19644 xorg_testset_save_CFLAGS="$CFLAGS"
   19645 
   19646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19649 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19650 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19651 then :
   19652   printf %s "(cached) " >&6
   19653 else case e in #(
   19654   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19655 /* end confdefs.h.  */
   19656 int i;
   19657 _ACEOF
   19658 if ac_fn_c_try_compile "$LINENO"
   19659 then :
   19660   xorg_cv_cc_flag_unknown_warning_option=yes
   19661 else case e in #(
   19662   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19663 esac
   19664 fi
   19665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19666 esac
   19667 fi
   19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19669 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19671 	CFLAGS="$xorg_testset_save_CFLAGS"
   19672 fi
   19673 
   19674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19677 	fi
   19678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19680 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19681 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19682 then :
   19683   printf %s "(cached) " >&6
   19684 else case e in #(
   19685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19686 /* end confdefs.h.  */
   19687 int i;
   19688 _ACEOF
   19689 if ac_fn_c_try_compile "$LINENO"
   19690 then :
   19691   xorg_cv_cc_flag_unused_command_line_argument=yes
   19692 else case e in #(
   19693   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19694 esac
   19695 fi
   19696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19697 esac
   19698 fi
   19699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19700 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19702 	CFLAGS="$xorg_testset_save_CFLAGS"
   19703 fi
   19704 
   19705 found="no"
   19706 
   19707 	if test $found = "no" ; then
   19708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19710 		fi
   19711 
   19712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19714 		fi
   19715 
   19716 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19717 
   19718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19719 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19720 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19721 		if eval test \${$cacheid+y}
   19722 then :
   19723   printf %s "(cached) " >&6
   19724 else case e in #(
   19725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19726 /* end confdefs.h.  */
   19727 int i;
   19728 int
   19729 main (void)
   19730 {
   19731 
   19732   ;
   19733   return 0;
   19734 }
   19735 _ACEOF
   19736 if ac_fn_c_try_link "$LINENO"
   19737 then :
   19738   eval $cacheid=yes
   19739 else case e in #(
   19740   e) eval $cacheid=no ;;
   19741 esac
   19742 fi
   19743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19744     conftest$ac_exeext conftest.$ac_ext ;;
   19745 esac
   19746 fi
   19747 
   19748 
   19749 		CFLAGS="$xorg_testset_save_CFLAGS"
   19750 
   19751 		eval supported=\$$cacheid
   19752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19753 printf "%s\n" "$supported" >&6; }
   19754 		if test "$supported" = "yes" ; then
   19755 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19756 			found="yes"
   19757 		fi
   19758 	fi
   19759 
   19760 
   19761 
   19762 
   19763 
   19764 
   19765 
   19766 
   19767 
   19768 
   19769 
   19770 
   19771 
   19772 
   19773 
   19774 xorg_testset_save_CFLAGS="$CFLAGS"
   19775 
   19776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19779 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19780 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19781 then :
   19782   printf %s "(cached) " >&6
   19783 else case e in #(
   19784   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19785 /* end confdefs.h.  */
   19786 int i;
   19787 _ACEOF
   19788 if ac_fn_c_try_compile "$LINENO"
   19789 then :
   19790   xorg_cv_cc_flag_unknown_warning_option=yes
   19791 else case e in #(
   19792   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19793 esac
   19794 fi
   19795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19796 esac
   19797 fi
   19798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19799 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19801 	CFLAGS="$xorg_testset_save_CFLAGS"
   19802 fi
   19803 
   19804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19807 	fi
   19808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19810 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19811 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19812 then :
   19813   printf %s "(cached) " >&6
   19814 else case e in #(
   19815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19816 /* end confdefs.h.  */
   19817 int i;
   19818 _ACEOF
   19819 if ac_fn_c_try_compile "$LINENO"
   19820 then :
   19821   xorg_cv_cc_flag_unused_command_line_argument=yes
   19822 else case e in #(
   19823   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19824 esac
   19825 fi
   19826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19827 esac
   19828 fi
   19829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19830 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19832 	CFLAGS="$xorg_testset_save_CFLAGS"
   19833 fi
   19834 
   19835 found="no"
   19836 
   19837 	if test $found = "no" ; then
   19838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19840 		fi
   19841 
   19842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19844 		fi
   19845 
   19846 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19847 
   19848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19849 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19850 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19851 		if eval test \${$cacheid+y}
   19852 then :
   19853   printf %s "(cached) " >&6
   19854 else case e in #(
   19855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19856 /* end confdefs.h.  */
   19857 int i;
   19858 int
   19859 main (void)
   19860 {
   19861 
   19862   ;
   19863   return 0;
   19864 }
   19865 _ACEOF
   19866 if ac_fn_c_try_link "$LINENO"
   19867 then :
   19868   eval $cacheid=yes
   19869 else case e in #(
   19870   e) eval $cacheid=no ;;
   19871 esac
   19872 fi
   19873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19874     conftest$ac_exeext conftest.$ac_ext ;;
   19875 esac
   19876 fi
   19877 
   19878 
   19879 		CFLAGS="$xorg_testset_save_CFLAGS"
   19880 
   19881 		eval supported=\$$cacheid
   19882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19883 printf "%s\n" "$supported" >&6; }
   19884 		if test "$supported" = "yes" ; then
   19885 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19886 			found="yes"
   19887 		fi
   19888 	fi
   19889 
   19890 
   19891 fi
   19892 
   19893 
   19894 
   19895 
   19896 
   19897 
   19898 
   19899 		CWARNFLAGS="$BASE_CFLAGS"
   19900 		if  test "x$GCC" = xyes ; then
   19901 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19902 		fi
   19903 
   19904 
   19905 
   19906 
   19907 
   19908 
   19909 
   19910 
   19911 # Check whether --enable-strict-compilation was given.
   19912 if test ${enable_strict_compilation+y}
   19913 then :
   19914   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19915 else case e in #(
   19916   e) STRICT_COMPILE=no ;;
   19917 esac
   19918 fi
   19919 
   19920 
   19921 
   19922 
   19923 
   19924 
   19925 STRICT_CFLAGS=""
   19926 
   19927 
   19928 
   19929 
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 xorg_testset_save_CFLAGS="$CFLAGS"
   19940 
   19941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19946 then :
   19947   printf %s "(cached) " >&6
   19948 else case e in #(
   19949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19950 /* end confdefs.h.  */
   19951 int i;
   19952 _ACEOF
   19953 if ac_fn_c_try_compile "$LINENO"
   19954 then :
   19955   xorg_cv_cc_flag_unknown_warning_option=yes
   19956 else case e in #(
   19957   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19958 esac
   19959 fi
   19960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19961 esac
   19962 fi
   19963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19966 	CFLAGS="$xorg_testset_save_CFLAGS"
   19967 fi
   19968 
   19969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19972 	fi
   19973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19977 then :
   19978   printf %s "(cached) " >&6
   19979 else case e in #(
   19980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19981 /* end confdefs.h.  */
   19982 int i;
   19983 _ACEOF
   19984 if ac_fn_c_try_compile "$LINENO"
   19985 then :
   19986   xorg_cv_cc_flag_unused_command_line_argument=yes
   19987 else case e in #(
   19988   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19989 esac
   19990 fi
   19991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19992 esac
   19993 fi
   19994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19997 	CFLAGS="$xorg_testset_save_CFLAGS"
   19998 fi
   19999 
   20000 found="no"
   20001 
   20002 	if test $found = "no" ; then
   20003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20005 		fi
   20006 
   20007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20009 		fi
   20010 
   20011 		CFLAGS="$CFLAGS -pedantic"
   20012 
   20013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20014 printf %s "checking if $CC supports -pedantic... " >&6; }
   20015 		cacheid=xorg_cv_cc_flag__pedantic
   20016 		if eval test \${$cacheid+y}
   20017 then :
   20018   printf %s "(cached) " >&6
   20019 else case e in #(
   20020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20021 /* end confdefs.h.  */
   20022 int i;
   20023 int
   20024 main (void)
   20025 {
   20026 
   20027   ;
   20028   return 0;
   20029 }
   20030 _ACEOF
   20031 if ac_fn_c_try_link "$LINENO"
   20032 then :
   20033   eval $cacheid=yes
   20034 else case e in #(
   20035   e) eval $cacheid=no ;;
   20036 esac
   20037 fi
   20038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20039     conftest$ac_exeext conftest.$ac_ext ;;
   20040 esac
   20041 fi
   20042 
   20043 
   20044 		CFLAGS="$xorg_testset_save_CFLAGS"
   20045 
   20046 		eval supported=\$$cacheid
   20047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20048 printf "%s\n" "$supported" >&6; }
   20049 		if test "$supported" = "yes" ; then
   20050 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20051 			found="yes"
   20052 		fi
   20053 	fi
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 
   20067 
   20068 
   20069 xorg_testset_save_CFLAGS="$CFLAGS"
   20070 
   20071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20076 then :
   20077   printf %s "(cached) " >&6
   20078 else case e in #(
   20079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20080 /* end confdefs.h.  */
   20081 int i;
   20082 _ACEOF
   20083 if ac_fn_c_try_compile "$LINENO"
   20084 then :
   20085   xorg_cv_cc_flag_unknown_warning_option=yes
   20086 else case e in #(
   20087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20088 esac
   20089 fi
   20090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20091 esac
   20092 fi
   20093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20096 	CFLAGS="$xorg_testset_save_CFLAGS"
   20097 fi
   20098 
   20099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20102 	fi
   20103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20107 then :
   20108   printf %s "(cached) " >&6
   20109 else case e in #(
   20110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20111 /* end confdefs.h.  */
   20112 int i;
   20113 _ACEOF
   20114 if ac_fn_c_try_compile "$LINENO"
   20115 then :
   20116   xorg_cv_cc_flag_unused_command_line_argument=yes
   20117 else case e in #(
   20118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20119 esac
   20120 fi
   20121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20122 esac
   20123 fi
   20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20127 	CFLAGS="$xorg_testset_save_CFLAGS"
   20128 fi
   20129 
   20130 found="no"
   20131 
   20132 	if test $found = "no" ; then
   20133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20135 		fi
   20136 
   20137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20139 		fi
   20140 
   20141 		CFLAGS="$CFLAGS -Werror"
   20142 
   20143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20144 printf %s "checking if $CC supports -Werror... " >&6; }
   20145 		cacheid=xorg_cv_cc_flag__Werror
   20146 		if eval test \${$cacheid+y}
   20147 then :
   20148   printf %s "(cached) " >&6
   20149 else case e in #(
   20150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20151 /* end confdefs.h.  */
   20152 int i;
   20153 int
   20154 main (void)
   20155 {
   20156 
   20157   ;
   20158   return 0;
   20159 }
   20160 _ACEOF
   20161 if ac_fn_c_try_link "$LINENO"
   20162 then :
   20163   eval $cacheid=yes
   20164 else case e in #(
   20165   e) eval $cacheid=no ;;
   20166 esac
   20167 fi
   20168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20169     conftest$ac_exeext conftest.$ac_ext ;;
   20170 esac
   20171 fi
   20172 
   20173 
   20174 		CFLAGS="$xorg_testset_save_CFLAGS"
   20175 
   20176 		eval supported=\$$cacheid
   20177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20178 printf "%s\n" "$supported" >&6; }
   20179 		if test "$supported" = "yes" ; then
   20180 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20181 			found="yes"
   20182 		fi
   20183 	fi
   20184 
   20185 	if test $found = "no" ; then
   20186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20188 		fi
   20189 
   20190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20192 		fi
   20193 
   20194 		CFLAGS="$CFLAGS -errwarn"
   20195 
   20196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20197 printf %s "checking if $CC supports -errwarn... " >&6; }
   20198 		cacheid=xorg_cv_cc_flag__errwarn
   20199 		if eval test \${$cacheid+y}
   20200 then :
   20201   printf %s "(cached) " >&6
   20202 else case e in #(
   20203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20204 /* end confdefs.h.  */
   20205 int i;
   20206 int
   20207 main (void)
   20208 {
   20209 
   20210   ;
   20211   return 0;
   20212 }
   20213 _ACEOF
   20214 if ac_fn_c_try_link "$LINENO"
   20215 then :
   20216   eval $cacheid=yes
   20217 else case e in #(
   20218   e) eval $cacheid=no ;;
   20219 esac
   20220 fi
   20221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20222     conftest$ac_exeext conftest.$ac_ext ;;
   20223 esac
   20224 fi
   20225 
   20226 
   20227 		CFLAGS="$xorg_testset_save_CFLAGS"
   20228 
   20229 		eval supported=\$$cacheid
   20230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20231 printf "%s\n" "$supported" >&6; }
   20232 		if test "$supported" = "yes" ; then
   20233 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20234 			found="yes"
   20235 		fi
   20236 	fi
   20237 
   20238 
   20239 
   20240 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20241 # activate it with -Werror, so we add it here explicitly.
   20242 
   20243 
   20244 
   20245 
   20246 
   20247 
   20248 
   20249 
   20250 
   20251 
   20252 
   20253 
   20254 
   20255 xorg_testset_save_CFLAGS="$CFLAGS"
   20256 
   20257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20260 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20261 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20262 then :
   20263   printf %s "(cached) " >&6
   20264 else case e in #(
   20265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20266 /* end confdefs.h.  */
   20267 int i;
   20268 _ACEOF
   20269 if ac_fn_c_try_compile "$LINENO"
   20270 then :
   20271   xorg_cv_cc_flag_unknown_warning_option=yes
   20272 else case e in #(
   20273   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20274 esac
   20275 fi
   20276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20277 esac
   20278 fi
   20279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20280 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20282 	CFLAGS="$xorg_testset_save_CFLAGS"
   20283 fi
   20284 
   20285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20288 	fi
   20289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20291 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20292 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20293 then :
   20294   printf %s "(cached) " >&6
   20295 else case e in #(
   20296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20297 /* end confdefs.h.  */
   20298 int i;
   20299 _ACEOF
   20300 if ac_fn_c_try_compile "$LINENO"
   20301 then :
   20302   xorg_cv_cc_flag_unused_command_line_argument=yes
   20303 else case e in #(
   20304   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20305 esac
   20306 fi
   20307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20308 esac
   20309 fi
   20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20311 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20313 	CFLAGS="$xorg_testset_save_CFLAGS"
   20314 fi
   20315 
   20316 found="no"
   20317 
   20318 	if test $found = "no" ; then
   20319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20321 		fi
   20322 
   20323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20325 		fi
   20326 
   20327 		CFLAGS="$CFLAGS -Werror=attributes"
   20328 
   20329 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20330 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20331 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20332 		if eval test \${$cacheid+y}
   20333 then :
   20334   printf %s "(cached) " >&6
   20335 else case e in #(
   20336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20337 /* end confdefs.h.  */
   20338 int i;
   20339 int
   20340 main (void)
   20341 {
   20342 
   20343   ;
   20344   return 0;
   20345 }
   20346 _ACEOF
   20347 if ac_fn_c_try_link "$LINENO"
   20348 then :
   20349   eval $cacheid=yes
   20350 else case e in #(
   20351   e) eval $cacheid=no ;;
   20352 esac
   20353 fi
   20354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20355     conftest$ac_exeext conftest.$ac_ext ;;
   20356 esac
   20357 fi
   20358 
   20359 
   20360 		CFLAGS="$xorg_testset_save_CFLAGS"
   20361 
   20362 		eval supported=\$$cacheid
   20363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20364 printf "%s\n" "$supported" >&6; }
   20365 		if test "$supported" = "yes" ; then
   20366 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20367 			found="yes"
   20368 		fi
   20369 	fi
   20370 
   20371 
   20372 
   20373 if test "x$STRICT_COMPILE" = "xyes"; then
   20374     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20375     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20376 fi
   20377 
   20378 
   20379 
   20380 
   20381 
   20382 
   20383 
   20384 
   20385 cat >>confdefs.h <<_ACEOF
   20386 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20387 _ACEOF
   20388 
   20389 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20390 	if test "x$PVM" = "x"; then
   20391 		PVM="0"
   20392 	fi
   20393 
   20394 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20395 
   20396 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20397 	if test "x$PVP" = "x"; then
   20398 		PVP="0"
   20399 	fi
   20400 
   20401 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20402 
   20403 
   20404 
   20405 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20406 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20407 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20408 touch \$(top_srcdir)/ChangeLog; \
   20409 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20410 
   20411 
   20412 
   20413 
   20414 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20415 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20416 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20417 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20418 touch \$(top_srcdir)/INSTALL; \
   20419 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20420 
   20421 
   20422 
   20423 
   20424 
   20425 
   20426 case $host_os in
   20427     solaris*)
   20428         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20429         # check for a man page file found in later versions that use
   20430         # traditional section numbers instead
   20431         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20432 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20433 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20434 then :
   20435   printf %s "(cached) " >&6
   20436 else case e in #(
   20437   e) test "$cross_compiling" = yes &&
   20438   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20439 if test -r "/usr/share/man/man7/attributes.7"; then
   20440   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20441 else
   20442   ac_cv_file__usr_share_man_man7_attributes_7=no
   20443 fi ;;
   20444 esac
   20445 fi
   20446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20447 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20448 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20449 then :
   20450   SYSV_MAN_SECTIONS=false
   20451 else case e in #(
   20452   e) SYSV_MAN_SECTIONS=true ;;
   20453 esac
   20454 fi
   20455 
   20456         ;;
   20457     *) SYSV_MAN_SECTIONS=false ;;
   20458 esac
   20459 
   20460 if test x$APP_MAN_SUFFIX = x    ; then
   20461     APP_MAN_SUFFIX=1
   20462 fi
   20463 if test x$APP_MAN_DIR = x    ; then
   20464     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20465 fi
   20466 
   20467 if test x$LIB_MAN_SUFFIX = x    ; then
   20468     LIB_MAN_SUFFIX=3
   20469 fi
   20470 if test x$LIB_MAN_DIR = x    ; then
   20471     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20472 fi
   20473 
   20474 if test x$FILE_MAN_SUFFIX = x    ; then
   20475     case $SYSV_MAN_SECTIONS in
   20476 	true)				FILE_MAN_SUFFIX=4  ;;
   20477 	*)				FILE_MAN_SUFFIX=5  ;;
   20478     esac
   20479 fi
   20480 if test x$FILE_MAN_DIR = x    ; then
   20481     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20482 fi
   20483 
   20484 if test x$MISC_MAN_SUFFIX = x    ; then
   20485     case $SYSV_MAN_SECTIONS in
   20486 	true)				MISC_MAN_SUFFIX=5  ;;
   20487 	*)				MISC_MAN_SUFFIX=7  ;;
   20488     esac
   20489 fi
   20490 if test x$MISC_MAN_DIR = x    ; then
   20491     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20492 fi
   20493 
   20494 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20495     case $SYSV_MAN_SECTIONS in
   20496 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20497 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20498     esac
   20499 fi
   20500 if test x$DRIVER_MAN_DIR = x    ; then
   20501     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20502 fi
   20503 
   20504 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20505     case $SYSV_MAN_SECTIONS in
   20506 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20507 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20508     esac
   20509 fi
   20510 if test x$ADMIN_MAN_DIR = x    ; then
   20511     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20512 fi
   20513 
   20514 
   20515 
   20516 
   20517 
   20518 
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 
   20525 
   20526 
   20527 
   20528 XORG_MAN_PAGE="X Version 11"
   20529 
   20530 MAN_SUBSTS="\
   20531 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20532 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20533 	-e 's|__xservername__|Xorg|g' \
   20534 	-e 's|__xconfigfile__|xorg.conf|g' \
   20535 	-e 's|__projectroot__|\$(prefix)|g' \
   20536 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20537 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20538 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20539 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20540 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20541 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20542 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20543 
   20544 
   20545 
   20546 
   20547 AM_DEFAULT_VERBOSITY=0
   20548 
   20549 
   20550 
   20551 
   20552 # Check whether --enable-specs was given.
   20553 if test ${enable_specs+y}
   20554 then :
   20555   enableval=$enable_specs; build_specs=$enableval
   20556 else case e in #(
   20557   e) build_specs=yes ;;
   20558 esac
   20559 fi
   20560 
   20561 
   20562  if test x$build_specs = xyes; then
   20563   ENABLE_SPECS_TRUE=
   20564   ENABLE_SPECS_FALSE='#'
   20565 else
   20566   ENABLE_SPECS_TRUE='#'
   20567   ENABLE_SPECS_FALSE=
   20568 fi
   20569 
   20570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   20571 printf %s "checking whether to build functional specifications... " >&6; }
   20572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   20573 printf "%s\n" "$build_specs" >&6; }
   20574 
   20575 
   20576 
   20577 
   20578 
   20579 # Check whether --with-xmlto was given.
   20580 if test ${with_xmlto+y}
   20581 then :
   20582   withval=$with_xmlto; use_xmlto=$withval
   20583 else case e in #(
   20584   e) use_xmlto=auto ;;
   20585 esac
   20586 fi
   20587 
   20588 
   20589 
   20590 if test "x$use_xmlto" = x"auto"; then
   20591    # Extract the first word of "xmlto", so it can be a program name with args.
   20592 set dummy xmlto; ac_word=$2
   20593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20594 printf %s "checking for $ac_word... " >&6; }
   20595 if test ${ac_cv_path_XMLTO+y}
   20596 then :
   20597   printf %s "(cached) " >&6
   20598 else case e in #(
   20599   e) case $XMLTO in
   20600   [\\/]* | ?:[\\/]*)
   20601   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20602   ;;
   20603   *)
   20604   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20605 for as_dir in $PATH
   20606 do
   20607   IFS=$as_save_IFS
   20608   case $as_dir in #(((
   20609     '') as_dir=./ ;;
   20610     */) ;;
   20611     *) as_dir=$as_dir/ ;;
   20612   esac
   20613     for ac_exec_ext in '' $ac_executable_extensions; do
   20614   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20615     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20616     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20617     break 2
   20618   fi
   20619 done
   20620   done
   20621 IFS=$as_save_IFS
   20622 
   20623   ;;
   20624 esac ;;
   20625 esac
   20626 fi
   20627 XMLTO=$ac_cv_path_XMLTO
   20628 if test -n "$XMLTO"; then
   20629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20630 printf "%s\n" "$XMLTO" >&6; }
   20631 else
   20632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20633 printf "%s\n" "no" >&6; }
   20634 fi
   20635 
   20636 
   20637    if test "x$XMLTO" = "x"; then
   20638         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20639 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20640 	have_xmlto=no
   20641    else
   20642         have_xmlto=yes
   20643    fi
   20644 elif test "x$use_xmlto" = x"yes" ; then
   20645    # Extract the first word of "xmlto", so it can be a program name with args.
   20646 set dummy xmlto; ac_word=$2
   20647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20648 printf %s "checking for $ac_word... " >&6; }
   20649 if test ${ac_cv_path_XMLTO+y}
   20650 then :
   20651   printf %s "(cached) " >&6
   20652 else case e in #(
   20653   e) case $XMLTO in
   20654   [\\/]* | ?:[\\/]*)
   20655   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20656   ;;
   20657   *)
   20658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20659 for as_dir in $PATH
   20660 do
   20661   IFS=$as_save_IFS
   20662   case $as_dir in #(((
   20663     '') as_dir=./ ;;
   20664     */) ;;
   20665     *) as_dir=$as_dir/ ;;
   20666   esac
   20667     for ac_exec_ext in '' $ac_executable_extensions; do
   20668   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20669     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20670     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20671     break 2
   20672   fi
   20673 done
   20674   done
   20675 IFS=$as_save_IFS
   20676 
   20677   ;;
   20678 esac ;;
   20679 esac
   20680 fi
   20681 XMLTO=$ac_cv_path_XMLTO
   20682 if test -n "$XMLTO"; then
   20683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20684 printf "%s\n" "$XMLTO" >&6; }
   20685 else
   20686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20687 printf "%s\n" "no" >&6; }
   20688 fi
   20689 
   20690 
   20691    if test "x$XMLTO" = "x"; then
   20692         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20693    fi
   20694    have_xmlto=yes
   20695 elif test "x$use_xmlto" = x"no" ; then
   20696    if test "x$XMLTO" != "x"; then
   20697       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20698 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20699    fi
   20700    have_xmlto=no
   20701 else
   20702    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20703 fi
   20704 
   20705 # Test for a minimum version of xmlto, if provided.
   20706 if test "$have_xmlto" = yes; then
   20707     # scrape the xmlto version
   20708     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20709 printf %s "checking the xmlto version... " >&6; }
   20710     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20711     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20712 printf "%s\n" "$xmlto_version" >&6; }
   20713     as_arg_v1=$xmlto_version
   20714 as_arg_v2=0.0.22
   20715 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20716 case $? in #(
   20717   1) :
   20718     if test "x$use_xmlto" = xauto; then
   20719             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20720 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20721             have_xmlto=no
   20722         else
   20723             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20724         fi ;; #(
   20725   0) :
   20726      ;; #(
   20727   2) :
   20728      ;; #(
   20729   *) :
   20730      ;;
   20731 esac
   20732 fi
   20733 
   20734 # Test for the ability of xmlto to generate a text target
   20735 #
   20736 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20737 # following test for empty XML docbook files.
   20738 # For compatibility reasons use the following empty XML docbook file and if
   20739 # it fails try it again with a non-empty XML file.
   20740 have_xmlto_text=no
   20741 cat > conftest.xml << "EOF"
   20742 EOF
   20743 if test "$have_xmlto" = yes
   20744 then :
   20745   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20746 then :
   20747   have_xmlto_text=yes
   20748 else case e in #(
   20749   e) # Try it again with a non-empty XML file.
   20750               cat > conftest.xml << "EOF"
   20751 <x></x>
   20752 EOF
   20753               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20754 then :
   20755   have_xmlto_text=yes
   20756 else case e in #(
   20757   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20758 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   20759 esac
   20760 fi ;;
   20761 esac
   20762 fi
   20763 fi
   20764 rm -f conftest.xml
   20765  if test $have_xmlto_text = yes; then
   20766   HAVE_XMLTO_TEXT_TRUE=
   20767   HAVE_XMLTO_TEXT_FALSE='#'
   20768 else
   20769   HAVE_XMLTO_TEXT_TRUE='#'
   20770   HAVE_XMLTO_TEXT_FALSE=
   20771 fi
   20772 
   20773  if test "$have_xmlto" = yes; then
   20774   HAVE_XMLTO_TRUE=
   20775   HAVE_XMLTO_FALSE='#'
   20776 else
   20777   HAVE_XMLTO_TRUE='#'
   20778   HAVE_XMLTO_FALSE=
   20779 fi
   20780 
   20781 
   20782 
   20783 
   20784 
   20785 
   20786 # Check whether --with-fop was given.
   20787 if test ${with_fop+y}
   20788 then :
   20789   withval=$with_fop; use_fop=$withval
   20790 else case e in #(
   20791   e) use_fop=no ;;
   20792 esac
   20793 fi
   20794 
   20795 
   20796 
   20797 if test "x$use_fop" = x"auto"; then
   20798    # Extract the first word of "fop", so it can be a program name with args.
   20799 set dummy fop; ac_word=$2
   20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20801 printf %s "checking for $ac_word... " >&6; }
   20802 if test ${ac_cv_path_FOP+y}
   20803 then :
   20804   printf %s "(cached) " >&6
   20805 else case e in #(
   20806   e) case $FOP in
   20807   [\\/]* | ?:[\\/]*)
   20808   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20809   ;;
   20810   *)
   20811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20812 for as_dir in $PATH
   20813 do
   20814   IFS=$as_save_IFS
   20815   case $as_dir in #(((
   20816     '') as_dir=./ ;;
   20817     */) ;;
   20818     *) as_dir=$as_dir/ ;;
   20819   esac
   20820     for ac_exec_ext in '' $ac_executable_extensions; do
   20821   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20822     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20823     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20824     break 2
   20825   fi
   20826 done
   20827   done
   20828 IFS=$as_save_IFS
   20829 
   20830   ;;
   20831 esac ;;
   20832 esac
   20833 fi
   20834 FOP=$ac_cv_path_FOP
   20835 if test -n "$FOP"; then
   20836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20837 printf "%s\n" "$FOP" >&6; }
   20838 else
   20839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20840 printf "%s\n" "no" >&6; }
   20841 fi
   20842 
   20843 
   20844    if test "x$FOP" = "x"; then
   20845         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20846 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20847 	have_fop=no
   20848    else
   20849         have_fop=yes
   20850    fi
   20851 elif test "x$use_fop" = x"yes" ; then
   20852    # Extract the first word of "fop", so it can be a program name with args.
   20853 set dummy fop; ac_word=$2
   20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20855 printf %s "checking for $ac_word... " >&6; }
   20856 if test ${ac_cv_path_FOP+y}
   20857 then :
   20858   printf %s "(cached) " >&6
   20859 else case e in #(
   20860   e) case $FOP in
   20861   [\\/]* | ?:[\\/]*)
   20862   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20863   ;;
   20864   *)
   20865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20866 for as_dir in $PATH
   20867 do
   20868   IFS=$as_save_IFS
   20869   case $as_dir in #(((
   20870     '') as_dir=./ ;;
   20871     */) ;;
   20872     *) as_dir=$as_dir/ ;;
   20873   esac
   20874     for ac_exec_ext in '' $ac_executable_extensions; do
   20875   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20876     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20877     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20878     break 2
   20879   fi
   20880 done
   20881   done
   20882 IFS=$as_save_IFS
   20883 
   20884   ;;
   20885 esac ;;
   20886 esac
   20887 fi
   20888 FOP=$ac_cv_path_FOP
   20889 if test -n "$FOP"; then
   20890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20891 printf "%s\n" "$FOP" >&6; }
   20892 else
   20893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20894 printf "%s\n" "no" >&6; }
   20895 fi
   20896 
   20897 
   20898    if test "x$FOP" = "x"; then
   20899         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20900    fi
   20901    have_fop=yes
   20902 elif test "x$use_fop" = x"no" ; then
   20903    if test "x$FOP" != "x"; then
   20904       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20905 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20906    fi
   20907    have_fop=no
   20908 else
   20909    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20910 fi
   20911 
   20912 # Test for a minimum version of fop, if provided.
   20913 
   20914  if test "$have_fop" = yes; then
   20915   HAVE_FOP_TRUE=
   20916   HAVE_FOP_FALSE='#'
   20917 else
   20918   HAVE_FOP_TRUE='#'
   20919   HAVE_FOP_FALSE=
   20920 fi
   20921 
   20922 
   20923 
   20924 
   20925 # Preserves the interface, should it be implemented later
   20926 
   20927 
   20928 
   20929 # Check whether --with-xsltproc was given.
   20930 if test ${with_xsltproc+y}
   20931 then :
   20932   withval=$with_xsltproc; use_xsltproc=$withval
   20933 else case e in #(
   20934   e) use_xsltproc=auto ;;
   20935 esac
   20936 fi
   20937 
   20938 
   20939 
   20940 if test "x$use_xsltproc" = x"auto"; then
   20941    # Extract the first word of "xsltproc", so it can be a program name with args.
   20942 set dummy xsltproc; ac_word=$2
   20943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20944 printf %s "checking for $ac_word... " >&6; }
   20945 if test ${ac_cv_path_XSLTPROC+y}
   20946 then :
   20947   printf %s "(cached) " >&6
   20948 else case e in #(
   20949   e) case $XSLTPROC in
   20950   [\\/]* | ?:[\\/]*)
   20951   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20952   ;;
   20953   *)
   20954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20955 for as_dir in $PATH
   20956 do
   20957   IFS=$as_save_IFS
   20958   case $as_dir in #(((
   20959     '') as_dir=./ ;;
   20960     */) ;;
   20961     *) as_dir=$as_dir/ ;;
   20962   esac
   20963     for ac_exec_ext in '' $ac_executable_extensions; do
   20964   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20965     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20967     break 2
   20968   fi
   20969 done
   20970   done
   20971 IFS=$as_save_IFS
   20972 
   20973   ;;
   20974 esac ;;
   20975 esac
   20976 fi
   20977 XSLTPROC=$ac_cv_path_XSLTPROC
   20978 if test -n "$XSLTPROC"; then
   20979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20980 printf "%s\n" "$XSLTPROC" >&6; }
   20981 else
   20982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20983 printf "%s\n" "no" >&6; }
   20984 fi
   20985 
   20986 
   20987    if test "x$XSLTPROC" = "x"; then
   20988         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20989 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20990 	have_xsltproc=no
   20991    else
   20992         have_xsltproc=yes
   20993    fi
   20994 elif test "x$use_xsltproc" = x"yes" ; then
   20995    # Extract the first word of "xsltproc", so it can be a program name with args.
   20996 set dummy xsltproc; ac_word=$2
   20997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20998 printf %s "checking for $ac_word... " >&6; }
   20999 if test ${ac_cv_path_XSLTPROC+y}
   21000 then :
   21001   printf %s "(cached) " >&6
   21002 else case e in #(
   21003   e) case $XSLTPROC in
   21004   [\\/]* | ?:[\\/]*)
   21005   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21006   ;;
   21007   *)
   21008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21009 for as_dir in $PATH
   21010 do
   21011   IFS=$as_save_IFS
   21012   case $as_dir in #(((
   21013     '') as_dir=./ ;;
   21014     */) ;;
   21015     *) as_dir=$as_dir/ ;;
   21016   esac
   21017     for ac_exec_ext in '' $ac_executable_extensions; do
   21018   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21019     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21020     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21021     break 2
   21022   fi
   21023 done
   21024   done
   21025 IFS=$as_save_IFS
   21026 
   21027   ;;
   21028 esac ;;
   21029 esac
   21030 fi
   21031 XSLTPROC=$ac_cv_path_XSLTPROC
   21032 if test -n "$XSLTPROC"; then
   21033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21034 printf "%s\n" "$XSLTPROC" >&6; }
   21035 else
   21036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21037 printf "%s\n" "no" >&6; }
   21038 fi
   21039 
   21040 
   21041    if test "x$XSLTPROC" = "x"; then
   21042         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   21043    fi
   21044    have_xsltproc=yes
   21045 elif test "x$use_xsltproc" = x"no" ; then
   21046    if test "x$XSLTPROC" != "x"; then
   21047       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   21048 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   21049    fi
   21050    have_xsltproc=no
   21051 else
   21052    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   21053 fi
   21054 
   21055  if test "$have_xsltproc" = yes; then
   21056   HAVE_XSLTPROC_TRUE=
   21057   HAVE_XSLTPROC_FALSE='#'
   21058 else
   21059   HAVE_XSLTPROC_TRUE='#'
   21060   HAVE_XSLTPROC_FALSE=
   21061 fi
   21062 
   21063 
   21064 
   21065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   21066 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   21067 XORG_SGML_PATH=
   21068 if test -n "$PKG_CONFIG" && \
   21069     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   21070   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   21071   ac_status=$?
   21072   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21073   test $ac_status = 0; }; then
   21074   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21075 else
   21076   :
   21077 
   21078 fi
   21079 
   21080 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21081 # the path and the name of the doc stylesheet
   21082 if test "x$XORG_SGML_PATH" != "x" ; then
   21083    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21084 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21085    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21086    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21087 else
   21088    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21089 printf "%s\n" "no" >&6; }
   21090 fi
   21091 
   21092 
   21093 
   21094 
   21095  if test "x$XSL_STYLESHEET" != "x"; then
   21096   HAVE_STYLESHEETS_TRUE=
   21097   HAVE_STYLESHEETS_FALSE='#'
   21098 else
   21099   HAVE_STYLESHEETS_TRUE='#'
   21100   HAVE_STYLESHEETS_FALSE=
   21101 fi
   21102 
   21103 
   21104 ac_ext=c
   21105 ac_cpp='$CPP $CPPFLAGS'
   21106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   21110 printf %s "checking how to run the C preprocessor... " >&6; }
   21111 # On Suns, sometimes $CPP names a directory.
   21112 if test -n "$CPP" && test -d "$CPP"; then
   21113   CPP=
   21114 fi
   21115 if test -z "$CPP"; then
   21116   if test ${ac_cv_prog_CPP+y}
   21117 then :
   21118   printf %s "(cached) " >&6
   21119 else case e in #(
   21120   e)     # Double quotes because $CC needs to be expanded
   21121     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   21122     do
   21123       ac_preproc_ok=false
   21124 for ac_c_preproc_warn_flag in '' yes
   21125 do
   21126   # Use a header file that comes with gcc, so configuring glibc
   21127   # with a fresh cross-compiler works.
   21128   # On the NeXT, cc -E runs the code through the compiler's parser,
   21129   # not just through cpp. "Syntax error" is here to catch this case.
   21130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21131 /* end confdefs.h.  */
   21132 #include <limits.h>
   21133 		     Syntax error
   21134 _ACEOF
   21135 if ac_fn_c_try_cpp "$LINENO"
   21136 then :
   21137 
   21138 else case e in #(
   21139   e) # Broken: fails on valid input.
   21140 continue ;;
   21141 esac
   21142 fi
   21143 rm -f conftest.err conftest.i conftest.$ac_ext
   21144 
   21145   # OK, works on sane cases.  Now check whether nonexistent headers
   21146   # can be detected and how.
   21147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21148 /* end confdefs.h.  */
   21149 #include <ac_nonexistent.h>
   21150 _ACEOF
   21151 if ac_fn_c_try_cpp "$LINENO"
   21152 then :
   21153   # Broken: success on invalid input.
   21154 continue
   21155 else case e in #(
   21156   e) # Passes both tests.
   21157 ac_preproc_ok=:
   21158 break ;;
   21159 esac
   21160 fi
   21161 rm -f conftest.err conftest.i conftest.$ac_ext
   21162 
   21163 done
   21164 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21165 rm -f conftest.i conftest.err conftest.$ac_ext
   21166 if $ac_preproc_ok
   21167 then :
   21168   break
   21169 fi
   21170 
   21171     done
   21172     ac_cv_prog_CPP=$CPP
   21173    ;;
   21174 esac
   21175 fi
   21176   CPP=$ac_cv_prog_CPP
   21177 else
   21178   ac_cv_prog_CPP=$CPP
   21179 fi
   21180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   21181 printf "%s\n" "$CPP" >&6; }
   21182 ac_preproc_ok=false
   21183 for ac_c_preproc_warn_flag in '' yes
   21184 do
   21185   # Use a header file that comes with gcc, so configuring glibc
   21186   # with a fresh cross-compiler works.
   21187   # On the NeXT, cc -E runs the code through the compiler's parser,
   21188   # not just through cpp. "Syntax error" is here to catch this case.
   21189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21190 /* end confdefs.h.  */
   21191 #include <limits.h>
   21192 		     Syntax error
   21193 _ACEOF
   21194 if ac_fn_c_try_cpp "$LINENO"
   21195 then :
   21196 
   21197 else case e in #(
   21198   e) # Broken: fails on valid input.
   21199 continue ;;
   21200 esac
   21201 fi
   21202 rm -f conftest.err conftest.i conftest.$ac_ext
   21203 
   21204   # OK, works on sane cases.  Now check whether nonexistent headers
   21205   # can be detected and how.
   21206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21207 /* end confdefs.h.  */
   21208 #include <ac_nonexistent.h>
   21209 _ACEOF
   21210 if ac_fn_c_try_cpp "$LINENO"
   21211 then :
   21212   # Broken: success on invalid input.
   21213 continue
   21214 else case e in #(
   21215   e) # Passes both tests.
   21216 ac_preproc_ok=:
   21217 break ;;
   21218 esac
   21219 fi
   21220 rm -f conftest.err conftest.i conftest.$ac_ext
   21221 
   21222 done
   21223 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21224 rm -f conftest.i conftest.err conftest.$ac_ext
   21225 if $ac_preproc_ok
   21226 then :
   21227 
   21228 else case e in #(
   21229   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21230 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21231 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   21232 See 'config.log' for more details" "$LINENO" 5; } ;;
   21233 esac
   21234 fi
   21235 
   21236 ac_ext=c
   21237 ac_cpp='$CPP $CPPFLAGS'
   21238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21241 
   21242 
   21243 
   21244 if test -n "$ac_tool_prefix"; then
   21245   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   21246 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   21247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21248 printf %s "checking for $ac_word... " >&6; }
   21249 if test ${ac_cv_path_RAWCPP+y}
   21250 then :
   21251   printf %s "(cached) " >&6
   21252 else case e in #(
   21253   e) case $RAWCPP in
   21254   [\\/]* | ?:[\\/]*)
   21255   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21256   ;;
   21257   *)
   21258   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21259 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21260 for as_dir in $as_dummy
   21261 do
   21262   IFS=$as_save_IFS
   21263   case $as_dir in #(((
   21264     '') as_dir=./ ;;
   21265     */) ;;
   21266     *) as_dir=$as_dir/ ;;
   21267   esac
   21268     for ac_exec_ext in '' $ac_executable_extensions; do
   21269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21270     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21272     break 2
   21273   fi
   21274 done
   21275   done
   21276 IFS=$as_save_IFS
   21277 
   21278   ;;
   21279 esac ;;
   21280 esac
   21281 fi
   21282 RAWCPP=$ac_cv_path_RAWCPP
   21283 if test -n "$RAWCPP"; then
   21284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   21285 printf "%s\n" "$RAWCPP" >&6; }
   21286 else
   21287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21288 printf "%s\n" "no" >&6; }
   21289 fi
   21290 
   21291 
   21292 fi
   21293 if test -z "$ac_cv_path_RAWCPP"; then
   21294   ac_pt_RAWCPP=$RAWCPP
   21295   # Extract the first word of "cpp", so it can be a program name with args.
   21296 set dummy cpp; ac_word=$2
   21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21298 printf %s "checking for $ac_word... " >&6; }
   21299 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   21300 then :
   21301   printf %s "(cached) " >&6
   21302 else case e in #(
   21303   e) case $ac_pt_RAWCPP in
   21304   [\\/]* | ?:[\\/]*)
   21305   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   21306   ;;
   21307   *)
   21308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21309 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21310 for as_dir in $as_dummy
   21311 do
   21312   IFS=$as_save_IFS
   21313   case $as_dir in #(((
   21314     '') as_dir=./ ;;
   21315     */) ;;
   21316     *) as_dir=$as_dir/ ;;
   21317   esac
   21318     for ac_exec_ext in '' $ac_executable_extensions; do
   21319   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21320     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21321     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21322     break 2
   21323   fi
   21324 done
   21325   done
   21326 IFS=$as_save_IFS
   21327 
   21328   ;;
   21329 esac ;;
   21330 esac
   21331 fi
   21332 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   21333 if test -n "$ac_pt_RAWCPP"; then
   21334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   21335 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   21336 else
   21337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21338 printf "%s\n" "no" >&6; }
   21339 fi
   21340 
   21341   if test "x$ac_pt_RAWCPP" = x; then
   21342     RAWCPP="${CPP}"
   21343   else
   21344     case $cross_compiling:$ac_tool_warned in
   21345 yes:)
   21346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21347 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21348 ac_tool_warned=yes ;;
   21349 esac
   21350     RAWCPP=$ac_pt_RAWCPP
   21351   fi
   21352 else
   21353   RAWCPP="$ac_cv_path_RAWCPP"
   21354 fi
   21355 
   21356 
   21357 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21358 # which is not the best choice for supporting other OS'es, but covers most
   21359 # of the ones we need for now.
   21360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   21361 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   21362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21363 /* end confdefs.h.  */
   21364 Does cpp redefine unix ?
   21365 _ACEOF
   21366 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21368 printf "%s\n" "no" >&6; }
   21369 else
   21370 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21371 		RAWCPPFLAGS=-undef
   21372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21373 printf "%s\n" "yes" >&6; }
   21374 	# under Cygwin unix is still defined even with -undef
   21375 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21376 		RAWCPPFLAGS="-undef -ansi"
   21377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   21378 printf "%s\n" "yes, with -ansi" >&6; }
   21379 	else
   21380 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   21381 	fi
   21382 fi
   21383 rm -f conftest.$ac_ext
   21384 
   21385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   21386 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   21387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21388 /* end confdefs.h.  */
   21389 Does cpp preserve   "whitespace"?
   21390 _ACEOF
   21391 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21393 printf "%s\n" "no" >&6; }
   21394 else
   21395 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21396 		TRADITIONALCPPFLAGS="-traditional"
   21397 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   21398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21399 printf "%s\n" "yes" >&6; }
   21400 	else
   21401 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   21402 	fi
   21403 fi
   21404 rm -f conftest.$ac_ext
   21405 
   21406 
   21407 
   21408 
   21409 
   21410 # Preserves the interface, should it be implemented later
   21411 
   21412 
   21413 
   21414 # Check whether --with-perl was given.
   21415 if test ${with_perl+y}
   21416 then :
   21417   withval=$with_perl; use_perl=$withval
   21418 else case e in #(
   21419   e) use_perl=auto ;;
   21420 esac
   21421 fi
   21422 
   21423 
   21424 
   21425 if test "x$use_perl" = x"auto"; then
   21426    # Extract the first word of "perl", so it can be a program name with args.
   21427 set dummy perl; ac_word=$2
   21428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21429 printf %s "checking for $ac_word... " >&6; }
   21430 if test ${ac_cv_path_PERL+y}
   21431 then :
   21432   printf %s "(cached) " >&6
   21433 else case e in #(
   21434   e) case $PERL in
   21435   [\\/]* | ?:[\\/]*)
   21436   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21437   ;;
   21438   *)
   21439   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21440 for as_dir in $PATH
   21441 do
   21442   IFS=$as_save_IFS
   21443   case $as_dir in #(((
   21444     '') as_dir=./ ;;
   21445     */) ;;
   21446     *) as_dir=$as_dir/ ;;
   21447   esac
   21448     for ac_exec_ext in '' $ac_executable_extensions; do
   21449   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21450     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   21451     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21452     break 2
   21453   fi
   21454 done
   21455   done
   21456 IFS=$as_save_IFS
   21457 
   21458   ;;
   21459 esac ;;
   21460 esac
   21461 fi
   21462 PERL=$ac_cv_path_PERL
   21463 if test -n "$PERL"; then
   21464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21465 printf "%s\n" "$PERL" >&6; }
   21466 else
   21467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21468 printf "%s\n" "no" >&6; }
   21469 fi
   21470 
   21471 
   21472    if test "x$PERL" = "x"; then
   21473         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   21474 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   21475 	have_perl=no
   21476    else
   21477         have_perl=yes
   21478    fi
   21479 elif test "x$use_perl" = x"yes" ; then
   21480    # Extract the first word of "perl", so it can be a program name with args.
   21481 set dummy perl; ac_word=$2
   21482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21483 printf %s "checking for $ac_word... " >&6; }
   21484 if test ${ac_cv_path_PERL+y}
   21485 then :
   21486   printf %s "(cached) " >&6
   21487 else case e in #(
   21488   e) case $PERL in
   21489   [\\/]* | ?:[\\/]*)
   21490   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21491   ;;
   21492   *)
   21493   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21494 for as_dir in $PATH
   21495 do
   21496   IFS=$as_save_IFS
   21497   case $as_dir in #(((
   21498     '') as_dir=./ ;;
   21499     */) ;;
   21500     *) as_dir=$as_dir/ ;;
   21501   esac
   21502     for ac_exec_ext in '' $ac_executable_extensions; do
   21503   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21504     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   21505     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21506     break 2
   21507   fi
   21508 done
   21509   done
   21510 IFS=$as_save_IFS
   21511 
   21512   ;;
   21513 esac ;;
   21514 esac
   21515 fi
   21516 PERL=$ac_cv_path_PERL
   21517 if test -n "$PERL"; then
   21518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21519 printf "%s\n" "$PERL" >&6; }
   21520 else
   21521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21522 printf "%s\n" "no" >&6; }
   21523 fi
   21524 
   21525 
   21526    if test "x$PERL" = "x"; then
   21527         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   21528    fi
   21529    have_perl=yes
   21530 elif test "x$use_perl" = x"no" ; then
   21531    if test "x$PERL" != "x"; then
   21532       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   21533 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   21534    fi
   21535    have_perl=no
   21536 else
   21537    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   21538 fi
   21539 
   21540  if test "$have_perl" = yes; then
   21541   HAVE_PERL_TRUE=
   21542   HAVE_PERL_FALSE='#'
   21543 else
   21544   HAVE_PERL_TRUE='#'
   21545   HAVE_PERL_FALSE=
   21546 fi
   21547 
   21548 
   21549 
   21550 # Required when PKG_CHECK_MODULES called within an if statement
   21551 
   21552 
   21553 
   21554 
   21555 
   21556 
   21557 
   21558 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21559 	if test -n "$ac_tool_prefix"; then
   21560   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21561 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21563 printf %s "checking for $ac_word... " >&6; }
   21564 if test ${ac_cv_path_PKG_CONFIG+y}
   21565 then :
   21566   printf %s "(cached) " >&6
   21567 else case e in #(
   21568   e) case $PKG_CONFIG in
   21569   [\\/]* | ?:[\\/]*)
   21570   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21571   ;;
   21572   *)
   21573   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21574 for as_dir in $PATH
   21575 do
   21576   IFS=$as_save_IFS
   21577   case $as_dir in #(((
   21578     '') as_dir=./ ;;
   21579     */) ;;
   21580     *) as_dir=$as_dir/ ;;
   21581   esac
   21582     for ac_exec_ext in '' $ac_executable_extensions; do
   21583   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21584     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21585     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21586     break 2
   21587   fi
   21588 done
   21589   done
   21590 IFS=$as_save_IFS
   21591 
   21592   ;;
   21593 esac ;;
   21594 esac
   21595 fi
   21596 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21597 if test -n "$PKG_CONFIG"; then
   21598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21599 printf "%s\n" "$PKG_CONFIG" >&6; }
   21600 else
   21601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21602 printf "%s\n" "no" >&6; }
   21603 fi
   21604 
   21605 
   21606 fi
   21607 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21608   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21609   # Extract the first word of "pkg-config", so it can be a program name with args.
   21610 set dummy pkg-config; ac_word=$2
   21611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21612 printf %s "checking for $ac_word... " >&6; }
   21613 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21614 then :
   21615   printf %s "(cached) " >&6
   21616 else case e in #(
   21617   e) case $ac_pt_PKG_CONFIG in
   21618   [\\/]* | ?:[\\/]*)
   21619   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21620   ;;
   21621   *)
   21622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21623 for as_dir in $PATH
   21624 do
   21625   IFS=$as_save_IFS
   21626   case $as_dir in #(((
   21627     '') as_dir=./ ;;
   21628     */) ;;
   21629     *) as_dir=$as_dir/ ;;
   21630   esac
   21631     for ac_exec_ext in '' $ac_executable_extensions; do
   21632   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21633     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21634     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21635     break 2
   21636   fi
   21637 done
   21638   done
   21639 IFS=$as_save_IFS
   21640 
   21641   ;;
   21642 esac ;;
   21643 esac
   21644 fi
   21645 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21646 if test -n "$ac_pt_PKG_CONFIG"; then
   21647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21648 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21649 else
   21650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21651 printf "%s\n" "no" >&6; }
   21652 fi
   21653 
   21654   if test "x$ac_pt_PKG_CONFIG" = x; then
   21655     PKG_CONFIG=""
   21656   else
   21657     case $cross_compiling:$ac_tool_warned in
   21658 yes:)
   21659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21660 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21661 ac_tool_warned=yes ;;
   21662 esac
   21663     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21664   fi
   21665 else
   21666   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21667 fi
   21668 
   21669 fi
   21670 if test -n "$PKG_CONFIG"; then
   21671 	_pkg_min_version=0.9.0
   21672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21673 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21674 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21676 printf "%s\n" "yes" >&6; }
   21677 	else
   21678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21679 printf "%s\n" "no" >&6; }
   21680 		PKG_CONFIG=""
   21681 	fi
   21682 fi
   21683 
   21684 if test x"$CC_FOR_BUILD" = x; then
   21685 	if test x"$cross_compiling" = xyes; then
   21686 	       for ac_prog in gcc cc
   21687 do
   21688   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21689 set dummy $ac_prog; ac_word=$2
   21690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21691 printf %s "checking for $ac_word... " >&6; }
   21692 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   21693 then :
   21694   printf %s "(cached) " >&6
   21695 else case e in #(
   21696   e) if test -n "$CC_FOR_BUILD"; then
   21697   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   21698 else
   21699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21700 for as_dir in $PATH
   21701 do
   21702   IFS=$as_save_IFS
   21703   case $as_dir in #(((
   21704     '') as_dir=./ ;;
   21705     */) ;;
   21706     *) as_dir=$as_dir/ ;;
   21707   esac
   21708     for ac_exec_ext in '' $ac_executable_extensions; do
   21709   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21710     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   21711     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21712     break 2
   21713   fi
   21714 done
   21715   done
   21716 IFS=$as_save_IFS
   21717 
   21718 fi ;;
   21719 esac
   21720 fi
   21721 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   21722 if test -n "$CC_FOR_BUILD"; then
   21723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   21724 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   21725 else
   21726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21727 printf "%s\n" "no" >&6; }
   21728 fi
   21729 
   21730 
   21731   test -n "$CC_FOR_BUILD" && break
   21732 done
   21733 
   21734 	else
   21735 	       CC_FOR_BUILD="$CC"
   21736 	fi
   21737 fi
   21738 
   21739 
   21740 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   21741 	if test ! x"$cross_compiling" = xyes; then
   21742 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   21743 	fi
   21744 fi
   21745 
   21746 
   21747 if test x"$CFLAGS_FOR_BUILD" = x; then
   21748 	if test ! x"$cross_compiling" = xyes; then
   21749 		CFLAGS_FOR_BUILD=${CFLAGS}
   21750 	fi
   21751 fi
   21752 
   21753 
   21754 if test x"$LDFLAGS_FOR_BUILD" = x; then
   21755 	if test ! x"$cross_compiling" = xyes; then
   21756 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   21757 	fi
   21758 fi
   21759 
   21760 
   21761 if test x"$EXEEXT_FOR_BUILD" = x; then
   21762 	if test x"$cross_compiling" = xno; then
   21763 		EXEEXT_FOR_BUILD=${EXEEXT}
   21764 	fi
   21765 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   21766 fi
   21767 
   21768 
   21769 # Checks for pkg-config packages
   21770 
   21771 # Always required
   21772 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   21773 X11_EXTRA_DEPS="xcb >= 1.11.1"
   21774 
   21775 
   21776 
   21777 
   21778 
   21779 
   21780 
   21781 
   21782 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21783 	if test -n "$ac_tool_prefix"; then
   21784   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21785 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21787 printf %s "checking for $ac_word... " >&6; }
   21788 if test ${ac_cv_path_PKG_CONFIG+y}
   21789 then :
   21790   printf %s "(cached) " >&6
   21791 else case e in #(
   21792   e) case $PKG_CONFIG in
   21793   [\\/]* | ?:[\\/]*)
   21794   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21795   ;;
   21796   *)
   21797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21798 for as_dir in $PATH
   21799 do
   21800   IFS=$as_save_IFS
   21801   case $as_dir in #(((
   21802     '') as_dir=./ ;;
   21803     */) ;;
   21804     *) as_dir=$as_dir/ ;;
   21805   esac
   21806     for ac_exec_ext in '' $ac_executable_extensions; do
   21807   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21808     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21810     break 2
   21811   fi
   21812 done
   21813   done
   21814 IFS=$as_save_IFS
   21815 
   21816   ;;
   21817 esac ;;
   21818 esac
   21819 fi
   21820 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21821 if test -n "$PKG_CONFIG"; then
   21822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21823 printf "%s\n" "$PKG_CONFIG" >&6; }
   21824 else
   21825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21826 printf "%s\n" "no" >&6; }
   21827 fi
   21828 
   21829 
   21830 fi
   21831 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21832   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21833   # Extract the first word of "pkg-config", so it can be a program name with args.
   21834 set dummy pkg-config; ac_word=$2
   21835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21836 printf %s "checking for $ac_word... " >&6; }
   21837 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21838 then :
   21839   printf %s "(cached) " >&6
   21840 else case e in #(
   21841   e) case $ac_pt_PKG_CONFIG in
   21842   [\\/]* | ?:[\\/]*)
   21843   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21844   ;;
   21845   *)
   21846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21847 for as_dir in $PATH
   21848 do
   21849   IFS=$as_save_IFS
   21850   case $as_dir in #(((
   21851     '') as_dir=./ ;;
   21852     */) ;;
   21853     *) as_dir=$as_dir/ ;;
   21854   esac
   21855     for ac_exec_ext in '' $ac_executable_extensions; do
   21856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21857     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21859     break 2
   21860   fi
   21861 done
   21862   done
   21863 IFS=$as_save_IFS
   21864 
   21865   ;;
   21866 esac ;;
   21867 esac
   21868 fi
   21869 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21870 if test -n "$ac_pt_PKG_CONFIG"; then
   21871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21872 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21873 else
   21874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21875 printf "%s\n" "no" >&6; }
   21876 fi
   21877 
   21878   if test "x$ac_pt_PKG_CONFIG" = x; then
   21879     PKG_CONFIG=""
   21880   else
   21881     case $cross_compiling:$ac_tool_warned in
   21882 yes:)
   21883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21884 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21885 ac_tool_warned=yes ;;
   21886 esac
   21887     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21888   fi
   21889 else
   21890   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21891 fi
   21892 
   21893 fi
   21894 if test -n "$PKG_CONFIG"; then
   21895 	_pkg_min_version=0.9.0
   21896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21897 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21898 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21900 printf "%s\n" "yes" >&6; }
   21901 	else
   21902 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21903 printf "%s\n" "no" >&6; }
   21904 		PKG_CONFIG=""
   21905 	fi
   21906 fi
   21907 
   21908 
   21909 
   21910 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   21911 # was not expanded, since libX11 with no transport types is rather useless.
   21912 #
   21913 # If you're seeing an error here, be sure you installed the lib/xtrans module
   21914 # first and if it's not in the default location, that you set the ACLOCAL
   21915 # environment variable to find it, such as:
   21916 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   21917 
   21918 
   21919 # Transport selection macro from xtrans.m4
   21920 
   21921 
   21922  case $host_os in
   21923 	mingw*)	unixdef="no"   ;;
   21924 	*)	unixdef="yes"  ;;
   21925  esac
   21926  # Check whether --enable-unix-transport was given.
   21927 if test ${enable_unix_transport+y}
   21928 then :
   21929   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21930 else case e in #(
   21931   e) UNIXCONN=$unixdef ;;
   21932 esac
   21933 fi
   21934 
   21935  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   21936 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   21937  if test "$UNIXCONN" = "yes"; then
   21938 
   21939 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   21940 
   21941  fi
   21942  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   21943 printf "%s\n" "$UNIXCONN" >&6; }
   21944  # Check whether --enable-tcp-transport was given.
   21945 if test ${enable_tcp_transport+y}
   21946 then :
   21947   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21948 else case e in #(
   21949   e) TCPCONN=yes ;;
   21950 esac
   21951 fi
   21952 
   21953  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   21954 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   21955  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   21956 printf "%s\n" "$TCPCONN" >&6; }
   21957  if test "$TCPCONN" = "yes"; then
   21958 
   21959 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   21960 
   21961 
   21962  # SVR4 hides these in libraries other than libc
   21963  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   21964 printf %s "checking for library containing socket... " >&6; }
   21965 if test ${ac_cv_search_socket+y}
   21966 then :
   21967   printf %s "(cached) " >&6
   21968 else case e in #(
   21969   e) ac_func_search_save_LIBS=$LIBS
   21970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21971 /* end confdefs.h.  */
   21972 
   21973 /* Override any GCC internal prototype to avoid an error.
   21974    Use char because int might match the return type of a GCC
   21975    builtin and then its argument prototype would still apply.
   21976    The 'extern "C"' is for builds by C++ compilers;
   21977    although this is not generally supported in C code supporting it here
   21978    has little cost and some practical benefit (sr 110532).  */
   21979 #ifdef __cplusplus
   21980 extern "C"
   21981 #endif
   21982 char socket (void);
   21983 int
   21984 main (void)
   21985 {
   21986 return socket ();
   21987   ;
   21988   return 0;
   21989 }
   21990 _ACEOF
   21991 for ac_lib in '' socket
   21992 do
   21993   if test -z "$ac_lib"; then
   21994     ac_res="none required"
   21995   else
   21996     ac_res=-l$ac_lib
   21997     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21998   fi
   21999   if ac_fn_c_try_link "$LINENO"
   22000 then :
   22001   ac_cv_search_socket=$ac_res
   22002 fi
   22003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22004     conftest$ac_exeext
   22005   if test ${ac_cv_search_socket+y}
   22006 then :
   22007   break
   22008 fi
   22009 done
   22010 if test ${ac_cv_search_socket+y}
   22011 then :
   22012 
   22013 else case e in #(
   22014   e) ac_cv_search_socket=no ;;
   22015 esac
   22016 fi
   22017 rm conftest.$ac_ext
   22018 LIBS=$ac_func_search_save_LIBS ;;
   22019 esac
   22020 fi
   22021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   22022 printf "%s\n" "$ac_cv_search_socket" >&6; }
   22023 ac_res=$ac_cv_search_socket
   22024 if test "$ac_res" != no
   22025 then :
   22026   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22027 
   22028 fi
   22029 
   22030  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   22031 printf %s "checking for library containing gethostbyname... " >&6; }
   22032 if test ${ac_cv_search_gethostbyname+y}
   22033 then :
   22034   printf %s "(cached) " >&6
   22035 else case e in #(
   22036   e) ac_func_search_save_LIBS=$LIBS
   22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22038 /* end confdefs.h.  */
   22039 
   22040 /* Override any GCC internal prototype to avoid an error.
   22041    Use char because int might match the return type of a GCC
   22042    builtin and then its argument prototype would still apply.
   22043    The 'extern "C"' is for builds by C++ compilers;
   22044    although this is not generally supported in C code supporting it here
   22045    has little cost and some practical benefit (sr 110532).  */
   22046 #ifdef __cplusplus
   22047 extern "C"
   22048 #endif
   22049 char gethostbyname (void);
   22050 int
   22051 main (void)
   22052 {
   22053 return gethostbyname ();
   22054   ;
   22055   return 0;
   22056 }
   22057 _ACEOF
   22058 for ac_lib in '' nsl
   22059 do
   22060   if test -z "$ac_lib"; then
   22061     ac_res="none required"
   22062   else
   22063     ac_res=-l$ac_lib
   22064     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22065   fi
   22066   if ac_fn_c_try_link "$LINENO"
   22067 then :
   22068   ac_cv_search_gethostbyname=$ac_res
   22069 fi
   22070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22071     conftest$ac_exeext
   22072   if test ${ac_cv_search_gethostbyname+y}
   22073 then :
   22074   break
   22075 fi
   22076 done
   22077 if test ${ac_cv_search_gethostbyname+y}
   22078 then :
   22079 
   22080 else case e in #(
   22081   e) ac_cv_search_gethostbyname=no ;;
   22082 esac
   22083 fi
   22084 rm conftest.$ac_ext
   22085 LIBS=$ac_func_search_save_LIBS ;;
   22086 esac
   22087 fi
   22088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   22089 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   22090 ac_res=$ac_cv_search_gethostbyname
   22091 if test "$ac_res" != no
   22092 then :
   22093   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22094 
   22095 fi
   22096 
   22097  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   22098    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   22099 printf %s "checking for main in -lws2_32... " >&6; }
   22100 if test ${ac_cv_lib_ws2_32_main+y}
   22101 then :
   22102   printf %s "(cached) " >&6
   22103 else case e in #(
   22104   e) ac_check_lib_save_LIBS=$LIBS
   22105 LIBS="-lws2_32  $LIBS"
   22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22107 /* end confdefs.h.  */
   22108 
   22109 
   22110 int
   22111 main (void)
   22112 {
   22113 return main ();
   22114   ;
   22115   return 0;
   22116 }
   22117 _ACEOF
   22118 if ac_fn_c_try_link "$LINENO"
   22119 then :
   22120   ac_cv_lib_ws2_32_main=yes
   22121 else case e in #(
   22122   e) ac_cv_lib_ws2_32_main=no ;;
   22123 esac
   22124 fi
   22125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22126     conftest$ac_exeext conftest.$ac_ext
   22127 LIBS=$ac_check_lib_save_LIBS ;;
   22128 esac
   22129 fi
   22130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   22131 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   22132 if test "x$ac_cv_lib_ws2_32_main" = xyes
   22133 then :
   22134   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   22135 
   22136   LIBS="-lws2_32 $LIBS"
   22137 
   22138 fi
   22139 
   22140  fi
   22141 
   22142  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22143  # Check whether --enable-ipv6 was given.
   22144 if test ${enable_ipv6+y}
   22145 then :
   22146   enableval=$enable_ipv6; IPV6CONN=$enableval
   22147 else case e in #(
   22148   e) ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   22149 if test "x$ac_cv_func_getaddrinfo" = xyes
   22150 then :
   22151   IPV6CONN=yes
   22152 else case e in #(
   22153   e) IPV6CONN=no ;;
   22154 esac
   22155 fi
   22156  ;;
   22157 esac
   22158 fi
   22159 
   22160  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   22161 printf %s "checking if IPv6 support should be built... " >&6; }
   22162  if test "$IPV6CONN" = "yes"; then
   22163 
   22164 printf "%s\n" "#define IPv6 1" >>confdefs.h
   22165 
   22166  fi
   22167  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   22168 printf "%s\n" "$IPV6CONN" >&6; }
   22169 
   22170  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22171  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   22172 #include <sys/types.h>
   22173 #include <sys/socket.h>
   22174 #include <netinet/in.h>
   22175 
   22176 "
   22177 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   22178 then :
   22179 
   22180 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   22181 
   22182 fi
   22183 
   22184 
   22185  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22186  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   22187 $ac_includes_default
   22188 #include <sys/socket.h>
   22189 "
   22190 if test "x$ac_cv_type_socklen_t" = xyes
   22191 then :
   22192 
   22193 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   22194 
   22195 
   22196 fi
   22197 
   22198 
   22199  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   22200  # _XOPEN_SOURCE to get it (such as on Solaris)
   22201  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22202 $ac_includes_default
   22203 #include <sys/socket.h>
   22204 
   22205 "
   22206 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22207 then :
   22208 
   22209 fi
   22210 
   22211  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   22212  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22213      unset ac_cv_member_struct_msghdr_msg_control
   22214      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   22215 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   22216      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22217 #define _XOPEN_SOURCE 600
   22218 $ac_includes_default
   22219 #include <sys/socket.h>
   22220 
   22221 "
   22222 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22223 then :
   22224 
   22225 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   22226 
   22227 
   22228 fi
   22229 
   22230  fi
   22231  # If that didn't work, fall back to XPG5/UNIX98 with C89
   22232  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22233      unset ac_cv_member_struct_msghdr_msg_control
   22234      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   22235 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22236      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22237 #define _XOPEN_SOURCE 500
   22238 $ac_includes_default
   22239 #include <sys/socket.h>
   22240 
   22241 "
   22242 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22243 then :
   22244 
   22245 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22246 
   22247 
   22248 fi
   22249 
   22250  fi
   22251 
   22252 
   22253 
   22254  fi
   22255  case $host_os in
   22256 	solaris*)		localdef="yes" ;;
   22257 	*)			localdef="no"  ;;
   22258  esac
   22259  # Check whether --enable-local-transport was given.
   22260 if test ${enable_local_transport+y}
   22261 then :
   22262   enableval=$enable_local_transport; LOCALCONN=$enableval
   22263 else case e in #(
   22264   e) LOCALCONN=$localdef ;;
   22265 esac
   22266 fi
   22267 
   22268  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22269 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22270  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22271 printf "%s\n" "$LOCALCONN" >&6; }
   22272  if test "$LOCALCONN" = "yes"; then
   22273 
   22274 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22275 
   22276  fi
   22277 
   22278  # Other functions Xtrans may need
   22279  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22280 if test "x$ac_cv_func_strcasecmp" = xyes
   22281 then :
   22282   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22283 
   22284 fi
   22285 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22286 if test "x$ac_cv_func_strlcpy" = xyes
   22287 then :
   22288   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22289 
   22290 fi
   22291 
   22292 
   22293 
   22294 
   22295 # Check for dlopen
   22296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   22297 printf %s "checking for library containing dlopen... " >&6; }
   22298 if test ${ac_cv_search_dlopen+y}
   22299 then :
   22300   printf %s "(cached) " >&6
   22301 else case e in #(
   22302   e) ac_func_search_save_LIBS=$LIBS
   22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22304 /* end confdefs.h.  */
   22305 
   22306 /* Override any GCC internal prototype to avoid an error.
   22307    Use char because int might match the return type of a GCC
   22308    builtin and then its argument prototype would still apply.
   22309    The 'extern "C"' is for builds by C++ compilers;
   22310    although this is not generally supported in C code supporting it here
   22311    has little cost and some practical benefit (sr 110532).  */
   22312 #ifdef __cplusplus
   22313 extern "C"
   22314 #endif
   22315 char dlopen (void);
   22316 int
   22317 main (void)
   22318 {
   22319 return dlopen ();
   22320   ;
   22321   return 0;
   22322 }
   22323 _ACEOF
   22324 for ac_lib in '' dl svld
   22325 do
   22326   if test -z "$ac_lib"; then
   22327     ac_res="none required"
   22328   else
   22329     ac_res=-l$ac_lib
   22330     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22331   fi
   22332   if ac_fn_c_try_link "$LINENO"
   22333 then :
   22334   ac_cv_search_dlopen=$ac_res
   22335 fi
   22336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22337     conftest$ac_exeext
   22338   if test ${ac_cv_search_dlopen+y}
   22339 then :
   22340   break
   22341 fi
   22342 done
   22343 if test ${ac_cv_search_dlopen+y}
   22344 then :
   22345 
   22346 else case e in #(
   22347   e) ac_cv_search_dlopen=no ;;
   22348 esac
   22349 fi
   22350 rm conftest.$ac_ext
   22351 LIBS=$ac_func_search_save_LIBS ;;
   22352 esac
   22353 fi
   22354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   22355 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   22356 ac_res=$ac_cv_search_dlopen
   22357 if test "$ac_res" != no
   22358 then :
   22359   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22360 
   22361 fi
   22362 
   22363 if test "x$ac_cv_search_dlopen" != xno; then
   22364 
   22365 printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
   22366 
   22367 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   22368 if test "x$ac_cv_header_dlfcn_h" = xyes
   22369 then :
   22370   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   22371 
   22372 fi
   22373 
   22374 fi
   22375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   22376 printf %s "checking if run-time linking is supported... " >&6; }
   22377 if test "x$ac_cv_header_dlfcn_h" = xyes; then
   22378 	HAVE_LOADABLE_MODULES=yes
   22379 else
   22380 	HAVE_LOADABLE_MODULES=no
   22381 fi
   22382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   22383 printf "%s\n" "$HAVE_LOADABLE_MODULES" >&6; }
   22384 
   22385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   22386 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   22387 # Check whether --enable-loadable-i18n was given.
   22388 if test ${enable_loadable_i18n+y}
   22389 then :
   22390   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   22391 else case e in #(
   22392   e) XLIB_LOADABLE_I18N="no" ;;
   22393 esac
   22394 fi
   22395 
   22396 if test x$XLIB_LOADABLE_I18N = xyes; then
   22397 	if test x$HAVE_LOADABLE_MODULES = xno; then
   22398 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   22399 	fi
   22400 
   22401 printf "%s\n" "#define USE_DYNAMIC_LC 1" >>confdefs.h
   22402 
   22403 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   22404 
   22405 fi
   22406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   22407 printf "%s\n" "$XLIB_LOADABLE_I18N" >&6; }
   22408 
   22409  if test x$XLIB_LOADABLE_I18N = xyes; then
   22410   XLIB_LOADABLE_I18N_TRUE=
   22411   XLIB_LOADABLE_I18N_FALSE='#'
   22412 else
   22413   XLIB_LOADABLE_I18N_TRUE='#'
   22414   XLIB_LOADABLE_I18N_FALSE=
   22415 fi
   22416 
   22417 
   22418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   22419 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   22420 # Check whether --enable-loadable-xcursor was given.
   22421 if test ${enable_loadable_xcursor+y}
   22422 then :
   22423   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   22424 else case e in #(
   22425   e) XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES ;;
   22426 esac
   22427 fi
   22428 
   22429 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   22430 
   22431 printf "%s\n" "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   22432 
   22433 fi
   22434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   22435 printf "%s\n" "$XLIB_LOADABLE_XCURSOR" >&6; }
   22436 
   22437 # Check whether --enable-thread-safety-constructor was given.
   22438 if test ${enable_thread_safety_constructor+y}
   22439 then :
   22440   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   22441 else case e in #(
   22442   e) USE_THREAD_SAFETY_CONSTRUCTOR="yes" ;;
   22443 esac
   22444 fi
   22445 
   22446 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22447 
   22448 printf "%s\n" "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   22449 
   22450 fi
   22451 
   22452 # Checks for header files.
   22453 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   22454 if test "x$ac_cv_header_sys_filio_h" = xyes
   22455 then :
   22456   printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   22457 
   22458 fi
   22459 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   22460 if test "x$ac_cv_header_sys_select_h" = xyes
   22461 then :
   22462   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   22463 
   22464 fi
   22465 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   22466 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   22467 then :
   22468   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   22469 
   22470 fi
   22471 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   22472 if test "x$ac_cv_header_sys_socket_h" = xyes
   22473 then :
   22474   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   22475 
   22476 fi
   22477 
   22478 
   22479 # Checks for typedefs, structures, and compiler characteristics.
   22480 
   22481 
   22482 
   22483     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   22484 printf %s "checking for __builtin_popcountl... " >&6; }
   22485 if test ${ax_cv_have___builtin_popcountl+y}
   22486 then :
   22487   printf %s "(cached) " >&6
   22488 else case e in #(
   22489   e)
   22490         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22491 /* end confdefs.h.  */
   22492 
   22493 int
   22494 main (void)
   22495 {
   22496 
   22497             __builtin_popcountl(0)
   22498 
   22499   ;
   22500   return 0;
   22501 }
   22502 _ACEOF
   22503 if ac_fn_c_try_link "$LINENO"
   22504 then :
   22505   ax_cv_have___builtin_popcountl=yes
   22506 else case e in #(
   22507   e) ax_cv_have___builtin_popcountl=no ;;
   22508 esac
   22509 fi
   22510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22511     conftest$ac_exeext conftest.$ac_ext
   22512      ;;
   22513 esac
   22514 fi
   22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   22516 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   22517 
   22518     if test yes = $ax_cv_have___builtin_popcountl
   22519 then :
   22520 
   22521 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   22522 
   22523 fi
   22524 
   22525 
   22526 
   22527 
   22528 # Checks for library functions.
   22529 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   22530 if test "x$ac_cv_func_strtol" = xyes
   22531 then :
   22532   printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
   22533 
   22534 fi
   22535 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   22536 if test "x$ac_cv_func_seteuid" = xyes
   22537 then :
   22538   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   22539 
   22540 fi
   22541 
   22542 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   22543 if test "x$ac_cv_func_reallocarray" = xyes
   22544 then :
   22545   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   22546 
   22547 else case e in #(
   22548   e) case " $LIBOBJS " in
   22549   *" reallocarray.$ac_objext "* ) ;;
   22550   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   22551  ;;
   22552 esac
   22553  ;;
   22554 esac
   22555 fi
   22556 
   22557 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   22558 XLOCALEDIR_IS_SAFE="no"
   22559 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   22560 if test "x$ac_cv_have_decl_issetugid" = xyes
   22561 then :
   22562 
   22563 fi
   22564 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   22565 if test "x$ac_cv_func_issetugid" = xyes
   22566 then :
   22567 
   22568 fi
   22569 
   22570 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   22571     XLOCALEDIR_IS_SAFE="yes"
   22572 
   22573 printf "%s\n" "#define HASSETUGID 1" >>confdefs.h
   22574 
   22575 fi
   22576 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   22577 if test "x$ac_cv_func_getresuid" = xyes
   22578 then :
   22579   XLOCALEDIR_IS_SAFE="yes"
   22580 
   22581 printf "%s\n" "#define HASGETRESUID 1" >>confdefs.h
   22582 
   22583 fi
   22584 
   22585 # Used in Font.c
   22586 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   22587 if test "x$ac_cv_func_shmat" = xyes
   22588 then :
   22589 
   22590 printf "%s\n" "#define HAS_SHM 1" >>confdefs.h
   22591 
   22592 fi
   22593 
   22594 
   22595 # Checks for system services
   22596 # AC_PATH_XTRA
   22597 
   22598 # arch specific things
   22599 WCHAR32="1"
   22600 case $host_os in
   22601   os2*) os2="true" ; WCHAR32="0" ;;
   22602   *) ;;
   22603 esac
   22604 
   22605 
   22606  if test x$os2 = xtrue; then
   22607   OS2_TRUE=
   22608   OS2_FALSE='#'
   22609 else
   22610   OS2_TRUE='#'
   22611   OS2_FALSE=
   22612 fi
   22613 
   22614 
   22615 
   22616 # Check whether --with-launchd was given.
   22617 if test ${with_launchd+y}
   22618 then :
   22619   withval=$with_launchd; LAUNCHD=$withval
   22620 else case e in #(
   22621   e) LAUNCHD=auto ;;
   22622 esac
   22623 fi
   22624 
   22625 if test "x$LAUNCHD" = xauto; then
   22626 	unset LAUNCHD
   22627 	# Extract the first word of "launchd", so it can be a program name with args.
   22628 set dummy launchd; ac_word=$2
   22629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22630 printf %s "checking for $ac_word... " >&6; }
   22631 if test ${ac_cv_prog_LAUNCHD+y}
   22632 then :
   22633   printf %s "(cached) " >&6
   22634 else case e in #(
   22635   e) if test -n "$LAUNCHD"; then
   22636   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   22637 else
   22638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22639 for as_dir in $PATH$PATH_SEPARATOR/sbin
   22640 do
   22641   IFS=$as_save_IFS
   22642   case $as_dir in #(((
   22643     '') as_dir=./ ;;
   22644     */) ;;
   22645     *) as_dir=$as_dir/ ;;
   22646   esac
   22647     for ac_exec_ext in '' $ac_executable_extensions; do
   22648   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22649     ac_cv_prog_LAUNCHD="yes"
   22650     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22651     break 2
   22652   fi
   22653 done
   22654   done
   22655 IFS=$as_save_IFS
   22656 
   22657   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   22658 fi ;;
   22659 esac
   22660 fi
   22661 LAUNCHD=$ac_cv_prog_LAUNCHD
   22662 if test -n "$LAUNCHD"; then
   22663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   22664 printf "%s\n" "$LAUNCHD" >&6; }
   22665 else
   22666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22667 printf "%s\n" "no" >&6; }
   22668 fi
   22669 
   22670 
   22671 fi
   22672 
   22673 if test "x$LAUNCHD" = xyes ; then
   22674 
   22675 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   22676 
   22677 
   22678 printf "%s\n" "#define TRANS_REOPEN 1" >>confdefs.h
   22679 
   22680 fi
   22681 
   22682 # Check whether --enable-xthreads was given.
   22683 if test ${enable_xthreads+y}
   22684 then :
   22685   enableval=$enable_xthreads; xthreads=$enableval
   22686 else case e in #(
   22687   e) xthreads=yes ;;
   22688 esac
   22689 fi
   22690 
   22691 
   22692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   22693 printf %s "checking for getpwuid_r in -lc... " >&6; }
   22694 if test ${ac_cv_lib_c_getpwuid_r+y}
   22695 then :
   22696   printf %s "(cached) " >&6
   22697 else case e in #(
   22698   e) ac_check_lib_save_LIBS=$LIBS
   22699 LIBS="-lc  $LIBS"
   22700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22701 /* end confdefs.h.  */
   22702 
   22703 /* Override any GCC internal prototype to avoid an error.
   22704    Use char because int might match the return type of a GCC
   22705    builtin and then its argument prototype would still apply.
   22706    The 'extern "C"' is for builds by C++ compilers;
   22707    although this is not generally supported in C code supporting it here
   22708    has little cost and some practical benefit (sr 110532).  */
   22709 #ifdef __cplusplus
   22710 extern "C"
   22711 #endif
   22712 char getpwuid_r (void);
   22713 int
   22714 main (void)
   22715 {
   22716 return getpwuid_r ();
   22717   ;
   22718   return 0;
   22719 }
   22720 _ACEOF
   22721 if ac_fn_c_try_link "$LINENO"
   22722 then :
   22723   ac_cv_lib_c_getpwuid_r=yes
   22724 else case e in #(
   22725   e) ac_cv_lib_c_getpwuid_r=no ;;
   22726 esac
   22727 fi
   22728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22729     conftest$ac_exeext conftest.$ac_ext
   22730 LIBS=$ac_check_lib_save_LIBS ;;
   22731 esac
   22732 fi
   22733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   22734 printf "%s\n" "$ac_cv_lib_c_getpwuid_r" >&6; }
   22735 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   22736 then :
   22737   mtsafeapi="yes"
   22738 else case e in #(
   22739   e) mtsafeapi="no" ;;
   22740 esac
   22741 fi
   22742 
   22743 
   22744 case x$xthreads in
   22745 xyes)
   22746 
   22747 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   22748 
   22749 	if test x$mtsafeapi = xyes
   22750 	then
   22751 
   22752 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   22753 
   22754 	fi
   22755 	;;
   22756 *)
   22757 	;;
   22758 esac
   22759 
   22760 # XXX incomplete, please fill this in
   22761 if test x$xthreads = xyes ; then
   22762     case $host_os in
   22763     linux*|gnu*|k*bsd*-gnu)
   22764         XTHREADLIB=-lpthread ;;
   22765     netbsd*)
   22766 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   22767 	XTHREADLIB="-lpthread" ;;
   22768     freebsd*)
   22769         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   22770         XTHREADLIB="-pthread" ;;
   22771     dragonfly*|openbsd*)
   22772         XTHREADLIB="-pthread" ;;
   22773     solaris*)
   22774 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   22775     esac
   22776 fi
   22777 
   22778 
   22779 
   22780 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22781     USE_THREAD_LIBS="$XTHREADLIB"
   22782 else
   22783     # This should be kept in sync with libxcb
   22784     case $host_os in
   22785     linux*|darwin*|solaris*) ;;
   22786          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   22787     esac
   22788 fi
   22789 
   22790 
   22791 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   22792 if test "x$ac_cv_func_poll" = xyes
   22793 then :
   22794 
   22795 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   22796 
   22797 fi
   22798 
   22799 
   22800 #
   22801 # Find keysymdef.h
   22802 #
   22803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   22804 printf %s "checking keysym definitions... " >&6; }
   22805 
   22806 # Check whether --with-keysymdefdir was given.
   22807 if test ${with_keysymdefdir+y}
   22808 then :
   22809   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   22810 else case e in #(
   22811   e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
   22812 esac
   22813 fi
   22814 
   22815 
   22816 if test ! -d "$KEYSYMDEFDIR"; then
   22817 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   22818 fi
   22819 
   22820 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   22821 for i in $FILES; do
   22822     if test -f "$KEYSYMDEFDIR/$i"; then
   22823             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   22824     elif test "x$i" = "xkeysymdef.h"; then
   22825 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   22826     fi
   22827 done
   22828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   22829 printf "%s\n" "$KEYSYMDEFS" >&6; }
   22830 
   22831 
   22832 # Check whether --enable-xcms was given.
   22833 if test ${enable_xcms+y}
   22834 then :
   22835   enableval=$enable_xcms; XCMS=$enableval
   22836 else case e in #(
   22837   e) XCMS=yes ;;
   22838 esac
   22839 fi
   22840 
   22841  if test x$XCMS = xyes ; then
   22842   XCMS_TRUE=
   22843   XCMS_FALSE='#'
   22844 else
   22845   XCMS_TRUE='#'
   22846   XCMS_FALSE=
   22847 fi
   22848 
   22849 if test x"$XCMS" = "xyes"; then
   22850 
   22851 printf "%s\n" "#define XCMS 1" >>confdefs.h
   22852 
   22853 fi
   22854 
   22855 # Check whether --enable-xlocale was given.
   22856 if test ${enable_xlocale+y}
   22857 then :
   22858   enableval=$enable_xlocale; XLOCALE=$enableval
   22859 else case e in #(
   22860   e) XLOCALE=yes ;;
   22861 esac
   22862 fi
   22863 
   22864 
   22865  if  test x$XLOCALE = xyes ; then
   22866   XLOCALE_TRUE=
   22867   XLOCALE_FALSE='#'
   22868 else
   22869   XLOCALE_TRUE='#'
   22870   XLOCALE_FALSE=
   22871 fi
   22872 
   22873 if test x"$XLOCALE" = "xyes"; then
   22874 
   22875 printf "%s\n" "#define XLOCALE 1" >>confdefs.h
   22876 
   22877 fi
   22878 
   22879 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   22880 # don't have either issetugid() or getresuid(), and you need to protect
   22881 # clients that are setgid or setuid to an id other than 0.
   22882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   22883 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   22884 # Check whether --enable-xlocaledir was given.
   22885 if test ${enable_xlocaledir+y}
   22886 then :
   22887   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   22888 else case e in #(
   22889   e) ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE ;;
   22890 esac
   22891 fi
   22892 
   22893 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   22894 
   22895 printf "%s\n" "#define NO_XLOCALEDIR 1" >>confdefs.h
   22896 
   22897 fi
   22898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   22899 printf "%s\n" "$ENABLE_XLOCALEDIR" >&6; }
   22900 
   22901 # Check whether --enable-xf86bigfont was given.
   22902 if test ${enable_xf86bigfont+y}
   22903 then :
   22904   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   22905 else case e in #(
   22906   e) XF86BIGFONT="yes" ;;
   22907 esac
   22908 fi
   22909 
   22910 if test "x$XF86BIGFONT" = "xyes"; then
   22911 
   22912 pkg_failed=no
   22913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   22914 printf %s "checking for BIGFONT... " >&6; }
   22915 
   22916 if test -n "$BIGFONT_CFLAGS"; then
   22917     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   22918  elif test -n "$PKG_CONFIG"; then
   22919     if test -n "$PKG_CONFIG" && \
   22920     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22921   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22922   ac_status=$?
   22923   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22924   test $ac_status = 0; }; then
   22925   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22926 		      test "x$?" != "x0" && pkg_failed=yes
   22927 else
   22928   pkg_failed=yes
   22929 fi
   22930  else
   22931     pkg_failed=untried
   22932 fi
   22933 if test -n "$BIGFONT_LIBS"; then
   22934     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   22935  elif test -n "$PKG_CONFIG"; then
   22936     if test -n "$PKG_CONFIG" && \
   22937     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22938   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22939   ac_status=$?
   22940   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22941   test $ac_status = 0; }; then
   22942   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22943 		      test "x$?" != "x0" && pkg_failed=yes
   22944 else
   22945   pkg_failed=yes
   22946 fi
   22947  else
   22948     pkg_failed=untried
   22949 fi
   22950 
   22951 
   22952 
   22953 if test $pkg_failed = yes; then
   22954    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22955 printf "%s\n" "no" >&6; }
   22956 
   22957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22958         _pkg_short_errors_supported=yes
   22959 else
   22960         _pkg_short_errors_supported=no
   22961 fi
   22962         if test $_pkg_short_errors_supported = yes; then
   22963 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22964         else
   22965 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22966         fi
   22967 	# Put the nasty error message in config.log where it belongs
   22968 	echo "$BIGFONT_PKG_ERRORS" >&5
   22969 
   22970 	XF86BIGFONT="no"
   22971 elif test $pkg_failed = untried; then
   22972      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22973 printf "%s\n" "no" >&6; }
   22974 	XF86BIGFONT="no"
   22975 else
   22976 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   22977 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   22978         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22979 printf "%s\n" "yes" >&6; }
   22980 
   22981 printf "%s\n" "#define XF86BIGFONT 1" >>confdefs.h
   22982 
   22983 fi
   22984 fi
   22985 
   22986 # Check whether --enable-xkb was given.
   22987 if test ${enable_xkb+y}
   22988 then :
   22989   enableval=$enable_xkb; XKB=$enableval
   22990 else case e in #(
   22991   e) XKB=yes ;;
   22992 esac
   22993 fi
   22994 
   22995 
   22996  if  test x$XKB = xyes ; then
   22997   XKB_TRUE=
   22998   XKB_FALSE='#'
   22999 else
   23000   XKB_TRUE='#'
   23001   XKB_FALSE=
   23002 fi
   23003 
   23004 if test x"$XKB" = "xyes"; then
   23005    XKBPROTO_REQUIRES="kbproto"
   23006    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   23007 
   23008 printf "%s\n" "#define XKB 1" >>confdefs.h
   23009 
   23010 else
   23011    XKBPROTO_REQUIRES=""
   23012 fi
   23013 
   23014 
   23015 
   23016 ac_func=
   23017 for ac_item in $ac_func_c_list
   23018 do
   23019   if test $ac_func; then
   23020     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   23021     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   23022       echo "#define $ac_item 1" >> confdefs.h
   23023     fi
   23024     ac_func=
   23025   else
   23026     ac_func=$ac_item
   23027   fi
   23028 done
   23029 
   23030 
   23031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   23032 printf %s "checking for working mmap... " >&6; }
   23033 if test ${ac_cv_func_mmap_fixed_mapped+y}
   23034 then :
   23035   printf %s "(cached) " >&6
   23036 else case e in #(
   23037   e) if test "$cross_compiling" = yes
   23038 then :
   23039   case "$host_os" in # ((
   23040 			  # Guess yes on platforms where we know the result.
   23041 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   23042 			  # If we don't know, assume the worst.
   23043 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   23044 		esac
   23045 else case e in #(
   23046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23047 /* end confdefs.h.  */
   23048 $ac_includes_default
   23049 /* malloc might have been renamed as rpl_malloc. */
   23050 #undef malloc
   23051 
   23052 /* Thanks to Mike Haertel and Jim Avera for this test.
   23053    Here is a matrix of mmap possibilities:
   23054 	mmap private not fixed
   23055 	mmap private fixed at somewhere currently unmapped
   23056 	mmap private fixed at somewhere already mapped
   23057 	mmap shared not fixed
   23058 	mmap shared fixed at somewhere currently unmapped
   23059 	mmap shared fixed at somewhere already mapped
   23060    For private mappings, we should verify that changes cannot be read()
   23061    back from the file, nor mmap's back from the file at a different
   23062    address.  (There have been systems where private was not correctly
   23063    implemented like the infamous i386 svr4.0, and systems where the
   23064    VM page cache was not coherent with the file system buffer cache
   23065    like early versions of FreeBSD and possibly contemporary NetBSD.)
   23066    For shared mappings, we should conversely verify that changes get
   23067    propagated back to all the places they're supposed to be.  */
   23068 
   23069 #include <fcntl.h>
   23070 #include <sys/mman.h>
   23071 
   23072 #ifndef getpagesize
   23073 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   23074    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   23075 # ifdef _SC_PAGESIZE
   23076 #  define getpagesize() sysconf (_SC_PAGESIZE)
   23077 # elif defined _SC_PAGE_SIZE
   23078 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   23079 # elif HAVE_GETPAGESIZE
   23080 int getpagesize ();
   23081 # else
   23082 #  ifdef HAVE_SYS_PARAM_H
   23083 #   include <sys/param.h>
   23084 #   ifdef EXEC_PAGESIZE
   23085 #    define getpagesize() EXEC_PAGESIZE
   23086 #   else /* no EXEC_PAGESIZE */
   23087 #    ifdef NBPG
   23088 #     define getpagesize() NBPG * CLSIZE
   23089 #     ifndef CLSIZE
   23090 #      define CLSIZE 1
   23091 #     endif /* no CLSIZE */
   23092 #    else /* no NBPG */
   23093 #     ifdef NBPC
   23094 #      define getpagesize() NBPC
   23095 #     else /* no NBPC */
   23096 #      ifdef PAGESIZE
   23097 #       define getpagesize() PAGESIZE
   23098 #      endif /* PAGESIZE */
   23099 #     endif /* no NBPC */
   23100 #    endif /* no NBPG */
   23101 #   endif /* no EXEC_PAGESIZE */
   23102 #  else /* no HAVE_SYS_PARAM_H */
   23103 #   define getpagesize() 8192	/* punt totally */
   23104 #  endif /* no HAVE_SYS_PARAM_H */
   23105 # endif
   23106 #endif
   23107 
   23108 int
   23109 main (void)
   23110 {
   23111   char *data, *data2, *data3;
   23112   const char *cdata2;
   23113   long i, pagesize;
   23114   int fd, fd2;
   23115 
   23116   pagesize = getpagesize ();
   23117 
   23118   /* First, make a file with some known garbage in it. */
   23119   data = (char *) malloc (pagesize);
   23120   if (!data)
   23121     return 1;
   23122   for (i = 0; i < pagesize; ++i)
   23123     *(data + i) = rand ();
   23124   umask (0);
   23125   fd = creat ("conftest.mmap", 0600);
   23126   if (fd < 0)
   23127     return 2;
   23128   if (write (fd, data, pagesize) != pagesize)
   23129     return 3;
   23130   close (fd);
   23131 
   23132   /* Next, check that the tail of a page is zero-filled.  File must have
   23133      non-zero length, otherwise we risk SIGBUS for entire page.  */
   23134   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   23135   if (fd2 < 0)
   23136     return 4;
   23137   cdata2 = "";
   23138   if (write (fd2, cdata2, 1) != 1)
   23139     return 5;
   23140   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   23141   if (data2 == MAP_FAILED)
   23142     return 6;
   23143   for (i = 0; i < pagesize; ++i)
   23144     if (*(data2 + i))
   23145       return 7;
   23146   close (fd2);
   23147   /* 'return 8;' not currently used.  */
   23148 
   23149   /* Next, try to mmap the file at a fixed address which already has
   23150      something else allocated at it.  If we can, also make sure that
   23151      we see the same garbage.  */
   23152   fd = open ("conftest.mmap", O_RDWR);
   23153   if (fd < 0)
   23154     return 9;
   23155   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   23156 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   23157     return 10;
   23158   for (i = 0; i < pagesize; ++i)
   23159     if (*(data + i) != *(data2 + i))
   23160       return 11;
   23161 
   23162   /* Finally, make sure that changes to the mapped area do not
   23163      percolate back to the file as seen by read().  (This is a bug on
   23164      some variants of i386 svr4.0.)  */
   23165   for (i = 0; i < pagesize; ++i)
   23166     *(data2 + i) = *(data2 + i) + 1;
   23167   data3 = (char *) malloc (pagesize);
   23168   if (!data3)
   23169     return 12;
   23170   if (read (fd, data3, pagesize) != pagesize)
   23171     return 13;
   23172   for (i = 0; i < pagesize; ++i)
   23173     if (*(data + i) != *(data3 + i))
   23174       return 14;
   23175   close (fd);
   23176   free (data);
   23177   free (data3);
   23178   return 0;
   23179 }
   23180 _ACEOF
   23181 if ac_fn_c_try_run "$LINENO"
   23182 then :
   23183   ac_cv_func_mmap_fixed_mapped=yes
   23184 else case e in #(
   23185   e) ac_cv_func_mmap_fixed_mapped=no ;;
   23186 esac
   23187 fi
   23188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23189   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23190 esac
   23191 fi
   23192  ;;
   23193 esac
   23194 fi
   23195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   23196 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   23197 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   23198 
   23199 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   23200 
   23201 fi
   23202 rm -f conftest.mmap conftest.txt
   23203 
   23204 composecache_default=$ac_cv_func_mmap_fixed_mapped
   23205 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   23206 if test "x$ac_cv_func_nl_langinfo" = xyes
   23207 then :
   23208 
   23209 else case e in #(
   23210   e) composecache_default=no ;;
   23211 esac
   23212 fi
   23213 
   23214 # Check whether --enable-composecache was given.
   23215 if test ${enable_composecache+y}
   23216 then :
   23217   enableval=$enable_composecache; COMPOSECACHE=$enableval
   23218 else case e in #(
   23219   e) COMPOSECACHE=$composecache_default ;;
   23220 esac
   23221 fi
   23222 
   23223 if test x"$COMPOSECACHE" = "xyes"; then
   23224 
   23225 printf "%s\n" "#define COMPOSECACHE 1" >>confdefs.h
   23226 
   23227 fi
   23228 
   23229 # Allow checking code with lint, sparse, etc.
   23230 
   23231 
   23232 
   23233 
   23234 
   23235 # Check whether --with-lint was given.
   23236 if test ${with_lint+y}
   23237 then :
   23238   withval=$with_lint; use_lint=$withval
   23239 else case e in #(
   23240   e) use_lint=no ;;
   23241 esac
   23242 fi
   23243 
   23244 
   23245 # Obtain platform specific info like program name and options
   23246 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   23247 case $host_os in
   23248   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   23249 	lint_name=splint
   23250 	lint_options="-badflag"
   23251 	;;
   23252   *freebsd* | *netbsd*)
   23253 	lint_name=lint
   23254 	lint_options="-u -b"
   23255 	;;
   23256   *solaris*)
   23257 	lint_name=lint
   23258 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   23259 	;;
   23260 esac
   23261 
   23262 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   23263 if test "x$use_lint" = x"yes" ; then
   23264    # Extract the first word of "$lint_name", so it can be a program name with args.
   23265 set dummy $lint_name; ac_word=$2
   23266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23267 printf %s "checking for $ac_word... " >&6; }
   23268 if test ${ac_cv_path_LINT+y}
   23269 then :
   23270   printf %s "(cached) " >&6
   23271 else case e in #(
   23272   e) case $LINT in
   23273   [\\/]* | ?:[\\/]*)
   23274   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   23275   ;;
   23276   *)
   23277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23278 for as_dir in $PATH
   23279 do
   23280   IFS=$as_save_IFS
   23281   case $as_dir in #(((
   23282     '') as_dir=./ ;;
   23283     */) ;;
   23284     *) as_dir=$as_dir/ ;;
   23285   esac
   23286     for ac_exec_ext in '' $ac_executable_extensions; do
   23287   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23288     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   23289     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23290     break 2
   23291   fi
   23292 done
   23293   done
   23294 IFS=$as_save_IFS
   23295 
   23296   ;;
   23297 esac ;;
   23298 esac
   23299 fi
   23300 LINT=$ac_cv_path_LINT
   23301 if test -n "$LINT"; then
   23302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   23303 printf "%s\n" "$LINT" >&6; }
   23304 else
   23305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23306 printf "%s\n" "no" >&6; }
   23307 fi
   23308 
   23309 
   23310    if test "x$LINT" = "x"; then
   23311         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   23312    fi
   23313 elif test "x$use_lint" = x"no" ; then
   23314    if test "x$LINT" != "x"; then
   23315       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   23316 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   23317    fi
   23318 else
   23319    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   23320 fi
   23321 
   23322 # User supplied flags override default flags
   23323 if test "x$LINT_FLAGS" != "x"; then
   23324    lint_options=$LINT_FLAGS
   23325 fi
   23326 
   23327 LINT_FLAGS=$lint_options
   23328 
   23329  if test "x$LINT" != x; then
   23330   LINT_TRUE=
   23331   LINT_FALSE='#'
   23332 else
   23333   LINT_TRUE='#'
   23334   LINT_FALSE=
   23335 fi
   23336 
   23337 
   23338 
   23339 
   23340 
   23341 # Check whether --enable-lint-library was given.
   23342 if test ${enable_lint_library+y}
   23343 then :
   23344   enableval=$enable_lint_library; make_lint_lib=$enableval
   23345 else case e in #(
   23346   e) make_lint_lib=no ;;
   23347 esac
   23348 fi
   23349 
   23350 
   23351 if test "x$make_lint_lib" = x"yes" ; then
   23352    LINTLIB=llib-lX11.ln
   23353    if test "x$LINT" = "x"; then
   23354         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   23355    fi
   23356 elif test "x$make_lint_lib" != x"no" ; then
   23357    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   23358 fi
   23359 
   23360 
   23361  if test x$make_lint_lib != xno; then
   23362   MAKE_LINT_LIB_TRUE=
   23363   MAKE_LINT_LIB_FALSE='#'
   23364 else
   23365   MAKE_LINT_LIB_TRUE='#'
   23366   MAKE_LINT_LIB_FALSE=
   23367 fi
   23368 
   23369 
   23370 
   23371 
   23372 X11_DATADIR="${datadir}/X11"
   23373 
   23374   prefix_NONE=
   23375   exec_prefix_NONE=
   23376   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23377   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23378   eval ax_define_dir="\"$X11_DATADIR\""
   23379   eval ax_define_dir="\"$ax_define_dir\""
   23380   X11_DATADIR="$ax_define_dir"
   23381 
   23382 
   23383 printf "%s\n" "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   23384 
   23385   test "$prefix_NONE" && prefix=NONE
   23386   test "$exec_prefix_NONE" && exec_prefix=NONE
   23387 
   23388 
   23389 
   23390 X11_LIBDIR="${libdir}/X11"
   23391 
   23392   prefix_NONE=
   23393   exec_prefix_NONE=
   23394   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23395   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23396   eval ax_define_dir="\"$X11_LIBDIR\""
   23397   eval ax_define_dir="\"$ax_define_dir\""
   23398   X11_LIBDIR="$ax_define_dir"
   23399 
   23400 
   23401 printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   23402 
   23403   test "$prefix_NONE" && prefix=NONE
   23404   test "$exec_prefix_NONE" && exec_prefix=NONE
   23405 
   23406 
   23407 
   23408 
   23409 pkg_failed=no
   23410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   23411 printf %s "checking for X11... " >&6; }
   23412 
   23413 if test -n "$X11_CFLAGS"; then
   23414     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   23415  elif test -n "$PKG_CONFIG"; then
   23416     if test -n "$PKG_CONFIG" && \
   23417     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23418   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23419   ac_status=$?
   23420   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23421   test $ac_status = 0; }; then
   23422   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   23423 		      test "x$?" != "x0" && pkg_failed=yes
   23424 else
   23425   pkg_failed=yes
   23426 fi
   23427  else
   23428     pkg_failed=untried
   23429 fi
   23430 if test -n "$X11_LIBS"; then
   23431     pkg_cv_X11_LIBS="$X11_LIBS"
   23432  elif test -n "$PKG_CONFIG"; then
   23433     if test -n "$PKG_CONFIG" && \
   23434     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23435   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23436   ac_status=$?
   23437   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23438   test $ac_status = 0; }; then
   23439   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   23440 		      test "x$?" != "x0" && pkg_failed=yes
   23441 else
   23442   pkg_failed=yes
   23443 fi
   23444  else
   23445     pkg_failed=untried
   23446 fi
   23447 
   23448 
   23449 
   23450 if test $pkg_failed = yes; then
   23451    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23452 printf "%s\n" "no" >&6; }
   23453 
   23454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23455         _pkg_short_errors_supported=yes
   23456 else
   23457         _pkg_short_errors_supported=no
   23458 fi
   23459         if test $_pkg_short_errors_supported = yes; then
   23460 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23461         else
   23462 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23463         fi
   23464 	# Put the nasty error message in config.log where it belongs
   23465 	echo "$X11_PKG_ERRORS" >&5
   23466 
   23467 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   23468 
   23469 $X11_PKG_ERRORS
   23470 
   23471 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23472 installed software in a non-standard prefix.
   23473 
   23474 Alternatively, you may set the environment variables X11_CFLAGS
   23475 and X11_LIBS to avoid the need to call pkg-config.
   23476 See the pkg-config man page for more details." "$LINENO" 5
   23477 elif test $pkg_failed = untried; then
   23478      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23479 printf "%s\n" "no" >&6; }
   23480 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23481 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23482 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23483 is in your PATH or set the PKG_CONFIG environment variable to the full
   23484 path to pkg-config.
   23485 
   23486 Alternatively, you may set the environment variables X11_CFLAGS
   23487 and X11_LIBS to avoid the need to call pkg-config.
   23488 See the pkg-config man page for more details.
   23489 
   23490 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23491 See 'config.log' for more details" "$LINENO" 5; }
   23492 else
   23493 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   23494 	X11_LIBS=$pkg_cv_X11_LIBS
   23495         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23496 printf "%s\n" "yes" >&6; }
   23497 
   23498 fi
   23499 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   23500 
   23501 #
   23502 # Yes, it would be nice to put the locale data in
   23503 # /usr/share, but the locale stuff includes loadable
   23504 # libraries which must be located in the same directory
   23505 # as the other locale data, so for now, everything lives
   23506 # in ${libdir}
   23507 #
   23508 
   23509 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   23510 
   23511   prefix_NONE=
   23512   exec_prefix_NONE=
   23513   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23514   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23515   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   23516   eval ax_define_dir="\"$ax_define_dir\""
   23517   XLOCALEDATADIR="$ax_define_dir"
   23518 
   23519 
   23520 printf "%s\n" "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   23521 
   23522   test "$prefix_NONE" && prefix=NONE
   23523   test "$exec_prefix_NONE" && exec_prefix=NONE
   23524 
   23525 
   23526 
   23527 
   23528 # Check whether --with-locale-lib-dir was given.
   23529 if test ${with_locale_lib_dir+y}
   23530 then :
   23531   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   23532 else case e in #(
   23533   e)  X11_LOCALELIBDIR="${X11_LIBDIR}/locale"  ;;
   23534 esac
   23535 fi
   23536 
   23537 
   23538   prefix_NONE=
   23539   exec_prefix_NONE=
   23540   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23541   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23542   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   23543   eval ax_define_dir="\"$ax_define_dir\""
   23544   XLOCALELIBDIR="$ax_define_dir"
   23545 
   23546 
   23547 printf "%s\n" "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   23548 
   23549   test "$prefix_NONE" && prefix=NONE
   23550   test "$exec_prefix_NONE" && exec_prefix=NONE
   23551 
   23552 
   23553 
   23554 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   23555 
   23556   prefix_NONE=
   23557   exec_prefix_NONE=
   23558   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23559   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23560   eval ax_define_dir="\"$X11_LOCALEDIR\""
   23561   eval ax_define_dir="\"$ax_define_dir\""
   23562   XLOCALEDIR="$ax_define_dir"
   23563 
   23564 
   23565 printf "%s\n" "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   23566 
   23567   test "$prefix_NONE" && prefix=NONE
   23568   test "$exec_prefix_NONE" && exec_prefix=NONE
   23569 
   23570 
   23571 
   23572 locales="\
   23573  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   23574  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   23575  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   23576  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   23577  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   23578  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   23579  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   23580  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   23581  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   23582  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   23583  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   23584  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   23585 
   23586 
   23587 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   23588 
   23589   prefix_NONE=
   23590   exec_prefix_NONE=
   23591   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23592   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23593   eval ax_define_dir="\"$XKEYSYMDB\""
   23594   eval ax_define_dir="\"$ax_define_dir\""
   23595   XKEYSYMDB="$ax_define_dir"
   23596 
   23597 
   23598 printf "%s\n" "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   23599 
   23600   test "$prefix_NONE" && prefix=NONE
   23601   test "$exec_prefix_NONE" && exec_prefix=NONE
   23602 
   23603 
   23604 XERRORDB="${X11_DATADIR}/XErrorDB"
   23605 
   23606   prefix_NONE=
   23607   exec_prefix_NONE=
   23608   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23609   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23610   eval ax_define_dir="\"$XERRORDB\""
   23611   eval ax_define_dir="\"$ax_define_dir\""
   23612   XERRORDB="$ax_define_dir"
   23613 
   23614 
   23615 printf "%s\n" "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   23616 
   23617   test "$prefix_NONE" && prefix=NONE
   23618   test "$exec_prefix_NONE" && exec_prefix=NONE
   23619 
   23620 
   23621 
   23622 # Check whether --enable-malloc0returnsnull was given.
   23623 if test ${enable_malloc0returnsnull+y}
   23624 then :
   23625   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   23626 else case e in #(
   23627   e) MALLOC_ZERO_RETURNS_NULL=auto ;;
   23628 esac
   23629 fi
   23630 
   23631 
   23632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   23633 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   23634 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   23635 if test ${xorg_cv_malloc0_returns_null+y}
   23636 then :
   23637   printf %s "(cached) " >&6
   23638 else case e in #(
   23639   e) if test "$cross_compiling" = yes
   23640 then :
   23641   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23642 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23643 as_fn_error $? "cannot run test program while cross compiling
   23644 See 'config.log' for more details" "$LINENO" 5; }
   23645 else case e in #(
   23646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23647 /* end confdefs.h.  */
   23648 
   23649 #include <stdlib.h>
   23650 
   23651 int
   23652 main (void)
   23653 {
   23654 
   23655     char *m0, *r0, *c0, *p;
   23656     m0 = malloc(0);
   23657     p = malloc(10);
   23658     r0 = realloc(p,0);
   23659     c0 = calloc(0,10);
   23660     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   23661 
   23662   ;
   23663   return 0;
   23664 }
   23665 _ACEOF
   23666 if ac_fn_c_try_run "$LINENO"
   23667 then :
   23668   xorg_cv_malloc0_returns_null=yes
   23669 else case e in #(
   23670   e) xorg_cv_malloc0_returns_null=no ;;
   23671 esac
   23672 fi
   23673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23674   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23675 esac
   23676 fi
   23677  ;;
   23678 esac
   23679 fi
   23680 
   23681 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   23682 fi
   23683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   23684 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   23685 
   23686 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   23687 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   23688 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   23689 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   23690 else
   23691 	MALLOC_ZERO_CFLAGS=""
   23692 	XMALLOC_ZERO_CFLAGS=""
   23693 	XTMALLOC_ZERO_CFLAGS=""
   23694 fi
   23695 
   23696 
   23697 
   23698 
   23699 
   23700 
   23701 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"
   23702 
   23703 cat >confcache <<\_ACEOF
   23704 # This file is a shell script that caches the results of configure
   23705 # tests run on this system so they can be shared between configure
   23706 # scripts and configure runs, see configure's option --config-cache.
   23707 # It is not useful on other systems.  If it contains results you don't
   23708 # want to keep, you may remove or edit it.
   23709 #
   23710 # config.status only pays attention to the cache file if you give it
   23711 # the --recheck option to rerun configure.
   23712 #
   23713 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   23714 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   23715 # following values.
   23716 
   23717 _ACEOF
   23718 
   23719 # The following way of writing the cache mishandles newlines in values,
   23720 # but we know of no workaround that is simple, portable, and efficient.
   23721 # So, we kill variables containing newlines.
   23722 # Ultrix sh set writes to stderr and can't be redirected directly,
   23723 # and sets the high bit in the cache file unless we assign to the vars.
   23724 (
   23725   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23726     eval ac_val=\$$ac_var
   23727     case $ac_val in #(
   23728     *${as_nl}*)
   23729       case $ac_var in #(
   23730       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   23731 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   23732       esac
   23733       case $ac_var in #(
   23734       _ | IFS | as_nl) ;; #(
   23735       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   23736       *) { eval $ac_var=; unset $ac_var;} ;;
   23737       esac ;;
   23738     esac
   23739   done
   23740 
   23741   (set) 2>&1 |
   23742     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23743     *${as_nl}ac_space=\ *)
   23744       # 'set' does not quote correctly, so add quotes: double-quote
   23745       # substitution turns \\\\ into \\, and sed turns \\ into \.
   23746       sed -n \
   23747 	"s/'/'\\\\''/g;
   23748 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23749       ;; #(
   23750     *)
   23751       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   23752       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23753       ;;
   23754     esac |
   23755     sort
   23756 ) |
   23757   sed '
   23758      /^ac_cv_env_/b end
   23759      t clear
   23760      :clear
   23761      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   23762      t end
   23763      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23764      :end' >>confcache
   23765 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23766   if test -w "$cache_file"; then
   23767     if test "x$cache_file" != "x/dev/null"; then
   23768       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   23769 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   23770       if test ! -f "$cache_file" || test -h "$cache_file"; then
   23771 	cat confcache >"$cache_file"
   23772       else
   23773         case $cache_file in #(
   23774         */* | ?:*)
   23775 	  mv -f confcache "$cache_file"$$ &&
   23776 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   23777         *)
   23778 	  mv -f confcache "$cache_file" ;;
   23779 	esac
   23780       fi
   23781     fi
   23782   else
   23783     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   23784 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   23785   fi
   23786 fi
   23787 rm -f confcache
   23788 
   23789 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23790 # Let make expand exec_prefix.
   23791 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23792 
   23793 DEFS=-DHAVE_CONFIG_H
   23794 
   23795 ac_libobjs=
   23796 ac_ltlibobjs=
   23797 U=
   23798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23799   # 1. Remove the extension, and $U if already installed.
   23800   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23801   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   23802   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23803   #    will be set to the directory where LIBOBJS objects are built.
   23804   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23805   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   23806 done
   23807 LIBOBJS=$ac_libobjs
   23808 
   23809 LTLIBOBJS=$ac_ltlibobjs
   23810 
   23811 
   23812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   23813 printf %s "checking that generated files are newer than configure... " >&6; }
   23814    if test -n "$am_sleep_pid"; then
   23815      # Hide warnings about reused PIDs.
   23816      wait $am_sleep_pid 2>/dev/null
   23817    fi
   23818    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   23819 printf "%s\n" "done" >&6; }
   23820 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23821   as_fn_error $? "conditional \"AMDEP\" was never defined.
   23822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23823 fi
   23824 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23825   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   23826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23827 fi
   23828 case $enable_silent_rules in # (((
   23829   yes) AM_DEFAULT_VERBOSITY=0;;
   23830    no) AM_DEFAULT_VERBOSITY=1;;
   23831 esac
   23832 if test $am_cv_make_support_nested_variables = yes; then
   23833     AM_V='$(V)'
   23834   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   23835 else
   23836   AM_V=$AM_DEFAULT_VERBOSITY
   23837   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   23838 fi
   23839 
   23840  if test -n "$EXEEXT"; then
   23841   am__EXEEXT_TRUE=
   23842   am__EXEEXT_FALSE='#'
   23843 else
   23844   am__EXEEXT_TRUE='#'
   23845   am__EXEEXT_FALSE=
   23846 fi
   23847 
   23848 # Check whether --enable-year2038 was given.
   23849 if test ${enable_year2038+y}
   23850 then :
   23851   enableval=$enable_year2038;
   23852 fi
   23853 
   23854 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   23855   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   23856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23857 fi
   23858 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   23859   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   23860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23861 fi
   23862 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   23863   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   23864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23865 fi
   23866 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   23867   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   23868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23869 fi
   23870 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   23871   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   23872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23873 fi
   23874 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   23875   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   23876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23877 fi
   23878 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   23879   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   23880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23881 fi
   23882 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   23883   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   23884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23885 fi
   23886 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   23887   as_fn_error $? "conditional \"OS2\" was never defined.
   23888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23889 fi
   23890 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   23891   as_fn_error $? "conditional \"XCMS\" was never defined.
   23892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23893 fi
   23894 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   23895   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   23896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23897 fi
   23898 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   23899   as_fn_error $? "conditional \"XKB\" was never defined.
   23900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23901 fi
   23902 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   23903   as_fn_error $? "conditional \"LINT\" was never defined.
   23904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23905 fi
   23906 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   23907   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   23908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23909 fi
   23910 
   23911 : "${CONFIG_STATUS=./config.status}"
   23912 ac_write_fail=0
   23913 ac_clean_files_save=$ac_clean_files
   23914 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   23916 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   23917 as_write_fail=0
   23918 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   23919 #! $SHELL
   23920 # Generated by $as_me.
   23921 # Run this file to recreate the current configuration.
   23922 # Compiler output produced by configure, useful for debugging
   23923 # configure, is in config.log if it exists.
   23924 
   23925 debug=false
   23926 ac_cs_recheck=false
   23927 ac_cs_silent=false
   23928 
   23929 SHELL=\${CONFIG_SHELL-$SHELL}
   23930 export SHELL
   23931 _ASEOF
   23932 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   23933 ## -------------------- ##
   23934 ## M4sh Initialization. ##
   23935 ## -------------------- ##
   23936 
   23937 # Be more Bourne compatible
   23938 DUALCASE=1; export DUALCASE # for MKS sh
   23939 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   23940 then :
   23941   emulate sh
   23942   NULLCMD=:
   23943   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23944   # is contrary to our usage.  Disable this feature.
   23945   alias -g '${1+"$@"}'='"$@"'
   23946   setopt NO_GLOB_SUBST
   23947 else case e in #(
   23948   e) case `(set -o) 2>/dev/null` in #(
   23949   *posix*) :
   23950     set -o posix ;; #(
   23951   *) :
   23952      ;;
   23953 esac ;;
   23954 esac
   23955 fi
   23956 
   23957 
   23958 
   23959 # Reset variables that may have inherited troublesome values from
   23960 # the environment.
   23961 
   23962 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   23963 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   23964 # side effect of setting IFS to empty, thus disabling word splitting.)
   23965 # Quoting is to prevent editors from complaining about space-tab.
   23966 as_nl='
   23967 '
   23968 export as_nl
   23969 IFS=" ""	$as_nl"
   23970 
   23971 PS1='$ '
   23972 PS2='> '
   23973 PS4='+ '
   23974 
   23975 # Ensure predictable behavior from utilities with locale-dependent output.
   23976 LC_ALL=C
   23977 export LC_ALL
   23978 LANGUAGE=C
   23979 export LANGUAGE
   23980 
   23981 # We cannot yet rely on "unset" to work, but we need these variables
   23982 # to be unset--not just set to an empty or harmless value--now, to
   23983 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   23984 # also avoids known problems related to "unset" and subshell syntax
   23985 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   23986 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   23987 do eval test \${$as_var+y} \
   23988   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   23989 done
   23990 
   23991 # Ensure that fds 0, 1, and 2 are open.
   23992 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   23993 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   23994 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   23995 
   23996 # The user is always right.
   23997 if ${PATH_SEPARATOR+false} :; then
   23998   PATH_SEPARATOR=:
   23999   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24000     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24001       PATH_SEPARATOR=';'
   24002   }
   24003 fi
   24004 
   24005 
   24006 # Find who we are.  Look in the path if we contain no directory separator.
   24007 as_myself=
   24008 case $0 in #((
   24009   *[\\/]* ) as_myself=$0 ;;
   24010   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24011 for as_dir in $PATH
   24012 do
   24013   IFS=$as_save_IFS
   24014   case $as_dir in #(((
   24015     '') as_dir=./ ;;
   24016     */) ;;
   24017     *) as_dir=$as_dir/ ;;
   24018   esac
   24019     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   24020   done
   24021 IFS=$as_save_IFS
   24022 
   24023      ;;
   24024 esac
   24025 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   24026 # in which case we are not to be found in the path.
   24027 if test "x$as_myself" = x; then
   24028   as_myself=$0
   24029 fi
   24030 if test ! -f "$as_myself"; then
   24031   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24032   exit 1
   24033 fi
   24034 
   24035 
   24036 
   24037 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24038 # ----------------------------------------
   24039 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24040 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24041 # script with STATUS, using 1 if that was 0.
   24042 as_fn_error ()
   24043 {
   24044   as_status=$1; test $as_status -eq 0 && as_status=1
   24045   if test "$4"; then
   24046     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24048   fi
   24049   printf "%s\n" "$as_me: error: $2" >&2
   24050   as_fn_exit $as_status
   24051 } # as_fn_error
   24052 
   24053 
   24054 # as_fn_set_status STATUS
   24055 # -----------------------
   24056 # Set $? to STATUS, without forking.
   24057 as_fn_set_status ()
   24058 {
   24059   return $1
   24060 } # as_fn_set_status
   24061 
   24062 # as_fn_exit STATUS
   24063 # -----------------
   24064 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   24065 as_fn_exit ()
   24066 {
   24067   set +e
   24068   as_fn_set_status $1
   24069   exit $1
   24070 } # as_fn_exit
   24071 
   24072 # as_fn_unset VAR
   24073 # ---------------
   24074 # Portably unset VAR.
   24075 as_fn_unset ()
   24076 {
   24077   { eval $1=; unset $1;}
   24078 }
   24079 as_unset=as_fn_unset
   24080 
   24081 # as_fn_append VAR VALUE
   24082 # ----------------------
   24083 # Append the text in VALUE to the end of the definition contained in VAR. Take
   24084 # advantage of any shell optimizations that allow amortized linear growth over
   24085 # repeated appends, instead of the typical quadratic growth present in naive
   24086 # implementations.
   24087 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   24088 then :
   24089   eval 'as_fn_append ()
   24090   {
   24091     eval $1+=\$2
   24092   }'
   24093 else case e in #(
   24094   e) as_fn_append ()
   24095   {
   24096     eval $1=\$$1\$2
   24097   } ;;
   24098 esac
   24099 fi # as_fn_append
   24100 
   24101 # as_fn_arith ARG...
   24102 # ------------------
   24103 # Perform arithmetic evaluation on the ARGs, and store the result in the
   24104 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   24105 # must be portable across $(()) and expr.
   24106 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   24107 then :
   24108   eval 'as_fn_arith ()
   24109   {
   24110     as_val=$(( $* ))
   24111   }'
   24112 else case e in #(
   24113   e) as_fn_arith ()
   24114   {
   24115     as_val=`expr "$@" || test $? -eq 1`
   24116   } ;;
   24117 esac
   24118 fi # as_fn_arith
   24119 
   24120 
   24121 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24122    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24123   as_expr=expr
   24124 else
   24125   as_expr=false
   24126 fi
   24127 
   24128 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24129   as_basename=basename
   24130 else
   24131   as_basename=false
   24132 fi
   24133 
   24134 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24135   as_dirname=dirname
   24136 else
   24137   as_dirname=false
   24138 fi
   24139 
   24140 as_me=`$as_basename -- "$0" ||
   24141 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24142 	 X"$0" : 'X\(//\)$' \| \
   24143 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24144 printf "%s\n" X/"$0" |
   24145     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24146 	    s//\1/
   24147 	    q
   24148 	  }
   24149 	  /^X\/\(\/\/\)$/{
   24150 	    s//\1/
   24151 	    q
   24152 	  }
   24153 	  /^X\/\(\/\).*/{
   24154 	    s//\1/
   24155 	    q
   24156 	  }
   24157 	  s/.*/./; q'`
   24158 
   24159 # Avoid depending upon Character Ranges.
   24160 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24161 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24162 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24163 as_cr_digits='0123456789'
   24164 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24165 
   24166 
   24167 # Determine whether it's possible to make 'echo' print without a newline.
   24168 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   24169 # for compatibility with existing Makefiles.
   24170 ECHO_C= ECHO_N= ECHO_T=
   24171 case `echo -n x` in #(((((
   24172 -n*)
   24173   case `echo 'xy\c'` in
   24174   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   24175   xy)  ECHO_C='\c';;
   24176   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   24177        ECHO_T='	';;
   24178   esac;;
   24179 *)
   24180   ECHO_N='-n';;
   24181 esac
   24182 
   24183 # For backward compatibility with old third-party macros, we provide
   24184 # the shell variables $as_echo and $as_echo_n.  New code should use
   24185 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   24186 as_echo='printf %s\n'
   24187 as_echo_n='printf %s'
   24188 
   24189 rm -f conf$$ conf$$.exe conf$$.file
   24190 if test -d conf$$.dir; then
   24191   rm -f conf$$.dir/conf$$.file
   24192 else
   24193   rm -f conf$$.dir
   24194   mkdir conf$$.dir 2>/dev/null
   24195 fi
   24196 if (echo >conf$$.file) 2>/dev/null; then
   24197   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24198     as_ln_s='ln -s'
   24199     # ... but there are two gotchas:
   24200     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   24201     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   24202     # In both cases, we have to default to 'cp -pR'.
   24203     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24204       as_ln_s='cp -pR'
   24205   elif ln conf$$.file conf$$ 2>/dev/null; then
   24206     as_ln_s=ln
   24207   else
   24208     as_ln_s='cp -pR'
   24209   fi
   24210 else
   24211   as_ln_s='cp -pR'
   24212 fi
   24213 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24214 rmdir conf$$.dir 2>/dev/null
   24215 
   24216 
   24217 # as_fn_mkdir_p
   24218 # -------------
   24219 # Create "$as_dir" as a directory, including parents if necessary.
   24220 as_fn_mkdir_p ()
   24221 {
   24222 
   24223   case $as_dir in #(
   24224   -*) as_dir=./$as_dir;;
   24225   esac
   24226   test -d "$as_dir" || eval $as_mkdir_p || {
   24227     as_dirs=
   24228     while :; do
   24229       case $as_dir in #(
   24230       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24231       *) as_qdir=$as_dir;;
   24232       esac
   24233       as_dirs="'$as_qdir' $as_dirs"
   24234       as_dir=`$as_dirname -- "$as_dir" ||
   24235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24236 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24237 	 X"$as_dir" : 'X\(//\)$' \| \
   24238 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24239 printf "%s\n" X"$as_dir" |
   24240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24241 	    s//\1/
   24242 	    q
   24243 	  }
   24244 	  /^X\(\/\/\)[^/].*/{
   24245 	    s//\1/
   24246 	    q
   24247 	  }
   24248 	  /^X\(\/\/\)$/{
   24249 	    s//\1/
   24250 	    q
   24251 	  }
   24252 	  /^X\(\/\).*/{
   24253 	    s//\1/
   24254 	    q
   24255 	  }
   24256 	  s/.*/./; q'`
   24257       test -d "$as_dir" && break
   24258     done
   24259     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24260   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   24261 
   24262 
   24263 } # as_fn_mkdir_p
   24264 if mkdir -p . 2>/dev/null; then
   24265   as_mkdir_p='mkdir -p "$as_dir"'
   24266 else
   24267   test -d ./-p && rmdir ./-p
   24268   as_mkdir_p=false
   24269 fi
   24270 
   24271 
   24272 # as_fn_executable_p FILE
   24273 # -----------------------
   24274 # Test if FILE is an executable regular file.
   24275 as_fn_executable_p ()
   24276 {
   24277   test -f "$1" && test -x "$1"
   24278 } # as_fn_executable_p
   24279 as_test_x='test -x'
   24280 as_executable_p=as_fn_executable_p
   24281 
   24282 # Sed expression to map a string onto a valid CPP name.
   24283 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24284 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   24285 
   24286 # Sed expression to map a string onto a valid variable name.
   24287 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   24288 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   24289 
   24290 
   24291 exec 6>&1
   24292 ## ----------------------------------- ##
   24293 ## Main body of $CONFIG_STATUS script. ##
   24294 ## ----------------------------------- ##
   24295 _ASEOF
   24296 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   24297 
   24298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24299 # Save the log message, to keep $0 and so on meaningful, and to
   24300 # report actual input values of CONFIG_FILES etc. instead of their
   24301 # values after options handling.
   24302 ac_log="
   24303 This file was extended by libX11 $as_me 1.8.10, which was
   24304 generated by GNU Autoconf 2.72.  Invocation command line was
   24305 
   24306   CONFIG_FILES    = $CONFIG_FILES
   24307   CONFIG_HEADERS  = $CONFIG_HEADERS
   24308   CONFIG_LINKS    = $CONFIG_LINKS
   24309   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24310   $ $0 $@
   24311 
   24312 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24313 "
   24314 
   24315 _ACEOF
   24316 
   24317 case $ac_config_files in *"
   24318 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24319 esac
   24320 
   24321 case $ac_config_headers in *"
   24322 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24323 esac
   24324 
   24325 
   24326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24327 # Files that config.status was made for.
   24328 config_files="$ac_config_files"
   24329 config_headers="$ac_config_headers"
   24330 config_commands="$ac_config_commands"
   24331 
   24332 _ACEOF
   24333 
   24334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24335 ac_cs_usage="\
   24336 '$as_me' instantiates files and other configuration actions
   24337 from templates according to the current configuration.  Unless the files
   24338 and actions are specified as TAGs, all are instantiated by default.
   24339 
   24340 Usage: $0 [OPTION]... [TAG]...
   24341 
   24342   -h, --help       print this help, then exit
   24343   -V, --version    print version number and configuration settings, then exit
   24344       --config     print configuration, then exit
   24345   -q, --quiet, --silent
   24346                    do not print progress messages
   24347   -d, --debug      don't remove temporary files
   24348       --recheck    update $as_me by reconfiguring in the same conditions
   24349       --file=FILE[:TEMPLATE]
   24350                    instantiate the configuration file FILE
   24351       --header=FILE[:TEMPLATE]
   24352                    instantiate the configuration header FILE
   24353 
   24354 Configuration files:
   24355 $config_files
   24356 
   24357 Configuration headers:
   24358 $config_headers
   24359 
   24360 Configuration commands:
   24361 $config_commands
   24362 
   24363 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   24364 
   24365 _ACEOF
   24366 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   24367 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   24368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24369 ac_cs_config='$ac_cs_config_escaped'
   24370 ac_cs_version="\\
   24371 libX11 config.status 1.8.10
   24372 configured by $0, generated by GNU Autoconf 2.72,
   24373   with options \\"\$ac_cs_config\\"
   24374 
   24375 Copyright (C) 2023 Free Software Foundation, Inc.
   24376 This config.status script is free software; the Free Software Foundation
   24377 gives unlimited permission to copy, distribute and modify it."
   24378 
   24379 ac_pwd='$ac_pwd'
   24380 srcdir='$srcdir'
   24381 INSTALL='$INSTALL'
   24382 MKDIR_P='$MKDIR_P'
   24383 AWK='$AWK'
   24384 test -n "\$AWK" || AWK=awk
   24385 _ACEOF
   24386 
   24387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24388 # The default lists apply if the user does not specify any file.
   24389 ac_need_defaults=:
   24390 while test $# != 0
   24391 do
   24392   case $1 in
   24393   --*=?*)
   24394     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24395     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24396     ac_shift=:
   24397     ;;
   24398   --*=)
   24399     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24400     ac_optarg=
   24401     ac_shift=:
   24402     ;;
   24403   *)
   24404     ac_option=$1
   24405     ac_optarg=$2
   24406     ac_shift=shift
   24407     ;;
   24408   esac
   24409 
   24410   case $ac_option in
   24411   # Handling of the options.
   24412   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24413     ac_cs_recheck=: ;;
   24414   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24415     printf "%s\n" "$ac_cs_version"; exit ;;
   24416   --config | --confi | --conf | --con | --co | --c )
   24417     printf "%s\n" "$ac_cs_config"; exit ;;
   24418   --debug | --debu | --deb | --de | --d | -d )
   24419     debug=: ;;
   24420   --file | --fil | --fi | --f )
   24421     $ac_shift
   24422     case $ac_optarg in
   24423     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24424     '') as_fn_error $? "missing file argument" ;;
   24425     esac
   24426     as_fn_append CONFIG_FILES " '$ac_optarg'"
   24427     ac_need_defaults=false;;
   24428   --header | --heade | --head | --hea )
   24429     $ac_shift
   24430     case $ac_optarg in
   24431     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24432     esac
   24433     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   24434     ac_need_defaults=false;;
   24435   --he | --h)
   24436     # Conflict between --help and --header
   24437     as_fn_error $? "ambiguous option: '$1'
   24438 Try '$0 --help' for more information.";;
   24439   --help | --hel | -h )
   24440     printf "%s\n" "$ac_cs_usage"; exit ;;
   24441   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24442   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24443     ac_cs_silent=: ;;
   24444 
   24445   # This is an error.
   24446   -*) as_fn_error $? "unrecognized option: '$1'
   24447 Try '$0 --help' for more information." ;;
   24448 
   24449   *) as_fn_append ac_config_targets " $1"
   24450      ac_need_defaults=false ;;
   24451 
   24452   esac
   24453   shift
   24454 done
   24455 
   24456 ac_configure_extra_args=
   24457 
   24458 if $ac_cs_silent; then
   24459   exec 6>/dev/null
   24460   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24461 fi
   24462 
   24463 _ACEOF
   24464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24465 if \$ac_cs_recheck; then
   24466   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24467   shift
   24468   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   24469   CONFIG_SHELL='$SHELL'
   24470   export CONFIG_SHELL
   24471   exec "\$@"
   24472 fi
   24473 
   24474 _ACEOF
   24475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24476 exec 5>>config.log
   24477 {
   24478   echo
   24479   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24480 ## Running $as_me. ##
   24481 _ASBOX
   24482   printf "%s\n" "$ac_log"
   24483 } >&5
   24484 
   24485 _ACEOF
   24486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24487 #
   24488 # INIT-COMMANDS
   24489 #
   24490 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   24491 
   24492 
   24493 # The HP-UX ksh and POSIX shell print the target directory to stdout
   24494 # if CDPATH is set.
   24495 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   24496 
   24497 sed_quote_subst='$sed_quote_subst'
   24498 double_quote_subst='$double_quote_subst'
   24499 delay_variable_subst='$delay_variable_subst'
   24500 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   24501 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   24502 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   24503 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   24504 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   24505 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   24506 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   24507 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   24508 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   24509 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   24510 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   24511 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   24512 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   24513 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   24514 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   24515 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   24516 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   24517 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   24518 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   24519 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   24520 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   24521 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   24522 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   24523 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   24524 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   24525 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   24526 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   24527 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   24528 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   24529 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   24530 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   24531 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   24532 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   24533 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   24534 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   24535 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   24536 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   24537 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   24538 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   24539 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   24540 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   24541 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   24542 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   24543 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   24544 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   24545 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   24546 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   24547 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   24548 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24549 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24550 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   24551 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   24552 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   24553 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   24554 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   24555 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   24556 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   24557 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   24558 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   24559 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   24560 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"`'
   24561 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   24562 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   24563 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   24564 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   24565 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   24566 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   24567 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   24568 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   24569 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   24570 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   24571 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   24572 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   24573 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   24574 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   24575 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   24576 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   24577 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   24578 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   24579 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   24580 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   24581 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24582 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   24583 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   24584 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   24585 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   24586 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   24587 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   24588 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24589 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   24590 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24591 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   24592 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24593 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   24594 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24595 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24596 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   24597 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   24598 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   24599 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   24600 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   24601 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24602 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   24603 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   24604 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   24605 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   24606 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   24607 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   24608 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   24609 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   24610 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   24611 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   24612 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   24613 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   24614 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   24615 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   24616 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   24617 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24618 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   24619 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   24620 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   24621 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   24622 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   24623 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24624 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24625 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   24626 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   24627 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   24628 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   24629 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   24630 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   24631 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   24632 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   24633 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   24634 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   24635 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   24636 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   24637 
   24638 LTCC='$LTCC'
   24639 LTCFLAGS='$LTCFLAGS'
   24640 compiler='$compiler_DEFAULT'
   24641 
   24642 # A function that is used when there is no print builtin or printf.
   24643 func_fallback_echo ()
   24644 {
   24645   eval 'cat <<_LTECHO_EOF
   24646 \$1
   24647 _LTECHO_EOF'
   24648 }
   24649 
   24650 # Quote evaled strings.
   24651 for var in SHELL \
   24652 ECHO \
   24653 PATH_SEPARATOR \
   24654 SED \
   24655 GREP \
   24656 EGREP \
   24657 FGREP \
   24658 LD \
   24659 NM \
   24660 LN_S \
   24661 lt_SP2NL \
   24662 lt_NL2SP \
   24663 reload_flag \
   24664 FILECMD \
   24665 OBJDUMP \
   24666 deplibs_check_method \
   24667 file_magic_cmd \
   24668 file_magic_glob \
   24669 want_nocaseglob \
   24670 DLLTOOL \
   24671 sharedlib_from_linklib_cmd \
   24672 AR \
   24673 archiver_list_spec \
   24674 STRIP \
   24675 RANLIB \
   24676 CC \
   24677 CFLAGS \
   24678 compiler \
   24679 lt_cv_sys_global_symbol_pipe \
   24680 lt_cv_sys_global_symbol_to_cdecl \
   24681 lt_cv_sys_global_symbol_to_import \
   24682 lt_cv_sys_global_symbol_to_c_name_address \
   24683 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   24684 lt_cv_nm_interface \
   24685 nm_file_list_spec \
   24686 lt_cv_truncate_bin \
   24687 lt_prog_compiler_no_builtin_flag \
   24688 lt_prog_compiler_pic \
   24689 lt_prog_compiler_wl \
   24690 lt_prog_compiler_static \
   24691 lt_cv_prog_compiler_c_o \
   24692 need_locks \
   24693 MANIFEST_TOOL \
   24694 DSYMUTIL \
   24695 NMEDIT \
   24696 LIPO \
   24697 OTOOL \
   24698 OTOOL64 \
   24699 shrext_cmds \
   24700 export_dynamic_flag_spec \
   24701 whole_archive_flag_spec \
   24702 compiler_needs_object \
   24703 with_gnu_ld \
   24704 allow_undefined_flag \
   24705 no_undefined_flag \
   24706 hardcode_libdir_flag_spec \
   24707 hardcode_libdir_separator \
   24708 exclude_expsyms \
   24709 include_expsyms \
   24710 file_list_spec \
   24711 variables_saved_for_relink \
   24712 libname_spec \
   24713 library_names_spec \
   24714 soname_spec \
   24715 install_override_mode \
   24716 finish_eval \
   24717 old_striplib \
   24718 striplib; do
   24719     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24720     *[\\\\\\\`\\"\\\$]*)
   24721       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24722       ;;
   24723     *)
   24724       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24725       ;;
   24726     esac
   24727 done
   24728 
   24729 # Double-quote double-evaled strings.
   24730 for var in reload_cmds \
   24731 old_postinstall_cmds \
   24732 old_postuninstall_cmds \
   24733 old_archive_cmds \
   24734 extract_expsyms_cmds \
   24735 old_archive_from_new_cmds \
   24736 old_archive_from_expsyms_cmds \
   24737 archive_cmds \
   24738 archive_expsym_cmds \
   24739 module_cmds \
   24740 module_expsym_cmds \
   24741 export_symbols_cmds \
   24742 prelink_cmds \
   24743 postlink_cmds \
   24744 postinstall_cmds \
   24745 postuninstall_cmds \
   24746 finish_cmds \
   24747 sys_lib_search_path_spec \
   24748 configure_time_dlsearch_path \
   24749 configure_time_lt_sys_library_path; do
   24750     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24751     *[\\\\\\\`\\"\\\$]*)
   24752       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24753       ;;
   24754     *)
   24755       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24756       ;;
   24757     esac
   24758 done
   24759 
   24760 ac_aux_dir='$ac_aux_dir'
   24761 
   24762 # See if we are running on zsh, and set the options that allow our
   24763 # commands through without removal of \ escapes INIT.
   24764 if test -n "\${ZSH_VERSION+set}"; then
   24765    setopt NO_GLOB_SUBST
   24766 fi
   24767 
   24768 
   24769     PACKAGE='$PACKAGE'
   24770     VERSION='$VERSION'
   24771     RM='$RM'
   24772     ofile='$ofile'
   24773 
   24774 
   24775 
   24776 
   24777 _ACEOF
   24778 
   24779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24780 
   24781 # Handling of arguments.
   24782 for ac_config_target in $ac_config_targets
   24783 do
   24784   case $ac_config_target in
   24785     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   24786     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   24787     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24788     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   24789     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24790     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   24791     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   24792     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   24793     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   24794     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   24795     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   24796     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   24797     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   24798     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   24799     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   24800     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   24801     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   24802     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   24803     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   24804     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   24805     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   24806     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   24807     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   24808     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   24809     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   24810     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   24811     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   24812     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   24813     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   24814     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   24815     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   24816     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   24817     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   24818     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   24819 
   24820   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   24821   esac
   24822 done
   24823 
   24824 
   24825 # If the user did not use the arguments to specify the items to instantiate,
   24826 # then the envvar interface is used.  Set only those that are not.
   24827 # We use the long form for the default assignment because of an extremely
   24828 # bizarre bug on SunOS 4.1.3.
   24829 if $ac_need_defaults; then
   24830   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   24831   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   24832   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   24833 fi
   24834 
   24835 # Have a temporary directory for convenience.  Make it in the build tree
   24836 # simply because there is no reason against having it here, and in addition,
   24837 # creating and moving files from /tmp can sometimes cause problems.
   24838 # Hook for its removal unless debugging.
   24839 # Note that there is a small window in which the directory will not be cleaned:
   24840 # after its creation but before its name has been assigned to '$tmp'.
   24841 $debug ||
   24842 {
   24843   tmp= ac_tmp=
   24844   trap 'exit_status=$?
   24845   : "${ac_tmp:=$tmp}"
   24846   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   24847 ' 0
   24848   trap 'as_fn_exit 1' 1 2 13 15
   24849 }
   24850 # Create a (secure) tmp directory for tmp files.
   24851 
   24852 {
   24853   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   24854   test -d "$tmp"
   24855 }  ||
   24856 {
   24857   tmp=./conf$$-$RANDOM
   24858   (umask 077 && mkdir "$tmp")
   24859 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   24860 ac_tmp=$tmp
   24861 
   24862 # Set up the scripts for CONFIG_FILES section.
   24863 # No need to generate them if there are no CONFIG_FILES.
   24864 # This happens for instance with './config.status config.h'.
   24865 if test -n "$CONFIG_FILES"; then
   24866 
   24867 
   24868 ac_cr=`echo X | tr X '\015'`
   24869 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   24870 # But we know of no other shell where ac_cr would be empty at this
   24871 # point, so we can use a bashism as a fallback.
   24872 if test "x$ac_cr" = x; then
   24873   eval ac_cr=\$\'\\r\'
   24874 fi
   24875 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   24876 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   24877   ac_cs_awk_cr='\\r'
   24878 else
   24879   ac_cs_awk_cr=$ac_cr
   24880 fi
   24881 
   24882 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   24883 _ACEOF
   24884 
   24885 
   24886 {
   24887   echo "cat >conf$$subs.awk <<_ACEOF" &&
   24888   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   24889   echo "_ACEOF"
   24890 } >conf$$subs.sh ||
   24891   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24892 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   24893 ac_delim='%!_!# '
   24894 for ac_last_try in false false false false false :; do
   24895   . ./conf$$subs.sh ||
   24896     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24897 
   24898   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   24899   if test $ac_delim_n = $ac_delim_num; then
   24900     break
   24901   elif $ac_last_try; then
   24902     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24903   else
   24904     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24905   fi
   24906 done
   24907 rm -f conf$$subs.sh
   24908 
   24909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24910 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   24911 _ACEOF
   24912 sed -n '
   24913 h
   24914 s/^/S["/; s/!.*/"]=/
   24915 p
   24916 g
   24917 s/^[^!]*!//
   24918 :repl
   24919 t repl
   24920 s/'"$ac_delim"'$//
   24921 t delim
   24922 :nl
   24923 h
   24924 s/\(.\{148\}\)..*/\1/
   24925 t more1
   24926 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   24927 p
   24928 n
   24929 b repl
   24930 :more1
   24931 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24932 p
   24933 g
   24934 s/.\{148\}//
   24935 t nl
   24936 :delim
   24937 h
   24938 s/\(.\{148\}\)..*/\1/
   24939 t more2
   24940 s/["\\]/\\&/g; s/^/"/; s/$/"/
   24941 p
   24942 b
   24943 :more2
   24944 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24945 p
   24946 g
   24947 s/.\{148\}//
   24948 t delim
   24949 ' <conf$$subs.awk | sed '
   24950 /^[^""]/{
   24951   N
   24952   s/\n//
   24953 }
   24954 ' >>$CONFIG_STATUS || ac_write_fail=1
   24955 rm -f conf$$subs.awk
   24956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24957 _ACAWK
   24958 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   24959   for (key in S) S_is_set[key] = 1
   24960   FS = ""
   24961 
   24962 }
   24963 {
   24964   line = $ 0
   24965   nfields = split(line, field, "@")
   24966   substed = 0
   24967   len = length(field[1])
   24968   for (i = 2; i < nfields; i++) {
   24969     key = field[i]
   24970     keylen = length(key)
   24971     if (S_is_set[key]) {
   24972       value = S[key]
   24973       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   24974       len += length(value) + length(field[++i])
   24975       substed = 1
   24976     } else
   24977       len += 1 + keylen
   24978   }
   24979 
   24980   print line
   24981 }
   24982 
   24983 _ACAWK
   24984 _ACEOF
   24985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24986 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   24987   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   24988 else
   24989   cat
   24990 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   24991   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   24992 _ACEOF
   24993 
   24994 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   24995 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   24996 # trailing colons and then remove the whole line if VPATH becomes empty
   24997 # (actually we leave an empty line to preserve line numbers).
   24998 if test "x$srcdir" = x.; then
   24999   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   25000 h
   25001 s///
   25002 s/^/:/
   25003 s/[	 ]*$/:/
   25004 s/:\$(srcdir):/:/g
   25005 s/:\${srcdir}:/:/g
   25006 s/:@srcdir@:/:/g
   25007 s/^:*//
   25008 s/:*$//
   25009 x
   25010 s/\(=[	 ]*\).*/\1/
   25011 G
   25012 s/\n//
   25013 s/^[^=]*=[	 ]*$//
   25014 }'
   25015 fi
   25016 
   25017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25018 fi # test -n "$CONFIG_FILES"
   25019 
   25020 # Set up the scripts for CONFIG_HEADERS section.
   25021 # No need to generate them if there are no CONFIG_HEADERS.
   25022 # This happens for instance with './config.status Makefile'.
   25023 if test -n "$CONFIG_HEADERS"; then
   25024 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   25025 BEGIN {
   25026 _ACEOF
   25027 
   25028 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   25029 # here-document in config.status, that substitutes the proper values into
   25030 # config.h.in to produce config.h.
   25031 
   25032 # Create a delimiter string that does not exist in confdefs.h, to ease
   25033 # handling of long lines.
   25034 ac_delim='%!_!# '
   25035 for ac_last_try in false false :; do
   25036   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   25037   if test -z "$ac_tt"; then
   25038     break
   25039   elif $ac_last_try; then
   25040     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   25041   else
   25042     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25043   fi
   25044 done
   25045 
   25046 # For the awk script, D is an array of macro values keyed by name,
   25047 # likewise P contains macro parameters if any.  Preserve backslash
   25048 # newline sequences.
   25049 
   25050 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25051 sed -n '
   25052 s/.\{148\}/&'"$ac_delim"'/g
   25053 t rset
   25054 :rset
   25055 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25056 t def
   25057 d
   25058 :def
   25059 s/\\$//
   25060 t bsnl
   25061 s/["\\]/\\&/g
   25062 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25063 D["\1"]=" \3"/p
   25064 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25065 d
   25066 :bsnl
   25067 s/["\\]/\\&/g
   25068 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25069 D["\1"]=" \3\\\\\\n"\\/p
   25070 t cont
   25071 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25072 t cont
   25073 d
   25074 :cont
   25075 n
   25076 s/.\{148\}/&'"$ac_delim"'/g
   25077 t clear
   25078 :clear
   25079 s/\\$//
   25080 t bsnlc
   25081 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25082 d
   25083 :bsnlc
   25084 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25085 b cont
   25086 ' <confdefs.h | sed '
   25087 s/'"$ac_delim"'/"\\\
   25088 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25089 
   25090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25091   for (key in D) D_is_set[key] = 1
   25092   FS = ""
   25093 }
   25094 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25095   line = \$ 0
   25096   split(line, arg, " ")
   25097   if (arg[1] == "#") {
   25098     defundef = arg[2]
   25099     mac1 = arg[3]
   25100   } else {
   25101     defundef = substr(arg[1], 2)
   25102     mac1 = arg[2]
   25103   }
   25104   split(mac1, mac2, "(") #)
   25105   macro = mac2[1]
   25106   prefix = substr(line, 1, index(line, defundef) - 1)
   25107   if (D_is_set[macro]) {
   25108     # Preserve the white space surrounding the "#".
   25109     print prefix "define", macro P[macro] D[macro]
   25110     next
   25111   } else {
   25112     # Replace #undef with comments.  This is necessary, for example,
   25113     # in the case of _POSIX_SOURCE, which is predefined and required
   25114     # on some systems where configure will not decide to define it.
   25115     if (defundef == "undef") {
   25116       print "/*", prefix defundef, macro, "*/"
   25117       next
   25118     }
   25119   }
   25120 }
   25121 { print }
   25122 _ACAWK
   25123 _ACEOF
   25124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25125   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   25126 fi # test -n "$CONFIG_HEADERS"
   25127 
   25128 
   25129 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25130 shift
   25131 for ac_tag
   25132 do
   25133   case $ac_tag in
   25134   :[FHLC]) ac_mode=$ac_tag; continue;;
   25135   esac
   25136   case $ac_mode$ac_tag in
   25137   :[FHL]*:*);;
   25138   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   25139   :[FH]-) ac_tag=-:-;;
   25140   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25141   esac
   25142   ac_save_IFS=$IFS
   25143   IFS=:
   25144   set x $ac_tag
   25145   IFS=$ac_save_IFS
   25146   shift
   25147   ac_file=$1
   25148   shift
   25149 
   25150   case $ac_mode in
   25151   :L) ac_source=$1;;
   25152   :[FH])
   25153     ac_file_inputs=
   25154     for ac_f
   25155     do
   25156       case $ac_f in
   25157       -) ac_f="$ac_tmp/stdin";;
   25158       *) # Look for the file first in the build tree, then in the source tree
   25159 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25160 	 # because $ac_f cannot contain ':'.
   25161 	 test -f "$ac_f" ||
   25162 	   case $ac_f in
   25163 	   [\\/$]*) false;;
   25164 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25165 	   esac ||
   25166 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   25167       esac
   25168       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25169       as_fn_append ac_file_inputs " '$ac_f'"
   25170     done
   25171 
   25172     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   25173     # use $as_me), people would be surprised to read:
   25174     #    /* config.h.  Generated by config.status.  */
   25175     configure_input='Generated from '`
   25176 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25177 	`' by configure.'
   25178     if test x"$ac_file" != x-; then
   25179       configure_input="$ac_file.  $configure_input"
   25180       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   25181 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   25182     fi
   25183     # Neutralize special characters interpreted by sed in replacement strings.
   25184     case $configure_input in #(
   25185     *\&* | *\|* | *\\* )
   25186        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   25187        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25188     *) ac_sed_conf_input=$configure_input;;
   25189     esac
   25190 
   25191     case $ac_tag in
   25192     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   25193       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   25194     esac
   25195     ;;
   25196   esac
   25197 
   25198   ac_dir=`$as_dirname -- "$ac_file" ||
   25199 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25200 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25201 	 X"$ac_file" : 'X\(//\)$' \| \
   25202 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25203 printf "%s\n" X"$ac_file" |
   25204     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25205 	    s//\1/
   25206 	    q
   25207 	  }
   25208 	  /^X\(\/\/\)[^/].*/{
   25209 	    s//\1/
   25210 	    q
   25211 	  }
   25212 	  /^X\(\/\/\)$/{
   25213 	    s//\1/
   25214 	    q
   25215 	  }
   25216 	  /^X\(\/\).*/{
   25217 	    s//\1/
   25218 	    q
   25219 	  }
   25220 	  s/.*/./; q'`
   25221   as_dir="$ac_dir"; as_fn_mkdir_p
   25222   ac_builddir=.
   25223 
   25224 case "$ac_dir" in
   25225 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25226 *)
   25227   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   25228   # A ".." for each directory in $ac_dir_suffix.
   25229   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25230   case $ac_top_builddir_sub in
   25231   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25232   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25233   esac ;;
   25234 esac
   25235 ac_abs_top_builddir=$ac_pwd
   25236 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25237 # for backward compatibility:
   25238 ac_top_builddir=$ac_top_build_prefix
   25239 
   25240 case $srcdir in
   25241   .)  # We are building in place.
   25242     ac_srcdir=.
   25243     ac_top_srcdir=$ac_top_builddir_sub
   25244     ac_abs_top_srcdir=$ac_pwd ;;
   25245   [\\/]* | ?:[\\/]* )  # Absolute name.
   25246     ac_srcdir=$srcdir$ac_dir_suffix;
   25247     ac_top_srcdir=$srcdir
   25248     ac_abs_top_srcdir=$srcdir ;;
   25249   *) # Relative name.
   25250     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25251     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25252     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25253 esac
   25254 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25255 
   25256 
   25257   case $ac_mode in
   25258   :F)
   25259   #
   25260   # CONFIG_FILE
   25261   #
   25262 
   25263   case $INSTALL in
   25264   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25265   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25266   esac
   25267   ac_MKDIR_P=$MKDIR_P
   25268   case $MKDIR_P in
   25269   [\\/$]* | ?:[\\/]* ) ;;
   25270   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25271   esac
   25272 _ACEOF
   25273 
   25274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25275 # If the template does not know about datarootdir, expand it.
   25276 # FIXME: This hack should be removed a few years after 2.60.
   25277 ac_datarootdir_hack=; ac_datarootdir_seen=
   25278 ac_sed_dataroot='
   25279 /datarootdir/ {
   25280   p
   25281   q
   25282 }
   25283 /@datadir@/p
   25284 /@docdir@/p
   25285 /@infodir@/p
   25286 /@localedir@/p
   25287 /@mandir@/p'
   25288 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25289 *datarootdir*) ac_datarootdir_seen=yes;;
   25290 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25292 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25293 _ACEOF
   25294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25295   ac_datarootdir_hack='
   25296   s&@datadir@&$datadir&g
   25297   s&@docdir@&$docdir&g
   25298   s&@infodir@&$infodir&g
   25299   s&@localedir@&$localedir&g
   25300   s&@mandir@&$mandir&g
   25301   s&\\\${datarootdir}&$datarootdir&g' ;;
   25302 esac
   25303 _ACEOF
   25304 
   25305 # Neutralize VPATH when '$srcdir' = '.'.
   25306 # Shell code in configure.ac might set extrasub.
   25307 # FIXME: do we really want to maintain this feature?
   25308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25309 ac_sed_extra="$ac_vpsub
   25310 $extrasub
   25311 _ACEOF
   25312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25313 :t
   25314 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25315 s|@configure_input@|$ac_sed_conf_input|;t t
   25316 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25317 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25318 s&@srcdir@&$ac_srcdir&;t t
   25319 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25320 s&@top_srcdir@&$ac_top_srcdir&;t t
   25321 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25322 s&@builddir@&$ac_builddir&;t t
   25323 s&@abs_builddir@&$ac_abs_builddir&;t t
   25324 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25325 s&@INSTALL@&$ac_INSTALL&;t t
   25326 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25327 $ac_datarootdir_hack
   25328 "
   25329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   25330   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25331 
   25332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25333   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   25334   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   25335       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   25336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25337 which seems to be undefined.  Please make sure it is defined" >&5
   25338 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25339 which seems to be undefined.  Please make sure it is defined" >&2;}
   25340 
   25341   rm -f "$ac_tmp/stdin"
   25342   case $ac_file in
   25343   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   25344   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   25345   esac \
   25346   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25347  ;;
   25348   :H)
   25349   #
   25350   # CONFIG_HEADER
   25351   #
   25352   if test x"$ac_file" != x-; then
   25353     {
   25354       printf "%s\n" "/* $configure_input  */" >&1 \
   25355       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   25356     } >"$ac_tmp/config.h" \
   25357       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25358     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   25359       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   25360 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   25361     else
   25362       rm -f "$ac_file"
   25363       mv "$ac_tmp/config.h" "$ac_file" \
   25364 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25365     fi
   25366   else
   25367     printf "%s\n" "/* $configure_input  */" >&1 \
   25368       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   25369       || as_fn_error $? "could not create -" "$LINENO" 5
   25370   fi
   25371 # Compute "$ac_file"'s index in $config_headers.
   25372 _am_arg="$ac_file"
   25373 _am_stamp_count=1
   25374 for _am_header in $config_headers :; do
   25375   case $_am_header in
   25376     $_am_arg | $_am_arg:* )
   25377       break ;;
   25378     * )
   25379       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25380   esac
   25381 done
   25382 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25383 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25384 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25385 	 X"$_am_arg" : 'X\(//\)$' \| \
   25386 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25387 printf "%s\n" X"$_am_arg" |
   25388     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25389 	    s//\1/
   25390 	    q
   25391 	  }
   25392 	  /^X\(\/\/\)[^/].*/{
   25393 	    s//\1/
   25394 	    q
   25395 	  }
   25396 	  /^X\(\/\/\)$/{
   25397 	    s//\1/
   25398 	    q
   25399 	  }
   25400 	  /^X\(\/\).*/{
   25401 	    s//\1/
   25402 	    q
   25403 	  }
   25404 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25405  ;;
   25406 
   25407   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   25408 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   25409  ;;
   25410   esac
   25411 
   25412 
   25413   case $ac_file$ac_mode in
   25414     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   25415   # Older Autoconf quotes --file arguments for eval, but not when files
   25416   # are listed without --file.  Let's play safe and only enable the eval
   25417   # if we detect the quoting.
   25418   # TODO: see whether this extra hack can be removed once we start
   25419   # requiring Autoconf 2.70 or later.
   25420   case $CONFIG_FILES in #(
   25421   *\'*) :
   25422     eval set x "$CONFIG_FILES" ;; #(
   25423   *) :
   25424     set x $CONFIG_FILES ;; #(
   25425   *) :
   25426      ;;
   25427 esac
   25428   shift
   25429   # Used to flag and report bootstrapping failures.
   25430   am_rc=0
   25431   for am_mf
   25432   do
   25433     # Strip MF so we end up with the name of the file.
   25434     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   25435     # Check whether this is an Automake generated Makefile which includes
   25436     # dependency-tracking related rules and includes.
   25437     # Grep'ing the whole file directly is not great: AIX grep has a line
   25438     # limit of 2048, but all sed's we know have understand at least 4000.
   25439     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   25440       || continue
   25441     am_dirpart=`$as_dirname -- "$am_mf" ||
   25442 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25443 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   25444 	 X"$am_mf" : 'X\(//\)$' \| \
   25445 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25446 printf "%s\n" X"$am_mf" |
   25447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25448 	    s//\1/
   25449 	    q
   25450 	  }
   25451 	  /^X\(\/\/\)[^/].*/{
   25452 	    s//\1/
   25453 	    q
   25454 	  }
   25455 	  /^X\(\/\/\)$/{
   25456 	    s//\1/
   25457 	    q
   25458 	  }
   25459 	  /^X\(\/\).*/{
   25460 	    s//\1/
   25461 	    q
   25462 	  }
   25463 	  s/.*/./; q'`
   25464     am_filepart=`$as_basename -- "$am_mf" ||
   25465 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   25466 	 X"$am_mf" : 'X\(//\)$' \| \
   25467 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25468 printf "%s\n" X/"$am_mf" |
   25469     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25470 	    s//\1/
   25471 	    q
   25472 	  }
   25473 	  /^X\/\(\/\/\)$/{
   25474 	    s//\1/
   25475 	    q
   25476 	  }
   25477 	  /^X\/\(\/\).*/{
   25478 	    s//\1/
   25479 	    q
   25480 	  }
   25481 	  s/.*/./; q'`
   25482     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   25483       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25484         | $MAKE -f - am--depfiles" >&5
   25485    (cd "$am_dirpart" \
   25486       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25487         | $MAKE -f - am--depfiles) >&5 2>&5
   25488    ac_status=$?
   25489    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   25490    (exit $ac_status); } || am_rc=$?
   25491   done
   25492   if test $am_rc -ne 0; then
   25493     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25494 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25495 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   25496     for automatic dependency tracking.  If GNU make was not used, consider
   25497     re-running the configure script with MAKE=\"gmake\" (or whatever is
   25498     necessary).  You can also try re-running configure with the
   25499     '--disable-dependency-tracking' option to at least be able to build
   25500     the package (albeit without support for automatic dependency tracking).
   25501 See 'config.log' for more details" "$LINENO" 5; }
   25502   fi
   25503   { am_dirpart=; unset am_dirpart;}
   25504   { am_filepart=; unset am_filepart;}
   25505   { am_mf=; unset am_mf;}
   25506   { am_rc=; unset am_rc;}
   25507   rm -f conftest-deps.mk
   25508 }
   25509  ;;
   25510     "libtool":C)
   25511 
   25512     # See if we are running on zsh, and set the options that allow our
   25513     # commands through without removal of \ escapes.
   25514     if test -n "${ZSH_VERSION+set}"; then
   25515       setopt NO_GLOB_SUBST
   25516     fi
   25517 
   25518     cfgfile=${ofile}T
   25519     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   25520     $RM "$cfgfile"
   25521 
   25522     cat <<_LT_EOF >> "$cfgfile"
   25523 #! $SHELL
   25524 # Generated automatically by $as_me ($PACKAGE) $VERSION
   25525 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   25526 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   25527 
   25528 # Provide generalized library-building support services.
   25529 # Written by Gordon Matzigkeit, 1996
   25530 
   25531 # Copyright (C) 2014 Free Software Foundation, Inc.
   25532 # This is free software; see the source for copying conditions.  There is NO
   25533 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   25534 
   25535 # GNU Libtool is free software; you can redistribute it and/or modify
   25536 # it under the terms of the GNU General Public License as published by
   25537 # the Free Software Foundation; either version 2 of of the License, or
   25538 # (at your option) any later version.
   25539 #
   25540 # As a special exception to the GNU General Public License, if you
   25541 # distribute this file as part of a program or library that is built
   25542 # using GNU Libtool, you may include this file under the  same
   25543 # distribution terms that you use for the rest of that program.
   25544 #
   25545 # GNU Libtool is distributed in the hope that it will be useful, but
   25546 # WITHOUT ANY WARRANTY; without even the implied warranty of
   25547 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   25548 # GNU General Public License for more details.
   25549 #
   25550 # You should have received a copy of the GNU General Public License
   25551 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   25552 
   25553 
   25554 # The names of the tagged configurations supported by this script.
   25555 available_tags=''
   25556 
   25557 # Configured defaults for sys_lib_dlsearch_path munging.
   25558 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   25559 
   25560 # ### BEGIN LIBTOOL CONFIG
   25561 
   25562 # Which release of libtool.m4 was used?
   25563 macro_version=$macro_version
   25564 macro_revision=$macro_revision
   25565 
   25566 # Whether or not to build shared libraries.
   25567 build_libtool_libs=$enable_shared
   25568 
   25569 # Whether or not to build static libraries.
   25570 build_old_libs=$enable_static
   25571 
   25572 # What type of objects to build.
   25573 pic_mode=$pic_mode
   25574 
   25575 # Whether or not to optimize for fast installation.
   25576 fast_install=$enable_fast_install
   25577 
   25578 # Shared archive member basename,for filename based shared library versioning on AIX.
   25579 shared_archive_member_spec=$shared_archive_member_spec
   25580 
   25581 # Shell to use when invoking shell scripts.
   25582 SHELL=$lt_SHELL
   25583 
   25584 # An echo program that protects backslashes.
   25585 ECHO=$lt_ECHO
   25586 
   25587 # The PATH separator for the build system.
   25588 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   25589 
   25590 # The host system.
   25591 host_alias=$host_alias
   25592 host=$host
   25593 host_os=$host_os
   25594 
   25595 # The build system.
   25596 build_alias=$build_alias
   25597 build=$build
   25598 build_os=$build_os
   25599 
   25600 # A sed program that does not truncate output.
   25601 SED=$lt_SED
   25602 
   25603 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   25604 Xsed="\$SED -e 1s/^X//"
   25605 
   25606 # A grep program that handles long lines.
   25607 GREP=$lt_GREP
   25608 
   25609 # An ERE matcher.
   25610 EGREP=$lt_EGREP
   25611 
   25612 # A literal string matcher.
   25613 FGREP=$lt_FGREP
   25614 
   25615 # A BSD- or MS-compatible name lister.
   25616 NM=$lt_NM
   25617 
   25618 # Whether we need soft or hard links.
   25619 LN_S=$lt_LN_S
   25620 
   25621 # What is the maximum length of a command?
   25622 max_cmd_len=$max_cmd_len
   25623 
   25624 # Object file suffix (normally "o").
   25625 objext=$ac_objext
   25626 
   25627 # Executable file suffix (normally "").
   25628 exeext=$exeext
   25629 
   25630 # whether the shell understands "unset".
   25631 lt_unset=$lt_unset
   25632 
   25633 # turn spaces into newlines.
   25634 SP2NL=$lt_lt_SP2NL
   25635 
   25636 # turn newlines into spaces.
   25637 NL2SP=$lt_lt_NL2SP
   25638 
   25639 # convert \$build file names to \$host format.
   25640 to_host_file_cmd=$lt_cv_to_host_file_cmd
   25641 
   25642 # convert \$build files to toolchain format.
   25643 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   25644 
   25645 # A file(cmd) program that detects file types.
   25646 FILECMD=$lt_FILECMD
   25647 
   25648 # An object symbol dumper.
   25649 OBJDUMP=$lt_OBJDUMP
   25650 
   25651 # Method to check whether dependent libraries are shared objects.
   25652 deplibs_check_method=$lt_deplibs_check_method
   25653 
   25654 # Command to use when deplibs_check_method = "file_magic".
   25655 file_magic_cmd=$lt_file_magic_cmd
   25656 
   25657 # How to find potential files when deplibs_check_method = "file_magic".
   25658 file_magic_glob=$lt_file_magic_glob
   25659 
   25660 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   25661 want_nocaseglob=$lt_want_nocaseglob
   25662 
   25663 # DLL creation program.
   25664 DLLTOOL=$lt_DLLTOOL
   25665 
   25666 # Command to associate shared and link libraries.
   25667 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   25668 
   25669 # The archiver.
   25670 AR=$lt_AR
   25671 
   25672 # Flags to create an archive (by configure).
   25673 lt_ar_flags=$lt_ar_flags
   25674 
   25675 # Flags to create an archive.
   25676 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   25677 
   25678 # How to feed a file listing to the archiver.
   25679 archiver_list_spec=$lt_archiver_list_spec
   25680 
   25681 # A symbol stripping program.
   25682 STRIP=$lt_STRIP
   25683 
   25684 # Commands used to install an old-style archive.
   25685 RANLIB=$lt_RANLIB
   25686 old_postinstall_cmds=$lt_old_postinstall_cmds
   25687 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   25688 
   25689 # Whether to use a lock for old archive extraction.
   25690 lock_old_archive_extraction=$lock_old_archive_extraction
   25691 
   25692 # A C compiler.
   25693 LTCC=$lt_CC
   25694 
   25695 # LTCC compiler flags.
   25696 LTCFLAGS=$lt_CFLAGS
   25697 
   25698 # Take the output of nm and produce a listing of raw symbols and C names.
   25699 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   25700 
   25701 # Transform the output of nm in a proper C declaration.
   25702 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   25703 
   25704 # Transform the output of nm into a list of symbols to manually relocate.
   25705 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   25706 
   25707 # Transform the output of nm in a C name address pair.
   25708 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   25709 
   25710 # Transform the output of nm in a C name address pair when lib prefix is needed.
   25711 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   25712 
   25713 # The name lister interface.
   25714 nm_interface=$lt_lt_cv_nm_interface
   25715 
   25716 # Specify filename containing input files for \$NM.
   25717 nm_file_list_spec=$lt_nm_file_list_spec
   25718 
   25719 # The root where to search for dependent libraries,and where our libraries should be installed.
   25720 lt_sysroot=$lt_sysroot
   25721 
   25722 # Command to truncate a binary pipe.
   25723 lt_truncate_bin=$lt_lt_cv_truncate_bin
   25724 
   25725 # The name of the directory that contains temporary libtool files.
   25726 objdir=$objdir
   25727 
   25728 # Used to examine libraries when file_magic_cmd begins with "file".
   25729 MAGIC_CMD=$MAGIC_CMD
   25730 
   25731 # Must we lock files when doing compilation?
   25732 need_locks=$lt_need_locks
   25733 
   25734 # Manifest tool.
   25735 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   25736 
   25737 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   25738 DSYMUTIL=$lt_DSYMUTIL
   25739 
   25740 # Tool to change global to local symbols on Mac OS X.
   25741 NMEDIT=$lt_NMEDIT
   25742 
   25743 # Tool to manipulate fat objects and archives on Mac OS X.
   25744 LIPO=$lt_LIPO
   25745 
   25746 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   25747 OTOOL=$lt_OTOOL
   25748 
   25749 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   25750 OTOOL64=$lt_OTOOL64
   25751 
   25752 # Old archive suffix (normally "a").
   25753 libext=$libext
   25754 
   25755 # Shared library suffix (normally ".so").
   25756 shrext_cmds=$lt_shrext_cmds
   25757 
   25758 # The commands to extract the exported symbol list from a shared archive.
   25759 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   25760 
   25761 # Variables whose values should be saved in libtool wrapper scripts and
   25762 # restored at link time.
   25763 variables_saved_for_relink=$lt_variables_saved_for_relink
   25764 
   25765 # Do we need the "lib" prefix for modules?
   25766 need_lib_prefix=$need_lib_prefix
   25767 
   25768 # Do we need a version for libraries?
   25769 need_version=$need_version
   25770 
   25771 # Library versioning type.
   25772 version_type=$version_type
   25773 
   25774 # Shared library runtime path variable.
   25775 runpath_var=$runpath_var
   25776 
   25777 # Shared library path variable.
   25778 shlibpath_var=$shlibpath_var
   25779 
   25780 # Is shlibpath searched before the hard-coded library search path?
   25781 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   25782 
   25783 # Format of library name prefix.
   25784 libname_spec=$lt_libname_spec
   25785 
   25786 # List of archive names.  First name is the real one, the rest are links.
   25787 # The last name is the one that the linker finds with -lNAME
   25788 library_names_spec=$lt_library_names_spec
   25789 
   25790 # The coded name of the library, if different from the real name.
   25791 soname_spec=$lt_soname_spec
   25792 
   25793 # Permission mode override for installation of shared libraries.
   25794 install_override_mode=$lt_install_override_mode
   25795 
   25796 # Command to use after installation of a shared archive.
   25797 postinstall_cmds=$lt_postinstall_cmds
   25798 
   25799 # Command to use after uninstallation of a shared archive.
   25800 postuninstall_cmds=$lt_postuninstall_cmds
   25801 
   25802 # Commands used to finish a libtool library installation in a directory.
   25803 finish_cmds=$lt_finish_cmds
   25804 
   25805 # As "finish_cmds", except a single script fragment to be evaled but
   25806 # not shown.
   25807 finish_eval=$lt_finish_eval
   25808 
   25809 # Whether we should hardcode library paths into libraries.
   25810 hardcode_into_libs=$hardcode_into_libs
   25811 
   25812 # Compile-time system search path for libraries.
   25813 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   25814 
   25815 # Detected run-time system search path for libraries.
   25816 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   25817 
   25818 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   25819 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   25820 
   25821 # Whether dlopen is supported.
   25822 dlopen_support=$enable_dlopen
   25823 
   25824 # Whether dlopen of programs is supported.
   25825 dlopen_self=$enable_dlopen_self
   25826 
   25827 # Whether dlopen of statically linked programs is supported.
   25828 dlopen_self_static=$enable_dlopen_self_static
   25829 
   25830 # Commands to strip libraries.
   25831 old_striplib=$lt_old_striplib
   25832 striplib=$lt_striplib
   25833 
   25834 
   25835 # The linker used to build libraries.
   25836 LD=$lt_LD
   25837 
   25838 # How to create reloadable object files.
   25839 reload_flag=$lt_reload_flag
   25840 reload_cmds=$lt_reload_cmds
   25841 
   25842 # Commands used to build an old-style archive.
   25843 old_archive_cmds=$lt_old_archive_cmds
   25844 
   25845 # A language specific compiler.
   25846 CC=$lt_compiler
   25847 
   25848 # Is the compiler the GNU compiler?
   25849 with_gcc=$GCC
   25850 
   25851 # Compiler flag to turn off builtin functions.
   25852 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   25853 
   25854 # Additional compiler flags for building library objects.
   25855 pic_flag=$lt_lt_prog_compiler_pic
   25856 
   25857 # How to pass a linker flag through the compiler.
   25858 wl=$lt_lt_prog_compiler_wl
   25859 
   25860 # Compiler flag to prevent dynamic linking.
   25861 link_static_flag=$lt_lt_prog_compiler_static
   25862 
   25863 # Does compiler simultaneously support -c and -o options?
   25864 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   25865 
   25866 # Whether or not to add -lc for building shared libraries.
   25867 build_libtool_need_lc=$archive_cmds_need_lc
   25868 
   25869 # Whether or not to disallow shared libs when runtime libs are static.
   25870 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   25871 
   25872 # Compiler flag to allow reflexive dlopens.
   25873 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   25874 
   25875 # Compiler flag to generate shared objects directly from archives.
   25876 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   25877 
   25878 # Whether the compiler copes with passing no objects directly.
   25879 compiler_needs_object=$lt_compiler_needs_object
   25880 
   25881 # Create an old-style archive from a shared archive.
   25882 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   25883 
   25884 # Create a temporary old-style archive to link instead of a shared archive.
   25885 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   25886 
   25887 # Commands used to build a shared archive.
   25888 archive_cmds=$lt_archive_cmds
   25889 archive_expsym_cmds=$lt_archive_expsym_cmds
   25890 
   25891 # Commands used to build a loadable module if different from building
   25892 # a shared archive.
   25893 module_cmds=$lt_module_cmds
   25894 module_expsym_cmds=$lt_module_expsym_cmds
   25895 
   25896 # Whether we are building with GNU ld or not.
   25897 with_gnu_ld=$lt_with_gnu_ld
   25898 
   25899 # Flag that allows shared libraries with undefined symbols to be built.
   25900 allow_undefined_flag=$lt_allow_undefined_flag
   25901 
   25902 # Flag that enforces no undefined symbols.
   25903 no_undefined_flag=$lt_no_undefined_flag
   25904 
   25905 # Flag to hardcode \$libdir into a binary during linking.
   25906 # This must work even if \$libdir does not exist
   25907 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   25908 
   25909 # Whether we need a single "-rpath" flag with a separated argument.
   25910 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   25911 
   25912 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25913 # DIR into the resulting binary.
   25914 hardcode_direct=$hardcode_direct
   25915 
   25916 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25917 # DIR into the resulting binary and the resulting library dependency is
   25918 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   25919 # library is relocated.
   25920 hardcode_direct_absolute=$hardcode_direct_absolute
   25921 
   25922 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   25923 # into the resulting binary.
   25924 hardcode_minus_L=$hardcode_minus_L
   25925 
   25926 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   25927 # into the resulting binary.
   25928 hardcode_shlibpath_var=$hardcode_shlibpath_var
   25929 
   25930 # Set to "yes" if building a shared library automatically hardcodes DIR
   25931 # into the library and all subsequent libraries and executables linked
   25932 # against it.
   25933 hardcode_automatic=$hardcode_automatic
   25934 
   25935 # Set to yes if linker adds runtime paths of dependent libraries
   25936 # to runtime path list.
   25937 inherit_rpath=$inherit_rpath
   25938 
   25939 # Whether libtool must link a program against all its dependency libraries.
   25940 link_all_deplibs=$link_all_deplibs
   25941 
   25942 # Set to "yes" if exported symbols are required.
   25943 always_export_symbols=$always_export_symbols
   25944 
   25945 # The commands to list exported symbols.
   25946 export_symbols_cmds=$lt_export_symbols_cmds
   25947 
   25948 # Symbols that should not be listed in the preloaded symbols.
   25949 exclude_expsyms=$lt_exclude_expsyms
   25950 
   25951 # Symbols that must always be exported.
   25952 include_expsyms=$lt_include_expsyms
   25953 
   25954 # Commands necessary for linking programs (against libraries) with templates.
   25955 prelink_cmds=$lt_prelink_cmds
   25956 
   25957 # Commands necessary for finishing linking programs.
   25958 postlink_cmds=$lt_postlink_cmds
   25959 
   25960 # Specify filename containing input files.
   25961 file_list_spec=$lt_file_list_spec
   25962 
   25963 # How to hardcode a shared library path into an executable.
   25964 hardcode_action=$hardcode_action
   25965 
   25966 # ### END LIBTOOL CONFIG
   25967 
   25968 _LT_EOF
   25969 
   25970     cat <<'_LT_EOF' >> "$cfgfile"
   25971 
   25972 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   25973 
   25974 # func_munge_path_list VARIABLE PATH
   25975 # -----------------------------------
   25976 # VARIABLE is name of variable containing _space_ separated list of
   25977 # directories to be munged by the contents of PATH, which is string
   25978 # having a format:
   25979 # "DIR[:DIR]:"
   25980 #       string "DIR[ DIR]" will be prepended to VARIABLE
   25981 # ":DIR[:DIR]"
   25982 #       string "DIR[ DIR]" will be appended to VARIABLE
   25983 # "DIRP[:DIRP]::[DIRA:]DIRA"
   25984 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   25985 #       "DIRA[ DIRA]" will be appended to VARIABLE
   25986 # "DIR[:DIR]"
   25987 #       VARIABLE will be replaced by "DIR[ DIR]"
   25988 func_munge_path_list ()
   25989 {
   25990     case x$2 in
   25991     x)
   25992         ;;
   25993     *:)
   25994         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   25995         ;;
   25996     x:*)
   25997         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   25998         ;;
   25999     *::*)
   26000         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   26001         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   26002         ;;
   26003     *)
   26004         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   26005         ;;
   26006     esac
   26007 }
   26008 
   26009 
   26010 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   26011 func_cc_basename ()
   26012 {
   26013     for cc_temp in $*""; do
   26014       case $cc_temp in
   26015         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   26016         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   26017         \-*) ;;
   26018         *) break;;
   26019       esac
   26020     done
   26021     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   26022 }
   26023 
   26024 
   26025 # ### END FUNCTIONS SHARED WITH CONFIGURE
   26026 
   26027 _LT_EOF
   26028 
   26029   case $host_os in
   26030   aix3*)
   26031     cat <<\_LT_EOF >> "$cfgfile"
   26032 # AIX sometimes has problems with the GCC collect2 program.  For some
   26033 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26034 # vanish in a puff of smoke.
   26035 if test set != "${COLLECT_NAMES+set}"; then
   26036   COLLECT_NAMES=
   26037   export COLLECT_NAMES
   26038 fi
   26039 _LT_EOF
   26040     ;;
   26041   esac
   26042 
   26043 
   26044 
   26045 ltmain=$ac_aux_dir/ltmain.sh
   26046 
   26047 
   26048   # We use sed instead of cat because bash on DJGPP gets confused if
   26049   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26050   # text mode, it properly converts lines to CR/LF.  This bash problem
   26051   # is reportedly fixed, but why not run on old versions too?
   26052   $SED '$q' "$ltmain" >> "$cfgfile" \
   26053      || (rm -f "$cfgfile"; exit 1)
   26054 
   26055    mv -f "$cfgfile" "$ofile" ||
   26056     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   26057   chmod +x "$ofile"
   26058 
   26059  ;;
   26060 
   26061   esac
   26062 done # for ac_tag
   26063 
   26064 
   26065 as_fn_exit 0
   26066 _ACEOF
   26067 ac_clean_files=$ac_clean_files_save
   26068 
   26069 test $ac_write_fail = 0 ||
   26070   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   26071 
   26072 
   26073 # configure is writing to config.log, and then calls config.status.
   26074 # config.status does its own redirection, appending to config.log.
   26075 # Unfortunately, on DOS this fails, as config.log is still kept open
   26076 # by configure, so config.status won't be able to write to it; its
   26077 # output is simply discarded.  So we exec the FD to /dev/null,
   26078 # effectively closing config.log, so it can be properly (re)opened and
   26079 # appended to by config.status.  When coming back to configure, we
   26080 # need to make the FD available again.
   26081 if test "$no_create" != yes; then
   26082   ac_cs_success=:
   26083   ac_config_status_args=
   26084   test "$silent" = yes &&
   26085     ac_config_status_args="$ac_config_status_args --quiet"
   26086   exec 5>/dev/null
   26087   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26088   exec 5>>config.log
   26089   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26090   # would make configure fail if this is the last instruction.
   26091   $ac_cs_success || as_fn_exit 1
   26092 fi
   26093 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   26094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   26095 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   26096 fi
   26097 
   26098 
   26099 echo ""
   26100 echo "$PACKAGE_STRING will be built with the following settings:"
   26101 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   26102 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   26103 echo " Threading support:                       "$xthreads
   26104 echo " Use Threads safe API:                    "$mtsafeapi
   26105 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   26106 echo " XCMS:                                    "$XCMS
   26107 echo " Internationalization support:            "$XLOCALE
   26108 echo " XF86BigFont support:                     "$XF86BIGFONT
   26109 echo " XKB support:                             "$XKB
   26110 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   26111 echo " Compose table cache enabled:             "$COMPOSECACHE
   26112 echo " Functional specs building enabled:       "$build_specs
   26113 echo ""
   26114 
   26115