Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for libX11 1.8.14.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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   # contradicts POSIX and common usage.  Disable this.
     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 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 
    191   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    192     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    193     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    194     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    195     PATH=/empty FPATH=/empty; export PATH FPATH
    196     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    197       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    198 test \$(( 1 + 1 )) = 2 || exit 1"
    199   if (eval "$as_required") 2>/dev/null
    200 then :
    201   as_have_required=yes
    202 else case e in #(
    203   e) as_have_required=no ;;
    204 esac
    205 fi
    206   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    207 then :
    208 
    209 else case e in #(
    210   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   case $as_dir in #(((
    216     '') as_dir=./ ;;
    217     */) ;;
    218     *) as_dir=$as_dir/ ;;
    219   esac
    220   as_found=:
    221   case $as_dir in #(
    222 	 /*)
    223 	   for as_base in sh bash ksh sh5; do
    224 	     # Try only shells that exist, to save several forks.
    225 	     as_shell=$as_dir$as_base
    226 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    227 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    228 then :
    229   CONFIG_SHELL=$as_shell as_have_required=yes
    230 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    231 then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 IFS=$as_save_IFS
    240 if $as_found
    241 then :
    242 
    243 else case e in #(
    244   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    245 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    246 then :
    247   CONFIG_SHELL=$SHELL as_have_required=yes
    248 fi ;;
    249 esac
    250 fi
    251 
    252 
    253       if test "x$CONFIG_SHELL" != x
    254 then :
    255   export CONFIG_SHELL
    256              # We cannot yet assume a decent shell, so we have to provide a
    257 # neutralization value for shells without unset; and this also
    258 # works around shells that cannot unset nonexistent variables.
    259 # Preserve -v and -x to the replacement shell.
    260 BASH_ENV=/dev/null
    261 ENV=/dev/null
    262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    263 case $- in # ((((
    264   *v*x* | *x*v* ) as_opts=-vx ;;
    265   *v* ) as_opts=-v ;;
    266   *x* ) as_opts=-x ;;
    267   * ) as_opts= ;;
    268 esac
    269 case $# in # ((
    270   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    271   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    272 esac
    273 # Admittedly, this is quite paranoid, since all the known shells bail
    274 # out after a failed 'exec'.
    275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    276 exit 255
    277 fi
    278 
    279     if test x$as_have_required = xno
    280 then :
    281   printf '%s\n' "$0: This script requires a shell more modern than all"
    282   printf '%s\n' "$0: the shells that I found on your system."
    283   if test ${ZSH_VERSION+y} ; then
    284     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    285     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    286   else
    287     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and
    288 $0: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues
    289 $0: about your system, including any error possibly output
    290 $0: before this message. Then install a modern shell, or
    291 $0: manually run the script under such a shell if you do
    292 $0: have one."
    293   fi
    294   exit 1
    295 fi ;;
    296 esac
    297 fi
    298 fi
    299 SHELL=${CONFIG_SHELL-/bin/sh}
    300 export SHELL
    301 # Unset more variables known to interfere with behavior of common tools.
    302 CLICOLOR_FORCE= GREP_OPTIONS=
    303 unset CLICOLOR_FORCE GREP_OPTIONS
    304 
    305 ## --------------------- ##
    306 ## M4sh Shell Functions. ##
    307 ## --------------------- ##
    308 # as_fn_unset VAR
    309 # ---------------
    310 # Portably unset VAR.
    311 as_fn_unset ()
    312 {
    313   { eval $1=; unset $1;}
    314 }
    315 as_unset=as_fn_unset
    316 
    317 
    318 # as_fn_set_status STATUS
    319 # -----------------------
    320 # Set $? to STATUS, without forking.
    321 as_fn_set_status ()
    322 {
    323   return $1
    324 } # as_fn_set_status
    325 
    326 # as_fn_exit STATUS
    327 # -----------------
    328 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    329 as_fn_exit ()
    330 {
    331   set +e
    332   as_fn_set_status $1
    333   exit $1
    334 } # as_fn_exit
    335 
    336 # as_fn_mkdir_p
    337 # -------------
    338 # Create "$as_dir" as a directory, including parents if necessary.
    339 as_fn_mkdir_p ()
    340 {
    341 
    342   case $as_dir in #(
    343   -*) as_dir=./$as_dir;;
    344   esac
    345   test -d "$as_dir" || eval $as_mkdir_p || {
    346     as_dirs=
    347     while :; do
    348       case $as_dir in #(
    349       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    350       *) as_qdir=$as_dir;;
    351       esac
    352       as_dirs="'$as_qdir' $as_dirs"
    353       as_dir=`$as_dirname -- "$as_dir" ||
    354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    355 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    356 	 X"$as_dir" : 'X\(//\)$' \| \
    357 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    358 printf '%s\n' X"$as_dir" |
    359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\/\)[^/].*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  /^X\(\/\/\)$/{
    368 	    s//\1/
    369 	    q
    370 	  }
    371 	  /^X\(\/\).*/{
    372 	    s//\1/
    373 	    q
    374 	  }
    375 	  s/.*/./; q'`
    376       test -d "$as_dir" && break
    377     done
    378     test -z "$as_dirs" || eval "mkdir $as_dirs"
    379   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    380 
    381 
    382 } # as_fn_mkdir_p
    383 
    384 # as_fn_executable_p FILE
    385 # -----------------------
    386 # Test if FILE is an executable regular file.
    387 as_fn_executable_p ()
    388 {
    389   test -f "$1" && test -x "$1"
    390 } # as_fn_executable_p
    391 # as_fn_append VAR VALUE
    392 # ----------------------
    393 # Append the text in VALUE to the end of the definition contained in VAR. Take
    394 # advantage of any shell optimizations that allow amortized linear growth over
    395 # repeated appends, instead of the typical quadratic growth present in naive
    396 # implementations.
    397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    398 then :
    399   eval 'as_fn_append ()
    400   {
    401     eval $1+=\$2
    402   }'
    403 else case e in #(
    404   e) as_fn_append ()
    405   {
    406     eval $1=\$$1\$2
    407   } ;;
    408 esac
    409 fi # as_fn_append
    410 
    411 # as_fn_arith ARG...
    412 # ------------------
    413 # Perform arithmetic evaluation on the ARGs, and store the result in the
    414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    415 # must be portable across $(()) and expr.
    416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    417 then :
    418   eval 'as_fn_arith ()
    419   {
    420     as_val=$(( $* ))
    421   }'
    422 else case e in #(
    423   e) as_fn_arith ()
    424   {
    425     as_val=`expr "$@" || test $? -eq 1`
    426   } ;;
    427 esac
    428 fi # as_fn_arith
    429 
    430 
    431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    432 # ----------------------------------------
    433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    435 # script with STATUS, using 1 if that was 0.
    436 as_fn_error ()
    437 {
    438   as_status=$1; test $as_status -eq 0 && as_status=1
    439   if test "$4"; then
    440     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    441     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    442   fi
    443   printf '%s\n' "$as_me: error: $2" >&2
    444   as_fn_exit $as_status
    445 } # as_fn_error
    446 
    447 if expr a : '\(a\)' >/dev/null 2>&1 &&
    448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    449   as_expr=expr
    450 else
    451   as_expr=false
    452 fi
    453 
    454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    455   as_basename=basename
    456 else
    457   as_basename=false
    458 fi
    459 
    460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461   as_dirname=dirname
    462 else
    463   as_dirname=false
    464 fi
    465 
    466 as_me=`$as_basename -- "$0" ||
    467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    468 	 X"$0" : 'X\(//\)$' \| \
    469 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    470 printf '%s\n' X/"$0" |
    471     sed '/^.*\/\([^/][^/]*\)\/*$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\/\)$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\).*/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  s/.*/./; q'`
    484 
    485 # Avoid depending upon Character Ranges.
    486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    489 as_cr_digits='0123456789'
    490 as_cr_alnum=$as_cr_Letters$as_cr_digits
    491 
    492 
    493   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    494   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    495   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    496   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    497   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    498   sed -n '
    499     p
    500     /[$]LINENO/=
    501   ' <$as_myself |
    502     sed '
    503       t clear
    504       :clear
    505       s/[$]LINENO.*/&-/
    506       t lineno
    507       b
    508       :lineno
    509       N
    510       :loop
    511       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    512       t loop
    513       s/-\n.*//
    514     ' >$as_me.lineno &&
    515   chmod +x "$as_me.lineno" ||
    516     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    517 
    518   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    519   # already done that, so ensure we don't try to do so again and fall
    520   # in an infinite loop.  This has already happened in practice.
    521   _as_can_reexec=no; export _as_can_reexec
    522   # Don't try to exec as it changes $[0], causing all sort of problems
    523   # (the dirname of $[0] is not the place where we might find the
    524   # original and so on.  Autoconf is especially sensitive to this).
    525   . "./$as_me.lineno"
    526   # Exit status is that of the last command.
    527   exit
    528 }
    529 
    530 rm -f conf$$ conf$$.exe conf$$.file
    531 if test -d conf$$.dir; then
    532   rm -f conf$$.dir/conf$$.file
    533 else
    534   rm -f conf$$.dir
    535   mkdir conf$$.dir 2>/dev/null
    536 fi
    537 if (echo >conf$$.file) 2>/dev/null; then
    538   if ln -s conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s='ln -s'
    540     # ... but there are two gotchas:
    541     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    542     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    543     # In both cases, we have to default to 'cp -pR'.
    544     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    545       as_ln_s='cp -pR'
    546   elif ln conf$$.file conf$$ 2>/dev/null; then
    547     as_ln_s=ln
    548   else
    549     as_ln_s='cp -pR'
    550   fi
    551 else
    552   as_ln_s='cp -pR'
    553 fi
    554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    555 rmdir conf$$.dir 2>/dev/null
    556 
    557 if mkdir -p . 2>/dev/null; then
    558   as_mkdir_p='mkdir -p "$as_dir"'
    559 else
    560   test -d ./-p && rmdir ./-p
    561   as_mkdir_p=false
    562 fi
    563 
    564 as_test_x='test -x'
    565 as_executable_p=as_fn_executable_p
    566 
    567 # Sed expression to map a string onto a valid CPP name.
    568 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    569 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    573 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    574 
    575 SHELL=${CONFIG_SHELL-/bin/sh}
    576 
    577 as_awk_strverscmp='
    578   # Use only awk features that work with 7th edition Unix awk (1978).
    579   # My, what an old awk you have, Mr. Solaris!
    580   END {
    581     while (length(v1) && length(v2)) {
    582       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    583       # Normally this is a single character, but if v1 and v2 contain digits,
    584       # compare them as integers and fractions as strverscmp does.
    585       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    586 	# Split v1 and v2 into their leading digit string components d1 and d2,
    587 	# and advance v1 and v2 past the leading digit strings.
    588 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    589 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    590 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    591 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    592 	if (d1 ~ /^0/) {
    593 	  if (d2 ~ /^0/) {
    594 	    # Compare two fractions.
    595 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    596 	      d1 = substr(d1, 2); len1--
    597 	      d2 = substr(d2, 2); len2--
    598 	    }
    599 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    600 	      # The two components differ in length, and the common prefix
    601 	      # contains only leading zeros.  Consider the longer to be less.
    602 	      d1 = -len1
    603 	      d2 = -len2
    604 	    } else {
    605 	      # Otherwise, compare as strings.
    606 	      d1 = "x" d1
    607 	      d2 = "x" d2
    608 	    }
    609 	  } else {
    610 	    # A fraction is less than an integer.
    611 	    exit 1
    612 	  }
    613 	} else {
    614 	  if (d2 ~ /^0/) {
    615 	    # An integer is greater than a fraction.
    616 	    exit 2
    617 	  } else {
    618 	    # Compare two integers.
    619 	    d1 += 0
    620 	    d2 += 0
    621 	  }
    622 	}
    623       } else {
    624 	# The normal case, without worrying about digits.
    625 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    626 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    627       }
    628       if (d1 < d2) exit 1
    629       if (d1 > d2) exit 2
    630     }
    631     # Beware Solaris 11 /usr/xgp4/bin/awk, which mishandles some
    632     # comparisons of empty strings to integers.  For example,
    633     # LC_ALL=C /usr/xpg4/bin/awk "BEGIN {if (-1 < \"\") print \"a\"}"
    634     # prints "a".
    635     if (length(v2)) exit 1
    636     if (length(v1)) exit 2
    637   }
    638 '
    639 
    640 test -n "$DJDIR" || exec 7<&0 </dev/null
    641 exec 6>&1
    642 
    643 # Name of the host.
    644 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    645 # so uname gets run too.
    646 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    647 
    648 #
    649 # Initializations.
    650 #
    651 ac_default_prefix=/usr/local
    652 ac_clean_CONFIG_STATUS=
    653 ac_clean_files=
    654 ac_config_libobj_dir=.
    655 LIBOBJS=
    656 cross_compiling=no
    657 subdirs=
    658 MFLAGS=
    659 MAKEFLAGS=
    660 
    661 # Identity of this package.
    662 PACKAGE_NAME='libX11'
    663 PACKAGE_TARNAME='libX11'
    664 PACKAGE_VERSION='1.8.14'
    665 PACKAGE_STRING='libX11 1.8.14'
    666 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues'
    667 PACKAGE_URL=''
    668 
    669 ac_unique_file="Makefile.am"
    670 # Factoring default headers for most tests.
    671 ac_includes_default="\
    672 #include <stddef.h>
    673 #ifdef HAVE_STDIO_H
    674 # include <stdio.h>
    675 #endif
    676 #ifdef HAVE_STDLIB_H
    677 # include <stdlib.h>
    678 #endif
    679 #ifdef HAVE_STRING_H
    680 # include <string.h>
    681 #endif
    682 #ifdef HAVE_INTTYPES_H
    683 # include <inttypes.h>
    684 #endif
    685 #ifdef HAVE_STDINT_H
    686 # include <stdint.h>
    687 #endif
    688 #ifdef HAVE_STRINGS_H
    689 # include <strings.h>
    690 #endif
    691 #ifdef HAVE_SYS_TYPES_H
    692 # include <sys/types.h>
    693 #endif
    694 #ifdef HAVE_SYS_STAT_H
    695 # include <sys/stat.h>
    696 #endif
    697 #ifdef HAVE_UNISTD_H
    698 # include <unistd.h>
    699 #endif"
    700 
    701 ac_header_c_list=
    702 ac_func_c_list=
    703 : ${enable_year2038:=no}
    704 ac_subst_vars='am__EXEEXT_FALSE
    705 am__EXEEXT_TRUE
    706 LTLIBOBJS
    707 XTMALLOC_ZERO_CFLAGS
    708 XMALLOC_ZERO_CFLAGS
    709 MALLOC_ZERO_CFLAGS
    710 XERRORDB
    711 XKEYSYMDB
    712 locales
    713 X11_LOCALEDIR
    714 XLOCALEDIR
    715 X11_LOCALELIBDIR
    716 XLOCALELIBDIR
    717 X11_LOCALEDATADIR
    718 XLOCALEDATADIR
    719 X11_LIBS
    720 X11_CFLAGS
    721 X11_LIBDIR
    722 X11_DATADIR
    723 MAKE_LINT_LIB_FALSE
    724 MAKE_LINT_LIB_TRUE
    725 LINTLIB
    726 LINT_FALSE
    727 LINT_TRUE
    728 LINT_FLAGS
    729 LINT
    730 XKBPROTO_REQUIRES
    731 XKB_FALSE
    732 XKB_TRUE
    733 BIGFONT_LIBS
    734 BIGFONT_CFLAGS
    735 XLOCALE_FALSE
    736 XLOCALE_TRUE
    737 XCMS_FALSE
    738 XCMS_TRUE
    739 KEYSYMDEFS
    740 USE_THREAD_LIBS
    741 XTHREAD_CFLAGS
    742 XTHREADLIB
    743 LAUNCHD
    744 WCHAR32
    745 LIBOBJS
    746 XLIB_LOADABLE_I18N_FALSE
    747 XLIB_LOADABLE_I18N_TRUE
    748 I18N_MODULE_LIBS
    749 X11_EXTRA_DEPS
    750 EXEEXT_FOR_BUILD
    751 LDFLAGS_FOR_BUILD
    752 CFLAGS_FOR_BUILD
    753 CPPFLAGS_FOR_BUILD
    754 CC_FOR_BUILD
    755 HAVE_PERL_FALSE
    756 HAVE_PERL_TRUE
    757 PERL
    758 TRADITIONALCPPFLAGS
    759 RAWCPPFLAGS
    760 RAWCPP
    761 CPP
    762 HAVE_STYLESHEETS_FALSE
    763 HAVE_STYLESHEETS_TRUE
    764 XSL_STYLESHEET
    765 STYLESHEET_SRCDIR
    766 XORG_SGML_PATH
    767 HAVE_XSLTPROC_FALSE
    768 HAVE_XSLTPROC_TRUE
    769 XSLTPROC
    770 HAVE_FOP_FALSE
    771 HAVE_FOP_TRUE
    772 FOP
    773 HAVE_XMLTO_FALSE
    774 HAVE_XMLTO_TRUE
    775 HAVE_XMLTO_TEXT_FALSE
    776 HAVE_XMLTO_TEXT_TRUE
    777 XMLTO
    778 ENABLE_SPECS_FALSE
    779 ENABLE_SPECS_TRUE
    780 MAN_SUBSTS
    781 XORG_MAN_PAGE
    782 ADMIN_MAN_DIR
    783 DRIVER_MAN_DIR
    784 MISC_MAN_DIR
    785 FILE_MAN_DIR
    786 LIB_MAN_DIR
    787 APP_MAN_DIR
    788 ADMIN_MAN_SUFFIX
    789 DRIVER_MAN_SUFFIX
    790 MISC_MAN_SUFFIX
    791 FILE_MAN_SUFFIX
    792 LIB_MAN_SUFFIX
    793 APP_MAN_SUFFIX
    794 INSTALL_CMD
    795 PKG_CONFIG_LIBDIR
    796 PKG_CONFIG_PATH
    797 PKG_CONFIG
    798 CHANGELOG_CMD
    799 STRICT_CFLAGS
    800 CWARNFLAGS
    801 BASE_CFLAGS
    802 LT_SYS_LIBRARY_PATH
    803 OTOOL64
    804 OTOOL
    805 LIPO
    806 NMEDIT
    807 DSYMUTIL
    808 MANIFEST_TOOL
    809 RANLIB
    810 ac_ct_AR
    811 AR
    812 DLLTOOL
    813 OBJDUMP
    814 FILECMD
    815 LN_S
    816 NM
    817 ac_ct_DUMPBIN
    818 DUMPBIN
    819 LD
    820 FGREP
    821 EGREP
    822 GREP
    823 SED
    824 LIBTOOL
    825 am__xargs_n
    826 am__rm_f_notfound
    827 AM_BACKSLASH
    828 AM_DEFAULT_VERBOSITY
    829 AM_DEFAULT_V
    830 AM_V
    831 CSCOPE
    832 ETAGS
    833 CTAGS
    834 am__fastdepCC_FALSE
    835 am__fastdepCC_TRUE
    836 CCDEPMODE
    837 am__nodep
    838 AMDEPBACKSLASH
    839 AMDEP_FALSE
    840 AMDEP_TRUE
    841 am__include
    842 DEPDIR
    843 am__tar_ignore_stderr
    844 am__untar
    845 am__tar
    846 AMTAR
    847 am__leading_dot
    848 SET_MAKE
    849 AWK
    850 mkdir_p
    851 MKDIR_P
    852 INSTALL_STRIP_PROGRAM
    853 STRIP
    854 install_sh
    855 MAKEINFO
    856 AUTOHEADER
    857 AUTOMAKE
    858 AUTOCONF
    859 ACLOCAL
    860 VERSION
    861 PACKAGE
    862 CYGPATH_W
    863 am__isrc
    864 INSTALL_DATA
    865 INSTALL_SCRIPT
    866 INSTALL_PROGRAM
    867 OBJEXT
    868 EXEEXT
    869 ac_ct_CC
    870 CPPFLAGS
    871 LDFLAGS
    872 CFLAGS
    873 CC
    874 host_os
    875 host_vendor
    876 host_cpu
    877 host
    878 build_os
    879 build_vendor
    880 build_cpu
    881 build
    882 ECHO_T
    883 ECHO_N
    884 ECHO_C
    885 target_alias
    886 host_alias
    887 build_alias
    888 LIBS
    889 DEFS
    890 mandir
    891 localedir
    892 libdir
    893 psdir
    894 pdfdir
    895 dvidir
    896 htmldir
    897 infodir
    898 docdir
    899 oldincludedir
    900 includedir
    901 runstatedir
    902 localstatedir
    903 sharedstatedir
    904 sysconfdir
    905 datadir
    906 datarootdir
    907 libexecdir
    908 sbindir
    909 bindir
    910 program_transform_name
    911 prefix
    912 exec_prefix
    913 PACKAGE_URL
    914 PACKAGE_BUGREPORT
    915 PACKAGE_STRING
    916 PACKAGE_VERSION
    917 PACKAGE_TARNAME
    918 PACKAGE_NAME
    919 PATH_SEPARATOR
    920 SHELL
    921 am__quote'
    922 ac_subst_files=''
    923 ac_user_opts='
    924 enable_option_checking
    925 enable_dependency_tracking
    926 enable_silent_rules
    927 enable_shared
    928 enable_static
    929 enable_pic
    930 with_pic
    931 enable_cxx_stdlib
    932 enable_fast_install
    933 enable_aix_soname
    934 with_aix_soname
    935 with_gnu_ld
    936 with_sysroot
    937 enable_libtool_lock
    938 enable_largefile
    939 enable_selective_werror
    940 enable_strict_compilation
    941 enable_specs
    942 with_xmlto
    943 with_fop
    944 with_xsltproc
    945 with_perl
    946 enable_unix_transport
    947 enable_tcp_transport
    948 enable_ipv6
    949 enable_local_transport
    950 enable_loadable_i18n
    951 enable_loadable_xcursor
    952 enable_thread_safety_constructor
    953 with_launchd
    954 enable_xthreads
    955 with_keysymdefdir
    956 enable_xcms
    957 enable_xlocale
    958 enable_xlocaledir
    959 enable_xf86bigfont
    960 enable_xkb
    961 enable_composecache
    962 with_lint
    963 enable_lint_library
    964 with_locale_lib_dir
    965 enable_malloc0returnsnull
    966 enable_year2038
    967 '
    968       ac_precious_vars='build_alias
    969 host_alias
    970 target_alias
    971 CC
    972 CFLAGS
    973 LDFLAGS
    974 LIBS
    975 CPPFLAGS
    976 LT_SYS_LIBRARY_PATH
    977 PKG_CONFIG
    978 PKG_CONFIG_PATH
    979 PKG_CONFIG_LIBDIR
    980 XMLTO
    981 FOP
    982 XSLTPROC
    983 CPP
    984 PERL
    985 BIGFONT_CFLAGS
    986 BIGFONT_LIBS
    987 LINT
    988 LINT_FLAGS
    989 X11_CFLAGS
    990 X11_LIBS'
    991 
    992 
    993 # Initialize some variables set by options.
    994 ac_init_help=
    995 ac_init_version=false
    996 ac_unrecognized_opts=
    997 ac_unrecognized_sep=
    998 # The variables have the same names as the options, with
    999 # dashes changed to underlines.
   1000 cache_file=/dev/null
   1001 exec_prefix=NONE
   1002 no_create=
   1003 no_recursion=
   1004 prefix=NONE
   1005 program_prefix=NONE
   1006 program_suffix=NONE
   1007 program_transform_name=s,x,x,
   1008 silent=
   1009 site=
   1010 srcdir=
   1011 verbose=
   1012 x_includes=NONE
   1013 x_libraries=NONE
   1014 
   1015 # Installation directory options.
   1016 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1017 # and all the variables that are supposed to be based on exec_prefix
   1018 # by default will actually change.
   1019 # Use braces instead of parens because sh, perl, etc. also accept them.
   1020 # (The list follows the same order as the GNU Coding Standards.)
   1021 bindir='${exec_prefix}/bin'
   1022 sbindir='${exec_prefix}/sbin'
   1023 libexecdir='${exec_prefix}/libexec'
   1024 datarootdir='${prefix}/share'
   1025 datadir='${datarootdir}'
   1026 sysconfdir='${prefix}/etc'
   1027 sharedstatedir='${prefix}/com'
   1028 localstatedir='${prefix}/var'
   1029 runstatedir='${localstatedir}/run'
   1030 includedir='${prefix}/include'
   1031 oldincludedir='/usr/include'
   1032 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1033 infodir='${datarootdir}/info'
   1034 htmldir='${docdir}'
   1035 dvidir='${docdir}'
   1036 pdfdir='${docdir}'
   1037 psdir='${docdir}'
   1038 libdir='${exec_prefix}/lib'
   1039 localedir='${datarootdir}/locale'
   1040 mandir='${datarootdir}/man'
   1041 
   1042 ac_prev=
   1043 ac_dashdash=
   1044 for ac_option
   1045 do
   1046   # If the previous option needs an argument, assign it.
   1047   if test -n "$ac_prev"; then
   1048     eval $ac_prev=\$ac_option
   1049     ac_prev=
   1050     continue
   1051   fi
   1052 
   1053   case $ac_option in
   1054   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1055   *=)   ac_optarg= ;;
   1056   *)    ac_optarg=yes ;;
   1057   esac
   1058 
   1059   case $ac_dashdash$ac_option in
   1060   --)
   1061     ac_dashdash=yes ;;
   1062 
   1063   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1064     ac_prev=bindir ;;
   1065   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1066     bindir=$ac_optarg ;;
   1067 
   1068   -build | --build | --buil | --bui | --bu)
   1069     ac_prev=build_alias ;;
   1070   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1071     build_alias=$ac_optarg ;;
   1072 
   1073   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1074   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1075     ac_prev=cache_file ;;
   1076   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1077   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1078     cache_file=$ac_optarg ;;
   1079 
   1080   --config-cache | -C)
   1081     cache_file=config.cache ;;
   1082 
   1083   -datadir | --datadir | --datadi | --datad)
   1084     ac_prev=datadir ;;
   1085   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1086     datadir=$ac_optarg ;;
   1087 
   1088   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1089   | --dataroo | --dataro | --datar)
   1090     ac_prev=datarootdir ;;
   1091   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1092   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1093     datarootdir=$ac_optarg ;;
   1094 
   1095   -disable-* | --disable-*)
   1096     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1097     # Reject names that are not valid shell variable names.
   1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1099       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1100     ac_useropt_orig=$ac_useropt
   1101     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1102     case $ac_user_opts in
   1103       *"
   1104 "enable_$ac_useropt"
   1105 "*) ;;
   1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1107 	 ac_unrecognized_sep=', ';;
   1108     esac
   1109     eval enable_$ac_useropt=no ;;
   1110 
   1111   -docdir | --docdir | --docdi | --doc | --do)
   1112     ac_prev=docdir ;;
   1113   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1114     docdir=$ac_optarg ;;
   1115 
   1116   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1117     ac_prev=dvidir ;;
   1118   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1119     dvidir=$ac_optarg ;;
   1120 
   1121   -enable-* | --enable-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "enable_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval enable_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1138   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1139   | --exec | --exe | --ex)
   1140     ac_prev=exec_prefix ;;
   1141   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1142   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1143   | --exec=* | --exe=* | --ex=*)
   1144     exec_prefix=$ac_optarg ;;
   1145 
   1146   -gas | --gas | --ga | --g)
   1147     # Obsolete; use --with-gas.
   1148     with_gas=yes ;;
   1149 
   1150   -help | --help | --hel | --he | -h)
   1151     ac_init_help=long ;;
   1152   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1153     ac_init_help=recursive ;;
   1154   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1155     ac_init_help=short ;;
   1156 
   1157   -host | --host | --hos | --ho)
   1158     ac_prev=host_alias ;;
   1159   -host=* | --host=* | --hos=* | --ho=*)
   1160     host_alias=$ac_optarg ;;
   1161 
   1162   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1163     ac_prev=htmldir ;;
   1164   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1165   | --ht=*)
   1166     htmldir=$ac_optarg ;;
   1167 
   1168   -includedir | --includedir | --includedi | --included | --include \
   1169   | --includ | --inclu | --incl | --inc)
   1170     ac_prev=includedir ;;
   1171   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1172   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1173     includedir=$ac_optarg ;;
   1174 
   1175   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1176     ac_prev=infodir ;;
   1177   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1178     infodir=$ac_optarg ;;
   1179 
   1180   -libdir | --libdir | --libdi | --libd)
   1181     ac_prev=libdir ;;
   1182   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1183     libdir=$ac_optarg ;;
   1184 
   1185   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1186   | --libexe | --libex | --libe)
   1187     ac_prev=libexecdir ;;
   1188   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1189   | --libexe=* | --libex=* | --libe=*)
   1190     libexecdir=$ac_optarg ;;
   1191 
   1192   -localedir | --localedir | --localedi | --localed | --locale)
   1193     ac_prev=localedir ;;
   1194   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1195     localedir=$ac_optarg ;;
   1196 
   1197   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1198   | --localstate | --localstat | --localsta | --localst | --locals)
   1199     ac_prev=localstatedir ;;
   1200   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1201   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1202     localstatedir=$ac_optarg ;;
   1203 
   1204   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1205     ac_prev=mandir ;;
   1206   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1207     mandir=$ac_optarg ;;
   1208 
   1209   -nfp | --nfp | --nf)
   1210     # Obsolete; use --without-fp.
   1211     with_fp=no ;;
   1212 
   1213   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1214   | --no-cr | --no-c | -n)
   1215     no_create=yes ;;
   1216 
   1217   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1218   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1219     no_recursion=yes ;;
   1220 
   1221   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1222   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1223   | --oldin | --oldi | --old | --ol | --o)
   1224     ac_prev=oldincludedir ;;
   1225   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1226   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1227   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1228     oldincludedir=$ac_optarg ;;
   1229 
   1230   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1231     ac_prev=prefix ;;
   1232   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1233     prefix=$ac_optarg ;;
   1234 
   1235   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1236   | --program-pre | --program-pr | --program-p)
   1237     ac_prev=program_prefix ;;
   1238   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1239   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1240     program_prefix=$ac_optarg ;;
   1241 
   1242   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1243   | --program-suf | --program-su | --program-s)
   1244     ac_prev=program_suffix ;;
   1245   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1246   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1247     program_suffix=$ac_optarg ;;
   1248 
   1249   -program-transform-name | --program-transform-name \
   1250   | --program-transform-nam | --program-transform-na \
   1251   | --program-transform-n | --program-transform- \
   1252   | --program-transform | --program-transfor \
   1253   | --program-transfo | --program-transf \
   1254   | --program-trans | --program-tran \
   1255   | --progr-tra | --program-tr | --program-t)
   1256     ac_prev=program_transform_name ;;
   1257   -program-transform-name=* | --program-transform-name=* \
   1258   | --program-transform-nam=* | --program-transform-na=* \
   1259   | --program-transform-n=* | --program-transform-=* \
   1260   | --program-transform=* | --program-transfor=* \
   1261   | --program-transfo=* | --program-transf=* \
   1262   | --program-trans=* | --program-tran=* \
   1263   | --progr-tra=* | --program-tr=* | --program-t=*)
   1264     program_transform_name=$ac_optarg ;;
   1265 
   1266   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1267     ac_prev=pdfdir ;;
   1268   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1269     pdfdir=$ac_optarg ;;
   1270 
   1271   -psdir | --psdir | --psdi | --psd | --ps)
   1272     ac_prev=psdir ;;
   1273   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1274     psdir=$ac_optarg ;;
   1275 
   1276   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1277   | -silent | --silent | --silen | --sile | --sil)
   1278     silent=yes ;;
   1279 
   1280   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1281   | --runstate | --runstat | --runsta | --runst | --runs \
   1282   | --run | --ru | --r)
   1283     ac_prev=runstatedir ;;
   1284   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1285   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1286   | --run=* | --ru=* | --r=*)
   1287     runstatedir=$ac_optarg ;;
   1288 
   1289   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1290     ac_prev=sbindir ;;
   1291   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1292   | --sbi=* | --sb=*)
   1293     sbindir=$ac_optarg ;;
   1294 
   1295   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1296   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1297   | --sharedst | --shareds | --shared | --share | --shar \
   1298   | --sha | --sh)
   1299     ac_prev=sharedstatedir ;;
   1300   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1301   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1302   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1303   | --sha=* | --sh=*)
   1304     sharedstatedir=$ac_optarg ;;
   1305 
   1306   -site | --site | --sit)
   1307     ac_prev=site ;;
   1308   -site=* | --site=* | --sit=*)
   1309     site=$ac_optarg ;;
   1310 
   1311   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1312     ac_prev=srcdir ;;
   1313   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1314     srcdir=$ac_optarg ;;
   1315 
   1316   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1317   | --syscon | --sysco | --sysc | --sys | --sy)
   1318     ac_prev=sysconfdir ;;
   1319   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1320   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1321     sysconfdir=$ac_optarg ;;
   1322 
   1323   -target | --target | --targe | --targ | --tar | --ta | --t)
   1324     ac_prev=target_alias ;;
   1325   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1326     target_alias=$ac_optarg ;;
   1327 
   1328   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1329     verbose=yes ;;
   1330 
   1331   -version | --version | --versio | --versi | --vers | -V)
   1332     ac_init_version=: ;;
   1333 
   1334   -with-* | --with-*)
   1335     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1336     # Reject names that are not valid shell variable names.
   1337     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1338       as_fn_error $? "invalid package name: '$ac_useropt'"
   1339     ac_useropt_orig=$ac_useropt
   1340     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1341     case $ac_user_opts in
   1342       *"
   1343 "with_$ac_useropt"
   1344 "*) ;;
   1345       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1346 	 ac_unrecognized_sep=', ';;
   1347     esac
   1348     eval with_$ac_useropt=\$ac_optarg ;;
   1349 
   1350   -without-* | --without-*)
   1351     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1352     # Reject names that are not valid shell variable names.
   1353     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1354       as_fn_error $? "invalid package name: '$ac_useropt'"
   1355     ac_useropt_orig=$ac_useropt
   1356     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1357     case $ac_user_opts in
   1358       *"
   1359 "with_$ac_useropt"
   1360 "*) ;;
   1361       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1362 	 ac_unrecognized_sep=', ';;
   1363     esac
   1364     eval with_$ac_useropt=no ;;
   1365 
   1366   --x)
   1367     # Obsolete; use --with-x.
   1368     with_x=yes ;;
   1369 
   1370   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1371   | --x-incl | --x-inc | --x-in | --x-i)
   1372     ac_prev=x_includes ;;
   1373   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1374   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1375     x_includes=$ac_optarg ;;
   1376 
   1377   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1378   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1379     ac_prev=x_libraries ;;
   1380   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1381   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1382     x_libraries=$ac_optarg ;;
   1383 
   1384   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1385 Try '$0 --help' for more information"
   1386     ;;
   1387 
   1388   *=*)
   1389     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1390     # Reject names that are not valid shell variable names.
   1391     case $ac_envvar in #(
   1392       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1393       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1394     esac
   1395     eval $ac_envvar=\$ac_optarg
   1396     export $ac_envvar ;;
   1397 
   1398   *)
   1399     # FIXME: should be removed in autoconf 3.0.
   1400     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1401     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1402       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1403     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1404     ;;
   1405 
   1406   esac
   1407 done
   1408 
   1409 if test -n "$ac_prev"; then
   1410   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1411   as_fn_error $? "missing argument to $ac_option"
   1412 fi
   1413 
   1414 if test -n "$ac_unrecognized_opts"; then
   1415   case $enable_option_checking in
   1416     no) ;;
   1417     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1418     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1419   esac
   1420 fi
   1421 
   1422 # Check all directory arguments for consistency.
   1423 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1424 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1425 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1426 		libdir localedir mandir runstatedir
   1427 do
   1428   eval ac_val=\$$ac_var
   1429   # Remove trailing slashes.
   1430   case $ac_val in
   1431     */ )
   1432       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1433       eval $ac_var=\$ac_val;;
   1434   esac
   1435   # Be sure to have absolute directory names.
   1436   case $ac_val in
   1437     [\\/$]* | ?:[\\/]* )  continue;;
   1438     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1439   esac
   1440   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1441 done
   1442 
   1443 # There might be people who depend on the old broken behavior: '$host'
   1444 # used to hold the argument of --host etc.
   1445 # FIXME: To remove some day.
   1446 build=$build_alias
   1447 host=$host_alias
   1448 target=$target_alias
   1449 
   1450 # FIXME: To remove some day.
   1451 if test "x$host_alias" != x; then
   1452   if test "x$build_alias" = x; then
   1453     cross_compiling=maybe
   1454   elif test "x$build_alias" != "x$host_alias"; then
   1455     cross_compiling=yes
   1456   fi
   1457 fi
   1458 
   1459 ac_tool_prefix=
   1460 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1461 
   1462 test "$silent" = yes && exec 6>/dev/null
   1463 
   1464 
   1465 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1466 ac_ls_di=`ls -di .` &&
   1467 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1468   as_fn_error $? "working directory cannot be determined"
   1469 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1470   as_fn_error $? "pwd does not report name of working directory"
   1471 
   1472 
   1473 # Find the source files, if location was not specified.
   1474 if test -z "$srcdir"; then
   1475   ac_srcdir_defaulted=yes
   1476   # Try the directory containing this script, then the parent directory.
   1477   ac_confdir=`$as_dirname -- "$as_myself" ||
   1478 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1479 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1480 	 X"$as_myself" : 'X\(//\)$' \| \
   1481 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1482 printf '%s\n' X"$as_myself" |
   1483     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1484 	    s//\1/
   1485 	    q
   1486 	  }
   1487 	  /^X\(\/\/\)[^/].*/{
   1488 	    s//\1/
   1489 	    q
   1490 	  }
   1491 	  /^X\(\/\/\)$/{
   1492 	    s//\1/
   1493 	    q
   1494 	  }
   1495 	  /^X\(\/\).*/{
   1496 	    s//\1/
   1497 	    q
   1498 	  }
   1499 	  s/.*/./; q'`
   1500   srcdir=$ac_confdir
   1501   if test ! -r "$srcdir/$ac_unique_file"; then
   1502     srcdir=..
   1503   fi
   1504 else
   1505   ac_srcdir_defaulted=no
   1506 fi
   1507 if test ! -r "$srcdir/$ac_unique_file"; then
   1508   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1509   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1510 fi
   1511 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1512 ac_abs_confdir=`(
   1513 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1514 	pwd)`
   1515 # When building in place, set srcdir=.
   1516 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1517   srcdir=.
   1518 fi
   1519 # Remove unnecessary trailing slashes from srcdir.
   1520 # Double slashes in file names in object file debugging info
   1521 # mess up M-x gdb in Emacs.
   1522 case $srcdir in
   1523 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1524 esac
   1525 for ac_var in $ac_precious_vars; do
   1526   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1527   eval ac_env_${ac_var}_value=\$${ac_var}
   1528   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1529   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1530 done
   1531 
   1532 #
   1533 # Report the --help message.
   1534 #
   1535 if test "$ac_init_help" = "long"; then
   1536   # Omit some internal or obsolete options to make the list less imposing.
   1537   # This message is too long to be a string in the A/UX 3.1 sh.
   1538   cat <<_ACEOF
   1539 'configure' configures libX11 1.8.14 to adapt to many kinds of systems.
   1540 
   1541 Usage: $0 [OPTION]... [VAR=VALUE]...
   1542 
   1543 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1544 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1545 
   1546 Defaults for the options are specified in brackets.
   1547 
   1548 Configuration:
   1549   -h, --help              display this help and exit
   1550       --help=short        display options specific to this package
   1551       --help=recursive    display the short help of all the included packages
   1552   -V, --version           display version information and exit
   1553   -q, --quiet, --silent   do not print 'checking ...' messages
   1554       --cache-file=FILE   cache test results in FILE [disabled]
   1555   -C, --config-cache      alias for '--cache-file=config.cache'
   1556   -n, --no-create         do not create output files
   1557       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1558 
   1559 Installation directories:
   1560   --prefix=PREFIX         install architecture-independent files in PREFIX
   1561                           [$ac_default_prefix]
   1562   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1563                           [PREFIX]
   1564 
   1565 By default, 'make install' will install all the files in
   1566 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1567 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1568 for instance '--prefix=\$HOME'.
   1569 
   1570 For better control, use the options below.
   1571 
   1572 Fine tuning of the installation directories:
   1573   --bindir=DIR            user executables [EPREFIX/bin]
   1574   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1575   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1576   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1577   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1578   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1579   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1580   --libdir=DIR            object code libraries [EPREFIX/lib]
   1581   --includedir=DIR        C header files [PREFIX/include]
   1582   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1583   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1584   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1585   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1586   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1587   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1588   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1589   --htmldir=DIR           html documentation [DOCDIR]
   1590   --dvidir=DIR            dvi documentation [DOCDIR]
   1591   --pdfdir=DIR            pdf documentation [DOCDIR]
   1592   --psdir=DIR             ps documentation [DOCDIR]
   1593 _ACEOF
   1594 
   1595   cat <<\_ACEOF
   1596 
   1597 Program names:
   1598   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1599   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1600   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1601 
   1602 System types:
   1603   --build=BUILD     configure for building on BUILD [guessed]
   1604   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1605 _ACEOF
   1606 fi
   1607 
   1608 if test -n "$ac_init_help"; then
   1609   case $ac_init_help in
   1610      short | recursive ) echo "Configuration of libX11 1.8.14:";;
   1611    esac
   1612   cat <<\_ACEOF
   1613 
   1614 Optional Features:
   1615   --disable-option-checking  ignore unrecognized --enable/--with options
   1616   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1617   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1618   --enable-dependency-tracking
   1619                           do not reject slow dependency extractors
   1620   --disable-dependency-tracking
   1621                           speeds up one-time build
   1622   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1623   --disable-silent-rules  verbose build output (undo: "make V=0")
   1624   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1625   --enable-static[=PKGS]  build static libraries [default=yes]
   1626   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1627                           both]
   1628   --enable-cxx-stdlib[=PKGS]
   1629                           let the compiler frontend decide what standard
   1630                           libraries to link when building C++ shared libraries
   1631                           and modules [default=no]
   1632   --enable-fast-install[=PKGS]
   1633                           optimize for fast installation [default=yes]
   1634   --enable-aix-soname=aix|svr4|both
   1635                           shared library versioning (aka "SONAME") variant to
   1636                           provide on AIX, [default=aix].
   1637   --disable-libtool-lock  avoid locking (might break parallel builds)
   1638   --disable-largefile     omit support for large files
   1639   --disable-selective-werror
   1640                           Turn off selective compiler errors. (default:
   1641                           enabled)
   1642   --enable-strict-compilation
   1643                           Enable all warnings from compiler and make them
   1644                           errors (default: disabled)
   1645   --enable-specs          Enable building the specs (default: yes)
   1646   --enable-unix-transport Enable UNIX domain socket transport
   1647   --enable-tcp-transport  Enable TCP socket transport
   1648   --enable-ipv6           Enable IPv6 support
   1649   --enable-local-transport
   1650                           Enable os-specific local transport
   1651   --enable-loadable-i18n  Controls loadable i18n module support
   1652   --disable-loadable-xcursor
   1653                           Controls loadable xcursor library support
   1654   --disable-thread-safety-constructor
   1655                           Controls mandatory thread safety support
   1656   --disable-xthreads      Disable Xlib support for Multithreading
   1657   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1658   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1659   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1660   --disable-xf86bigfont   Disable XF86BigFont extension support
   1661   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1662   --disable-composecache  Disable compose table cache support
   1663   --enable-lint-library   Create lint library (default: disabled)
   1664   --enable-malloc0returnsnull
   1665                           assume malloc(0) can return NULL (default: yes)
   1666   --enable-year2038       support timestamps after 2038
   1667 
   1668 Optional Packages:
   1669   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1670   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1671   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1672   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1673                           compiler's sysroot if not specified).
   1674   --with-xmlto            Use xmlto to regenerate documentation (default:
   1675                           auto)
   1676   --with-fop              Use fop to regenerate documentation (default: no)
   1677   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1678                           (default: auto)
   1679   --with-perl             Use perl for extracting information from files
   1680                           (default: auto)
   1681   --with-launchd          Build with support for Apple's launchd (default:
   1682                           auto)
   1683   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1684                           include dir)
   1685   --with-lint             Use a lint-style source code checker (default:
   1686                           disabled)
   1687   --with-locale-lib-dir=DIR
   1688                           Directory where locale libraries files are installed
   1689                           (default: $libdir/X11/locale)
   1690 
   1691 Some influential environment variables:
   1692   CC          C compiler command
   1693   CFLAGS      C compiler flags
   1694   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1695               nonstandard directory <lib dir>
   1696   LIBS        libraries to pass to the linker, e.g. -l<library>
   1697   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1698               you have headers in a nonstandard directory <include dir>
   1699   LT_SYS_LIBRARY_PATH
   1700               User-defined run-time library search path.
   1701   PKG_CONFIG  path to pkg-config utility
   1702   PKG_CONFIG_PATH
   1703               directories to add to pkg-config's search path
   1704   PKG_CONFIG_LIBDIR
   1705               path overriding pkg-config's built-in search path
   1706   XMLTO       Path to xmlto command
   1707   FOP         Path to fop command
   1708   XSLTPROC    Path to xsltproc command
   1709   CPP         C preprocessor
   1710   PERL        Path to perl command
   1711   BIGFONT_CFLAGS
   1712               C compiler flags for BIGFONT, overriding pkg-config
   1713   BIGFONT_LIBS
   1714               linker flags for BIGFONT, overriding pkg-config
   1715   LINT        Path to a lint-style command
   1716   LINT_FLAGS  Flags for the lint-style command
   1717   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1718   X11_LIBS    linker flags for X11, overriding pkg-config
   1719 
   1720 Use these variables to override the choices made by 'configure' or to help
   1721 it to find libraries and programs with nonstandard names/locations.
   1722 
   1723 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1724 _ACEOF
   1725 ac_status=$?
   1726 fi
   1727 
   1728 if test "$ac_init_help" = "recursive"; then
   1729   # If there are subdirs, report their specific --help.
   1730   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1731     test -d "$ac_dir" ||
   1732       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1733       continue
   1734     ac_builddir=.
   1735 
   1736 case "$ac_dir" in
   1737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1738 *)
   1739   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1740   # A ".." for each directory in $ac_dir_suffix.
   1741   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1742   case $ac_top_builddir_sub in
   1743   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1744   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1745   esac ;;
   1746 esac
   1747 ac_abs_top_builddir=$ac_pwd
   1748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1749 # for backward compatibility:
   1750 ac_top_builddir=$ac_top_build_prefix
   1751 
   1752 case $srcdir in
   1753   .)  # We are building in place.
   1754     ac_srcdir=.
   1755     ac_top_srcdir=$ac_top_builddir_sub
   1756     ac_abs_top_srcdir=$ac_pwd ;;
   1757   [\\/]* | ?:[\\/]* )  # Absolute name.
   1758     ac_srcdir=$srcdir$ac_dir_suffix;
   1759     ac_top_srcdir=$srcdir
   1760     ac_abs_top_srcdir=$srcdir ;;
   1761   *) # Relative name.
   1762     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1763     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1764     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1765 esac
   1766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1767 
   1768     cd "$ac_dir" || { ac_status=$?; continue; }
   1769     # Check for configure.gnu first; this name is used for a wrapper for
   1770     # Metaconfig's "Configure" on case-insensitive file systems.
   1771     if test -f "$ac_srcdir/configure.gnu"; then
   1772       echo &&
   1773       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1774     elif test -f "$ac_srcdir/configure"; then
   1775       echo &&
   1776       $SHELL "$ac_srcdir/configure" --help=recursive
   1777     else
   1778       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1779     fi || ac_status=$?
   1780     cd "$ac_pwd" || { ac_status=$?; break; }
   1781   done
   1782 fi
   1783 
   1784 test -n "$ac_init_help" && exit $ac_status
   1785 if $ac_init_version; then
   1786   cat <<\_ACEOF
   1787 libX11 configure 1.8.14
   1788 generated by GNU Autoconf 2.73
   1789 
   1790 Copyright (C) 2026 Free Software Foundation, Inc.
   1791 This configure script is free software; the Free Software Foundation
   1792 gives unlimited permission to copy, distribute and modify it.
   1793 _ACEOF
   1794   exit
   1795 fi
   1796 
   1797 ## ------------------------ ##
   1798 ## Autoconf initialization. ##
   1799 ## ------------------------ ##
   1800 
   1801 # ac_fn_c_try_compile LINENO
   1802 # --------------------------
   1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1804 ac_fn_c_try_compile ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   rm -f conftest.$ac_objext conftest.beam
   1808   if { { ac_try="$ac_compile"
   1809 case "(($ac_try" in
   1810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1811   *) ac_try_echo=$ac_try;;
   1812 esac
   1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1814 printf '%s\n' "$ac_try_echo"; } >&5
   1815   (eval "$ac_compile") 2>conftest.err
   1816   ac_status=$?
   1817   if test -s conftest.err; then
   1818     grep -v '^ *+' conftest.err >conftest.er1
   1819     cat conftest.er1 >&5
   1820     mv -f conftest.er1 conftest.err
   1821   fi
   1822   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1823   test $ac_status = 0; } && {
   1824 	 test -z "$ac_c_werror_flag" ||
   1825 	 test ! -s conftest.err
   1826        } && test -s conftest.$ac_objext
   1827 then :
   1828   ac_retval=0
   1829 else case e in #(
   1830   e) printf '%s\n' "$as_me: failed program was:" >&5
   1831 sed 's/^/| /' conftest.$ac_ext >&5
   1832 
   1833 	ac_retval=1 ;;
   1834 esac
   1835 fi
   1836   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1837   as_fn_set_status $ac_retval
   1838 
   1839 } # ac_fn_c_try_compile
   1840 
   1841 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1842 # -------------------------------------------------------
   1843 # Tests whether HEADER exists and can be compiled using the include files in
   1844 # INCLUDES, setting the cache variable VAR accordingly.
   1845 ac_fn_c_check_header_compile ()
   1846 {
   1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1848   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1849 printf %s "checking for $2... " >&6; }
   1850 if eval test \${$3+y}
   1851 then :
   1852   printf %s "(cached) " >&6
   1853 else case e in #(
   1854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 $4
   1857 #include <$2>
   1858 _ACEOF
   1859 if ac_fn_c_try_compile "$LINENO"
   1860 then :
   1861   eval "$3=yes"
   1862 else case e in #(
   1863   e) eval "$3=no" ;;
   1864 esac
   1865 fi
   1866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1867 esac
   1868 fi
   1869 eval ac_res=\$$3
   1870 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1871 printf '%s\n' "$ac_res" >&6; }
   1872   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1873 
   1874 } # ac_fn_c_check_header_compile
   1875 
   1876 # ac_fn_c_try_link LINENO
   1877 # -----------------------
   1878 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1879 ac_fn_c_try_link ()
   1880 {
   1881   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1882   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1883   if { { ac_try="$ac_link"
   1884 case "(($ac_try" in
   1885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1886   *) ac_try_echo=$ac_try;;
   1887 esac
   1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1889 printf '%s\n' "$ac_try_echo"; } >&5
   1890   (eval "$ac_link") 2>conftest.err
   1891   ac_status=$?
   1892   if test -s conftest.err; then
   1893     grep -v '^ *+' conftest.err >conftest.er1
   1894     cat conftest.er1 >&5
   1895     mv -f conftest.er1 conftest.err
   1896   fi
   1897   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1898   test $ac_status = 0; } && {
   1899 	 test -z "$ac_c_werror_flag" ||
   1900 	 test ! -s conftest.err
   1901        } && test -s conftest$ac_exeext && {
   1902 	 test "$cross_compiling" = yes ||
   1903 	 test -x conftest$ac_exeext
   1904        }
   1905 then :
   1906   ac_retval=0
   1907 else case e in #(
   1908   e) printf '%s\n' "$as_me: failed program was:" >&5
   1909 sed 's/^/| /' conftest.$ac_ext >&5
   1910 
   1911 	ac_retval=1 ;;
   1912 esac
   1913 fi
   1914   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1915   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1916   # interfere with the next link command; also delete a directory that is
   1917   # left behind by Apple's compiler.  We do this before executing the actions.
   1918   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1920   as_fn_set_status $ac_retval
   1921 
   1922 } # ac_fn_c_try_link
   1923 
   1924 # ac_fn_c_check_func LINENO FUNC VAR
   1925 # ----------------------------------
   1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1927 ac_fn_c_check_func ()
   1928 {
   1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1930   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1931 printf %s "checking for $2... " >&6; }
   1932 if eval test \${$3+y}
   1933 then :
   1934   printf %s "(cached) " >&6
   1935 else case e in #(
   1936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1937 /* end confdefs.h.  */
   1938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1940 #define $2 innocuous_$2
   1941 
   1942 /* System header to define __stub macros and hopefully few prototypes,
   1943    which can conflict with char $2 (void); below.  */
   1944 
   1945 #include <limits.h>
   1946 #undef $2
   1947 
   1948 /* Override any GCC internal prototype to avoid an error.
   1949    Use char because int might match the return type of a GCC
   1950    builtin and then its argument prototype would still apply.  */
   1951 #ifdef __cplusplus
   1952 extern "C"
   1953 #endif
   1954 char $2 (void);
   1955 /* The GNU C library defines this for functions which it implements
   1956     to always fail with ENOSYS.  Some functions are actually named
   1957     something starting with __ and the normal name is an alias.  */
   1958 #if defined __stub_$2 || defined __stub___$2
   1959 choke me
   1960 #endif
   1961 
   1962 int
   1963 main (void)
   1964 {
   1965 return $2 ();
   1966   ;
   1967   return 0;
   1968 }
   1969 _ACEOF
   1970 if ac_fn_c_try_link "$LINENO"
   1971 then :
   1972   eval "$3=yes"
   1973 else case e in #(
   1974   e) eval "$3=no" ;;
   1975 esac
   1976 fi
   1977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1978     conftest$ac_exeext conftest.$ac_ext ;;
   1979 esac
   1980 fi
   1981 eval ac_res=\$$3
   1982 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1983 printf '%s\n' "$ac_res" >&6; }
   1984   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1985 
   1986 } # ac_fn_c_check_func
   1987 
   1988 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1989 # ------------------------------------------------------------------
   1990 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1991 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1992 ac_fn_check_decl ()
   1993 {
   1994   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1995   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1996   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1997 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1998 if eval test \${$3+y}
   1999 then :
   2000   printf %s "(cached) " >&6
   2001 else case e in #(
   2002   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2003   eval ac_save_FLAGS=\$$6
   2004   as_fn_append $6 " $5"
   2005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2006 /* end confdefs.h.  */
   2007 $4
   2008 int
   2009 main (void)
   2010 {
   2011 #ifndef $as_decl_name
   2012 #ifdef __cplusplus
   2013   (void) $as_decl_use;
   2014 #else
   2015   (void) $as_decl_name;
   2016 #endif
   2017 #endif
   2018 
   2019   ;
   2020   return 0;
   2021 }
   2022 _ACEOF
   2023 if ac_fn_c_try_compile "$LINENO"
   2024 then :
   2025   eval "$3=yes"
   2026 else case e in #(
   2027   e) eval "$3=no" ;;
   2028 esac
   2029 fi
   2030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2031   eval $6=\$ac_save_FLAGS
   2032  ;;
   2033 esac
   2034 fi
   2035 eval ac_res=\$$3
   2036 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2037 printf '%s\n' "$ac_res" >&6; }
   2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2039 
   2040 } # ac_fn_check_decl
   2041 
   2042 # ac_fn_c_try_cpp LINENO
   2043 # ----------------------
   2044 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2045 ac_fn_c_try_cpp ()
   2046 {
   2047   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2048   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2049 case "(($ac_try" in
   2050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2051   *) ac_try_echo=$ac_try;;
   2052 esac
   2053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2054 printf '%s\n' "$ac_try_echo"; } >&5
   2055   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2056   ac_status=$?
   2057   if test -s conftest.err; then
   2058     grep -v '^ *+' conftest.err >conftest.er1
   2059     cat conftest.er1 >&5
   2060     mv -f conftest.er1 conftest.err
   2061   fi
   2062   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2063   test $ac_status = 0; } > conftest.i && {
   2064 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2065 	 test ! -s conftest.err
   2066        }
   2067 then :
   2068   ac_retval=0
   2069 else case e in #(
   2070   e) printf '%s\n' "$as_me: failed program was:" >&5
   2071 sed 's/^/| /' conftest.$ac_ext >&5
   2072 
   2073     ac_retval=1 ;;
   2074 esac
   2075 fi
   2076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2077   as_fn_set_status $ac_retval
   2078 
   2079 } # ac_fn_c_try_cpp
   2080 
   2081 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2082 # ----------------------------------------------------
   2083 # Tries to find if the field MEMBER exists in type AGGR, after including
   2084 # INCLUDES, setting cache variable VAR accordingly.
   2085 ac_fn_c_check_member ()
   2086 {
   2087   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2088   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2089 printf %s "checking for $2.$3... " >&6; }
   2090 if eval test \${$4+y}
   2091 then :
   2092   printf %s "(cached) " >&6
   2093 else case e in #(
   2094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2095 /* end confdefs.h.  */
   2096 $5
   2097 int
   2098 main (void)
   2099 {
   2100 static $2 ac_aggr;
   2101 if (ac_aggr.$3)
   2102 return 0;
   2103   ;
   2104   return 0;
   2105 }
   2106 _ACEOF
   2107 if ac_fn_c_try_compile "$LINENO"
   2108 then :
   2109   eval "$4=yes"
   2110 else case e in #(
   2111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2112 /* end confdefs.h.  */
   2113 $5
   2114 int
   2115 main (void)
   2116 {
   2117 static $2 ac_aggr;
   2118 if (sizeof ac_aggr.$3)
   2119 return 0;
   2120   ;
   2121   return 0;
   2122 }
   2123 _ACEOF
   2124 if ac_fn_c_try_compile "$LINENO"
   2125 then :
   2126   eval "$4=yes"
   2127 else case e in #(
   2128   e) eval "$4=no" ;;
   2129 esac
   2130 fi
   2131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2132 esac
   2133 fi
   2134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2135 esac
   2136 fi
   2137 eval ac_res=\$$4
   2138 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2139 printf '%s\n' "$ac_res" >&6; }
   2140   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2141 
   2142 } # ac_fn_c_check_member
   2143 
   2144 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2145 # -------------------------------------------
   2146 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2147 # variable VAR accordingly.
   2148 ac_fn_c_check_type ()
   2149 {
   2150   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2151   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2152 printf %s "checking for $2... " >&6; }
   2153 if eval test \${$3+y}
   2154 then :
   2155   printf %s "(cached) " >&6
   2156 else case e in #(
   2157   e) eval "$3=no"
   2158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2159 /* end confdefs.h.  */
   2160 $4
   2161 int
   2162 main (void)
   2163 {
   2164 if (sizeof ($2))
   2165 	 return 0;
   2166   ;
   2167   return 0;
   2168 }
   2169 _ACEOF
   2170 if ac_fn_c_try_compile "$LINENO"
   2171 then :
   2172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2173 /* end confdefs.h.  */
   2174 $4
   2175 int
   2176 main (void)
   2177 {
   2178 if (sizeof (($2)))
   2179 	    return 0;
   2180   ;
   2181   return 0;
   2182 }
   2183 _ACEOF
   2184 if ac_fn_c_try_compile "$LINENO"
   2185 then :
   2186 
   2187 else case e in #(
   2188   e) eval "$3=yes" ;;
   2189 esac
   2190 fi
   2191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2192 fi
   2193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2194 esac
   2195 fi
   2196 eval ac_res=\$$3
   2197 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2198 printf '%s\n' "$ac_res" >&6; }
   2199   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2200 
   2201 } # ac_fn_c_check_type
   2202 
   2203 # ac_fn_c_try_run LINENO
   2204 # ----------------------
   2205 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2206 # executables *can* be run.
   2207 ac_fn_c_try_run ()
   2208 {
   2209   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2210   if { { ac_try="$ac_link"
   2211 case "(($ac_try" in
   2212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2213   *) ac_try_echo=$ac_try;;
   2214 esac
   2215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2216 printf '%s\n' "$ac_try_echo"; } >&5
   2217   (eval "$ac_link") 2>&5
   2218   ac_status=$?
   2219   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2220   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2221   { { case "(($ac_try" in
   2222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2223   *) ac_try_echo=$ac_try;;
   2224 esac
   2225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2226 printf '%s\n' "$ac_try_echo"; } >&5
   2227   (eval "$ac_try") 2>&5
   2228   ac_status=$?
   2229   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2230   test $ac_status = 0; }; }
   2231 then :
   2232   ac_retval=0
   2233 else case e in #(
   2234   e) printf '%s\n' "$as_me: program exited with status $ac_status" >&5
   2235        printf '%s\n' "$as_me: failed program was:" >&5
   2236 sed 's/^/| /' conftest.$ac_ext >&5
   2237 
   2238        ac_retval=$ac_status ;;
   2239 esac
   2240 fi
   2241   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2242   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2243   as_fn_set_status $ac_retval
   2244 
   2245 } # ac_fn_c_try_run
   2246 ac_configure_args_raw=
   2247 for ac_arg
   2248 do
   2249   case $ac_arg in
   2250   *\'*)
   2251     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2252   esac
   2253   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2254 done
   2255 
   2256 case $ac_configure_args_raw in
   2257   *$as_nl*)
   2258     ac_safe_unquote= ;;
   2259   *)
   2260     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2261     ac_unsafe_a="$ac_unsafe_z#~"
   2262     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2263     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2264 esac
   2265 
   2266 cat >config.log <<_ACEOF
   2267 This file contains any messages produced by compilers while
   2268 running configure, to aid debugging if configure makes a mistake.
   2269 
   2270 It was created by libX11 $as_me 1.8.14, which was
   2271 generated by GNU Autoconf 2.73.  Invocation command line was
   2272 
   2273   $ $0$ac_configure_args_raw
   2274 
   2275 _ACEOF
   2276 exec 5>>config.log
   2277 {
   2278 cat <<_ASUNAME
   2279 ## --------- ##
   2280 ## Platform. ##
   2281 ## --------- ##
   2282 
   2283 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2284 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2285 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2286 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2287 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2288 
   2289 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2290 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2291 
   2292 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2293 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2294 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2295 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2296 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2297 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2298 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2299 
   2300 _ASUNAME
   2301 
   2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2303 for as_dir in $PATH
   2304 do
   2305   IFS=$as_save_IFS
   2306   case $as_dir in #(((
   2307     '') as_dir=./ ;;
   2308     */) ;;
   2309     *) as_dir=$as_dir/ ;;
   2310   esac
   2311     printf '%s\n' "PATH: $as_dir"
   2312   done
   2313 IFS=$as_save_IFS
   2314 
   2315 } >&5
   2316 
   2317 cat >&5 <<_ACEOF
   2318 
   2319 
   2320 ## ----------- ##
   2321 ## Core tests. ##
   2322 ## ----------- ##
   2323 
   2324 _ACEOF
   2325 
   2326 
   2327 # Keep a trace of the command line.
   2328 # Strip out --no-create and --no-recursion so they do not pile up.
   2329 # Strip out --silent because we don't want to record it for future runs.
   2330 # Also quote any args containing shell meta-characters.
   2331 # Make two passes to allow for proper duplicate-argument suppression.
   2332 ac_configure_args=
   2333 ac_configure_args0=
   2334 ac_configure_args1=
   2335 ac_must_keep_next=false
   2336 for ac_pass in 1 2
   2337 do
   2338   for ac_arg
   2339   do
   2340     case $ac_arg in
   2341     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2342     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2343     | -silent | --silent | --silen | --sile | --sil)
   2344       continue ;;
   2345     *\'*)
   2346       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2347     esac
   2348     case $ac_pass in
   2349     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2350     2)
   2351       as_fn_append ac_configure_args1 " '$ac_arg'"
   2352       if test $ac_must_keep_next = true; then
   2353 	ac_must_keep_next=false # Got value, back to normal.
   2354       else
   2355 	case $ac_arg in
   2356 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2357 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2358 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2359 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2360 	    case "$ac_configure_args0 " in
   2361 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2362 	    esac
   2363 	    ;;
   2364 	  -* ) ac_must_keep_next=true ;;
   2365 	esac
   2366       fi
   2367       as_fn_append ac_configure_args " '$ac_arg'"
   2368       ;;
   2369     esac
   2370   done
   2371 done
   2372 { ac_configure_args0=; unset ac_configure_args0;}
   2373 { ac_configure_args1=; unset ac_configure_args1;}
   2374 
   2375 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   2376 ac_cache_dump ()
   2377 {
   2378   # The following way of writing the cache mishandles newlines in values,
   2379 # but we know of no workaround that is simple, portable, and efficient.
   2380 # So, we kill variables containing newlines.
   2381 # Ultrix sh set writes to stderr and can't be redirected directly,
   2382 # and sets the high bit in the cache file unless we assign to the vars.
   2383 (
   2384   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   2385     eval ac_val=\$$ac_var
   2386     case $ac_val in #(
   2387     *${as_nl}*)
   2388       case $ac_var in #(
   2389       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2390 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2391       esac
   2392       case $ac_var in #(
   2393       _ | IFS | as_nl) ;; #(
   2394       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2395       *) { eval $ac_var=; unset $ac_var;} ;;
   2396       esac ;;
   2397     esac
   2398   done
   2399 
   2400   (set) 2>&1 |
   2401     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   2402     *${as_nl}ac_space=\ *)
   2403       # 'set' does not quote correctly, so add quotes: double-quote
   2404       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2405       sed -n \
   2406 	"s/'/'\\\\''/g;
   2407 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2408       ;; #(
   2409     *)
   2410       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2411       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2412       ;;
   2413     esac |
   2414     sort
   2415 )
   2416 }
   2417 
   2418 # Print debugging info to stdout.
   2419 ac_dump_debugging_info ()
   2420 {
   2421   echo
   2422 
   2423   printf '%s\n' "## ---------------- ##
   2424 ## Cache variables. ##
   2425 ## ---------------- ##"
   2426   echo
   2427   ac_cache_dump
   2428   echo
   2429 
   2430   printf '%s\n' "## ----------------- ##
   2431 ## Output variables. ##
   2432 ## ----------------- ##"
   2433   echo
   2434   for ac_var in $ac_subst_vars
   2435   do
   2436     eval ac_val=\$$ac_var
   2437     case $ac_val in
   2438     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2439     esac
   2440     printf '%s\n' "$ac_var='$ac_val'"
   2441   done | sort
   2442   echo
   2443 
   2444   if test -n "$ac_subst_files"; then
   2445     printf '%s\n' "## ------------------- ##
   2446 ## File substitutions. ##
   2447 ## ------------------- ##"
   2448     echo
   2449     for ac_var in $ac_subst_files
   2450     do
   2451       eval ac_val=\$$ac_var
   2452       case $ac_val in
   2453       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2454       esac
   2455       printf '%s\n' "$ac_var='$ac_val'"
   2456     done | sort
   2457     echo
   2458   fi
   2459 
   2460   if test -s confdefs.h; then
   2461     printf '%s\n' "## ----------- ##
   2462 ## confdefs.h. ##
   2463 ## ----------- ##"
   2464     echo
   2465     cat confdefs.h
   2466     echo
   2467   fi
   2468   test "$ac_signal" != 0 &&
   2469     printf '%s\n' "$as_me: caught signal $ac_signal"
   2470   printf '%s\n' "$as_me: exit $exit_status"
   2471 }
   2472 
   2473 # When interrupted or exit'd, cleanup temporary files, and complete
   2474 # config.log.
   2475 ac_exit_trap ()
   2476 {
   2477   exit_status=
   2478   # Sanitize IFS.
   2479   IFS=" ""	$as_nl"
   2480   # Save into config.log some information that might help in debugging.
   2481   ac_dump_debugging_info >&5
   2482   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2483     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2484     exit $exit_status
   2485 }
   2486 
   2487 trap 'ac_exit_trap $?' 0
   2488 for ac_signal in 1 2 13 15; do
   2489   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2490 done
   2491 ac_signal=0
   2492 
   2493 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2494 rm -f -r conftest* confdefs.h
   2495 
   2496 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2497 
   2498 # Predefined preprocessor variables.
   2499 
   2500 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2501 
   2502 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2503 
   2504 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2505 
   2506 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2507 
   2508 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2509 
   2510 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2511 
   2512 
   2513 # Let the site file select an alternate cache file if it wants to.
   2514 # Prefer an explicitly selected file to automatically selected ones.
   2515 if test -n "$CONFIG_SITE"; then
   2516   ac_site_files="$CONFIG_SITE"
   2517 elif test "x$prefix" != xNONE; then
   2518   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2519 else
   2520   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2521 fi
   2522 
   2523 for ac_site_file in $ac_site_files
   2524 do
   2525   case $ac_site_file in #(
   2526   */*) :
   2527      ;; #(
   2528   *) :
   2529     ac_site_file=./$ac_site_file ;;
   2530 esac
   2531   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2532     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2533 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2534     sed 's/^/| /' "$ac_site_file" >&5
   2535     . "$ac_site_file" \
   2536       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2537 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2538 as_fn_error $? "failed to load site script $ac_site_file
   2539 See 'config.log' for more details" "$LINENO" 5; }
   2540   fi
   2541 done
   2542 
   2543 if test -r "$cache_file"; then
   2544   # Some versions of bash will fail to source /dev/null (special files
   2545   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2546   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2547     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2548 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2549     case $cache_file in
   2550       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2551       *)                      . "./$cache_file";;
   2552     esac
   2553   fi
   2554 else
   2555   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2556 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2557   >$cache_file
   2558 fi
   2559 
   2560 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2561 # Test code for whether the C compiler supports C23 (global declarations)
   2562 ac_c_conftest_c23_globals='
   2563 /* Does the compiler advertise conformance to C17 or earlier?
   2564    Although GCC 14 does not do that, even with -std=gnu23,
   2565    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2566 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2567 # error "Compiler advertises conformance to C17 or earlier"
   2568 #endif
   2569 
   2570 // Check alignas.
   2571 char alignas (double) c23_aligned_as_double;
   2572 char alignas (0) c23_no_special_alignment;
   2573 extern char c23_aligned_as_int;
   2574 char alignas (0) alignas (int) c23_aligned_as_int;
   2575 
   2576 // Check alignof.
   2577 enum
   2578 {
   2579   c23_int_alignment = alignof (int),
   2580   c23_int_array_alignment = alignof (int[100]),
   2581   c23_char_alignment = alignof (char)
   2582 };
   2583 static_assert (0 < -alignof (int), "alignof is signed");
   2584 
   2585 int function_with_unnamed_parameter (int) { return 0; }
   2586 
   2587 void c23_noreturn ();
   2588 
   2589 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2590    The parens pacify GCC 15.  */
   2591 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2592 
   2593 bool check_that_bool_works = true | false | !nullptr;
   2594 #if !true
   2595 # error "true does not work in #if"
   2596 #endif
   2597 #if false
   2598 #elifdef __STDC_VERSION__
   2599 #else
   2600 # error "#elifdef does not work"
   2601 #endif
   2602 
   2603 #ifndef __has_c_attribute
   2604 # error "__has_c_attribute not defined"
   2605 #endif
   2606 
   2607 #ifndef __has_include
   2608 # error "__has_include not defined"
   2609 #endif
   2610 
   2611 #define LPAREN() (
   2612 #define FORTY_TWO(x) 42
   2613 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2614 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2615 
   2616 static_assert (0b101010 == 42);
   2617 static_assert (0B101010 == 42);
   2618 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2619 static_assert (0.500'\''000'\''000 == 0.5);
   2620 
   2621 enum unsignedish : unsigned int { uione = 1 };
   2622 static_assert (0 < -uione);
   2623 
   2624 #include <stddef.h>
   2625 constexpr nullptr_t null_pointer = nullptr;
   2626 
   2627 static typeof (1 + 1L) two () { return 2; }
   2628 static long int three () { return 3; }
   2629 '
   2630 
   2631 # Test code for whether the C compiler supports C23 (body of main).
   2632 ac_c_conftest_c23_main='
   2633   {
   2634     label_before_declaration:
   2635       int arr[10] = {};
   2636       if (arr[0])
   2637         goto label_before_declaration;
   2638       if (!arr[0])
   2639         goto label_at_end_of_block;
   2640     label_at_end_of_block:
   2641   }
   2642   ok |= !null_pointer;
   2643   ok |= two != three;
   2644 '
   2645 
   2646 # Test code for whether the C compiler supports C23 (complete).
   2647 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2648 
   2649 int
   2650 main (int, char **)
   2651 {
   2652   int ok = 0;
   2653   ${ac_c_conftest_c23_main}
   2654   return ok;
   2655 }
   2656 "
   2657 
   2658 # Test code for whether the C compiler supports C89 (global declarations)
   2659 ac_c_conftest_c89_globals='
   2660 /* Do not test the value of __STDC__, because some compilers define it to 0
   2661    or do not define it, while otherwise adequately conforming.  */
   2662 
   2663 #include <stddef.h>
   2664 #include <stdarg.h>
   2665 struct stat;
   2666 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2667 struct buf { int x; };
   2668 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2669 static char *e (char **p, int i)
   2670 {
   2671   return p[i];
   2672 }
   2673 static char *f (char * (*g) (char **, int), char **p, ...)
   2674 {
   2675   char *s;
   2676   va_list v;
   2677   va_start (v,p);
   2678   s = g (p, va_arg (v,int));
   2679   va_end (v);
   2680   return s;
   2681 }
   2682 
   2683 /* C89 style stringification. */
   2684 #define noexpand_stringify(a) #a
   2685 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2686 
   2687 /* C89 style token pasting.  Exercises some of the corner cases that
   2688    e.g. old MSVC gets wrong, but not very hard. */
   2689 #define noexpand_concat(a,b) a##b
   2690 #define expand_concat(a,b) noexpand_concat(a,b)
   2691 extern int vA;
   2692 extern int vbee;
   2693 #define aye A
   2694 #define bee B
   2695 int *pvA = &expand_concat(v,aye);
   2696 int *pvbee = &noexpand_concat(v,bee);
   2697 
   2698 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2699    function prototypes and stuff, but not \xHH hex character constants.
   2700    These do not provoke an error unfortunately, instead are silently treated
   2701    as an "x".  The following induces an error, until -std is added to get
   2702    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2703    array size at least.  It is necessary to write \x00 == 0 to get something
   2704    that is true only with -std.  */
   2705 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2706 
   2707 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2708    inside strings and character constants.  */
   2709 #define FOO(x) '\''x'\''
   2710 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2711 
   2712 int test (int i, double x);
   2713 struct s1 {int (*f) (int a);};
   2714 struct s2 {int (*f) (double a);};
   2715 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2716                int, int);'
   2717 
   2718 # Test code for whether the C compiler supports C89 (body of main).
   2719 ac_c_conftest_c89_main='
   2720 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2721 '
   2722 
   2723 # Test code for whether the C compiler supports C99 (global declarations)
   2724 ac_c_conftest_c99_globals='
   2725 /* Does the compiler advertise C99 conformance? */
   2726 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2727 # error "Compiler does not advertise C99 conformance"
   2728 #endif
   2729 
   2730 // See if C++-style comments work.
   2731 
   2732 #include <stdbool.h>
   2733 extern int puts (const char *);
   2734 extern int printf (const char *, ...);
   2735 extern int dprintf (int, const char *, ...);
   2736 extern void *malloc (size_t);
   2737 extern void free (void *);
   2738 
   2739 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2740 // dprintf is used instead of fprintf to avoid needing to declare
   2741 // FILE and stderr, and "aND" is used instead of "and" to work around
   2742 // GCC bug 40564 which is irrelevant here.
   2743 #define debug(...) dprintf (2, __VA_ARGS__)
   2744 #define showlist(...) puts (#__VA_ARGS__)
   2745 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2746 static void
   2747 test_varargs_macros (void)
   2748 {
   2749   int x = 1234;
   2750   int y = 5678;
   2751   debug ("Flag");
   2752   debug ("X = %d\n", x);
   2753   showlist (The first, second, aND third items.);
   2754   report (x>y, "x is %d but y is %d", x, y);
   2755 }
   2756 
   2757 // Check long long types.
   2758 #define BIG64 18446744073709551615ull
   2759 #define BIG32 4294967295ul
   2760 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2761 #if !BIG_OK
   2762   #error "your preprocessor is broken"
   2763 #endif
   2764 #if BIG_OK
   2765 #else
   2766   #error "your preprocessor is broken"
   2767 #endif
   2768 static long long int bignum = -9223372036854775807LL;
   2769 static unsigned long long int ubignum = BIG64;
   2770 
   2771 struct incomplete_array
   2772 {
   2773   int datasize;
   2774   double data[];
   2775 };
   2776 
   2777 struct named_init {
   2778   int number;
   2779   const wchar_t *name;
   2780   double average;
   2781 };
   2782 
   2783 typedef const char *ccp;
   2784 
   2785 static inline int
   2786 test_restrict (ccp restrict text)
   2787 {
   2788   // Iterate through items via the restricted pointer.
   2789   // Also check for declarations in for loops.
   2790   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2791     continue;
   2792   return 0;
   2793 }
   2794 
   2795 // Check varargs and va_copy.
   2796 static bool
   2797 test_varargs (const char *format, ...)
   2798 {
   2799   va_list args;
   2800   va_start (args, format);
   2801   va_list args_copy;
   2802   va_copy (args_copy, args);
   2803 
   2804   const char *str = "";
   2805   int number = 0;
   2806   float fnumber = 0;
   2807 
   2808   while (*format)
   2809     {
   2810       switch (*format++)
   2811 	{
   2812 	case '\''s'\'': // string
   2813 	  str = va_arg (args_copy, const char *);
   2814 	  break;
   2815 	case '\''d'\'': // int
   2816 	  number = va_arg (args_copy, int);
   2817 	  break;
   2818 	case '\''f'\'': // float
   2819 	  fnumber = va_arg (args_copy, double);
   2820 	  break;
   2821 	default:
   2822 	  break;
   2823 	}
   2824     }
   2825   va_end (args_copy);
   2826   va_end (args);
   2827 
   2828   return *str && number && fnumber;
   2829 }
   2830 '
   2831 
   2832 # Test code for whether the C compiler supports C99 (body of main).
   2833 ac_c_conftest_c99_main='
   2834   // Check bool.
   2835   _Bool success = false;
   2836   success |= (argc != 0);
   2837 
   2838   // Check restrict.
   2839   if (test_restrict ("String literal") == 0)
   2840     success = true;
   2841   const char *restrict newvar = "Another string";
   2842 
   2843   // Check varargs.
   2844   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2845   test_varargs_macros ();
   2846 
   2847   // Check flexible array members.
   2848   static struct incomplete_array *volatile incomplete_array_pointer;
   2849   struct incomplete_array *ia = incomplete_array_pointer;
   2850   ia->datasize = 10;
   2851   for (int i = 0; i < ia->datasize; ++i)
   2852     ia->data[i] = i * 1.234;
   2853   // Work around memory leak warnings.
   2854   free (ia);
   2855 
   2856   // Check named initializers.
   2857   struct named_init ni = {
   2858     .number = 34,
   2859     .name = L"Test wide string",
   2860     .average = 543.34343,
   2861   };
   2862 
   2863   ni.number = 58;
   2864 
   2865   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2866   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2867 
   2868   // work around unused variable warnings
   2869   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2870 	 || ni.number != 58);
   2871 '
   2872 
   2873 # Test code for whether the C compiler supports C11 (global declarations)
   2874 ac_c_conftest_c11_globals='
   2875 /* Does the compiler advertise C11 conformance? */
   2876 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2877 # error "Compiler does not advertise C11 conformance"
   2878 #endif
   2879 
   2880 // Check _Alignas.
   2881 char _Alignas (double) aligned_as_double;
   2882 char _Alignas (0) no_special_alignment;
   2883 extern char aligned_as_int;
   2884 char _Alignas (0) _Alignas (int) aligned_as_int;
   2885 
   2886 // Check _Alignof.
   2887 enum
   2888 {
   2889   int_alignment = _Alignof (int),
   2890   int_array_alignment = _Alignof (int[100]),
   2891   char_alignment = _Alignof (char)
   2892 };
   2893 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2894 
   2895 // Check _Noreturn.
   2896 int _Noreturn does_not_return (void) { for (;;) continue; }
   2897 
   2898 // Check _Static_assert.
   2899 struct test_static_assert
   2900 {
   2901   int x;
   2902   _Static_assert (sizeof (int) <= sizeof (long int),
   2903                   "_Static_assert does not work in struct");
   2904   long int y;
   2905 };
   2906 
   2907 // Check UTF-8 literals.
   2908 #define u8 syntax error!
   2909 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2910 
   2911 // Check duplicate typedefs.
   2912 typedef long *long_ptr;
   2913 typedef long int *long_ptr;
   2914 typedef long_ptr long_ptr;
   2915 
   2916 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2917 struct anonymous
   2918 {
   2919   union {
   2920     struct { int i; int j; };
   2921     struct { int k; long int l; } w;
   2922   };
   2923   int m;
   2924 } v1;
   2925 '
   2926 
   2927 # Test code for whether the C compiler supports C11 (body of main).
   2928 ac_c_conftest_c11_main='
   2929   _Static_assert ((offsetof (struct anonymous, i)
   2930 		   == offsetof (struct anonymous, w.k)),
   2931 		  "Anonymous union alignment botch");
   2932   v1.i = 2;
   2933   v1.w.k = 5;
   2934   ok |= v1.i != 5;
   2935 '
   2936 
   2937 # Test code for whether the C compiler supports C11 (complete).
   2938 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2939 ${ac_c_conftest_c99_globals}
   2940 ${ac_c_conftest_c11_globals}
   2941 
   2942 int
   2943 main (int argc, char **argv)
   2944 {
   2945   int ok = 0;
   2946   ${ac_c_conftest_c89_main}
   2947   ${ac_c_conftest_c99_main}
   2948   ${ac_c_conftest_c11_main}
   2949   return ok;
   2950 }
   2951 "
   2952 
   2953 # Test code for whether the C compiler supports C99 (complete).
   2954 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2955 ${ac_c_conftest_c99_globals}
   2956 
   2957 int
   2958 main (int argc, char **argv)
   2959 {
   2960   int ok = 0;
   2961   ${ac_c_conftest_c89_main}
   2962   ${ac_c_conftest_c99_main}
   2963   return ok;
   2964 }
   2965 "
   2966 
   2967 # Test code for whether the C compiler supports C89 (complete).
   2968 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2969 
   2970 int
   2971 main (int argc, char **argv)
   2972 {
   2973   int ok = 0;
   2974   ${ac_c_conftest_c89_main}
   2975   return ok;
   2976 }
   2977 "
   2978 
   2979 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2980 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2981 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2982 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2983 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2984 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2985 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2986 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2987 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2988 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2989 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2990 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2991 
   2992 # Auxiliary files required by this configure script.
   2993 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2994 
   2995 # Locations in which to look for auxiliary files.
   2996 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2997 
   2998 # Search for a directory containing all of the required auxiliary files,
   2999 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3000 # If we don't find one directory that contains all the files we need,
   3001 # we report the set of missing files from the *first* directory in
   3002 # $ac_aux_dir_candidates and give up.
   3003 ac_missing_aux_files=""
   3004 ac_first_candidate=:
   3005 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 as_found=false
   3008 for as_dir in $ac_aux_dir_candidates
   3009 do
   3010   IFS=$as_save_IFS
   3011   case $as_dir in #(((
   3012     '') as_dir=./ ;;
   3013     */) ;;
   3014     *) as_dir=$as_dir/ ;;
   3015   esac
   3016   as_found=:
   3017 
   3018   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3019   ac_aux_dir_found=yes
   3020   ac_install_sh=
   3021   for ac_aux in $ac_aux_files
   3022   do
   3023     # As a special case, if "install-sh" is required, that requirement
   3024     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3025     # and $ac_install_sh is set appropriately for whichever one is found.
   3026     if test x"$ac_aux" = x"install-sh"
   3027     then
   3028       if test -f "${as_dir}install-sh"; then
   3029         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3030         ac_install_sh="${as_dir}install-sh -c"
   3031       elif test -f "${as_dir}install.sh"; then
   3032         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3033         ac_install_sh="${as_dir}install.sh -c"
   3034       elif test -f "${as_dir}shtool"; then
   3035         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3036         ac_install_sh="${as_dir}shtool install -c"
   3037       else
   3038         ac_aux_dir_found=no
   3039         if $ac_first_candidate; then
   3040           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3041         else
   3042           break
   3043         fi
   3044       fi
   3045     else
   3046       if test -f "${as_dir}${ac_aux}"; then
   3047         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3048       else
   3049         ac_aux_dir_found=no
   3050         if $ac_first_candidate; then
   3051           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3052         else
   3053           break
   3054         fi
   3055       fi
   3056     fi
   3057   done
   3058   if test "$ac_aux_dir_found" = yes; then
   3059     ac_aux_dir="$as_dir"
   3060     break
   3061   fi
   3062   ac_first_candidate=false
   3063 
   3064   as_found=false
   3065 done
   3066 IFS=$as_save_IFS
   3067 if $as_found
   3068 then :
   3069 
   3070 else case e in #(
   3071   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   3072 esac
   3073 fi
   3074 
   3075 
   3076 # These three variables are undocumented and unsupported,
   3077 # and are intended to be withdrawn in a future Autoconf release.
   3078 # They can cause serious problems if a builder's source tree is in a directory
   3079 # whose full name contains unusual characters.
   3080 if test -f "${ac_aux_dir}config.guess"; then
   3081   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3082 fi
   3083 if test -f "${ac_aux_dir}config.sub"; then
   3084   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3085 fi
   3086 if test -f "$ac_aux_dir/configure"; then
   3087   ac_configure="$SHELL ${ac_aux_dir}configure"
   3088 fi
   3089 
   3090 # Check that the precious variables saved in the cache have kept the same
   3091 # value.
   3092 ac_cache_corrupted=false
   3093 for ac_var in $ac_precious_vars; do
   3094   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3095   eval ac_new_set=\$ac_env_${ac_var}_set
   3096   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3097   eval ac_new_val=\$ac_env_${ac_var}_value
   3098   case $ac_old_set,$ac_new_set in
   3099     set,)
   3100       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   3101 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3102       ac_cache_corrupted=: ;;
   3103     ,set)
   3104       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3105 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3106       ac_cache_corrupted=: ;;
   3107     ,);;
   3108     *)
   3109       if test "x$ac_old_val" != "x$ac_new_val"; then
   3110 	# differences in whitespace do not lead to failure.
   3111 	ac_old_val_w=
   3112 	for ac_val in x $ac_old_val; do
   3113 	  ac_old_val_w="$ac_old_val_w $ac_val"
   3114 	done
   3115 	ac_new_val_w=
   3116 	for ac_val in x $ac_new_val; do
   3117 	  ac_new_val_w="$ac_new_val_w $ac_val"
   3118 	done
   3119 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3120 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3121 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3122 	  ac_cache_corrupted=:
   3123 	else
   3124 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3125 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3126 	  eval $ac_var=\$ac_old_val
   3127 	fi
   3128 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3129 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   3130 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3131 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   3132       fi;;
   3133   esac
   3134   # Pass precious variables to config.status.
   3135   if test "$ac_new_set" = set; then
   3136     case $ac_new_val in
   3137     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3138     *) ac_arg=$ac_var=$ac_new_val ;;
   3139     esac
   3140     case " $ac_configure_args " in
   3141       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3142       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3143     esac
   3144   fi
   3145 done
   3146 if $ac_cache_corrupted; then
   3147   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3148 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3149   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3150 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   3151   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3152 	    and start over" "$LINENO" 5
   3153 fi
   3154 ## -------------------- ##
   3155 ## Main body of script. ##
   3156 ## -------------------- ##
   3157 
   3158 
   3159 # Determine whether it's possible to make 'echo' print without a newline.
   3160 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   3161 # for compatibility with existing Makefiles.
   3162 ECHO_C= ECHO_N= ECHO_T=
   3163 case `echo -n x` in #(((((
   3164 -n*)
   3165   case `echo 'xy\c'` in
   3166   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   3167   xy)  ECHO_C='\c';;
   3168   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   3169        ECHO_T='	';;
   3170   esac;;
   3171 *)
   3172   ECHO_N='-n';;
   3173 esac
   3174 
   3175 ac_ext=c
   3176 ac_cpp='$CPP $CPPFLAGS'
   3177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3180 
   3181 
   3182 
   3183 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3184 
   3185 
   3186 
   3187 
   3188 
   3189   # Make sure we can run config.sub.
   3190 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3191   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3192 
   3193 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3194 printf %s "checking build system type... " >&6; }
   3195 if test ${ac_cv_build+y}
   3196 then :
   3197   printf %s "(cached) " >&6
   3198 else case e in #(
   3199   e) ac_build_alias=$build_alias
   3200 test "x$ac_build_alias" = x &&
   3201   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3202 test "x$ac_build_alias" = x &&
   3203   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3204 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3205   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3206  ;;
   3207 esac
   3208 fi
   3209 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3210 printf '%s\n' "$ac_cv_build" >&6; }
   3211 case $ac_cv_build in
   3212 *-*-*) ;;
   3213 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3214 esac
   3215 build=$ac_cv_build
   3216 ac_save_IFS=$IFS; IFS='-'
   3217 set x $ac_cv_build
   3218 shift
   3219 build_cpu=$1
   3220 build_vendor=$2
   3221 shift; shift
   3222 # Remember, the first character of IFS is used to create $*,
   3223 # except with old shells:
   3224 build_os=$*
   3225 IFS=$ac_save_IFS
   3226 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   3227 
   3228 
   3229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3230 printf %s "checking host system type... " >&6; }
   3231 if test ${ac_cv_host+y}
   3232 then :
   3233   printf %s "(cached) " >&6
   3234 else case e in #(
   3235   e) if test "x$host_alias" = x; then
   3236   ac_cv_host=$ac_cv_build
   3237 else
   3238   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3239     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3240 fi
   3241  ;;
   3242 esac
   3243 fi
   3244 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3245 printf '%s\n' "$ac_cv_host" >&6; }
   3246 case $ac_cv_host in
   3247 *-*-*) ;;
   3248 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3249 esac
   3250 host=$ac_cv_host
   3251 ac_save_IFS=$IFS; IFS='-'
   3252 set x $ac_cv_host
   3253 shift
   3254 host_cpu=$1
   3255 host_vendor=$2
   3256 shift; shift
   3257 # Remember, the first character of IFS is used to create $*,
   3258 # except with old shells:
   3259 host_os=$*
   3260 IFS=$ac_save_IFS
   3261 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   3262 
   3263 
   3264 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3265 # Must be called before any macros that run the compiler (like LT_INIT)
   3266 # to avoid autoconf errors.
   3267 
   3268 
   3269 
   3270 
   3271 
   3272 
   3273 
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 # Expand $ac_aux_dir to an absolute path.
   3281 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3282 
   3283 ac_ext=c
   3284 ac_cpp='$CPP $CPPFLAGS'
   3285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3288 if test -n "$ac_tool_prefix"; then
   3289   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3290 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3292 printf %s "checking for $ac_word... " >&6; }
   3293 if test ${ac_cv_prog_CC+y}
   3294 then :
   3295   printf %s "(cached) " >&6
   3296 else case e in #(
   3297   e) if test -n "$CC"; then
   3298   ac_cv_prog_CC="$CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   case $as_dir in #(((
   3305     '') as_dir=./ ;;
   3306     */) ;;
   3307     *) as_dir=$as_dir/ ;;
   3308   esac
   3309     for ac_exec_ext in '' $ac_executable_extensions; do
   3310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3311     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3312     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3313     break 2
   3314   fi
   3315 done
   3316   done
   3317 IFS=$as_save_IFS
   3318 
   3319 fi ;;
   3320 esac
   3321 fi
   3322 CC=$ac_cv_prog_CC
   3323 if test -n "$CC"; then
   3324   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3325 printf '%s\n' "$CC" >&6; }
   3326 else
   3327   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3328 printf '%s\n' "no" >&6; }
   3329 fi
   3330 
   3331 
   3332 fi
   3333 if test -z "$ac_cv_prog_CC"; then
   3334   ac_ct_CC=$CC
   3335   # Extract the first word of "gcc", so it can be a program name with args.
   3336 set dummy gcc; ac_word=$2
   3337 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3338 printf %s "checking for $ac_word... " >&6; }
   3339 if test ${ac_cv_prog_ac_ct_CC+y}
   3340 then :
   3341   printf %s "(cached) " >&6
   3342 else case e in #(
   3343   e) if test -n "$ac_ct_CC"; then
   3344   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3345 else
   3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3347 for as_dir in $PATH
   3348 do
   3349   IFS=$as_save_IFS
   3350   case $as_dir in #(((
   3351     '') as_dir=./ ;;
   3352     */) ;;
   3353     *) as_dir=$as_dir/ ;;
   3354   esac
   3355     for ac_exec_ext in '' $ac_executable_extensions; do
   3356   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3357     ac_cv_prog_ac_ct_CC="gcc"
   3358     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3359     break 2
   3360   fi
   3361 done
   3362   done
   3363 IFS=$as_save_IFS
   3364 
   3365 fi ;;
   3366 esac
   3367 fi
   3368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3369 if test -n "$ac_ct_CC"; then
   3370   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3371 printf '%s\n' "$ac_ct_CC" >&6; }
   3372 else
   3373   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3374 printf '%s\n' "no" >&6; }
   3375 fi
   3376 
   3377   if test "x$ac_ct_CC" = x; then
   3378     CC=""
   3379   else
   3380     case $cross_compiling:$ac_tool_warned in
   3381 yes:)
   3382 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3383 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3384 ac_tool_warned=yes ;;
   3385 esac
   3386     CC=$ac_ct_CC
   3387   fi
   3388 else
   3389   CC="$ac_cv_prog_CC"
   3390 fi
   3391 
   3392 if test -z "$CC"; then
   3393           if test -n "$ac_tool_prefix"; then
   3394     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3395 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3397 printf %s "checking for $ac_word... " >&6; }
   3398 if test ${ac_cv_prog_CC+y}
   3399 then :
   3400   printf %s "(cached) " >&6
   3401 else case e in #(
   3402   e) if test -n "$CC"; then
   3403   ac_cv_prog_CC="$CC" # Let the user override the test.
   3404 else
   3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3406 for as_dir in $PATH
   3407 do
   3408   IFS=$as_save_IFS
   3409   case $as_dir in #(((
   3410     '') as_dir=./ ;;
   3411     */) ;;
   3412     *) as_dir=$as_dir/ ;;
   3413   esac
   3414     for ac_exec_ext in '' $ac_executable_extensions; do
   3415   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3416     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3417     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3418     break 2
   3419   fi
   3420 done
   3421   done
   3422 IFS=$as_save_IFS
   3423 
   3424 fi ;;
   3425 esac
   3426 fi
   3427 CC=$ac_cv_prog_CC
   3428 if test -n "$CC"; then
   3429   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3430 printf '%s\n' "$CC" >&6; }
   3431 else
   3432   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3433 printf '%s\n' "no" >&6; }
   3434 fi
   3435 
   3436 
   3437   fi
   3438 fi
   3439 if test -z "$CC"; then
   3440   # Extract the first word of "cc", so it can be a program name with args.
   3441 set dummy cc; ac_word=$2
   3442 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3443 printf %s "checking for $ac_word... " >&6; }
   3444 if test ${ac_cv_prog_CC+y}
   3445 then :
   3446   printf %s "(cached) " >&6
   3447 else case e in #(
   3448   e) if test -n "$CC"; then
   3449   ac_cv_prog_CC="$CC" # Let the user override the test.
   3450 else
   3451   ac_prog_rejected=no
   3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3453 for as_dir in $PATH
   3454 do
   3455   IFS=$as_save_IFS
   3456   case $as_dir in #(((
   3457     '') as_dir=./ ;;
   3458     */) ;;
   3459     *) as_dir=$as_dir/ ;;
   3460   esac
   3461     for ac_exec_ext in '' $ac_executable_extensions; do
   3462   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3463     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3464        ac_prog_rejected=yes
   3465        continue
   3466      fi
   3467     ac_cv_prog_CC="cc"
   3468     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3469     break 2
   3470   fi
   3471 done
   3472   done
   3473 IFS=$as_save_IFS
   3474 
   3475 if test $ac_prog_rejected = yes; then
   3476   # We found a bogon in the path, so make sure we never use it.
   3477   set dummy $ac_cv_prog_CC
   3478   shift
   3479   if test $# != 0; then
   3480     # We chose a different compiler from the bogus one.
   3481     # However, it has the same basename, so the bogon will be chosen
   3482     # first if we set CC to just the basename; use the full file name.
   3483     shift
   3484     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3485   fi
   3486 fi
   3487 fi ;;
   3488 esac
   3489 fi
   3490 CC=$ac_cv_prog_CC
   3491 if test -n "$CC"; then
   3492   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3493 printf '%s\n' "$CC" >&6; }
   3494 else
   3495   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3496 printf '%s\n' "no" >&6; }
   3497 fi
   3498 
   3499 
   3500 fi
   3501 if test -z "$CC"; then
   3502   if test -n "$ac_tool_prefix"; then
   3503   for ac_prog in cl.exe
   3504   do
   3505     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3507 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3508 printf %s "checking for $ac_word... " >&6; }
   3509 if test ${ac_cv_prog_CC+y}
   3510 then :
   3511   printf %s "(cached) " >&6
   3512 else case e in #(
   3513   e) if test -n "$CC"; then
   3514   ac_cv_prog_CC="$CC" # Let the user override the test.
   3515 else
   3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3517 for as_dir in $PATH
   3518 do
   3519   IFS=$as_save_IFS
   3520   case $as_dir in #(((
   3521     '') as_dir=./ ;;
   3522     */) ;;
   3523     *) as_dir=$as_dir/ ;;
   3524   esac
   3525     for ac_exec_ext in '' $ac_executable_extensions; do
   3526   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3527     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3528     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3529     break 2
   3530   fi
   3531 done
   3532   done
   3533 IFS=$as_save_IFS
   3534 
   3535 fi ;;
   3536 esac
   3537 fi
   3538 CC=$ac_cv_prog_CC
   3539 if test -n "$CC"; then
   3540   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3541 printf '%s\n' "$CC" >&6; }
   3542 else
   3543   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3544 printf '%s\n' "no" >&6; }
   3545 fi
   3546 
   3547 
   3548     test -n "$CC" && break
   3549   done
   3550 fi
   3551 if test -z "$CC"; then
   3552   ac_ct_CC=$CC
   3553   for ac_prog in cl.exe
   3554 do
   3555   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3556 set dummy $ac_prog; ac_word=$2
   3557 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3558 printf %s "checking for $ac_word... " >&6; }
   3559 if test ${ac_cv_prog_ac_ct_CC+y}
   3560 then :
   3561   printf %s "(cached) " >&6
   3562 else case e in #(
   3563   e) if test -n "$ac_ct_CC"; then
   3564   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3565 else
   3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3567 for as_dir in $PATH
   3568 do
   3569   IFS=$as_save_IFS
   3570   case $as_dir in #(((
   3571     '') as_dir=./ ;;
   3572     */) ;;
   3573     *) as_dir=$as_dir/ ;;
   3574   esac
   3575     for ac_exec_ext in '' $ac_executable_extensions; do
   3576   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3577     ac_cv_prog_ac_ct_CC="$ac_prog"
   3578     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3579     break 2
   3580   fi
   3581 done
   3582   done
   3583 IFS=$as_save_IFS
   3584 
   3585 fi ;;
   3586 esac
   3587 fi
   3588 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3589 if test -n "$ac_ct_CC"; then
   3590   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3591 printf '%s\n' "$ac_ct_CC" >&6; }
   3592 else
   3593   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3594 printf '%s\n' "no" >&6; }
   3595 fi
   3596 
   3597 
   3598   test -n "$ac_ct_CC" && break
   3599 done
   3600 
   3601   if test "x$ac_ct_CC" = x; then
   3602     CC=""
   3603   else
   3604     case $cross_compiling:$ac_tool_warned in
   3605 yes:)
   3606 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3607 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3608 ac_tool_warned=yes ;;
   3609 esac
   3610     CC=$ac_ct_CC
   3611   fi
   3612 fi
   3613 
   3614 fi
   3615 if test -z "$CC"; then
   3616   if test -n "$ac_tool_prefix"; then
   3617   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3618 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3619 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3620 printf %s "checking for $ac_word... " >&6; }
   3621 if test ${ac_cv_prog_CC+y}
   3622 then :
   3623   printf %s "(cached) " >&6
   3624 else case e in #(
   3625   e) if test -n "$CC"; then
   3626   ac_cv_prog_CC="$CC" # Let the user override the test.
   3627 else
   3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3629 for as_dir in $PATH
   3630 do
   3631   IFS=$as_save_IFS
   3632   case $as_dir in #(((
   3633     '') as_dir=./ ;;
   3634     */) ;;
   3635     *) as_dir=$as_dir/ ;;
   3636   esac
   3637     for ac_exec_ext in '' $ac_executable_extensions; do
   3638   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3639     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3640     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3641     break 2
   3642   fi
   3643 done
   3644   done
   3645 IFS=$as_save_IFS
   3646 
   3647 fi ;;
   3648 esac
   3649 fi
   3650 CC=$ac_cv_prog_CC
   3651 if test -n "$CC"; then
   3652   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3653 printf '%s\n' "$CC" >&6; }
   3654 else
   3655   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3656 printf '%s\n' "no" >&6; }
   3657 fi
   3658 
   3659 
   3660 fi
   3661 if test -z "$ac_cv_prog_CC"; then
   3662   ac_ct_CC=$CC
   3663   # Extract the first word of "clang", so it can be a program name with args.
   3664 set dummy clang; ac_word=$2
   3665 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3666 printf %s "checking for $ac_word... " >&6; }
   3667 if test ${ac_cv_prog_ac_ct_CC+y}
   3668 then :
   3669   printf %s "(cached) " >&6
   3670 else case e in #(
   3671   e) if test -n "$ac_ct_CC"; then
   3672   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3673 else
   3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3675 for as_dir in $PATH
   3676 do
   3677   IFS=$as_save_IFS
   3678   case $as_dir in #(((
   3679     '') as_dir=./ ;;
   3680     */) ;;
   3681     *) as_dir=$as_dir/ ;;
   3682   esac
   3683     for ac_exec_ext in '' $ac_executable_extensions; do
   3684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3685     ac_cv_prog_ac_ct_CC="clang"
   3686     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3687     break 2
   3688   fi
   3689 done
   3690   done
   3691 IFS=$as_save_IFS
   3692 
   3693 fi ;;
   3694 esac
   3695 fi
   3696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3697 if test -n "$ac_ct_CC"; then
   3698   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3699 printf '%s\n' "$ac_ct_CC" >&6; }
   3700 else
   3701   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3702 printf '%s\n' "no" >&6; }
   3703 fi
   3704 
   3705   if test "x$ac_ct_CC" = x; then
   3706     CC=""
   3707   else
   3708     case $cross_compiling:$ac_tool_warned in
   3709 yes:)
   3710 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3711 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3712 ac_tool_warned=yes ;;
   3713 esac
   3714     CC=$ac_ct_CC
   3715   fi
   3716 else
   3717   CC="$ac_cv_prog_CC"
   3718 fi
   3719 
   3720 fi
   3721 
   3722 
   3723 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3724 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3725 as_fn_error $? "no acceptable C compiler found in \$PATH
   3726 See 'config.log' for more details" "$LINENO" 5; }
   3727 
   3728 # Provide some information about the compiler.
   3729 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3730 set X $ac_compile
   3731 ac_compiler=$2
   3732 for ac_option in --version -v -V -qversion -version; do
   3733   { { ac_try="$ac_compiler $ac_option >&5"
   3734 case "(($ac_try" in
   3735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3736   *) ac_try_echo=$ac_try;;
   3737 esac
   3738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3739 printf '%s\n' "$ac_try_echo"; } >&5
   3740   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3741   ac_status=$?
   3742   if test -s conftest.err; then
   3743     sed '10a\
   3744 ... rest of stderr output deleted ...
   3745          10q' conftest.err >conftest.er1
   3746     cat conftest.er1 >&5
   3747   fi
   3748   rm -f conftest.er1 conftest.err
   3749   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3750   test $ac_status = 0; }
   3751 done
   3752 
   3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3754 /* end confdefs.h.  */
   3755 
   3756 int
   3757 main (void)
   3758 {
   3759 
   3760   ;
   3761   return 0;
   3762 }
   3763 _ACEOF
   3764 ac_clean_files_save=$ac_clean_files
   3765 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3766 # Try to create an executable without -o first, disregard a.out.
   3767 # It will help us diagnose broken compilers, and finding out an intuition
   3768 # of exeext.
   3769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3770 printf %s "checking whether the C compiler works... " >&6; }
   3771 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3772 
   3773 # The possible output files:
   3774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3775 
   3776 ac_rmfiles=
   3777 for ac_file in $ac_files
   3778 do
   3779   case $ac_file in
   3780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3781     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3782   esac
   3783 done
   3784 rm -f $ac_rmfiles
   3785 
   3786 if { { ac_try="$ac_link_default"
   3787 case "(($ac_try" in
   3788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3789   *) ac_try_echo=$ac_try;;
   3790 esac
   3791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3792 printf '%s\n' "$ac_try_echo"; } >&5
   3793   (eval "$ac_link_default") 2>&5
   3794   ac_status=$?
   3795   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3796   test $ac_status = 0; }
   3797 then :
   3798   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3799 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3800 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3801 # so that the user can short-circuit this test for compilers unknown to
   3802 # Autoconf.
   3803 for ac_file in $ac_files ''
   3804 do
   3805   test -f "$ac_file" || continue
   3806   case $ac_file in
   3807     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3808 	;;
   3809     [ab].out )
   3810 	# We found the default executable, but exeext='' is most
   3811 	# certainly right.
   3812 	break;;
   3813     *.* )
   3814 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3815 	then :; else
   3816 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3817 	fi
   3818 	# We set ac_cv_exeext here because the later test for it is not
   3819 	# safe: cross compilers may not add the suffix if given an '-o'
   3820 	# argument, so we may need to know it at that point already.
   3821 	# Even if this section looks crufty: it has the advantage of
   3822 	# actually working.
   3823 	break;;
   3824     * )
   3825 	break;;
   3826   esac
   3827 done
   3828 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3829 
   3830 else case e in #(
   3831   e) ac_file='' ;;
   3832 esac
   3833 fi
   3834 if test -z "$ac_file"
   3835 then :
   3836   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3837 printf '%s\n' "no" >&6; }
   3838 printf '%s\n' "$as_me: failed program was:" >&5
   3839 sed 's/^/| /' conftest.$ac_ext >&5
   3840 
   3841 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3842 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3843 as_fn_error 77 "C compiler cannot create executables
   3844 See 'config.log' for more details" "$LINENO" 5; }
   3845 else case e in #(
   3846   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3847 printf '%s\n' "yes" >&6; } ;;
   3848 esac
   3849 fi
   3850 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3851 printf %s "checking for C compiler default output file name... " >&6; }
   3852 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3853 printf '%s\n' "$ac_file" >&6; }
   3854 ac_exeext=$ac_cv_exeext
   3855 
   3856 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3857 ac_clean_files=$ac_clean_files_save
   3858 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3859 printf %s "checking for suffix of executables... " >&6; }
   3860 if { { ac_try="$ac_link"
   3861 case "(($ac_try" in
   3862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3863   *) ac_try_echo=$ac_try;;
   3864 esac
   3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3866 printf '%s\n' "$ac_try_echo"; } >&5
   3867   (eval "$ac_link") 2>&5
   3868   ac_status=$?
   3869   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3870   test $ac_status = 0; }
   3871 then :
   3872   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3873 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3874 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3875 # 'rm'.
   3876 for ac_file in conftest.exe conftest conftest.*; do
   3877   test -f "$ac_file" || continue
   3878   case $ac_file in
   3879     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3880     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3881 	  break;;
   3882     * ) break;;
   3883   esac
   3884 done
   3885 else case e in #(
   3886   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3887 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3888 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3889 See 'config.log' for more details" "$LINENO" 5; } ;;
   3890 esac
   3891 fi
   3892 rm -f conftest conftest$ac_cv_exeext
   3893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3894 printf '%s\n' "$ac_cv_exeext" >&6; }
   3895 
   3896 rm -f conftest.$ac_ext
   3897 EXEEXT=$ac_cv_exeext
   3898 ac_exeext=$EXEEXT
   3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3900 /* end confdefs.h.  */
   3901 #include <stdio.h>
   3902 int
   3903 main (void)
   3904 {
   3905 FILE *f = fopen ("conftest.out", "w");
   3906  if (!f)
   3907   return 1;
   3908  return ferror (f) || fclose (f) != 0;
   3909 
   3910   ;
   3911   return 0;
   3912 }
   3913 _ACEOF
   3914 ac_clean_files="$ac_clean_files conftest.out"
   3915 # Check that the compiler produces executables we can run.  If not, either
   3916 # the compiler is broken, or we cross compile.
   3917 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3918 printf %s "checking whether we are cross compiling... " >&6; }
   3919 if test "$cross_compiling" != yes; then
   3920   { { ac_try="$ac_link"
   3921 case "(($ac_try" in
   3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3923   *) ac_try_echo=$ac_try;;
   3924 esac
   3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3926 printf '%s\n' "$ac_try_echo"; } >&5
   3927   (eval "$ac_link") 2>&5
   3928   ac_status=$?
   3929   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3930   test $ac_status = 0; }
   3931   if { ac_try='./conftest$ac_cv_exeext'
   3932   { { case "(($ac_try" in
   3933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3934   *) ac_try_echo=$ac_try;;
   3935 esac
   3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3937 printf '%s\n' "$ac_try_echo"; } >&5
   3938   (eval "$ac_try") 2>&5
   3939   ac_status=$?
   3940   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3941   test $ac_status = 0; }; }; then
   3942     cross_compiling=no
   3943   else
   3944     if test "$cross_compiling" = maybe; then
   3945 	cross_compiling=yes
   3946     else
   3947 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3948 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3949 as_fn_error 77 "cannot run C compiled programs.
   3950 If you meant to cross compile, use '--host'.
   3951 See 'config.log' for more details" "$LINENO" 5; }
   3952     fi
   3953   fi
   3954 fi
   3955 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3956 printf '%s\n' "$cross_compiling" >&6; }
   3957 
   3958 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3959   conftest.o conftest.obj conftest.out
   3960 ac_clean_files=$ac_clean_files_save
   3961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3962 printf %s "checking for suffix of object files... " >&6; }
   3963 if test ${ac_cv_objext+y}
   3964 then :
   3965   printf %s "(cached) " >&6
   3966 else case e in #(
   3967   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3968 /* end confdefs.h.  */
   3969 
   3970 int
   3971 main (void)
   3972 {
   3973 
   3974   ;
   3975   return 0;
   3976 }
   3977 _ACEOF
   3978 rm -f conftest.o conftest.obj
   3979 if { { ac_try="$ac_compile"
   3980 case "(($ac_try" in
   3981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3982   *) ac_try_echo=$ac_try;;
   3983 esac
   3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3985 printf '%s\n' "$ac_try_echo"; } >&5
   3986   (eval "$ac_compile") 2>&5
   3987   ac_status=$?
   3988   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3989   test $ac_status = 0; }
   3990 then :
   3991   for ac_file in conftest.o conftest.obj conftest.*; do
   3992   test -f "$ac_file" || continue;
   3993   case $ac_file in
   3994     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3995     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3996        break;;
   3997   esac
   3998 done
   3999 else case e in #(
   4000   e) printf '%s\n' "$as_me: failed program was:" >&5
   4001 sed 's/^/| /' conftest.$ac_ext >&5
   4002 
   4003 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4004 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4005 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4006 See 'config.log' for more details" "$LINENO" 5; } ;;
   4007 esac
   4008 fi
   4009 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4010 esac
   4011 fi
   4012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4013 printf '%s\n' "$ac_cv_objext" >&6; }
   4014 OBJEXT=$ac_cv_objext
   4015 ac_objext=$OBJEXT
   4016 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4017 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4018 if test ${ac_cv_c_compiler_gnu+y}
   4019 then :
   4020   printf %s "(cached) " >&6
   4021 else case e in #(
   4022   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 
   4025 int
   4026 main (void)
   4027 {
   4028 #ifndef __GNUC__
   4029        choke me
   4030 #endif
   4031 
   4032   ;
   4033   return 0;
   4034 }
   4035 _ACEOF
   4036 if ac_fn_c_try_compile "$LINENO"
   4037 then :
   4038   ac_compiler_gnu=yes
   4039 else case e in #(
   4040   e) ac_compiler_gnu=no ;;
   4041 esac
   4042 fi
   4043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4044 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4045  ;;
   4046 esac
   4047 fi
   4048 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4049 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4051 
   4052 if test $ac_compiler_gnu = yes; then
   4053   GCC=yes
   4054 else
   4055   GCC=
   4056 fi
   4057 ac_test_CFLAGS=${CFLAGS+y}
   4058 ac_save_CFLAGS=$CFLAGS
   4059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4060 printf %s "checking whether $CC accepts -g... " >&6; }
   4061 if test ${ac_cv_prog_cc_g+y}
   4062 then :
   4063   printf %s "(cached) " >&6
   4064 else case e in #(
   4065   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4066    ac_c_werror_flag=yes
   4067    ac_cv_prog_cc_g=no
   4068    CFLAGS="-g"
   4069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4070 /* end confdefs.h.  */
   4071 
   4072 int
   4073 main (void)
   4074 {
   4075 
   4076   ;
   4077   return 0;
   4078 }
   4079 _ACEOF
   4080 if ac_fn_c_try_compile "$LINENO"
   4081 then :
   4082   ac_cv_prog_cc_g=yes
   4083 else case e in #(
   4084   e) CFLAGS=""
   4085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4086 /* end confdefs.h.  */
   4087 
   4088 int
   4089 main (void)
   4090 {
   4091 
   4092   ;
   4093   return 0;
   4094 }
   4095 _ACEOF
   4096 if ac_fn_c_try_compile "$LINENO"
   4097 then :
   4098 
   4099 else case e in #(
   4100   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4101 	 CFLAGS="-g"
   4102 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4103 /* end confdefs.h.  */
   4104 
   4105 int
   4106 main (void)
   4107 {
   4108 
   4109   ;
   4110   return 0;
   4111 }
   4112 _ACEOF
   4113 if ac_fn_c_try_compile "$LINENO"
   4114 then :
   4115   ac_cv_prog_cc_g=yes
   4116 fi
   4117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4118 esac
   4119 fi
   4120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4121 esac
   4122 fi
   4123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4124    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4125 esac
   4126 fi
   4127 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4128 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4129 if test $ac_test_CFLAGS; then
   4130   CFLAGS=$ac_save_CFLAGS
   4131 elif test $ac_cv_prog_cc_g = yes; then
   4132   if test "$GCC" = yes; then
   4133     CFLAGS="-g -O2"
   4134   else
   4135     CFLAGS="-g"
   4136   fi
   4137 else
   4138   if test "$GCC" = yes; then
   4139     CFLAGS="-O2"
   4140   else
   4141     CFLAGS=
   4142   fi
   4143 fi
   4144 ac_prog_cc_stdc=no
   4145 if test x$ac_prog_cc_stdc = xno
   4146 then :
   4147   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4148 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4149 if test ${ac_cv_prog_cc_c23+y}
   4150 then :
   4151   printf %s "(cached) " >&6
   4152 else case e in #(
   4153   e) ac_cv_prog_cc_c23=no
   4154 ac_save_CC=$CC
   4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4156 /* end confdefs.h.  */
   4157 $ac_c_conftest_c23_program
   4158 _ACEOF
   4159 for ac_arg in '' -std=gnu23
   4160 do
   4161   CC="$ac_save_CC $ac_arg"
   4162   if ac_fn_c_try_compile "$LINENO"
   4163 then :
   4164   ac_cv_prog_cc_c23=$ac_arg
   4165 fi
   4166 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4167   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4168 done
   4169 rm -f conftest.$ac_ext
   4170 CC=$ac_save_CC ;;
   4171 esac
   4172 fi
   4173 
   4174 if test "x$ac_cv_prog_cc_c23" = xno
   4175 then :
   4176   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4177 printf '%s\n' "unsupported" >&6; }
   4178 else case e in #(
   4179   e) if test "x$ac_cv_prog_cc_c23" = x
   4180 then :
   4181   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4182 printf '%s\n' "none needed" >&6; }
   4183 else case e in #(
   4184   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4185 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4186      CC="$CC $ac_cv_prog_cc_c23" ;;
   4187 esac
   4188 fi
   4189   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4190   ac_prog_cc_stdc=c23 ;;
   4191 esac
   4192 fi
   4193 fi
   4194 if test x$ac_prog_cc_stdc = xno
   4195 then :
   4196   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4197 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4198 if test ${ac_cv_prog_cc_c11+y}
   4199 then :
   4200   printf %s "(cached) " >&6
   4201 else case e in #(
   4202   e) ac_cv_prog_cc_c11=no
   4203 ac_save_CC=$CC
   4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4205 /* end confdefs.h.  */
   4206 $ac_c_conftest_c11_program
   4207 _ACEOF
   4208 for ac_arg in '' -std=gnu11 -std:c11
   4209 do
   4210   CC="$ac_save_CC $ac_arg"
   4211   if ac_fn_c_try_compile "$LINENO"
   4212 then :
   4213   ac_cv_prog_cc_c11=$ac_arg
   4214 fi
   4215 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4216   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4217 done
   4218 rm -f conftest.$ac_ext
   4219 CC=$ac_save_CC ;;
   4220 esac
   4221 fi
   4222 
   4223 if test "x$ac_cv_prog_cc_c11" = xno
   4224 then :
   4225   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4226 printf '%s\n' "unsupported" >&6; }
   4227 else case e in #(
   4228   e) if test "x$ac_cv_prog_cc_c11" = x
   4229 then :
   4230   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4231 printf '%s\n' "none needed" >&6; }
   4232 else case e in #(
   4233   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4234 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4235      CC="$CC $ac_cv_prog_cc_c11" ;;
   4236 esac
   4237 fi
   4238   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4239   ac_prog_cc_stdc=c11 ;;
   4240 esac
   4241 fi
   4242 fi
   4243 if test x$ac_prog_cc_stdc = xno
   4244 then :
   4245   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4246 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4247 if test ${ac_cv_prog_cc_c99+y}
   4248 then :
   4249   printf %s "(cached) " >&6
   4250 else case e in #(
   4251   e) ac_cv_prog_cc_c99=no
   4252 ac_save_CC=$CC
   4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4254 /* end confdefs.h.  */
   4255 $ac_c_conftest_c99_program
   4256 _ACEOF
   4257 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4258 do
   4259   CC="$ac_save_CC $ac_arg"
   4260   if ac_fn_c_try_compile "$LINENO"
   4261 then :
   4262   ac_cv_prog_cc_c99=$ac_arg
   4263 fi
   4264 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4265   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4266 done
   4267 rm -f conftest.$ac_ext
   4268 CC=$ac_save_CC ;;
   4269 esac
   4270 fi
   4271 
   4272 if test "x$ac_cv_prog_cc_c99" = xno
   4273 then :
   4274   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4275 printf '%s\n' "unsupported" >&6; }
   4276 else case e in #(
   4277   e) if test "x$ac_cv_prog_cc_c99" = x
   4278 then :
   4279   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4280 printf '%s\n' "none needed" >&6; }
   4281 else case e in #(
   4282   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4283 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4284      CC="$CC $ac_cv_prog_cc_c99" ;;
   4285 esac
   4286 fi
   4287   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4288   ac_prog_cc_stdc=c99 ;;
   4289 esac
   4290 fi
   4291 fi
   4292 if test x$ac_prog_cc_stdc = xno
   4293 then :
   4294   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4295 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4296 if test ${ac_cv_prog_cc_c89+y}
   4297 then :
   4298   printf %s "(cached) " >&6
   4299 else case e in #(
   4300   e) ac_cv_prog_cc_c89=no
   4301 ac_save_CC=$CC
   4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4303 /* end confdefs.h.  */
   4304 $ac_c_conftest_c89_program
   4305 _ACEOF
   4306 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4307 do
   4308   CC="$ac_save_CC $ac_arg"
   4309   if ac_fn_c_try_compile "$LINENO"
   4310 then :
   4311   ac_cv_prog_cc_c89=$ac_arg
   4312 fi
   4313 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4314   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4315 done
   4316 rm -f conftest.$ac_ext
   4317 CC=$ac_save_CC ;;
   4318 esac
   4319 fi
   4320 
   4321 if test "x$ac_cv_prog_cc_c89" = xno
   4322 then :
   4323   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4324 printf '%s\n' "unsupported" >&6; }
   4325 else case e in #(
   4326   e) if test "x$ac_cv_prog_cc_c89" = x
   4327 then :
   4328   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4329 printf '%s\n' "none needed" >&6; }
   4330 else case e in #(
   4331   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4332 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4333      CC="$CC $ac_cv_prog_cc_c89" ;;
   4334 esac
   4335 fi
   4336   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4337   ac_prog_cc_stdc=c89 ;;
   4338 esac
   4339 fi
   4340 fi
   4341 
   4342 ac_ext=c
   4343 ac_cpp='$CPP $CPPFLAGS'
   4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4347 
   4348 
   4349   ac_ext=c
   4350 ac_cpp='$CPP $CPPFLAGS'
   4351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4354 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4355 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4356 if test ${am_cv_prog_cc_c_o+y}
   4357 then :
   4358   printf %s "(cached) " >&6
   4359 else case e in #(
   4360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 
   4363 int
   4364 main (void)
   4365 {
   4366 
   4367   ;
   4368   return 0;
   4369 }
   4370 _ACEOF
   4371   # Make sure it works both with $CC and with simple cc.
   4372   # Following AC_PROG_CC_C_O, we do the test twice because some
   4373   # compilers refuse to overwrite an existing .o file with -o,
   4374   # though they will create one.
   4375   am_cv_prog_cc_c_o=yes
   4376   for am_i in 1 2; do
   4377     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4378    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4379    ac_status=$?
   4380    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4381    (exit $ac_status); } \
   4382          && test -f conftest2.$ac_objext; then
   4383       : OK
   4384     else
   4385       am_cv_prog_cc_c_o=no
   4386       break
   4387     fi
   4388   done
   4389   # aligned with autoconf, so not including core; see bug#72225.
   4390   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4391     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4392     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4393   unset am_i ;;
   4394 esac
   4395 fi
   4396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4397 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4398 if test "$am_cv_prog_cc_c_o" != yes; then
   4399    # Losing compiler, so override with the script.
   4400    # FIXME: It is wrong to rewrite CC.
   4401    # But if we don't then we get into trouble of one sort or another.
   4402    # A longer-term fix would be to have automake use am__CC in this case,
   4403    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4404    CC="$am_aux_dir/compile $CC"
   4405 fi
   4406 ac_ext=c
   4407 ac_cpp='$CPP $CPPFLAGS'
   4408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4411 
   4412 
   4413 
   4414 ac_header= ac_cache=
   4415 for ac_item in $ac_header_c_list
   4416 do
   4417   if test $ac_cache; then
   4418     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4419     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4420       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   4421     fi
   4422     ac_header= ac_cache=
   4423   elif test $ac_header; then
   4424     ac_cache=$ac_item
   4425   else
   4426     ac_header=$ac_item
   4427   fi
   4428 done
   4429 
   4430 
   4431 
   4432 
   4433 
   4434 
   4435 
   4436 
   4437 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4438 then :
   4439 
   4440 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   4441 
   4442 fi
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4450 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4451 if test ${ac_cv_safe_to_define___extensions__+y}
   4452 then :
   4453   printf %s "(cached) " >&6
   4454 else case e in #(
   4455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4456 /* end confdefs.h.  */
   4457 
   4458 #         define __EXTENSIONS__ 1
   4459           $ac_includes_default
   4460 int
   4461 main (void)
   4462 {
   4463 
   4464   ;
   4465   return 0;
   4466 }
   4467 _ACEOF
   4468 if ac_fn_c_try_compile "$LINENO"
   4469 then :
   4470   ac_cv_safe_to_define___extensions__=yes
   4471 else case e in #(
   4472   e) ac_cv_safe_to_define___extensions__=no ;;
   4473 esac
   4474 fi
   4475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4476 esac
   4477 fi
   4478 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4479 printf '%s\n' "$ac_cv_safe_to_define___extensions__" >&6; }
   4480 
   4481   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4482 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4483 if test ${ac_cv_should_define__xopen_source+y}
   4484 then :
   4485   printf %s "(cached) " >&6
   4486 else case e in #(
   4487   e) ac_cv_should_define__xopen_source=no
   4488     if test $ac_cv_header_wchar_h = yes
   4489 then :
   4490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4491 /* end confdefs.h.  */
   4492 
   4493           #include <wchar.h>
   4494           mbstate_t x;
   4495 int
   4496 main (void)
   4497 {
   4498 
   4499   ;
   4500   return 0;
   4501 }
   4502 _ACEOF
   4503 if ac_fn_c_try_compile "$LINENO"
   4504 then :
   4505 
   4506 else case e in #(
   4507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4508 /* end confdefs.h.  */
   4509 
   4510             #define _XOPEN_SOURCE 500
   4511             #include <wchar.h>
   4512             mbstate_t x;
   4513 int
   4514 main (void)
   4515 {
   4516 
   4517   ;
   4518   return 0;
   4519 }
   4520 _ACEOF
   4521 if ac_fn_c_try_compile "$LINENO"
   4522 then :
   4523   ac_cv_should_define__xopen_source=yes
   4524 fi
   4525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4526 esac
   4527 fi
   4528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4529 fi ;;
   4530 esac
   4531 fi
   4532 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4533 printf '%s\n' "$ac_cv_should_define__xopen_source" >&6; }
   4534 
   4535   printf '%s\n' "#define _ALL_SOURCE 1" >>confdefs.h
   4536 
   4537   printf '%s\n' "#define _COSMO_SOURCE 1" >>confdefs.h
   4538 
   4539   printf '%s\n' "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4540 
   4541   printf '%s\n' "#define _GNU_SOURCE 1" >>confdefs.h
   4542 
   4543   printf '%s\n' "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4544 
   4545   printf '%s\n' "#define _NETBSD_SOURCE 1" >>confdefs.h
   4546 
   4547   printf '%s\n' "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4548 
   4549   printf '%s\n' "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4550 
   4551   printf '%s\n' "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4552 
   4553   printf '%s\n' "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4554 
   4555   printf '%s\n' "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4556 
   4557   printf '%s\n' "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4558 
   4559   printf '%s\n' "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4560 
   4561   printf '%s\n' "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4562 
   4563   printf '%s\n' "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4564 
   4565   printf '%s\n' "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4566 
   4567   printf '%s\n' "#define _TANDEM_SOURCE 1" >>confdefs.h
   4568 
   4569   if test $ac_cv_header_minix_config_h = yes
   4570 then :
   4571   MINIX=yes
   4572     printf '%s\n' "#define _MINIX 1" >>confdefs.h
   4573 
   4574     printf '%s\n' "#define _POSIX_SOURCE 1" >>confdefs.h
   4575 
   4576     printf '%s\n' "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4577 
   4578 else case e in #(
   4579   e) MINIX= ;;
   4580 esac
   4581 fi
   4582   if test $ac_cv_safe_to_define___extensions__ = yes
   4583 then :
   4584   printf '%s\n' "#define __EXTENSIONS__ 1" >>confdefs.h
   4585 
   4586 fi
   4587   if test $ac_cv_should_define__xopen_source = yes
   4588 then :
   4589   printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   4590 
   4591 fi
   4592 
   4593 
   4594 # Initialize Automake
   4595 am__api_version='1.19'
   4596 
   4597 
   4598   # Find a good install program.  We prefer a C program (faster),
   4599 # so one script is as good as another.  But avoid the broken or
   4600 # incompatible versions:
   4601 # SysV /etc/install, /usr/sbin/install
   4602 # SunOS /usr/etc/install
   4603 # IRIX /sbin/install
   4604 # AIX /bin/install
   4605 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4606 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4609 # OS/2's system install, which has a completely different semantic
   4610 # ./install, which can be erroneously created by make from ./install.sh.
   4611 # Reject install programs that cannot install multiple files.
   4612 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4613 printf %s "checking for a BSD-compatible install... " >&6; }
   4614 if test -z "$INSTALL"; then
   4615 if test ${ac_cv_path_install+y}
   4616 then :
   4617   printf %s "(cached) " >&6
   4618 else case e in #(
   4619   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4620 for as_dir in $PATH
   4621 do
   4622   IFS=$as_save_IFS
   4623   case $as_dir in #(((
   4624     '') as_dir=./ ;;
   4625     */) ;;
   4626     *) as_dir=$as_dir/ ;;
   4627   esac
   4628     # Account for fact that we put trailing slashes in our PATH walk.
   4629 case $as_dir in #((
   4630   ./ | /[cC]/* | \
   4631   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4632   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4633   /usr/ucb/* ) ;;
   4634   *)
   4635     # OSF/1 and SCO ODT 3.0 have their own names for install.
   4636     # Don't use installbsd from OSF/1 since it installs stuff as root
   4637     # by default.
   4638     for ac_prog in ginstall scoinst install; do
   4639       for ac_exec_ext in '' $ac_executable_extensions; do
   4640 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4641 	  if test $ac_prog = install &&
   4642 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4643 	    # AIX install.  It has an incompatible calling convention.
   4644 	    :
   4645 	  elif test $ac_prog = install &&
   4646 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4647 	    # program-specific install script used by HP pwplus--don't use.
   4648 	    :
   4649 	  else
   4650 	    rm -rf conftest.one conftest.two conftest.dir
   4651 	    echo one > conftest.one
   4652 	    echo two > conftest.two
   4653 	    mkdir conftest.dir
   4654 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4655 	      test -s conftest.one && test -s conftest.two &&
   4656 	      test -s conftest.dir/conftest.one &&
   4657 	      test -s conftest.dir/conftest.two
   4658 	    then
   4659 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4660 	      break 3
   4661 	    fi
   4662 	  fi
   4663 	fi
   4664       done
   4665     done
   4666     ;;
   4667 esac
   4668 
   4669   done
   4670 IFS=$as_save_IFS
   4671 
   4672 rm -rf conftest.one conftest.two conftest.dir
   4673  ;;
   4674 esac
   4675 fi
   4676   if test ${ac_cv_path_install+y}; then
   4677     INSTALL=$ac_cv_path_install
   4678   else
   4679     # As a last resort, use the slow shell script.  Don't cache a
   4680     # value for INSTALL within a source directory, because that will
   4681     # break other packages using the cache if that directory is
   4682     # removed, or if the value is a relative name.
   4683     INSTALL=$ac_install_sh
   4684   fi
   4685 fi
   4686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4687 printf '%s\n' "$INSTALL" >&6; }
   4688 
   4689 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4690 # It thinks the first close brace ends the variable substitution.
   4691 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4692 
   4693 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4694 
   4695 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4696 
   4697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4698 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4699 if test ${am_cv_sleep_fractional_seconds+y}
   4700 then :
   4701   printf %s "(cached) " >&6
   4702 else case e in #(
   4703   e) if sleep 0.001 2>/dev/null
   4704 then :
   4705   am_cv_sleep_fractional_seconds=yes
   4706 else case e in #(
   4707   e) am_cv_sleep_fractional_seconds=no ;;
   4708 esac
   4709 fi
   4710  ;;
   4711 esac
   4712 fi
   4713 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4714 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   4715 
   4716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4717 printf %s "checking filesystem timestamp resolution... " >&6; }
   4718 if test ${am_cv_filesystem_timestamp_resolution+y}
   4719 then :
   4720   printf %s "(cached) " >&6
   4721 else case e in #(
   4722   e) # Default to the worst case.
   4723 am_cv_filesystem_timestamp_resolution=2
   4724 
   4725 # Only try to go finer than 1 sec if sleep can do it.
   4726 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4727 # - 1 sec is not much of a win compared to 2 sec, and
   4728 # - it takes 2 seconds to perform the test whether 1 sec works.
   4729 #
   4730 # Instead, just use the default 2s on platforms that have 1s resolution,
   4731 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4732 # exchange for not incurring the 2s delay for running the test for all
   4733 # packages.
   4734 #
   4735 am_try_resolutions=
   4736 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4737   # Even a millisecond often causes a bunch of false positives,
   4738   # so just try a hundredth of a second. The time saved between .001 and
   4739   # .01 is not terribly consequential.
   4740   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4741 fi
   4742 
   4743 # In order to catch current-generation FAT out, we must *modify* files
   4744 # that already exist; the *creation* timestamp is finer.  Use names
   4745 # that make ls -t sort them differently when they have equal
   4746 # timestamps than when they have distinct timestamps, keeping
   4747 # in mind that ls -t prints the *newest* file first.
   4748 rm -f conftest.ts?
   4749 : > conftest.ts1
   4750 : > conftest.ts2
   4751 : > conftest.ts3
   4752 
   4753 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4754 # clobber the current shell's arguments. (Outer-level square brackets
   4755 # are removed by m4; they're present so that m4 does not expand
   4756 # <dollar><star>; be careful, easy to get confused.)
   4757 if (
   4758      set X `ls -t conftest.ts[12]` &&
   4759      {
   4760        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4761        test "$*" != "X conftest.ts2 conftest.ts1";
   4762      }
   4763 ); then :; else
   4764   # If neither matched, then we have a broken ls.  This can happen
   4765   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4766   # broken ls alias from the environment.  This has actually
   4767   # happened.  Such a system could not be considered "sane".
   4768   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4769   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4770 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4771 as_fn_error $? "ls -t produces unexpected output.
   4772 Make sure there is not a broken ls alias in your environment.
   4773 See 'config.log' for more details" "$LINENO" 5; }
   4774 fi
   4775 
   4776 for am_try_res in $am_try_resolutions; do
   4777   # Any one fine-grained sleep might happen to cross the boundary
   4778   # between two values of a coarser actual resolution, but if we do
   4779   # two fine-grained sleeps in a row, at least one of them will fall
   4780   # entirely within a coarse interval.
   4781   echo alpha > conftest.ts1
   4782   sleep $am_try_res
   4783   echo beta > conftest.ts2
   4784   sleep $am_try_res
   4785   echo gamma > conftest.ts3
   4786 
   4787   # We assume that 'ls -t' will make use of high-resolution
   4788   # timestamps if the operating system supports them at all.
   4789   if (set X `ls -t conftest.ts?` &&
   4790       test "$2" = conftest.ts3 &&
   4791       test "$3" = conftest.ts2 &&
   4792       test "$4" = conftest.ts1); then
   4793     #
   4794     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4795     # because we don't need to test make.
   4796     make_ok=true
   4797     if test $am_try_res != 1; then
   4798       # But if we've succeeded so far with a subsecond resolution, we
   4799       # have one more thing to check: make. It can happen that
   4800       # everything else supports the subsecond mtimes, but make doesn't;
   4801       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4802       # released under GPLv2). https://bugs.gnu.org/68808
   4803       #
   4804       # We test $MAKE if it is defined in the environment, else "make".
   4805       # It might get overridden later, but our hope is that in practice
   4806       # it does not matter: it is the system "make" which is (by far)
   4807       # the most likely to be broken, whereas if the user overrides it,
   4808       # probably they did so with a better, or at least not worse, make.
   4809       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4810       #
   4811       # Create a Makefile (real tab character here):
   4812       rm -f conftest.mk
   4813       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4814       echo '	touch conftest.ts2' >>conftest.mk
   4815       #
   4816       # Now, running
   4817       #   touch conftest.ts1; touch conftest.ts2; make
   4818       # should touch ts1 because ts2 is newer. This could happen by luck,
   4819       # but most often, it will fail if make's support is insufficient. So
   4820       # test for several consecutive successes.
   4821       #
   4822       # (We reuse conftest.ts[12] because we still want to modify existing
   4823       # files, not create new ones, per above.)
   4824       n=0
   4825       make=${MAKE-make}
   4826       until test $n -eq 3; do
   4827         echo one > conftest.ts1
   4828         sleep $am_try_res
   4829         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4830         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4831           make_ok=false
   4832           break # out of $n loop
   4833         fi
   4834         n=`expr $n + 1`
   4835       done
   4836     fi
   4837     #
   4838     if $make_ok; then
   4839       # Everything we know to check worked out, so call this resolution good.
   4840       am_cv_filesystem_timestamp_resolution=$am_try_res
   4841       break # out of $am_try_res loop
   4842     fi
   4843     # Otherwise, we'll go on to check the next resolution.
   4844   fi
   4845 done
   4846 rm -f conftest.ts?
   4847 # (end _am_filesystem_timestamp_resolution)
   4848  ;;
   4849 esac
   4850 fi
   4851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4852 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   4853 
   4854 # This check should not be cached, as it may vary across builds of
   4855 # different projects.
   4856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4857 printf %s "checking whether build environment is sane... " >&6; }
   4858 # Reject unsafe characters in $srcdir or the absolute working directory
   4859 # name.  Accept space and tab only in the latter.
   4860 am_lf='
   4861 '
   4862 case `pwd` in
   4863   *[\\\"\#\$\&\'\`$am_lf]*)
   4864     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4865 printf '%s\n' "no" >&6; }
   4866     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4867 esac
   4868 case $srcdir in
   4869   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4870     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4871 printf '%s\n' "no" >&6; }
   4872     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4873 esac
   4874 
   4875 # Do 'set' in a subshell so we don't clobber the current shell's
   4876 # arguments.  Must try -L first in case configure is actually a
   4877 # symlink; some systems play weird games with the mod time of symlinks
   4878 # (eg FreeBSD returns the mod time of the symlink's containing
   4879 # directory).
   4880 am_build_env_is_sane=no
   4881 am_has_slept=no
   4882 rm -f conftest.file
   4883 for am_try in 1 2; do
   4884   echo "timestamp, slept: $am_has_slept" > conftest.file
   4885   if (
   4886     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4887     if test "$*" = "X"; then
   4888       # -L didn't work.
   4889       set X `ls -t "$srcdir/configure" conftest.file`
   4890     fi
   4891     test "$2" = conftest.file
   4892   ); then
   4893     am_build_env_is_sane=yes
   4894     break
   4895   fi
   4896   # Just in case.
   4897   sleep "$am_cv_filesystem_timestamp_resolution"
   4898   am_has_slept=yes
   4899 done
   4900 
   4901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4902 printf '%s\n' "$am_build_env_is_sane" >&6; }
   4903 if test "$am_build_env_is_sane" = no; then
   4904   as_fn_error $? "newly created file is older than distributed files!
   4905 Check your system clock" "$LINENO" 5
   4906 fi
   4907 
   4908 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4909 # generated files are strictly newer.
   4910 am_sleep_pid=
   4911 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4912 then :
   4913 
   4914 else case e in #(
   4915   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4916   am_sleep_pid=$!
   4917  ;;
   4918 esac
   4919 fi
   4920 
   4921 rm -f conftest.file
   4922 
   4923 test "$program_prefix" != NONE &&
   4924   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4925 # Use a double $ so make ignores it.
   4926 test "$program_suffix" != NONE &&
   4927   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4928 # Double any \ or $.
   4929 # By default was 's,x,x', remove it if useless.
   4930 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4931 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   4932 
   4933 
   4934   if test x"${MISSING+set}" != xset; then
   4935   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4936 fi
   4937 # Use eval to expand $SHELL
   4938 if eval "$MISSING --is-lightweight"; then
   4939   am_missing_run="$MISSING "
   4940 else
   4941   am_missing_run=
   4942   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4943 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4944 fi
   4945 
   4946 if test x"${install_sh+set}" != xset; then
   4947   case $am_aux_dir in
   4948   *\ * | *\	*)
   4949     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4950   *)
   4951     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4952   esac
   4953 fi
   4954 
   4955 # Installed binaries are usually stripped using 'strip' when the user
   4956 # run "make install-strip".  However 'strip' might not be the right
   4957 # tool to use in cross-compilation environments, therefore Automake
   4958 # will honor the 'STRIP' environment variable to overrule this program.
   4959 if test "$cross_compiling" != no; then
   4960   if test -n "$ac_tool_prefix"; then
   4961   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4962 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4964 printf %s "checking for $ac_word... " >&6; }
   4965 if test ${ac_cv_prog_STRIP+y}
   4966 then :
   4967   printf %s "(cached) " >&6
   4968 else case e in #(
   4969   e) if test -n "$STRIP"; then
   4970   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4971 else
   4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4973 for as_dir in $PATH
   4974 do
   4975   IFS=$as_save_IFS
   4976   case $as_dir in #(((
   4977     '') as_dir=./ ;;
   4978     */) ;;
   4979     *) as_dir=$as_dir/ ;;
   4980   esac
   4981     for ac_exec_ext in '' $ac_executable_extensions; do
   4982   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4983     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4984     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4985     break 2
   4986   fi
   4987 done
   4988   done
   4989 IFS=$as_save_IFS
   4990 
   4991 fi ;;
   4992 esac
   4993 fi
   4994 STRIP=$ac_cv_prog_STRIP
   4995 if test -n "$STRIP"; then
   4996   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4997 printf '%s\n' "$STRIP" >&6; }
   4998 else
   4999   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5000 printf '%s\n' "no" >&6; }
   5001 fi
   5002 
   5003 
   5004 fi
   5005 if test -z "$ac_cv_prog_STRIP"; then
   5006   ac_ct_STRIP=$STRIP
   5007   # Extract the first word of "strip", so it can be a program name with args.
   5008 set dummy strip; ac_word=$2
   5009 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5010 printf %s "checking for $ac_word... " >&6; }
   5011 if test ${ac_cv_prog_ac_ct_STRIP+y}
   5012 then :
   5013   printf %s "(cached) " >&6
   5014 else case e in #(
   5015   e) if test -n "$ac_ct_STRIP"; then
   5016   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5017 else
   5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5019 for as_dir in $PATH
   5020 do
   5021   IFS=$as_save_IFS
   5022   case $as_dir in #(((
   5023     '') as_dir=./ ;;
   5024     */) ;;
   5025     *) as_dir=$as_dir/ ;;
   5026   esac
   5027     for ac_exec_ext in '' $ac_executable_extensions; do
   5028   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5029     ac_cv_prog_ac_ct_STRIP="strip"
   5030     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5031     break 2
   5032   fi
   5033 done
   5034   done
   5035 IFS=$as_save_IFS
   5036 
   5037 fi ;;
   5038 esac
   5039 fi
   5040 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5041 if test -n "$ac_ct_STRIP"; then
   5042   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5043 printf '%s\n' "$ac_ct_STRIP" >&6; }
   5044 else
   5045   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5046 printf '%s\n' "no" >&6; }
   5047 fi
   5048 
   5049   if test "x$ac_ct_STRIP" = x; then
   5050     STRIP=":"
   5051   else
   5052     case $cross_compiling:$ac_tool_warned in
   5053 yes:)
   5054 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5055 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5056 ac_tool_warned=yes ;;
   5057 esac
   5058     STRIP=$ac_ct_STRIP
   5059   fi
   5060 else
   5061   STRIP="$ac_cv_prog_STRIP"
   5062 fi
   5063 
   5064 fi
   5065 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   5066 
   5067 
   5068   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   5069 printf %s "checking for a race-free mkdir -p... " >&6; }
   5070 if test -z "$MKDIR_P"; then
   5071   if test ${ac_cv_path_mkdir+y}
   5072 then :
   5073   printf %s "(cached) " >&6
   5074 else case e in #(
   5075   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5076 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   5077 do
   5078   IFS=$as_save_IFS
   5079   case $as_dir in #(((
   5080     '') as_dir=./ ;;
   5081     */) ;;
   5082     *) as_dir=$as_dir/ ;;
   5083   esac
   5084     for ac_prog in mkdir gmkdir; do
   5085 	 for ac_exec_ext in '' $ac_executable_extensions; do
   5086 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   5087 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   5088 	     'mkdir ('*'coreutils) '* | \
   5089 	     *'BusyBox '* | \
   5090 	     'mkdir (fileutils) '4.1*)
   5091 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   5092 	       break 3;;
   5093 	   esac
   5094 	 done
   5095        done
   5096   done
   5097 IFS=$as_save_IFS
   5098  ;;
   5099 esac
   5100 fi
   5101 
   5102   test -d ./--version && rmdir ./--version
   5103   if test ${ac_cv_path_mkdir+y}; then
   5104     MKDIR_P="$ac_cv_path_mkdir -p"
   5105   else
   5106     # As a last resort, use plain mkdir -p,
   5107     # in the hope it doesn't have the bugs of ancient mkdir.
   5108     MKDIR_P='mkdir -p'
   5109   fi
   5110 fi
   5111 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   5112 printf '%s\n' "$MKDIR_P" >&6; }
   5113 
   5114 for ac_prog in gawk mawk nawk awk 'busybox awk'
   5115 do
   5116   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5117 set dummy $ac_prog; ac_word=$2
   5118 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5119 printf %s "checking for $ac_word... " >&6; }
   5120 if test ${ac_cv_prog_AWK+y}
   5121 then :
   5122   printf %s "(cached) " >&6
   5123 else case e in #(
   5124   e) if test -n "$AWK"; then
   5125   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   5126 else
   5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5128 for as_dir in $PATH
   5129 do
   5130   IFS=$as_save_IFS
   5131   case $as_dir in #(((
   5132     '') as_dir=./ ;;
   5133     */) ;;
   5134     *) as_dir=$as_dir/ ;;
   5135   esac
   5136     for ac_exec_ext in '' $ac_executable_extensions; do
   5137   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5138     ac_cv_prog_AWK="$ac_prog"
   5139     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5140     break 2
   5141   fi
   5142 done
   5143   done
   5144 IFS=$as_save_IFS
   5145 
   5146 fi ;;
   5147 esac
   5148 fi
   5149 AWK=$ac_cv_prog_AWK
   5150 if test -n "$AWK"; then
   5151   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   5152 printf '%s\n' "$AWK" >&6; }
   5153 else
   5154   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5155 printf '%s\n' "no" >&6; }
   5156 fi
   5157 
   5158 
   5159   test -n "$AWK" && break
   5160 done
   5161 
   5162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5163 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5164 set x ${MAKE-make}
   5165 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5166 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5167 then :
   5168   printf %s "(cached) " >&6
   5169 else case e in #(
   5170   e) cat >conftest.make <<\_ACEOF
   5171 SHELL = /bin/sh
   5172 all:
   5173 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   5174 _ACEOF
   5175 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5176 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5177   *@@@%%%=?*=@@@%%%*)
   5178     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5179   *)
   5180     eval ac_cv_prog_make_${ac_make}_set=no;;
   5181 esac
   5182 rm -f conftest.make ;;
   5183 esac
   5184 fi
   5185 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5186   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5187 printf '%s\n' "yes" >&6; }
   5188   SET_MAKE=
   5189 else
   5190   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5191 printf '%s\n' "no" >&6; }
   5192   SET_MAKE="MAKE=${MAKE-make}"
   5193 fi
   5194 
   5195 rm -rf .tst 2>/dev/null
   5196 mkdir .tst 2>/dev/null
   5197 if test -d .tst; then
   5198   am__leading_dot=.
   5199 else
   5200   am__leading_dot=_
   5201 fi
   5202 rmdir .tst 2>/dev/null
   5203 
   5204 DEPDIR="${am__leading_dot}deps"
   5205 
   5206 ac_config_commands="$ac_config_commands depfiles"
   5207 
   5208 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5209 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5210 cat > confinc.mk << 'END'
   5211 am__doit:
   5212 	@echo this is the am__doit target >confinc.out
   5213 .PHONY: am__doit
   5214 END
   5215 am__include="#"
   5216 am__quote=
   5217 # BSD make does it like this.
   5218 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5219 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5220 echo 'include confinc.mk # ignored' > confmf.GNU
   5221 _am_result=no
   5222 for s in GNU BSD; do
   5223   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5224    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5225    ac_status=$?
   5226    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5227    (exit $ac_status); }
   5228   case $?:`cat confinc.out 2>/dev/null` in #(
   5229   '0:this is the am__doit target') :
   5230     case $s in #(
   5231   BSD) :
   5232     am__include='.include' am__quote='"' ;; #(
   5233   *) :
   5234     am__include='include' am__quote='' ;;
   5235 esac ;; #(
   5236   *) :
   5237      ;;
   5238 esac
   5239   if test "$am__include" != "#"; then
   5240     _am_result="yes ($s style)"
   5241     break
   5242   fi
   5243 done
   5244 rm -f confinc.* confmf.*
   5245 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5246 printf '%s\n' "${_am_result}" >&6; }
   5247 
   5248 # Check whether --enable-dependency-tracking was given.
   5249 if test ${enable_dependency_tracking+y}
   5250 then :
   5251   enableval=$enable_dependency_tracking;
   5252 fi
   5253 
   5254 if test "x$enable_dependency_tracking" != xno; then
   5255   am_depcomp="$ac_aux_dir/depcomp"
   5256   AMDEPBACKSLASH='\'
   5257   am__nodep='_no'
   5258 fi
   5259  if test "x$enable_dependency_tracking" != xno; then
   5260   AMDEP_TRUE=
   5261   AMDEP_FALSE='#'
   5262 else
   5263   AMDEP_TRUE='#'
   5264   AMDEP_FALSE=
   5265 fi
   5266 
   5267 
   5268 AM_DEFAULT_VERBOSITY=1
   5269 # Check whether --enable-silent-rules was given.
   5270 if test ${enable_silent_rules+y}
   5271 then :
   5272   enableval=$enable_silent_rules;
   5273 fi
   5274 
   5275 am_make=${MAKE-make}
   5276 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5277 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5278 if test ${am_cv_make_support_nested_variables+y}
   5279 then :
   5280   printf %s "(cached) " >&6
   5281 else case e in #(
   5282   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   5283 BAR0=false
   5284 BAR1=true
   5285 V=1
   5286 am__doit:
   5287 	@$(TRUE)
   5288 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5289   am_cv_make_support_nested_variables=yes
   5290 else
   5291   am_cv_make_support_nested_variables=no
   5292 fi ;;
   5293 esac
   5294 fi
   5295 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5296 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   5297 AM_BACKSLASH='\'
   5298 
   5299 am__rm_f_notfound=
   5300 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5301 then :
   5302 
   5303 else case e in #(
   5304   e) am__rm_f_notfound='""' ;;
   5305 esac
   5306 fi
   5307 
   5308 
   5309 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5310 printf %s "checking xargs -n works... " >&6; }
   5311 if test ${am_cv_xargs_n_works+y}
   5312 then :
   5313   printf %s "(cached) " >&6
   5314 else case e in #(
   5315   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5316 3"
   5317 then :
   5318   am_cv_xargs_n_works=yes
   5319 else case e in #(
   5320   e) am_cv_xargs_n_works=no ;;
   5321 esac
   5322 fi ;;
   5323 esac
   5324 fi
   5325 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5326 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   5327 if test "$am_cv_xargs_n_works" = yes
   5328 then :
   5329   am__xargs_n='xargs -n'
   5330 else case e in #(
   5331   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5332  ;;
   5333 esac
   5334 fi
   5335 
   5336 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5337   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5338   # is not polluted with repeated "-I."
   5339   am__isrc=' -I$(srcdir)'
   5340   # test to see if srcdir already configured
   5341   if test -f $srcdir/config.status; then
   5342     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5343   fi
   5344 fi
   5345 
   5346 # test whether we have cygpath
   5347 if test -z "$CYGPATH_W"; then
   5348   if (cygpath --version) >/dev/null 2>/dev/null; then
   5349     CYGPATH_W='cygpath -w'
   5350   else
   5351     CYGPATH_W=echo
   5352   fi
   5353 fi
   5354 
   5355 
   5356 # Define the identity of the package.
   5357  PACKAGE='libX11'
   5358  VERSION='1.8.14'
   5359 
   5360 
   5361 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5362 
   5363 
   5364 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   5365 
   5366 # Some tools Automake needs.
   5367 
   5368 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5369 
   5370 
   5371 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5372 
   5373 
   5374 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5375 
   5376 
   5377 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5378 
   5379 
   5380 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5381 
   5382 # For better backward compatibility.  To be removed once Automake 1.9.x
   5383 # dies out for good.  For more background, see:
   5384 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5385 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5386 mkdir_p='$(MKDIR_P)'
   5387 
   5388 # We need awk for the "check" target (and possibly the TAP driver).  The
   5389 # system "awk" is bad on some platforms.
   5390 # Always define AMTAR for backward compatibility.  It's still used
   5391 # in the wild, let's not break things.
   5392 AMTAR='$${TAR-tar}'
   5393 
   5394 
   5395 # The dist rules treat anything $(am__tar) writes to standard error as
   5396 # a failure (automake bug#19614).  Set this to "yes" for archivers that
   5397 # write there when all is well; cpio reports a block count.
   5398 am__tar_ignore_stderr=no
   5399 
   5400 # We'll loop over all known methods to create a tar archive until one works.
   5401 _am_tools='gnutar plaintar pax cpio none'
   5402 
   5403 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   5404       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   5405       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   5406       # and bug#13588).
   5407       am_max_uid=2097151 # 2^21 - 1
   5408       am_max_gid=$am_max_uid
   5409       # The $UID and $GID variables are not portable, so we need to resort
   5410       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   5411       # below are definitely unexpected, so allow the users to see them
   5412       # (that is, avoid stderr redirection).
   5413       am_uid=`id -u || echo unknown`
   5414       am_gid=`id -g || echo unknown`
   5415       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   5416 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   5417       if test x$am_uid = xunknown; then
   5418         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   5419 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   5420       elif test $am_uid -le $am_max_uid; then
   5421         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5422 printf '%s\n' "yes" >&6; }
   5423       else
   5424         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5425 printf '%s\n' "no" >&6; }
   5426         _am_tools=none
   5427       fi
   5428       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   5429 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   5430       if test x$gm_gid = xunknown; then
   5431         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   5432 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   5433       elif test $am_gid -le $am_max_gid; then
   5434         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5435 printf '%s\n' "yes" >&6; }
   5436       else
   5437         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5438 printf '%s\n' "no" >&6; }
   5439         _am_tools=none
   5440       fi
   5441 
   5442   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   5443 printf %s "checking how to create a ustar tar archive... " >&6; }
   5444 
   5445   # Go ahead even if we have the value already cached.  We do so because we
   5446   # need to set the values for the 'am__tar' and 'am__untar' variables.
   5447   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   5448 
   5449   for _am_tool in $_am_tools; do
   5450     am__tar_ignore_stderr=no
   5451     case $_am_tool in
   5452     gnutar)
   5453       for _am_tar in tar gnutar gtar; do
   5454         { echo "$as_me:$LINENO: $_am_tar --version | grep GNU >/dev/null" >&5
   5455    ($_am_tar --version | grep GNU >/dev/null) >&5 2>&5
   5456    ac_status=$?
   5457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5458    (exit $ac_status); } && break
   5459       done
   5460       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   5461       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   5462       am__untar="$_am_tar -xf -"
   5463       ;;
   5464     plaintar)
   5465       # Must skip GNU tar: if it does not support --format= it doesn't create
   5466       # ustar tarball either.
   5467       (tar --version | grep GNU) >/dev/null 2>&1 && continue
   5468       am__tar='tar chf - "$$tardir"'
   5469       am__tar_='tar chf - "$tardir"'
   5470       am__untar='tar xf -'
   5471       ;;
   5472     pax)
   5473       am__tar='pax -L -x ustar -w "$$tardir"'
   5474       am__tar_='pax -L -x ustar -w "$tardir"'
   5475       am__untar='pax -r'
   5476       ;;
   5477     cpio)
   5478       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   5479       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   5480       am__untar='cpio -i -H ustar -d'
   5481       am__tar_ignore_stderr=yes
   5482       ;;
   5483     none)
   5484       am__tar=false
   5485       am__tar_=false
   5486       am__untar=false
   5487       ;;
   5488     esac
   5489 
   5490     # If the value was cached, stop now.  We just wanted to have am__tar
   5491     # and am__untar set.
   5492     test -n "${am_cv_prog_tar_ustar}" && break
   5493 
   5494     # tar/untar a dummy directory, and stop if the command works.
   5495     rm -rf conftest.dir
   5496     mkdir conftest.dir
   5497     echo GrepMe > conftest.dir/file
   5498     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   5499    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   5500    ac_status=$?
   5501    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5502    (exit $ac_status); }
   5503     rm -rf conftest.dir
   5504     if test -s conftest.tar; then
   5505       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   5506    ($am__untar <conftest.tar) >&5 2>&5
   5507    ac_status=$?
   5508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5509    (exit $ac_status); }
   5510       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   5511    (cat conftest.dir/file) >&5 2>&5
   5512    ac_status=$?
   5513    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5514    (exit $ac_status); }
   5515       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   5516     fi
   5517   done
   5518   rm -rf conftest.dir
   5519 
   5520   if test ${am_cv_prog_tar_ustar+y}
   5521 then :
   5522   printf %s "(cached) " >&6
   5523 else case e in #(
   5524   e) am_cv_prog_tar_ustar=$_am_tool ;;
   5525 esac
   5526 fi
   5527 
   5528   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   5529 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 depcc="$CC"   am_compiler_list=
   5537 
   5538 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5539 printf %s "checking dependency style of $depcc... " >&6; }
   5540 if test ${am_cv_CC_dependencies_compiler_type+y}
   5541 then :
   5542   printf %s "(cached) " >&6
   5543 else case e in #(
   5544   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5545   # We make a subdir and do the tests there.  Otherwise we can end up
   5546   # making bogus files that we don't know about and never remove.  For
   5547   # instance it was reported that on HP-UX the gcc test will end up
   5548   # making a dummy file named 'D' -- because '-MD' means "put the output
   5549   # in D".
   5550   rm -rf conftest.dir
   5551   mkdir conftest.dir
   5552   # Copy depcomp to subdir because otherwise we won't find it if we're
   5553   # using a relative directory.
   5554   cp "$am_depcomp" conftest.dir
   5555   cd conftest.dir
   5556   # We will build objects and dependencies in a subdirectory because
   5557   # it helps to detect inapplicable dependency modes.  For instance
   5558   # both Tru64's cc and ICC support -MD to output dependencies as a
   5559   # side effect of compilation, but ICC will put the dependencies in
   5560   # the current directory while Tru64 will put them in the object
   5561   # directory.
   5562   mkdir sub
   5563 
   5564   am_cv_CC_dependencies_compiler_type=none
   5565   if test "$am_compiler_list" = ""; then
   5566      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5567   fi
   5568   am__universal=false
   5569   case " $depcc " in #(
   5570      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5571      esac
   5572 
   5573   for depmode in $am_compiler_list; do
   5574     # Setup a source with many dependencies, because some compilers
   5575     # like to wrap large dependency lists on column 80 (with \), and
   5576     # we should not choose a depcomp mode which is confused by this.
   5577     #
   5578     # We need to recreate these files for each test, as the compiler may
   5579     # overwrite some of them when testing with obscure command lines.
   5580     # This happens at least with the AIX C compiler.
   5581     : > sub/conftest.c
   5582     for i in 1 2 3 4 5 6; do
   5583       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5584       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5585       # Solaris 10 /bin/sh.
   5586       echo '/* dummy */' > sub/conftst$i.h
   5587     done
   5588     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5589 
   5590     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5591     # mode.  It turns out that the SunPro C++ compiler does not properly
   5592     # handle '-M -o', and we need to detect this.  Also, some Intel
   5593     # versions had trouble with output in subdirs.
   5594     am__obj=sub/conftest.${OBJEXT-o}
   5595     am__minus_obj="-o $am__obj"
   5596     case $depmode in
   5597     gcc)
   5598       # This depmode causes a compiler race in universal mode.
   5599       test "$am__universal" = false || continue
   5600       ;;
   5601     nosideeffect)
   5602       # After this tag, mechanisms are not by side-effect, so they'll
   5603       # only be used when explicitly requested.
   5604       if test "x$enable_dependency_tracking" = xyes; then
   5605 	continue
   5606       else
   5607 	break
   5608       fi
   5609       ;;
   5610     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5611       # This compiler won't grok '-c -o', but also, the minuso test has
   5612       # not run yet.  These depmodes are late enough in the game, and
   5613       # so weak that their functioning should not be impacted.
   5614       am__obj=conftest.${OBJEXT-o}
   5615       am__minus_obj=
   5616       ;;
   5617     none) break ;;
   5618     esac
   5619     if depmode=$depmode \
   5620        source=sub/conftest.c object=$am__obj \
   5621        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5622        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5623          >/dev/null 2>conftest.err &&
   5624        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5625        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5626        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5627        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5628       # icc doesn't choke on unknown options, it will just issue warnings
   5629       # or remarks (even with -Werror).  So we grep stderr for any message
   5630       # that says an option was ignored or not supported.
   5631       # When given -MP, icc 7.0 and 7.1 complain thus:
   5632       #   icc: Command line warning: ignoring option '-M'; no argument required
   5633       # The diagnosis changed in icc 8.0:
   5634       #   icc: Command line remark: option '-MP' not supported
   5635       if (grep 'ignoring option' conftest.err ||
   5636           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5637         am_cv_CC_dependencies_compiler_type=$depmode
   5638         break
   5639       fi
   5640     fi
   5641   done
   5642 
   5643   cd ..
   5644   rm -rf conftest.dir
   5645 else
   5646   am_cv_CC_dependencies_compiler_type=none
   5647 fi
   5648  ;;
   5649 esac
   5650 fi
   5651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5652 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5654 
   5655  if
   5656   test "x$enable_dependency_tracking" != xno \
   5657   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5658   am__fastdepCC_TRUE=
   5659   am__fastdepCC_FALSE='#'
   5660 else
   5661   am__fastdepCC_TRUE='#'
   5662   am__fastdepCC_FALSE=
   5663 fi
   5664 
   5665 
   5666 # Variables for tags utilities; see am/tags.am
   5667 if test -z "$CTAGS"; then
   5668   CTAGS=ctags
   5669 fi
   5670 
   5671 if test -z "$ETAGS"; then
   5672   ETAGS=etags
   5673 fi
   5674 
   5675 if test -z "$CSCOPE"; then
   5676   CSCOPE=cscope
   5677 fi
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 # Initialize libtool
   5687 case `pwd` in
   5688   *\ * | *\	*)
   5689     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5690 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5691 esac
   5692 
   5693 
   5694 
   5695 macro_version='2.6.2'
   5696 macro_revision='2.6.2'
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 ltmain=$ac_aux_dir/ltmain.sh
   5712 
   5713 # Backslashify metacharacters that are still active within
   5714 # double-quoted strings.
   5715 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5716 
   5717 # Same as above, but do not quote variable references.
   5718 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5719 
   5720 # Sed substitution to delay expansion of an escaped shell variable in a
   5721 # double_quote_subst'ed string.
   5722 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5723 
   5724 # Sed substitution to delay expansion of an escaped single quote.
   5725 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5726 
   5727 # Sed substitution to avoid accidental globbing in evaled expressions
   5728 no_glob_subst='s/\*/\\\*/g'
   5729 
   5730 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5731 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5732 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5733 
   5734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5735 printf %s "checking how to print strings... " >&6; }
   5736 # Test print first, because it will be a builtin if present.
   5737 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5738    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5739   ECHO='print -r --'
   5740 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5741   ECHO='printf %s\n'
   5742 else
   5743   # Use this function as a fallback that always works.
   5744   func_fallback_echo ()
   5745   {
   5746     eval 'cat <<_LTECHO_EOF
   5747 $1
   5748 _LTECHO_EOF'
   5749   }
   5750   ECHO='func_fallback_echo'
   5751 fi
   5752 
   5753 # func_echo_all arg...
   5754 # Invoke $ECHO with all args, space-separated.
   5755 func_echo_all ()
   5756 {
   5757     $ECHO ""
   5758 }
   5759 
   5760 case $ECHO in
   5761   printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5762 printf '%s\n' "printf" >&6; } ;;
   5763   print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5764 printf '%s\n' "print -r" >&6; } ;;
   5765   *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5766 printf '%s\n' "cat" >&6; } ;;
   5767 esac
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5783 printf %s "checking for a sed that does not truncate output... " >&6; }
   5784 if test ${ac_cv_path_SED+y}
   5785 then :
   5786   printf %s "(cached) " >&6
   5787 else case e in #(
   5788   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5789      for ac_i in 1 2 3 4 5 6 7; do
   5790        ac_script="$ac_script$as_nl$ac_script"
   5791      done
   5792      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5793      { ac_script=; unset ac_script;}
   5794      if test -z "$SED"; then
   5795   ac_path_SED_found=false
   5796   # Loop through the user's path and test for each of PROGNAME-LIST
   5797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5798 for as_dir in $PATH
   5799 do
   5800   IFS=$as_save_IFS
   5801   case $as_dir in #(((
   5802     '') as_dir=./ ;;
   5803     */) ;;
   5804     *) as_dir=$as_dir/ ;;
   5805   esac
   5806     for ac_prog in sed gsed
   5807    do
   5808     for ac_exec_ext in '' $ac_executable_extensions; do
   5809       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5810       as_fn_executable_p "$ac_path_SED" || continue
   5811 # Check for GNU ac_path_SED and select it if it is found.
   5812   # Check for GNU $ac_path_SED
   5813 case `"$ac_path_SED" --version 2>&1` in #(
   5814 *GNU*)
   5815   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5816 #(
   5817 *)
   5818   ac_count=0
   5819   printf %s 0123456789 >"conftest.in"
   5820   while :
   5821   do
   5822     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5823     mv "conftest.tmp" "conftest.in"
   5824     cp "conftest.in" "conftest.nl"
   5825     printf '%s\n' '' >> "conftest.nl"
   5826     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5827     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5828     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5829     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5830       # Best one so far, save it but keep looking for a better one
   5831       ac_cv_path_SED="$ac_path_SED"
   5832       ac_path_SED_max=$ac_count
   5833     fi
   5834     # 10*(2^10) chars as input seems more than enough
   5835     test $ac_count -gt 10 && break
   5836   done
   5837   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5838 esac
   5839 
   5840       $ac_path_SED_found && break 3
   5841     done
   5842   done
   5843   done
   5844 IFS=$as_save_IFS
   5845   if test -z "$ac_cv_path_SED"; then
   5846     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5847   fi
   5848 else
   5849   ac_cv_path_SED=$SED
   5850 fi
   5851  ;;
   5852 esac
   5853 fi
   5854 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5855 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5856  SED="$ac_cv_path_SED"
   5857   rm -f conftest.sed
   5858 
   5859 test -z "$SED" && SED=sed
   5860 Xsed="$SED -e 1s/^X//"
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5873 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5874 if test ${ac_cv_path_GREP+y}
   5875 then :
   5876   printf %s "(cached) " >&6
   5877 else case e in #(
   5878   e) if test -z "$GREP"; then
   5879   ac_path_GREP_found=false
   5880   # Loop through the user's path and test for each of PROGNAME-LIST
   5881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5882 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5883 do
   5884   IFS=$as_save_IFS
   5885   case $as_dir in #(((
   5886     '') as_dir=./ ;;
   5887     */) ;;
   5888     *) as_dir=$as_dir/ ;;
   5889   esac
   5890     for ac_prog in grep ggrep
   5891    do
   5892     for ac_exec_ext in '' $ac_executable_extensions; do
   5893       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5894       as_fn_executable_p "$ac_path_GREP" || continue
   5895 # Check for GNU ac_path_GREP and select it if it is found.
   5896   # Check for GNU $ac_path_GREP
   5897 case `"$ac_path_GREP" --version 2>&1` in #(
   5898 *GNU*)
   5899   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5900 #(
   5901 *)
   5902   ac_count=0
   5903   printf %s 0123456789 >"conftest.in"
   5904   while :
   5905   do
   5906     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5907     mv "conftest.tmp" "conftest.in"
   5908     cp "conftest.in" "conftest.nl"
   5909     printf '%s\n' 'GREP' >> "conftest.nl"
   5910     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5911     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5912     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5913     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5914       # Best one so far, save it but keep looking for a better one
   5915       ac_cv_path_GREP="$ac_path_GREP"
   5916       ac_path_GREP_max=$ac_count
   5917     fi
   5918     # 10*(2^10) chars as input seems more than enough
   5919     test $ac_count -gt 10 && break
   5920   done
   5921   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5922 esac
   5923 
   5924       $ac_path_GREP_found && break 3
   5925     done
   5926   done
   5927   done
   5928 IFS=$as_save_IFS
   5929   if test -z "$ac_cv_path_GREP"; then
   5930     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5931   fi
   5932 else
   5933   ac_cv_path_GREP=$GREP
   5934 fi
   5935  ;;
   5936 esac
   5937 fi
   5938 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5939 printf '%s\n' "$ac_cv_path_GREP" >&6; }
   5940  GREP="$ac_cv_path_GREP"
   5941 
   5942 
   5943 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5944 printf %s "checking for egrep... " >&6; }
   5945 if test ${ac_cv_path_EGREP+y}
   5946 then :
   5947   printf %s "(cached) " >&6
   5948 else case e in #(
   5949   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5950    then ac_cv_path_EGREP="$GREP -E"
   5951    else
   5952      if test -z "$EGREP"; then
   5953   ac_path_EGREP_found=false
   5954   # Loop through the user's path and test for each of PROGNAME-LIST
   5955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5957 do
   5958   IFS=$as_save_IFS
   5959   case $as_dir in #(((
   5960     '') as_dir=./ ;;
   5961     */) ;;
   5962     *) as_dir=$as_dir/ ;;
   5963   esac
   5964     for ac_prog in egrep
   5965    do
   5966     for ac_exec_ext in '' $ac_executable_extensions; do
   5967       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5968       as_fn_executable_p "$ac_path_EGREP" || continue
   5969 # Check for GNU ac_path_EGREP and select it if it is found.
   5970   # Check for GNU $ac_path_EGREP
   5971 case `"$ac_path_EGREP" --version 2>&1` in #(
   5972 *GNU*)
   5973   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5974 #(
   5975 *)
   5976   ac_count=0
   5977   printf %s 0123456789 >"conftest.in"
   5978   while :
   5979   do
   5980     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5981     mv "conftest.tmp" "conftest.in"
   5982     cp "conftest.in" "conftest.nl"
   5983     printf '%s\n' 'EGREP' >> "conftest.nl"
   5984     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5985     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5986     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5987     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5988       # Best one so far, save it but keep looking for a better one
   5989       ac_cv_path_EGREP="$ac_path_EGREP"
   5990       ac_path_EGREP_max=$ac_count
   5991     fi
   5992     # 10*(2^10) chars as input seems more than enough
   5993     test $ac_count -gt 10 && break
   5994   done
   5995   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5996 esac
   5997 
   5998       $ac_path_EGREP_found && break 3
   5999     done
   6000   done
   6001   done
   6002 IFS=$as_save_IFS
   6003   if test -z "$ac_cv_path_EGREP"; then
   6004     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6005   fi
   6006 else
   6007   ac_cv_path_EGREP=$EGREP
   6008 fi
   6009 
   6010    fi ;;
   6011 esac
   6012 fi
   6013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6014 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
   6015  EGREP="$ac_cv_path_EGREP"
   6016 
   6017          EGREP_TRADITIONAL=$EGREP
   6018  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   6019 
   6020 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6021 printf %s "checking for fgrep... " >&6; }
   6022 if test ${ac_cv_path_FGREP+y}
   6023 then :
   6024   printf %s "(cached) " >&6
   6025 else case e in #(
   6026   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6027    then ac_cv_path_FGREP="$GREP -F"
   6028    else
   6029      if test -z "$FGREP"; then
   6030   ac_path_FGREP_found=false
   6031   # Loop through the user's path and test for each of PROGNAME-LIST
   6032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6033 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6034 do
   6035   IFS=$as_save_IFS
   6036   case $as_dir in #(((
   6037     '') as_dir=./ ;;
   6038     */) ;;
   6039     *) as_dir=$as_dir/ ;;
   6040   esac
   6041     for ac_prog in fgrep
   6042    do
   6043     for ac_exec_ext in '' $ac_executable_extensions; do
   6044       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   6045       as_fn_executable_p "$ac_path_FGREP" || continue
   6046 # Check for GNU ac_path_FGREP and select it if it is found.
   6047   # Check for GNU $ac_path_FGREP
   6048 case `"$ac_path_FGREP" --version 2>&1` in #(
   6049 *GNU*)
   6050   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6051 #(
   6052 *)
   6053   ac_count=0
   6054   printf %s 0123456789 >"conftest.in"
   6055   while :
   6056   do
   6057     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6058     mv "conftest.tmp" "conftest.in"
   6059     cp "conftest.in" "conftest.nl"
   6060     printf '%s\n' 'FGREP' >> "conftest.nl"
   6061     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6062     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6063     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6064     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6065       # Best one so far, save it but keep looking for a better one
   6066       ac_cv_path_FGREP="$ac_path_FGREP"
   6067       ac_path_FGREP_max=$ac_count
   6068     fi
   6069     # 10*(2^10) chars as input seems more than enough
   6070     test $ac_count -gt 10 && break
   6071   done
   6072   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6073 esac
   6074 
   6075       $ac_path_FGREP_found && break 3
   6076     done
   6077   done
   6078   done
   6079 IFS=$as_save_IFS
   6080   if test -z "$ac_cv_path_FGREP"; then
   6081     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6082   fi
   6083 else
   6084   ac_cv_path_FGREP=$FGREP
   6085 fi
   6086 
   6087    fi ;;
   6088 esac
   6089 fi
   6090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6091 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
   6092  FGREP="$ac_cv_path_FGREP"
   6093 
   6094 
   6095 test -z "$GREP" && GREP=grep
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 # Check whether --with-gnu-ld was given.
   6116 if test ${with_gnu_ld+y}
   6117 then :
   6118   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6119 else case e in #(
   6120   e) with_gnu_ld=no ;;
   6121 esac
   6122 fi
   6123 
   6124 ac_prog=ld
   6125 if test yes = "$GCC"; then
   6126   # Check if gcc -print-prog-name=ld gives a path.
   6127   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6128 printf %s "checking for ld used by $CC... " >&6; }
   6129   case $host in
   6130   *-*-mingw* | *-*-windows*)
   6131     # gcc leaves a trailing carriage return, which upsets mingw
   6132     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6133   *)
   6134     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6135   esac
   6136   case $ac_prog in
   6137     # Accept absolute paths.
   6138     [\\/]* | ?:[\\/]*)
   6139       re_direlt='/[^/][^/]*/\.\./'
   6140       # Canonicalize the pathname of ld
   6141       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6142       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6143 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6144       done
   6145       test -z "$LD" && LD=$ac_prog
   6146       ;;
   6147   "")
   6148     # If it fails, then pretend we aren't using GCC.
   6149     ac_prog=ld
   6150     ;;
   6151   *)
   6152     # If it is relative, then search for the first ld in PATH.
   6153     with_gnu_ld=unknown
   6154     ;;
   6155   esac
   6156 elif test yes = "$with_gnu_ld"; then
   6157   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6158 printf %s "checking for GNU ld... " >&6; }
   6159 else
   6160   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6161 printf %s "checking for non-GNU ld... " >&6; }
   6162 fi
   6163 if test ${lt_cv_path_LD+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else case e in #(
   6167   e) if test -z "$LD"; then
   6168   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6169   for ac_dir in $PATH; do
   6170     IFS=$lt_save_ifs
   6171     test -z "$ac_dir" && ac_dir=.
   6172     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6173       lt_cv_path_LD=$ac_dir/$ac_prog
   6174       # Check to see if the program is GNU ld.  I'd rather use --version,
   6175       # but apparently some variants of GNU ld only accept -v.
   6176       # Break only if it was the GNU/non-GNU ld that we prefer.
   6177       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6178       *GNU* | *'with BFD'*)
   6179 	test no != "$with_gnu_ld" && break
   6180 	;;
   6181       *)
   6182 	test yes != "$with_gnu_ld" && break
   6183 	;;
   6184       esac
   6185     fi
   6186   done
   6187   IFS=$lt_save_ifs
   6188 else
   6189   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6190 fi ;;
   6191 esac
   6192 fi
   6193 
   6194 LD=$lt_cv_path_LD
   6195 if test -n "$LD"; then
   6196   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6197 printf '%s\n' "$LD" >&6; }
   6198 else
   6199   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6200 printf '%s\n' "no" >&6; }
   6201 fi
   6202 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6203 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6204 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   6205 if test ${lt_cv_prog_gnu_ld+y}
   6206 then :
   6207   printf %s "(cached) " >&6
   6208 else case e in #(
   6209   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6210 case `$LD -v 2>&1 </dev/null` in
   6211 *GNU* | *'with BFD'*)
   6212   lt_cv_prog_gnu_ld=yes
   6213   ;;
   6214 *)
   6215   lt_cv_prog_gnu_ld=no
   6216   ;;
   6217 esac ;;
   6218 esac
   6219 fi
   6220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6221 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
   6222 with_gnu_ld=$lt_cv_prog_gnu_ld
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6233 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6234 if test ${lt_cv_path_NM+y}
   6235 then :
   6236   printf %s "(cached) " >&6
   6237 else case e in #(
   6238   e) if test -n "$NM"; then
   6239   # Let the user override the test.
   6240   lt_cv_path_NM=$NM
   6241 else
   6242   lt_nm_to_check=${ac_tool_prefix}nm
   6243   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6244     lt_nm_to_check="$lt_nm_to_check nm"
   6245   fi
   6246   for lt_tmp_nm in $lt_nm_to_check; do
   6247     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6248     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6249       IFS=$lt_save_ifs
   6250       test -z "$ac_dir" && ac_dir=.
   6251       tmp_nm=$ac_dir/$lt_tmp_nm
   6252       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6253 	# Check to see if the nm accepts a BSD-compat flag.
   6254 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6255 	#   nm: unknown option "B" ignored
   6256 	# Tru64's nm complains that /dev/null is an invalid object file
   6257 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6258 	case $build_os in
   6259 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   6260 	*) lt_bad_file=/dev/null ;;
   6261 	esac
   6262 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   6263 	*$lt_bad_file* | *'Invalid file or object type'*)
   6264 	  lt_cv_path_NM="$tmp_nm -B"
   6265 	  break 2
   6266 	  ;;
   6267 	*)
   6268 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   6269 	  */dev/null*)
   6270 	    lt_cv_path_NM="$tmp_nm -p"
   6271 	    break 2
   6272 	    ;;
   6273 	  *)
   6274 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6275 	    continue # so that we can try to find one that supports BSD flags
   6276 	    ;;
   6277 	  esac
   6278 	  ;;
   6279 	esac
   6280       fi
   6281     done
   6282     IFS=$lt_save_ifs
   6283   done
   6284   : ${lt_cv_path_NM=no}
   6285 fi ;;
   6286 esac
   6287 fi
   6288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6289 printf '%s\n' "$lt_cv_path_NM" >&6; }
   6290 if test no != "$lt_cv_path_NM"; then
   6291   NM=$lt_cv_path_NM
   6292 else
   6293   # Didn't find any BSD compatible name lister, look for dumpbin.
   6294   if test -n "$DUMPBIN"; then :
   6295     # Let the user override the test.
   6296   else
   6297     if test -n "$ac_tool_prefix"; then
   6298   for ac_prog in dumpbin "link -dump"
   6299   do
   6300     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6303 printf %s "checking for $ac_word... " >&6; }
   6304 if test ${ac_cv_prog_DUMPBIN+y}
   6305 then :
   6306   printf %s "(cached) " >&6
   6307 else case e in #(
   6308   e) if test -n "$DUMPBIN"; then
   6309   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6310 else
   6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6312 for as_dir in $PATH
   6313 do
   6314   IFS=$as_save_IFS
   6315   case $as_dir in #(((
   6316     '') as_dir=./ ;;
   6317     */) ;;
   6318     *) as_dir=$as_dir/ ;;
   6319   esac
   6320     for ac_exec_ext in '' $ac_executable_extensions; do
   6321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6322     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6323     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6324     break 2
   6325   fi
   6326 done
   6327   done
   6328 IFS=$as_save_IFS
   6329 
   6330 fi ;;
   6331 esac
   6332 fi
   6333 DUMPBIN=$ac_cv_prog_DUMPBIN
   6334 if test -n "$DUMPBIN"; then
   6335   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6336 printf '%s\n' "$DUMPBIN" >&6; }
   6337 else
   6338   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6339 printf '%s\n' "no" >&6; }
   6340 fi
   6341 
   6342 
   6343     test -n "$DUMPBIN" && break
   6344   done
   6345 fi
   6346 if test -z "$DUMPBIN"; then
   6347   ac_ct_DUMPBIN=$DUMPBIN
   6348   for ac_prog in dumpbin "link -dump"
   6349 do
   6350   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6351 set dummy $ac_prog; ac_word=$2
   6352 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6353 printf %s "checking for $ac_word... " >&6; }
   6354 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6355 then :
   6356   printf %s "(cached) " >&6
   6357 else case e in #(
   6358   e) if test -n "$ac_ct_DUMPBIN"; then
   6359   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6360 else
   6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6362 for as_dir in $PATH
   6363 do
   6364   IFS=$as_save_IFS
   6365   case $as_dir in #(((
   6366     '') as_dir=./ ;;
   6367     */) ;;
   6368     *) as_dir=$as_dir/ ;;
   6369   esac
   6370     for ac_exec_ext in '' $ac_executable_extensions; do
   6371   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6372     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6373     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6374     break 2
   6375   fi
   6376 done
   6377   done
   6378 IFS=$as_save_IFS
   6379 
   6380 fi ;;
   6381 esac
   6382 fi
   6383 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6384 if test -n "$ac_ct_DUMPBIN"; then
   6385   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6386 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
   6387 else
   6388   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6389 printf '%s\n' "no" >&6; }
   6390 fi
   6391 
   6392 
   6393   test -n "$ac_ct_DUMPBIN" && break
   6394 done
   6395 
   6396   if test "x$ac_ct_DUMPBIN" = x; then
   6397     DUMPBIN=":"
   6398   else
   6399     case $cross_compiling:$ac_tool_warned in
   6400 yes:)
   6401 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6402 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6403 ac_tool_warned=yes ;;
   6404 esac
   6405     DUMPBIN=$ac_ct_DUMPBIN
   6406   fi
   6407 fi
   6408 
   6409     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6410     *COFF*)
   6411       DUMPBIN="$DUMPBIN -symbols -headers"
   6412       ;;
   6413     *)
   6414       DUMPBIN=:
   6415       ;;
   6416     esac
   6417   fi
   6418 
   6419   if test : != "$DUMPBIN"; then
   6420     NM=$DUMPBIN
   6421   fi
   6422 fi
   6423 test -z "$NM" && NM=nm
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6431 printf %s "checking the name lister ($NM) interface... " >&6; }
   6432 if test ${lt_cv_nm_interface+y}
   6433 then :
   6434   printf %s "(cached) " >&6
   6435 else case e in #(
   6436   e) lt_cv_nm_interface="BSD nm"
   6437   echo "int some_variable = 0;" > conftest.$ac_ext
   6438   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6439   (eval "$ac_compile" 2>conftest.err)
   6440   cat conftest.err >&5
   6441   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6442   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6443   cat conftest.err >&5
   6444   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6445   cat conftest.out >&5
   6446   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6447     lt_cv_nm_interface="MS dumpbin"
   6448   fi
   6449   rm -f conftest* ;;
   6450 esac
   6451 fi
   6452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6453 printf '%s\n' "$lt_cv_nm_interface" >&6; }
   6454 
   6455 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6456 printf %s "checking whether ln -s works... " >&6; }
   6457 LN_S=$as_ln_s
   6458 if test "$LN_S" = "ln -s"; then
   6459   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6460 printf '%s\n' "yes" >&6; }
   6461 else
   6462   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6463 printf '%s\n' "no, using $LN_S" >&6; }
   6464 fi
   6465 
   6466 # find the maximum length of command line arguments
   6467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6468 printf %s "checking the maximum length of command line arguments... " >&6; }
   6469 if test ${lt_cv_sys_max_cmd_len+y}
   6470 then :
   6471   printf %s "(cached) " >&6
   6472 else case e in #(
   6473   e)   i=0
   6474   teststring=ABCD
   6475 
   6476   case $build_os in
   6477   msdosdjgpp*)
   6478     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6479     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6480     # during glob expansion).  Even if it were fixed, the result of this
   6481     # check would be larger than it should be.
   6482     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6483     ;;
   6484 
   6485   gnu* | ironclad*)
   6486     # Under GNU Hurd and Ironclad, this test is not required because there
   6487     # is no limit to the length of command line arguments.
   6488     # Libtool will interpret -1 as no limit whatsoever
   6489     lt_cv_sys_max_cmd_len=-1;
   6490     ;;
   6491 
   6492   cygwin* | mingw* | windows* | cegcc*)
   6493     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6494     # about 5 minutes as the teststring grows exponentially.
   6495     # Worse, since 9x/ME are not pre-emptively multitasking,
   6496     # you end up with a "frozen" computer, even though with patience
   6497     # the test eventually succeeds (with a max line length of 256k).
   6498     # Instead, let's just punt: use the minimum linelength reported by
   6499     # all of the supported platforms: 8192 (on NT/2K/XP).
   6500     lt_cv_sys_max_cmd_len=8192;
   6501     ;;
   6502 
   6503   mint*)
   6504     # On MiNT this can take a long time and run out of memory.
   6505     lt_cv_sys_max_cmd_len=8192;
   6506     ;;
   6507 
   6508   amigaos*)
   6509     # On AmigaOS with pdksh, this test takes hours, literally.
   6510     # So we just punt and use a minimum line length of 8192.
   6511     lt_cv_sys_max_cmd_len=8192;
   6512     ;;
   6513 
   6514   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6515     # This has been around since 386BSD, at least.  Likely further.
   6516     if test -x /sbin/sysctl; then
   6517       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6518     elif test -x /usr/sbin/sysctl; then
   6519       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6520     else
   6521       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6522     fi
   6523     # And add a safety zone
   6524     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6525     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6526     ;;
   6527 
   6528   interix*)
   6529     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6530     lt_cv_sys_max_cmd_len=196608
   6531     ;;
   6532 
   6533   os2*)
   6534     # The test takes a long time on OS/2.
   6535     lt_cv_sys_max_cmd_len=8192
   6536     ;;
   6537 
   6538   osf*)
   6539     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6540     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6541     # nice to cause kernel panics so lets avoid the loop below.
   6542     # First set a reasonable default.
   6543     lt_cv_sys_max_cmd_len=16384
   6544     #
   6545     if test -x /sbin/sysconfig; then
   6546       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6547         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6548       esac
   6549     fi
   6550     ;;
   6551   sco3.2v5*)
   6552     lt_cv_sys_max_cmd_len=102400
   6553     ;;
   6554   sysv5* | sco5v6* | sysv4.2uw2*)
   6555     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6556     if test -n "$kargmax"; then
   6557       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6558     else
   6559       lt_cv_sys_max_cmd_len=32768
   6560     fi
   6561     ;;
   6562   *)
   6563     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6564     if test -n "$lt_cv_sys_max_cmd_len" && \
   6565        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6566       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6567       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6568     else
   6569       # Make teststring a little bigger before we do anything with it.
   6570       # a 1K string should be a reasonable start.
   6571       for i in 1 2 3 4 5 6 7 8; do
   6572         teststring=$teststring$teststring
   6573       done
   6574       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6575       # If test is not a shell built-in, we'll probably end up computing a
   6576       # maximum length that is only half of the actual maximum length, but
   6577       # we can't tell.
   6578       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6579 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6580 	      test 17 != "$i" # 1/2 MB should be enough
   6581       do
   6582         i=`expr $i + 1`
   6583         teststring=$teststring$teststring
   6584       done
   6585       # Only check the string length outside the loop.
   6586       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6587       teststring=
   6588       # Add a significant safety factor because C++ compilers can tack on
   6589       # massive amounts of additional arguments before passing them to the
   6590       # linker.  It appears as though 1/2 is a usable value.
   6591       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6592     fi
   6593     ;;
   6594   esac
   6595  ;;
   6596 esac
   6597 fi
   6598 
   6599 if test -n "$lt_cv_sys_max_cmd_len"; then
   6600   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6601 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
   6602 else
   6603   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6604 printf '%s\n' "none" >&6; }
   6605 fi
   6606 max_cmd_len=$lt_cv_sys_max_cmd_len
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 : ${CP="cp -f"}
   6614 : ${MV="mv -f"}
   6615 : ${RM="rm -f"}
   6616 
   6617 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6618   lt_unset=unset
   6619 else
   6620   lt_unset=false
   6621 fi
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 # test EBCDIC or ASCII
   6628 case `echo X|tr X '\101'` in
   6629  A) # ASCII based system
   6630     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6631   lt_SP2NL='tr \040 \012'
   6632   lt_NL2SP='tr \015\012 \040\040'
   6633   ;;
   6634  *) # EBCDIC based system
   6635   lt_SP2NL='tr \100 \n'
   6636   lt_NL2SP='tr \r\n \100\100'
   6637   ;;
   6638 esac
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6649 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6650 if test ${lt_cv_to_host_file_cmd+y}
   6651 then :
   6652   printf %s "(cached) " >&6
   6653 else case e in #(
   6654   e) case $host in
   6655   *-*-mingw* )
   6656     case $build in
   6657       *-*-mingw* | *-*-windows* ) # actually msys
   6658         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6659         ;;
   6660       *-*-cygwin* )
   6661         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6662         ;;
   6663       * ) # otherwise, assume *nix
   6664         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6665         ;;
   6666     esac
   6667     ;;
   6668   *-*-cygwin* )
   6669     case $build in
   6670       *-*-mingw* | *-*-windows* ) # actually msys
   6671         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6672         ;;
   6673       *-*-cygwin* )
   6674         lt_cv_to_host_file_cmd=func_convert_file_noop
   6675         ;;
   6676       * ) # otherwise, assume *nix
   6677         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6678         ;;
   6679     esac
   6680     ;;
   6681   * ) # unhandled hosts (and "normal" native builds)
   6682     lt_cv_to_host_file_cmd=func_convert_file_noop
   6683     ;;
   6684 esac
   6685  ;;
   6686 esac
   6687 fi
   6688 
   6689 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6690 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6691 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6698 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6699 if test ${lt_cv_to_tool_file_cmd+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e) #assume ordinary cross tools, or native build.
   6704 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6705 case $host in
   6706   *-*-mingw* | *-*-windows* )
   6707     case $build in
   6708       *-*-mingw* | *-*-windows* ) # actually msys
   6709         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6710         ;;
   6711     esac
   6712     ;;
   6713 esac
   6714  ;;
   6715 esac
   6716 fi
   6717 
   6718 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6720 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 case $host in #(
   6727   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6728     case $build in #(
   6729   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6730     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cygpath is installed" >&5
   6731 printf %s "checking whether cygpath is installed... " >&6; }
   6732       if test ${lt_cv_cygpath_installed+y}
   6733 then :
   6734   printf %s "(cached) " >&6
   6735 else case e in #(
   6736   e) lt_cv_cygpath_installed=ignoring
   6737           cygpath --help &> /dev/null
   6738           _lt_result=$?
   6739           if test 0 = "$_lt_result"
   6740 then :
   6741   lt_cv_cygpath_installed=yes
   6742 else case e in #(
   6743   e) lt_cv_cygpath_installed=no ;;
   6744 esac
   6745 fi
   6746          ;;
   6747 esac
   6748 fi
   6749 
   6750       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cygpath_installed" >&5
   6751 printf '%s\n' "$lt_cv_cygpath_installed" >&6; }
   6752 
   6753 
   6754 
   6755 
   6756       if test "xyes" != "x$lt_cv_cygpath_installed"
   6757 then :
   6758 
   6759           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use cmd with one slash or two slashes" >&5
   6760 printf %s "checking whether to use cmd with one slash or two slashes... " >&6; }
   6761           if test ${lt_cv_cmd_slashes+y}
   6762 then :
   6763   printf %s "(cached) " >&6
   6764 else case e in #(
   6765   e)
   6766               _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
   6767               if test 0 != $?
   6768 then :
   6769   as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6770 fi
   6771               case $_lt_result in #(
   6772   one-slash*) :
   6773     lt_cv_cmd_slashes="one" ;; #(
   6774   two-slashes*) :
   6775     lt_cv_cmd_slashes="two" ;; #(
   6776   *) :
   6777     as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6778                ;;
   6779 esac
   6780              ;;
   6781 esac
   6782 fi
   6783 
   6784           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cmd_slashes" >&5
   6785 printf '%s\n' "$lt_cv_cmd_slashes" >&6; }
   6786 
   6787 fi
   6788      ;; #(
   6789   *) :
   6790      ;;
   6791 esac
   6792 
   6793  ;; #(
   6794   *) :
   6795      ;;
   6796 esac
   6797 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6798 printf %s "checking for $LD option to reload object files... " >&6; }
   6799 if test ${lt_cv_ld_reload_flag+y}
   6800 then :
   6801   printf %s "(cached) " >&6
   6802 else case e in #(
   6803   e) lt_cv_ld_reload_flag='-r' ;;
   6804 esac
   6805 fi
   6806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6807 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
   6808 reload_flag=$lt_cv_ld_reload_flag
   6809 case $reload_flag in
   6810 "" | " "*) ;;
   6811 *) reload_flag=" $reload_flag" ;;
   6812 esac
   6813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6814 case $host_os in
   6815   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6816     if test yes != "$GCC"; then
   6817       reload_cmds=false
   6818     fi
   6819     ;;
   6820   darwin*)
   6821     if test yes = "$GCC"; then
   6822       reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
   6823     else
   6824       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6825     fi
   6826     ;;
   6827 esac
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 # Extract the first word of "file", so it can be a program name with args.
   6838 set dummy file; ac_word=$2
   6839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6840 printf %s "checking for $ac_word... " >&6; }
   6841 if test ${ac_cv_prog_FILECMD+y}
   6842 then :
   6843   printf %s "(cached) " >&6
   6844 else case e in #(
   6845   e) if test -n "$FILECMD"; then
   6846   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6847 else
   6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6849 for as_dir in $PATH
   6850 do
   6851   IFS=$as_save_IFS
   6852   case $as_dir in #(((
   6853     '') as_dir=./ ;;
   6854     */) ;;
   6855     *) as_dir=$as_dir/ ;;
   6856   esac
   6857     for ac_exec_ext in '' $ac_executable_extensions; do
   6858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6859     ac_cv_prog_FILECMD="file"
   6860     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6861     break 2
   6862   fi
   6863 done
   6864   done
   6865 IFS=$as_save_IFS
   6866 
   6867   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6868 fi ;;
   6869 esac
   6870 fi
   6871 FILECMD=$ac_cv_prog_FILECMD
   6872 if test -n "$FILECMD"; then
   6873   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6874 printf '%s\n' "$FILECMD" >&6; }
   6875 else
   6876   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6877 printf '%s\n' "no" >&6; }
   6878 fi
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 if test -n "$ac_tool_prefix"; then
   6888   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6889 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6891 printf %s "checking for $ac_word... " >&6; }
   6892 if test ${ac_cv_prog_OBJDUMP+y}
   6893 then :
   6894   printf %s "(cached) " >&6
   6895 else case e in #(
   6896   e) if test -n "$OBJDUMP"; then
   6897   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6898 else
   6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6900 for as_dir in $PATH
   6901 do
   6902   IFS=$as_save_IFS
   6903   case $as_dir in #(((
   6904     '') as_dir=./ ;;
   6905     */) ;;
   6906     *) as_dir=$as_dir/ ;;
   6907   esac
   6908     for ac_exec_ext in '' $ac_executable_extensions; do
   6909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6910     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6911     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6912     break 2
   6913   fi
   6914 done
   6915   done
   6916 IFS=$as_save_IFS
   6917 
   6918 fi ;;
   6919 esac
   6920 fi
   6921 OBJDUMP=$ac_cv_prog_OBJDUMP
   6922 if test -n "$OBJDUMP"; then
   6923   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6924 printf '%s\n' "$OBJDUMP" >&6; }
   6925 else
   6926   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6927 printf '%s\n' "no" >&6; }
   6928 fi
   6929 
   6930 
   6931 fi
   6932 if test -z "$ac_cv_prog_OBJDUMP"; then
   6933   ac_ct_OBJDUMP=$OBJDUMP
   6934   # Extract the first word of "objdump", so it can be a program name with args.
   6935 set dummy objdump; ac_word=$2
   6936 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6937 printf %s "checking for $ac_word... " >&6; }
   6938 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6939 then :
   6940   printf %s "(cached) " >&6
   6941 else case e in #(
   6942   e) if test -n "$ac_ct_OBJDUMP"; then
   6943   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6944 else
   6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6946 for as_dir in $PATH
   6947 do
   6948   IFS=$as_save_IFS
   6949   case $as_dir in #(((
   6950     '') as_dir=./ ;;
   6951     */) ;;
   6952     *) as_dir=$as_dir/ ;;
   6953   esac
   6954     for ac_exec_ext in '' $ac_executable_extensions; do
   6955   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6956     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6957     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6958     break 2
   6959   fi
   6960 done
   6961   done
   6962 IFS=$as_save_IFS
   6963 
   6964 fi ;;
   6965 esac
   6966 fi
   6967 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6968 if test -n "$ac_ct_OBJDUMP"; then
   6969   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6970 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   6971 else
   6972   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6973 printf '%s\n' "no" >&6; }
   6974 fi
   6975 
   6976   if test "x$ac_ct_OBJDUMP" = x; then
   6977     OBJDUMP="false"
   6978   else
   6979     case $cross_compiling:$ac_tool_warned in
   6980 yes:)
   6981 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6982 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6983 ac_tool_warned=yes ;;
   6984 esac
   6985     OBJDUMP=$ac_ct_OBJDUMP
   6986   fi
   6987 else
   6988   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6989 fi
   6990 
   6991 test -z "$OBJDUMP" && OBJDUMP=objdump
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7002 printf %s "checking how to recognize dependent libraries... " >&6; }
   7003 if test ${lt_cv_deplibs_check_method+y}
   7004 then :
   7005   printf %s "(cached) " >&6
   7006 else case e in #(
   7007   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   7008 lt_cv_file_magic_test_file=
   7009 lt_cv_deplibs_check_method='unknown'
   7010 # Need to set the preceding variable on all platforms that support
   7011 # interlibrary dependencies.
   7012 # 'none' -- dependencies not supported.
   7013 # 'unknown' -- same as none, but documents that we really don't know.
   7014 # 'pass_all' -- all dependencies passed with no checks.
   7015 # 'file_magic [[regex]]' -- check by looking for files in library path
   7016 # that responds to the $file_magic_cmd with a given extended regex.
   7017 # If you have 'file' or equivalent on your system and you're not sure
   7018 # whether 'pass_all' will *always* work, you probably want this one.
   7019 
   7020 case $host_os in
   7021 aix[4-9]*)
   7022   lt_cv_deplibs_check_method=pass_all
   7023   ;;
   7024 
   7025 beos*)
   7026   lt_cv_deplibs_check_method=pass_all
   7027   ;;
   7028 
   7029 bsdi[45]*)
   7030   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7031   lt_cv_file_magic_cmd='$FILECMD -L'
   7032   lt_cv_file_magic_test_file=/shlib/libc.so
   7033   ;;
   7034 
   7035 cygwin*)
   7036   # func_win32_libid is a shell function defined in ltmain.sh
   7037   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7038   lt_cv_file_magic_cmd='func_win32_libid'
   7039   ;;
   7040 
   7041 mingw* | windows* | pw32*)
   7042   # Base MSYS/MinGW do not provide the 'file' command needed by
   7043   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7044   # unless we find 'file', for example because we are cross-compiling.
   7045   if ( file / ) >/dev/null 2>&1; then
   7046     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7047     lt_cv_file_magic_cmd='func_win32_libid'
   7048   else
   7049     # Keep this pattern in sync with the one in func_win32_libid.
   7050     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   7051     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7052   fi
   7053   ;;
   7054 
   7055 cegcc*)
   7056   # use the weaker test based on 'objdump'. See mingw*.
   7057   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7058   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7059   ;;
   7060 
   7061 darwin* | rhapsody*)
   7062   lt_cv_deplibs_check_method=pass_all
   7063   ;;
   7064 
   7065 freebsd* | dragonfly* | midnightbsd*)
   7066   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7067     case $host_cpu in
   7068     i*86 )
   7069       # Not sure whether the presence of OpenBSD here was a mistake.
   7070       # Let's accept both of them until this is cleared up.
   7071       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7072       lt_cv_file_magic_cmd=$FILECMD
   7073       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7074       ;;
   7075     esac
   7076   else
   7077     lt_cv_deplibs_check_method=pass_all
   7078   fi
   7079   ;;
   7080 
   7081 haiku*)
   7082   lt_cv_deplibs_check_method=pass_all
   7083   ;;
   7084 
   7085 hpux10.20* | hpux11*)
   7086   lt_cv_file_magic_cmd=$FILECMD
   7087   case $host_cpu in
   7088   ia64*)
   7089     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7090     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7091     ;;
   7092   hppa*64*)
   7093     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]'
   7094     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7095     ;;
   7096   *)
   7097     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7098     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7099     ;;
   7100   esac
   7101   ;;
   7102 
   7103 interix[3-9]*)
   7104   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7105   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7106   ;;
   7107 
   7108 irix5* | irix6* | nonstopux*)
   7109   case $LD in
   7110   *-32|*"-32 ") libmagic=32-bit;;
   7111   *-n32|*"-n32 ") libmagic=N32;;
   7112   *-64|*"-64 ") libmagic=64-bit;;
   7113   *) libmagic=never-match;;
   7114   esac
   7115   lt_cv_deplibs_check_method=pass_all
   7116   ;;
   7117 
   7118 *-mlibc)
   7119   lt_cv_deplibs_check_method=pass_all
   7120   ;;
   7121 
   7122 # This must be glibc/ELF.
   7123 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7124   lt_cv_deplibs_check_method=pass_all
   7125   ;;
   7126 
   7127 netbsd* | netbsdelf*-gnu)
   7128   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7129     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7130   else
   7131     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7132   fi
   7133   ;;
   7134 
   7135 newos6*)
   7136   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7137   lt_cv_file_magic_cmd=$FILECMD
   7138   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7139   ;;
   7140 
   7141 *nto* | *qnx*)
   7142   lt_cv_deplibs_check_method=pass_all
   7143   ;;
   7144 
   7145 openbsd*)
   7146   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7147     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7148   else
   7149     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7150   fi
   7151   ;;
   7152 
   7153 osf3* | osf4* | osf5*)
   7154   lt_cv_deplibs_check_method=pass_all
   7155   ;;
   7156 
   7157 rdos*)
   7158   lt_cv_deplibs_check_method=pass_all
   7159   ;;
   7160 
   7161 serenity*)
   7162   lt_cv_deplibs_check_method=pass_all
   7163   ;;
   7164 
   7165 solaris*)
   7166   lt_cv_deplibs_check_method=pass_all
   7167   ;;
   7168 
   7169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7170   lt_cv_deplibs_check_method=pass_all
   7171   ;;
   7172 
   7173 sysv4 | sysv4.3*)
   7174   case $host_vendor in
   7175   motorola)
   7176     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]'
   7177     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7178     ;;
   7179   ncr)
   7180     lt_cv_deplibs_check_method=pass_all
   7181     ;;
   7182   sequent)
   7183     lt_cv_file_magic_cmd='/bin/file'
   7184     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7185     ;;
   7186   sni)
   7187     lt_cv_file_magic_cmd='/bin/file'
   7188     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7189     lt_cv_file_magic_test_file=/lib/libc.so
   7190     ;;
   7191   siemens)
   7192     lt_cv_deplibs_check_method=pass_all
   7193     ;;
   7194   pc)
   7195     lt_cv_deplibs_check_method=pass_all
   7196     ;;
   7197   esac
   7198   ;;
   7199 
   7200 tpf*)
   7201   lt_cv_deplibs_check_method=pass_all
   7202   ;;
   7203 os2*)
   7204   lt_cv_deplibs_check_method=pass_all
   7205   ;;
   7206 esac
   7207  ;;
   7208 esac
   7209 fi
   7210 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7211 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
   7212 
   7213 file_magic_glob=
   7214 want_nocaseglob=no
   7215 if test "$build" = "$host"; then
   7216   case $host_os in
   7217   mingw* | windows* | pw32*)
   7218     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7219       want_nocaseglob=yes
   7220     else
   7221       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7222     fi
   7223     ;;
   7224   esac
   7225 fi
   7226 
   7227 file_magic_cmd=$lt_cv_file_magic_cmd
   7228 deplibs_check_method=$lt_cv_deplibs_check_method
   7229 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 if test -n "$ac_tool_prefix"; then
   7253   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7254 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7255 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7256 printf %s "checking for $ac_word... " >&6; }
   7257 if test ${ac_cv_prog_DLLTOOL+y}
   7258 then :
   7259   printf %s "(cached) " >&6
   7260 else case e in #(
   7261   e) if test -n "$DLLTOOL"; then
   7262   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7263 else
   7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7265 for as_dir in $PATH
   7266 do
   7267   IFS=$as_save_IFS
   7268   case $as_dir in #(((
   7269     '') as_dir=./ ;;
   7270     */) ;;
   7271     *) as_dir=$as_dir/ ;;
   7272   esac
   7273     for ac_exec_ext in '' $ac_executable_extensions; do
   7274   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7275     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7276     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7277     break 2
   7278   fi
   7279 done
   7280   done
   7281 IFS=$as_save_IFS
   7282 
   7283 fi ;;
   7284 esac
   7285 fi
   7286 DLLTOOL=$ac_cv_prog_DLLTOOL
   7287 if test -n "$DLLTOOL"; then
   7288   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7289 printf '%s\n' "$DLLTOOL" >&6; }
   7290 else
   7291   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7292 printf '%s\n' "no" >&6; }
   7293 fi
   7294 
   7295 
   7296 fi
   7297 if test -z "$ac_cv_prog_DLLTOOL"; then
   7298   ac_ct_DLLTOOL=$DLLTOOL
   7299   # Extract the first word of "dlltool", so it can be a program name with args.
   7300 set dummy dlltool; ac_word=$2
   7301 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7302 printf %s "checking for $ac_word... " >&6; }
   7303 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   7304 then :
   7305   printf %s "(cached) " >&6
   7306 else case e in #(
   7307   e) if test -n "$ac_ct_DLLTOOL"; then
   7308   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7309 else
   7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7311 for as_dir in $PATH
   7312 do
   7313   IFS=$as_save_IFS
   7314   case $as_dir in #(((
   7315     '') as_dir=./ ;;
   7316     */) ;;
   7317     *) as_dir=$as_dir/ ;;
   7318   esac
   7319     for ac_exec_ext in '' $ac_executable_extensions; do
   7320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7321     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7322     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7323     break 2
   7324   fi
   7325 done
   7326   done
   7327 IFS=$as_save_IFS
   7328 
   7329 fi ;;
   7330 esac
   7331 fi
   7332 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7333 if test -n "$ac_ct_DLLTOOL"; then
   7334   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7335 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   7336 else
   7337   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7338 printf '%s\n' "no" >&6; }
   7339 fi
   7340 
   7341   if test "x$ac_ct_DLLTOOL" = x; then
   7342     DLLTOOL="false"
   7343   else
   7344     case $cross_compiling:$ac_tool_warned in
   7345 yes:)
   7346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7347 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7348 ac_tool_warned=yes ;;
   7349 esac
   7350     DLLTOOL=$ac_ct_DLLTOOL
   7351   fi
   7352 else
   7353   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7354 fi
   7355 
   7356 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7368 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7369 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7370 then :
   7371   printf %s "(cached) " >&6
   7372 else case e in #(
   7373   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7374 
   7375 case $host_os in
   7376 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7377   # two different shell functions defined in ltmain.sh;
   7378   # decide which one to use based on capabilities of $DLLTOOL
   7379   case `$DLLTOOL --help 2>&1` in
   7380   *--identify-strict*)
   7381     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7382     ;;
   7383   *)
   7384     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7385     ;;
   7386   esac
   7387   ;;
   7388 *)
   7389   # fallback: assume linklib IS sharedlib
   7390   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7391   ;;
   7392 esac
   7393  ;;
   7394 esac
   7395 fi
   7396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7397 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7398 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7399 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 if test -n "$ac_tool_prefix"; then
   7408   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7409 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7410 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7411 printf %s "checking for $ac_word... " >&6; }
   7412 if test ${ac_cv_prog_RANLIB+y}
   7413 then :
   7414   printf %s "(cached) " >&6
   7415 else case e in #(
   7416   e) if test -n "$RANLIB"; then
   7417   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7418 else
   7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7420 for as_dir in $PATH
   7421 do
   7422   IFS=$as_save_IFS
   7423   case $as_dir in #(((
   7424     '') as_dir=./ ;;
   7425     */) ;;
   7426     *) as_dir=$as_dir/ ;;
   7427   esac
   7428     for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7430     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7431     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435   done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi ;;
   7439 esac
   7440 fi
   7441 RANLIB=$ac_cv_prog_RANLIB
   7442 if test -n "$RANLIB"; then
   7443   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7444 printf '%s\n' "$RANLIB" >&6; }
   7445 else
   7446   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7447 printf '%s\n' "no" >&6; }
   7448 fi
   7449 
   7450 
   7451 fi
   7452 if test -z "$ac_cv_prog_RANLIB"; then
   7453   ac_ct_RANLIB=$RANLIB
   7454   # Extract the first word of "ranlib", so it can be a program name with args.
   7455 set dummy ranlib; ac_word=$2
   7456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7457 printf %s "checking for $ac_word... " >&6; }
   7458 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7459 then :
   7460   printf %s "(cached) " >&6
   7461 else case e in #(
   7462   e) if test -n "$ac_ct_RANLIB"; then
   7463   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7464 else
   7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7466 for as_dir in $PATH
   7467 do
   7468   IFS=$as_save_IFS
   7469   case $as_dir in #(((
   7470     '') as_dir=./ ;;
   7471     */) ;;
   7472     *) as_dir=$as_dir/ ;;
   7473   esac
   7474     for ac_exec_ext in '' $ac_executable_extensions; do
   7475   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7476     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7477     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7478     break 2
   7479   fi
   7480 done
   7481   done
   7482 IFS=$as_save_IFS
   7483 
   7484 fi ;;
   7485 esac
   7486 fi
   7487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7488 if test -n "$ac_ct_RANLIB"; then
   7489   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7490 printf '%s\n' "$ac_ct_RANLIB" >&6; }
   7491 else
   7492   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7493 printf '%s\n' "no" >&6; }
   7494 fi
   7495 
   7496   if test "x$ac_ct_RANLIB" = x; then
   7497     RANLIB=":"
   7498   else
   7499     case $cross_compiling:$ac_tool_warned in
   7500 yes:)
   7501 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7502 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7503 ac_tool_warned=yes ;;
   7504 esac
   7505     RANLIB=$ac_ct_RANLIB
   7506   fi
   7507 else
   7508   RANLIB="$ac_cv_prog_RANLIB"
   7509 fi
   7510 
   7511 if test -n "$ac_tool_prefix"; then
   7512   for ac_prog in ar
   7513   do
   7514     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7517 printf %s "checking for $ac_word... " >&6; }
   7518 if test ${ac_cv_prog_AR+y}
   7519 then :
   7520   printf %s "(cached) " >&6
   7521 else case e in #(
   7522   e) if test -n "$AR"; then
   7523   ac_cv_prog_AR="$AR" # Let the user override the test.
   7524 else
   7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7526 for as_dir in $PATH
   7527 do
   7528   IFS=$as_save_IFS
   7529   case $as_dir in #(((
   7530     '') as_dir=./ ;;
   7531     */) ;;
   7532     *) as_dir=$as_dir/ ;;
   7533   esac
   7534     for ac_exec_ext in '' $ac_executable_extensions; do
   7535   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7536     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7537     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7538     break 2
   7539   fi
   7540 done
   7541   done
   7542 IFS=$as_save_IFS
   7543 
   7544 fi ;;
   7545 esac
   7546 fi
   7547 AR=$ac_cv_prog_AR
   7548 if test -n "$AR"; then
   7549   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7550 printf '%s\n' "$AR" >&6; }
   7551 else
   7552   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7553 printf '%s\n' "no" >&6; }
   7554 fi
   7555 
   7556 
   7557     test -n "$AR" && break
   7558   done
   7559 fi
   7560 if test -z "$AR"; then
   7561   ac_ct_AR=$AR
   7562   for ac_prog in ar
   7563 do
   7564   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7565 set dummy $ac_prog; ac_word=$2
   7566 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7567 printf %s "checking for $ac_word... " >&6; }
   7568 if test ${ac_cv_prog_ac_ct_AR+y}
   7569 then :
   7570   printf %s "(cached) " >&6
   7571 else case e in #(
   7572   e) if test -n "$ac_ct_AR"; then
   7573   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7574 else
   7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7576 for as_dir in $PATH
   7577 do
   7578   IFS=$as_save_IFS
   7579   case $as_dir in #(((
   7580     '') as_dir=./ ;;
   7581     */) ;;
   7582     *) as_dir=$as_dir/ ;;
   7583   esac
   7584     for ac_exec_ext in '' $ac_executable_extensions; do
   7585   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7586     ac_cv_prog_ac_ct_AR="$ac_prog"
   7587     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7588     break 2
   7589   fi
   7590 done
   7591   done
   7592 IFS=$as_save_IFS
   7593 
   7594 fi ;;
   7595 esac
   7596 fi
   7597 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7598 if test -n "$ac_ct_AR"; then
   7599   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7600 printf '%s\n' "$ac_ct_AR" >&6; }
   7601 else
   7602   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7603 printf '%s\n' "no" >&6; }
   7604 fi
   7605 
   7606 
   7607   test -n "$ac_ct_AR" && break
   7608 done
   7609 
   7610   if test "x$ac_ct_AR" = x; then
   7611     AR="false"
   7612   else
   7613     case $cross_compiling:$ac_tool_warned in
   7614 yes:)
   7615 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7616 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7617 ac_tool_warned=yes ;;
   7618 esac
   7619     AR=$ac_ct_AR
   7620   fi
   7621 fi
   7622 
   7623 : ${AR=ar}
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7631 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7632 # higher priority because that's what people were doing historically (setting
   7633 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7634 # variable obsoleted/removed.
   7635 
   7636 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7637 lt_ar_flags=$AR_FLAGS
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7645 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7653 printf %s "checking for archiver @FILE support... " >&6; }
   7654 if test ${lt_cv_ar_at_file+y}
   7655 then :
   7656   printf %s "(cached) " >&6
   7657 else case e in #(
   7658   e) lt_cv_ar_at_file=no
   7659    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 
   7662 int
   7663 main (void)
   7664 {
   7665 
   7666   ;
   7667   return 0;
   7668 }
   7669 _ACEOF
   7670 if ac_fn_c_try_compile "$LINENO"
   7671 then :
   7672   echo conftest.$ac_objext > conftest.lst
   7673       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7674       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7675   (eval $lt_ar_try) 2>&5
   7676   ac_status=$?
   7677   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7678   test $ac_status = 0; }
   7679       if test 0 -eq "$ac_status"; then
   7680 	# Ensure the archiver fails upon bogus file names.
   7681 	rm -f conftest.$ac_objext libconftest.a
   7682 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7683   (eval $lt_ar_try) 2>&5
   7684   ac_status=$?
   7685   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7686   test $ac_status = 0; }
   7687 	if test 0 -ne "$ac_status"; then
   7688           lt_cv_ar_at_file=@
   7689         fi
   7690       fi
   7691       rm -f conftest.* libconftest.a
   7692 
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7695    ;;
   7696 esac
   7697 fi
   7698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7699 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
   7700 
   7701 if test no = "$lt_cv_ar_at_file"; then
   7702   archiver_list_spec=
   7703 else
   7704   archiver_list_spec=$lt_cv_ar_at_file
   7705 fi
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 if test -n "$ac_tool_prefix"; then
   7714   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7715 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7717 printf %s "checking for $ac_word... " >&6; }
   7718 if test ${ac_cv_prog_STRIP+y}
   7719 then :
   7720   printf %s "(cached) " >&6
   7721 else case e in #(
   7722   e) if test -n "$STRIP"; then
   7723   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7724 else
   7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7726 for as_dir in $PATH
   7727 do
   7728   IFS=$as_save_IFS
   7729   case $as_dir in #(((
   7730     '') as_dir=./ ;;
   7731     */) ;;
   7732     *) as_dir=$as_dir/ ;;
   7733   esac
   7734     for ac_exec_ext in '' $ac_executable_extensions; do
   7735   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7736     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7737     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7738     break 2
   7739   fi
   7740 done
   7741   done
   7742 IFS=$as_save_IFS
   7743 
   7744 fi ;;
   7745 esac
   7746 fi
   7747 STRIP=$ac_cv_prog_STRIP
   7748 if test -n "$STRIP"; then
   7749   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7750 printf '%s\n' "$STRIP" >&6; }
   7751 else
   7752   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7753 printf '%s\n' "no" >&6; }
   7754 fi
   7755 
   7756 
   7757 fi
   7758 if test -z "$ac_cv_prog_STRIP"; then
   7759   ac_ct_STRIP=$STRIP
   7760   # Extract the first word of "strip", so it can be a program name with args.
   7761 set dummy strip; ac_word=$2
   7762 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7763 printf %s "checking for $ac_word... " >&6; }
   7764 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7765 then :
   7766   printf %s "(cached) " >&6
   7767 else case e in #(
   7768   e) if test -n "$ac_ct_STRIP"; then
   7769   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7770 else
   7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7772 for as_dir in $PATH
   7773 do
   7774   IFS=$as_save_IFS
   7775   case $as_dir in #(((
   7776     '') as_dir=./ ;;
   7777     */) ;;
   7778     *) as_dir=$as_dir/ ;;
   7779   esac
   7780     for ac_exec_ext in '' $ac_executable_extensions; do
   7781   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7782     ac_cv_prog_ac_ct_STRIP="strip"
   7783     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7784     break 2
   7785   fi
   7786 done
   7787   done
   7788 IFS=$as_save_IFS
   7789 
   7790 fi ;;
   7791 esac
   7792 fi
   7793 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7794 if test -n "$ac_ct_STRIP"; then
   7795   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7796 printf '%s\n' "$ac_ct_STRIP" >&6; }
   7797 else
   7798   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7799 printf '%s\n' "no" >&6; }
   7800 fi
   7801 
   7802   if test "x$ac_ct_STRIP" = x; then
   7803     STRIP=":"
   7804   else
   7805     case $cross_compiling:$ac_tool_warned in
   7806 yes:)
   7807 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7808 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7809 ac_tool_warned=yes ;;
   7810 esac
   7811     STRIP=$ac_ct_STRIP
   7812   fi
   7813 else
   7814   STRIP="$ac_cv_prog_STRIP"
   7815 fi
   7816 
   7817 test -z "$STRIP" && STRIP=:
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 test -z "$RANLIB" && RANLIB=:
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 # Determine commands to create old-style static archives.
   7833 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7834 old_postinstall_cmds='chmod 644 $oldlib'
   7835 old_postuninstall_cmds=
   7836 
   7837 if test -n "$RANLIB"; then
   7838   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7839   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7840 fi
   7841 
   7842 case $host_os in
   7843   darwin*)
   7844     lock_old_archive_extraction=yes ;;
   7845   *)
   7846     lock_old_archive_extraction=no ;;
   7847 esac
   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 
   7886 
   7887 # If no C compiler was specified, use CC.
   7888 LTCC=${LTCC-"$CC"}
   7889 
   7890 # If no C compiler flags were specified, use CFLAGS.
   7891 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7892 
   7893 # Allow CC to be a program name with arguments.
   7894 compiler=$CC
   7895 
   7896 
   7897 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7898 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7899 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7900 if test ${lt_cv_sys_global_symbol_pipe+y}
   7901 then :
   7902   printf %s "(cached) " >&6
   7903 else case e in #(
   7904   e)
   7905 # These are sane defaults that work on at least a few old systems.
   7906 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7907 
   7908 # Character class describing NM global symbol codes.
   7909 symcode='[BCDEGRST]'
   7910 
   7911 # Regexp to match symbols that can be accessed directly from C.
   7912 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7913 
   7914 # Define system-specific variables.
   7915 case $host_os in
   7916 aix*)
   7917   symcode='[BCDT]'
   7918   ;;
   7919 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7920   symcode='[ABCDGISTW]'
   7921   ;;
   7922 hpux*)
   7923   if test ia64 = "$host_cpu"; then
   7924     symcode='[ABCDEGRST]'
   7925   fi
   7926   ;;
   7927 irix* | nonstopux*)
   7928   symcode='[BCDEGRST]'
   7929   ;;
   7930 osf*)
   7931   symcode='[BCDEGQRST]'
   7932   ;;
   7933 solaris*)
   7934   symcode='[BCDRT]'
   7935   ;;
   7936 sco3.2v5*)
   7937   symcode='[DT]'
   7938   ;;
   7939 sysv4.2uw2*)
   7940   symcode='[DT]'
   7941   ;;
   7942 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7943   symcode='[ABDT]'
   7944   ;;
   7945 sysv4)
   7946   symcode='[DFNSTU]'
   7947   ;;
   7948 esac
   7949 
   7950 # If we're using GNU nm, then use its standard symbol codes.
   7951 case `$NM -V 2>&1` in
   7952 *GNU* | *'with BFD'*)
   7953   symcode='[ABCDGIRSTW]' ;;
   7954 esac
   7955 
   7956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7957   # Gets list of data symbols to import.
   7958   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/\1/p'"
   7959   # Adjust the below global symbol transforms to fixup imported variables.
   7960   lt_cdecl_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern __declspec(dllimport) char \1;/p'"
   7961   lt_c_name_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'"
   7962   lt_c_name_lib_hook="\
   7963   -e 's/^I .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'\
   7964   -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) 0},/p'"
   7965 else
   7966   # Disable hooks by default.
   7967   lt_cv_sys_global_symbol_to_import=
   7968   lt_cdecl_hook=
   7969   lt_c_name_hook=
   7970   lt_c_name_lib_hook=
   7971 fi
   7972 
   7973 # Transform an extracted symbol line into a proper C declaration.
   7974 # Some systems (esp. on ia64) link data and code symbols differently,
   7975 # so use this general approach.
   7976 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7977 $lt_cdecl_hook\
   7978 " -e 's/^T .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern int \1();/p'"\
   7979 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern char \1;/p'"
   7980 
   7981 # Transform an extracted symbol line into symbol name and symbol address
   7982 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7983 $lt_c_name_hook\
   7984 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7985 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"
   7986 
   7987 # Transform an extracted symbol line into symbol name with lib prefix and
   7988 # symbol address.
   7989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7990 $lt_c_name_lib_hook\
   7991 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7992 " -e 's/^$symcode$symcode* .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7993 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7994 
   7995 # Handle CRLF in mingw tool chain
   7996 opt_cr=
   7997 case $build_os in
   7998 mingw* | windows*)
   7999   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8000   ;;
   8001 esac
   8002 
   8003 # Try without a prefix underscore, then with it.
   8004 for ac_symprfx in "" "_"; do
   8005 
   8006   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8007   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8008 
   8009   # Write the raw and C identifiers.
   8010   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8011     # Fake it for dumpbin and say T for any non-static function,
   8012     # D for any global variable and I for any imported variable.
   8013     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   8014     # which start with @ or ?.  And Cygwin gawk-4.1.4-3 and newer
   8015     # treats input as binary, have to drop carriage return first.
   8016     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8017 "     {sub(/\\r\$/,\"\")};"\
   8018 "     {last_section=section; section=\$ 3};"\
   8019 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8020 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8021 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8022 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8023 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8024 "     \$ 0!~/External *\|/{next};"\
   8025 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8026 "     {if(hide[section]) next};"\
   8027 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8028 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8029 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8030 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8031 "     ' prfx=^$ac_symprfx"
   8032   else
   8033     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8034   fi
   8035   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   8036 
   8037   # Check to see that the pipe works correctly.
   8038   pipe_works=no
   8039 
   8040   rm -f conftest*
   8041   cat > conftest.$ac_ext <<_LT_EOF
   8042 #ifdef __cplusplus
   8043 extern "C" {
   8044 #endif
   8045 char nm_test_var;
   8046 void nm_test_func(void);
   8047 void nm_test_func(void){}
   8048 #ifdef __cplusplus
   8049 }
   8050 #endif
   8051 int main(void){nm_test_var='a';nm_test_func();return(0);}
   8052 _LT_EOF
   8053 
   8054   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8055   (eval $ac_compile) 2>&5
   8056   ac_status=$?
   8057   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8058   test $ac_status = 0; }; then
   8059     # Now try to grab the symbols.
   8060     nlist=conftest.nm
   8061     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   8062     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   8063       # Try sorting and uniquifying the output.
   8064       if sort "$nlist" | uniq > "$nlist"T; then
   8065 	mv -f "$nlist"T "$nlist"
   8066       else
   8067 	rm -f "$nlist"T
   8068       fi
   8069 
   8070       # Make sure that we snagged all the symbols we need.
   8071       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8072 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8073 	  cat <<_LT_EOF > conftest.$ac_ext
   8074 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8075 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8076 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8077    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8078 # define LT_DLSYM_CONST
   8079 #elif defined __osf__
   8080 /* This system does not cope well with relocations in const data.  */
   8081 # define LT_DLSYM_CONST
   8082 #else
   8083 # define LT_DLSYM_CONST const
   8084 #endif
   8085 
   8086 #ifdef __cplusplus
   8087 extern "C" {
   8088 #endif
   8089 
   8090 _LT_EOF
   8091 	  # Now generate the symbol file.
   8092 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8093 
   8094 	  cat <<_LT_EOF >> conftest.$ac_ext
   8095 
   8096 /* The mapping between symbol names and symbols.  */
   8097 LT_DLSYM_CONST struct {
   8098   const char *name;
   8099   void       *address;
   8100 }
   8101 lt__PROGRAM__LTX_preloaded_symbols[] =
   8102 {
   8103   { "@PROGRAM@", (void *) 0 },
   8104 _LT_EOF
   8105 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8106 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8107   {0, (void *) 0}
   8108 };
   8109 
   8110 /* This works around a problem in FreeBSD linker */
   8111 #ifdef FREEBSD_WORKAROUND
   8112 static const void *lt_preloaded_setup() {
   8113   return lt__PROGRAM__LTX_preloaded_symbols;
   8114 }
   8115 #endif
   8116 
   8117 #ifdef __cplusplus
   8118 }
   8119 #endif
   8120 _LT_EOF
   8121 	  # Now try linking the two files.
   8122 	  mv conftest.$ac_objext conftstm.$ac_objext
   8123 	  lt_globsym_save_LIBS=$LIBS
   8124 	  lt_globsym_save_CFLAGS=$CFLAGS
   8125 	  LIBS=conftstm.$ac_objext
   8126 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8127 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8128   (eval $ac_link) 2>&5
   8129   ac_status=$?
   8130   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8131   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8132 	    pipe_works=yes
   8133 	  fi
   8134 	  LIBS=$lt_globsym_save_LIBS
   8135 	  CFLAGS=$lt_globsym_save_CFLAGS
   8136 	else
   8137 	  echo "cannot find nm_test_func in $nlist" >&5
   8138 	fi
   8139       else
   8140 	echo "cannot find nm_test_var in $nlist" >&5
   8141       fi
   8142     else
   8143       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8144     fi
   8145   else
   8146     echo "$progname: failed program was:" >&5
   8147     cat conftest.$ac_ext >&5
   8148   fi
   8149   rm -rf conftest* conftst*
   8150 
   8151   # Do not use the global_symbol_pipe unless it works.
   8152   if test yes = "$pipe_works"; then
   8153     break
   8154   else
   8155     lt_cv_sys_global_symbol_pipe=
   8156   fi
   8157 done
   8158  ;;
   8159 esac
   8160 fi
   8161 
   8162 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8163   lt_cv_sys_global_symbol_to_cdecl=
   8164 fi
   8165 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8166   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8167 printf '%s\n' "failed" >&6; }
   8168 else
   8169   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8170 printf '%s\n' "ok" >&6; }
   8171 fi
   8172 
   8173 # Response file support.
   8174 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8175   nm_file_list_spec='@'
   8176 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8177   nm_file_list_spec='@'
   8178 fi
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8217 printf %s "checking for sysroot... " >&6; }
   8218 
   8219 # Check whether --with-sysroot was given.
   8220 if test ${with_sysroot+y}
   8221 then :
   8222   withval=$with_sysroot;
   8223 else case e in #(
   8224   e) with_sysroot=no ;;
   8225 esac
   8226 fi
   8227 
   8228 
   8229 lt_sysroot=
   8230 case $with_sysroot in #(
   8231  yes)
   8232    if test yes = "$GCC"; then
   8233      # Trim trailing / since we'll always append absolute paths and we want
   8234      # to avoid //, if only for less confusing output for the user.
   8235      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   8236    fi
   8237    ;; #(
   8238  /*)
   8239    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   8240    ;; #(
   8241  no|'')
   8242    ;; #(
   8243  *)
   8244    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8245 printf '%s\n' "$with_sysroot" >&6; }
   8246    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8247    ;;
   8248 esac
   8249 
   8250  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8251 printf '%s\n' "${lt_sysroot:-no}" >&6; }
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8258 printf %s "checking for a working dd... " >&6; }
   8259 if test ${ac_cv_path_lt_DD+y}
   8260 then :
   8261   printf %s "(cached) " >&6
   8262 else case e in #(
   8263   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8264 cat conftest.i conftest.i >conftest2.i
   8265 : ${lt_DD:=$DD}
   8266 if test -z "$lt_DD"; then
   8267   ac_path_lt_DD_found=false
   8268   # Loop through the user's path and test for each of PROGNAME-LIST
   8269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8270 for as_dir in $PATH
   8271 do
   8272   IFS=$as_save_IFS
   8273   case $as_dir in #(((
   8274     '') as_dir=./ ;;
   8275     */) ;;
   8276     *) as_dir=$as_dir/ ;;
   8277   esac
   8278     for ac_prog in dd
   8279    do
   8280     for ac_exec_ext in '' $ac_executable_extensions; do
   8281       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   8282       as_fn_executable_p "$ac_path_lt_DD" || continue
   8283 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8284   cmp -s conftest.i conftest.out \
   8285   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8286 fi
   8287       $ac_path_lt_DD_found && break 3
   8288     done
   8289   done
   8290   done
   8291 IFS=$as_save_IFS
   8292   if test -z "$ac_cv_path_lt_DD"; then
   8293     :
   8294   fi
   8295 else
   8296   ac_cv_path_lt_DD=$lt_DD
   8297 fi
   8298 
   8299 rm -f conftest.i conftest2.i conftest.out ;;
   8300 esac
   8301 fi
   8302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8303 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
   8304 
   8305 
   8306 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8307 printf %s "checking how to truncate binary pipes... " >&6; }
   8308 if test ${lt_cv_truncate_bin+y}
   8309 then :
   8310   printf %s "(cached) " >&6
   8311 else case e in #(
   8312   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8313 cat conftest.i conftest.i >conftest2.i
   8314 lt_cv_truncate_bin=
   8315 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8316   cmp -s conftest.i conftest.out \
   8317   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8318 fi
   8319 rm -f conftest.i conftest2.i conftest.out
   8320 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   8321 esac
   8322 fi
   8323 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8324 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8333 func_cc_basename ()
   8334 {
   8335     for cc_temp in $*""; do
   8336       case $cc_temp in
   8337         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8338         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8339         \-*) ;;
   8340         *) break;;
   8341       esac
   8342     done
   8343     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8344 }
   8345 
   8346 # Check whether --enable-libtool-lock was given.
   8347 if test ${enable_libtool_lock+y}
   8348 then :
   8349   enableval=$enable_libtool_lock;
   8350 fi
   8351 
   8352 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8353 
   8354 # Some flags need to be propagated to the compiler or linker for good
   8355 # libtool support.
   8356 case $host in
   8357 ia64-*-hpux*)
   8358   # Find out what ABI is being produced by ac_compile, and set mode
   8359   # options accordingly.
   8360   echo 'int i;' > conftest.$ac_ext
   8361   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8362   (eval $ac_compile) 2>&5
   8363   ac_status=$?
   8364   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8365   test $ac_status = 0; }; then
   8366     case `$FILECMD conftest.$ac_objext` in
   8367       *ELF-32*)
   8368 	HPUX_IA64_MODE=32
   8369 	;;
   8370       *ELF-64*)
   8371 	HPUX_IA64_MODE=64
   8372 	;;
   8373     esac
   8374   fi
   8375   rm -rf conftest*
   8376   ;;
   8377 *-*-irix6*)
   8378   # Find out what ABI is being produced by ac_compile, and set linker
   8379   # options accordingly.
   8380   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8381   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8382   (eval $ac_compile) 2>&5
   8383   ac_status=$?
   8384   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8385   test $ac_status = 0; }; then
   8386     if test yes = "$lt_cv_prog_gnu_ld"; then
   8387       case `$FILECMD conftest.$ac_objext` in
   8388 	*32-bit*)
   8389 	  LD="${LD-ld} -melf32bsmip"
   8390 	  ;;
   8391 	*N32*)
   8392 	  LD="${LD-ld} -melf32bmipn32"
   8393 	  ;;
   8394 	*64-bit*)
   8395 	  LD="${LD-ld} -melf64bmip"
   8396 	;;
   8397       esac
   8398     else
   8399       case `$FILECMD conftest.$ac_objext` in
   8400 	*32-bit*)
   8401 	  LD="${LD-ld} -32"
   8402 	  ;;
   8403 	*N32*)
   8404 	  LD="${LD-ld} -n32"
   8405 	  ;;
   8406 	*64-bit*)
   8407 	  LD="${LD-ld} -64"
   8408 	  ;;
   8409       esac
   8410     fi
   8411   fi
   8412   rm -rf conftest*
   8413   ;;
   8414 
   8415 mips64*-*linux*)
   8416   # Find out what ABI is being produced by ac_compile, and set linker
   8417   # options accordingly.
   8418   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8419   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8420   (eval $ac_compile) 2>&5
   8421   ac_status=$?
   8422   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8423   test $ac_status = 0; }; then
   8424     emul=elf
   8425     case `$FILECMD conftest.$ac_objext` in
   8426       *32-bit*)
   8427 	emul="${emul}32"
   8428 	;;
   8429       *64-bit*)
   8430 	emul="${emul}64"
   8431 	;;
   8432     esac
   8433     case `$FILECMD conftest.$ac_objext` in
   8434       *MSB*)
   8435 	emul="${emul}btsmip"
   8436 	;;
   8437       *LSB*)
   8438 	emul="${emul}ltsmip"
   8439 	;;
   8440     esac
   8441     case `$FILECMD conftest.$ac_objext` in
   8442       *N32*)
   8443 	emul="${emul}n32"
   8444 	;;
   8445     esac
   8446     LD="${LD-ld} -m $emul"
   8447   fi
   8448   rm -rf conftest*
   8449   ;;
   8450 
   8451 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8452 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8453   # Find out what ABI is being produced by ac_compile, and set linker
   8454   # options accordingly.  Note that the listed cases only cover the
   8455   # situations where additional linker options are needed (such as when
   8456   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8457   # vice versa); the common cases where no linker options are needed do
   8458   # not appear in the list.
   8459   echo 'int i;' > conftest.$ac_ext
   8460   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8461   (eval $ac_compile) 2>&5
   8462   ac_status=$?
   8463   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8464   test $ac_status = 0; }; then
   8465     case `$FILECMD conftest.o` in
   8466       *32-bit*)
   8467 	case $host in
   8468 	  x86_64-*kfreebsd*-gnu)
   8469 	    LD="${LD-ld} -m elf_i386_fbsd"
   8470 	    ;;
   8471 	  x86_64-*linux*|x86_64-gnu*)
   8472 	    case `$FILECMD conftest.o` in
   8473 	      *x86-64*)
   8474 		LD="${LD-ld} -m elf32_x86_64"
   8475 		;;
   8476 	      *)
   8477 		LD="${LD-ld} -m elf_i386"
   8478 		;;
   8479 	    esac
   8480 	    ;;
   8481 	  powerpc64le-*linux*)
   8482 	    LD="${LD-ld} -m elf32lppclinux"
   8483 	    ;;
   8484 	  powerpc64-*linux*)
   8485 	    LD="${LD-ld} -m elf32ppclinux"
   8486 	    ;;
   8487 	  s390x-*linux*)
   8488 	    LD="${LD-ld} -m elf_s390"
   8489 	    ;;
   8490 	  sparc64-*linux*)
   8491 	    LD="${LD-ld} -m elf32_sparc"
   8492 	    ;;
   8493 	esac
   8494 	;;
   8495       *64-bit*)
   8496 	case $host in
   8497 	  x86_64-*kfreebsd*-gnu)
   8498 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8499 	    ;;
   8500 	  x86_64-*linux*|x86_64-gnu*)
   8501 	    LD="${LD-ld} -m elf_x86_64"
   8502 	    ;;
   8503 	  powerpcle-*linux*)
   8504 	    LD="${LD-ld} -m elf64lppc"
   8505 	    ;;
   8506 	  powerpc-*linux*)
   8507 	    LD="${LD-ld} -m elf64ppc"
   8508 	    ;;
   8509 	  s390*-*linux*|s390*-*tpf*)
   8510 	    LD="${LD-ld} -m elf64_s390"
   8511 	    ;;
   8512 	  sparc*-*linux*)
   8513 	    LD="${LD-ld} -m elf64_sparc"
   8514 	    ;;
   8515 	esac
   8516 	;;
   8517     esac
   8518   fi
   8519   rm -rf conftest*
   8520   ;;
   8521 
   8522 *-*-sco3.2v5*)
   8523   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8524   SAVE_CFLAGS=$CFLAGS
   8525   CFLAGS="$CFLAGS -belf"
   8526   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8527 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8528 if test ${lt_cv_cc_needs_belf+y}
   8529 then :
   8530   printf %s "(cached) " >&6
   8531 else case e in #(
   8532   e) ac_ext=c
   8533 ac_cpp='$CPP $CPPFLAGS'
   8534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8537 
   8538      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8539 /* end confdefs.h.  */
   8540 
   8541 int
   8542 main (void)
   8543 {
   8544 
   8545   ;
   8546   return 0;
   8547 }
   8548 _ACEOF
   8549 if ac_fn_c_try_link "$LINENO"
   8550 then :
   8551   lt_cv_cc_needs_belf=yes
   8552 else case e in #(
   8553   e) lt_cv_cc_needs_belf=no ;;
   8554 esac
   8555 fi
   8556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8557     conftest$ac_exeext conftest.$ac_ext
   8558      ac_ext=c
   8559 ac_cpp='$CPP $CPPFLAGS'
   8560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8563  ;;
   8564 esac
   8565 fi
   8566 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8567 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
   8568   if test yes != "$lt_cv_cc_needs_belf"; then
   8569     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8570     CFLAGS=$SAVE_CFLAGS
   8571   fi
   8572   ;;
   8573 *-*solaris*)
   8574   # Find out what ABI is being produced by ac_compile, and set linker
   8575   # options accordingly.
   8576   echo 'int i;' > conftest.$ac_ext
   8577   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8578   (eval $ac_compile) 2>&5
   8579   ac_status=$?
   8580   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8581   test $ac_status = 0; }; then
   8582     case `$FILECMD conftest.o` in
   8583     *64-bit*)
   8584       case $lt_cv_prog_gnu_ld in
   8585       yes*)
   8586         case $host in
   8587         i?86-*-solaris*|x86_64-*-solaris*)
   8588           LD="${LD-ld} -m elf_x86_64"
   8589           ;;
   8590         sparc*-*-solaris*)
   8591           LD="${LD-ld} -m elf64_sparc"
   8592           ;;
   8593         esac
   8594         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8595         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8596           LD=${LD-ld}_sol2
   8597         fi
   8598         ;;
   8599       *)
   8600 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8601 	  LD="${LD-ld} -64"
   8602 	fi
   8603 	;;
   8604       esac
   8605       ;;
   8606     esac
   8607   fi
   8608   rm -rf conftest*
   8609   ;;
   8610 esac
   8611 
   8612 need_locks=$enable_libtool_lock
   8613 
   8614 if test -n "$ac_tool_prefix"; then
   8615   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8616 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8618 printf %s "checking for $ac_word... " >&6; }
   8619 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8620 then :
   8621   printf %s "(cached) " >&6
   8622 else case e in #(
   8623   e) if test -n "$MANIFEST_TOOL"; then
   8624   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8625 else
   8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8627 for as_dir in $PATH
   8628 do
   8629   IFS=$as_save_IFS
   8630   case $as_dir in #(((
   8631     '') as_dir=./ ;;
   8632     */) ;;
   8633     *) as_dir=$as_dir/ ;;
   8634   esac
   8635     for ac_exec_ext in '' $ac_executable_extensions; do
   8636   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8637     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8638     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8639     break 2
   8640   fi
   8641 done
   8642   done
   8643 IFS=$as_save_IFS
   8644 
   8645 fi ;;
   8646 esac
   8647 fi
   8648 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8649 if test -n "$MANIFEST_TOOL"; then
   8650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8651 printf '%s\n' "$MANIFEST_TOOL" >&6; }
   8652 else
   8653   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8654 printf '%s\n' "no" >&6; }
   8655 fi
   8656 
   8657 
   8658 fi
   8659 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8660   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8661   # Extract the first word of "mt", so it can be a program name with args.
   8662 set dummy mt; ac_word=$2
   8663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8664 printf %s "checking for $ac_word... " >&6; }
   8665 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8666 then :
   8667   printf %s "(cached) " >&6
   8668 else case e in #(
   8669   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8670   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8671 else
   8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8673 for as_dir in $PATH
   8674 do
   8675   IFS=$as_save_IFS
   8676   case $as_dir in #(((
   8677     '') as_dir=./ ;;
   8678     */) ;;
   8679     *) as_dir=$as_dir/ ;;
   8680   esac
   8681     for ac_exec_ext in '' $ac_executable_extensions; do
   8682   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8683     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8684     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8685     break 2
   8686   fi
   8687 done
   8688   done
   8689 IFS=$as_save_IFS
   8690 
   8691 fi ;;
   8692 esac
   8693 fi
   8694 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8695 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8696   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8697 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
   8698 else
   8699   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8700 printf '%s\n' "no" >&6; }
   8701 fi
   8702 
   8703   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8704     MANIFEST_TOOL=":"
   8705   else
   8706     case $cross_compiling:$ac_tool_warned in
   8707 yes:)
   8708 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8709 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8710 ac_tool_warned=yes ;;
   8711 esac
   8712     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8713   fi
   8714 else
   8715   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8716 fi
   8717 
   8718 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8720 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8721 if test ${lt_cv_path_manifest_tool+y}
   8722 then :
   8723   printf %s "(cached) " >&6
   8724 else case e in #(
   8725   e) lt_cv_path_manifest_tool=no
   8726   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8727   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8728   cat conftest.err >&5
   8729   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8730     lt_cv_path_manifest_tool=yes
   8731   fi
   8732   rm -f conftest* ;;
   8733 esac
   8734 fi
   8735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8736 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
   8737 if test yes != "$lt_cv_path_manifest_tool"; then
   8738   MANIFEST_TOOL=:
   8739 fi
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746   case $host_os in
   8747     rhapsody* | darwin*)
   8748     if test -n "$ac_tool_prefix"; then
   8749   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8750 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8752 printf %s "checking for $ac_word... " >&6; }
   8753 if test ${ac_cv_prog_DSYMUTIL+y}
   8754 then :
   8755   printf %s "(cached) " >&6
   8756 else case e in #(
   8757   e) if test -n "$DSYMUTIL"; then
   8758   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8759 else
   8760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8761 for as_dir in $PATH
   8762 do
   8763   IFS=$as_save_IFS
   8764   case $as_dir in #(((
   8765     '') as_dir=./ ;;
   8766     */) ;;
   8767     *) as_dir=$as_dir/ ;;
   8768   esac
   8769     for ac_exec_ext in '' $ac_executable_extensions; do
   8770   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8771     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8772     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8773     break 2
   8774   fi
   8775 done
   8776   done
   8777 IFS=$as_save_IFS
   8778 
   8779 fi ;;
   8780 esac
   8781 fi
   8782 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8783 if test -n "$DSYMUTIL"; then
   8784   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8785 printf '%s\n' "$DSYMUTIL" >&6; }
   8786 else
   8787   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8788 printf '%s\n' "no" >&6; }
   8789 fi
   8790 
   8791 
   8792 fi
   8793 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8794   ac_ct_DSYMUTIL=$DSYMUTIL
   8795   # Extract the first word of "dsymutil", so it can be a program name with args.
   8796 set dummy dsymutil; ac_word=$2
   8797 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8798 printf %s "checking for $ac_word... " >&6; }
   8799 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8800 then :
   8801   printf %s "(cached) " >&6
   8802 else case e in #(
   8803   e) if test -n "$ac_ct_DSYMUTIL"; then
   8804   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8805 else
   8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8807 for as_dir in $PATH
   8808 do
   8809   IFS=$as_save_IFS
   8810   case $as_dir in #(((
   8811     '') as_dir=./ ;;
   8812     */) ;;
   8813     *) as_dir=$as_dir/ ;;
   8814   esac
   8815     for ac_exec_ext in '' $ac_executable_extensions; do
   8816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8817     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8818     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8819     break 2
   8820   fi
   8821 done
   8822   done
   8823 IFS=$as_save_IFS
   8824 
   8825 fi ;;
   8826 esac
   8827 fi
   8828 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8829 if test -n "$ac_ct_DSYMUTIL"; then
   8830   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8831 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
   8832 else
   8833   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8834 printf '%s\n' "no" >&6; }
   8835 fi
   8836 
   8837   if test "x$ac_ct_DSYMUTIL" = x; then
   8838     DSYMUTIL=":"
   8839   else
   8840     case $cross_compiling:$ac_tool_warned in
   8841 yes:)
   8842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8843 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8844 ac_tool_warned=yes ;;
   8845 esac
   8846     DSYMUTIL=$ac_ct_DSYMUTIL
   8847   fi
   8848 else
   8849   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8850 fi
   8851 
   8852     if test -n "$ac_tool_prefix"; then
   8853   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8854 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8855 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8856 printf %s "checking for $ac_word... " >&6; }
   8857 if test ${ac_cv_prog_NMEDIT+y}
   8858 then :
   8859   printf %s "(cached) " >&6
   8860 else case e in #(
   8861   e) if test -n "$NMEDIT"; then
   8862   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8863 else
   8864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8865 for as_dir in $PATH
   8866 do
   8867   IFS=$as_save_IFS
   8868   case $as_dir in #(((
   8869     '') as_dir=./ ;;
   8870     */) ;;
   8871     *) as_dir=$as_dir/ ;;
   8872   esac
   8873     for ac_exec_ext in '' $ac_executable_extensions; do
   8874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8875     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8876     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8877     break 2
   8878   fi
   8879 done
   8880   done
   8881 IFS=$as_save_IFS
   8882 
   8883 fi ;;
   8884 esac
   8885 fi
   8886 NMEDIT=$ac_cv_prog_NMEDIT
   8887 if test -n "$NMEDIT"; then
   8888   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8889 printf '%s\n' "$NMEDIT" >&6; }
   8890 else
   8891   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8892 printf '%s\n' "no" >&6; }
   8893 fi
   8894 
   8895 
   8896 fi
   8897 if test -z "$ac_cv_prog_NMEDIT"; then
   8898   ac_ct_NMEDIT=$NMEDIT
   8899   # Extract the first word of "nmedit", so it can be a program name with args.
   8900 set dummy nmedit; ac_word=$2
   8901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8902 printf %s "checking for $ac_word... " >&6; }
   8903 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8904 then :
   8905   printf %s "(cached) " >&6
   8906 else case e in #(
   8907   e) if test -n "$ac_ct_NMEDIT"; then
   8908   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8909 else
   8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8911 for as_dir in $PATH
   8912 do
   8913   IFS=$as_save_IFS
   8914   case $as_dir in #(((
   8915     '') as_dir=./ ;;
   8916     */) ;;
   8917     *) as_dir=$as_dir/ ;;
   8918   esac
   8919     for ac_exec_ext in '' $ac_executable_extensions; do
   8920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8921     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8922     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8923     break 2
   8924   fi
   8925 done
   8926   done
   8927 IFS=$as_save_IFS
   8928 
   8929 fi ;;
   8930 esac
   8931 fi
   8932 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8933 if test -n "$ac_ct_NMEDIT"; then
   8934   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8935 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
   8936 else
   8937   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8938 printf '%s\n' "no" >&6; }
   8939 fi
   8940 
   8941   if test "x$ac_ct_NMEDIT" = x; then
   8942     NMEDIT=":"
   8943   else
   8944     case $cross_compiling:$ac_tool_warned in
   8945 yes:)
   8946 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8947 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8948 ac_tool_warned=yes ;;
   8949 esac
   8950     NMEDIT=$ac_ct_NMEDIT
   8951   fi
   8952 else
   8953   NMEDIT="$ac_cv_prog_NMEDIT"
   8954 fi
   8955 
   8956     if test -n "$ac_tool_prefix"; then
   8957   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8958 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8959 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8960 printf %s "checking for $ac_word... " >&6; }
   8961 if test ${ac_cv_prog_LIPO+y}
   8962 then :
   8963   printf %s "(cached) " >&6
   8964 else case e in #(
   8965   e) if test -n "$LIPO"; then
   8966   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8967 else
   8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8969 for as_dir in $PATH
   8970 do
   8971   IFS=$as_save_IFS
   8972   case $as_dir in #(((
   8973     '') as_dir=./ ;;
   8974     */) ;;
   8975     *) as_dir=$as_dir/ ;;
   8976   esac
   8977     for ac_exec_ext in '' $ac_executable_extensions; do
   8978   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8979     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8980     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8981     break 2
   8982   fi
   8983 done
   8984   done
   8985 IFS=$as_save_IFS
   8986 
   8987 fi ;;
   8988 esac
   8989 fi
   8990 LIPO=$ac_cv_prog_LIPO
   8991 if test -n "$LIPO"; then
   8992   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8993 printf '%s\n' "$LIPO" >&6; }
   8994 else
   8995   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8996 printf '%s\n' "no" >&6; }
   8997 fi
   8998 
   8999 
   9000 fi
   9001 if test -z "$ac_cv_prog_LIPO"; then
   9002   ac_ct_LIPO=$LIPO
   9003   # Extract the first word of "lipo", so it can be a program name with args.
   9004 set dummy lipo; ac_word=$2
   9005 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9006 printf %s "checking for $ac_word... " >&6; }
   9007 if test ${ac_cv_prog_ac_ct_LIPO+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else case e in #(
   9011   e) if test -n "$ac_ct_LIPO"; then
   9012   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9013 else
   9014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9015 for as_dir in $PATH
   9016 do
   9017   IFS=$as_save_IFS
   9018   case $as_dir in #(((
   9019     '') as_dir=./ ;;
   9020     */) ;;
   9021     *) as_dir=$as_dir/ ;;
   9022   esac
   9023     for ac_exec_ext in '' $ac_executable_extensions; do
   9024   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9025     ac_cv_prog_ac_ct_LIPO="lipo"
   9026     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9027     break 2
   9028   fi
   9029 done
   9030   done
   9031 IFS=$as_save_IFS
   9032 
   9033 fi ;;
   9034 esac
   9035 fi
   9036 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9037 if test -n "$ac_ct_LIPO"; then
   9038   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9039 printf '%s\n' "$ac_ct_LIPO" >&6; }
   9040 else
   9041   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9042 printf '%s\n' "no" >&6; }
   9043 fi
   9044 
   9045   if test "x$ac_ct_LIPO" = x; then
   9046     LIPO=":"
   9047   else
   9048     case $cross_compiling:$ac_tool_warned in
   9049 yes:)
   9050 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9051 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9052 ac_tool_warned=yes ;;
   9053 esac
   9054     LIPO=$ac_ct_LIPO
   9055   fi
   9056 else
   9057   LIPO="$ac_cv_prog_LIPO"
   9058 fi
   9059 
   9060     if test -n "$ac_tool_prefix"; then
   9061   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9062 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9063 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9064 printf %s "checking for $ac_word... " >&6; }
   9065 if test ${ac_cv_prog_OTOOL+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else case e in #(
   9069   e) if test -n "$OTOOL"; then
   9070   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9071 else
   9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9073 for as_dir in $PATH
   9074 do
   9075   IFS=$as_save_IFS
   9076   case $as_dir in #(((
   9077     '') as_dir=./ ;;
   9078     */) ;;
   9079     *) as_dir=$as_dir/ ;;
   9080   esac
   9081     for ac_exec_ext in '' $ac_executable_extensions; do
   9082   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9083     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9084     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9085     break 2
   9086   fi
   9087 done
   9088   done
   9089 IFS=$as_save_IFS
   9090 
   9091 fi ;;
   9092 esac
   9093 fi
   9094 OTOOL=$ac_cv_prog_OTOOL
   9095 if test -n "$OTOOL"; then
   9096   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9097 printf '%s\n' "$OTOOL" >&6; }
   9098 else
   9099   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9100 printf '%s\n' "no" >&6; }
   9101 fi
   9102 
   9103 
   9104 fi
   9105 if test -z "$ac_cv_prog_OTOOL"; then
   9106   ac_ct_OTOOL=$OTOOL
   9107   # Extract the first word of "otool", so it can be a program name with args.
   9108 set dummy otool; ac_word=$2
   9109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9110 printf %s "checking for $ac_word... " >&6; }
   9111 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   9112 then :
   9113   printf %s "(cached) " >&6
   9114 else case e in #(
   9115   e) if test -n "$ac_ct_OTOOL"; then
   9116   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9117 else
   9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9119 for as_dir in $PATH
   9120 do
   9121   IFS=$as_save_IFS
   9122   case $as_dir in #(((
   9123     '') as_dir=./ ;;
   9124     */) ;;
   9125     *) as_dir=$as_dir/ ;;
   9126   esac
   9127     for ac_exec_ext in '' $ac_executable_extensions; do
   9128   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9129     ac_cv_prog_ac_ct_OTOOL="otool"
   9130     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9131     break 2
   9132   fi
   9133 done
   9134   done
   9135 IFS=$as_save_IFS
   9136 
   9137 fi ;;
   9138 esac
   9139 fi
   9140 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9141 if test -n "$ac_ct_OTOOL"; then
   9142   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9143 printf '%s\n' "$ac_ct_OTOOL" >&6; }
   9144 else
   9145   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9146 printf '%s\n' "no" >&6; }
   9147 fi
   9148 
   9149   if test "x$ac_ct_OTOOL" = x; then
   9150     OTOOL=":"
   9151   else
   9152     case $cross_compiling:$ac_tool_warned in
   9153 yes:)
   9154 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9155 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9156 ac_tool_warned=yes ;;
   9157 esac
   9158     OTOOL=$ac_ct_OTOOL
   9159   fi
   9160 else
   9161   OTOOL="$ac_cv_prog_OTOOL"
   9162 fi
   9163 
   9164     if test -n "$ac_tool_prefix"; then
   9165   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9166 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9168 printf %s "checking for $ac_word... " >&6; }
   9169 if test ${ac_cv_prog_OTOOL64+y}
   9170 then :
   9171   printf %s "(cached) " >&6
   9172 else case e in #(
   9173   e) if test -n "$OTOOL64"; then
   9174   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9175 else
   9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9177 for as_dir in $PATH
   9178 do
   9179   IFS=$as_save_IFS
   9180   case $as_dir in #(((
   9181     '') as_dir=./ ;;
   9182     */) ;;
   9183     *) as_dir=$as_dir/ ;;
   9184   esac
   9185     for ac_exec_ext in '' $ac_executable_extensions; do
   9186   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9187     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9188     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9189     break 2
   9190   fi
   9191 done
   9192   done
   9193 IFS=$as_save_IFS
   9194 
   9195 fi ;;
   9196 esac
   9197 fi
   9198 OTOOL64=$ac_cv_prog_OTOOL64
   9199 if test -n "$OTOOL64"; then
   9200   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9201 printf '%s\n' "$OTOOL64" >&6; }
   9202 else
   9203   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9204 printf '%s\n' "no" >&6; }
   9205 fi
   9206 
   9207 
   9208 fi
   9209 if test -z "$ac_cv_prog_OTOOL64"; then
   9210   ac_ct_OTOOL64=$OTOOL64
   9211   # Extract the first word of "otool64", so it can be a program name with args.
   9212 set dummy otool64; ac_word=$2
   9213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9214 printf %s "checking for $ac_word... " >&6; }
   9215 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   9216 then :
   9217   printf %s "(cached) " >&6
   9218 else case e in #(
   9219   e) if test -n "$ac_ct_OTOOL64"; then
   9220   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9221 else
   9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9223 for as_dir in $PATH
   9224 do
   9225   IFS=$as_save_IFS
   9226   case $as_dir in #(((
   9227     '') as_dir=./ ;;
   9228     */) ;;
   9229     *) as_dir=$as_dir/ ;;
   9230   esac
   9231     for ac_exec_ext in '' $ac_executable_extensions; do
   9232   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9233     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9234     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9235     break 2
   9236   fi
   9237 done
   9238   done
   9239 IFS=$as_save_IFS
   9240 
   9241 fi ;;
   9242 esac
   9243 fi
   9244 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9245 if test -n "$ac_ct_OTOOL64"; then
   9246   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9247 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
   9248 else
   9249   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9250 printf '%s\n' "no" >&6; }
   9251 fi
   9252 
   9253   if test "x$ac_ct_OTOOL64" = x; then
   9254     OTOOL64=":"
   9255   else
   9256     case $cross_compiling:$ac_tool_warned in
   9257 yes:)
   9258 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9259 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9260 ac_tool_warned=yes ;;
   9261 esac
   9262     OTOOL64=$ac_ct_OTOOL64
   9263   fi
   9264 else
   9265   OTOOL64="$ac_cv_prog_OTOOL64"
   9266 fi
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9295 printf %s "checking for -single_module linker flag... " >&6; }
   9296 if test ${lt_cv_apple_cc_single_mod+y}
   9297 then :
   9298   printf %s "(cached) " >&6
   9299 else case e in #(
   9300   e) lt_cv_apple_cc_single_mod=no
   9301       if test -z "$LT_MULTI_MODULE"; then
   9302 	# By default we will add the -single_module flag. You can override
   9303 	# by either setting the environment variable LT_MULTI_MODULE
   9304 	# non-empty at configure time, or by adding -multi_module to the
   9305 	# link flags.
   9306 	rm -rf libconftest.dylib*
   9307 	echo "int foo(void){return 1;}" > conftest.c
   9308 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9309 -dynamiclib -Wl,-single_module conftest.c" >&5
   9310 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9311 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9312         _lt_result=$?
   9313 	# If there is a non-empty error log, and "single_module"
   9314 	# appears in it, assume the flag caused a linker warning
   9315         if test -s conftest.err && $GREP single_module conftest.err; then
   9316 	  cat conftest.err >&5
   9317 	# Otherwise, if the output was created with a 0 exit code from
   9318 	# the compiler, it worked.
   9319 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9320 	  lt_cv_apple_cc_single_mod=yes
   9321 	else
   9322 	  cat conftest.err >&5
   9323 	fi
   9324 	rm -rf libconftest.dylib*
   9325 	rm -f conftest.*
   9326       fi ;;
   9327 esac
   9328 fi
   9329 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9330 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
   9331 
   9332     # Feature test to disable chained fixups since it is not
   9333     # compatible with '-undefined dynamic_lookup'
   9334     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   9335 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   9336 if test ${lt_cv_support_no_fixup_chains+y}
   9337 then :
   9338   printf %s "(cached) " >&6
   9339 else case e in #(
   9340   e)  save_LDFLAGS=$LDFLAGS
   9341         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   9342         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9343 /* end confdefs.h.  */
   9344 
   9345 int
   9346 main (void)
   9347 {
   9348 
   9349   ;
   9350   return 0;
   9351 }
   9352 _ACEOF
   9353 if ac_fn_c_try_link "$LINENO"
   9354 then :
   9355   lt_cv_support_no_fixup_chains=yes
   9356 else case e in #(
   9357   e) lt_cv_support_no_fixup_chains=no
   9358          ;;
   9359 esac
   9360 fi
   9361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9362     conftest$ac_exeext conftest.$ac_ext
   9363         LDFLAGS=$save_LDFLAGS
   9364 
   9365      ;;
   9366 esac
   9367 fi
   9368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   9369 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
   9370 
   9371     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9372 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9373 if test ${lt_cv_ld_exported_symbols_list+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else case e in #(
   9377   e) lt_cv_ld_exported_symbols_list=no
   9378       save_LDFLAGS=$LDFLAGS
   9379       echo "_main" > conftest.sym
   9380       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9382 /* end confdefs.h.  */
   9383 
   9384 int
   9385 main (void)
   9386 {
   9387 
   9388   ;
   9389   return 0;
   9390 }
   9391 _ACEOF
   9392 if ac_fn_c_try_link "$LINENO"
   9393 then :
   9394   lt_cv_ld_exported_symbols_list=yes
   9395 else case e in #(
   9396   e) lt_cv_ld_exported_symbols_list=no ;;
   9397 esac
   9398 fi
   9399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9400     conftest$ac_exeext conftest.$ac_ext
   9401 	LDFLAGS=$save_LDFLAGS
   9402      ;;
   9403 esac
   9404 fi
   9405 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9406 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
   9407 
   9408     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9409 printf %s "checking for -force_load linker flag... " >&6; }
   9410 if test ${lt_cv_ld_force_load+y}
   9411 then :
   9412   printf %s "(cached) " >&6
   9413 else case e in #(
   9414   e) lt_cv_ld_force_load=no
   9415       cat > conftest.c << _LT_EOF
   9416 int forced_loaded() { return 2;}
   9417 _LT_EOF
   9418       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9419       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9420       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9421       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9422       echo "$RANLIB libconftest.a" >&5
   9423       $RANLIB libconftest.a 2>&5
   9424       cat > conftest.c << _LT_EOF
   9425 int main(void) { return 0;}
   9426 _LT_EOF
   9427       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9428       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9429       _lt_result=$?
   9430       if test -s conftest.err && $GREP force_load conftest.err; then
   9431 	cat conftest.err >&5
   9432       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9433 	lt_cv_ld_force_load=yes
   9434       else
   9435 	cat conftest.err >&5
   9436       fi
   9437         rm -f conftest.err libconftest.a conftest conftest.c
   9438         rm -rf conftest.dSYM
   9439      ;;
   9440 esac
   9441 fi
   9442 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9443 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
   9444     case $host_os in
   9445     rhapsody* | darwin1.[012])
   9446       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9447     darwin1.*)
   9448       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9449     darwin*)
   9450       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9451         10.[012],*|,*powerpc*-darwin[5-8]*)
   9452           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9453         *)
   9454           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9455           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9456             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9457           fi
   9458         ;;
   9459       esac
   9460     ;;
   9461   esac
   9462     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9463       _lt_dar_single_mod='$single_module'
   9464     fi
   9465     _lt_dar_needs_single_mod=no
   9466     case $host_os in
   9467     rhapsody* | darwin1.*)
   9468       _lt_dar_needs_single_mod=yes ;;
   9469     darwin*)
   9470       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9471       # -single_module is the default and -multi_module is unsupported.
   9472       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9473       # target any OS version that needs -single_module.
   9474       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9475       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9476         _lt_dar_needs_single_mod=yes ;;
   9477       esac
   9478     ;;
   9479     esac
   9480     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9481       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9482     else
   9483       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9484     fi
   9485     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9486       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9487     else
   9488       _lt_dsymutil=
   9489     fi
   9490     ;;
   9491   esac
   9492 
   9493 # func_munge_path_list VARIABLE PATH
   9494 # -----------------------------------
   9495 # VARIABLE is name of variable containing _space_ separated list of
   9496 # directories to be munged by the contents of PATH, which is string
   9497 # having a format:
   9498 # "DIR[:DIR]:"
   9499 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9500 # ":DIR[:DIR]"
   9501 #       string "DIR[ DIR]" will be appended to VARIABLE
   9502 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9503 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9504 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9505 # "DIR[:DIR]"
   9506 #       VARIABLE will be replaced by "DIR[ DIR]"
   9507 func_munge_path_list ()
   9508 {
   9509     case x$2 in
   9510     x)
   9511         ;;
   9512     *:)
   9513         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9514         ;;
   9515     x:*)
   9516         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9517         ;;
   9518     *::*)
   9519         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9520         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9521         ;;
   9522     *)
   9523         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9524         ;;
   9525     esac
   9526 }
   9527 
   9528 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9529 "
   9530 if test "x$ac_cv_header_dlfcn_h" = xyes
   9531 then :
   9532   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   9533 
   9534 fi
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 # Set options
   9541 
   9542 
   9543 
   9544         enable_dlopen=no
   9545 
   9546 
   9547   enable_win32_dll=no
   9548 
   9549 
   9550             # Check whether --enable-shared was given.
   9551 if test ${enable_shared+y}
   9552 then :
   9553   enableval=$enable_shared; p=${PACKAGE-default}
   9554     case $enableval in
   9555     yes) enable_shared=yes ;;
   9556     no) enable_shared=no ;;
   9557     *)
   9558       enable_shared=no
   9559       # Look at the argument we got.  We use all the common list separators.
   9560       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9561       for pkg in $enableval; do
   9562 	IFS=$lt_save_ifs
   9563 	if test "X$pkg" = "X$p"; then
   9564 	  enable_shared=yes
   9565 	fi
   9566       done
   9567       IFS=$lt_save_ifs
   9568       ;;
   9569     esac
   9570 else case e in #(
   9571   e) enable_shared=yes ;;
   9572 esac
   9573 fi
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583   # Check whether --enable-static was given.
   9584 if test ${enable_static+y}
   9585 then :
   9586   enableval=$enable_static; p=${PACKAGE-default}
   9587     case $enableval in
   9588     yes) enable_static=yes ;;
   9589     no) enable_static=no ;;
   9590     *)
   9591      enable_static=no
   9592       # Look at the argument we got.  We use all the common list separators.
   9593       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9594       for pkg in $enableval; do
   9595 	IFS=$lt_save_ifs
   9596 	if test "X$pkg" = "X$p"; then
   9597 	  enable_static=yes
   9598 	fi
   9599       done
   9600       IFS=$lt_save_ifs
   9601       ;;
   9602     esac
   9603 else case e in #(
   9604   e) enable_static=yes ;;
   9605 esac
   9606 fi
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616   # Check whether --enable-pic was given.
   9617 if test ${enable_pic+y}
   9618 then :
   9619   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9620      case $enableval in
   9621      yes|no) pic_mode=$enableval ;;
   9622      *)
   9623        pic_mode=default
   9624        # Look at the argument we got.  We use all the common list separators.
   9625        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9626        for lt_pkg in $enableval; do
   9627 	 IFS=$lt_save_ifs
   9628 	 if test "X$lt_pkg" = "X$lt_p"; then
   9629 	   pic_mode=yes
   9630 	 fi
   9631        done
   9632        IFS=$lt_save_ifs
   9633        ;;
   9634      esac
   9635 else case e in #(
   9636   e)           # Check whether --with-pic was given.
   9637 if test ${with_pic+y}
   9638 then :
   9639   withval=$with_pic; lt_p=${PACKAGE-default}
   9640 	 case $withval in
   9641 	 yes|no) pic_mode=$withval ;;
   9642 	 *)
   9643 	   pic_mode=default
   9644 	   # Look at the argument we got.  We use all the common list separators.
   9645 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9646 	   for lt_pkg in $withval; do
   9647 	     IFS=$lt_save_ifs
   9648 	     if test "X$lt_pkg" = "X$lt_p"; then
   9649 	       pic_mode=yes
   9650 	     fi
   9651 	   done
   9652 	   IFS=$lt_save_ifs
   9653 	   ;;
   9654 	 esac
   9655 else case e in #(
   9656   e) pic_mode=default ;;
   9657 esac
   9658 fi
   9659 
   9660      ;;
   9661 esac
   9662 fi
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671   stdlibflag=-nostdlib
   9672 # Check whether --enable-cxx-stdlib was given.
   9673 if test ${enable_cxx_stdlib+y}
   9674 then :
   9675   enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
   9676     case $enableval in
   9677     yes) enable_cxx_stdlib=yes ;;
   9678     no) enable_cxx_stdlib=no ;;
   9679     *)
   9680      enable_cxx_stdlib=no
   9681       # Look at the argument we got.  We use all the common list separators.
   9682       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9683       for pkg in $enableval; do
   9684 	IFS=$lt_save_ifs
   9685 	if test "X$pkg" = "X$p"; then
   9686 	  enable_cxx_stdlib=yes
   9687 	fi
   9688       done
   9689       IFS=$lt_save_ifs
   9690       ;;
   9691     esac
   9692 else case e in #(
   9693   e) enable_cxx_stdlib=no ;;
   9694 esac
   9695 fi
   9696 
   9697 
   9698 if test yes = "$enable_cxx_stdlib"; then
   9699   stdlibflag=
   9700 fi
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712   # Check whether --enable-fast-install was given.
   9713 if test ${enable_fast_install+y}
   9714 then :
   9715   enableval=$enable_fast_install; p=${PACKAGE-default}
   9716     case $enableval in
   9717     yes) enable_fast_install=yes ;;
   9718     no) enable_fast_install=no ;;
   9719     *)
   9720       enable_fast_install=no
   9721       # Look at the argument we got.  We use all the common list separators.
   9722       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9723       for pkg in $enableval; do
   9724 	IFS=$lt_save_ifs
   9725 	if test "X$pkg" = "X$p"; then
   9726 	  enable_fast_install=yes
   9727 	fi
   9728       done
   9729       IFS=$lt_save_ifs
   9730       ;;
   9731     esac
   9732 else case e in #(
   9733   e) enable_fast_install=yes ;;
   9734 esac
   9735 fi
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744   shared_archive_member_spec=
   9745 case $host,$enable_shared in
   9746 power*-*-aix[5-9]*,yes)
   9747   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9748 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9749   # Check whether --enable-aix-soname was given.
   9750 if test ${enable_aix_soname+y}
   9751 then :
   9752   enableval=$enable_aix_soname; case $enableval in
   9753      aix|svr4|both)
   9754        ;;
   9755      *)
   9756        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9757        ;;
   9758      esac
   9759      lt_cv_with_aix_soname=$enable_aix_soname
   9760 else case e in #(
   9761   e) # Check whether --with-aix-soname was given.
   9762 if test ${with_aix_soname+y}
   9763 then :
   9764   withval=$with_aix_soname; case $withval in
   9765          aix|svr4|both)
   9766            ;;
   9767          *)
   9768            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9769            ;;
   9770          esac
   9771          lt_cv_with_aix_soname=$with_aix_soname
   9772 else case e in #(
   9773   e) if test ${lt_cv_with_aix_soname+y}
   9774 then :
   9775   printf %s "(cached) " >&6
   9776 else case e in #(
   9777   e) lt_cv_with_aix_soname=aix ;;
   9778 esac
   9779 fi
   9780  ;;
   9781 esac
   9782 fi
   9783 
   9784      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9785 esac
   9786 fi
   9787 
   9788   with_aix_soname=$enable_aix_soname
   9789   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9790 printf '%s\n' "$with_aix_soname" >&6; }
   9791   if test aix != "$with_aix_soname"; then
   9792     # For the AIX way of multilib, we name the shared archive member
   9793     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9794     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9795     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9796     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9797     if test 64 = "${OBJECT_MODE-32}"; then
   9798       shared_archive_member_spec=shr_64
   9799     else
   9800       shared_archive_member_spec=shr
   9801     fi
   9802   fi
   9803   ;;
   9804 power*-*-aix[5-9]*,'')
   9805   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
   9806 printf '%s\n' "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
   9807   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9808 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9809   with_aix_soname=aix
   9810   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9811 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9812   ;;
   9813 *)
   9814   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9815 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9816   with_aix_soname=aix
   9817   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9818 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9819   ;;
   9820 esac
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 # This can be used to rebuild libtool when needed
   9832 LIBTOOL_DEPS=$ltmain
   9833 
   9834 # Always use our own libtool.
   9835 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 test -z "$LN_S" && LN_S="ln -s"
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 if test -n "${ZSH_VERSION+set}"; then
   9882    setopt NO_GLOB_SUBST
   9883 fi
   9884 
   9885 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9886 printf %s "checking for objdir... " >&6; }
   9887 if test ${lt_cv_objdir+y}
   9888 then :
   9889   printf %s "(cached) " >&6
   9890 else case e in #(
   9891   e) rm -f .libs 2>/dev/null
   9892 mkdir .libs 2>/dev/null
   9893 if test -d .libs; then
   9894   lt_cv_objdir=.libs
   9895 else
   9896   # MS-DOS does not allow filenames that begin with a dot.
   9897   lt_cv_objdir=_libs
   9898 fi
   9899 rmdir .libs 2>/dev/null ;;
   9900 esac
   9901 fi
   9902 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9903 printf '%s\n' "$lt_cv_objdir" >&6; }
   9904 objdir=$lt_cv_objdir
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9911 
   9912 
   9913 
   9914 
   9915 case $host_os in
   9916 aix3*)
   9917   # AIX sometimes has problems with the GCC collect2 program.  For some
   9918   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9919   # vanish in a puff of smoke.
   9920   if test set != "${COLLECT_NAMES+set}"; then
   9921     COLLECT_NAMES=
   9922     export COLLECT_NAMES
   9923   fi
   9924   ;;
   9925 esac
   9926 
   9927 # Global variables:
   9928 ofile=libtool
   9929 can_build_shared=yes
   9930 
   9931 # All known linkers require a '.a' archive for static linking (except MSVC and
   9932 # ICC, which need '.lib').
   9933 libext=a
   9934 
   9935 with_gnu_ld=$lt_cv_prog_gnu_ld
   9936 
   9937 old_CC=$CC
   9938 old_CFLAGS=$CFLAGS
   9939 
   9940 # Set sane defaults for various variables
   9941 test -z "$CC" && CC=cc
   9942 test -z "$LTCC" && LTCC=$CC
   9943 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9944 test -z "$LD" && LD=ld
   9945 test -z "$ac_objext" && ac_objext=o
   9946 
   9947 func_cc_basename $compiler
   9948 cc_basename=$func_cc_basename_result
   9949 
   9950 
   9951 # Only perform the check for file, if the check method requires it
   9952 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9953 case $deplibs_check_method in
   9954 file_magic*)
   9955   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9956     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9957 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9958 if test ${lt_cv_path_MAGIC_CMD+y}
   9959 then :
   9960   printf %s "(cached) " >&6
   9961 else case e in #(
   9962   e) case $MAGIC_CMD in
   9963 [\\/*] |  ?:[\\/]*)
   9964   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9965   ;;
   9966 *)
   9967   lt_save_MAGIC_CMD=$MAGIC_CMD
   9968   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9969   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9970   for ac_dir in $ac_dummy; do
   9971     IFS=$lt_save_ifs
   9972     test -z "$ac_dir" && ac_dir=.
   9973     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9974       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9975       if test -n "$file_magic_test_file"; then
   9976 	case $deplibs_check_method in
   9977 	"file_magic "*)
   9978 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9979 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9980 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9981 	    $EGREP "$file_magic_regex" > /dev/null; then
   9982 	    :
   9983 	  else
   9984 	    cat <<_LT_EOF 1>&2
   9985 
   9986 *** Warning: the command libtool uses to detect shared libraries,
   9987 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9988 *** The result is that libtool may fail to recognize shared libraries
   9989 *** as such.  This will affect the creation of libtool libraries that
   9990 *** depend on shared libraries, but programs linked with such libtool
   9991 *** libraries will work regardless of this problem.  Nevertheless, you
   9992 *** may want to report the problem to your system manager and/or to
   9993 *** bug-libtool@gnu.org
   9994 
   9995 _LT_EOF
   9996 	  fi ;;
   9997 	esac
   9998       fi
   9999       break
   10000     fi
   10001   done
   10002   IFS=$lt_save_ifs
   10003   MAGIC_CMD=$lt_save_MAGIC_CMD
   10004   ;;
   10005 esac ;;
   10006 esac
   10007 fi
   10008 
   10009 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10010 if test -n "$MAGIC_CMD"; then
   10011   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10012 printf '%s\n' "$MAGIC_CMD" >&6; }
   10013 else
   10014   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10015 printf '%s\n' "no" >&6; }
   10016 fi
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10023   if test -n "$ac_tool_prefix"; then
   10024     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10025 printf %s "checking for file... " >&6; }
   10026 if test ${lt_cv_path_MAGIC_CMD+y}
   10027 then :
   10028   printf %s "(cached) " >&6
   10029 else case e in #(
   10030   e) case $MAGIC_CMD in
   10031 [\\/*] |  ?:[\\/]*)
   10032   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10033   ;;
   10034 *)
   10035   lt_save_MAGIC_CMD=$MAGIC_CMD
   10036   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10037   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10038   for ac_dir in $ac_dummy; do
   10039     IFS=$lt_save_ifs
   10040     test -z "$ac_dir" && ac_dir=.
   10041     if test -f "$ac_dir/file"; then
   10042       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   10043       if test -n "$file_magic_test_file"; then
   10044 	case $deplibs_check_method in
   10045 	"file_magic "*)
   10046 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10047 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10048 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10049 	    $EGREP "$file_magic_regex" > /dev/null; then
   10050 	    :
   10051 	  else
   10052 	    cat <<_LT_EOF 1>&2
   10053 
   10054 *** Warning: the command libtool uses to detect shared libraries,
   10055 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10056 *** The result is that libtool may fail to recognize shared libraries
   10057 *** as such.  This will affect the creation of libtool libraries that
   10058 *** depend on shared libraries, but programs linked with such libtool
   10059 *** libraries will work regardless of this problem.  Nevertheless, you
   10060 *** may want to report the problem to your system manager and/or to
   10061 *** bug-libtool@gnu.org
   10062 
   10063 _LT_EOF
   10064 	  fi ;;
   10065 	esac
   10066       fi
   10067       break
   10068     fi
   10069   done
   10070   IFS=$lt_save_ifs
   10071   MAGIC_CMD=$lt_save_MAGIC_CMD
   10072   ;;
   10073 esac ;;
   10074 esac
   10075 fi
   10076 
   10077 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10078 if test -n "$MAGIC_CMD"; then
   10079   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10080 printf '%s\n' "$MAGIC_CMD" >&6; }
   10081 else
   10082   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10083 printf '%s\n' "no" >&6; }
   10084 fi
   10085 
   10086 
   10087   else
   10088     MAGIC_CMD=:
   10089   fi
   10090 fi
   10091 
   10092   fi
   10093   ;;
   10094 esac
   10095 
   10096 # Use C for the default configuration in the libtool script
   10097 
   10098 lt_save_CC=$CC
   10099 ac_ext=c
   10100 ac_cpp='$CPP $CPPFLAGS'
   10101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10104 
   10105 
   10106 # Source file extension for C test sources.
   10107 ac_ext=c
   10108 
   10109 # Object file extension for compiled C test sources.
   10110 objext=o
   10111 objext=$objext
   10112 
   10113 # Code to be used in simple compile tests
   10114 lt_simple_compile_test_code="int some_variable = 0;"
   10115 
   10116 # Code to be used in simple link tests
   10117 lt_simple_link_test_code='int main(void){return(0);}'
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 # If no C compiler was specified, use CC.
   10126 LTCC=${LTCC-"$CC"}
   10127 
   10128 # If no C compiler flags were specified, use CFLAGS.
   10129 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10130 
   10131 # Allow CC to be a program name with arguments.
   10132 compiler=$CC
   10133 
   10134 # Save the default compiler, since it gets overwritten when the other
   10135 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10136 compiler_DEFAULT=$CC
   10137 
   10138 # save warnings/boilerplate of simple test code
   10139 ac_outfile=conftest.$ac_objext
   10140 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10141 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10142 _lt_compiler_boilerplate=`cat conftest.err`
   10143 $RM conftest*
   10144 
   10145 ac_outfile=conftest.$ac_objext
   10146 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10147 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10148 _lt_linker_boilerplate=`cat conftest.err`
   10149 $RM -r conftest*
   10150 
   10151 
   10152 ## CAVEAT EMPTOR:
   10153 ## There is no encapsulation within the following macros, do not change
   10154 ## the running order or otherwise move them around unless you know exactly
   10155 ## what you are doing...
   10156 if test -n "$compiler"; then
   10157 
   10158 lt_prog_compiler_no_builtin_flag=
   10159 
   10160 if test yes = "$GCC"; then
   10161   case $cc_basename in
   10162   nvcc*)
   10163     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10164   *)
   10165     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10166   esac
   10167 
   10168   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10169 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10170 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   10171 then :
   10172   printf %s "(cached) " >&6
   10173 else case e in #(
   10174   e) lt_cv_prog_compiler_rtti_exceptions=no
   10175    ac_outfile=conftest.$ac_objext
   10176    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10177    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10178    # Insert the option either (1) after the last *FLAGS variable, or
   10179    # (2) before a word containing "conftest.", or (3) at the end.
   10180    # Note that $ac_compile itself does not contain backslashes and begins
   10181    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10182    # The option is referenced via a variable to avoid confusing sed.
   10183    lt_compile=`echo "$ac_compile" | $SED \
   10184    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10185    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10186    -e 's:$: $lt_compiler_flag:'`
   10187    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10188    (eval "$lt_compile" 2>conftest.err)
   10189    ac_status=$?
   10190    cat conftest.err >&5
   10191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10192    if (exit $ac_status) && test -s "$ac_outfile"; then
   10193      # The compiler can only warn and ignore the option if not recognized
   10194      # So say no if there are warnings other than the usual output.
   10195      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   10196      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10197      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   10198        lt_cv_prog_compiler_rtti_exceptions=yes
   10199      fi
   10200    fi
   10201    $RM conftest*
   10202  ;;
   10203 esac
   10204 fi
   10205 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10206 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10207 
   10208 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10209     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10210 else
   10211     :
   10212 fi
   10213 
   10214 fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221   lt_prog_compiler_wl=
   10222 lt_prog_compiler_pic=
   10223 lt_prog_compiler_static=
   10224 
   10225 
   10226   if test yes = "$GCC"; then
   10227     lt_prog_compiler_wl='-Wl,'
   10228     lt_prog_compiler_static='-static'
   10229 
   10230     case $host_os in
   10231       aix*)
   10232       # All AIX code is PIC.
   10233       if test ia64 = "$host_cpu"; then
   10234 	# AIX 5 now supports IA64 processor
   10235 	lt_prog_compiler_static='-Bstatic'
   10236       fi
   10237       lt_prog_compiler_pic='-fPIC'
   10238       ;;
   10239 
   10240     amigaos*)
   10241       case $host_cpu in
   10242       powerpc)
   10243             # see comment about AmigaOS4 .so support
   10244             lt_prog_compiler_pic='-fPIC'
   10245         ;;
   10246       m68k)
   10247             # FIXME: we need at least 68020 code to build shared libraries, but
   10248             # adding the '-m68020' flag to GCC prevents building anything better,
   10249             # like '-m68040'.
   10250             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10251         ;;
   10252       esac
   10253       ;;
   10254 
   10255     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10256       # PIC is the default for these OSes.
   10257       ;;
   10258 
   10259     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10260       # This hack is so that the source file can tell whether it is being
   10261       # built for inclusion in a dll (and should export symbols for example).
   10262       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10263       # (--disable-auto-import) libraries
   10264       lt_prog_compiler_pic='-DDLL_EXPORT'
   10265       case $host_os in
   10266       os2*)
   10267 	lt_prog_compiler_static='$wl-static'
   10268 	;;
   10269       esac
   10270       ;;
   10271 
   10272     darwin* | rhapsody*)
   10273       # PIC is the default on this platform
   10274       # Common symbols not allowed in MH_DYLIB files
   10275       lt_prog_compiler_pic='-fno-common'
   10276       ;;
   10277 
   10278     haiku*)
   10279       # PIC is the default for Haiku.
   10280       # The "-static" flag exists, but is broken.
   10281       lt_prog_compiler_static=
   10282       ;;
   10283 
   10284     hpux*)
   10285       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10286       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10287       # sets the default TLS model and affects inlining.
   10288       case $host_cpu in
   10289       hppa*64*)
   10290 	# +Z the default
   10291 	;;
   10292       *)
   10293 	lt_prog_compiler_pic='-fPIC'
   10294 	;;
   10295       esac
   10296       ;;
   10297 
   10298     interix[3-9]*)
   10299       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10300       # Instead, we relocate shared libraries at runtime.
   10301       ;;
   10302 
   10303     msdosdjgpp*)
   10304       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10305       # on systems that don't support them.
   10306       lt_prog_compiler_can_build_shared=no
   10307       enable_shared=no
   10308       ;;
   10309 
   10310     *nto* | *qnx*)
   10311       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10312       # it will coredump.
   10313       lt_prog_compiler_pic='-fPIC -shared'
   10314       ;;
   10315 
   10316     sysv4*MP*)
   10317       if test -d /usr/nec; then
   10318 	lt_prog_compiler_pic=-Kconform_pic
   10319       fi
   10320       ;;
   10321 
   10322     *)
   10323       lt_prog_compiler_pic='-fPIC'
   10324       ;;
   10325     esac
   10326 
   10327     case $cc_basename in
   10328     nvcc*) # Cuda Compiler Driver 2.2
   10329       lt_prog_compiler_wl='-Xlinker '
   10330       if test -n "$lt_prog_compiler_pic"; then
   10331         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10332       fi
   10333       ;;
   10334     esac
   10335   else
   10336     # PORTME Check for flag to pass linker flags through the system compiler.
   10337     case $host_os in
   10338     aix*)
   10339       lt_prog_compiler_wl='-Wl,'
   10340       if test ia64 = "$host_cpu"; then
   10341 	# AIX 5 now supports IA64 processor
   10342 	lt_prog_compiler_static='-Bstatic'
   10343       else
   10344 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   10345       fi
   10346       ;;
   10347 
   10348     darwin* | rhapsody*)
   10349       # PIC is the default on this platform
   10350       # Common symbols not allowed in MH_DYLIB files
   10351       lt_prog_compiler_pic='-fno-common'
   10352       case $cc_basename in
   10353       nagfor*)
   10354         # NAG Fortran compiler
   10355         lt_prog_compiler_wl='-Wl,-Wl,,'
   10356         lt_prog_compiler_pic='-PIC'
   10357         lt_prog_compiler_static='-Bstatic'
   10358         ;;
   10359       esac
   10360       ;;
   10361 
   10362     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10363       # This hack is so that the source file can tell whether it is being
   10364       # built for inclusion in a dll (and should export symbols for example).
   10365       lt_prog_compiler_pic='-DDLL_EXPORT'
   10366       case $host_os in
   10367       os2*)
   10368 	lt_prog_compiler_static='$wl-static'
   10369 	;;
   10370       esac
   10371       ;;
   10372 
   10373     hpux9* | hpux10* | hpux11*)
   10374       lt_prog_compiler_wl='-Wl,'
   10375       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10376       # not for PA HP-UX.
   10377       case $host_cpu in
   10378       hppa*64*|ia64*)
   10379 	# +Z the default
   10380 	;;
   10381       *)
   10382 	lt_prog_compiler_pic='+Z'
   10383 	;;
   10384       esac
   10385       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10386       lt_prog_compiler_static='$wl-a ${wl}archive'
   10387       ;;
   10388 
   10389     irix5* | irix6* | nonstopux*)
   10390       lt_prog_compiler_wl='-Wl,'
   10391       # PIC (with -KPIC) is the default.
   10392       lt_prog_compiler_static='-non_shared'
   10393       ;;
   10394 
   10395     *-mlibc)
   10396       lt_prog_compiler_wl='-Wl,'
   10397       lt_prog_compiler_pic='-fPIC'
   10398       lt_prog_compiler_static='-static'
   10399       ;;
   10400 
   10401     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   10402       case $cc_basename in
   10403       # old Intel for x86_64, which still supported -KPIC.
   10404       ecc*)
   10405 	lt_prog_compiler_wl='-Wl,'
   10406 	lt_prog_compiler_pic='-KPIC'
   10407 	lt_prog_compiler_static='-static'
   10408         ;;
   10409       *flang* | ftn | f18* | f95*)
   10410         # Flang compiler.
   10411 	lt_prog_compiler_wl='-Wl,'
   10412 	lt_prog_compiler_pic='-fPIC'
   10413 	lt_prog_compiler_static='-static'
   10414         ;;
   10415       # icc used to be incompatible with GCC.
   10416       # ICC 10 doesn't accept -KPIC any more.
   10417       icc* | ifort* | icx* | ifx*)
   10418 	lt_prog_compiler_wl='-Wl,'
   10419 	lt_prog_compiler_pic='-fPIC'
   10420 	lt_prog_compiler_static='-static'
   10421         ;;
   10422       # Lahey Fortran 8.1.
   10423       lf95*)
   10424 	lt_prog_compiler_wl='-Wl,'
   10425 	lt_prog_compiler_pic='--shared'
   10426 	lt_prog_compiler_static='--static'
   10427 	;;
   10428       nagfor*)
   10429 	# NAG Fortran compiler
   10430 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10431 	lt_prog_compiler_pic='-PIC'
   10432 	lt_prog_compiler_static='-Bstatic'
   10433 	;;
   10434       tcc*)
   10435 	# Fabrice Bellard et al's Tiny C Compiler
   10436 	lt_prog_compiler_wl='-Wl,'
   10437 	lt_prog_compiler_pic='-fPIC'
   10438 	lt_prog_compiler_static='-static'
   10439 	;;
   10440       slimcc*)
   10441 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   10442 	lt_prog_compiler_wl='-Wl,'
   10443 	lt_prog_compiler_pic='-fPIC'
   10444 	lt_prog_compiler_static='-static'
   10445 	;;
   10446       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10447         # Portland Group compilers (*not* the Pentium gcc compiler,
   10448 	# which looks to be a dead project)
   10449 	lt_prog_compiler_wl='-Wl,'
   10450 	lt_prog_compiler_pic='-fpic'
   10451 	lt_prog_compiler_static='-Bstatic'
   10452         ;;
   10453       ccc*)
   10454         lt_prog_compiler_wl='-Wl,'
   10455         # All Alpha code is PIC.
   10456         lt_prog_compiler_static='-non_shared'
   10457         ;;
   10458       xl* | bgxl* | bgf* | mpixl*)
   10459 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10460 	lt_prog_compiler_wl='-Wl,'
   10461 	lt_prog_compiler_pic='-qpic'
   10462 	lt_prog_compiler_static='-qstaticlink'
   10463 	;;
   10464       *)
   10465 	case `$CC -V 2>&1 | $SED 5q` in
   10466 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10467 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10468 	  lt_prog_compiler_pic='-KPIC'
   10469 	  lt_prog_compiler_static='-Bstatic'
   10470 	  lt_prog_compiler_wl=''
   10471 	  ;;
   10472 	*Sun\ F* | *Sun*Fortran*)
   10473 	  lt_prog_compiler_pic='-KPIC'
   10474 	  lt_prog_compiler_static='-Bstatic'
   10475 	  lt_prog_compiler_wl='-Qoption ld '
   10476 	  ;;
   10477 	*Sun\ C*)
   10478 	  # Sun C 5.9
   10479 	  lt_prog_compiler_pic='-KPIC'
   10480 	  lt_prog_compiler_static='-Bstatic'
   10481 	  lt_prog_compiler_wl='-Wl,'
   10482 	  ;;
   10483         *Intel*\ [CF]*Compiler*)
   10484 	  lt_prog_compiler_wl='-Wl,'
   10485 	  lt_prog_compiler_pic='-fPIC'
   10486 	  lt_prog_compiler_static='-static'
   10487 	  ;;
   10488 	*Portland\ Group*)
   10489 	  lt_prog_compiler_wl='-Wl,'
   10490 	  lt_prog_compiler_pic='-fpic'
   10491 	  lt_prog_compiler_static='-Bstatic'
   10492 	  ;;
   10493 	esac
   10494 	;;
   10495       esac
   10496       ;;
   10497 
   10498     newsos6)
   10499       lt_prog_compiler_pic='-KPIC'
   10500       lt_prog_compiler_static='-Bstatic'
   10501       ;;
   10502 
   10503     *nto* | *qnx*)
   10504       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10505       # it will coredump.
   10506       lt_prog_compiler_pic='-fPIC -shared'
   10507       ;;
   10508 
   10509     osf3* | osf4* | osf5*)
   10510       lt_prog_compiler_wl='-Wl,'
   10511       # All OSF/1 code is PIC.
   10512       lt_prog_compiler_static='-non_shared'
   10513       ;;
   10514 
   10515     rdos*)
   10516       lt_prog_compiler_static='-non_shared'
   10517       ;;
   10518 
   10519     serenity*)
   10520       ;;
   10521 
   10522     solaris*)
   10523       lt_prog_compiler_pic='-KPIC'
   10524       lt_prog_compiler_static='-Bstatic'
   10525       case $cc_basename in
   10526       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10527 	lt_prog_compiler_wl='-Qoption ld ';;
   10528       *)
   10529 	lt_prog_compiler_wl='-Wl,';;
   10530       esac
   10531       ;;
   10532 
   10533     sunos4*)
   10534       lt_prog_compiler_wl='-Qoption ld '
   10535       lt_prog_compiler_pic='-PIC'
   10536       lt_prog_compiler_static='-Bstatic'
   10537       ;;
   10538 
   10539     sysv4 | sysv4.2uw2* | sysv4.3*)
   10540       lt_prog_compiler_wl='-Wl,'
   10541       lt_prog_compiler_pic='-KPIC'
   10542       lt_prog_compiler_static='-Bstatic'
   10543       ;;
   10544 
   10545     sysv4*MP*)
   10546       if test -d /usr/nec; then
   10547 	lt_prog_compiler_pic='-Kconform_pic'
   10548 	lt_prog_compiler_static='-Bstatic'
   10549       fi
   10550       ;;
   10551 
   10552     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10553       lt_prog_compiler_wl='-Wl,'
   10554       lt_prog_compiler_pic='-KPIC'
   10555       lt_prog_compiler_static='-Bstatic'
   10556       ;;
   10557 
   10558     unicos*)
   10559       lt_prog_compiler_wl='-Wl,'
   10560       lt_prog_compiler_can_build_shared=no
   10561       ;;
   10562 
   10563     uts4*)
   10564       lt_prog_compiler_pic='-pic'
   10565       lt_prog_compiler_static='-Bstatic'
   10566       ;;
   10567 
   10568     *)
   10569       lt_prog_compiler_can_build_shared=no
   10570       ;;
   10571     esac
   10572   fi
   10573 
   10574 case $host_os in
   10575   # For platforms that do not support PIC, -DPIC is meaningless:
   10576   *djgpp*)
   10577     lt_prog_compiler_pic=
   10578     ;;
   10579   *)
   10580     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10581     ;;
   10582 esac
   10583 
   10584 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10585 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10586 if test ${lt_cv_prog_compiler_pic+y}
   10587 then :
   10588   printf %s "(cached) " >&6
   10589 else case e in #(
   10590   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10591 esac
   10592 fi
   10593 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10594 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   10595 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10596 
   10597 #
   10598 # Check to make sure the PIC flag actually works.
   10599 #
   10600 if test -n "$lt_prog_compiler_pic"; then
   10601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10602 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10603 if test ${lt_cv_prog_compiler_pic_works+y}
   10604 then :
   10605   printf %s "(cached) " >&6
   10606 else case e in #(
   10607   e) lt_cv_prog_compiler_pic_works=no
   10608    ac_outfile=conftest.$ac_objext
   10609    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10610    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10611    # Insert the option either (1) after the last *FLAGS variable, or
   10612    # (2) before a word containing "conftest.", or (3) at the end.
   10613    # Note that $ac_compile itself does not contain backslashes and begins
   10614    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10615    # The option is referenced via a variable to avoid confusing sed.
   10616    lt_compile=`echo "$ac_compile" | $SED \
   10617    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10618    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10619    -e 's:$: $lt_compiler_flag:'`
   10620    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10621    (eval "$lt_compile" 2>conftest.err)
   10622    ac_status=$?
   10623    cat conftest.err >&5
   10624    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10625    if (exit $ac_status) && test -s "$ac_outfile"; then
   10626      # The compiler can only warn and ignore the option if not recognized
   10627      # So say no if there are warnings other than the usual output.
   10628      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   10629      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10630      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   10631        lt_cv_prog_compiler_pic_works=yes
   10632      fi
   10633    fi
   10634    $RM conftest*
   10635  ;;
   10636 esac
   10637 fi
   10638 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10639 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   10640 
   10641 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10642     case $lt_prog_compiler_pic in
   10643      "" | " "*) ;;
   10644      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10645      esac
   10646 else
   10647     lt_prog_compiler_pic=
   10648      lt_prog_compiler_can_build_shared=no
   10649 fi
   10650 
   10651 fi
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 #
   10664 # Check to make sure the static flag actually works.
   10665 #
   10666 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10667 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10668 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10669 if test ${lt_cv_prog_compiler_static_works+y}
   10670 then :
   10671   printf %s "(cached) " >&6
   10672 else case e in #(
   10673   e) lt_cv_prog_compiler_static_works=no
   10674    save_LDFLAGS=$LDFLAGS
   10675    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10676    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10677    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10678      # The linker can only warn and ignore the option if not recognized
   10679      # So say no if there are warnings
   10680      if test -s conftest.err; then
   10681        # Append any errors to the config.log.
   10682        cat conftest.err 1>&5
   10683        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   10684        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10685        if diff conftest.expsym conftest.er2 >/dev/null; then
   10686          lt_cv_prog_compiler_static_works=yes
   10687        fi
   10688      else
   10689        lt_cv_prog_compiler_static_works=yes
   10690      fi
   10691    fi
   10692    $RM -r conftest*
   10693    LDFLAGS=$save_LDFLAGS
   10694  ;;
   10695 esac
   10696 fi
   10697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10698 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   10699 
   10700 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10701     :
   10702 else
   10703     lt_prog_compiler_static=
   10704 fi
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10713 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10714 if test ${lt_cv_prog_compiler_c_o+y}
   10715 then :
   10716   printf %s "(cached) " >&6
   10717 else case e in #(
   10718   e) lt_cv_prog_compiler_c_o=no
   10719    $RM -r conftest 2>/dev/null
   10720    mkdir conftest
   10721    cd conftest
   10722    mkdir out
   10723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10724 
   10725    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10726    # Insert the option either (1) after the last *FLAGS variable, or
   10727    # (2) before a word containing "conftest.", or (3) at the end.
   10728    # Note that $ac_compile itself does not contain backslashes and begins
   10729    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10730    lt_compile=`echo "$ac_compile" | $SED \
   10731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10733    -e 's:$: $lt_compiler_flag:'`
   10734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10735    (eval "$lt_compile" 2>out/conftest.err)
   10736    ac_status=$?
   10737    cat out/conftest.err >&5
   10738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10739    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10740    then
   10741      # The compiler can only warn and ignore the option if not recognized
   10742      # So say no if there are warnings
   10743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10744      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10745      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10746        lt_cv_prog_compiler_c_o=yes
   10747      fi
   10748    fi
   10749    chmod u+w . 2>&5
   10750    $RM conftest*
   10751    # SGI C++ compiler will create directory out/ii_files/ for
   10752    # template instantiation
   10753    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10754    $RM out/* && rmdir out
   10755    cd ..
   10756    $RM -r conftest
   10757    $RM conftest*
   10758  ;;
   10759 esac
   10760 fi
   10761 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10762 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10770 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10771 if test ${lt_cv_prog_compiler_c_o+y}
   10772 then :
   10773   printf %s "(cached) " >&6
   10774 else case e in #(
   10775   e) lt_cv_prog_compiler_c_o=no
   10776    $RM -r conftest 2>/dev/null
   10777    mkdir conftest
   10778    cd conftest
   10779    mkdir out
   10780    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10781 
   10782    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10783    # Insert the option either (1) after the last *FLAGS variable, or
   10784    # (2) before a word containing "conftest.", or (3) at the end.
   10785    # Note that $ac_compile itself does not contain backslashes and begins
   10786    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10787    lt_compile=`echo "$ac_compile" | $SED \
   10788    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10789    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10790    -e 's:$: $lt_compiler_flag:'`
   10791    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10792    (eval "$lt_compile" 2>out/conftest.err)
   10793    ac_status=$?
   10794    cat out/conftest.err >&5
   10795    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10796    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10797    then
   10798      # The compiler can only warn and ignore the option if not recognized
   10799      # So say no if there are warnings
   10800      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10801      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10802      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10803        lt_cv_prog_compiler_c_o=yes
   10804      fi
   10805    fi
   10806    chmod u+w . 2>&5
   10807    $RM conftest*
   10808    # SGI C++ compiler will create directory out/ii_files/ for
   10809    # template instantiation
   10810    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10811    $RM out/* && rmdir out
   10812    cd ..
   10813    $RM -r conftest
   10814    $RM conftest*
   10815  ;;
   10816 esac
   10817 fi
   10818 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10819 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10820 
   10821 
   10822 
   10823 
   10824 hard_links=nottested
   10825 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10826   # do not overwrite the value of need_locks provided by the user
   10827   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10828 printf %s "checking if we can lock with hard links... " >&6; }
   10829   hard_links=yes
   10830   $RM conftest*
   10831   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10832   touch conftest.a
   10833   ln conftest.a conftest.b 2>&5 || hard_links=no
   10834   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10835   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10836 printf '%s\n' "$hard_links" >&6; }
   10837   if test no = "$hard_links"; then
   10838     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10839 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10840     need_locks=warn
   10841   fi
   10842 else
   10843   need_locks=no
   10844 fi
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10852 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10853 
   10854   runpath_var=
   10855   allow_undefined_flag=
   10856   always_export_symbols=no
   10857   archive_cmds=
   10858   archive_expsym_cmds=
   10859   compiler_needs_object=no
   10860   enable_shared_with_static_runtimes=no
   10861   export_dynamic_flag_spec=
   10862   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10863   hardcode_automatic=no
   10864   hardcode_direct=no
   10865   hardcode_direct_absolute=no
   10866   hardcode_libdir_flag_spec=
   10867   hardcode_libdir_separator=
   10868   hardcode_minus_L=no
   10869   hardcode_shlibpath_var=unsupported
   10870   inherit_rpath=no
   10871   link_all_deplibs=unknown
   10872   module_cmds=
   10873   module_expsym_cmds=
   10874   old_archive_from_new_cmds=
   10875   old_archive_from_expsyms_cmds=
   10876   thread_safe_flag_spec=
   10877   whole_archive_flag_spec=
   10878   # include_expsyms should be a list of space-separated symbols to be *always*
   10879   # included in the symbol list
   10880   include_expsyms=
   10881   # exclude_expsyms can be an extended regexp of symbols to exclude
   10882   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10883   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10884   # as well as any symbol that contains 'd'.
   10885   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10886   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10887   # platforms (ab)use it in PIC code, but their linkers get confused if
   10888   # the symbol is explicitly referenced.  Since portable code cannot
   10889   # rely on this symbol name, it's probably fine to never include it in
   10890   # preloaded symbol tables.
   10891   # Exclude shared library initialization/finalization symbols.
   10892   extract_expsyms_cmds=
   10893 
   10894   case $host_os in
   10895   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10896     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10897     # When not using gcc, we currently assume that we are using
   10898     # Microsoft Visual C++ or Intel C++ Compiler.
   10899     if test yes != "$GCC"; then
   10900       with_gnu_ld=no
   10901     fi
   10902     ;;
   10903   interix*)
   10904     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10905     with_gnu_ld=yes
   10906     ;;
   10907   esac
   10908 
   10909   ld_shlibs=yes
   10910 
   10911   # On some targets, GNU ld is compatible enough with the native linker
   10912   # that we're better off using the native interface for both.
   10913   lt_use_gnu_ld_interface=no
   10914   if test yes = "$with_gnu_ld"; then
   10915     case $host_os in
   10916       aix*)
   10917 	# The AIX port of GNU ld has always aspired to compatibility
   10918 	# with the native linker.  However, as the warning in the GNU ld
   10919 	# block says, versions before 2.19.5* couldn't really create working
   10920 	# shared libraries, regardless of the interface used.
   10921 	case `$LD -v 2>&1` in
   10922 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10923 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10924 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10925 	  *)
   10926 	    lt_use_gnu_ld_interface=yes
   10927 	    ;;
   10928 	esac
   10929 	;;
   10930       *)
   10931 	lt_use_gnu_ld_interface=yes
   10932 	;;
   10933     esac
   10934   fi
   10935 
   10936   if test yes = "$lt_use_gnu_ld_interface"; then
   10937     # If archive_cmds runs LD, not CC, wlarc should be empty
   10938     wlarc='$wl'
   10939 
   10940     # Set some defaults for GNU ld with shared library support. These
   10941     # are reset later if shared libraries are not supported. Putting them
   10942     # here allows them to be overridden if necessary.
   10943     runpath_var=LD_RUN_PATH
   10944     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10945     export_dynamic_flag_spec='$wl--export-dynamic'
   10946     # ancient GNU ld didn't support --whole-archive et. al.
   10947     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10948       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10949     else
   10950       whole_archive_flag_spec=
   10951     fi
   10952     supports_anon_versioning=no
   10953     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10954       *GNU\ gold*) supports_anon_versioning=yes ;;
   10955       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10956       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10957       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10958       *\ 2.11.*) ;; # other 2.11 versions
   10959       *) supports_anon_versioning=yes ;;
   10960     esac
   10961 
   10962     # See if GNU ld supports shared libraries.
   10963     case $host_os in
   10964     aix[3-9]*)
   10965       # On AIX/PPC, the GNU linker is very broken
   10966       if test ia64 != "$host_cpu"; then
   10967 	ld_shlibs=no
   10968 	cat <<_LT_EOF 1>&2
   10969 
   10970 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10971 *** to be unable to reliably create shared libraries on AIX.
   10972 *** Therefore, libtool is disabling shared libraries support.  If you
   10973 *** really care for shared libraries, you may want to install binutils
   10974 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10975 *** You will then need to restart the configuration process.
   10976 
   10977 _LT_EOF
   10978       fi
   10979       ;;
   10980 
   10981     amigaos*)
   10982       case $host_cpu in
   10983       powerpc)
   10984             # see comment about AmigaOS4 .so support
   10985             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10986             archive_expsym_cmds=''
   10987         ;;
   10988       m68k)
   10989             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)'
   10990             hardcode_libdir_flag_spec='-L$libdir'
   10991             hardcode_minus_L=yes
   10992         ;;
   10993       esac
   10994       ;;
   10995 
   10996     beos*)
   10997       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10998 	allow_undefined_flag=unsupported
   10999 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11000 	# support --undefined.  This deserves some investigation.  FIXME
   11001 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11002       else
   11003 	ld_shlibs=no
   11004       fi
   11005       ;;
   11006 
   11007     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11008       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   11009       # as there is no search path for DLLs.
   11010       hardcode_libdir_flag_spec='-L$libdir'
   11011       export_dynamic_flag_spec='$wl--export-all-symbols'
   11012       allow_undefined_flag=unsupported
   11013       always_export_symbols=no
   11014       enable_shared_with_static_runtimes=yes
   11015       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'
   11016       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11017       file_list_spec='@'
   11018 
   11019       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11020         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11021 	# If the export-symbols file already is a .def file, use it as
   11022 	# is; otherwise, prepend EXPORTS...
   11023 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11024           cp $export_symbols $output_objdir/$soname.def;
   11025         else
   11026           echo EXPORTS > $output_objdir/$soname.def;
   11027           cat $export_symbols >> $output_objdir/$soname.def;
   11028         fi~
   11029         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11030       else
   11031 	ld_shlibs=no
   11032       fi
   11033       ;;
   11034 
   11035     haiku*)
   11036       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11037       link_all_deplibs=no
   11038       ;;
   11039 
   11040     os2*)
   11041       hardcode_libdir_flag_spec='-L$libdir'
   11042       hardcode_minus_L=yes
   11043       allow_undefined_flag=unsupported
   11044       shrext_cmds=.dll
   11045       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11046 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11047 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11048 	echo EXPORTS >> $output_objdir/$libname.def~
   11049 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11050 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11051 	emximp -o $lib $output_objdir/$libname.def'
   11052       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11053 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11054 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11055 	echo EXPORTS >> $output_objdir/$libname.def~
   11056 	prefix_cmds="$SED"~
   11057 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11058 	  prefix_cmds="$prefix_cmds -e 1d";
   11059 	fi~
   11060 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11061 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11062 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11063 	emximp -o $lib $output_objdir/$libname.def'
   11064       enable_shared_with_static_runtimes=yes
   11065       file_list_spec='@'
   11066       ;;
   11067 
   11068     interix[3-9]*)
   11069       hardcode_direct=no
   11070       hardcode_shlibpath_var=no
   11071       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11072       export_dynamic_flag_spec='$wl-E'
   11073       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11074       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11075       # default) and relocated if they conflict, which is a slow very memory
   11076       # consuming and fragmenting process.  To avoid this, we pick a random,
   11077       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11078       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11079       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11080       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'
   11081       ;;
   11082 
   11083     *-mlibc)
   11084 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11085 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11086       ;;
   11087 
   11088     gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
   11089       tmp_diet=no
   11090       if test linux-dietlibc = "$host_os"; then
   11091 	case $cc_basename in
   11092 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11093 	esac
   11094       fi
   11095       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11096 	 && test no = "$tmp_diet"
   11097       then
   11098 	tmp_addflag=' $pic_flag'
   11099 	tmp_sharedflag='-shared'
   11100 	case $cc_basename,$host_cpu in
   11101         pgcc*)				# Portland Group C compiler
   11102 	  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'
   11103 	  tmp_addflag=' $pic_flag'
   11104 	  ;;
   11105 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11106 					# Portland Group f77 and f90 compilers
   11107 	  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'
   11108 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11109 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11110 	  tmp_addflag=' -i_dynamic' ;;
   11111 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11112 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11113 	ifc* | ifort* | ifx*)		# Intel Fortran compiler
   11114 	  tmp_addflag=' -nofor_main' ;;
   11115 	lf95*)				# Lahey Fortran 8.1
   11116 	  whole_archive_flag_spec=
   11117 	  tmp_sharedflag='--shared' ;;
   11118         nagfor*)                        # NAGFOR 5.3
   11119           tmp_sharedflag='-Wl,-shared' ;;
   11120 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11121 	  tmp_sharedflag='-qmkshrobj'
   11122 	  tmp_addflag= ;;
   11123 	nvcc*)	# Cuda Compiler Driver 2.2
   11124 	  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'
   11125 	  compiler_needs_object=yes
   11126 	  ;;
   11127 	esac
   11128 	case `$CC -V 2>&1 | $SED 5q` in
   11129 	*Sun\ C*)			# Sun C 5.9
   11130 	  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'
   11131 	  compiler_needs_object=yes
   11132 	  tmp_sharedflag='-G' ;;
   11133 	*Sun\ F*)			# Sun Fortran 8.3
   11134 	  tmp_sharedflag='-G' ;;
   11135 	esac
   11136 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11137 
   11138         if test yes = "$supports_anon_versioning"; then
   11139           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11140             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11141             echo "local: *; };" >> $output_objdir/$libname.ver~
   11142             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11143         fi
   11144 
   11145 	case $cc_basename in
   11146 	tcc*)
   11147 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11148 	  export_dynamic_flag_spec='-rdynamic'
   11149 	  ;;
   11150 	xlf* | bgf* | bgxlf* | mpixlf*)
   11151 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11152 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11153 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11154 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11155 	  if test yes = "$supports_anon_versioning"; then
   11156 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11157               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11158               echo "local: *; };" >> $output_objdir/$libname.ver~
   11159               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11160 	  fi
   11161 	  ;;
   11162 	esac
   11163       else
   11164         ld_shlibs=no
   11165       fi
   11166       ;;
   11167 
   11168     netbsd* | netbsdelf*-gnu)
   11169       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11170 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11171 	wlarc=
   11172       else
   11173 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11174 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11175       fi
   11176       ;;
   11177 
   11178     solaris*)
   11179       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11180 	ld_shlibs=no
   11181 	cat <<_LT_EOF 1>&2
   11182 
   11183 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11184 *** create shared libraries on Solaris systems.  Therefore, libtool
   11185 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11186 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11187 *** your PATH or compiler configuration so that the native linker is
   11188 *** used, and then restart.
   11189 
   11190 _LT_EOF
   11191       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11192 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11193 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11194       else
   11195 	ld_shlibs=no
   11196       fi
   11197       ;;
   11198 
   11199     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11200       case `$LD -v 2>&1` in
   11201         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11202 	ld_shlibs=no
   11203 	cat <<_LT_EOF 1>&2
   11204 
   11205 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11206 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11207 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11208 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11209 *** your PATH or compiler configuration so that the native linker is
   11210 *** used, and then restart.
   11211 
   11212 _LT_EOF
   11213 	;;
   11214 	*)
   11215 	  # For security reasons, it is highly recommended that you always
   11216 	  # use absolute paths for naming shared libraries, and exclude the
   11217 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11218 	  # requires that you compile everything twice, which is a pain.
   11219 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11220 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11221 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11222 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11223 	  else
   11224 	    ld_shlibs=no
   11225 	  fi
   11226 	;;
   11227       esac
   11228       ;;
   11229 
   11230     sunos4*)
   11231       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11232       wlarc=
   11233       hardcode_direct=yes
   11234       hardcode_shlibpath_var=no
   11235       ;;
   11236 
   11237     *)
   11238       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11239 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11240 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11241       else
   11242 	ld_shlibs=no
   11243       fi
   11244       ;;
   11245     esac
   11246 
   11247     if test no = "$ld_shlibs"; then
   11248       runpath_var=
   11249       hardcode_libdir_flag_spec=
   11250       export_dynamic_flag_spec=
   11251       whole_archive_flag_spec=
   11252     fi
   11253   else
   11254     # PORTME fill in a description of your system's linker (not GNU ld)
   11255     case $host_os in
   11256     aix3*)
   11257       allow_undefined_flag=unsupported
   11258       always_export_symbols=yes
   11259       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'
   11260       # Note: this linker hardcodes the directories in LIBPATH if there
   11261       # are no directories specified by -L.
   11262       hardcode_minus_L=yes
   11263       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11264 	# Neither direct hardcoding nor static linking is supported with a
   11265 	# broken collect2.
   11266 	hardcode_direct=unsupported
   11267       fi
   11268       ;;
   11269 
   11270     aix[4-9]*)
   11271       if test ia64 = "$host_cpu"; then
   11272 	# On IA64, the linker does run time linking by default, so we don't
   11273 	# have to do anything special.
   11274 	aix_use_runtimelinking=no
   11275 	exp_sym_flag='-Bexport'
   11276 	no_entry_flag=
   11277       else
   11278 	# If we're using GNU nm, then we don't want the "-C" option.
   11279 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11280 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11281 	# weak defined symbols like other global defined symbols, whereas
   11282 	# GNU nm marks them as "W".
   11283 	# While the 'weak' keyword is ignored in the Export File, we need
   11284 	# it in the Import File for the 'aix-soname' feature, so we have
   11285 	# to replace the "-B" option with "-P" for AIX nm.
   11286 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11287 	  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'
   11288 	else
   11289 	  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'
   11290 	fi
   11291 	aix_use_runtimelinking=no
   11292 
   11293 	# Test if we are trying to use run time linking or normal
   11294 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11295 	# have runtime linking enabled, and use it for executables.
   11296 	# For shared libraries, we enable/disable runtime linking
   11297 	# depending on the kind of the shared library created -
   11298 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11299 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11300 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11301 	#            lib.a           static archive
   11302 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11303 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11304 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11305 	#            lib.a(lib.so.V) shared, rtl:no
   11306 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11307 	#            lib.a           static archive
   11308 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11309 	  for ld_flag in $LDFLAGS; do
   11310 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11311 	    aix_use_runtimelinking=yes
   11312 	    break
   11313 	  fi
   11314 	  done
   11315 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11316 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11317 	    # so we don't have lib.a shared libs to link our executables.
   11318 	    # We have to force runtime linking in this case.
   11319 	    aix_use_runtimelinking=yes
   11320 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11321 	  fi
   11322 	  ;;
   11323 	esac
   11324 
   11325 	exp_sym_flag='-bexport'
   11326 	no_entry_flag='-bnoentry'
   11327       fi
   11328 
   11329       # When large executables or shared objects are built, AIX ld can
   11330       # have problems creating the table of contents.  If linking a library
   11331       # or program results in "error TOC overflow" add -mminimal-toc to
   11332       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11333       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11334 
   11335       archive_cmds=''
   11336       hardcode_direct=yes
   11337       hardcode_direct_absolute=yes
   11338       hardcode_libdir_separator=':'
   11339       link_all_deplibs=yes
   11340       file_list_spec='$wl-f,'
   11341       case $with_aix_soname,$aix_use_runtimelinking in
   11342       aix,*) ;; # traditional, no import file
   11343       svr4,* | *,yes) # use import file
   11344 	# The Import File defines what to hardcode.
   11345 	hardcode_direct=no
   11346 	hardcode_direct_absolute=no
   11347 	;;
   11348       esac
   11349 
   11350       if test yes = "$GCC"; then
   11351 	case $host_os in aix4.[012]|aix4.[012].*)
   11352 	# We only want to do this on AIX 4.2 and lower, the check
   11353 	# below for broken collect2 doesn't work under 4.3+
   11354 	  collect2name=`$CC -print-prog-name=collect2`
   11355 	  if test -f "$collect2name" &&
   11356 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11357 	  then
   11358 	  # We have reworked collect2
   11359 	  :
   11360 	  else
   11361 	  # We have old collect2
   11362 	  hardcode_direct=unsupported
   11363 	  # It fails to find uninstalled libraries when the uninstalled
   11364 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11365 	  # to unsupported forces relinking
   11366 	  hardcode_minus_L=yes
   11367 	  hardcode_libdir_flag_spec='-L$libdir'
   11368 	  hardcode_libdir_separator=
   11369 	  fi
   11370 	  ;;
   11371 	esac
   11372 	shared_flag='-shared'
   11373 	if test yes = "$aix_use_runtimelinking"; then
   11374 	  shared_flag="$shared_flag "'$wl-G'
   11375 	fi
   11376 	# Need to ensure runtime linking is disabled for the traditional
   11377 	# shared library, or the linker may eventually find shared libraries
   11378 	# /with/ Import File - we do not want to mix them.
   11379 	shared_flag_aix='-shared'
   11380 	shared_flag_svr4='-shared $wl-G'
   11381       else
   11382 	# not using gcc
   11383 	if test ia64 = "$host_cpu"; then
   11384 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11385 	# chokes on -Wl,-G. The following line is correct:
   11386 	  shared_flag='-G'
   11387 	else
   11388 	  if test yes = "$aix_use_runtimelinking"; then
   11389 	    shared_flag='$wl-G'
   11390 	  else
   11391 	    shared_flag='$wl-bM:SRE'
   11392 	  fi
   11393 	  shared_flag_aix='$wl-bM:SRE'
   11394 	  shared_flag_svr4='$wl-G'
   11395 	fi
   11396       fi
   11397 
   11398       export_dynamic_flag_spec='$wl-bexpall'
   11399       # It seems that -bexpall does not export symbols beginning with
   11400       # underscore (_), so it is better to generate a list of symbols to export.
   11401       always_export_symbols=yes
   11402       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11403 	# Warning - without using the other runtime loading flags (-brtl),
   11404 	# -berok will link without error, but may produce a broken library.
   11405 	allow_undefined_flag='-berok'
   11406         # Determine the default libpath from the value encoded in an
   11407         # empty executable.
   11408         if test set = "${lt_cv_aix_libpath+set}"; then
   11409   aix_libpath=$lt_cv_aix_libpath
   11410 else
   11411   if test ${lt_cv_aix_libpath_+y}
   11412 then :
   11413   printf %s "(cached) " >&6
   11414 else case e in #(
   11415   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11416 /* end confdefs.h.  */
   11417 
   11418 int
   11419 main (void)
   11420 {
   11421 
   11422   ;
   11423   return 0;
   11424 }
   11425 _ACEOF
   11426 if ac_fn_c_try_link "$LINENO"
   11427 then :
   11428 
   11429   lt_aix_libpath_sed='
   11430       /Import File Strings/,/^$/ {
   11431 	  /^0/ {
   11432 	      s/^0  *\([^ ]*\) *$/\1/
   11433 	      p
   11434 	  }
   11435       }'
   11436   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11437   # Check for a 64-bit object if we didn't find anything.
   11438   if test -z "$lt_cv_aix_libpath_"; then
   11439     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11440   fi
   11441 fi
   11442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11443     conftest$ac_exeext conftest.$ac_ext
   11444   if test -z "$lt_cv_aix_libpath_"; then
   11445     lt_cv_aix_libpath_=/usr/lib:/lib
   11446   fi
   11447    ;;
   11448 esac
   11449 fi
   11450 
   11451   aix_libpath=$lt_cv_aix_libpath_
   11452 fi
   11453 
   11454         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11455         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
   11456       else
   11457 	if test ia64 = "$host_cpu"; then
   11458 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11459 	  allow_undefined_flag="-z nodefs"
   11460 	  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"
   11461 	else
   11462 	 # Determine the default libpath from the value encoded in an
   11463 	 # empty executable.
   11464 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11465   aix_libpath=$lt_cv_aix_libpath
   11466 else
   11467   if test ${lt_cv_aix_libpath_+y}
   11468 then :
   11469   printf %s "(cached) " >&6
   11470 else case e in #(
   11471   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11472 /* end confdefs.h.  */
   11473 
   11474 int
   11475 main (void)
   11476 {
   11477 
   11478   ;
   11479   return 0;
   11480 }
   11481 _ACEOF
   11482 if ac_fn_c_try_link "$LINENO"
   11483 then :
   11484 
   11485   lt_aix_libpath_sed='
   11486       /Import File Strings/,/^$/ {
   11487 	  /^0/ {
   11488 	      s/^0  *\([^ ]*\) *$/\1/
   11489 	      p
   11490 	  }
   11491       }'
   11492   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11493   # Check for a 64-bit object if we didn't find anything.
   11494   if test -z "$lt_cv_aix_libpath_"; then
   11495     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11496   fi
   11497 fi
   11498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11499     conftest$ac_exeext conftest.$ac_ext
   11500   if test -z "$lt_cv_aix_libpath_"; then
   11501     lt_cv_aix_libpath_=/usr/lib:/lib
   11502   fi
   11503    ;;
   11504 esac
   11505 fi
   11506 
   11507   aix_libpath=$lt_cv_aix_libpath_
   11508 fi
   11509 
   11510 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11511 	  # Warning - without using the other run time loading flags,
   11512 	  # -berok will link without error, but may produce a broken library.
   11513 	  no_undefined_flag=' $wl-bernotok'
   11514 	  allow_undefined_flag=' $wl-berok'
   11515 	  if test yes = "$with_gnu_ld"; then
   11516 	    # We only use this code for GNU lds that support --whole-archive.
   11517 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11518 	  else
   11519 	    # Exported symbols can be pulled into shared objects from archives
   11520 	    whole_archive_flag_spec='$convenience'
   11521 	  fi
   11522 	  archive_cmds_need_lc=yes
   11523 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11524 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11525 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11526 	  if test svr4 != "$with_aix_soname"; then
   11527 	    # This is similar to how AIX traditionally builds its shared libraries.
   11528 	    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'
   11529 	  fi
   11530 	  if test aix != "$with_aix_soname"; then
   11531 	    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'
   11532 	  else
   11533 	    # used by -dlpreopen to get the symbols
   11534 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11535 	  fi
   11536 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11537 	fi
   11538       fi
   11539       ;;
   11540 
   11541     amigaos*)
   11542       case $host_cpu in
   11543       powerpc)
   11544             # see comment about AmigaOS4 .so support
   11545             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11546             archive_expsym_cmds=''
   11547         ;;
   11548       m68k)
   11549             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)'
   11550             hardcode_libdir_flag_spec='-L$libdir'
   11551             hardcode_minus_L=yes
   11552         ;;
   11553       esac
   11554       ;;
   11555 
   11556     bsdi[45]*)
   11557       export_dynamic_flag_spec=-rdynamic
   11558       ;;
   11559 
   11560     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11561       # When not using gcc, we currently assume that we are using
   11562       # Microsoft Visual C++ or Intel C++ Compiler.
   11563       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11564       # no search path for DLLs.
   11565       case $cc_basename in
   11566       cl* | icl* | icx* | icpx*)
   11567 	# Native MSVC and Intel compilers
   11568 	hardcode_libdir_flag_spec=' '
   11569 	allow_undefined_flag=unsupported
   11570 	always_export_symbols=yes
   11571 	file_list_spec='@'
   11572 	# Tell ltmain to make .lib files, not .a files.
   11573 	libext=lib
   11574 	# Tell ltmain to make .dll files, not .so files.
   11575 	shrext_cmds=.dll
   11576 	# FIXME: Setting linknames here is a bad hack.
   11577 	# A check exists to verify if there are linker flags, which will use
   11578 	# different commands when linking.
   11579 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11580 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11581             cp "$export_symbols" "$output_objdir/$soname.def";
   11582             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   11583           else
   11584             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   11585           fi~
   11586           if test -z "$linker_flags"; then
   11587              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11588           else
   11589              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,$linker_flags-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11590           fi~
   11591           linknames='
   11592 	# The linker will not automatically build a static lib if we build a DLL.
   11593 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11594 	enable_shared_with_static_runtimes=yes
   11595 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11596 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11597 	# Don't use ranlib
   11598 	old_postinstall_cmds='chmod 644 $oldlib'
   11599 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11600           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11601           case $lt_outputfile in
   11602             *.exe|*.EXE) ;;
   11603             *)
   11604               lt_outputfile=$lt_outputfile.exe
   11605               lt_tool_outputfile=$lt_tool_outputfile.exe
   11606               ;;
   11607           esac~
   11608           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11609             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11610             $RM "$lt_outputfile.manifest";
   11611           fi'
   11612 	;;
   11613       *)
   11614 	# Assume MSVC and ICC wrapper
   11615 	hardcode_libdir_flag_spec=' '
   11616 	allow_undefined_flag=unsupported
   11617 	# Tell ltmain to make .lib files, not .a files.
   11618 	libext=lib
   11619 	# Tell ltmain to make .dll files, not .so files.
   11620 	shrext_cmds=.dll
   11621 	# FIXME: Setting linknames here is a bad hack.
   11622 	archive_cmds='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11623 	# The linker will automatically build a .lib file if we build a DLL.
   11624 	old_archive_from_new_cmds='true'
   11625 	# FIXME: Should let the user specify the lib program.
   11626 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11627 	enable_shared_with_static_runtimes=yes
   11628 	;;
   11629       esac
   11630       ;;
   11631 
   11632     darwin* | rhapsody*)
   11633 
   11634 
   11635   archive_cmds_need_lc=no
   11636   hardcode_direct=no
   11637   hardcode_automatic=yes
   11638   hardcode_shlibpath_var=unsupported
   11639   if test yes = "$lt_cv_ld_force_load"; then
   11640     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\"`'
   11641 
   11642   else
   11643     whole_archive_flag_spec=''
   11644   fi
   11645   link_all_deplibs=yes
   11646   allow_undefined_flag=$_lt_dar_allow_undefined
   11647   case $cc_basename in
   11648      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11649      *) _lt_dar_can_shared=$GCC ;;
   11650   esac
   11651   if test yes = "$_lt_dar_can_shared"; then
   11652     output_verbose_link_cmd=func_echo_all
   11653     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11654     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11655     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"
   11656     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"
   11657 
   11658   else
   11659   ld_shlibs=no
   11660   fi
   11661 
   11662       ;;
   11663 
   11664     dgux*)
   11665       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11666       hardcode_libdir_flag_spec='-L$libdir'
   11667       hardcode_shlibpath_var=no
   11668       ;;
   11669 
   11670     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11671     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11672     # does not break anything, and helps significantly (at the cost of a little
   11673     # extra space).
   11674     freebsd2.2*)
   11675       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11676       hardcode_libdir_flag_spec='-R$libdir'
   11677       hardcode_direct=yes
   11678       hardcode_shlibpath_var=no
   11679       ;;
   11680 
   11681     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11682     freebsd2.*)
   11683       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11684       hardcode_direct=yes
   11685       hardcode_minus_L=yes
   11686       hardcode_shlibpath_var=no
   11687       ;;
   11688 
   11689     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11690     freebsd* | dragonfly* | midnightbsd*)
   11691       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11692       hardcode_libdir_flag_spec='-R$libdir'
   11693       hardcode_direct=yes
   11694       hardcode_shlibpath_var=no
   11695       ;;
   11696 
   11697     hpux9*)
   11698       if test yes = "$GCC"; then
   11699 	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'
   11700       else
   11701 	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'
   11702       fi
   11703       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11704       hardcode_libdir_separator=:
   11705       hardcode_direct=yes
   11706 
   11707       # hardcode_minus_L: Not really in the search PATH,
   11708       # but as the default location of the library.
   11709       hardcode_minus_L=yes
   11710       export_dynamic_flag_spec='$wl-E'
   11711       ;;
   11712 
   11713     hpux10*)
   11714       if test yes,no = "$GCC,$with_gnu_ld"; then
   11715 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11716       else
   11717 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11718       fi
   11719       if test no = "$with_gnu_ld"; then
   11720 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11721 	hardcode_libdir_separator=:
   11722 	hardcode_direct=yes
   11723 	hardcode_direct_absolute=yes
   11724 	export_dynamic_flag_spec='$wl-E'
   11725 	# hardcode_minus_L: Not really in the search PATH,
   11726 	# but as the default location of the library.
   11727 	hardcode_minus_L=yes
   11728       fi
   11729       ;;
   11730 
   11731     hpux11*)
   11732       if test yes,no = "$GCC,$with_gnu_ld"; then
   11733 	case $host_cpu in
   11734 	hppa*64*)
   11735 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11736 	  ;;
   11737 	ia64*)
   11738 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11739 	  ;;
   11740 	*)
   11741 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11742 	  ;;
   11743 	esac
   11744       else
   11745 	case $host_cpu in
   11746 	hppa*64*)
   11747 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11748 	  ;;
   11749 	ia64*)
   11750 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11751 	  ;;
   11752 	*)
   11753 
   11754 	  # Older versions of the 11.00 compiler do not understand -b yet
   11755 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11756 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11757 printf %s "checking if $CC understands -b... " >&6; }
   11758 if test ${lt_cv_prog_compiler__b+y}
   11759 then :
   11760   printf %s "(cached) " >&6
   11761 else case e in #(
   11762   e) lt_cv_prog_compiler__b=no
   11763    save_LDFLAGS=$LDFLAGS
   11764    LDFLAGS="$LDFLAGS -b"
   11765    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11766    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11767      # The linker can only warn and ignore the option if not recognized
   11768      # So say no if there are warnings
   11769      if test -s conftest.err; then
   11770        # Append any errors to the config.log.
   11771        cat conftest.err 1>&5
   11772        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   11773        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11774        if diff conftest.expsym conftest.er2 >/dev/null; then
   11775          lt_cv_prog_compiler__b=yes
   11776        fi
   11777      else
   11778        lt_cv_prog_compiler__b=yes
   11779      fi
   11780    fi
   11781    $RM -r conftest*
   11782    LDFLAGS=$save_LDFLAGS
   11783  ;;
   11784 esac
   11785 fi
   11786 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11787 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
   11788 
   11789 if test yes = "$lt_cv_prog_compiler__b"; then
   11790     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11791 else
   11792     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11793 fi
   11794 
   11795 	  ;;
   11796 	esac
   11797       fi
   11798       if test no = "$with_gnu_ld"; then
   11799 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11800 	hardcode_libdir_separator=:
   11801 
   11802 	case $host_cpu in
   11803 	hppa*64*|ia64*)
   11804 	  hardcode_direct=no
   11805 	  hardcode_shlibpath_var=no
   11806 	  ;;
   11807 	*)
   11808 	  hardcode_direct=yes
   11809 	  hardcode_direct_absolute=yes
   11810 	  export_dynamic_flag_spec='$wl-E'
   11811 
   11812 	  # hardcode_minus_L: Not really in the search PATH,
   11813 	  # but as the default location of the library.
   11814 	  hardcode_minus_L=yes
   11815 	  ;;
   11816 	esac
   11817       fi
   11818       ;;
   11819 
   11820     irix5* | irix6* | nonstopux*)
   11821       if test yes = "$GCC"; then
   11822 	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'
   11823 	# Try to use the -exported_symbol ld option, if it does not
   11824 	# work, assume that -exports_file does not work either and
   11825 	# implicitly export all symbols.
   11826 	# This should be the same for all languages, so no per-tag cache variable.
   11827 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11828 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11829 if test ${lt_cv_irix_exported_symbol+y}
   11830 then :
   11831   printf %s "(cached) " >&6
   11832 else case e in #(
   11833   e) save_LDFLAGS=$LDFLAGS
   11834 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11835 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11836 /* end confdefs.h.  */
   11837 int foo (void) { return 0; }
   11838 _ACEOF
   11839 if ac_fn_c_try_link "$LINENO"
   11840 then :
   11841   lt_cv_irix_exported_symbol=yes
   11842 else case e in #(
   11843   e) lt_cv_irix_exported_symbol=no ;;
   11844 esac
   11845 fi
   11846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11847     conftest$ac_exeext conftest.$ac_ext
   11848            LDFLAGS=$save_LDFLAGS ;;
   11849 esac
   11850 fi
   11851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11852 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
   11853 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11854           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'
   11855 	fi
   11856       else
   11857 	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'
   11858 	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'
   11859       fi
   11860       archive_cmds_need_lc='no'
   11861       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11862       hardcode_libdir_separator=:
   11863       inherit_rpath=yes
   11864       link_all_deplibs=yes
   11865       ;;
   11866 
   11867     *-mlibc)
   11868       ;;
   11869 
   11870     linux*)
   11871       case $cc_basename in
   11872       tcc*)
   11873 	# Fabrice Bellard et al's Tiny C Compiler
   11874 	ld_shlibs=yes
   11875 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11876 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11877 	;;
   11878       esac
   11879       ;;
   11880 
   11881     netbsd* | netbsdelf*-gnu)
   11882       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11883 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11884       else
   11885 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11886       fi
   11887       hardcode_libdir_flag_spec='-R$libdir'
   11888       hardcode_direct=yes
   11889       hardcode_shlibpath_var=no
   11890       ;;
   11891 
   11892     newsos6)
   11893       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11894       hardcode_direct=yes
   11895       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11896       hardcode_libdir_separator=:
   11897       hardcode_shlibpath_var=no
   11898       ;;
   11899 
   11900     *nto* | *qnx*)
   11901       ;;
   11902 
   11903     openbsd*)
   11904       if test -f /usr/libexec/ld.so; then
   11905 	hardcode_direct=yes
   11906 	hardcode_shlibpath_var=no
   11907 	hardcode_direct_absolute=yes
   11908 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11909 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11910 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11911 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11912 	  export_dynamic_flag_spec='$wl-E'
   11913 	else
   11914 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11915 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11916 	fi
   11917       else
   11918 	ld_shlibs=no
   11919       fi
   11920       ;;
   11921 
   11922     os2*)
   11923       hardcode_libdir_flag_spec='-L$libdir'
   11924       hardcode_minus_L=yes
   11925       allow_undefined_flag=unsupported
   11926       shrext_cmds=.dll
   11927       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11928 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11929 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11930 	echo EXPORTS >> $output_objdir/$libname.def~
   11931 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11932 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11933 	emximp -o $lib $output_objdir/$libname.def'
   11934       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11935 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11936 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11937 	echo EXPORTS >> $output_objdir/$libname.def~
   11938 	prefix_cmds="$SED"~
   11939 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11940 	  prefix_cmds="$prefix_cmds -e 1d";
   11941 	fi~
   11942 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11943 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11944 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11945 	emximp -o $lib $output_objdir/$libname.def'
   11946       enable_shared_with_static_runtimes=yes
   11947       file_list_spec='@'
   11948       ;;
   11949 
   11950     osf3*)
   11951       if test yes = "$GCC"; then
   11952 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11953 	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'
   11954       else
   11955 	allow_undefined_flag=' -expect_unresolved \*'
   11956 	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'
   11957       fi
   11958       archive_cmds_need_lc='no'
   11959       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11960       hardcode_libdir_separator=:
   11961       ;;
   11962 
   11963     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11964       if test yes = "$GCC"; then
   11965 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11966 	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'
   11967 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11968       else
   11969 	allow_undefined_flag=' -expect_unresolved \*'
   11970 	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'
   11971 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.expsym; done; printf "%s\\n" "-hidden">> $lib.expsym~
   11972           $CC -shared$allow_undefined_flag $wl-input $wl$lib.expsym $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.expsym'
   11973 
   11974 	# Both c and cxx compiler support -rpath directly
   11975 	hardcode_libdir_flag_spec='-rpath $libdir'
   11976       fi
   11977       archive_cmds_need_lc='no'
   11978       hardcode_libdir_separator=:
   11979       ;;
   11980 
   11981     serenity*)
   11982       ;;
   11983 
   11984     solaris*)
   11985       no_undefined_flag=' -z defs'
   11986       if test yes = "$GCC"; then
   11987 	wlarc='$wl'
   11988 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11989 	archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11990           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   11991       else
   11992 	case `$CC -V 2>&1` in
   11993 	*"Compilers 5.0"*)
   11994 	  wlarc=''
   11995 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11996 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11997             $LD -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.expsym'
   11998 	  ;;
   11999 	*)
   12000 	  wlarc='$wl'
   12001 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12002 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   12003             $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   12004 	  ;;
   12005 	esac
   12006       fi
   12007       hardcode_libdir_flag_spec='-R$libdir'
   12008       hardcode_shlibpath_var=no
   12009       case $host_os in
   12010       solaris2.[0-5] | solaris2.[0-5].*) ;;
   12011       *)
   12012 	# The compiler driver will combine and reorder linker options,
   12013 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   12014 	# but is careful enough not to reorder.
   12015 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   12016 	if test yes = "$GCC"; then
   12017 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   12018 	else
   12019 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   12020 	fi
   12021 	;;
   12022       esac
   12023       link_all_deplibs=yes
   12024       ;;
   12025 
   12026     sunos4*)
   12027       if test sequent = "$host_vendor"; then
   12028 	# Use $CC to link under sequent, because it throws in some extra .o
   12029 	# files that make .init and .fini sections work.
   12030 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12031       else
   12032 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   12033       fi
   12034       hardcode_libdir_flag_spec='-L$libdir'
   12035       hardcode_direct=yes
   12036       hardcode_minus_L=yes
   12037       hardcode_shlibpath_var=no
   12038       ;;
   12039 
   12040     sysv4)
   12041       case $host_vendor in
   12042 	sni)
   12043 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12044 	  hardcode_direct=yes # is this really true???
   12045 	;;
   12046 	siemens)
   12047 	  ## LD is ld it makes a PLAMLIB
   12048 	  ## CC just makes a GrossModule.
   12049 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   12050 	  reload_cmds='$CC -r -o $output$reload_objs'
   12051 	  hardcode_direct=no
   12052         ;;
   12053 	motorola)
   12054 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12055 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   12056 	;;
   12057       esac
   12058       runpath_var='LD_RUN_PATH'
   12059       hardcode_shlibpath_var=no
   12060       ;;
   12061 
   12062     sysv4.3*)
   12063       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12064       hardcode_shlibpath_var=no
   12065       export_dynamic_flag_spec='-Bexport'
   12066       ;;
   12067 
   12068     sysv4*MP*)
   12069       if test -d /usr/nec; then
   12070 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12071 	hardcode_shlibpath_var=no
   12072 	runpath_var=LD_RUN_PATH
   12073 	hardcode_runpath_var=yes
   12074 	ld_shlibs=yes
   12075       fi
   12076       ;;
   12077 
   12078     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12079       no_undefined_flag='$wl-z,text'
   12080       archive_cmds_need_lc=no
   12081       hardcode_shlibpath_var=no
   12082       runpath_var='LD_RUN_PATH'
   12083 
   12084       if test yes = "$GCC"; then
   12085 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12086 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12087       else
   12088 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12089 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12090       fi
   12091       ;;
   12092 
   12093     sysv5* | sco3.2v5* | sco5v6*)
   12094       # Note: We CANNOT use -z defs as we might desire, because we do not
   12095       # link with -lc, and that would cause any symbols used from libc to
   12096       # always be unresolved, which means just about no library would
   12097       # ever link correctly.  If we're not using GNU ld we use -z text
   12098       # though, which does catch some bad symbols but isn't as heavy-handed
   12099       # as -z defs.
   12100       no_undefined_flag='$wl-z,text'
   12101       allow_undefined_flag='$wl-z,nodefs'
   12102       archive_cmds_need_lc=no
   12103       hardcode_shlibpath_var=no
   12104       hardcode_libdir_flag_spec='$wl-R,$libdir'
   12105       hardcode_libdir_separator=':'
   12106       link_all_deplibs=yes
   12107       export_dynamic_flag_spec='$wl-Bexport'
   12108       runpath_var='LD_RUN_PATH'
   12109 
   12110       if test yes = "$GCC"; then
   12111 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12112 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12113       else
   12114 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12115 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12116       fi
   12117       ;;
   12118 
   12119     uts4*)
   12120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12121       hardcode_libdir_flag_spec='-L$libdir'
   12122       hardcode_shlibpath_var=no
   12123       ;;
   12124 
   12125     *)
   12126       ld_shlibs=no
   12127       ;;
   12128     esac
   12129 
   12130     if test sni = "$host_vendor"; then
   12131       case $host in
   12132       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12133 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12134 	;;
   12135       esac
   12136     fi
   12137   fi
   12138 
   12139 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12140 printf '%s\n' "$ld_shlibs" >&6; }
   12141 test no = "$ld_shlibs" && can_build_shared=no
   12142 
   12143 with_gnu_ld=$with_gnu_ld
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 #
   12160 # Do we need to explicitly link libc?
   12161 #
   12162 case "x$archive_cmds_need_lc" in
   12163 x|xyes)
   12164   # Assume -lc should be added
   12165   archive_cmds_need_lc=yes
   12166 
   12167   if test yes,yes = "$GCC,$enable_shared"; then
   12168     case $archive_cmds in
   12169     *'~'*)
   12170       # FIXME: we may have to deal with multi-command sequences.
   12171       ;;
   12172     '$CC '*)
   12173       # Test whether the compiler implicitly links with -lc since on some
   12174       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12175       # to ld, don't add -lc before -lgcc.
   12176       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12177 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   12178 if test ${lt_cv_archive_cmds_need_lc+y}
   12179 then :
   12180   printf %s "(cached) " >&6
   12181 else case e in #(
   12182   e) $RM conftest*
   12183 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12184 
   12185 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12186   (eval $ac_compile) 2>&5
   12187   ac_status=$?
   12188   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12189   test $ac_status = 0; } 2>conftest.err; then
   12190 	  soname=conftest
   12191 	  lib=conftest
   12192 	  libobjs=conftest.$ac_objext
   12193 	  deplibs=
   12194 	  wl=$lt_prog_compiler_wl
   12195 	  pic_flag=$lt_prog_compiler_pic
   12196 	  compiler_flags=-v
   12197 	  linker_flags=-v
   12198 	  verstring=
   12199 	  output_objdir=.
   12200 	  libname=conftest
   12201 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12202 	  allow_undefined_flag=
   12203 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12204   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12205   ac_status=$?
   12206   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12207   test $ac_status = 0; }
   12208 	  then
   12209 	    lt_cv_archive_cmds_need_lc=no
   12210 	  else
   12211 	    lt_cv_archive_cmds_need_lc=yes
   12212 	  fi
   12213 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12214 	else
   12215 	  cat conftest.err 1>&5
   12216 	fi
   12217 	$RM conftest*
   12218 	 ;;
   12219 esac
   12220 fi
   12221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12222 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
   12223       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12224       ;;
   12225     esac
   12226   fi
   12227   ;;
   12228 esac
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12382 printf %s "checking dynamic linker characteristics... " >&6; }
   12383 
   12384 if test yes = "$GCC"; then
   12385   case $host_os in
   12386     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12387     *) lt_awk_arg='/^libraries:/' ;;
   12388   esac
   12389   case $host_os in
   12390     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12391     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12392   esac
   12393   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12394   case $lt_search_path_spec in
   12395   *\;*)
   12396     # if the path contains ";" then we assume it to be the separator
   12397     # otherwise default to the standard path separator (i.e. ":") - it is
   12398     # assumed that no part of a normal pathname contains ";" but that should
   12399     # okay in the real world where ";" in dirpaths is itself problematic.
   12400     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12401     ;;
   12402   *)
   12403     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12404     ;;
   12405   esac
   12406   # Ok, now we have the path, separated by spaces, we can step through it
   12407   # and add multilib dir if necessary...
   12408   lt_tmp_lt_search_path_spec=
   12409   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12410   # ...but if some path component already ends with the multilib dir we assume
   12411   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12412   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12413   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12414     lt_multi_os_dir=
   12415     ;;
   12416   esac
   12417   for lt_sys_path in $lt_search_path_spec; do
   12418     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12419       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12420     elif test -n "$lt_multi_os_dir"; then
   12421       test -d "$lt_sys_path" && \
   12422 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12423     fi
   12424   done
   12425   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12426 BEGIN {RS = " "; FS = "/|\n";} {
   12427   lt_foo = "";
   12428   lt_count = 0;
   12429   for (lt_i = NF; lt_i > 0; lt_i--) {
   12430     if ($lt_i != "" && $lt_i != ".") {
   12431       if ($lt_i == "..") {
   12432         lt_count++;
   12433       } else {
   12434         if (lt_count == 0) {
   12435           lt_foo = "/" $lt_i lt_foo;
   12436         } else {
   12437           lt_count--;
   12438         }
   12439       }
   12440     }
   12441   }
   12442   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12443   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12444 }'`
   12445   # AWK program above erroneously prepends '/' to C:/dos/paths
   12446   # for these hosts.
   12447   case $host_os in
   12448     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12449       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12450   esac
   12451   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12452 else
   12453   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12454 fi
   12455 library_names_spec=
   12456 libname_spec='lib$name'
   12457 soname_spec=
   12458 shrext_cmds=.so
   12459 postinstall_cmds=
   12460 postuninstall_cmds=
   12461 finish_cmds=
   12462 finish_eval=
   12463 shlibpath_var=
   12464 shlibpath_overrides_runpath=unknown
   12465 version_type=none
   12466 dynamic_linker="$host_os ld.so"
   12467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12468 need_lib_prefix=unknown
   12469 hardcode_into_libs=no
   12470 
   12471 # when you set need_version to no, make sure it does not cause -set_version
   12472 # flags to be left without arguments
   12473 need_version=unknown
   12474 
   12475 
   12476 
   12477 case $host_os in
   12478 aix3*)
   12479   version_type=linux # correct to gnu/linux during the next big refactor
   12480   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12481   shlibpath_var=LIBPATH
   12482 
   12483   # AIX 3 has no versioning support, so we append a major version to the name.
   12484   soname_spec='$libname$release$shared_ext$major'
   12485   ;;
   12486 
   12487 aix[4-9]*)
   12488   version_type=linux # correct to gnu/linux during the next big refactor
   12489   need_lib_prefix=no
   12490   need_version=no
   12491   hardcode_into_libs=yes
   12492   if test ia64 = "$host_cpu"; then
   12493     # AIX 5 supports IA64
   12494     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12495     shlibpath_var=LD_LIBRARY_PATH
   12496   else
   12497     # With GCC up to 2.95.x, collect2 would create an import file
   12498     # for dependence libraries.  The import file would start with
   12499     # the line '#! .'.  This would cause the generated library to
   12500     # depend on '.', always an invalid library.  This was fixed in
   12501     # development snapshots of GCC prior to 3.0.
   12502     case $host_os in
   12503       aix4 | aix4.[01] | aix4.[01].*)
   12504       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12505 	   echo ' yes '
   12506 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12507 	:
   12508       else
   12509 	can_build_shared=no
   12510       fi
   12511       ;;
   12512     esac
   12513     # Using Import Files as archive members, it is possible to support
   12514     # filename-based versioning of shared library archives on AIX. While
   12515     # this would work for both with and without runtime linking, it will
   12516     # prevent static linking of such archives. So we do filename-based
   12517     # shared library versioning with .so extension only, which is used
   12518     # when both runtime linking and shared linking is enabled.
   12519     # Unfortunately, runtime linking may impact performance, so we do
   12520     # not want this to be the default eventually. Also, we use the
   12521     # versioned .so libs for executables only if there is the -brtl
   12522     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12523     # To allow for filename-based versioning support, we need to create
   12524     # libNAME.so.V as an archive file, containing:
   12525     # *) an Import File, referring to the versioned filename of the
   12526     #    archive as well as the shared archive member, telling the
   12527     #    bitwidth (32 or 64) of that shared object, and providing the
   12528     #    list of exported symbols of that shared object, eventually
   12529     #    decorated with the 'weak' keyword
   12530     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12531     #    it being seen by the linker.
   12532     # At run time we better use the real file rather than another symlink,
   12533     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12534 
   12535     case $with_aix_soname,$aix_use_runtimelinking in
   12536     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12537     # soname into executable. Probably we can add versioning support to
   12538     # collect2, so additional links can be useful in future.
   12539     aix,yes) # traditional libtool
   12540       dynamic_linker='AIX unversionable lib.so'
   12541       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12542       # instead of lib<name>.a to let people know that these are not
   12543       # typical AIX shared libraries.
   12544       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12545       ;;
   12546     aix,no) # traditional AIX only
   12547       dynamic_linker='AIX lib.a(lib.so.V)'
   12548       # We preserve .a as extension for shared libraries through AIX4.2
   12549       # and later when we are not doing run time linking.
   12550       library_names_spec='$libname$release.a $libname.a'
   12551       soname_spec='$libname$release$shared_ext$major'
   12552       ;;
   12553     svr4,*) # full svr4 only
   12554       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12555       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12556       # We do not specify a path in Import Files, so LIBPATH fires.
   12557       shlibpath_overrides_runpath=yes
   12558       ;;
   12559     *,yes) # both, prefer svr4
   12560       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12561       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12562       # unpreferred sharedlib libNAME.a needs extra handling
   12563       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"'
   12564       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"'
   12565       # We do not specify a path in Import Files, so LIBPATH fires.
   12566       shlibpath_overrides_runpath=yes
   12567       ;;
   12568     *,no) # both, prefer aix
   12569       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12570       library_names_spec='$libname$release.a $libname.a'
   12571       soname_spec='$libname$release$shared_ext$major'
   12572       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12573       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)'
   12574       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"'
   12575       ;;
   12576     esac
   12577     shlibpath_var=LIBPATH
   12578   fi
   12579   ;;
   12580 
   12581 amigaos*)
   12582   case $host_cpu in
   12583   powerpc)
   12584     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12585     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12586     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12587     ;;
   12588   m68k)
   12589     library_names_spec='$libname.ixlibrary $libname.a'
   12590     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12591     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'
   12592     ;;
   12593   esac
   12594   ;;
   12595 
   12596 beos*)
   12597   library_names_spec='$libname$shared_ext'
   12598   dynamic_linker="$host_os ld.so"
   12599   shlibpath_var=LIBRARY_PATH
   12600   ;;
   12601 
   12602 bsdi[45]*)
   12603   version_type=linux # correct to gnu/linux during the next big refactor
   12604   need_version=no
   12605   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12606   soname_spec='$libname$release$shared_ext$major'
   12607   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12608   shlibpath_var=LD_LIBRARY_PATH
   12609   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12610   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12611   # the default ld.so.conf also contains /usr/contrib/lib and
   12612   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12613   # libtool to hard-code these into programs
   12614   ;;
   12615 
   12616 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12617   version_type=windows
   12618   shrext_cmds=.dll
   12619   need_version=no
   12620   need_lib_prefix=no
   12621 
   12622   case $GCC,$cc_basename in
   12623   yes,*)
   12624     # gcc
   12625     library_names_spec='$libname.dll.a'
   12626     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12627     # If user builds GCC with multilib enabled,
   12628     # it should just install on $(libdir)
   12629     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12630     if test xyes = x"$multilib"; then
   12631       postinstall_cmds='base_file=`basename \$file`~
   12632         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12633         dldir=$destdir/`dirname \$dlpath`~
   12634         $install_prog $dir/$dlname $destdir/$dlname~
   12635         chmod a+x $destdir/$dlname~
   12636         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12637           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12638         fi'
   12639     else
   12640       postinstall_cmds='base_file=`basename \$file`~
   12641         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12642         dldir=$destdir/`dirname \$dlpath`~
   12643         test -d \$dldir || mkdir -p \$dldir~
   12644         $install_prog $dir/$dlname \$dldir/$dlname~
   12645         chmod a+x \$dldir/$dlname~
   12646         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12647           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12648         fi'
   12649     fi
   12650     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12651       dlpath=$dir/\$dldll~
   12652        $RM \$dlpath'
   12653     shlibpath_overrides_runpath=yes
   12654 
   12655     case $host_os in
   12656     cygwin*)
   12657       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12658       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12659 
   12660       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12661       ;;
   12662     mingw* | windows* | cegcc*)
   12663       # MinGW DLLs use traditional 'lib' prefix
   12664       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12665       ;;
   12666     pw32*)
   12667       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12668       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12669       ;;
   12670     esac
   12671     dynamic_linker='Win32 ld.exe'
   12672     ;;
   12673 
   12674   *,cl* | *,icl* | *,icx*)
   12675     # Native MSVC and Intel compilers
   12676     libname_spec='$name'
   12677     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12678     library_names_spec='$libname.dll.lib'
   12679 
   12680     case $build_os in
   12681     mingw* | windows*)
   12682       sys_lib_search_path_spec=
   12683       lt_save_ifs=$IFS
   12684       IFS=';'
   12685       for lt_path in $LIB
   12686       do
   12687         IFS=$lt_save_ifs
   12688         # Let DOS variable expansion print the short 8.3 style file name.
   12689         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12690         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12691       done
   12692       IFS=$lt_save_ifs
   12693       # Convert to MSYS style.
   12694       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12695       ;;
   12696     cygwin*)
   12697       # Convert to unix form, then to dos form, then back to unix form
   12698       # but this time dos style (no spaces!) so that the unix form looks
   12699       # like /cygdrive/c/PROGRA~1:/cygdr...
   12700       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12701       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12702       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12703       ;;
   12704     *)
   12705       sys_lib_search_path_spec=$LIB
   12706       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12707         # It is most probably a Windows format PATH.
   12708         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12709       else
   12710         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12711       fi
   12712       # FIXME: find the short name or the path components, as spaces are
   12713       # common. (e.g. "Program Files" -> "PROGRA~1")
   12714       ;;
   12715     esac
   12716 
   12717     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12718     postinstall_cmds='base_file=`basename \$file`~
   12719       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12720       dldir=$destdir/`dirname \$dlpath`~
   12721       test -d \$dldir || mkdir -p \$dldir~
   12722       $install_prog $dir/$dlname \$dldir/$dlname'
   12723     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12724       dlpath=$dir/\$dldll~
   12725        $RM \$dlpath'
   12726     shlibpath_overrides_runpath=yes
   12727     dynamic_linker='Win32 link.exe'
   12728     ;;
   12729 
   12730   *)
   12731     # Assume MSVC and ICC wrapper
   12732     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12733     dynamic_linker='Win32 ld.exe'
   12734     ;;
   12735   esac
   12736   # FIXME: first we should search . and the directory the executable is in
   12737   shlibpath_var=PATH
   12738   ;;
   12739 
   12740 darwin* | rhapsody*)
   12741   dynamic_linker="$host_os dyld"
   12742   version_type=darwin
   12743   need_lib_prefix=no
   12744   need_version=no
   12745   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12746   soname_spec='$libname$release$major$shared_ext'
   12747   shlibpath_overrides_runpath=yes
   12748   shlibpath_var=DYLD_LIBRARY_PATH
   12749   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12750 
   12751   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12752   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12753   ;;
   12754 
   12755 dgux*)
   12756   version_type=linux # correct to gnu/linux during the next big refactor
   12757   need_lib_prefix=no
   12758   need_version=no
   12759   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12760   soname_spec='$libname$release$shared_ext$major'
   12761   shlibpath_var=LD_LIBRARY_PATH
   12762   ;;
   12763 
   12764 freebsd* | dragonfly* | midnightbsd*)
   12765   # DragonFly does not have aout.  When/if they implement a new
   12766   # versioning mechanism, adjust this.
   12767   if test -x /usr/bin/objformat; then
   12768     objformat=`/usr/bin/objformat`
   12769   else
   12770     case $host_os in
   12771     freebsd[23].*) objformat=aout ;;
   12772     *) objformat=elf ;;
   12773     esac
   12774   fi
   12775   version_type=freebsd-$objformat
   12776   case $version_type in
   12777     freebsd-elf*)
   12778       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12779       soname_spec='$libname$release$shared_ext$major'
   12780       need_version=no
   12781       need_lib_prefix=no
   12782       ;;
   12783     freebsd-*)
   12784       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12785       need_version=yes
   12786       ;;
   12787   esac
   12788   case $host_cpu in
   12789     powerpc64)
   12790       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12791       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12793 /* end confdefs.h.  */
   12794 int test_pointer_size[sizeof (void *) - 5];
   12795 
   12796 _ACEOF
   12797 if ac_fn_c_try_compile "$LINENO"
   12798 then :
   12799   shlibpath_var=LD_LIBRARY_PATH
   12800 else case e in #(
   12801   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12802 esac
   12803 fi
   12804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12805       ;;
   12806     *)
   12807       shlibpath_var=LD_LIBRARY_PATH
   12808       ;;
   12809   esac
   12810   case $host_os in
   12811   freebsd2.*)
   12812     shlibpath_overrides_runpath=yes
   12813     ;;
   12814   freebsd3.[01]* | freebsdelf3.[01]*)
   12815     shlibpath_overrides_runpath=yes
   12816     hardcode_into_libs=yes
   12817     ;;
   12818   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12819   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12820     shlibpath_overrides_runpath=no
   12821     hardcode_into_libs=yes
   12822     ;;
   12823   *) # from 4.6 on, and DragonFly
   12824     shlibpath_overrides_runpath=yes
   12825     hardcode_into_libs=yes
   12826     ;;
   12827   esac
   12828   ;;
   12829 
   12830 haiku*)
   12831   version_type=linux # correct to gnu/linux during the next big refactor
   12832   need_lib_prefix=no
   12833   need_version=no
   12834   dynamic_linker="$host_os runtime_loader"
   12835   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12836   soname_spec='$libname$release$shared_ext$major'
   12837   shlibpath_var=LIBRARY_PATH
   12838   shlibpath_overrides_runpath=no
   12839   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12840   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12841   hardcode_into_libs=no
   12842   ;;
   12843 
   12844 hpux9* | hpux10* | hpux11*)
   12845   # Give a soname corresponding to the major version so that dld.sl refuses to
   12846   # link against other versions.
   12847   version_type=sunos
   12848   need_lib_prefix=no
   12849   need_version=no
   12850   case $host_cpu in
   12851   ia64*)
   12852     shrext_cmds='.so'
   12853     hardcode_into_libs=yes
   12854     dynamic_linker="$host_os dld.so"
   12855     shlibpath_var=LD_LIBRARY_PATH
   12856     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12857     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12858     soname_spec='$libname$release$shared_ext$major'
   12859     if test 32 = "$HPUX_IA64_MODE"; then
   12860       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12861       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12862     else
   12863       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12864       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12865     fi
   12866     ;;
   12867   hppa*64*)
   12868     shrext_cmds='.sl'
   12869     hardcode_into_libs=yes
   12870     dynamic_linker="$host_os dld.sl"
   12871     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12872     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12873     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12874     soname_spec='$libname$release$shared_ext$major'
   12875     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12876     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12877     ;;
   12878   *)
   12879     shrext_cmds='.sl'
   12880     dynamic_linker="$host_os dld.sl"
   12881     shlibpath_var=SHLIB_PATH
   12882     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12883     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12884     soname_spec='$libname$release$shared_ext$major'
   12885     ;;
   12886   esac
   12887   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12888   postinstall_cmds='chmod 555 $lib'
   12889   # or fails outright, so override atomically:
   12890   install_override_mode=555
   12891   ;;
   12892 
   12893 interix[3-9]*)
   12894   version_type=linux # correct to gnu/linux during the next big refactor
   12895   need_lib_prefix=no
   12896   need_version=no
   12897   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12898   soname_spec='$libname$release$shared_ext$major'
   12899   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12900   shlibpath_var=LD_LIBRARY_PATH
   12901   shlibpath_overrides_runpath=no
   12902   hardcode_into_libs=yes
   12903   ;;
   12904 
   12905 irix5* | irix6* | nonstopux*)
   12906   case $host_os in
   12907     nonstopux*) version_type=nonstopux ;;
   12908     *)
   12909 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12910 		version_type=linux # correct to gnu/linux during the next big refactor
   12911 	else
   12912 		version_type=irix
   12913 	fi ;;
   12914   esac
   12915   need_lib_prefix=no
   12916   need_version=no
   12917   soname_spec='$libname$release$shared_ext$major'
   12918   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12919   case $host_os in
   12920   irix5* | nonstopux*)
   12921     libsuff= shlibsuff=
   12922     ;;
   12923   *)
   12924     case $LD in # libtool.m4 will add one of these switches to LD
   12925     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12926       libsuff= shlibsuff= libmagic=32-bit;;
   12927     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12928       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12929     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12930       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12931     *) libsuff= shlibsuff= libmagic=never-match;;
   12932     esac
   12933     ;;
   12934   esac
   12935   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12936   shlibpath_overrides_runpath=no
   12937   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12938   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12939   hardcode_into_libs=yes
   12940   ;;
   12941 
   12942 *-mlibc)
   12943   version_type=linux # correct to gnu/linux during the next big refactor
   12944   need_lib_prefix=no
   12945   need_version=no
   12946   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12947   soname_spec='$libname$release$shared_ext$major'
   12948   dynamic_linker='mlibc ld.so'
   12949   shlibpath_var=LD_LIBRARY_PATH
   12950   shlibpath_overrides_runpath=no
   12951   hardcode_into_libs=yes
   12952   ;;
   12953 
   12954 # No shared lib support for Linux oldld, aout, or coff.
   12955 linux*oldld* | linux*aout* | linux*coff*)
   12956   dynamic_linker=no
   12957   ;;
   12958 
   12959 linux*android*)
   12960   version_type=none # Android doesn't support versioned libraries.
   12961   need_lib_prefix=no
   12962   need_version=no
   12963   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12964   soname_spec='$libname$release$shared_ext'
   12965   finish_cmds=
   12966   shlibpath_var=LD_LIBRARY_PATH
   12967   shlibpath_overrides_runpath=yes
   12968 
   12969   # This implies no fast_install, which is unacceptable.
   12970   # Some rework will be needed to allow for fast_install
   12971   # before this can be enabled.
   12972   hardcode_into_libs=yes
   12973 
   12974   dynamic_linker='Android linker'
   12975   # -rpath works at least for libraries that are not overridden by
   12976   # libraries installed in system locations.
   12977   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12978   ;;
   12979 
   12980 # This must be glibc/ELF.
   12981 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12982   version_type=linux # correct to gnu/linux during the next big refactor
   12983   need_lib_prefix=no
   12984   need_version=no
   12985   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12986   soname_spec='$libname$release$shared_ext$major'
   12987   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12988   shlibpath_var=LD_LIBRARY_PATH
   12989   shlibpath_overrides_runpath=no
   12990 
   12991   # Some binutils ld are patched to set DT_RUNPATH
   12992   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12993 then :
   12994   printf %s "(cached) " >&6
   12995 else case e in #(
   12996   e) lt_cv_shlibpath_overrides_runpath=no
   12997     save_LDFLAGS=$LDFLAGS
   12998     save_libdir=$libdir
   12999     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   13000 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   13001     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13002 /* end confdefs.h.  */
   13003 
   13004 int
   13005 main (void)
   13006 {
   13007 
   13008   ;
   13009   return 0;
   13010 }
   13011 _ACEOF
   13012 if ac_fn_c_try_link "$LINENO"
   13013 then :
   13014   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   13015 then :
   13016   lt_cv_shlibpath_overrides_runpath=yes
   13017 fi
   13018 fi
   13019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13020     conftest$ac_exeext conftest.$ac_ext
   13021     LDFLAGS=$save_LDFLAGS
   13022     libdir=$save_libdir
   13023      ;;
   13024 esac
   13025 fi
   13026 
   13027   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   13028 
   13029   # This implies no fast_install, which is unacceptable.
   13030   # Some rework will be needed to allow for fast_install
   13031   # before this can be enabled.
   13032   hardcode_into_libs=yes
   13033 
   13034   # Ideally, we could use ldconfig to report *all* directories which are
   13035   # searched for libraries, however this is still not possible.  Aside from not
   13036   # being certain /sbin/ldconfig is available, command
   13037   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   13038   # even though it is searched at run-time.  Try to do the best guess by
   13039   # appending ld.so.conf contents (and includes) to the search path.
   13040   if test -f /etc/ld.so.conf; then
   13041     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' ' '`
   13042     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13043   fi
   13044 
   13045   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13046   # powerpc, because MkLinux only supported shared libraries with the
   13047   # GNU dynamic linker.  Since this was broken with cross compilers,
   13048   # most powerpc-linux boxes support dynamic linking these days and
   13049   # people can always --disable-shared, the test was removed, and we
   13050   # assume the GNU/Linux dynamic linker is in use.
   13051   dynamic_linker='GNU/Linux ld.so'
   13052   ;;
   13053 
   13054 netbsdelf*-gnu)
   13055   version_type=linux
   13056   need_lib_prefix=no
   13057   need_version=no
   13058   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13059   soname_spec='$libname$release$shared_ext$major'
   13060   shlibpath_var=LD_LIBRARY_PATH
   13061   shlibpath_overrides_runpath=no
   13062   hardcode_into_libs=yes
   13063   dynamic_linker='NetBSD ld.elf_so'
   13064   enable_cxx_stdlib=yes
   13065   stdlibflag=
   13066   ;;
   13067 
   13068 netbsd*)
   13069   version_type=sunos
   13070   need_lib_prefix=no
   13071   need_version=no
   13072   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13073     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13074     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13075     dynamic_linker='NetBSD (a.out) ld.so'
   13076   else
   13077     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13078     soname_spec='$libname$release$shared_ext$major'
   13079     dynamic_linker='NetBSD ld.elf_so'
   13080   fi
   13081   shlibpath_var=LD_LIBRARY_PATH
   13082   shlibpath_overrides_runpath=yes
   13083   hardcode_into_libs=yes
   13084   enable_cxx_stdlib=yes
   13085   stdlibflag=
   13086   ;;
   13087 
   13088 newsos6)
   13089   version_type=linux # correct to gnu/linux during the next big refactor
   13090   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13091   shlibpath_var=LD_LIBRARY_PATH
   13092   shlibpath_overrides_runpath=yes
   13093   ;;
   13094 
   13095 *nto* | *qnx*)
   13096   version_type=qnx
   13097   need_lib_prefix=no
   13098   need_version=no
   13099   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13100   soname_spec='$libname$release$shared_ext$major'
   13101   shlibpath_var=LD_LIBRARY_PATH
   13102   shlibpath_overrides_runpath=no
   13103   hardcode_into_libs=yes
   13104   dynamic_linker='ldqnx.so'
   13105   ;;
   13106 
   13107 openbsd*)
   13108   version_type=sunos
   13109   sys_lib_dlsearch_path_spec=/usr/lib
   13110   need_lib_prefix=no
   13111   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13112     need_version=no
   13113   else
   13114     need_version=yes
   13115   fi
   13116   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13117   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13118   shlibpath_var=LD_LIBRARY_PATH
   13119   shlibpath_overrides_runpath=yes
   13120   ;;
   13121 
   13122 os2*)
   13123   libname_spec='$name'
   13124   version_type=windows
   13125   shrext_cmds=.dll
   13126   need_version=no
   13127   need_lib_prefix=no
   13128   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13129   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13130     n=$($ECHO $libname | tr -d .-);
   13131     l=${#n}; test 3 -lt "$l" && l=3; mr=$((8 - $l));
   13132     r=$($ECHO $release | tr -d .-);
   13133     l=${#r}; test 2 -lt "$l" && l=2; mv=$(($mr - $l));
   13134     v=$($ECHO $versuffix | tr -d .- | cut -b -$mv);
   13135     r=$($ECHO $r | cut -b -$(($mr - ${#v})));
   13136     n=$($ECHO $n | cut -b -$((8 - ${#r} - ${#v})));
   13137     $ECHO $n$r$v`$shared_ext'
   13138   library_names_spec='${libname}_dll.$libext'
   13139   dynamic_linker='OS/2 ld.exe'
   13140   shlibpath_var=BEGINLIBPATH
   13141   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13142   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13143   postinstall_cmds='base_file=`basename \$file`~
   13144     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13145     dldir=$destdir/`dirname \$dlpath`~
   13146     test -d \$dldir || mkdir -p \$dldir~
   13147     $install_prog $dir/$dlname \$dldir/$dlname~
   13148     chmod a+x \$dldir/$dlname~
   13149     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13150       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13151     fi'
   13152   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13153     dlpath=$dir/\$dldll~
   13154     $RM \$dlpath'
   13155   ;;
   13156 
   13157 osf3* | osf4* | osf5*)
   13158   version_type=osf
   13159   need_lib_prefix=no
   13160   need_version=no
   13161   soname_spec='$libname$release$shared_ext$major'
   13162   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13163   shlibpath_var=LD_LIBRARY_PATH
   13164   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13165   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13166   ;;
   13167 
   13168 rdos*)
   13169   dynamic_linker=no
   13170   ;;
   13171 
   13172 serenity*)
   13173   version_type=linux # correct to gnu/linux during the next big refactor
   13174   need_lib_prefix=no
   13175   need_version=no
   13176   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13177   soname_spec='$libname$release$shared_ext$major'
   13178   shlibpath_var=LD_LIBRARY_PATH
   13179   shlibpath_overrides_runpath=no
   13180   dynamic_linker='SerenityOS LibELF'
   13181   ;;
   13182 
   13183 solaris*)
   13184   version_type=linux # correct to gnu/linux during the next big refactor
   13185   need_lib_prefix=no
   13186   need_version=no
   13187   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13188   soname_spec='$libname$release$shared_ext$major'
   13189   shlibpath_var=LD_LIBRARY_PATH
   13190   shlibpath_overrides_runpath=yes
   13191   hardcode_into_libs=yes
   13192   # ldd complains unless libraries are executable
   13193   postinstall_cmds='chmod +x $lib'
   13194   ;;
   13195 
   13196 sunos4*)
   13197   version_type=sunos
   13198   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13199   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13200   shlibpath_var=LD_LIBRARY_PATH
   13201   shlibpath_overrides_runpath=yes
   13202   if test yes = "$with_gnu_ld"; then
   13203     need_lib_prefix=no
   13204   fi
   13205   need_version=yes
   13206   ;;
   13207 
   13208 sysv4 | sysv4.3*)
   13209   version_type=linux # correct to gnu/linux during the next big refactor
   13210   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13211   soname_spec='$libname$release$shared_ext$major'
   13212   shlibpath_var=LD_LIBRARY_PATH
   13213   case $host_vendor in
   13214     sni)
   13215       shlibpath_overrides_runpath=no
   13216       need_lib_prefix=no
   13217       runpath_var=LD_RUN_PATH
   13218       ;;
   13219     siemens)
   13220       need_lib_prefix=no
   13221       ;;
   13222     motorola)
   13223       need_lib_prefix=no
   13224       need_version=no
   13225       shlibpath_overrides_runpath=no
   13226       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13227       ;;
   13228   esac
   13229   ;;
   13230 
   13231 sysv4*MP*)
   13232   if test -d /usr/nec; then
   13233     version_type=linux # correct to gnu/linux during the next big refactor
   13234     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13235     soname_spec='$libname$shared_ext.$major'
   13236     shlibpath_var=LD_LIBRARY_PATH
   13237   fi
   13238   ;;
   13239 
   13240 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13241   version_type=sco
   13242   need_lib_prefix=no
   13243   need_version=no
   13244   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13245   soname_spec='$libname$release$shared_ext$major'
   13246   shlibpath_var=LD_LIBRARY_PATH
   13247   shlibpath_overrides_runpath=yes
   13248   hardcode_into_libs=yes
   13249   if test yes = "$with_gnu_ld"; then
   13250     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13251   else
   13252     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13253     case $host_os in
   13254       sco3.2v5*)
   13255         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13256 	;;
   13257     esac
   13258   fi
   13259   sys_lib_dlsearch_path_spec='/usr/lib'
   13260   ;;
   13261 
   13262 tpf*)
   13263   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13264   version_type=linux # correct to gnu/linux during the next big refactor
   13265   need_lib_prefix=no
   13266   need_version=no
   13267   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13268   shlibpath_var=LD_LIBRARY_PATH
   13269   shlibpath_overrides_runpath=no
   13270   hardcode_into_libs=yes
   13271   ;;
   13272 
   13273 uts4*)
   13274   version_type=linux # correct to gnu/linux during the next big refactor
   13275   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13276   soname_spec='$libname$release$shared_ext$major'
   13277   shlibpath_var=LD_LIBRARY_PATH
   13278   ;;
   13279 
   13280 emscripten*)
   13281   version_type=none
   13282   need_lib_prefix=no
   13283   need_version=no
   13284   library_names_spec='$libname$release$shared_ext'
   13285   soname_spec='$libname$release$shared_ext'
   13286   finish_cmds=
   13287   dynamic_linker="Emscripten linker"
   13288   lt_prog_compiler_wl=
   13289 lt_prog_compiler_pic=
   13290 lt_prog_compiler_static=
   13291 
   13292 
   13293   if test yes = "$GCC"; then
   13294     lt_prog_compiler_wl='-Wl,'
   13295     lt_prog_compiler_static='-static'
   13296 
   13297     case $host_os in
   13298       aix*)
   13299       # All AIX code is PIC.
   13300       if test ia64 = "$host_cpu"; then
   13301 	# AIX 5 now supports IA64 processor
   13302 	lt_prog_compiler_static='-Bstatic'
   13303       fi
   13304       lt_prog_compiler_pic='-fPIC'
   13305       ;;
   13306 
   13307     amigaos*)
   13308       case $host_cpu in
   13309       powerpc)
   13310             # see comment about AmigaOS4 .so support
   13311             lt_prog_compiler_pic='-fPIC'
   13312         ;;
   13313       m68k)
   13314             # FIXME: we need at least 68020 code to build shared libraries, but
   13315             # adding the '-m68020' flag to GCC prevents building anything better,
   13316             # like '-m68040'.
   13317             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13318         ;;
   13319       esac
   13320       ;;
   13321 
   13322     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13323       # PIC is the default for these OSes.
   13324       ;;
   13325 
   13326     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13327       # This hack is so that the source file can tell whether it is being
   13328       # built for inclusion in a dll (and should export symbols for example).
   13329       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13330       # (--disable-auto-import) libraries
   13331       lt_prog_compiler_pic='-DDLL_EXPORT'
   13332       case $host_os in
   13333       os2*)
   13334 	lt_prog_compiler_static='$wl-static'
   13335 	;;
   13336       esac
   13337       ;;
   13338 
   13339     darwin* | rhapsody*)
   13340       # PIC is the default on this platform
   13341       # Common symbols not allowed in MH_DYLIB files
   13342       lt_prog_compiler_pic='-fno-common'
   13343       ;;
   13344 
   13345     haiku*)
   13346       # PIC is the default for Haiku.
   13347       # The "-static" flag exists, but is broken.
   13348       lt_prog_compiler_static=
   13349       ;;
   13350 
   13351     hpux*)
   13352       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13353       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13354       # sets the default TLS model and affects inlining.
   13355       case $host_cpu in
   13356       hppa*64*)
   13357 	# +Z the default
   13358 	;;
   13359       *)
   13360 	lt_prog_compiler_pic='-fPIC'
   13361 	;;
   13362       esac
   13363       ;;
   13364 
   13365     interix[3-9]*)
   13366       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13367       # Instead, we relocate shared libraries at runtime.
   13368       ;;
   13369 
   13370     msdosdjgpp*)
   13371       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13372       # on systems that don't support them.
   13373       lt_prog_compiler_can_build_shared=no
   13374       enable_shared=no
   13375       ;;
   13376 
   13377     *nto* | *qnx*)
   13378       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13379       # it will coredump.
   13380       lt_prog_compiler_pic='-fPIC -shared'
   13381       ;;
   13382 
   13383     sysv4*MP*)
   13384       if test -d /usr/nec; then
   13385 	lt_prog_compiler_pic=-Kconform_pic
   13386       fi
   13387       ;;
   13388 
   13389     *)
   13390       lt_prog_compiler_pic='-fPIC'
   13391       ;;
   13392     esac
   13393 
   13394     case $cc_basename in
   13395     nvcc*) # Cuda Compiler Driver 2.2
   13396       lt_prog_compiler_wl='-Xlinker '
   13397       if test -n "$lt_prog_compiler_pic"; then
   13398         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13399       fi
   13400       ;;
   13401     esac
   13402   else
   13403     # PORTME Check for flag to pass linker flags through the system compiler.
   13404     case $host_os in
   13405     aix*)
   13406       lt_prog_compiler_wl='-Wl,'
   13407       if test ia64 = "$host_cpu"; then
   13408 	# AIX 5 now supports IA64 processor
   13409 	lt_prog_compiler_static='-Bstatic'
   13410       else
   13411 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   13412       fi
   13413       ;;
   13414 
   13415     darwin* | rhapsody*)
   13416       # PIC is the default on this platform
   13417       # Common symbols not allowed in MH_DYLIB files
   13418       lt_prog_compiler_pic='-fno-common'
   13419       case $cc_basename in
   13420       nagfor*)
   13421         # NAG Fortran compiler
   13422         lt_prog_compiler_wl='-Wl,-Wl,,'
   13423         lt_prog_compiler_pic='-PIC'
   13424         lt_prog_compiler_static='-Bstatic'
   13425         ;;
   13426       esac
   13427       ;;
   13428 
   13429     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13430       # This hack is so that the source file can tell whether it is being
   13431       # built for inclusion in a dll (and should export symbols for example).
   13432       lt_prog_compiler_pic='-DDLL_EXPORT'
   13433       case $host_os in
   13434       os2*)
   13435 	lt_prog_compiler_static='$wl-static'
   13436 	;;
   13437       esac
   13438       ;;
   13439 
   13440     hpux9* | hpux10* | hpux11*)
   13441       lt_prog_compiler_wl='-Wl,'
   13442       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13443       # not for PA HP-UX.
   13444       case $host_cpu in
   13445       hppa*64*|ia64*)
   13446 	# +Z the default
   13447 	;;
   13448       *)
   13449 	lt_prog_compiler_pic='+Z'
   13450 	;;
   13451       esac
   13452       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13453       lt_prog_compiler_static='$wl-a ${wl}archive'
   13454       ;;
   13455 
   13456     irix5* | irix6* | nonstopux*)
   13457       lt_prog_compiler_wl='-Wl,'
   13458       # PIC (with -KPIC) is the default.
   13459       lt_prog_compiler_static='-non_shared'
   13460       ;;
   13461 
   13462     *-mlibc)
   13463       lt_prog_compiler_wl='-Wl,'
   13464       lt_prog_compiler_pic='-fPIC'
   13465       lt_prog_compiler_static='-static'
   13466       ;;
   13467 
   13468     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   13469       case $cc_basename in
   13470       # old Intel for x86_64, which still supported -KPIC.
   13471       ecc*)
   13472 	lt_prog_compiler_wl='-Wl,'
   13473 	lt_prog_compiler_pic='-KPIC'
   13474 	lt_prog_compiler_static='-static'
   13475         ;;
   13476       *flang* | ftn | f18* | f95*)
   13477         # Flang compiler.
   13478 	lt_prog_compiler_wl='-Wl,'
   13479 	lt_prog_compiler_pic='-fPIC'
   13480 	lt_prog_compiler_static='-static'
   13481         ;;
   13482       # icc used to be incompatible with GCC.
   13483       # ICC 10 doesn't accept -KPIC any more.
   13484       icc* | ifort* | icx* | ifx*)
   13485 	lt_prog_compiler_wl='-Wl,'
   13486 	lt_prog_compiler_pic='-fPIC'
   13487 	lt_prog_compiler_static='-static'
   13488         ;;
   13489       # Lahey Fortran 8.1.
   13490       lf95*)
   13491 	lt_prog_compiler_wl='-Wl,'
   13492 	lt_prog_compiler_pic='--shared'
   13493 	lt_prog_compiler_static='--static'
   13494 	;;
   13495       nagfor*)
   13496 	# NAG Fortran compiler
   13497 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13498 	lt_prog_compiler_pic='-PIC'
   13499 	lt_prog_compiler_static='-Bstatic'
   13500 	;;
   13501       tcc*)
   13502 	# Fabrice Bellard et al's Tiny C Compiler
   13503 	lt_prog_compiler_wl='-Wl,'
   13504 	lt_prog_compiler_pic='-fPIC'
   13505 	lt_prog_compiler_static='-static'
   13506 	;;
   13507       slimcc*)
   13508 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   13509 	lt_prog_compiler_wl='-Wl,'
   13510 	lt_prog_compiler_pic='-fPIC'
   13511 	lt_prog_compiler_static='-static'
   13512 	;;
   13513       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13514         # Portland Group compilers (*not* the Pentium gcc compiler,
   13515 	# which looks to be a dead project)
   13516 	lt_prog_compiler_wl='-Wl,'
   13517 	lt_prog_compiler_pic='-fpic'
   13518 	lt_prog_compiler_static='-Bstatic'
   13519         ;;
   13520       ccc*)
   13521         lt_prog_compiler_wl='-Wl,'
   13522         # All Alpha code is PIC.
   13523         lt_prog_compiler_static='-non_shared'
   13524         ;;
   13525       xl* | bgxl* | bgf* | mpixl*)
   13526 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13527 	lt_prog_compiler_wl='-Wl,'
   13528 	lt_prog_compiler_pic='-qpic'
   13529 	lt_prog_compiler_static='-qstaticlink'
   13530 	;;
   13531       *)
   13532 	case `$CC -V 2>&1 | $SED 5q` in
   13533 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13534 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13535 	  lt_prog_compiler_pic='-KPIC'
   13536 	  lt_prog_compiler_static='-Bstatic'
   13537 	  lt_prog_compiler_wl=''
   13538 	  ;;
   13539 	*Sun\ F* | *Sun*Fortran*)
   13540 	  lt_prog_compiler_pic='-KPIC'
   13541 	  lt_prog_compiler_static='-Bstatic'
   13542 	  lt_prog_compiler_wl='-Qoption ld '
   13543 	  ;;
   13544 	*Sun\ C*)
   13545 	  # Sun C 5.9
   13546 	  lt_prog_compiler_pic='-KPIC'
   13547 	  lt_prog_compiler_static='-Bstatic'
   13548 	  lt_prog_compiler_wl='-Wl,'
   13549 	  ;;
   13550         *Intel*\ [CF]*Compiler*)
   13551 	  lt_prog_compiler_wl='-Wl,'
   13552 	  lt_prog_compiler_pic='-fPIC'
   13553 	  lt_prog_compiler_static='-static'
   13554 	  ;;
   13555 	*Portland\ Group*)
   13556 	  lt_prog_compiler_wl='-Wl,'
   13557 	  lt_prog_compiler_pic='-fpic'
   13558 	  lt_prog_compiler_static='-Bstatic'
   13559 	  ;;
   13560 	esac
   13561 	;;
   13562       esac
   13563       ;;
   13564 
   13565     newsos6)
   13566       lt_prog_compiler_pic='-KPIC'
   13567       lt_prog_compiler_static='-Bstatic'
   13568       ;;
   13569 
   13570     *nto* | *qnx*)
   13571       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13572       # it will coredump.
   13573       lt_prog_compiler_pic='-fPIC -shared'
   13574       ;;
   13575 
   13576     osf3* | osf4* | osf5*)
   13577       lt_prog_compiler_wl='-Wl,'
   13578       # All OSF/1 code is PIC.
   13579       lt_prog_compiler_static='-non_shared'
   13580       ;;
   13581 
   13582     rdos*)
   13583       lt_prog_compiler_static='-non_shared'
   13584       ;;
   13585 
   13586     serenity*)
   13587       ;;
   13588 
   13589     solaris*)
   13590       lt_prog_compiler_pic='-KPIC'
   13591       lt_prog_compiler_static='-Bstatic'
   13592       case $cc_basename in
   13593       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13594 	lt_prog_compiler_wl='-Qoption ld ';;
   13595       *)
   13596 	lt_prog_compiler_wl='-Wl,';;
   13597       esac
   13598       ;;
   13599 
   13600     sunos4*)
   13601       lt_prog_compiler_wl='-Qoption ld '
   13602       lt_prog_compiler_pic='-PIC'
   13603       lt_prog_compiler_static='-Bstatic'
   13604       ;;
   13605 
   13606     sysv4 | sysv4.2uw2* | sysv4.3*)
   13607       lt_prog_compiler_wl='-Wl,'
   13608       lt_prog_compiler_pic='-KPIC'
   13609       lt_prog_compiler_static='-Bstatic'
   13610       ;;
   13611 
   13612     sysv4*MP*)
   13613       if test -d /usr/nec; then
   13614 	lt_prog_compiler_pic='-Kconform_pic'
   13615 	lt_prog_compiler_static='-Bstatic'
   13616       fi
   13617       ;;
   13618 
   13619     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13620       lt_prog_compiler_wl='-Wl,'
   13621       lt_prog_compiler_pic='-KPIC'
   13622       lt_prog_compiler_static='-Bstatic'
   13623       ;;
   13624 
   13625     unicos*)
   13626       lt_prog_compiler_wl='-Wl,'
   13627       lt_prog_compiler_can_build_shared=no
   13628       ;;
   13629 
   13630     uts4*)
   13631       lt_prog_compiler_pic='-pic'
   13632       lt_prog_compiler_static='-Bstatic'
   13633       ;;
   13634 
   13635     *)
   13636       lt_prog_compiler_can_build_shared=no
   13637       ;;
   13638     esac
   13639   fi
   13640 
   13641 case $host_os in
   13642   # For platforms that do not support PIC, -DPIC is meaningless:
   13643   *djgpp*)
   13644     lt_prog_compiler_pic=
   13645     ;;
   13646   *)
   13647     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13648     ;;
   13649 esac
   13650 
   13651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13652 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13653 if test ${lt_cv_prog_compiler_pic+y}
   13654 then :
   13655   printf %s "(cached) " >&6
   13656 else case e in #(
   13657   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13658 esac
   13659 fi
   13660 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13661 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   13662 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13663 
   13664 #
   13665 # Check to make sure the PIC flag actually works.
   13666 #
   13667 if test -n "$lt_prog_compiler_pic"; then
   13668   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13669 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13670 if test ${lt_cv_prog_compiler_pic_works+y}
   13671 then :
   13672   printf %s "(cached) " >&6
   13673 else case e in #(
   13674   e) lt_cv_prog_compiler_pic_works=no
   13675    ac_outfile=conftest.$ac_objext
   13676    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13677    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13678    # Insert the option either (1) after the last *FLAGS variable, or
   13679    # (2) before a word containing "conftest.", or (3) at the end.
   13680    # Note that $ac_compile itself does not contain backslashes and begins
   13681    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13682    # The option is referenced via a variable to avoid confusing sed.
   13683    lt_compile=`echo "$ac_compile" | $SED \
   13684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13686    -e 's:$: $lt_compiler_flag:'`
   13687    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13688    (eval "$lt_compile" 2>conftest.err)
   13689    ac_status=$?
   13690    cat conftest.err >&5
   13691    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13692    if (exit $ac_status) && test -s "$ac_outfile"; then
   13693      # The compiler can only warn and ignore the option if not recognized
   13694      # So say no if there are warnings other than the usual output.
   13695      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   13696      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13697      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   13698        lt_cv_prog_compiler_pic_works=yes
   13699      fi
   13700    fi
   13701    $RM conftest*
   13702  ;;
   13703 esac
   13704 fi
   13705 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13706 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   13707 
   13708 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13709     case $lt_prog_compiler_pic in
   13710      "" | " "*) ;;
   13711      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13712      esac
   13713 else
   13714     lt_prog_compiler_pic=
   13715      lt_prog_compiler_can_build_shared=no
   13716 fi
   13717 
   13718 fi
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 #
   13725 # Check to make sure the static flag actually works.
   13726 #
   13727 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13728 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13729 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13730 if test ${lt_cv_prog_compiler_static_works+y}
   13731 then :
   13732   printf %s "(cached) " >&6
   13733 else case e in #(
   13734   e) lt_cv_prog_compiler_static_works=no
   13735    save_LDFLAGS=$LDFLAGS
   13736    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13737    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13738    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13739      # The linker can only warn and ignore the option if not recognized
   13740      # So say no if there are warnings
   13741      if test -s conftest.err; then
   13742        # Append any errors to the config.log.
   13743        cat conftest.err 1>&5
   13744        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   13745        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13746        if diff conftest.expsym conftest.er2 >/dev/null; then
   13747          lt_cv_prog_compiler_static_works=yes
   13748        fi
   13749      else
   13750        lt_cv_prog_compiler_static_works=yes
   13751      fi
   13752    fi
   13753    $RM -r conftest*
   13754    LDFLAGS=$save_LDFLAGS
   13755  ;;
   13756 esac
   13757 fi
   13758 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13759 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   13760 
   13761 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13762     :
   13763 else
   13764     lt_prog_compiler_static=
   13765 fi
   13766 
   13767 
   13768 
   13769 ='-fPIC'
   13770   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13771   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   13772   archive_cmds_need_lc=no
   13773   no_undefined_flag=
   13774   ;;
   13775 
   13776 *)
   13777   dynamic_linker=no
   13778   ;;
   13779 esac
   13780 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13781 printf '%s\n' "$dynamic_linker" >&6; }
   13782 test no = "$dynamic_linker" && can_build_shared=no
   13783 
   13784 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13785 if test yes = "$GCC"; then
   13786   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13787 fi
   13788 
   13789 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13790   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13791 fi
   13792 
   13793 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13794   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13795 fi
   13796 
   13797 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13798 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13799 
   13800 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13801 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13802 
   13803 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13804 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13903 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13904 hardcode_action=
   13905 if test -n "$hardcode_libdir_flag_spec" ||
   13906    test -n "$runpath_var" ||
   13907    test yes = "$hardcode_automatic"; then
   13908 
   13909   # We can hardcode non-existent directories.
   13910   if test no != "$hardcode_direct" &&
   13911      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13912      # have to relink, otherwise we might link with an installed library
   13913      # when we should be linking with a yet-to-be-installed one
   13914      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13915      test no != "$hardcode_minus_L"; then
   13916     # Linking always hardcodes the temporary library directory.
   13917     hardcode_action=relink
   13918   else
   13919     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13920     hardcode_action=immediate
   13921   fi
   13922 else
   13923   # We cannot hardcode anything, or else we can only hardcode existing
   13924   # directories.
   13925   hardcode_action=unsupported
   13926 fi
   13927 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13928 printf '%s\n' "$hardcode_action" >&6; }
   13929 
   13930 if test relink = "$hardcode_action" ||
   13931    test yes = "$inherit_rpath"; then
   13932   # Fast installation is not supported
   13933   enable_fast_install=no
   13934 elif test yes = "$shlibpath_overrides_runpath" ||
   13935      test no = "$enable_shared"; then
   13936   # Fast installation is not necessary
   13937   enable_fast_install=needless
   13938 fi
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945   if test yes != "$enable_dlopen"; then
   13946   enable_dlopen=unknown
   13947   enable_dlopen_self=unknown
   13948   enable_dlopen_self_static=unknown
   13949 else
   13950   lt_cv_dlopen=no
   13951   lt_cv_dlopen_libs=
   13952 
   13953   case $host_os in
   13954   beos*)
   13955     lt_cv_dlopen=load_add_on
   13956     lt_cv_dlopen_libs=
   13957     lt_cv_dlopen_self=yes
   13958     ;;
   13959 
   13960   mingw* | windows* | pw32* | cegcc*)
   13961     lt_cv_dlopen=LoadLibrary
   13962     lt_cv_dlopen_libs=
   13963     ;;
   13964 
   13965   cygwin*)
   13966     lt_cv_dlopen=dlopen
   13967     lt_cv_dlopen_libs=
   13968     ;;
   13969 
   13970   darwin*)
   13971     # if libdl is installed we need to link against it
   13972     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13973 printf %s "checking for dlopen in -ldl... " >&6; }
   13974 if test ${ac_cv_lib_dl_dlopen+y}
   13975 then :
   13976   printf %s "(cached) " >&6
   13977 else case e in #(
   13978   e) ac_check_lib_save_LIBS=$LIBS
   13979 LIBS="-ldl  $LIBS"
   13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13981 /* end confdefs.h.  */
   13982 
   13983 /* Override any GCC internal prototype to avoid an error.
   13984    Use char because int might match the return type of a GCC
   13985    builtin and then its argument prototype would still apply.
   13986    The 'extern "C"' is for builds by C++ compilers;
   13987    although this is not generally supported in C code supporting it here
   13988    has little cost and some practical benefit (sr 110532).  */
   13989 #ifdef __cplusplus
   13990 extern "C"
   13991 #endif
   13992 char dlopen (void);
   13993 int
   13994 main (void)
   13995 {
   13996 return dlopen ();
   13997   ;
   13998   return 0;
   13999 }
   14000 _ACEOF
   14001 if ac_fn_c_try_link "$LINENO"
   14002 then :
   14003   ac_cv_lib_dl_dlopen=yes
   14004 else case e in #(
   14005   e) ac_cv_lib_dl_dlopen=no ;;
   14006 esac
   14007 fi
   14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14009     conftest$ac_exeext conftest.$ac_ext
   14010 LIBS=$ac_check_lib_save_LIBS ;;
   14011 esac
   14012 fi
   14013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14014 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   14015 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14016 then :
   14017   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14018 else case e in #(
   14019   e)
   14020     lt_cv_dlopen=dyld
   14021     lt_cv_dlopen_libs=
   14022     lt_cv_dlopen_self=yes
   14023      ;;
   14024 esac
   14025 fi
   14026 
   14027     ;;
   14028 
   14029   tpf*)
   14030     # Don't try to run any link tests for TPF.  We know it's impossible
   14031     # because TPF is a cross-compiler, and we know how we open DSOs.
   14032     lt_cv_dlopen=dlopen
   14033     lt_cv_dlopen_libs=
   14034     lt_cv_dlopen_self=no
   14035     ;;
   14036 
   14037   *)
   14038     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   14039 if test "x$ac_cv_func_shl_load" = xyes
   14040 then :
   14041   lt_cv_dlopen=shl_load
   14042 else case e in #(
   14043   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   14044 printf %s "checking for shl_load in -ldld... " >&6; }
   14045 if test ${ac_cv_lib_dld_shl_load+y}
   14046 then :
   14047   printf %s "(cached) " >&6
   14048 else case e in #(
   14049   e) ac_check_lib_save_LIBS=$LIBS
   14050 LIBS="-ldld  $LIBS"
   14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14052 /* end confdefs.h.  */
   14053 
   14054 /* Override any GCC internal prototype to avoid an error.
   14055    Use char because int might match the return type of a GCC
   14056    builtin and then its argument prototype would still apply.
   14057    The 'extern "C"' is for builds by C++ compilers;
   14058    although this is not generally supported in C code supporting it here
   14059    has little cost and some practical benefit (sr 110532).  */
   14060 #ifdef __cplusplus
   14061 extern "C"
   14062 #endif
   14063 char shl_load (void);
   14064 int
   14065 main (void)
   14066 {
   14067 return shl_load ();
   14068   ;
   14069   return 0;
   14070 }
   14071 _ACEOF
   14072 if ac_fn_c_try_link "$LINENO"
   14073 then :
   14074   ac_cv_lib_dld_shl_load=yes
   14075 else case e in #(
   14076   e) ac_cv_lib_dld_shl_load=no ;;
   14077 esac
   14078 fi
   14079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14080     conftest$ac_exeext conftest.$ac_ext
   14081 LIBS=$ac_check_lib_save_LIBS ;;
   14082 esac
   14083 fi
   14084 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   14085 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
   14086 if test "x$ac_cv_lib_dld_shl_load" = xyes
   14087 then :
   14088   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   14089 else case e in #(
   14090   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   14091 if test "x$ac_cv_func_dlopen" = xyes
   14092 then :
   14093   lt_cv_dlopen=dlopen
   14094 else case e in #(
   14095   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   14096 printf %s "checking for dlopen in -ldl... " >&6; }
   14097 if test ${ac_cv_lib_dl_dlopen+y}
   14098 then :
   14099   printf %s "(cached) " >&6
   14100 else case e in #(
   14101   e) ac_check_lib_save_LIBS=$LIBS
   14102 LIBS="-ldl  $LIBS"
   14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14104 /* end confdefs.h.  */
   14105 
   14106 /* Override any GCC internal prototype to avoid an error.
   14107    Use char because int might match the return type of a GCC
   14108    builtin and then its argument prototype would still apply.
   14109    The 'extern "C"' is for builds by C++ compilers;
   14110    although this is not generally supported in C code supporting it here
   14111    has little cost and some practical benefit (sr 110532).  */
   14112 #ifdef __cplusplus
   14113 extern "C"
   14114 #endif
   14115 char dlopen (void);
   14116 int
   14117 main (void)
   14118 {
   14119 return dlopen ();
   14120   ;
   14121   return 0;
   14122 }
   14123 _ACEOF
   14124 if ac_fn_c_try_link "$LINENO"
   14125 then :
   14126   ac_cv_lib_dl_dlopen=yes
   14127 else case e in #(
   14128   e) ac_cv_lib_dl_dlopen=no ;;
   14129 esac
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14132     conftest$ac_exeext conftest.$ac_ext
   14133 LIBS=$ac_check_lib_save_LIBS ;;
   14134 esac
   14135 fi
   14136 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14137 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   14138 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14139 then :
   14140   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14141 else case e in #(
   14142   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   14143 printf %s "checking for dlopen in -lsvld... " >&6; }
   14144 if test ${ac_cv_lib_svld_dlopen+y}
   14145 then :
   14146   printf %s "(cached) " >&6
   14147 else case e in #(
   14148   e) ac_check_lib_save_LIBS=$LIBS
   14149 LIBS="-lsvld  $LIBS"
   14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14151 /* end confdefs.h.  */
   14152 
   14153 /* Override any GCC internal prototype to avoid an error.
   14154    Use char because int might match the return type of a GCC
   14155    builtin and then its argument prototype would still apply.
   14156    The 'extern "C"' is for builds by C++ compilers;
   14157    although this is not generally supported in C code supporting it here
   14158    has little cost and some practical benefit (sr 110532).  */
   14159 #ifdef __cplusplus
   14160 extern "C"
   14161 #endif
   14162 char dlopen (void);
   14163 int
   14164 main (void)
   14165 {
   14166 return dlopen ();
   14167   ;
   14168   return 0;
   14169 }
   14170 _ACEOF
   14171 if ac_fn_c_try_link "$LINENO"
   14172 then :
   14173   ac_cv_lib_svld_dlopen=yes
   14174 else case e in #(
   14175   e) ac_cv_lib_svld_dlopen=no ;;
   14176 esac
   14177 fi
   14178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14179     conftest$ac_exeext conftest.$ac_ext
   14180 LIBS=$ac_check_lib_save_LIBS ;;
   14181 esac
   14182 fi
   14183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   14184 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
   14185 if test "x$ac_cv_lib_svld_dlopen" = xyes
   14186 then :
   14187   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   14188 else case e in #(
   14189   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   14190 printf %s "checking for dld_link in -ldld... " >&6; }
   14191 if test ${ac_cv_lib_dld_dld_link+y}
   14192 then :
   14193   printf %s "(cached) " >&6
   14194 else case e in #(
   14195   e) ac_check_lib_save_LIBS=$LIBS
   14196 LIBS="-ldld  $LIBS"
   14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14198 /* end confdefs.h.  */
   14199 
   14200 /* Override any GCC internal prototype to avoid an error.
   14201    Use char because int might match the return type of a GCC
   14202    builtin and then its argument prototype would still apply.
   14203    The 'extern "C"' is for builds by C++ compilers;
   14204    although this is not generally supported in C code supporting it here
   14205    has little cost and some practical benefit (sr 110532).  */
   14206 #ifdef __cplusplus
   14207 extern "C"
   14208 #endif
   14209 char dld_link (void);
   14210 int
   14211 main (void)
   14212 {
   14213 return dld_link ();
   14214   ;
   14215   return 0;
   14216 }
   14217 _ACEOF
   14218 if ac_fn_c_try_link "$LINENO"
   14219 then :
   14220   ac_cv_lib_dld_dld_link=yes
   14221 else case e in #(
   14222   e) ac_cv_lib_dld_dld_link=no ;;
   14223 esac
   14224 fi
   14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14226     conftest$ac_exeext conftest.$ac_ext
   14227 LIBS=$ac_check_lib_save_LIBS ;;
   14228 esac
   14229 fi
   14230 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   14231 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
   14232 if test "x$ac_cv_lib_dld_dld_link" = xyes
   14233 then :
   14234   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   14235 fi
   14236 
   14237 	       ;;
   14238 esac
   14239 fi
   14240 
   14241 	     ;;
   14242 esac
   14243 fi
   14244 
   14245 	   ;;
   14246 esac
   14247 fi
   14248 
   14249 	 ;;
   14250 esac
   14251 fi
   14252 
   14253        ;;
   14254 esac
   14255 fi
   14256 
   14257     ;;
   14258   esac
   14259 
   14260   if test no = "$lt_cv_dlopen"; then
   14261     enable_dlopen=no
   14262   else
   14263     enable_dlopen=yes
   14264   fi
   14265 
   14266   case $lt_cv_dlopen in
   14267   dlopen)
   14268     save_CPPFLAGS=$CPPFLAGS
   14269     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   14270 
   14271     save_LDFLAGS=$LDFLAGS
   14272     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   14273 
   14274     save_LIBS=$LIBS
   14275     LIBS="$lt_cv_dlopen_libs $LIBS"
   14276 
   14277     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   14278 printf %s "checking whether a program can dlopen itself... " >&6; }
   14279 if test ${lt_cv_dlopen_self+y}
   14280 then :
   14281   printf %s "(cached) " >&6
   14282 else case e in #(
   14283   e) 	  if test yes = "$cross_compiling"; then :
   14284   lt_cv_dlopen_self=cross
   14285 else
   14286   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14287   lt_status=$lt_dlunknown
   14288   cat > conftest.$ac_ext <<_LT_EOF
   14289 #line $LINENO "configure"
   14290 #include "confdefs.h"
   14291 
   14292 #if HAVE_DLFCN_H
   14293 #include <dlfcn.h>
   14294 #endif
   14295 
   14296 #include <stdio.h>
   14297 
   14298 #ifdef RTLD_GLOBAL
   14299 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14300 #else
   14301 #  ifdef DL_GLOBAL
   14302 #    define LT_DLGLOBAL		DL_GLOBAL
   14303 #  else
   14304 #    define LT_DLGLOBAL		0
   14305 #  endif
   14306 #endif
   14307 
   14308 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14309    find out it does not work in some platform. */
   14310 #ifndef LT_DLLAZY_OR_NOW
   14311 #  ifdef RTLD_LAZY
   14312 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14313 #  else
   14314 #    ifdef DL_LAZY
   14315 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14316 #    else
   14317 #      ifdef RTLD_NOW
   14318 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14319 #      else
   14320 #        ifdef DL_NOW
   14321 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14322 #        else
   14323 #          define LT_DLLAZY_OR_NOW	0
   14324 #        endif
   14325 #      endif
   14326 #    endif
   14327 #  endif
   14328 #endif
   14329 
   14330 /* When -fvisibility=hidden is used, assume the code has been annotated
   14331    correspondingly for the symbols needed.  */
   14332 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14333 int fnord (void) __attribute__((visibility("default")));
   14334 #endif
   14335 
   14336 int fnord (void) { return 42; }
   14337 int main (void)
   14338 {
   14339   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14340   int status = $lt_dlunknown;
   14341 
   14342   if (self)
   14343     {
   14344       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14345       else
   14346         {
   14347 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14348           else puts (dlerror ());
   14349 	}
   14350       /* dlclose (self); */
   14351     }
   14352   else
   14353     puts (dlerror ());
   14354 
   14355   return status;
   14356 }
   14357 _LT_EOF
   14358   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14359   (eval $ac_link) 2>&5
   14360   ac_status=$?
   14361   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14362   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14363     (./conftest; exit; ) >&5 2>/dev/null
   14364     lt_status=$?
   14365     case x$lt_status in
   14366       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14367       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14368       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14369     esac
   14370   else :
   14371     # compilation failed
   14372     lt_cv_dlopen_self=no
   14373   fi
   14374 fi
   14375 rm -fr conftest*
   14376 
   14377      ;;
   14378 esac
   14379 fi
   14380 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14381 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
   14382 
   14383     if test yes = "$lt_cv_dlopen_self"; then
   14384       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14385       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14386 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14387 if test ${lt_cv_dlopen_self_static+y}
   14388 then :
   14389   printf %s "(cached) " >&6
   14390 else case e in #(
   14391   e) 	  if test yes = "$cross_compiling"; then :
   14392   lt_cv_dlopen_self_static=cross
   14393 else
   14394   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14395   lt_status=$lt_dlunknown
   14396   cat > conftest.$ac_ext <<_LT_EOF
   14397 #line $LINENO "configure"
   14398 #include "confdefs.h"
   14399 
   14400 #if HAVE_DLFCN_H
   14401 #include <dlfcn.h>
   14402 #endif
   14403 
   14404 #include <stdio.h>
   14405 
   14406 #ifdef RTLD_GLOBAL
   14407 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14408 #else
   14409 #  ifdef DL_GLOBAL
   14410 #    define LT_DLGLOBAL		DL_GLOBAL
   14411 #  else
   14412 #    define LT_DLGLOBAL		0
   14413 #  endif
   14414 #endif
   14415 
   14416 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14417    find out it does not work in some platform. */
   14418 #ifndef LT_DLLAZY_OR_NOW
   14419 #  ifdef RTLD_LAZY
   14420 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14421 #  else
   14422 #    ifdef DL_LAZY
   14423 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14424 #    else
   14425 #      ifdef RTLD_NOW
   14426 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14427 #      else
   14428 #        ifdef DL_NOW
   14429 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14430 #        else
   14431 #          define LT_DLLAZY_OR_NOW	0
   14432 #        endif
   14433 #      endif
   14434 #    endif
   14435 #  endif
   14436 #endif
   14437 
   14438 /* When -fvisibility=hidden is used, assume the code has been annotated
   14439    correspondingly for the symbols needed.  */
   14440 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14441 int fnord (void) __attribute__((visibility("default")));
   14442 #endif
   14443 
   14444 int fnord (void) { return 42; }
   14445 int main (void)
   14446 {
   14447   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14448   int status = $lt_dlunknown;
   14449 
   14450   if (self)
   14451     {
   14452       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14453       else
   14454         {
   14455 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14456           else puts (dlerror ());
   14457 	}
   14458       /* dlclose (self); */
   14459     }
   14460   else
   14461     puts (dlerror ());
   14462 
   14463   return status;
   14464 }
   14465 _LT_EOF
   14466   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14467   (eval $ac_link) 2>&5
   14468   ac_status=$?
   14469   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14470   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14471     (./conftest; exit; ) >&5 2>/dev/null
   14472     lt_status=$?
   14473     case x$lt_status in
   14474       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14475       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14476       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14477     esac
   14478   else :
   14479     # compilation failed
   14480     lt_cv_dlopen_self_static=no
   14481   fi
   14482 fi
   14483 rm -fr conftest*
   14484 
   14485        ;;
   14486 esac
   14487 fi
   14488 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14489 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
   14490     fi
   14491 
   14492     CPPFLAGS=$save_CPPFLAGS
   14493     LDFLAGS=$save_LDFLAGS
   14494     LIBS=$save_LIBS
   14495     ;;
   14496   esac
   14497 
   14498   case $lt_cv_dlopen_self in
   14499   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14500   *) enable_dlopen_self=unknown ;;
   14501   esac
   14502 
   14503   case $lt_cv_dlopen_self_static in
   14504   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14505   *) enable_dlopen_self_static=unknown ;;
   14506   esac
   14507 fi
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 striplib=
   14526 old_striplib=
   14527 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14528 printf %s "checking whether stripping libraries is possible... " >&6; }
   14529 if test -z "$STRIP"; then
   14530   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14531 printf '%s\n' "no" >&6; }
   14532 else
   14533   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14534     old_striplib="$STRIP --strip-debug"
   14535     striplib="$STRIP --strip-unneeded"
   14536     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14537 printf '%s\n' "yes" >&6; }
   14538   else
   14539     case $host_os in
   14540     darwin*)
   14541       # FIXME - insert some real tests, host_os isn't really good enough
   14542       striplib="$STRIP -x"
   14543       old_striplib="$STRIP -S"
   14544       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14545 printf '%s\n' "yes" >&6; }
   14546       ;;
   14547     freebsd*)
   14548       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14549         old_striplib="$STRIP --strip-debug"
   14550         striplib="$STRIP --strip-unneeded"
   14551         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14552 printf '%s\n' "yes" >&6; }
   14553       else
   14554         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14555 printf '%s\n' "no" >&6; }
   14556       fi
   14557       ;;
   14558     *)
   14559       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14560 printf '%s\n' "no" >&6; }
   14561       ;;
   14562     esac
   14563   fi
   14564 fi
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577   # Report what library types will actually be built
   14578   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14579 printf %s "checking if libtool supports shared libraries... " >&6; }
   14580   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14581 printf '%s\n' "$can_build_shared" >&6; }
   14582 
   14583   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14584 printf %s "checking whether to build shared libraries... " >&6; }
   14585   test no = "$can_build_shared" && enable_shared=no
   14586 
   14587   # On AIX, shared libraries and static libraries use the same namespace, and
   14588   # are all built from PIC.
   14589   case $host_os in
   14590   aix3*)
   14591     test yes = "$enable_shared" && enable_static=no
   14592     if test -n "$RANLIB"; then
   14593       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14594       postinstall_cmds='$RANLIB $lib'
   14595     fi
   14596     ;;
   14597 
   14598   aix[4-9]*)
   14599     if test ia64 != "$host_cpu"; then
   14600       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14601       yes,aix,yes) ;;			# shared object as lib.so file only
   14602       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14603       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14604       esac
   14605     fi
   14606     ;;
   14607   esac
   14608   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14609 printf '%s\n' "$enable_shared" >&6; }
   14610 
   14611   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14612 printf %s "checking whether to build static libraries... " >&6; }
   14613   # Make sure either enable_shared or enable_static is yes.
   14614   test yes = "$enable_shared" || enable_static=yes
   14615   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14616 printf '%s\n' "$enable_static" >&6; }
   14617 
   14618 
   14619 
   14620 
   14621 fi
   14622 ac_ext=c
   14623 ac_cpp='$CPP $CPPFLAGS'
   14624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14627 
   14628 CC=$lt_save_CC
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651         ac_config_commands="$ac_config_commands libtool"
   14652 
   14653 
   14654 
   14655 
   14656 # Only expand once:
   14657 
   14658 
   14659 
   14660 # Check whether --enable-largefile was given.
   14661 if test ${enable_largefile+y}
   14662 then :
   14663   enableval=$enable_largefile;
   14664 fi
   14665 if test "$enable_largefile,$enable_year2038" != no,no
   14666 then :
   14667   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5
   14668 printf %s "checking for $CC option to support large files... " >&6; }
   14669 if test ${ac_cv_sys_largefile_opts+y}
   14670 then :
   14671   printf %s "(cached) " >&6
   14672 else case e in #(
   14673   e) ac_save_CPPFLAGS=$CPPFLAGS
   14674   ac_opt_found=no
   14675   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   14676     if test x"$ac_opt" != x"none needed"
   14677 then :
   14678   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   14679 fi
   14680     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14681 /* end confdefs.h.  */
   14682 #include <sys/types.h>
   14683 #ifndef FTYPE
   14684 # define FTYPE off_t
   14685 #endif
   14686  /* Check that FTYPE can represent 2**63 - 1 correctly.
   14687     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   14688     since some C++ compilers masquerading as C compilers
   14689     incorrectly reject 9223372036854775807.  */
   14690 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   14691   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   14692 		       && LARGE_FTYPE % 2147483647 == 1)
   14693 		      ? 1 : -1];
   14694 int
   14695 main (void)
   14696 {
   14697 
   14698   ;
   14699   return 0;
   14700 }
   14701 _ACEOF
   14702 if ac_fn_c_try_compile "$LINENO"
   14703 then :
   14704   if test x"$ac_opt" = x"none needed"
   14705 then :
   14706   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   14707 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   14708 	 if ac_fn_c_try_compile "$LINENO"
   14709 then :
   14710 
   14711 else case e in #(
   14712   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   14713 	    if ac_fn_c_try_compile "$LINENO"
   14714 then :
   14715   ac_opt='-D_FILE_OFFSET_BITS=64'
   14716 fi
   14717 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   14718 esac
   14719 fi
   14720 rm -f core conftest.err conftest.$ac_objext conftest.beam
   14721 fi
   14722       ac_cv_sys_largefile_opts=$ac_opt
   14723       ac_opt_found=yes
   14724 fi
   14725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14726     test $ac_opt_found = no || break
   14727   done
   14728   CPPFLAGS=$ac_save_CPPFLAGS
   14729 
   14730   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   14731 esac
   14732 fi
   14733 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   14734 printf '%s\n' "$ac_cv_sys_largefile_opts" >&6; }
   14735 
   14736 ac_have_largefile=yes
   14737 case $ac_cv_sys_largefile_opts in #(
   14738   "none needed") :
   14739      ;; #(
   14740   "supported through gnulib") :
   14741      ;; #(
   14742   "support not detected") :
   14743     ac_have_largefile=no ;; #(
   14744   "-D_FILE_OFFSET_BITS=64") :
   14745 
   14746 printf '%s\n' "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   14747  ;; #(
   14748   "-D_LARGE_FILES=1") :
   14749 
   14750 printf '%s\n' "#define _LARGE_FILES 1" >>confdefs.h
   14751  ;; #(
   14752   *) :
   14753     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   14754 esac
   14755 
   14756 if test "$enable_year2038" != no
   14757 then :
   14758   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5
   14759 printf %s "checking for $CC option to support timestamps after 2038... " >&6; }
   14760 if test ${ac_cv_sys_year2038_opts+y}
   14761 then :
   14762   printf %s "(cached) " >&6
   14763 else case e in #(
   14764   e) ac_save_CPPFLAGS="$CPPFLAGS"
   14765   ac_opt_found=no
   14766   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
   14767     if test x"$ac_opt" != x"none needed"
   14768 then :
   14769   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   14770 fi
   14771     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14772 /* end confdefs.h.  */
   14773 
   14774   #include <time.h>
   14775   /* Check that time_t can represent 2**32 - 1 correctly.  */
   14776   #define LARGE_TIME_T \\
   14777     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   14778   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   14779                            && LARGE_TIME_T % 65537 == 0)
   14780                           ? 1 : -1];
   14781 
   14782 int
   14783 main (void)
   14784 {
   14785 
   14786   ;
   14787   return 0;
   14788 }
   14789 _ACEOF
   14790 if ac_fn_c_try_compile "$LINENO"
   14791 then :
   14792   ac_cv_sys_year2038_opts="$ac_opt"
   14793       ac_opt_found=yes
   14794 fi
   14795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14796     test $ac_opt_found = no || break
   14797   done
   14798   CPPFLAGS="$ac_save_CPPFLAGS"
   14799   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   14800 esac
   14801 fi
   14802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   14803 printf '%s\n' "$ac_cv_sys_year2038_opts" >&6; }
   14804 
   14805 ac_have_year2038=yes
   14806 case $ac_cv_sys_year2038_opts in #(
   14807   "none needed") :
   14808      ;; #(
   14809   "support not detected") :
   14810     ac_have_year2038=no ;; #(
   14811   "-D_TIME_BITS=64") :
   14812 
   14813 printf '%s\n' "#define _TIME_BITS 64" >>confdefs.h
   14814  ;; #(
   14815   "-D__MINGW_USE_VC2005_COMPAT") :
   14816 
   14817 printf '%s\n' "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   14818  ;; #(
   14819   "-U_USE_32_BIT_TIME_T"*) :
   14820     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14821 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14822 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   14823 will stop working after mid-January 2038. Remove
   14824 _USE_32BIT_TIME_T from the compiler flags.
   14825 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14826   *) :
   14827     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   14828 esac
   14829 
   14830 fi
   14831 
   14832 fi
   14833 
   14834 # Require xorg-macros minimum of 1.15 for fop minimum version
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   14847 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   14848 if test ${ac_cv_c_undeclared_builtin_options+y}
   14849 then :
   14850   printf %s "(cached) " >&6
   14851 else case e in #(
   14852   e) ac_save_CFLAGS=$CFLAGS
   14853    ac_cv_c_undeclared_builtin_options='cannot detect'
   14854    for ac_arg in '' -fno-builtin; do
   14855      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14856      # This test program should *not* compile successfully.
   14857      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14858 /* end confdefs.h.  */
   14859 
   14860 int
   14861 main (void)
   14862 {
   14863 (void) strchr;
   14864   ;
   14865   return 0;
   14866 }
   14867 _ACEOF
   14868 if ac_fn_c_try_compile "$LINENO"
   14869 then :
   14870 
   14871 else case e in #(
   14872   e) # This test program should compile successfully.
   14873         # No library function is consistently available on
   14874         # freestanding implementations, so test against a dummy
   14875         # declaration.  Include always-available headers on the
   14876         # off chance that they somehow elicit warnings.
   14877         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14878 /* end confdefs.h.  */
   14879 #include <float.h>
   14880 #include <limits.h>
   14881 #include <stdarg.h>
   14882 #include <stddef.h>
   14883 extern void ac_decl (int, char *);
   14884 
   14885 int
   14886 main (void)
   14887 {
   14888 (void) ac_decl (0, (char *) 0);
   14889   (void) ac_decl;
   14890 
   14891   ;
   14892   return 0;
   14893 }
   14894 _ACEOF
   14895 if ac_fn_c_try_compile "$LINENO"
   14896 then :
   14897   if test x"$ac_arg" = x
   14898 then :
   14899   ac_cv_c_undeclared_builtin_options='none needed'
   14900 else case e in #(
   14901   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14902 esac
   14903 fi
   14904           break
   14905 fi
   14906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14907 esac
   14908 fi
   14909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14910     done
   14911     CFLAGS=$ac_save_CFLAGS
   14912    ;;
   14913 esac
   14914 fi
   14915 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14916 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   14917   case $ac_cv_c_undeclared_builtin_options in #(
   14918   'cannot detect') :
   14919     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14920 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14921 as_fn_error $? "cannot make $CC report undeclared builtins
   14922 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14923   'none needed') :
   14924     ac_c_undeclared_builtin_options='' ;; #(
   14925   *) :
   14926     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14927 esac
   14928 
   14929 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   14930 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   14931 if test ${ac_cv_c_future_darwin_options+y}
   14932 then :
   14933   printf %s "(cached) " >&6
   14934 else case e in #(
   14935   e)       ac_compile_saved="$ac_compile"
   14936    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   14937    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14938 /* end confdefs.h.  */
   14939 #if ! (defined __APPLE__ && defined __MACH__)
   14940 	   #error "-Werror=unguarded-availability-new not needed here"
   14941 	  #endif
   14942 
   14943 int
   14944 main (void)
   14945 {
   14946 
   14947   ;
   14948   return 0;
   14949 }
   14950 _ACEOF
   14951 if ac_fn_c_try_compile "$LINENO"
   14952 then :
   14953   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   14954 else case e in #(
   14955   e) ac_cv_c_future_darwin_options='none needed' ;;
   14956 esac
   14957 fi
   14958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14959    ac_compile="$ac_compile_saved"
   14960    ;;
   14961 esac
   14962 fi
   14963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   14964 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   14965  case $ac_cv_c_future_darwin_options in #(
   14966   'none needed') :
   14967     ac_c_future_darwin_options='' ;; #(
   14968   *) :
   14969     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   14970 esac
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14977 if test "x$ac_cv_have_decl___clang__" = xyes
   14978 then :
   14979   CLANGCC="yes"
   14980 else case e in #(
   14981   e) CLANGCC="no" ;;
   14982 esac
   14983 fi
   14984 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14985 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14986 then :
   14987   INTELCC="yes"
   14988 else case e in #(
   14989   e) INTELCC="no" ;;
   14990 esac
   14991 fi
   14992 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14993 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14994 then :
   14995   SUNCC="yes"
   14996 else case e in #(
   14997   e) SUNCC="no" ;;
   14998 esac
   14999 fi
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15009 	if test -n "$ac_tool_prefix"; then
   15010   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15011 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15013 printf %s "checking for $ac_word... " >&6; }
   15014 if test ${ac_cv_path_PKG_CONFIG+y}
   15015 then :
   15016   printf %s "(cached) " >&6
   15017 else case e in #(
   15018   e) case $PKG_CONFIG in
   15019   [\\/]* | ?:[\\/]*)
   15020   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15021   ;;
   15022   *)
   15023   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15024 for as_dir in $PATH
   15025 do
   15026   IFS=$as_save_IFS
   15027   case $as_dir in #(((
   15028     '') as_dir=./ ;;
   15029     */) ;;
   15030     *) as_dir=$as_dir/ ;;
   15031   esac
   15032     for ac_exec_ext in '' $ac_executable_extensions; do
   15033   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15034     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   15035     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15036     break 2
   15037   fi
   15038 done
   15039   done
   15040 IFS=$as_save_IFS
   15041 
   15042   ;;
   15043 esac ;;
   15044 esac
   15045 fi
   15046 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15047 if test -n "$PKG_CONFIG"; then
   15048   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15049 printf '%s\n' "$PKG_CONFIG" >&6; }
   15050 else
   15051   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15052 printf '%s\n' "no" >&6; }
   15053 fi
   15054 
   15055 
   15056 fi
   15057 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15058   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15059   # Extract the first word of "pkg-config", so it can be a program name with args.
   15060 set dummy pkg-config; ac_word=$2
   15061 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15062 printf %s "checking for $ac_word... " >&6; }
   15063 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   15064 then :
   15065   printf %s "(cached) " >&6
   15066 else case e in #(
   15067   e) case $ac_pt_PKG_CONFIG in
   15068   [\\/]* | ?:[\\/]*)
   15069   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15070   ;;
   15071   *)
   15072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15073 for as_dir in $PATH
   15074 do
   15075   IFS=$as_save_IFS
   15076   case $as_dir in #(((
   15077     '') as_dir=./ ;;
   15078     */) ;;
   15079     *) as_dir=$as_dir/ ;;
   15080   esac
   15081     for ac_exec_ext in '' $ac_executable_extensions; do
   15082   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15083     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   15084     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15085     break 2
   15086   fi
   15087 done
   15088   done
   15089 IFS=$as_save_IFS
   15090 
   15091   ;;
   15092 esac ;;
   15093 esac
   15094 fi
   15095 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15096 if test -n "$ac_pt_PKG_CONFIG"; then
   15097   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15098 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   15099 else
   15100   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15101 printf '%s\n' "no" >&6; }
   15102 fi
   15103 
   15104   if test "x$ac_pt_PKG_CONFIG" = x; then
   15105     PKG_CONFIG=""
   15106   else
   15107     case $cross_compiling:$ac_tool_warned in
   15108 yes:)
   15109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15110 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15111 ac_tool_warned=yes ;;
   15112 esac
   15113     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15114   fi
   15115 else
   15116   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15117 fi
   15118 
   15119 fi
   15120 if test -n "$PKG_CONFIG"; then
   15121 	_pkg_min_version=0.9.0
   15122 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15123 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15124 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15125 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15126 printf '%s\n' "yes" >&6; }
   15127 	else
   15128 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15129 printf '%s\n' "no" >&6; }
   15130 		PKG_CONFIG=""
   15131 	fi
   15132 fi
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 # Check whether --enable-selective-werror was given.
   15139 if test ${enable_selective_werror+y}
   15140 then :
   15141   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   15142 else case e in #(
   15143   e) SELECTIVE_WERROR=yes ;;
   15144 esac
   15145 fi
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   15152 if test "x$SUNCC" = "xyes"; then
   15153     BASE_CFLAGS="-v"
   15154 else
   15155     BASE_CFLAGS=""
   15156 fi
   15157 
   15158 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 xorg_testset_save_CFLAGS="$CFLAGS"
   15173 
   15174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15176 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15177 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15178 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15179 then :
   15180   printf %s "(cached) " >&6
   15181 else case e in #(
   15182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15183 /* end confdefs.h.  */
   15184 int i;
   15185 _ACEOF
   15186 if ac_fn_c_try_compile "$LINENO"
   15187 then :
   15188   xorg_cv_cc_flag_unknown_warning_option=yes
   15189 else case e in #(
   15190   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15191 esac
   15192 fi
   15193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15194 esac
   15195 fi
   15196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15197 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15199 	CFLAGS="$xorg_testset_save_CFLAGS"
   15200 fi
   15201 
   15202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15205 	fi
   15206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15207 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15208 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15209 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15210 then :
   15211   printf %s "(cached) " >&6
   15212 else case e in #(
   15213   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15214 /* end confdefs.h.  */
   15215 int i;
   15216 _ACEOF
   15217 if ac_fn_c_try_compile "$LINENO"
   15218 then :
   15219   xorg_cv_cc_flag_unused_command_line_argument=yes
   15220 else case e in #(
   15221   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15222 esac
   15223 fi
   15224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15225 esac
   15226 fi
   15227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15228 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15230 	CFLAGS="$xorg_testset_save_CFLAGS"
   15231 fi
   15232 
   15233 found="no"
   15234 
   15235 	if test $found = "no" ; then
   15236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15238 		fi
   15239 
   15240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15242 		fi
   15243 
   15244 		CFLAGS="$CFLAGS -Wall"
   15245 
   15246 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   15247 printf %s "checking if $CC supports -Wall... " >&6; }
   15248 		cacheid=xorg_cv_cc_flag__Wall
   15249 		if eval test \${$cacheid+y}
   15250 then :
   15251   printf %s "(cached) " >&6
   15252 else case e in #(
   15253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15254 /* end confdefs.h.  */
   15255 int i;
   15256 int
   15257 main (void)
   15258 {
   15259 
   15260   ;
   15261   return 0;
   15262 }
   15263 _ACEOF
   15264 if ac_fn_c_try_link "$LINENO"
   15265 then :
   15266   eval $cacheid=yes
   15267 else case e in #(
   15268   e) eval $cacheid=no ;;
   15269 esac
   15270 fi
   15271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15272     conftest$ac_exeext conftest.$ac_ext ;;
   15273 esac
   15274 fi
   15275 
   15276 
   15277 		CFLAGS="$xorg_testset_save_CFLAGS"
   15278 
   15279 		eval supported=\$$cacheid
   15280 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15281 printf '%s\n' "$supported" >&6; }
   15282 		if test "$supported" = "yes" ; then
   15283 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   15284 			found="yes"
   15285 		fi
   15286 	fi
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 xorg_testset_save_CFLAGS="$CFLAGS"
   15303 
   15304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15306 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15307 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15308 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15309 then :
   15310   printf %s "(cached) " >&6
   15311 else case e in #(
   15312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15313 /* end confdefs.h.  */
   15314 int i;
   15315 _ACEOF
   15316 if ac_fn_c_try_compile "$LINENO"
   15317 then :
   15318   xorg_cv_cc_flag_unknown_warning_option=yes
   15319 else case e in #(
   15320   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15321 esac
   15322 fi
   15323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15324 esac
   15325 fi
   15326 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15327 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15329 	CFLAGS="$xorg_testset_save_CFLAGS"
   15330 fi
   15331 
   15332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15335 	fi
   15336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15337 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15340 then :
   15341   printf %s "(cached) " >&6
   15342 else case e in #(
   15343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15344 /* end confdefs.h.  */
   15345 int i;
   15346 _ACEOF
   15347 if ac_fn_c_try_compile "$LINENO"
   15348 then :
   15349   xorg_cv_cc_flag_unused_command_line_argument=yes
   15350 else case e in #(
   15351   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15352 esac
   15353 fi
   15354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15355 esac
   15356 fi
   15357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15358 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15360 	CFLAGS="$xorg_testset_save_CFLAGS"
   15361 fi
   15362 
   15363 found="no"
   15364 
   15365 	if test $found = "no" ; then
   15366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15368 		fi
   15369 
   15370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15372 		fi
   15373 
   15374 		CFLAGS="$CFLAGS -Wpointer-arith"
   15375 
   15376 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   15377 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   15378 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   15379 		if eval test \${$cacheid+y}
   15380 then :
   15381   printf %s "(cached) " >&6
   15382 else case e in #(
   15383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15384 /* end confdefs.h.  */
   15385 int i;
   15386 int
   15387 main (void)
   15388 {
   15389 
   15390   ;
   15391   return 0;
   15392 }
   15393 _ACEOF
   15394 if ac_fn_c_try_link "$LINENO"
   15395 then :
   15396   eval $cacheid=yes
   15397 else case e in #(
   15398   e) eval $cacheid=no ;;
   15399 esac
   15400 fi
   15401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15402     conftest$ac_exeext conftest.$ac_ext ;;
   15403 esac
   15404 fi
   15405 
   15406 
   15407 		CFLAGS="$xorg_testset_save_CFLAGS"
   15408 
   15409 		eval supported=\$$cacheid
   15410 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15411 printf '%s\n' "$supported" >&6; }
   15412 		if test "$supported" = "yes" ; then
   15413 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   15414 			found="yes"
   15415 		fi
   15416 	fi
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 xorg_testset_save_CFLAGS="$CFLAGS"
   15433 
   15434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15436 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15439 then :
   15440   printf %s "(cached) " >&6
   15441 else case e in #(
   15442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15443 /* end confdefs.h.  */
   15444 int i;
   15445 _ACEOF
   15446 if ac_fn_c_try_compile "$LINENO"
   15447 then :
   15448   xorg_cv_cc_flag_unknown_warning_option=yes
   15449 else case e in #(
   15450   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15451 esac
   15452 fi
   15453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15454 esac
   15455 fi
   15456 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15457 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15459 	CFLAGS="$xorg_testset_save_CFLAGS"
   15460 fi
   15461 
   15462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15465 	fi
   15466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15467 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15470 then :
   15471   printf %s "(cached) " >&6
   15472 else case e in #(
   15473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15474 /* end confdefs.h.  */
   15475 int i;
   15476 _ACEOF
   15477 if ac_fn_c_try_compile "$LINENO"
   15478 then :
   15479   xorg_cv_cc_flag_unused_command_line_argument=yes
   15480 else case e in #(
   15481   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15482 esac
   15483 fi
   15484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15485 esac
   15486 fi
   15487 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15488 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15490 	CFLAGS="$xorg_testset_save_CFLAGS"
   15491 fi
   15492 
   15493 found="no"
   15494 
   15495 	if test $found = "no" ; then
   15496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15498 		fi
   15499 
   15500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15502 		fi
   15503 
   15504 		CFLAGS="$CFLAGS -Wmissing-declarations"
   15505 
   15506 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   15507 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   15508 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   15509 		if eval test \${$cacheid+y}
   15510 then :
   15511   printf %s "(cached) " >&6
   15512 else case e in #(
   15513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15514 /* end confdefs.h.  */
   15515 int i;
   15516 int
   15517 main (void)
   15518 {
   15519 
   15520   ;
   15521   return 0;
   15522 }
   15523 _ACEOF
   15524 if ac_fn_c_try_link "$LINENO"
   15525 then :
   15526   eval $cacheid=yes
   15527 else case e in #(
   15528   e) eval $cacheid=no ;;
   15529 esac
   15530 fi
   15531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15532     conftest$ac_exeext conftest.$ac_ext ;;
   15533 esac
   15534 fi
   15535 
   15536 
   15537 		CFLAGS="$xorg_testset_save_CFLAGS"
   15538 
   15539 		eval supported=\$$cacheid
   15540 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15541 printf '%s\n' "$supported" >&6; }
   15542 		if test "$supported" = "yes" ; then
   15543 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   15544 			found="yes"
   15545 		fi
   15546 	fi
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 xorg_testset_save_CFLAGS="$CFLAGS"
   15563 
   15564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15566 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15569 then :
   15570   printf %s "(cached) " >&6
   15571 else case e in #(
   15572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15573 /* end confdefs.h.  */
   15574 int i;
   15575 _ACEOF
   15576 if ac_fn_c_try_compile "$LINENO"
   15577 then :
   15578   xorg_cv_cc_flag_unknown_warning_option=yes
   15579 else case e in #(
   15580   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15581 esac
   15582 fi
   15583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15584 esac
   15585 fi
   15586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15587 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15589 	CFLAGS="$xorg_testset_save_CFLAGS"
   15590 fi
   15591 
   15592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15595 	fi
   15596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15597 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15600 then :
   15601   printf %s "(cached) " >&6
   15602 else case e in #(
   15603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15604 /* end confdefs.h.  */
   15605 int i;
   15606 _ACEOF
   15607 if ac_fn_c_try_compile "$LINENO"
   15608 then :
   15609   xorg_cv_cc_flag_unused_command_line_argument=yes
   15610 else case e in #(
   15611   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15612 esac
   15613 fi
   15614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15615 esac
   15616 fi
   15617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15618 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15620 	CFLAGS="$xorg_testset_save_CFLAGS"
   15621 fi
   15622 
   15623 found="no"
   15624 
   15625 	if test $found = "no" ; then
   15626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15628 		fi
   15629 
   15630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15632 		fi
   15633 
   15634 		CFLAGS="$CFLAGS -Wformat=2"
   15635 
   15636 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   15637 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   15638 		cacheid=xorg_cv_cc_flag__Wformat_2
   15639 		if eval test \${$cacheid+y}
   15640 then :
   15641   printf %s "(cached) " >&6
   15642 else case e in #(
   15643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 int
   15647 main (void)
   15648 {
   15649 
   15650   ;
   15651   return 0;
   15652 }
   15653 _ACEOF
   15654 if ac_fn_c_try_link "$LINENO"
   15655 then :
   15656   eval $cacheid=yes
   15657 else case e in #(
   15658   e) eval $cacheid=no ;;
   15659 esac
   15660 fi
   15661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15662     conftest$ac_exeext conftest.$ac_ext ;;
   15663 esac
   15664 fi
   15665 
   15666 
   15667 		CFLAGS="$xorg_testset_save_CFLAGS"
   15668 
   15669 		eval supported=\$$cacheid
   15670 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15671 printf '%s\n' "$supported" >&6; }
   15672 		if test "$supported" = "yes" ; then
   15673 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   15674 			found="yes"
   15675 		fi
   15676 	fi
   15677 
   15678 	if test $found = "no" ; then
   15679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15681 		fi
   15682 
   15683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15685 		fi
   15686 
   15687 		CFLAGS="$CFLAGS -Wformat"
   15688 
   15689 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   15690 printf %s "checking if $CC supports -Wformat... " >&6; }
   15691 		cacheid=xorg_cv_cc_flag__Wformat
   15692 		if eval test \${$cacheid+y}
   15693 then :
   15694   printf %s "(cached) " >&6
   15695 else case e in #(
   15696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15697 /* end confdefs.h.  */
   15698 int i;
   15699 int
   15700 main (void)
   15701 {
   15702 
   15703   ;
   15704   return 0;
   15705 }
   15706 _ACEOF
   15707 if ac_fn_c_try_link "$LINENO"
   15708 then :
   15709   eval $cacheid=yes
   15710 else case e in #(
   15711   e) eval $cacheid=no ;;
   15712 esac
   15713 fi
   15714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15715     conftest$ac_exeext conftest.$ac_ext ;;
   15716 esac
   15717 fi
   15718 
   15719 
   15720 		CFLAGS="$xorg_testset_save_CFLAGS"
   15721 
   15722 		eval supported=\$$cacheid
   15723 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15724 printf '%s\n' "$supported" >&6; }
   15725 		if test "$supported" = "yes" ; then
   15726 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15727 			found="yes"
   15728 		fi
   15729 	fi
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 xorg_testset_save_CFLAGS="$CFLAGS"
   15748 
   15749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15751 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15754 then :
   15755   printf %s "(cached) " >&6
   15756 else case e in #(
   15757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15758 /* end confdefs.h.  */
   15759 int i;
   15760 _ACEOF
   15761 if ac_fn_c_try_compile "$LINENO"
   15762 then :
   15763   xorg_cv_cc_flag_unknown_warning_option=yes
   15764 else case e in #(
   15765   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15766 esac
   15767 fi
   15768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15769 esac
   15770 fi
   15771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15772 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15774 	CFLAGS="$xorg_testset_save_CFLAGS"
   15775 fi
   15776 
   15777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15780 	fi
   15781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15782 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15785 then :
   15786   printf %s "(cached) " >&6
   15787 else case e in #(
   15788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15789 /* end confdefs.h.  */
   15790 int i;
   15791 _ACEOF
   15792 if ac_fn_c_try_compile "$LINENO"
   15793 then :
   15794   xorg_cv_cc_flag_unused_command_line_argument=yes
   15795 else case e in #(
   15796   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15797 esac
   15798 fi
   15799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15800 esac
   15801 fi
   15802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15803 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15805 	CFLAGS="$xorg_testset_save_CFLAGS"
   15806 fi
   15807 
   15808 found="no"
   15809 
   15810 	if test $found = "no" ; then
   15811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15813 		fi
   15814 
   15815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15817 		fi
   15818 
   15819 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15820 
   15821 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15822 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15823 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15824 		if eval test \${$cacheid+y}
   15825 then :
   15826   printf %s "(cached) " >&6
   15827 else case e in #(
   15828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15829 /* end confdefs.h.  */
   15830 int i;
   15831 int
   15832 main (void)
   15833 {
   15834 
   15835   ;
   15836   return 0;
   15837 }
   15838 _ACEOF
   15839 if ac_fn_c_try_link "$LINENO"
   15840 then :
   15841   eval $cacheid=yes
   15842 else case e in #(
   15843   e) eval $cacheid=no ;;
   15844 esac
   15845 fi
   15846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15847     conftest$ac_exeext conftest.$ac_ext ;;
   15848 esac
   15849 fi
   15850 
   15851 
   15852 		CFLAGS="$xorg_testset_save_CFLAGS"
   15853 
   15854 		eval supported=\$$cacheid
   15855 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15856 printf '%s\n' "$supported" >&6; }
   15857 		if test "$supported" = "yes" ; then
   15858 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15859 			found="yes"
   15860 		fi
   15861 	fi
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 xorg_testset_save_CFLAGS="$CFLAGS"
   15878 
   15879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15881 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15882 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15883 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15884 then :
   15885   printf %s "(cached) " >&6
   15886 else case e in #(
   15887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15888 /* end confdefs.h.  */
   15889 int i;
   15890 _ACEOF
   15891 if ac_fn_c_try_compile "$LINENO"
   15892 then :
   15893   xorg_cv_cc_flag_unknown_warning_option=yes
   15894 else case e in #(
   15895   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15896 esac
   15897 fi
   15898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15899 esac
   15900 fi
   15901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15902 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15904 	CFLAGS="$xorg_testset_save_CFLAGS"
   15905 fi
   15906 
   15907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15910 	fi
   15911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15912 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15913 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15914 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15915 then :
   15916   printf %s "(cached) " >&6
   15917 else case e in #(
   15918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15919 /* end confdefs.h.  */
   15920 int i;
   15921 _ACEOF
   15922 if ac_fn_c_try_compile "$LINENO"
   15923 then :
   15924   xorg_cv_cc_flag_unused_command_line_argument=yes
   15925 else case e in #(
   15926   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15927 esac
   15928 fi
   15929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15930 esac
   15931 fi
   15932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15933 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15935 	CFLAGS="$xorg_testset_save_CFLAGS"
   15936 fi
   15937 
   15938 found="no"
   15939 
   15940 	if test $found = "no" ; then
   15941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15943 		fi
   15944 
   15945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15947 		fi
   15948 
   15949 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15950 
   15951 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15952 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15953 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15954 		if eval test \${$cacheid+y}
   15955 then :
   15956   printf %s "(cached) " >&6
   15957 else case e in #(
   15958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15959 /* end confdefs.h.  */
   15960 int i;
   15961 int
   15962 main (void)
   15963 {
   15964 
   15965   ;
   15966   return 0;
   15967 }
   15968 _ACEOF
   15969 if ac_fn_c_try_link "$LINENO"
   15970 then :
   15971   eval $cacheid=yes
   15972 else case e in #(
   15973   e) eval $cacheid=no ;;
   15974 esac
   15975 fi
   15976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15977     conftest$ac_exeext conftest.$ac_ext ;;
   15978 esac
   15979 fi
   15980 
   15981 
   15982 		CFLAGS="$xorg_testset_save_CFLAGS"
   15983 
   15984 		eval supported=\$$cacheid
   15985 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15986 printf '%s\n' "$supported" >&6; }
   15987 		if test "$supported" = "yes" ; then
   15988 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15989 			found="yes"
   15990 		fi
   15991 	fi
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 xorg_testset_save_CFLAGS="$CFLAGS"
   16008 
   16009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16012 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16013 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16014 then :
   16015   printf %s "(cached) " >&6
   16016 else case e in #(
   16017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16018 /* end confdefs.h.  */
   16019 int i;
   16020 _ACEOF
   16021 if ac_fn_c_try_compile "$LINENO"
   16022 then :
   16023   xorg_cv_cc_flag_unknown_warning_option=yes
   16024 else case e in #(
   16025   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16026 esac
   16027 fi
   16028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16029 esac
   16030 fi
   16031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16032 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16034 	CFLAGS="$xorg_testset_save_CFLAGS"
   16035 fi
   16036 
   16037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16040 	fi
   16041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16042 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16043 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16044 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16045 then :
   16046   printf %s "(cached) " >&6
   16047 else case e in #(
   16048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16049 /* end confdefs.h.  */
   16050 int i;
   16051 _ACEOF
   16052 if ac_fn_c_try_compile "$LINENO"
   16053 then :
   16054   xorg_cv_cc_flag_unused_command_line_argument=yes
   16055 else case e in #(
   16056   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16057 esac
   16058 fi
   16059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16060 esac
   16061 fi
   16062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16063 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16065 	CFLAGS="$xorg_testset_save_CFLAGS"
   16066 fi
   16067 
   16068 found="no"
   16069 
   16070 	if test $found = "no" ; then
   16071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 		fi
   16074 
   16075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16077 		fi
   16078 
   16079 		CFLAGS="$CFLAGS -Wnested-externs"
   16080 
   16081 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   16082 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   16083 		cacheid=xorg_cv_cc_flag__Wnested_externs
   16084 		if eval test \${$cacheid+y}
   16085 then :
   16086   printf %s "(cached) " >&6
   16087 else case e in #(
   16088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16089 /* end confdefs.h.  */
   16090 int i;
   16091 int
   16092 main (void)
   16093 {
   16094 
   16095   ;
   16096   return 0;
   16097 }
   16098 _ACEOF
   16099 if ac_fn_c_try_link "$LINENO"
   16100 then :
   16101   eval $cacheid=yes
   16102 else case e in #(
   16103   e) eval $cacheid=no ;;
   16104 esac
   16105 fi
   16106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16107     conftest$ac_exeext conftest.$ac_ext ;;
   16108 esac
   16109 fi
   16110 
   16111 
   16112 		CFLAGS="$xorg_testset_save_CFLAGS"
   16113 
   16114 		eval supported=\$$cacheid
   16115 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16116 printf '%s\n' "$supported" >&6; }
   16117 		if test "$supported" = "yes" ; then
   16118 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   16119 			found="yes"
   16120 		fi
   16121 	fi
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 xorg_testset_save_CFLAGS="$CFLAGS"
   16138 
   16139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16141 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16144 then :
   16145   printf %s "(cached) " >&6
   16146 else case e in #(
   16147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 _ACEOF
   16151 if ac_fn_c_try_compile "$LINENO"
   16152 then :
   16153   xorg_cv_cc_flag_unknown_warning_option=yes
   16154 else case e in #(
   16155   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16156 esac
   16157 fi
   16158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16159 esac
   16160 fi
   16161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16162 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16164 	CFLAGS="$xorg_testset_save_CFLAGS"
   16165 fi
   16166 
   16167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16170 	fi
   16171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16172 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16173 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16174 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16175 then :
   16176   printf %s "(cached) " >&6
   16177 else case e in #(
   16178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16179 /* end confdefs.h.  */
   16180 int i;
   16181 _ACEOF
   16182 if ac_fn_c_try_compile "$LINENO"
   16183 then :
   16184   xorg_cv_cc_flag_unused_command_line_argument=yes
   16185 else case e in #(
   16186   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16187 esac
   16188 fi
   16189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16190 esac
   16191 fi
   16192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16193 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16195 	CFLAGS="$xorg_testset_save_CFLAGS"
   16196 fi
   16197 
   16198 found="no"
   16199 
   16200 	if test $found = "no" ; then
   16201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16203 		fi
   16204 
   16205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16207 		fi
   16208 
   16209 		CFLAGS="$CFLAGS -Wbad-function-cast"
   16210 
   16211 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   16212 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   16213 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   16214 		if eval test \${$cacheid+y}
   16215 then :
   16216   printf %s "(cached) " >&6
   16217 else case e in #(
   16218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16219 /* end confdefs.h.  */
   16220 int i;
   16221 int
   16222 main (void)
   16223 {
   16224 
   16225   ;
   16226   return 0;
   16227 }
   16228 _ACEOF
   16229 if ac_fn_c_try_link "$LINENO"
   16230 then :
   16231   eval $cacheid=yes
   16232 else case e in #(
   16233   e) eval $cacheid=no ;;
   16234 esac
   16235 fi
   16236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16237     conftest$ac_exeext conftest.$ac_ext ;;
   16238 esac
   16239 fi
   16240 
   16241 
   16242 		CFLAGS="$xorg_testset_save_CFLAGS"
   16243 
   16244 		eval supported=\$$cacheid
   16245 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16246 printf '%s\n' "$supported" >&6; }
   16247 		if test "$supported" = "yes" ; then
   16248 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   16249 			found="yes"
   16250 		fi
   16251 	fi
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 xorg_testset_save_CFLAGS="$CFLAGS"
   16268 
   16269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16271 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16274 then :
   16275   printf %s "(cached) " >&6
   16276 else case e in #(
   16277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16278 /* end confdefs.h.  */
   16279 int i;
   16280 _ACEOF
   16281 if ac_fn_c_try_compile "$LINENO"
   16282 then :
   16283   xorg_cv_cc_flag_unknown_warning_option=yes
   16284 else case e in #(
   16285   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16286 esac
   16287 fi
   16288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16289 esac
   16290 fi
   16291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16292 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16294 	CFLAGS="$xorg_testset_save_CFLAGS"
   16295 fi
   16296 
   16297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16300 	fi
   16301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16302 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16305 then :
   16306   printf %s "(cached) " >&6
   16307 else case e in #(
   16308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16309 /* end confdefs.h.  */
   16310 int i;
   16311 _ACEOF
   16312 if ac_fn_c_try_compile "$LINENO"
   16313 then :
   16314   xorg_cv_cc_flag_unused_command_line_argument=yes
   16315 else case e in #(
   16316   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16317 esac
   16318 fi
   16319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16320 esac
   16321 fi
   16322 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16323 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16325 	CFLAGS="$xorg_testset_save_CFLAGS"
   16326 fi
   16327 
   16328 found="no"
   16329 
   16330 	if test $found = "no" ; then
   16331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16333 		fi
   16334 
   16335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16337 		fi
   16338 
   16339 		CFLAGS="$CFLAGS -Wold-style-definition"
   16340 
   16341 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   16342 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   16343 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   16344 		if eval test \${$cacheid+y}
   16345 then :
   16346   printf %s "(cached) " >&6
   16347 else case e in #(
   16348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16349 /* end confdefs.h.  */
   16350 int i;
   16351 int
   16352 main (void)
   16353 {
   16354 
   16355   ;
   16356   return 0;
   16357 }
   16358 _ACEOF
   16359 if ac_fn_c_try_link "$LINENO"
   16360 then :
   16361   eval $cacheid=yes
   16362 else case e in #(
   16363   e) eval $cacheid=no ;;
   16364 esac
   16365 fi
   16366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16367     conftest$ac_exeext conftest.$ac_ext ;;
   16368 esac
   16369 fi
   16370 
   16371 
   16372 		CFLAGS="$xorg_testset_save_CFLAGS"
   16373 
   16374 		eval supported=\$$cacheid
   16375 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16376 printf '%s\n' "$supported" >&6; }
   16377 		if test "$supported" = "yes" ; then
   16378 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   16379 			found="yes"
   16380 		fi
   16381 	fi
   16382 
   16383 	if test $found = "no" ; then
   16384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16386 		fi
   16387 
   16388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16390 		fi
   16391 
   16392 		CFLAGS="$CFLAGS -fd"
   16393 
   16394 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   16395 printf %s "checking if $CC supports -fd... " >&6; }
   16396 		cacheid=xorg_cv_cc_flag__fd
   16397 		if eval test \${$cacheid+y}
   16398 then :
   16399   printf %s "(cached) " >&6
   16400 else case e in #(
   16401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16402 /* end confdefs.h.  */
   16403 int i;
   16404 int
   16405 main (void)
   16406 {
   16407 
   16408   ;
   16409   return 0;
   16410 }
   16411 _ACEOF
   16412 if ac_fn_c_try_link "$LINENO"
   16413 then :
   16414   eval $cacheid=yes
   16415 else case e in #(
   16416   e) eval $cacheid=no ;;
   16417 esac
   16418 fi
   16419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16420     conftest$ac_exeext conftest.$ac_ext ;;
   16421 esac
   16422 fi
   16423 
   16424 
   16425 		CFLAGS="$xorg_testset_save_CFLAGS"
   16426 
   16427 		eval supported=\$$cacheid
   16428 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16429 printf '%s\n' "$supported" >&6; }
   16430 		if test "$supported" = "yes" ; then
   16431 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   16432 			found="yes"
   16433 		fi
   16434 	fi
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 # This chunk adds additional warnings that could catch undesired effects.
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 xorg_testset_save_CFLAGS="$CFLAGS"
   16455 
   16456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16458 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16459 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16460 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16461 then :
   16462   printf %s "(cached) " >&6
   16463 else case e in #(
   16464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16465 /* end confdefs.h.  */
   16466 int i;
   16467 _ACEOF
   16468 if ac_fn_c_try_compile "$LINENO"
   16469 then :
   16470   xorg_cv_cc_flag_unknown_warning_option=yes
   16471 else case e in #(
   16472   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16473 esac
   16474 fi
   16475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16476 esac
   16477 fi
   16478 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16479 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16481 	CFLAGS="$xorg_testset_save_CFLAGS"
   16482 fi
   16483 
   16484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16487 	fi
   16488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16489 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16490 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16491 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16492 then :
   16493   printf %s "(cached) " >&6
   16494 else case e in #(
   16495   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16496 /* end confdefs.h.  */
   16497 int i;
   16498 _ACEOF
   16499 if ac_fn_c_try_compile "$LINENO"
   16500 then :
   16501   xorg_cv_cc_flag_unused_command_line_argument=yes
   16502 else case e in #(
   16503   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16504 esac
   16505 fi
   16506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16507 esac
   16508 fi
   16509 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16510 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16511 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16512 	CFLAGS="$xorg_testset_save_CFLAGS"
   16513 fi
   16514 
   16515 found="no"
   16516 
   16517 	if test $found = "no" ; then
   16518 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16520 		fi
   16521 
   16522 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16524 		fi
   16525 
   16526 		CFLAGS="$CFLAGS -Wunused"
   16527 
   16528 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   16529 printf %s "checking if $CC supports -Wunused... " >&6; }
   16530 		cacheid=xorg_cv_cc_flag__Wunused
   16531 		if eval test \${$cacheid+y}
   16532 then :
   16533   printf %s "(cached) " >&6
   16534 else case e in #(
   16535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16536 /* end confdefs.h.  */
   16537 int i;
   16538 int
   16539 main (void)
   16540 {
   16541 
   16542   ;
   16543   return 0;
   16544 }
   16545 _ACEOF
   16546 if ac_fn_c_try_link "$LINENO"
   16547 then :
   16548   eval $cacheid=yes
   16549 else case e in #(
   16550   e) eval $cacheid=no ;;
   16551 esac
   16552 fi
   16553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16554     conftest$ac_exeext conftest.$ac_ext ;;
   16555 esac
   16556 fi
   16557 
   16558 
   16559 		CFLAGS="$xorg_testset_save_CFLAGS"
   16560 
   16561 		eval supported=\$$cacheid
   16562 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16563 printf '%s\n' "$supported" >&6; }
   16564 		if test "$supported" = "yes" ; then
   16565 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   16566 			found="yes"
   16567 		fi
   16568 	fi
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 xorg_testset_save_CFLAGS="$CFLAGS"
   16585 
   16586 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16588 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16589 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16590 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16591 then :
   16592   printf %s "(cached) " >&6
   16593 else case e in #(
   16594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16595 /* end confdefs.h.  */
   16596 int i;
   16597 _ACEOF
   16598 if ac_fn_c_try_compile "$LINENO"
   16599 then :
   16600   xorg_cv_cc_flag_unknown_warning_option=yes
   16601 else case e in #(
   16602   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16603 esac
   16604 fi
   16605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16606 esac
   16607 fi
   16608 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16609 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16611 	CFLAGS="$xorg_testset_save_CFLAGS"
   16612 fi
   16613 
   16614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16617 	fi
   16618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16619 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16620 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16621 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16622 then :
   16623   printf %s "(cached) " >&6
   16624 else case e in #(
   16625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16626 /* end confdefs.h.  */
   16627 int i;
   16628 _ACEOF
   16629 if ac_fn_c_try_compile "$LINENO"
   16630 then :
   16631   xorg_cv_cc_flag_unused_command_line_argument=yes
   16632 else case e in #(
   16633   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16634 esac
   16635 fi
   16636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16637 esac
   16638 fi
   16639 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16640 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16642 	CFLAGS="$xorg_testset_save_CFLAGS"
   16643 fi
   16644 
   16645 found="no"
   16646 
   16647 	if test $found = "no" ; then
   16648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16650 		fi
   16651 
   16652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16654 		fi
   16655 
   16656 		CFLAGS="$CFLAGS -Wuninitialized"
   16657 
   16658 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   16659 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   16660 		cacheid=xorg_cv_cc_flag__Wuninitialized
   16661 		if eval test \${$cacheid+y}
   16662 then :
   16663   printf %s "(cached) " >&6
   16664 else case e in #(
   16665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16666 /* end confdefs.h.  */
   16667 int i;
   16668 int
   16669 main (void)
   16670 {
   16671 
   16672   ;
   16673   return 0;
   16674 }
   16675 _ACEOF
   16676 if ac_fn_c_try_link "$LINENO"
   16677 then :
   16678   eval $cacheid=yes
   16679 else case e in #(
   16680   e) eval $cacheid=no ;;
   16681 esac
   16682 fi
   16683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16684     conftest$ac_exeext conftest.$ac_ext ;;
   16685 esac
   16686 fi
   16687 
   16688 
   16689 		CFLAGS="$xorg_testset_save_CFLAGS"
   16690 
   16691 		eval supported=\$$cacheid
   16692 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16693 printf '%s\n' "$supported" >&6; }
   16694 		if test "$supported" = "yes" ; then
   16695 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   16696 			found="yes"
   16697 		fi
   16698 	fi
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 xorg_testset_save_CFLAGS="$CFLAGS"
   16715 
   16716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16718 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16719 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16720 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16721 then :
   16722   printf %s "(cached) " >&6
   16723 else case e in #(
   16724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16725 /* end confdefs.h.  */
   16726 int i;
   16727 _ACEOF
   16728 if ac_fn_c_try_compile "$LINENO"
   16729 then :
   16730   xorg_cv_cc_flag_unknown_warning_option=yes
   16731 else case e in #(
   16732   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16733 esac
   16734 fi
   16735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16736 esac
   16737 fi
   16738 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16739 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16741 	CFLAGS="$xorg_testset_save_CFLAGS"
   16742 fi
   16743 
   16744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16747 	fi
   16748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16749 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16750 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16751 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16752 then :
   16753   printf %s "(cached) " >&6
   16754 else case e in #(
   16755   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16756 /* end confdefs.h.  */
   16757 int i;
   16758 _ACEOF
   16759 if ac_fn_c_try_compile "$LINENO"
   16760 then :
   16761   xorg_cv_cc_flag_unused_command_line_argument=yes
   16762 else case e in #(
   16763   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16764 esac
   16765 fi
   16766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16767 esac
   16768 fi
   16769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16770 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16772 	CFLAGS="$xorg_testset_save_CFLAGS"
   16773 fi
   16774 
   16775 found="no"
   16776 
   16777 	if test $found = "no" ; then
   16778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16780 		fi
   16781 
   16782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16784 		fi
   16785 
   16786 		CFLAGS="$CFLAGS -Wshadow"
   16787 
   16788 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16789 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16790 		cacheid=xorg_cv_cc_flag__Wshadow
   16791 		if eval test \${$cacheid+y}
   16792 then :
   16793   printf %s "(cached) " >&6
   16794 else case e in #(
   16795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16796 /* end confdefs.h.  */
   16797 int i;
   16798 int
   16799 main (void)
   16800 {
   16801 
   16802   ;
   16803   return 0;
   16804 }
   16805 _ACEOF
   16806 if ac_fn_c_try_link "$LINENO"
   16807 then :
   16808   eval $cacheid=yes
   16809 else case e in #(
   16810   e) eval $cacheid=no ;;
   16811 esac
   16812 fi
   16813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16814     conftest$ac_exeext conftest.$ac_ext ;;
   16815 esac
   16816 fi
   16817 
   16818 
   16819 		CFLAGS="$xorg_testset_save_CFLAGS"
   16820 
   16821 		eval supported=\$$cacheid
   16822 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16823 printf '%s\n' "$supported" >&6; }
   16824 		if test "$supported" = "yes" ; then
   16825 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16826 			found="yes"
   16827 		fi
   16828 	fi
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 xorg_testset_save_CFLAGS="$CFLAGS"
   16845 
   16846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16848 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16849 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16850 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16851 then :
   16852   printf %s "(cached) " >&6
   16853 else case e in #(
   16854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16855 /* end confdefs.h.  */
   16856 int i;
   16857 _ACEOF
   16858 if ac_fn_c_try_compile "$LINENO"
   16859 then :
   16860   xorg_cv_cc_flag_unknown_warning_option=yes
   16861 else case e in #(
   16862   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16863 esac
   16864 fi
   16865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16866 esac
   16867 fi
   16868 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16869 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16871 	CFLAGS="$xorg_testset_save_CFLAGS"
   16872 fi
   16873 
   16874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16877 	fi
   16878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16879 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16882 then :
   16883   printf %s "(cached) " >&6
   16884 else case e in #(
   16885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16886 /* end confdefs.h.  */
   16887 int i;
   16888 _ACEOF
   16889 if ac_fn_c_try_compile "$LINENO"
   16890 then :
   16891   xorg_cv_cc_flag_unused_command_line_argument=yes
   16892 else case e in #(
   16893   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16894 esac
   16895 fi
   16896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16897 esac
   16898 fi
   16899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16900 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16902 	CFLAGS="$xorg_testset_save_CFLAGS"
   16903 fi
   16904 
   16905 found="no"
   16906 
   16907 	if test $found = "no" ; then
   16908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16910 		fi
   16911 
   16912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16914 		fi
   16915 
   16916 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16917 
   16918 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16919 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16920 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16921 		if eval test \${$cacheid+y}
   16922 then :
   16923   printf %s "(cached) " >&6
   16924 else case e in #(
   16925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16926 /* end confdefs.h.  */
   16927 int i;
   16928 int
   16929 main (void)
   16930 {
   16931 
   16932   ;
   16933   return 0;
   16934 }
   16935 _ACEOF
   16936 if ac_fn_c_try_link "$LINENO"
   16937 then :
   16938   eval $cacheid=yes
   16939 else case e in #(
   16940   e) eval $cacheid=no ;;
   16941 esac
   16942 fi
   16943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16944     conftest$ac_exeext conftest.$ac_ext ;;
   16945 esac
   16946 fi
   16947 
   16948 
   16949 		CFLAGS="$xorg_testset_save_CFLAGS"
   16950 
   16951 		eval supported=\$$cacheid
   16952 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16953 printf '%s\n' "$supported" >&6; }
   16954 		if test "$supported" = "yes" ; then
   16955 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16956 			found="yes"
   16957 		fi
   16958 	fi
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 xorg_testset_save_CFLAGS="$CFLAGS"
   16975 
   16976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16978 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16979 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16980 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16981 then :
   16982   printf %s "(cached) " >&6
   16983 else case e in #(
   16984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16985 /* end confdefs.h.  */
   16986 int i;
   16987 _ACEOF
   16988 if ac_fn_c_try_compile "$LINENO"
   16989 then :
   16990   xorg_cv_cc_flag_unknown_warning_option=yes
   16991 else case e in #(
   16992   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16993 esac
   16994 fi
   16995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16996 esac
   16997 fi
   16998 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16999 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17001 	CFLAGS="$xorg_testset_save_CFLAGS"
   17002 fi
   17003 
   17004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17007 	fi
   17008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17009 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17010 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17011 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17012 then :
   17013   printf %s "(cached) " >&6
   17014 else case e in #(
   17015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17016 /* end confdefs.h.  */
   17017 int i;
   17018 _ACEOF
   17019 if ac_fn_c_try_compile "$LINENO"
   17020 then :
   17021   xorg_cv_cc_flag_unused_command_line_argument=yes
   17022 else case e in #(
   17023   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17024 esac
   17025 fi
   17026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17027 esac
   17028 fi
   17029 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17030 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17032 	CFLAGS="$xorg_testset_save_CFLAGS"
   17033 fi
   17034 
   17035 found="no"
   17036 
   17037 	if test $found = "no" ; then
   17038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17040 		fi
   17041 
   17042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17044 		fi
   17045 
   17046 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   17047 
   17048 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   17049 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   17050 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   17051 		if eval test \${$cacheid+y}
   17052 then :
   17053   printf %s "(cached) " >&6
   17054 else case e in #(
   17055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17056 /* end confdefs.h.  */
   17057 int i;
   17058 int
   17059 main (void)
   17060 {
   17061 
   17062   ;
   17063   return 0;
   17064 }
   17065 _ACEOF
   17066 if ac_fn_c_try_link "$LINENO"
   17067 then :
   17068   eval $cacheid=yes
   17069 else case e in #(
   17070   e) eval $cacheid=no ;;
   17071 esac
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17074     conftest$ac_exeext conftest.$ac_ext ;;
   17075 esac
   17076 fi
   17077 
   17078 
   17079 		CFLAGS="$xorg_testset_save_CFLAGS"
   17080 
   17081 		eval supported=\$$cacheid
   17082 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17083 printf '%s\n' "$supported" >&6; }
   17084 		if test "$supported" = "yes" ; then
   17085 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   17086 			found="yes"
   17087 		fi
   17088 	fi
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 xorg_testset_save_CFLAGS="$CFLAGS"
   17105 
   17106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17108 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17109 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17110 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17111 then :
   17112   printf %s "(cached) " >&6
   17113 else case e in #(
   17114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17115 /* end confdefs.h.  */
   17116 int i;
   17117 _ACEOF
   17118 if ac_fn_c_try_compile "$LINENO"
   17119 then :
   17120   xorg_cv_cc_flag_unknown_warning_option=yes
   17121 else case e in #(
   17122   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17123 esac
   17124 fi
   17125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17126 esac
   17127 fi
   17128 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17129 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17131 	CFLAGS="$xorg_testset_save_CFLAGS"
   17132 fi
   17133 
   17134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17137 	fi
   17138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17139 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17140 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17141 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17142 then :
   17143   printf %s "(cached) " >&6
   17144 else case e in #(
   17145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17146 /* end confdefs.h.  */
   17147 int i;
   17148 _ACEOF
   17149 if ac_fn_c_try_compile "$LINENO"
   17150 then :
   17151   xorg_cv_cc_flag_unused_command_line_argument=yes
   17152 else case e in #(
   17153   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17154 esac
   17155 fi
   17156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17157 esac
   17158 fi
   17159 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17160 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17162 	CFLAGS="$xorg_testset_save_CFLAGS"
   17163 fi
   17164 
   17165 found="no"
   17166 
   17167 	if test $found = "no" ; then
   17168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 		fi
   17171 
   17172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17174 		fi
   17175 
   17176 		CFLAGS="$CFLAGS -Wredundant-decls"
   17177 
   17178 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   17179 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   17180 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   17181 		if eval test \${$cacheid+y}
   17182 then :
   17183   printf %s "(cached) " >&6
   17184 else case e in #(
   17185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17186 /* end confdefs.h.  */
   17187 int i;
   17188 int
   17189 main (void)
   17190 {
   17191 
   17192   ;
   17193   return 0;
   17194 }
   17195 _ACEOF
   17196 if ac_fn_c_try_link "$LINENO"
   17197 then :
   17198   eval $cacheid=yes
   17199 else case e in #(
   17200   e) eval $cacheid=no ;;
   17201 esac
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17204     conftest$ac_exeext conftest.$ac_ext ;;
   17205 esac
   17206 fi
   17207 
   17208 
   17209 		CFLAGS="$xorg_testset_save_CFLAGS"
   17210 
   17211 		eval supported=\$$cacheid
   17212 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17213 printf '%s\n' "$supported" >&6; }
   17214 		if test "$supported" = "yes" ; then
   17215 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   17216 			found="yes"
   17217 		fi
   17218 	fi
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 xorg_testset_save_CFLAGS="$CFLAGS"
   17235 
   17236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17238 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17239 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17240 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17241 then :
   17242   printf %s "(cached) " >&6
   17243 else case e in #(
   17244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17245 /* end confdefs.h.  */
   17246 int i;
   17247 _ACEOF
   17248 if ac_fn_c_try_compile "$LINENO"
   17249 then :
   17250   xorg_cv_cc_flag_unknown_warning_option=yes
   17251 else case e in #(
   17252   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17253 esac
   17254 fi
   17255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17256 esac
   17257 fi
   17258 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17259 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17261 	CFLAGS="$xorg_testset_save_CFLAGS"
   17262 fi
   17263 
   17264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17267 	fi
   17268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17269 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17272 then :
   17273   printf %s "(cached) " >&6
   17274 else case e in #(
   17275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17276 /* end confdefs.h.  */
   17277 int i;
   17278 _ACEOF
   17279 if ac_fn_c_try_compile "$LINENO"
   17280 then :
   17281   xorg_cv_cc_flag_unused_command_line_argument=yes
   17282 else case e in #(
   17283   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17284 esac
   17285 fi
   17286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17287 esac
   17288 fi
   17289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17290 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17292 	CFLAGS="$xorg_testset_save_CFLAGS"
   17293 fi
   17294 
   17295 found="no"
   17296 
   17297 	if test $found = "no" ; then
   17298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17300 		fi
   17301 
   17302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17304 		fi
   17305 
   17306 		CFLAGS="$CFLAGS -Wlogical-op"
   17307 
   17308 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   17309 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   17310 		cacheid=xorg_cv_cc_flag__Wlogical_op
   17311 		if eval test \${$cacheid+y}
   17312 then :
   17313   printf %s "(cached) " >&6
   17314 else case e in #(
   17315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17316 /* end confdefs.h.  */
   17317 int i;
   17318 int
   17319 main (void)
   17320 {
   17321 
   17322   ;
   17323   return 0;
   17324 }
   17325 _ACEOF
   17326 if ac_fn_c_try_link "$LINENO"
   17327 then :
   17328   eval $cacheid=yes
   17329 else case e in #(
   17330   e) eval $cacheid=no ;;
   17331 esac
   17332 fi
   17333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17334     conftest$ac_exeext conftest.$ac_ext ;;
   17335 esac
   17336 fi
   17337 
   17338 
   17339 		CFLAGS="$xorg_testset_save_CFLAGS"
   17340 
   17341 		eval supported=\$$cacheid
   17342 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17343 printf '%s\n' "$supported" >&6; }
   17344 		if test "$supported" = "yes" ; then
   17345 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   17346 			found="yes"
   17347 		fi
   17348 	fi
   17349 
   17350 
   17351 
   17352 # These are currently disabled because they are noisy.  They will be enabled
   17353 # in the future once the codebase is sufficiently modernized to silence
   17354 # them.  For now, I don't want them to drown out the other warnings.
   17355 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   17356 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   17357 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   17358 
   17359 # Turn some warnings into errors, so we don't accidentally get successful builds
   17360 # when there are problems that should be fixed.
   17361 
   17362 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 xorg_testset_save_CFLAGS="$CFLAGS"
   17377 
   17378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17380 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17383 then :
   17384   printf %s "(cached) " >&6
   17385 else case e in #(
   17386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17387 /* end confdefs.h.  */
   17388 int i;
   17389 _ACEOF
   17390 if ac_fn_c_try_compile "$LINENO"
   17391 then :
   17392   xorg_cv_cc_flag_unknown_warning_option=yes
   17393 else case e in #(
   17394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17395 esac
   17396 fi
   17397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17398 esac
   17399 fi
   17400 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17401 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17403 	CFLAGS="$xorg_testset_save_CFLAGS"
   17404 fi
   17405 
   17406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17409 	fi
   17410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17411 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17414 then :
   17415   printf %s "(cached) " >&6
   17416 else case e in #(
   17417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17418 /* end confdefs.h.  */
   17419 int i;
   17420 _ACEOF
   17421 if ac_fn_c_try_compile "$LINENO"
   17422 then :
   17423   xorg_cv_cc_flag_unused_command_line_argument=yes
   17424 else case e in #(
   17425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17426 esac
   17427 fi
   17428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17429 esac
   17430 fi
   17431 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17432 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17434 	CFLAGS="$xorg_testset_save_CFLAGS"
   17435 fi
   17436 
   17437 found="no"
   17438 
   17439 	if test $found = "no" ; then
   17440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17442 		fi
   17443 
   17444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17446 		fi
   17447 
   17448 		CFLAGS="$CFLAGS -Werror=implicit"
   17449 
   17450 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   17451 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   17452 		cacheid=xorg_cv_cc_flag__Werror_implicit
   17453 		if eval test \${$cacheid+y}
   17454 then :
   17455   printf %s "(cached) " >&6
   17456 else case e in #(
   17457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17458 /* end confdefs.h.  */
   17459 int i;
   17460 int
   17461 main (void)
   17462 {
   17463 
   17464   ;
   17465   return 0;
   17466 }
   17467 _ACEOF
   17468 if ac_fn_c_try_link "$LINENO"
   17469 then :
   17470   eval $cacheid=yes
   17471 else case e in #(
   17472   e) eval $cacheid=no ;;
   17473 esac
   17474 fi
   17475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17476     conftest$ac_exeext conftest.$ac_ext ;;
   17477 esac
   17478 fi
   17479 
   17480 
   17481 		CFLAGS="$xorg_testset_save_CFLAGS"
   17482 
   17483 		eval supported=\$$cacheid
   17484 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17485 printf '%s\n' "$supported" >&6; }
   17486 		if test "$supported" = "yes" ; then
   17487 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   17488 			found="yes"
   17489 		fi
   17490 	fi
   17491 
   17492 	if test $found = "no" ; then
   17493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17495 		fi
   17496 
   17497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17499 		fi
   17500 
   17501 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   17502 
   17503 		{ 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
   17504 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   17505 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   17506 		if eval test \${$cacheid+y}
   17507 then :
   17508   printf %s "(cached) " >&6
   17509 else case e in #(
   17510   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17511 /* end confdefs.h.  */
   17512 int i;
   17513 int
   17514 main (void)
   17515 {
   17516 
   17517   ;
   17518   return 0;
   17519 }
   17520 _ACEOF
   17521 if ac_fn_c_try_link "$LINENO"
   17522 then :
   17523   eval $cacheid=yes
   17524 else case e in #(
   17525   e) eval $cacheid=no ;;
   17526 esac
   17527 fi
   17528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17529     conftest$ac_exeext conftest.$ac_ext ;;
   17530 esac
   17531 fi
   17532 
   17533 
   17534 		CFLAGS="$xorg_testset_save_CFLAGS"
   17535 
   17536 		eval supported=\$$cacheid
   17537 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17538 printf '%s\n' "$supported" >&6; }
   17539 		if test "$supported" = "yes" ; then
   17540 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   17541 			found="yes"
   17542 		fi
   17543 	fi
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 xorg_testset_save_CFLAGS="$CFLAGS"
   17560 
   17561 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17562 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17563 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17564 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17565 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17566 then :
   17567   printf %s "(cached) " >&6
   17568 else case e in #(
   17569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17570 /* end confdefs.h.  */
   17571 int i;
   17572 _ACEOF
   17573 if ac_fn_c_try_compile "$LINENO"
   17574 then :
   17575   xorg_cv_cc_flag_unknown_warning_option=yes
   17576 else case e in #(
   17577   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17578 esac
   17579 fi
   17580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17581 esac
   17582 fi
   17583 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17584 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17586 	CFLAGS="$xorg_testset_save_CFLAGS"
   17587 fi
   17588 
   17589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17592 	fi
   17593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17594 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17595 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17596 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17597 then :
   17598   printf %s "(cached) " >&6
   17599 else case e in #(
   17600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17601 /* end confdefs.h.  */
   17602 int i;
   17603 _ACEOF
   17604 if ac_fn_c_try_compile "$LINENO"
   17605 then :
   17606   xorg_cv_cc_flag_unused_command_line_argument=yes
   17607 else case e in #(
   17608   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17609 esac
   17610 fi
   17611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17612 esac
   17613 fi
   17614 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17615 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17617 	CFLAGS="$xorg_testset_save_CFLAGS"
   17618 fi
   17619 
   17620 found="no"
   17621 
   17622 	if test $found = "no" ; then
   17623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17625 		fi
   17626 
   17627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17629 		fi
   17630 
   17631 		CFLAGS="$CFLAGS -Werror=nonnull"
   17632 
   17633 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   17634 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   17635 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   17636 		if eval test \${$cacheid+y}
   17637 then :
   17638   printf %s "(cached) " >&6
   17639 else case e in #(
   17640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17641 /* end confdefs.h.  */
   17642 int i;
   17643 int
   17644 main (void)
   17645 {
   17646 
   17647   ;
   17648   return 0;
   17649 }
   17650 _ACEOF
   17651 if ac_fn_c_try_link "$LINENO"
   17652 then :
   17653   eval $cacheid=yes
   17654 else case e in #(
   17655   e) eval $cacheid=no ;;
   17656 esac
   17657 fi
   17658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17659     conftest$ac_exeext conftest.$ac_ext ;;
   17660 esac
   17661 fi
   17662 
   17663 
   17664 		CFLAGS="$xorg_testset_save_CFLAGS"
   17665 
   17666 		eval supported=\$$cacheid
   17667 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17668 printf '%s\n' "$supported" >&6; }
   17669 		if test "$supported" = "yes" ; then
   17670 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   17671 			found="yes"
   17672 		fi
   17673 	fi
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 xorg_testset_save_CFLAGS="$CFLAGS"
   17690 
   17691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17693 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17694 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17695 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17696 then :
   17697   printf %s "(cached) " >&6
   17698 else case e in #(
   17699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17700 /* end confdefs.h.  */
   17701 int i;
   17702 _ACEOF
   17703 if ac_fn_c_try_compile "$LINENO"
   17704 then :
   17705   xorg_cv_cc_flag_unknown_warning_option=yes
   17706 else case e in #(
   17707   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17708 esac
   17709 fi
   17710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17711 esac
   17712 fi
   17713 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17714 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17716 	CFLAGS="$xorg_testset_save_CFLAGS"
   17717 fi
   17718 
   17719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17722 	fi
   17723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17724 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17725 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17726 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17727 then :
   17728   printf %s "(cached) " >&6
   17729 else case e in #(
   17730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17731 /* end confdefs.h.  */
   17732 int i;
   17733 _ACEOF
   17734 if ac_fn_c_try_compile "$LINENO"
   17735 then :
   17736   xorg_cv_cc_flag_unused_command_line_argument=yes
   17737 else case e in #(
   17738   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17739 esac
   17740 fi
   17741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17742 esac
   17743 fi
   17744 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17745 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17747 	CFLAGS="$xorg_testset_save_CFLAGS"
   17748 fi
   17749 
   17750 found="no"
   17751 
   17752 	if test $found = "no" ; then
   17753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17755 		fi
   17756 
   17757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17759 		fi
   17760 
   17761 		CFLAGS="$CFLAGS -Werror=init-self"
   17762 
   17763 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17764 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17765 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17766 		if eval test \${$cacheid+y}
   17767 then :
   17768   printf %s "(cached) " >&6
   17769 else case e in #(
   17770   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17771 /* end confdefs.h.  */
   17772 int i;
   17773 int
   17774 main (void)
   17775 {
   17776 
   17777   ;
   17778   return 0;
   17779 }
   17780 _ACEOF
   17781 if ac_fn_c_try_link "$LINENO"
   17782 then :
   17783   eval $cacheid=yes
   17784 else case e in #(
   17785   e) eval $cacheid=no ;;
   17786 esac
   17787 fi
   17788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17789     conftest$ac_exeext conftest.$ac_ext ;;
   17790 esac
   17791 fi
   17792 
   17793 
   17794 		CFLAGS="$xorg_testset_save_CFLAGS"
   17795 
   17796 		eval supported=\$$cacheid
   17797 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17798 printf '%s\n' "$supported" >&6; }
   17799 		if test "$supported" = "yes" ; then
   17800 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17801 			found="yes"
   17802 		fi
   17803 	fi
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 xorg_testset_save_CFLAGS="$CFLAGS"
   17820 
   17821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17823 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17824 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17825 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17826 then :
   17827   printf %s "(cached) " >&6
   17828 else case e in #(
   17829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17830 /* end confdefs.h.  */
   17831 int i;
   17832 _ACEOF
   17833 if ac_fn_c_try_compile "$LINENO"
   17834 then :
   17835   xorg_cv_cc_flag_unknown_warning_option=yes
   17836 else case e in #(
   17837   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17838 esac
   17839 fi
   17840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17841 esac
   17842 fi
   17843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17844 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17846 	CFLAGS="$xorg_testset_save_CFLAGS"
   17847 fi
   17848 
   17849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17852 	fi
   17853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17854 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17855 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17856 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17857 then :
   17858   printf %s "(cached) " >&6
   17859 else case e in #(
   17860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17861 /* end confdefs.h.  */
   17862 int i;
   17863 _ACEOF
   17864 if ac_fn_c_try_compile "$LINENO"
   17865 then :
   17866   xorg_cv_cc_flag_unused_command_line_argument=yes
   17867 else case e in #(
   17868   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17869 esac
   17870 fi
   17871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17872 esac
   17873 fi
   17874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17875 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17877 	CFLAGS="$xorg_testset_save_CFLAGS"
   17878 fi
   17879 
   17880 found="no"
   17881 
   17882 	if test $found = "no" ; then
   17883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17885 		fi
   17886 
   17887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17889 		fi
   17890 
   17891 		CFLAGS="$CFLAGS -Werror=main"
   17892 
   17893 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17894 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17895 		cacheid=xorg_cv_cc_flag__Werror_main
   17896 		if eval test \${$cacheid+y}
   17897 then :
   17898   printf %s "(cached) " >&6
   17899 else case e in #(
   17900   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17901 /* end confdefs.h.  */
   17902 int i;
   17903 int
   17904 main (void)
   17905 {
   17906 
   17907   ;
   17908   return 0;
   17909 }
   17910 _ACEOF
   17911 if ac_fn_c_try_link "$LINENO"
   17912 then :
   17913   eval $cacheid=yes
   17914 else case e in #(
   17915   e) eval $cacheid=no ;;
   17916 esac
   17917 fi
   17918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17919     conftest$ac_exeext conftest.$ac_ext ;;
   17920 esac
   17921 fi
   17922 
   17923 
   17924 		CFLAGS="$xorg_testset_save_CFLAGS"
   17925 
   17926 		eval supported=\$$cacheid
   17927 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17928 printf '%s\n' "$supported" >&6; }
   17929 		if test "$supported" = "yes" ; then
   17930 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17931 			found="yes"
   17932 		fi
   17933 	fi
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 xorg_testset_save_CFLAGS="$CFLAGS"
   17950 
   17951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17953 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17954 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17955 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17956 then :
   17957   printf %s "(cached) " >&6
   17958 else case e in #(
   17959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17960 /* end confdefs.h.  */
   17961 int i;
   17962 _ACEOF
   17963 if ac_fn_c_try_compile "$LINENO"
   17964 then :
   17965   xorg_cv_cc_flag_unknown_warning_option=yes
   17966 else case e in #(
   17967   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17968 esac
   17969 fi
   17970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17971 esac
   17972 fi
   17973 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17974 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17976 	CFLAGS="$xorg_testset_save_CFLAGS"
   17977 fi
   17978 
   17979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17982 	fi
   17983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17984 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17985 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17986 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17987 then :
   17988   printf %s "(cached) " >&6
   17989 else case e in #(
   17990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17991 /* end confdefs.h.  */
   17992 int i;
   17993 _ACEOF
   17994 if ac_fn_c_try_compile "$LINENO"
   17995 then :
   17996   xorg_cv_cc_flag_unused_command_line_argument=yes
   17997 else case e in #(
   17998   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17999 esac
   18000 fi
   18001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18002 esac
   18003 fi
   18004 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18005 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18007 	CFLAGS="$xorg_testset_save_CFLAGS"
   18008 fi
   18009 
   18010 found="no"
   18011 
   18012 	if test $found = "no" ; then
   18013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18015 		fi
   18016 
   18017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18019 		fi
   18020 
   18021 		CFLAGS="$CFLAGS -Werror=missing-braces"
   18022 
   18023 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   18024 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   18025 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   18026 		if eval test \${$cacheid+y}
   18027 then :
   18028   printf %s "(cached) " >&6
   18029 else case e in #(
   18030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18031 /* end confdefs.h.  */
   18032 int i;
   18033 int
   18034 main (void)
   18035 {
   18036 
   18037   ;
   18038   return 0;
   18039 }
   18040 _ACEOF
   18041 if ac_fn_c_try_link "$LINENO"
   18042 then :
   18043   eval $cacheid=yes
   18044 else case e in #(
   18045   e) eval $cacheid=no ;;
   18046 esac
   18047 fi
   18048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18049     conftest$ac_exeext conftest.$ac_ext ;;
   18050 esac
   18051 fi
   18052 
   18053 
   18054 		CFLAGS="$xorg_testset_save_CFLAGS"
   18055 
   18056 		eval supported=\$$cacheid
   18057 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18058 printf '%s\n' "$supported" >&6; }
   18059 		if test "$supported" = "yes" ; then
   18060 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   18061 			found="yes"
   18062 		fi
   18063 	fi
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 xorg_testset_save_CFLAGS="$CFLAGS"
   18080 
   18081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18083 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18084 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18085 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18086 then :
   18087   printf %s "(cached) " >&6
   18088 else case e in #(
   18089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18090 /* end confdefs.h.  */
   18091 int i;
   18092 _ACEOF
   18093 if ac_fn_c_try_compile "$LINENO"
   18094 then :
   18095   xorg_cv_cc_flag_unknown_warning_option=yes
   18096 else case e in #(
   18097   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18098 esac
   18099 fi
   18100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18101 esac
   18102 fi
   18103 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18104 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18106 	CFLAGS="$xorg_testset_save_CFLAGS"
   18107 fi
   18108 
   18109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18112 	fi
   18113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18114 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18115 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18116 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18117 then :
   18118   printf %s "(cached) " >&6
   18119 else case e in #(
   18120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18121 /* end confdefs.h.  */
   18122 int i;
   18123 _ACEOF
   18124 if ac_fn_c_try_compile "$LINENO"
   18125 then :
   18126   xorg_cv_cc_flag_unused_command_line_argument=yes
   18127 else case e in #(
   18128   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18129 esac
   18130 fi
   18131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18132 esac
   18133 fi
   18134 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18135 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18136 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18137 	CFLAGS="$xorg_testset_save_CFLAGS"
   18138 fi
   18139 
   18140 found="no"
   18141 
   18142 	if test $found = "no" ; then
   18143 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18144 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18145 		fi
   18146 
   18147 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18148 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18149 		fi
   18150 
   18151 		CFLAGS="$CFLAGS -Werror=sequence-point"
   18152 
   18153 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   18154 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   18155 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   18156 		if eval test \${$cacheid+y}
   18157 then :
   18158   printf %s "(cached) " >&6
   18159 else case e in #(
   18160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18161 /* end confdefs.h.  */
   18162 int i;
   18163 int
   18164 main (void)
   18165 {
   18166 
   18167   ;
   18168   return 0;
   18169 }
   18170 _ACEOF
   18171 if ac_fn_c_try_link "$LINENO"
   18172 then :
   18173   eval $cacheid=yes
   18174 else case e in #(
   18175   e) eval $cacheid=no ;;
   18176 esac
   18177 fi
   18178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18179     conftest$ac_exeext conftest.$ac_ext ;;
   18180 esac
   18181 fi
   18182 
   18183 
   18184 		CFLAGS="$xorg_testset_save_CFLAGS"
   18185 
   18186 		eval supported=\$$cacheid
   18187 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18188 printf '%s\n' "$supported" >&6; }
   18189 		if test "$supported" = "yes" ; then
   18190 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   18191 			found="yes"
   18192 		fi
   18193 	fi
   18194 
   18195 
   18196 
   18197 
   18198 
   18199 
   18200 
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 xorg_testset_save_CFLAGS="$CFLAGS"
   18210 
   18211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18213 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18214 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18215 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18216 then :
   18217   printf %s "(cached) " >&6
   18218 else case e in #(
   18219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18220 /* end confdefs.h.  */
   18221 int i;
   18222 _ACEOF
   18223 if ac_fn_c_try_compile "$LINENO"
   18224 then :
   18225   xorg_cv_cc_flag_unknown_warning_option=yes
   18226 else case e in #(
   18227   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18228 esac
   18229 fi
   18230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18231 esac
   18232 fi
   18233 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18234 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18236 	CFLAGS="$xorg_testset_save_CFLAGS"
   18237 fi
   18238 
   18239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18242 	fi
   18243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18244 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18247 then :
   18248   printf %s "(cached) " >&6
   18249 else case e in #(
   18250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18251 /* end confdefs.h.  */
   18252 int i;
   18253 _ACEOF
   18254 if ac_fn_c_try_compile "$LINENO"
   18255 then :
   18256   xorg_cv_cc_flag_unused_command_line_argument=yes
   18257 else case e in #(
   18258   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18259 esac
   18260 fi
   18261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18262 esac
   18263 fi
   18264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18265 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18267 	CFLAGS="$xorg_testset_save_CFLAGS"
   18268 fi
   18269 
   18270 found="no"
   18271 
   18272 	if test $found = "no" ; then
   18273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18275 		fi
   18276 
   18277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18279 		fi
   18280 
   18281 		CFLAGS="$CFLAGS -Werror=return-type"
   18282 
   18283 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   18284 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   18285 		cacheid=xorg_cv_cc_flag__Werror_return_type
   18286 		if eval test \${$cacheid+y}
   18287 then :
   18288   printf %s "(cached) " >&6
   18289 else case e in #(
   18290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18291 /* end confdefs.h.  */
   18292 int i;
   18293 int
   18294 main (void)
   18295 {
   18296 
   18297   ;
   18298   return 0;
   18299 }
   18300 _ACEOF
   18301 if ac_fn_c_try_link "$LINENO"
   18302 then :
   18303   eval $cacheid=yes
   18304 else case e in #(
   18305   e) eval $cacheid=no ;;
   18306 esac
   18307 fi
   18308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18309     conftest$ac_exeext conftest.$ac_ext ;;
   18310 esac
   18311 fi
   18312 
   18313 
   18314 		CFLAGS="$xorg_testset_save_CFLAGS"
   18315 
   18316 		eval supported=\$$cacheid
   18317 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18318 printf '%s\n' "$supported" >&6; }
   18319 		if test "$supported" = "yes" ; then
   18320 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   18321 			found="yes"
   18322 		fi
   18323 	fi
   18324 
   18325 	if test $found = "no" ; then
   18326 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18328 		fi
   18329 
   18330 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18332 		fi
   18333 
   18334 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   18335 
   18336 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   18337 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   18338 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   18339 		if eval test \${$cacheid+y}
   18340 then :
   18341   printf %s "(cached) " >&6
   18342 else case e in #(
   18343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18344 /* end confdefs.h.  */
   18345 int i;
   18346 int
   18347 main (void)
   18348 {
   18349 
   18350   ;
   18351   return 0;
   18352 }
   18353 _ACEOF
   18354 if ac_fn_c_try_link "$LINENO"
   18355 then :
   18356   eval $cacheid=yes
   18357 else case e in #(
   18358   e) eval $cacheid=no ;;
   18359 esac
   18360 fi
   18361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18362     conftest$ac_exeext conftest.$ac_ext ;;
   18363 esac
   18364 fi
   18365 
   18366 
   18367 		CFLAGS="$xorg_testset_save_CFLAGS"
   18368 
   18369 		eval supported=\$$cacheid
   18370 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18371 printf '%s\n' "$supported" >&6; }
   18372 		if test "$supported" = "yes" ; then
   18373 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   18374 			found="yes"
   18375 		fi
   18376 	fi
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 xorg_testset_save_CFLAGS="$CFLAGS"
   18393 
   18394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18396 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18397 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18398 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18399 then :
   18400   printf %s "(cached) " >&6
   18401 else case e in #(
   18402   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18403 /* end confdefs.h.  */
   18404 int i;
   18405 _ACEOF
   18406 if ac_fn_c_try_compile "$LINENO"
   18407 then :
   18408   xorg_cv_cc_flag_unknown_warning_option=yes
   18409 else case e in #(
   18410   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18411 esac
   18412 fi
   18413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18414 esac
   18415 fi
   18416 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18417 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18419 	CFLAGS="$xorg_testset_save_CFLAGS"
   18420 fi
   18421 
   18422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18425 	fi
   18426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18427 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18430 then :
   18431   printf %s "(cached) " >&6
   18432 else case e in #(
   18433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18434 /* end confdefs.h.  */
   18435 int i;
   18436 _ACEOF
   18437 if ac_fn_c_try_compile "$LINENO"
   18438 then :
   18439   xorg_cv_cc_flag_unused_command_line_argument=yes
   18440 else case e in #(
   18441   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18442 esac
   18443 fi
   18444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18445 esac
   18446 fi
   18447 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18448 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18450 	CFLAGS="$xorg_testset_save_CFLAGS"
   18451 fi
   18452 
   18453 found="no"
   18454 
   18455 	if test $found = "no" ; then
   18456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18458 		fi
   18459 
   18460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18462 		fi
   18463 
   18464 		CFLAGS="$CFLAGS -Werror=trigraphs"
   18465 
   18466 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   18467 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   18468 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   18469 		if eval test \${$cacheid+y}
   18470 then :
   18471   printf %s "(cached) " >&6
   18472 else case e in #(
   18473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18474 /* end confdefs.h.  */
   18475 int i;
   18476 int
   18477 main (void)
   18478 {
   18479 
   18480   ;
   18481   return 0;
   18482 }
   18483 _ACEOF
   18484 if ac_fn_c_try_link "$LINENO"
   18485 then :
   18486   eval $cacheid=yes
   18487 else case e in #(
   18488   e) eval $cacheid=no ;;
   18489 esac
   18490 fi
   18491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18492     conftest$ac_exeext conftest.$ac_ext ;;
   18493 esac
   18494 fi
   18495 
   18496 
   18497 		CFLAGS="$xorg_testset_save_CFLAGS"
   18498 
   18499 		eval supported=\$$cacheid
   18500 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18501 printf '%s\n' "$supported" >&6; }
   18502 		if test "$supported" = "yes" ; then
   18503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   18504 			found="yes"
   18505 		fi
   18506 	fi
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 xorg_testset_save_CFLAGS="$CFLAGS"
   18523 
   18524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18526 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18529 then :
   18530   printf %s "(cached) " >&6
   18531 else case e in #(
   18532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18533 /* end confdefs.h.  */
   18534 int i;
   18535 _ACEOF
   18536 if ac_fn_c_try_compile "$LINENO"
   18537 then :
   18538   xorg_cv_cc_flag_unknown_warning_option=yes
   18539 else case e in #(
   18540   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18541 esac
   18542 fi
   18543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18544 esac
   18545 fi
   18546 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18547 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18549 	CFLAGS="$xorg_testset_save_CFLAGS"
   18550 fi
   18551 
   18552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18555 	fi
   18556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18557 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18560 then :
   18561   printf %s "(cached) " >&6
   18562 else case e in #(
   18563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18564 /* end confdefs.h.  */
   18565 int i;
   18566 _ACEOF
   18567 if ac_fn_c_try_compile "$LINENO"
   18568 then :
   18569   xorg_cv_cc_flag_unused_command_line_argument=yes
   18570 else case e in #(
   18571   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18572 esac
   18573 fi
   18574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18575 esac
   18576 fi
   18577 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18578 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18580 	CFLAGS="$xorg_testset_save_CFLAGS"
   18581 fi
   18582 
   18583 found="no"
   18584 
   18585 	if test $found = "no" ; then
   18586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18588 		fi
   18589 
   18590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18592 		fi
   18593 
   18594 		CFLAGS="$CFLAGS -Werror=array-bounds"
   18595 
   18596 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   18597 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   18598 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   18599 		if eval test \${$cacheid+y}
   18600 then :
   18601   printf %s "(cached) " >&6
   18602 else case e in #(
   18603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18604 /* end confdefs.h.  */
   18605 int i;
   18606 int
   18607 main (void)
   18608 {
   18609 
   18610   ;
   18611   return 0;
   18612 }
   18613 _ACEOF
   18614 if ac_fn_c_try_link "$LINENO"
   18615 then :
   18616   eval $cacheid=yes
   18617 else case e in #(
   18618   e) eval $cacheid=no ;;
   18619 esac
   18620 fi
   18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18622     conftest$ac_exeext conftest.$ac_ext ;;
   18623 esac
   18624 fi
   18625 
   18626 
   18627 		CFLAGS="$xorg_testset_save_CFLAGS"
   18628 
   18629 		eval supported=\$$cacheid
   18630 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18631 printf '%s\n' "$supported" >&6; }
   18632 		if test "$supported" = "yes" ; then
   18633 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   18634 			found="yes"
   18635 		fi
   18636 	fi
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 
   18650 
   18651 
   18652 xorg_testset_save_CFLAGS="$CFLAGS"
   18653 
   18654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18656 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18657 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18658 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18659 then :
   18660   printf %s "(cached) " >&6
   18661 else case e in #(
   18662   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18663 /* end confdefs.h.  */
   18664 int i;
   18665 _ACEOF
   18666 if ac_fn_c_try_compile "$LINENO"
   18667 then :
   18668   xorg_cv_cc_flag_unknown_warning_option=yes
   18669 else case e in #(
   18670   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18671 esac
   18672 fi
   18673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18674 esac
   18675 fi
   18676 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18677 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18679 	CFLAGS="$xorg_testset_save_CFLAGS"
   18680 fi
   18681 
   18682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18685 	fi
   18686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18687 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18688 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18689 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18690 then :
   18691   printf %s "(cached) " >&6
   18692 else case e in #(
   18693   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18694 /* end confdefs.h.  */
   18695 int i;
   18696 _ACEOF
   18697 if ac_fn_c_try_compile "$LINENO"
   18698 then :
   18699   xorg_cv_cc_flag_unused_command_line_argument=yes
   18700 else case e in #(
   18701   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18702 esac
   18703 fi
   18704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18705 esac
   18706 fi
   18707 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18708 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18709 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18710 	CFLAGS="$xorg_testset_save_CFLAGS"
   18711 fi
   18712 
   18713 found="no"
   18714 
   18715 	if test $found = "no" ; then
   18716 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18717 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18718 		fi
   18719 
   18720 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18721 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18722 		fi
   18723 
   18724 		CFLAGS="$CFLAGS -Werror=write-strings"
   18725 
   18726 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18727 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18728 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18729 		if eval test \${$cacheid+y}
   18730 then :
   18731   printf %s "(cached) " >&6
   18732 else case e in #(
   18733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18734 /* end confdefs.h.  */
   18735 int i;
   18736 int
   18737 main (void)
   18738 {
   18739 
   18740   ;
   18741   return 0;
   18742 }
   18743 _ACEOF
   18744 if ac_fn_c_try_link "$LINENO"
   18745 then :
   18746   eval $cacheid=yes
   18747 else case e in #(
   18748   e) eval $cacheid=no ;;
   18749 esac
   18750 fi
   18751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18752     conftest$ac_exeext conftest.$ac_ext ;;
   18753 esac
   18754 fi
   18755 
   18756 
   18757 		CFLAGS="$xorg_testset_save_CFLAGS"
   18758 
   18759 		eval supported=\$$cacheid
   18760 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18761 printf '%s\n' "$supported" >&6; }
   18762 		if test "$supported" = "yes" ; then
   18763 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18764 			found="yes"
   18765 		fi
   18766 	fi
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 
   18776 
   18777 
   18778 
   18779 
   18780 
   18781 
   18782 xorg_testset_save_CFLAGS="$CFLAGS"
   18783 
   18784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18786 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18789 then :
   18790   printf %s "(cached) " >&6
   18791 else case e in #(
   18792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18793 /* end confdefs.h.  */
   18794 int i;
   18795 _ACEOF
   18796 if ac_fn_c_try_compile "$LINENO"
   18797 then :
   18798   xorg_cv_cc_flag_unknown_warning_option=yes
   18799 else case e in #(
   18800   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18801 esac
   18802 fi
   18803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18804 esac
   18805 fi
   18806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18807 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18809 	CFLAGS="$xorg_testset_save_CFLAGS"
   18810 fi
   18811 
   18812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18815 	fi
   18816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18817 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18818 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18819 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18820 then :
   18821   printf %s "(cached) " >&6
   18822 else case e in #(
   18823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18824 /* end confdefs.h.  */
   18825 int i;
   18826 _ACEOF
   18827 if ac_fn_c_try_compile "$LINENO"
   18828 then :
   18829   xorg_cv_cc_flag_unused_command_line_argument=yes
   18830 else case e in #(
   18831   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18832 esac
   18833 fi
   18834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18835 esac
   18836 fi
   18837 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18838 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18840 	CFLAGS="$xorg_testset_save_CFLAGS"
   18841 fi
   18842 
   18843 found="no"
   18844 
   18845 	if test $found = "no" ; then
   18846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18848 		fi
   18849 
   18850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18852 		fi
   18853 
   18854 		CFLAGS="$CFLAGS -Werror=address"
   18855 
   18856 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18857 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18858 		cacheid=xorg_cv_cc_flag__Werror_address
   18859 		if eval test \${$cacheid+y}
   18860 then :
   18861   printf %s "(cached) " >&6
   18862 else case e in #(
   18863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18864 /* end confdefs.h.  */
   18865 int i;
   18866 int
   18867 main (void)
   18868 {
   18869 
   18870   ;
   18871   return 0;
   18872 }
   18873 _ACEOF
   18874 if ac_fn_c_try_link "$LINENO"
   18875 then :
   18876   eval $cacheid=yes
   18877 else case e in #(
   18878   e) eval $cacheid=no ;;
   18879 esac
   18880 fi
   18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18882     conftest$ac_exeext conftest.$ac_ext ;;
   18883 esac
   18884 fi
   18885 
   18886 
   18887 		CFLAGS="$xorg_testset_save_CFLAGS"
   18888 
   18889 		eval supported=\$$cacheid
   18890 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18891 printf '%s\n' "$supported" >&6; }
   18892 		if test "$supported" = "yes" ; then
   18893 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18894 			found="yes"
   18895 		fi
   18896 	fi
   18897 
   18898 
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 
   18906 
   18907 
   18908 
   18909 
   18910 
   18911 
   18912 xorg_testset_save_CFLAGS="$CFLAGS"
   18913 
   18914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18916 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18917 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18918 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18919 then :
   18920   printf %s "(cached) " >&6
   18921 else case e in #(
   18922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18923 /* end confdefs.h.  */
   18924 int i;
   18925 _ACEOF
   18926 if ac_fn_c_try_compile "$LINENO"
   18927 then :
   18928   xorg_cv_cc_flag_unknown_warning_option=yes
   18929 else case e in #(
   18930   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18931 esac
   18932 fi
   18933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18934 esac
   18935 fi
   18936 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18937 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18939 	CFLAGS="$xorg_testset_save_CFLAGS"
   18940 fi
   18941 
   18942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18945 	fi
   18946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18947 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18948 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18949 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18950 then :
   18951   printf %s "(cached) " >&6
   18952 else case e in #(
   18953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18954 /* end confdefs.h.  */
   18955 int i;
   18956 _ACEOF
   18957 if ac_fn_c_try_compile "$LINENO"
   18958 then :
   18959   xorg_cv_cc_flag_unused_command_line_argument=yes
   18960 else case e in #(
   18961   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18962 esac
   18963 fi
   18964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18965 esac
   18966 fi
   18967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18968 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18970 	CFLAGS="$xorg_testset_save_CFLAGS"
   18971 fi
   18972 
   18973 found="no"
   18974 
   18975 	if test $found = "no" ; then
   18976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18978 		fi
   18979 
   18980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18982 		fi
   18983 
   18984 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18985 
   18986 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18987 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18988 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18989 		if eval test \${$cacheid+y}
   18990 then :
   18991   printf %s "(cached) " >&6
   18992 else case e in #(
   18993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18994 /* end confdefs.h.  */
   18995 int i;
   18996 int
   18997 main (void)
   18998 {
   18999 
   19000   ;
   19001   return 0;
   19002 }
   19003 _ACEOF
   19004 if ac_fn_c_try_link "$LINENO"
   19005 then :
   19006   eval $cacheid=yes
   19007 else case e in #(
   19008   e) eval $cacheid=no ;;
   19009 esac
   19010 fi
   19011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19012     conftest$ac_exeext conftest.$ac_ext ;;
   19013 esac
   19014 fi
   19015 
   19016 
   19017 		CFLAGS="$xorg_testset_save_CFLAGS"
   19018 
   19019 		eval supported=\$$cacheid
   19020 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19021 printf '%s\n' "$supported" >&6; }
   19022 		if test "$supported" = "yes" ; then
   19023 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   19024 			found="yes"
   19025 		fi
   19026 	fi
   19027 
   19028 	if test $found = "no" ; then
   19029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19031 		fi
   19032 
   19033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19035 		fi
   19036 
   19037 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   19038 
   19039 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   19040 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   19041 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   19042 		if eval test \${$cacheid+y}
   19043 then :
   19044   printf %s "(cached) " >&6
   19045 else case e in #(
   19046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19047 /* end confdefs.h.  */
   19048 int i;
   19049 int
   19050 main (void)
   19051 {
   19052 
   19053   ;
   19054   return 0;
   19055 }
   19056 _ACEOF
   19057 if ac_fn_c_try_link "$LINENO"
   19058 then :
   19059   eval $cacheid=yes
   19060 else case e in #(
   19061   e) eval $cacheid=no ;;
   19062 esac
   19063 fi
   19064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19065     conftest$ac_exeext conftest.$ac_ext ;;
   19066 esac
   19067 fi
   19068 
   19069 
   19070 		CFLAGS="$xorg_testset_save_CFLAGS"
   19071 
   19072 		eval supported=\$$cacheid
   19073 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19074 printf '%s\n' "$supported" >&6; }
   19075 		if test "$supported" = "yes" ; then
   19076 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   19077 			found="yes"
   19078 		fi
   19079 	fi
   19080 
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094 
   19095 xorg_testset_save_CFLAGS="$CFLAGS"
   19096 
   19097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19099 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19102 then :
   19103   printf %s "(cached) " >&6
   19104 else case e in #(
   19105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19106 /* end confdefs.h.  */
   19107 int i;
   19108 _ACEOF
   19109 if ac_fn_c_try_compile "$LINENO"
   19110 then :
   19111   xorg_cv_cc_flag_unknown_warning_option=yes
   19112 else case e in #(
   19113   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19114 esac
   19115 fi
   19116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19117 esac
   19118 fi
   19119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19120 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19122 	CFLAGS="$xorg_testset_save_CFLAGS"
   19123 fi
   19124 
   19125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19128 	fi
   19129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19130 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19133 then :
   19134   printf %s "(cached) " >&6
   19135 else case e in #(
   19136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19137 /* end confdefs.h.  */
   19138 int i;
   19139 _ACEOF
   19140 if ac_fn_c_try_compile "$LINENO"
   19141 then :
   19142   xorg_cv_cc_flag_unused_command_line_argument=yes
   19143 else case e in #(
   19144   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19145 esac
   19146 fi
   19147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19148 esac
   19149 fi
   19150 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19151 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19153 	CFLAGS="$xorg_testset_save_CFLAGS"
   19154 fi
   19155 
   19156 found="no"
   19157 
   19158 	if test $found = "no" ; then
   19159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19161 		fi
   19162 
   19163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19165 		fi
   19166 
   19167 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   19168 
   19169 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   19170 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   19171 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   19172 		if eval test \${$cacheid+y}
   19173 then :
   19174   printf %s "(cached) " >&6
   19175 else case e in #(
   19176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19177 /* end confdefs.h.  */
   19178 int i;
   19179 int
   19180 main (void)
   19181 {
   19182 
   19183   ;
   19184   return 0;
   19185 }
   19186 _ACEOF
   19187 if ac_fn_c_try_link "$LINENO"
   19188 then :
   19189   eval $cacheid=yes
   19190 else case e in #(
   19191   e) eval $cacheid=no ;;
   19192 esac
   19193 fi
   19194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19195     conftest$ac_exeext conftest.$ac_ext ;;
   19196 esac
   19197 fi
   19198 
   19199 
   19200 		CFLAGS="$xorg_testset_save_CFLAGS"
   19201 
   19202 		eval supported=\$$cacheid
   19203 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19204 printf '%s\n' "$supported" >&6; }
   19205 		if test "$supported" = "yes" ; then
   19206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   19207 			found="yes"
   19208 		fi
   19209 	fi
   19210 
   19211  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   19212 else
   19213 { 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
   19214 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;}
   19215 
   19216 
   19217 
   19218 
   19219 
   19220 
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 xorg_testset_save_CFLAGS="$CFLAGS"
   19229 
   19230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19232 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19233 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19234 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19235 then :
   19236   printf %s "(cached) " >&6
   19237 else case e in #(
   19238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19239 /* end confdefs.h.  */
   19240 int i;
   19241 _ACEOF
   19242 if ac_fn_c_try_compile "$LINENO"
   19243 then :
   19244   xorg_cv_cc_flag_unknown_warning_option=yes
   19245 else case e in #(
   19246   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19247 esac
   19248 fi
   19249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19250 esac
   19251 fi
   19252 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19253 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19255 	CFLAGS="$xorg_testset_save_CFLAGS"
   19256 fi
   19257 
   19258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19261 	fi
   19262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19263 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19264 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19265 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19266 then :
   19267   printf %s "(cached) " >&6
   19268 else case e in #(
   19269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19270 /* end confdefs.h.  */
   19271 int i;
   19272 _ACEOF
   19273 if ac_fn_c_try_compile "$LINENO"
   19274 then :
   19275   xorg_cv_cc_flag_unused_command_line_argument=yes
   19276 else case e in #(
   19277   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19278 esac
   19279 fi
   19280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19281 esac
   19282 fi
   19283 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19284 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19286 	CFLAGS="$xorg_testset_save_CFLAGS"
   19287 fi
   19288 
   19289 found="no"
   19290 
   19291 	if test $found = "no" ; then
   19292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19294 		fi
   19295 
   19296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19298 		fi
   19299 
   19300 		CFLAGS="$CFLAGS -Wimplicit"
   19301 
   19302 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   19303 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   19304 		cacheid=xorg_cv_cc_flag__Wimplicit
   19305 		if eval test \${$cacheid+y}
   19306 then :
   19307   printf %s "(cached) " >&6
   19308 else case e in #(
   19309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19310 /* end confdefs.h.  */
   19311 int i;
   19312 int
   19313 main (void)
   19314 {
   19315 
   19316   ;
   19317   return 0;
   19318 }
   19319 _ACEOF
   19320 if ac_fn_c_try_link "$LINENO"
   19321 then :
   19322   eval $cacheid=yes
   19323 else case e in #(
   19324   e) eval $cacheid=no ;;
   19325 esac
   19326 fi
   19327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19328     conftest$ac_exeext conftest.$ac_ext ;;
   19329 esac
   19330 fi
   19331 
   19332 
   19333 		CFLAGS="$xorg_testset_save_CFLAGS"
   19334 
   19335 		eval supported=\$$cacheid
   19336 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19337 printf '%s\n' "$supported" >&6; }
   19338 		if test "$supported" = "yes" ; then
   19339 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   19340 			found="yes"
   19341 		fi
   19342 	fi
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 xorg_testset_save_CFLAGS="$CFLAGS"
   19359 
   19360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19362 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19363 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19364 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19365 then :
   19366   printf %s "(cached) " >&6
   19367 else case e in #(
   19368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19369 /* end confdefs.h.  */
   19370 int i;
   19371 _ACEOF
   19372 if ac_fn_c_try_compile "$LINENO"
   19373 then :
   19374   xorg_cv_cc_flag_unknown_warning_option=yes
   19375 else case e in #(
   19376   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19377 esac
   19378 fi
   19379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19380 esac
   19381 fi
   19382 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19383 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19385 	CFLAGS="$xorg_testset_save_CFLAGS"
   19386 fi
   19387 
   19388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19391 	fi
   19392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19393 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19394 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19395 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19396 then :
   19397   printf %s "(cached) " >&6
   19398 else case e in #(
   19399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19400 /* end confdefs.h.  */
   19401 int i;
   19402 _ACEOF
   19403 if ac_fn_c_try_compile "$LINENO"
   19404 then :
   19405   xorg_cv_cc_flag_unused_command_line_argument=yes
   19406 else case e in #(
   19407   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19408 esac
   19409 fi
   19410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19411 esac
   19412 fi
   19413 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19414 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19416 	CFLAGS="$xorg_testset_save_CFLAGS"
   19417 fi
   19418 
   19419 found="no"
   19420 
   19421 	if test $found = "no" ; then
   19422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19424 		fi
   19425 
   19426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19428 		fi
   19429 
   19430 		CFLAGS="$CFLAGS -Wnonnull"
   19431 
   19432 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   19433 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   19434 		cacheid=xorg_cv_cc_flag__Wnonnull
   19435 		if eval test \${$cacheid+y}
   19436 then :
   19437   printf %s "(cached) " >&6
   19438 else case e in #(
   19439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19440 /* end confdefs.h.  */
   19441 int i;
   19442 int
   19443 main (void)
   19444 {
   19445 
   19446   ;
   19447   return 0;
   19448 }
   19449 _ACEOF
   19450 if ac_fn_c_try_link "$LINENO"
   19451 then :
   19452   eval $cacheid=yes
   19453 else case e in #(
   19454   e) eval $cacheid=no ;;
   19455 esac
   19456 fi
   19457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19458     conftest$ac_exeext conftest.$ac_ext ;;
   19459 esac
   19460 fi
   19461 
   19462 
   19463 		CFLAGS="$xorg_testset_save_CFLAGS"
   19464 
   19465 		eval supported=\$$cacheid
   19466 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19467 printf '%s\n' "$supported" >&6; }
   19468 		if test "$supported" = "yes" ; then
   19469 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   19470 			found="yes"
   19471 		fi
   19472 	fi
   19473 
   19474 
   19475 
   19476 
   19477 
   19478 
   19479 
   19480 
   19481 
   19482 
   19483 
   19484 
   19485 
   19486 
   19487 
   19488 xorg_testset_save_CFLAGS="$CFLAGS"
   19489 
   19490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19492 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19495 then :
   19496   printf %s "(cached) " >&6
   19497 else case e in #(
   19498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19499 /* end confdefs.h.  */
   19500 int i;
   19501 _ACEOF
   19502 if ac_fn_c_try_compile "$LINENO"
   19503 then :
   19504   xorg_cv_cc_flag_unknown_warning_option=yes
   19505 else case e in #(
   19506   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19507 esac
   19508 fi
   19509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19510 esac
   19511 fi
   19512 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19513 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19515 	CFLAGS="$xorg_testset_save_CFLAGS"
   19516 fi
   19517 
   19518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19521 	fi
   19522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19523 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19524 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19525 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19526 then :
   19527   printf %s "(cached) " >&6
   19528 else case e in #(
   19529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19530 /* end confdefs.h.  */
   19531 int i;
   19532 _ACEOF
   19533 if ac_fn_c_try_compile "$LINENO"
   19534 then :
   19535   xorg_cv_cc_flag_unused_command_line_argument=yes
   19536 else case e in #(
   19537   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19538 esac
   19539 fi
   19540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19541 esac
   19542 fi
   19543 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19544 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19546 	CFLAGS="$xorg_testset_save_CFLAGS"
   19547 fi
   19548 
   19549 found="no"
   19550 
   19551 	if test $found = "no" ; then
   19552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19554 		fi
   19555 
   19556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19558 		fi
   19559 
   19560 		CFLAGS="$CFLAGS -Winit-self"
   19561 
   19562 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   19563 printf %s "checking if $CC supports -Winit-self... " >&6; }
   19564 		cacheid=xorg_cv_cc_flag__Winit_self
   19565 		if eval test \${$cacheid+y}
   19566 then :
   19567   printf %s "(cached) " >&6
   19568 else case e in #(
   19569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19570 /* end confdefs.h.  */
   19571 int i;
   19572 int
   19573 main (void)
   19574 {
   19575 
   19576   ;
   19577   return 0;
   19578 }
   19579 _ACEOF
   19580 if ac_fn_c_try_link "$LINENO"
   19581 then :
   19582   eval $cacheid=yes
   19583 else case e in #(
   19584   e) eval $cacheid=no ;;
   19585 esac
   19586 fi
   19587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19588     conftest$ac_exeext conftest.$ac_ext ;;
   19589 esac
   19590 fi
   19591 
   19592 
   19593 		CFLAGS="$xorg_testset_save_CFLAGS"
   19594 
   19595 		eval supported=\$$cacheid
   19596 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19597 printf '%s\n' "$supported" >&6; }
   19598 		if test "$supported" = "yes" ; then
   19599 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   19600 			found="yes"
   19601 		fi
   19602 	fi
   19603 
   19604 
   19605 
   19606 
   19607 
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 
   19614 
   19615 
   19616 
   19617 
   19618 xorg_testset_save_CFLAGS="$CFLAGS"
   19619 
   19620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19622 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19625 then :
   19626   printf %s "(cached) " >&6
   19627 else case e in #(
   19628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19629 /* end confdefs.h.  */
   19630 int i;
   19631 _ACEOF
   19632 if ac_fn_c_try_compile "$LINENO"
   19633 then :
   19634   xorg_cv_cc_flag_unknown_warning_option=yes
   19635 else case e in #(
   19636   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19637 esac
   19638 fi
   19639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19640 esac
   19641 fi
   19642 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19643 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19645 	CFLAGS="$xorg_testset_save_CFLAGS"
   19646 fi
   19647 
   19648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19651 	fi
   19652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19653 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19656 then :
   19657   printf %s "(cached) " >&6
   19658 else case e in #(
   19659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19660 /* end confdefs.h.  */
   19661 int i;
   19662 _ACEOF
   19663 if ac_fn_c_try_compile "$LINENO"
   19664 then :
   19665   xorg_cv_cc_flag_unused_command_line_argument=yes
   19666 else case e in #(
   19667   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19668 esac
   19669 fi
   19670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19671 esac
   19672 fi
   19673 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19674 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19676 	CFLAGS="$xorg_testset_save_CFLAGS"
   19677 fi
   19678 
   19679 found="no"
   19680 
   19681 	if test $found = "no" ; then
   19682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19684 		fi
   19685 
   19686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19688 		fi
   19689 
   19690 		CFLAGS="$CFLAGS -Wmain"
   19691 
   19692 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   19693 printf %s "checking if $CC supports -Wmain... " >&6; }
   19694 		cacheid=xorg_cv_cc_flag__Wmain
   19695 		if eval test \${$cacheid+y}
   19696 then :
   19697   printf %s "(cached) " >&6
   19698 else case e in #(
   19699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19700 /* end confdefs.h.  */
   19701 int i;
   19702 int
   19703 main (void)
   19704 {
   19705 
   19706   ;
   19707   return 0;
   19708 }
   19709 _ACEOF
   19710 if ac_fn_c_try_link "$LINENO"
   19711 then :
   19712   eval $cacheid=yes
   19713 else case e in #(
   19714   e) eval $cacheid=no ;;
   19715 esac
   19716 fi
   19717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19718     conftest$ac_exeext conftest.$ac_ext ;;
   19719 esac
   19720 fi
   19721 
   19722 
   19723 		CFLAGS="$xorg_testset_save_CFLAGS"
   19724 
   19725 		eval supported=\$$cacheid
   19726 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19727 printf '%s\n' "$supported" >&6; }
   19728 		if test "$supported" = "yes" ; then
   19729 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19730 			found="yes"
   19731 		fi
   19732 	fi
   19733 
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 xorg_testset_save_CFLAGS="$CFLAGS"
   19749 
   19750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19752 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19753 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19754 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19755 then :
   19756   printf %s "(cached) " >&6
   19757 else case e in #(
   19758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19759 /* end confdefs.h.  */
   19760 int i;
   19761 _ACEOF
   19762 if ac_fn_c_try_compile "$LINENO"
   19763 then :
   19764   xorg_cv_cc_flag_unknown_warning_option=yes
   19765 else case e in #(
   19766   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19767 esac
   19768 fi
   19769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19770 esac
   19771 fi
   19772 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19773 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19775 	CFLAGS="$xorg_testset_save_CFLAGS"
   19776 fi
   19777 
   19778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19781 	fi
   19782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19783 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19784 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19785 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19786 then :
   19787   printf %s "(cached) " >&6
   19788 else case e in #(
   19789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19790 /* end confdefs.h.  */
   19791 int i;
   19792 _ACEOF
   19793 if ac_fn_c_try_compile "$LINENO"
   19794 then :
   19795   xorg_cv_cc_flag_unused_command_line_argument=yes
   19796 else case e in #(
   19797   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19798 esac
   19799 fi
   19800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19801 esac
   19802 fi
   19803 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19804 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19806 	CFLAGS="$xorg_testset_save_CFLAGS"
   19807 fi
   19808 
   19809 found="no"
   19810 
   19811 	if test $found = "no" ; then
   19812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19814 		fi
   19815 
   19816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19818 		fi
   19819 
   19820 		CFLAGS="$CFLAGS -Wmissing-braces"
   19821 
   19822 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19823 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19824 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19825 		if eval test \${$cacheid+y}
   19826 then :
   19827   printf %s "(cached) " >&6
   19828 else case e in #(
   19829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19830 /* end confdefs.h.  */
   19831 int i;
   19832 int
   19833 main (void)
   19834 {
   19835 
   19836   ;
   19837   return 0;
   19838 }
   19839 _ACEOF
   19840 if ac_fn_c_try_link "$LINENO"
   19841 then :
   19842   eval $cacheid=yes
   19843 else case e in #(
   19844   e) eval $cacheid=no ;;
   19845 esac
   19846 fi
   19847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19848     conftest$ac_exeext conftest.$ac_ext ;;
   19849 esac
   19850 fi
   19851 
   19852 
   19853 		CFLAGS="$xorg_testset_save_CFLAGS"
   19854 
   19855 		eval supported=\$$cacheid
   19856 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19857 printf '%s\n' "$supported" >&6; }
   19858 		if test "$supported" = "yes" ; then
   19859 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19860 			found="yes"
   19861 		fi
   19862 	fi
   19863 
   19864 
   19865 
   19866 
   19867 
   19868 
   19869 
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 xorg_testset_save_CFLAGS="$CFLAGS"
   19879 
   19880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19882 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19883 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19884 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19885 then :
   19886   printf %s "(cached) " >&6
   19887 else case e in #(
   19888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19889 /* end confdefs.h.  */
   19890 int i;
   19891 _ACEOF
   19892 if ac_fn_c_try_compile "$LINENO"
   19893 then :
   19894   xorg_cv_cc_flag_unknown_warning_option=yes
   19895 else case e in #(
   19896   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19897 esac
   19898 fi
   19899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19900 esac
   19901 fi
   19902 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19903 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19905 	CFLAGS="$xorg_testset_save_CFLAGS"
   19906 fi
   19907 
   19908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19911 	fi
   19912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19913 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19914 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19915 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19916 then :
   19917   printf %s "(cached) " >&6
   19918 else case e in #(
   19919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19920 /* end confdefs.h.  */
   19921 int i;
   19922 _ACEOF
   19923 if ac_fn_c_try_compile "$LINENO"
   19924 then :
   19925   xorg_cv_cc_flag_unused_command_line_argument=yes
   19926 else case e in #(
   19927   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19928 esac
   19929 fi
   19930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19931 esac
   19932 fi
   19933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19934 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19936 	CFLAGS="$xorg_testset_save_CFLAGS"
   19937 fi
   19938 
   19939 found="no"
   19940 
   19941 	if test $found = "no" ; then
   19942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19944 		fi
   19945 
   19946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19948 		fi
   19949 
   19950 		CFLAGS="$CFLAGS -Wsequence-point"
   19951 
   19952 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19953 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19954 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19955 		if eval test \${$cacheid+y}
   19956 then :
   19957   printf %s "(cached) " >&6
   19958 else case e in #(
   19959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19960 /* end confdefs.h.  */
   19961 int i;
   19962 int
   19963 main (void)
   19964 {
   19965 
   19966   ;
   19967   return 0;
   19968 }
   19969 _ACEOF
   19970 if ac_fn_c_try_link "$LINENO"
   19971 then :
   19972   eval $cacheid=yes
   19973 else case e in #(
   19974   e) eval $cacheid=no ;;
   19975 esac
   19976 fi
   19977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19978     conftest$ac_exeext conftest.$ac_ext ;;
   19979 esac
   19980 fi
   19981 
   19982 
   19983 		CFLAGS="$xorg_testset_save_CFLAGS"
   19984 
   19985 		eval supported=\$$cacheid
   19986 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19987 printf '%s\n' "$supported" >&6; }
   19988 		if test "$supported" = "yes" ; then
   19989 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19990 			found="yes"
   19991 		fi
   19992 	fi
   19993 
   19994 
   19995 
   19996 
   19997 
   19998 
   19999 
   20000 
   20001 
   20002 
   20003 
   20004 
   20005 
   20006 
   20007 
   20008 xorg_testset_save_CFLAGS="$CFLAGS"
   20009 
   20010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20012 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20013 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20014 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20015 then :
   20016   printf %s "(cached) " >&6
   20017 else case e in #(
   20018   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20019 /* end confdefs.h.  */
   20020 int i;
   20021 _ACEOF
   20022 if ac_fn_c_try_compile "$LINENO"
   20023 then :
   20024   xorg_cv_cc_flag_unknown_warning_option=yes
   20025 else case e in #(
   20026   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20027 esac
   20028 fi
   20029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20030 esac
   20031 fi
   20032 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20033 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20035 	CFLAGS="$xorg_testset_save_CFLAGS"
   20036 fi
   20037 
   20038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20041 	fi
   20042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20043 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20044 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20045 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20046 then :
   20047   printf %s "(cached) " >&6
   20048 else case e in #(
   20049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20050 /* end confdefs.h.  */
   20051 int i;
   20052 _ACEOF
   20053 if ac_fn_c_try_compile "$LINENO"
   20054 then :
   20055   xorg_cv_cc_flag_unused_command_line_argument=yes
   20056 else case e in #(
   20057   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20058 esac
   20059 fi
   20060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20061 esac
   20062 fi
   20063 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20064 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20065 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20066 	CFLAGS="$xorg_testset_save_CFLAGS"
   20067 fi
   20068 
   20069 found="no"
   20070 
   20071 	if test $found = "no" ; then
   20072 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20073 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20074 		fi
   20075 
   20076 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20077 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20078 		fi
   20079 
   20080 		CFLAGS="$CFLAGS -Wreturn-type"
   20081 
   20082 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   20083 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   20084 		cacheid=xorg_cv_cc_flag__Wreturn_type
   20085 		if eval test \${$cacheid+y}
   20086 then :
   20087   printf %s "(cached) " >&6
   20088 else case e in #(
   20089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20090 /* end confdefs.h.  */
   20091 int i;
   20092 int
   20093 main (void)
   20094 {
   20095 
   20096   ;
   20097   return 0;
   20098 }
   20099 _ACEOF
   20100 if ac_fn_c_try_link "$LINENO"
   20101 then :
   20102   eval $cacheid=yes
   20103 else case e in #(
   20104   e) eval $cacheid=no ;;
   20105 esac
   20106 fi
   20107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20108     conftest$ac_exeext conftest.$ac_ext ;;
   20109 esac
   20110 fi
   20111 
   20112 
   20113 		CFLAGS="$xorg_testset_save_CFLAGS"
   20114 
   20115 		eval supported=\$$cacheid
   20116 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20117 printf '%s\n' "$supported" >&6; }
   20118 		if test "$supported" = "yes" ; then
   20119 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   20120 			found="yes"
   20121 		fi
   20122 	fi
   20123 
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 
   20130 
   20131 
   20132 
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 xorg_testset_save_CFLAGS="$CFLAGS"
   20139 
   20140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20142 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20143 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20144 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20145 then :
   20146   printf %s "(cached) " >&6
   20147 else case e in #(
   20148   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20149 /* end confdefs.h.  */
   20150 int i;
   20151 _ACEOF
   20152 if ac_fn_c_try_compile "$LINENO"
   20153 then :
   20154   xorg_cv_cc_flag_unknown_warning_option=yes
   20155 else case e in #(
   20156   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20157 esac
   20158 fi
   20159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20160 esac
   20161 fi
   20162 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20163 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20165 	CFLAGS="$xorg_testset_save_CFLAGS"
   20166 fi
   20167 
   20168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20171 	fi
   20172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20173 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20174 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20175 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20176 then :
   20177   printf %s "(cached) " >&6
   20178 else case e in #(
   20179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20180 /* end confdefs.h.  */
   20181 int i;
   20182 _ACEOF
   20183 if ac_fn_c_try_compile "$LINENO"
   20184 then :
   20185   xorg_cv_cc_flag_unused_command_line_argument=yes
   20186 else case e in #(
   20187   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20188 esac
   20189 fi
   20190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20191 esac
   20192 fi
   20193 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20194 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20196 	CFLAGS="$xorg_testset_save_CFLAGS"
   20197 fi
   20198 
   20199 found="no"
   20200 
   20201 	if test $found = "no" ; then
   20202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20204 		fi
   20205 
   20206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20208 		fi
   20209 
   20210 		CFLAGS="$CFLAGS -Wtrigraphs"
   20211 
   20212 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   20213 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   20214 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   20215 		if eval test \${$cacheid+y}
   20216 then :
   20217   printf %s "(cached) " >&6
   20218 else case e in #(
   20219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20220 /* end confdefs.h.  */
   20221 int i;
   20222 int
   20223 main (void)
   20224 {
   20225 
   20226   ;
   20227   return 0;
   20228 }
   20229 _ACEOF
   20230 if ac_fn_c_try_link "$LINENO"
   20231 then :
   20232   eval $cacheid=yes
   20233 else case e in #(
   20234   e) eval $cacheid=no ;;
   20235 esac
   20236 fi
   20237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20238     conftest$ac_exeext conftest.$ac_ext ;;
   20239 esac
   20240 fi
   20241 
   20242 
   20243 		CFLAGS="$xorg_testset_save_CFLAGS"
   20244 
   20245 		eval supported=\$$cacheid
   20246 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20247 printf '%s\n' "$supported" >&6; }
   20248 		if test "$supported" = "yes" ; then
   20249 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   20250 			found="yes"
   20251 		fi
   20252 	fi
   20253 
   20254 
   20255 
   20256 
   20257 
   20258 
   20259 
   20260 
   20261 
   20262 
   20263 
   20264 
   20265 
   20266 
   20267 
   20268 xorg_testset_save_CFLAGS="$CFLAGS"
   20269 
   20270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20272 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20273 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20274 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20275 then :
   20276   printf %s "(cached) " >&6
   20277 else case e in #(
   20278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20279 /* end confdefs.h.  */
   20280 int i;
   20281 _ACEOF
   20282 if ac_fn_c_try_compile "$LINENO"
   20283 then :
   20284   xorg_cv_cc_flag_unknown_warning_option=yes
   20285 else case e in #(
   20286   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20287 esac
   20288 fi
   20289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20290 esac
   20291 fi
   20292 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20293 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20295 	CFLAGS="$xorg_testset_save_CFLAGS"
   20296 fi
   20297 
   20298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20301 	fi
   20302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20303 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20306 then :
   20307   printf %s "(cached) " >&6
   20308 else case e in #(
   20309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20310 /* end confdefs.h.  */
   20311 int i;
   20312 _ACEOF
   20313 if ac_fn_c_try_compile "$LINENO"
   20314 then :
   20315   xorg_cv_cc_flag_unused_command_line_argument=yes
   20316 else case e in #(
   20317   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20318 esac
   20319 fi
   20320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20321 esac
   20322 fi
   20323 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20324 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20326 	CFLAGS="$xorg_testset_save_CFLAGS"
   20327 fi
   20328 
   20329 found="no"
   20330 
   20331 	if test $found = "no" ; then
   20332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20334 		fi
   20335 
   20336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20338 		fi
   20339 
   20340 		CFLAGS="$CFLAGS -Warray-bounds"
   20341 
   20342 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   20343 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   20344 		cacheid=xorg_cv_cc_flag__Warray_bounds
   20345 		if eval test \${$cacheid+y}
   20346 then :
   20347   printf %s "(cached) " >&6
   20348 else case e in #(
   20349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20350 /* end confdefs.h.  */
   20351 int i;
   20352 int
   20353 main (void)
   20354 {
   20355 
   20356   ;
   20357   return 0;
   20358 }
   20359 _ACEOF
   20360 if ac_fn_c_try_link "$LINENO"
   20361 then :
   20362   eval $cacheid=yes
   20363 else case e in #(
   20364   e) eval $cacheid=no ;;
   20365 esac
   20366 fi
   20367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20368     conftest$ac_exeext conftest.$ac_ext ;;
   20369 esac
   20370 fi
   20371 
   20372 
   20373 		CFLAGS="$xorg_testset_save_CFLAGS"
   20374 
   20375 		eval supported=\$$cacheid
   20376 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20377 printf '%s\n' "$supported" >&6; }
   20378 		if test "$supported" = "yes" ; then
   20379 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   20380 			found="yes"
   20381 		fi
   20382 	fi
   20383 
   20384 
   20385 
   20386 
   20387 
   20388 
   20389 
   20390 
   20391 
   20392 
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 xorg_testset_save_CFLAGS="$CFLAGS"
   20399 
   20400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20402 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20403 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20404 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20405 then :
   20406   printf %s "(cached) " >&6
   20407 else case e in #(
   20408   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20409 /* end confdefs.h.  */
   20410 int i;
   20411 _ACEOF
   20412 if ac_fn_c_try_compile "$LINENO"
   20413 then :
   20414   xorg_cv_cc_flag_unknown_warning_option=yes
   20415 else case e in #(
   20416   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20417 esac
   20418 fi
   20419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20420 esac
   20421 fi
   20422 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20423 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20425 	CFLAGS="$xorg_testset_save_CFLAGS"
   20426 fi
   20427 
   20428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20431 	fi
   20432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20433 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20434 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20435 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20436 then :
   20437   printf %s "(cached) " >&6
   20438 else case e in #(
   20439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20440 /* end confdefs.h.  */
   20441 int i;
   20442 _ACEOF
   20443 if ac_fn_c_try_compile "$LINENO"
   20444 then :
   20445   xorg_cv_cc_flag_unused_command_line_argument=yes
   20446 else case e in #(
   20447   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20448 esac
   20449 fi
   20450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20451 esac
   20452 fi
   20453 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20454 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20456 	CFLAGS="$xorg_testset_save_CFLAGS"
   20457 fi
   20458 
   20459 found="no"
   20460 
   20461 	if test $found = "no" ; then
   20462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20464 		fi
   20465 
   20466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20468 		fi
   20469 
   20470 		CFLAGS="$CFLAGS -Wwrite-strings"
   20471 
   20472 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   20473 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   20474 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   20475 		if eval test \${$cacheid+y}
   20476 then :
   20477   printf %s "(cached) " >&6
   20478 else case e in #(
   20479   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20480 /* end confdefs.h.  */
   20481 int i;
   20482 int
   20483 main (void)
   20484 {
   20485 
   20486   ;
   20487   return 0;
   20488 }
   20489 _ACEOF
   20490 if ac_fn_c_try_link "$LINENO"
   20491 then :
   20492   eval $cacheid=yes
   20493 else case e in #(
   20494   e) eval $cacheid=no ;;
   20495 esac
   20496 fi
   20497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20498     conftest$ac_exeext conftest.$ac_ext ;;
   20499 esac
   20500 fi
   20501 
   20502 
   20503 		CFLAGS="$xorg_testset_save_CFLAGS"
   20504 
   20505 		eval supported=\$$cacheid
   20506 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20507 printf '%s\n' "$supported" >&6; }
   20508 		if test "$supported" = "yes" ; then
   20509 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   20510 			found="yes"
   20511 		fi
   20512 	fi
   20513 
   20514 
   20515 
   20516 
   20517 
   20518 
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 
   20525 
   20526 
   20527 
   20528 xorg_testset_save_CFLAGS="$CFLAGS"
   20529 
   20530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20532 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20533 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20534 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20535 then :
   20536   printf %s "(cached) " >&6
   20537 else case e in #(
   20538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20539 /* end confdefs.h.  */
   20540 int i;
   20541 _ACEOF
   20542 if ac_fn_c_try_compile "$LINENO"
   20543 then :
   20544   xorg_cv_cc_flag_unknown_warning_option=yes
   20545 else case e in #(
   20546   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20547 esac
   20548 fi
   20549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20550 esac
   20551 fi
   20552 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20553 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20555 	CFLAGS="$xorg_testset_save_CFLAGS"
   20556 fi
   20557 
   20558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20561 	fi
   20562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20563 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20564 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20565 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20566 then :
   20567   printf %s "(cached) " >&6
   20568 else case e in #(
   20569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20570 /* end confdefs.h.  */
   20571 int i;
   20572 _ACEOF
   20573 if ac_fn_c_try_compile "$LINENO"
   20574 then :
   20575   xorg_cv_cc_flag_unused_command_line_argument=yes
   20576 else case e in #(
   20577   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20578 esac
   20579 fi
   20580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20581 esac
   20582 fi
   20583 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20584 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20586 	CFLAGS="$xorg_testset_save_CFLAGS"
   20587 fi
   20588 
   20589 found="no"
   20590 
   20591 	if test $found = "no" ; then
   20592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20594 		fi
   20595 
   20596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20598 		fi
   20599 
   20600 		CFLAGS="$CFLAGS -Waddress"
   20601 
   20602 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   20603 printf %s "checking if $CC supports -Waddress... " >&6; }
   20604 		cacheid=xorg_cv_cc_flag__Waddress
   20605 		if eval test \${$cacheid+y}
   20606 then :
   20607   printf %s "(cached) " >&6
   20608 else case e in #(
   20609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20610 /* end confdefs.h.  */
   20611 int i;
   20612 int
   20613 main (void)
   20614 {
   20615 
   20616   ;
   20617   return 0;
   20618 }
   20619 _ACEOF
   20620 if ac_fn_c_try_link "$LINENO"
   20621 then :
   20622   eval $cacheid=yes
   20623 else case e in #(
   20624   e) eval $cacheid=no ;;
   20625 esac
   20626 fi
   20627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20628     conftest$ac_exeext conftest.$ac_ext ;;
   20629 esac
   20630 fi
   20631 
   20632 
   20633 		CFLAGS="$xorg_testset_save_CFLAGS"
   20634 
   20635 		eval supported=\$$cacheid
   20636 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20637 printf '%s\n' "$supported" >&6; }
   20638 		if test "$supported" = "yes" ; then
   20639 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   20640 			found="yes"
   20641 		fi
   20642 	fi
   20643 
   20644 
   20645 
   20646 
   20647 
   20648 
   20649 
   20650 
   20651 
   20652 
   20653 
   20654 
   20655 
   20656 
   20657 
   20658 xorg_testset_save_CFLAGS="$CFLAGS"
   20659 
   20660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20662 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20664 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20665 then :
   20666   printf %s "(cached) " >&6
   20667 else case e in #(
   20668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20669 /* end confdefs.h.  */
   20670 int i;
   20671 _ACEOF
   20672 if ac_fn_c_try_compile "$LINENO"
   20673 then :
   20674   xorg_cv_cc_flag_unknown_warning_option=yes
   20675 else case e in #(
   20676   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20677 esac
   20678 fi
   20679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20680 esac
   20681 fi
   20682 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20683 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20685 	CFLAGS="$xorg_testset_save_CFLAGS"
   20686 fi
   20687 
   20688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20691 	fi
   20692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20693 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20696 then :
   20697   printf %s "(cached) " >&6
   20698 else case e in #(
   20699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20700 /* end confdefs.h.  */
   20701 int i;
   20702 _ACEOF
   20703 if ac_fn_c_try_compile "$LINENO"
   20704 then :
   20705   xorg_cv_cc_flag_unused_command_line_argument=yes
   20706 else case e in #(
   20707   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20708 esac
   20709 fi
   20710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20711 esac
   20712 fi
   20713 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20714 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20716 	CFLAGS="$xorg_testset_save_CFLAGS"
   20717 fi
   20718 
   20719 found="no"
   20720 
   20721 	if test $found = "no" ; then
   20722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20724 		fi
   20725 
   20726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20728 		fi
   20729 
   20730 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20731 
   20732 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20733 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20734 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20735 		if eval test \${$cacheid+y}
   20736 then :
   20737   printf %s "(cached) " >&6
   20738 else case e in #(
   20739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20740 /* end confdefs.h.  */
   20741 int i;
   20742 int
   20743 main (void)
   20744 {
   20745 
   20746   ;
   20747   return 0;
   20748 }
   20749 _ACEOF
   20750 if ac_fn_c_try_link "$LINENO"
   20751 then :
   20752   eval $cacheid=yes
   20753 else case e in #(
   20754   e) eval $cacheid=no ;;
   20755 esac
   20756 fi
   20757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20758     conftest$ac_exeext conftest.$ac_ext ;;
   20759 esac
   20760 fi
   20761 
   20762 
   20763 		CFLAGS="$xorg_testset_save_CFLAGS"
   20764 
   20765 		eval supported=\$$cacheid
   20766 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20767 printf '%s\n' "$supported" >&6; }
   20768 		if test "$supported" = "yes" ; then
   20769 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20770 			found="yes"
   20771 		fi
   20772 	fi
   20773 
   20774 
   20775 
   20776 
   20777 
   20778 
   20779 
   20780 
   20781 
   20782 
   20783 
   20784 
   20785 
   20786 
   20787 
   20788 xorg_testset_save_CFLAGS="$CFLAGS"
   20789 
   20790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20792 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20794 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20795 then :
   20796   printf %s "(cached) " >&6
   20797 else case e in #(
   20798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20799 /* end confdefs.h.  */
   20800 int i;
   20801 _ACEOF
   20802 if ac_fn_c_try_compile "$LINENO"
   20803 then :
   20804   xorg_cv_cc_flag_unknown_warning_option=yes
   20805 else case e in #(
   20806   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20807 esac
   20808 fi
   20809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20810 esac
   20811 fi
   20812 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20813 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20815 	CFLAGS="$xorg_testset_save_CFLAGS"
   20816 fi
   20817 
   20818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20821 	fi
   20822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20823 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20826 then :
   20827   printf %s "(cached) " >&6
   20828 else case e in #(
   20829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20830 /* end confdefs.h.  */
   20831 int i;
   20832 _ACEOF
   20833 if ac_fn_c_try_compile "$LINENO"
   20834 then :
   20835   xorg_cv_cc_flag_unused_command_line_argument=yes
   20836 else case e in #(
   20837   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20838 esac
   20839 fi
   20840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20841 esac
   20842 fi
   20843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20844 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20846 	CFLAGS="$xorg_testset_save_CFLAGS"
   20847 fi
   20848 
   20849 found="no"
   20850 
   20851 	if test $found = "no" ; then
   20852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20854 		fi
   20855 
   20856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20858 		fi
   20859 
   20860 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20861 
   20862 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20863 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20864 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20865 		if eval test \${$cacheid+y}
   20866 then :
   20867   printf %s "(cached) " >&6
   20868 else case e in #(
   20869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20870 /* end confdefs.h.  */
   20871 int i;
   20872 int
   20873 main (void)
   20874 {
   20875 
   20876   ;
   20877   return 0;
   20878 }
   20879 _ACEOF
   20880 if ac_fn_c_try_link "$LINENO"
   20881 then :
   20882   eval $cacheid=yes
   20883 else case e in #(
   20884   e) eval $cacheid=no ;;
   20885 esac
   20886 fi
   20887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20888     conftest$ac_exeext conftest.$ac_ext ;;
   20889 esac
   20890 fi
   20891 
   20892 
   20893 		CFLAGS="$xorg_testset_save_CFLAGS"
   20894 
   20895 		eval supported=\$$cacheid
   20896 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20897 printf '%s\n' "$supported" >&6; }
   20898 		if test "$supported" = "yes" ; then
   20899 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20900 			found="yes"
   20901 		fi
   20902 	fi
   20903 
   20904 
   20905 fi
   20906 
   20907 
   20908 
   20909 
   20910 
   20911 
   20912 
   20913 		CWARNFLAGS="$BASE_CFLAGS"
   20914 		if  test "x$GCC" = xyes ; then
   20915 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20916 		fi
   20917 
   20918 
   20919 
   20920 
   20921 
   20922 
   20923 
   20924 
   20925 # Check whether --enable-strict-compilation was given.
   20926 if test ${enable_strict_compilation+y}
   20927 then :
   20928   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20929 else case e in #(
   20930   e) STRICT_COMPILE=no ;;
   20931 esac
   20932 fi
   20933 
   20934 
   20935 
   20936 
   20937 
   20938 
   20939 STRICT_CFLAGS=""
   20940 
   20941 
   20942 
   20943 
   20944 
   20945 
   20946 
   20947 
   20948 
   20949 
   20950 
   20951 
   20952 
   20953 xorg_testset_save_CFLAGS="$CFLAGS"
   20954 
   20955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20957 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20958 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20959 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20960 then :
   20961   printf %s "(cached) " >&6
   20962 else case e in #(
   20963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20964 /* end confdefs.h.  */
   20965 int i;
   20966 _ACEOF
   20967 if ac_fn_c_try_compile "$LINENO"
   20968 then :
   20969   xorg_cv_cc_flag_unknown_warning_option=yes
   20970 else case e in #(
   20971   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20972 esac
   20973 fi
   20974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20975 esac
   20976 fi
   20977 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20978 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20980 	CFLAGS="$xorg_testset_save_CFLAGS"
   20981 fi
   20982 
   20983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20986 	fi
   20987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20988 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20989 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20990 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20991 then :
   20992   printf %s "(cached) " >&6
   20993 else case e in #(
   20994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20995 /* end confdefs.h.  */
   20996 int i;
   20997 _ACEOF
   20998 if ac_fn_c_try_compile "$LINENO"
   20999 then :
   21000   xorg_cv_cc_flag_unused_command_line_argument=yes
   21001 else case e in #(
   21002   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   21003 esac
   21004 fi
   21005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21006 esac
   21007 fi
   21008 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   21009 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   21010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   21011 	CFLAGS="$xorg_testset_save_CFLAGS"
   21012 fi
   21013 
   21014 found="no"
   21015 
   21016 	if test $found = "no" ; then
   21017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21019 		fi
   21020 
   21021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   21022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21023 		fi
   21024 
   21025 		CFLAGS="$CFLAGS -pedantic"
   21026 
   21027 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   21028 printf %s "checking if $CC supports -pedantic... " >&6; }
   21029 		cacheid=xorg_cv_cc_flag__pedantic
   21030 		if eval test \${$cacheid+y}
   21031 then :
   21032   printf %s "(cached) " >&6
   21033 else case e in #(
   21034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21035 /* end confdefs.h.  */
   21036 int i;
   21037 int
   21038 main (void)
   21039 {
   21040 
   21041   ;
   21042   return 0;
   21043 }
   21044 _ACEOF
   21045 if ac_fn_c_try_link "$LINENO"
   21046 then :
   21047   eval $cacheid=yes
   21048 else case e in #(
   21049   e) eval $cacheid=no ;;
   21050 esac
   21051 fi
   21052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21053     conftest$ac_exeext conftest.$ac_ext ;;
   21054 esac
   21055 fi
   21056 
   21057 
   21058 		CFLAGS="$xorg_testset_save_CFLAGS"
   21059 
   21060 		eval supported=\$$cacheid
   21061 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   21062 printf '%s\n' "$supported" >&6; }
   21063 		if test "$supported" = "yes" ; then
   21064 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   21065 			found="yes"
   21066 		fi
   21067 	fi
   21068 
   21069 
   21070 
   21071 
   21072 
   21073 
   21074 
   21075 
   21076 
   21077 
   21078 
   21079 
   21080 
   21081 
   21082 
   21083 xorg_testset_save_CFLAGS="$CFLAGS"
   21084 
   21085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   21086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21087 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   21088 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   21089 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   21090 then :
   21091   printf %s "(cached) " >&6
   21092 else case e in #(
   21093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21094 /* end confdefs.h.  */
   21095 int i;
   21096 _ACEOF
   21097 if ac_fn_c_try_compile "$LINENO"
   21098 then :
   21099   xorg_cv_cc_flag_unknown_warning_option=yes
   21100 else case e in #(
   21101   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   21102 esac
   21103 fi
   21104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21105 esac
   21106 fi
   21107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   21108 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   21109 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   21110 	CFLAGS="$xorg_testset_save_CFLAGS"
   21111 fi
   21112 
   21113 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   21114 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21115 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21116 	fi
   21117 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21118 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   21119 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   21120 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   21121 then :
   21122   printf %s "(cached) " >&6
   21123 else case e in #(
   21124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21125 /* end confdefs.h.  */
   21126 int i;
   21127 _ACEOF
   21128 if ac_fn_c_try_compile "$LINENO"
   21129 then :
   21130   xorg_cv_cc_flag_unused_command_line_argument=yes
   21131 else case e in #(
   21132   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   21133 esac
   21134 fi
   21135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21136 esac
   21137 fi
   21138 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   21139 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   21140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   21141 	CFLAGS="$xorg_testset_save_CFLAGS"
   21142 fi
   21143 
   21144 found="no"
   21145 
   21146 	if test $found = "no" ; then
   21147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21149 		fi
   21150 
   21151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   21152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21153 		fi
   21154 
   21155 		CFLAGS="$CFLAGS -Werror"
   21156 
   21157 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   21158 printf %s "checking if $CC supports -Werror... " >&6; }
   21159 		cacheid=xorg_cv_cc_flag__Werror
   21160 		if eval test \${$cacheid+y}
   21161 then :
   21162   printf %s "(cached) " >&6
   21163 else case e in #(
   21164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21165 /* end confdefs.h.  */
   21166 int i;
   21167 int
   21168 main (void)
   21169 {
   21170 
   21171   ;
   21172   return 0;
   21173 }
   21174 _ACEOF
   21175 if ac_fn_c_try_link "$LINENO"
   21176 then :
   21177   eval $cacheid=yes
   21178 else case e in #(
   21179   e) eval $cacheid=no ;;
   21180 esac
   21181 fi
   21182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21183     conftest$ac_exeext conftest.$ac_ext ;;
   21184 esac
   21185 fi
   21186 
   21187 
   21188 		CFLAGS="$xorg_testset_save_CFLAGS"
   21189 
   21190 		eval supported=\$$cacheid
   21191 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   21192 printf '%s\n' "$supported" >&6; }
   21193 		if test "$supported" = "yes" ; then
   21194 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   21195 			found="yes"
   21196 		fi
   21197 	fi
   21198 
   21199 	if test $found = "no" ; then
   21200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21202 		fi
   21203 
   21204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   21205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21206 		fi
   21207 
   21208 		CFLAGS="$CFLAGS -errwarn"
   21209 
   21210 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   21211 printf %s "checking if $CC supports -errwarn... " >&6; }
   21212 		cacheid=xorg_cv_cc_flag__errwarn
   21213 		if eval test \${$cacheid+y}
   21214 then :
   21215   printf %s "(cached) " >&6
   21216 else case e in #(
   21217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21218 /* end confdefs.h.  */
   21219 int i;
   21220 int
   21221 main (void)
   21222 {
   21223 
   21224   ;
   21225   return 0;
   21226 }
   21227 _ACEOF
   21228 if ac_fn_c_try_link "$LINENO"
   21229 then :
   21230   eval $cacheid=yes
   21231 else case e in #(
   21232   e) eval $cacheid=no ;;
   21233 esac
   21234 fi
   21235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21236     conftest$ac_exeext conftest.$ac_ext ;;
   21237 esac
   21238 fi
   21239 
   21240 
   21241 		CFLAGS="$xorg_testset_save_CFLAGS"
   21242 
   21243 		eval supported=\$$cacheid
   21244 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   21245 printf '%s\n' "$supported" >&6; }
   21246 		if test "$supported" = "yes" ; then
   21247 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   21248 			found="yes"
   21249 		fi
   21250 	fi
   21251 
   21252 
   21253 
   21254 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   21255 # activate it with -Werror, so we add it here explicitly.
   21256 
   21257 
   21258 
   21259 
   21260 
   21261 
   21262 
   21263 
   21264 
   21265 
   21266 
   21267 
   21268 
   21269 xorg_testset_save_CFLAGS="$CFLAGS"
   21270 
   21271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   21272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21273 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   21274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   21275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   21276 then :
   21277   printf %s "(cached) " >&6
   21278 else case e in #(
   21279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21280 /* end confdefs.h.  */
   21281 int i;
   21282 _ACEOF
   21283 if ac_fn_c_try_compile "$LINENO"
   21284 then :
   21285   xorg_cv_cc_flag_unknown_warning_option=yes
   21286 else case e in #(
   21287   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   21288 esac
   21289 fi
   21290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21291 esac
   21292 fi
   21293 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   21294 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   21295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   21296 	CFLAGS="$xorg_testset_save_CFLAGS"
   21297 fi
   21298 
   21299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   21300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21302 	fi
   21303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21304 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   21305 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   21306 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   21307 then :
   21308   printf %s "(cached) " >&6
   21309 else case e in #(
   21310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21311 /* end confdefs.h.  */
   21312 int i;
   21313 _ACEOF
   21314 if ac_fn_c_try_compile "$LINENO"
   21315 then :
   21316   xorg_cv_cc_flag_unused_command_line_argument=yes
   21317 else case e in #(
   21318   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   21319 esac
   21320 fi
   21321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   21322 esac
   21323 fi
   21324 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   21325 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   21326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   21327 	CFLAGS="$xorg_testset_save_CFLAGS"
   21328 fi
   21329 
   21330 found="no"
   21331 
   21332 	if test $found = "no" ; then
   21333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   21334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   21335 		fi
   21336 
   21337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   21338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   21339 		fi
   21340 
   21341 		CFLAGS="$CFLAGS -Werror=attributes"
   21342 
   21343 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   21344 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   21345 		cacheid=xorg_cv_cc_flag__Werror_attributes
   21346 		if eval test \${$cacheid+y}
   21347 then :
   21348   printf %s "(cached) " >&6
   21349 else case e in #(
   21350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21351 /* end confdefs.h.  */
   21352 int i;
   21353 int
   21354 main (void)
   21355 {
   21356 
   21357   ;
   21358   return 0;
   21359 }
   21360 _ACEOF
   21361 if ac_fn_c_try_link "$LINENO"
   21362 then :
   21363   eval $cacheid=yes
   21364 else case e in #(
   21365   e) eval $cacheid=no ;;
   21366 esac
   21367 fi
   21368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21369     conftest$ac_exeext conftest.$ac_ext ;;
   21370 esac
   21371 fi
   21372 
   21373 
   21374 		CFLAGS="$xorg_testset_save_CFLAGS"
   21375 
   21376 		eval supported=\$$cacheid
   21377 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   21378 printf '%s\n' "$supported" >&6; }
   21379 		if test "$supported" = "yes" ; then
   21380 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   21381 			found="yes"
   21382 		fi
   21383 	fi
   21384 
   21385 
   21386 
   21387 if test "x$STRICT_COMPILE" = "xyes"; then
   21388     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   21389     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   21390 fi
   21391 
   21392 
   21393 
   21394 
   21395 
   21396 
   21397 
   21398 
   21399 cat >>confdefs.h <<_ACEOF
   21400 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21401 _ACEOF
   21402 
   21403 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21404 	if test "x$PVM" = "x"; then
   21405 		PVM="0"
   21406 	fi
   21407 
   21408 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   21409 
   21410 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21411 	if test "x$PVP" = "x"; then
   21412 		PVP="0"
   21413 	fi
   21414 
   21415 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   21416 
   21417 
   21418 
   21419 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   21420 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   21421 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   21422 touch \$(top_srcdir)/ChangeLog; \
   21423 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   21424 
   21425 
   21426 
   21427 
   21428 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   21429 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   21430 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   21431 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   21432 touch \$(top_srcdir)/INSTALL; \
   21433 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   21434 
   21435 
   21436 
   21437 
   21438 
   21439 
   21440 case $host_os in
   21441     solaris*)
   21442         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   21443         # check for a man page file found in later versions that use
   21444         # traditional section numbers instead
   21445         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   21446 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   21447 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   21448 then :
   21449   printf %s "(cached) " >&6
   21450 else case e in #(
   21451   e) test "$cross_compiling" = yes &&
   21452   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   21453 if test -r "/usr/share/man/man7/attributes.7"; then
   21454   ac_cv_file__usr_share_man_man7_attributes_7=yes
   21455 else
   21456   ac_cv_file__usr_share_man_man7_attributes_7=no
   21457 fi ;;
   21458 esac
   21459 fi
   21460 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   21461 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   21462 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   21463 then :
   21464   SYSV_MAN_SECTIONS=false
   21465 else case e in #(
   21466   e) SYSV_MAN_SECTIONS=true ;;
   21467 esac
   21468 fi
   21469 
   21470         ;;
   21471     *) SYSV_MAN_SECTIONS=false ;;
   21472 esac
   21473 
   21474 if test x$APP_MAN_SUFFIX = x    ; then
   21475     APP_MAN_SUFFIX=1
   21476 fi
   21477 if test x$APP_MAN_DIR = x    ; then
   21478     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21479 fi
   21480 
   21481 if test x$LIB_MAN_SUFFIX = x    ; then
   21482     LIB_MAN_SUFFIX=3
   21483 fi
   21484 if test x$LIB_MAN_DIR = x    ; then
   21485     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21486 fi
   21487 
   21488 if test x$FILE_MAN_SUFFIX = x    ; then
   21489     case $SYSV_MAN_SECTIONS in
   21490 	true)				FILE_MAN_SUFFIX=4  ;;
   21491 	*)				FILE_MAN_SUFFIX=5  ;;
   21492     esac
   21493 fi
   21494 if test x$FILE_MAN_DIR = x    ; then
   21495     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21496 fi
   21497 
   21498 if test x$MISC_MAN_SUFFIX = x    ; then
   21499     case $SYSV_MAN_SECTIONS in
   21500 	true)				MISC_MAN_SUFFIX=5  ;;
   21501 	*)				MISC_MAN_SUFFIX=7  ;;
   21502     esac
   21503 fi
   21504 if test x$MISC_MAN_DIR = x    ; then
   21505     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21506 fi
   21507 
   21508 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21509     case $SYSV_MAN_SECTIONS in
   21510 	true)				DRIVER_MAN_SUFFIX=7  ;;
   21511 	*)				DRIVER_MAN_SUFFIX=4  ;;
   21512     esac
   21513 fi
   21514 if test x$DRIVER_MAN_DIR = x    ; then
   21515     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21516 fi
   21517 
   21518 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21519     case $SYSV_MAN_SECTIONS in
   21520 	true)				ADMIN_MAN_SUFFIX=1m ;;
   21521 	*)				ADMIN_MAN_SUFFIX=8  ;;
   21522     esac
   21523 fi
   21524 if test x$ADMIN_MAN_DIR = x    ; then
   21525     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21526 fi
   21527 
   21528 
   21529 
   21530 
   21531 
   21532 
   21533 
   21534 
   21535 
   21536 
   21537 
   21538 
   21539 
   21540 
   21541 
   21542 XORG_MAN_PAGE="X Version 11"
   21543 
   21544 MAN_SUBSTS="\
   21545 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21546 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21547 	-e 's|__xservername__|Xorg|g' \
   21548 	-e 's|__xconfigfile__|xorg.conf|g' \
   21549 	-e 's|__projectroot__|\$(prefix)|g' \
   21550 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   21551 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   21552 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   21553 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   21554 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   21555 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   21556 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   21557 
   21558 
   21559 
   21560 
   21561 AM_DEFAULT_VERBOSITY=0
   21562 
   21563 
   21564 
   21565 
   21566 
   21567 
   21568 # Check whether --enable-specs was given.
   21569 if test ${enable_specs+y}
   21570 then :
   21571   enableval=$enable_specs; build_specs=$enableval
   21572 else case e in #(
   21573   e) build_specs=yes ;;
   21574 esac
   21575 fi
   21576 
   21577 
   21578  if test x$build_specs = xyes; then
   21579   ENABLE_SPECS_TRUE=
   21580   ENABLE_SPECS_FALSE='#'
   21581 else
   21582   ENABLE_SPECS_TRUE='#'
   21583   ENABLE_SPECS_FALSE=
   21584 fi
   21585 
   21586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   21587 printf %s "checking whether to build functional specifications... " >&6; }
   21588 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   21589 printf '%s\n' "$build_specs" >&6; }
   21590 
   21591 
   21592 
   21593 
   21594 
   21595 # Check whether --with-xmlto was given.
   21596 if test ${with_xmlto+y}
   21597 then :
   21598   withval=$with_xmlto; use_xmlto=$withval
   21599 else case e in #(
   21600   e) use_xmlto=auto ;;
   21601 esac
   21602 fi
   21603 
   21604 
   21605 
   21606 if test "x$use_xmlto" = x"auto"; then
   21607    # Extract the first word of "xmlto", so it can be a program name with args.
   21608 set dummy xmlto; ac_word=$2
   21609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21610 printf %s "checking for $ac_word... " >&6; }
   21611 if test ${ac_cv_path_XMLTO+y}
   21612 then :
   21613   printf %s "(cached) " >&6
   21614 else case e in #(
   21615   e) case $XMLTO in
   21616   [\\/]* | ?:[\\/]*)
   21617   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21618   ;;
   21619   *)
   21620   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21621 for as_dir in $PATH
   21622 do
   21623   IFS=$as_save_IFS
   21624   case $as_dir in #(((
   21625     '') as_dir=./ ;;
   21626     */) ;;
   21627     *) as_dir=$as_dir/ ;;
   21628   esac
   21629     for ac_exec_ext in '' $ac_executable_extensions; do
   21630   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21631     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21632     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21633     break 2
   21634   fi
   21635 done
   21636   done
   21637 IFS=$as_save_IFS
   21638 
   21639   ;;
   21640 esac ;;
   21641 esac
   21642 fi
   21643 XMLTO=$ac_cv_path_XMLTO
   21644 if test -n "$XMLTO"; then
   21645   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21646 printf '%s\n' "$XMLTO" >&6; }
   21647 else
   21648   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21649 printf '%s\n' "no" >&6; }
   21650 fi
   21651 
   21652 
   21653    if test "x$XMLTO" = "x"; then
   21654         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   21655 printf '%s\n' "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   21656 	have_xmlto=no
   21657    else
   21658         have_xmlto=yes
   21659    fi
   21660 elif test "x$use_xmlto" = x"yes" ; then
   21661    # Extract the first word of "xmlto", so it can be a program name with args.
   21662 set dummy xmlto; ac_word=$2
   21663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21664 printf %s "checking for $ac_word... " >&6; }
   21665 if test ${ac_cv_path_XMLTO+y}
   21666 then :
   21667   printf %s "(cached) " >&6
   21668 else case e in #(
   21669   e) case $XMLTO in
   21670   [\\/]* | ?:[\\/]*)
   21671   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21672   ;;
   21673   *)
   21674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21675 for as_dir in $PATH
   21676 do
   21677   IFS=$as_save_IFS
   21678   case $as_dir in #(((
   21679     '') as_dir=./ ;;
   21680     */) ;;
   21681     *) as_dir=$as_dir/ ;;
   21682   esac
   21683     for ac_exec_ext in '' $ac_executable_extensions; do
   21684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21685     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21686     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21687     break 2
   21688   fi
   21689 done
   21690   done
   21691 IFS=$as_save_IFS
   21692 
   21693   ;;
   21694 esac ;;
   21695 esac
   21696 fi
   21697 XMLTO=$ac_cv_path_XMLTO
   21698 if test -n "$XMLTO"; then
   21699   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21700 printf '%s\n' "$XMLTO" >&6; }
   21701 else
   21702   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21703 printf '%s\n' "no" >&6; }
   21704 fi
   21705 
   21706 
   21707    if test "x$XMLTO" = "x"; then
   21708         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   21709    fi
   21710    have_xmlto=yes
   21711 elif test "x$use_xmlto" = x"no" ; then
   21712    if test "x$XMLTO" != "x"; then
   21713       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   21714 printf '%s\n' "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   21715    fi
   21716    have_xmlto=no
   21717 else
   21718    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   21719 fi
   21720 
   21721 # Test for a minimum version of xmlto, if provided.
   21722 if test "$have_xmlto" = yes; then
   21723     # scrape the xmlto version
   21724     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   21725 printf %s "checking the xmlto version... " >&6; }
   21726     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   21727     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   21728 printf '%s\n' "$xmlto_version" >&6; }
   21729     as_arg_v1=$xmlto_version
   21730 as_arg_v2=0.0.22
   21731 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   21732 case $? in #(
   21733   1) :
   21734     if test "x$use_xmlto" = xauto; then
   21735             { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   21736 printf '%s\n' "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   21737             have_xmlto=no
   21738         else
   21739             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   21740         fi ;; #(
   21741   0) :
   21742      ;; #(
   21743   2) :
   21744      ;; #(
   21745   *) :
   21746      ;;
   21747 esac
   21748 fi
   21749 
   21750 # Test for the ability of xmlto to generate a text target
   21751 #
   21752 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   21753 # following test for empty XML docbook files.
   21754 # For compatibility reasons use the following empty XML docbook file and if
   21755 # it fails try it again with a non-empty XML file.
   21756 have_xmlto_text=no
   21757 cat > conftest.xml << "EOF"
   21758 EOF
   21759 if test "$have_xmlto" = yes
   21760 then :
   21761   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21762 then :
   21763   have_xmlto_text=yes
   21764 else case e in #(
   21765   e) # Try it again with a non-empty XML file.
   21766               cat > conftest.xml << "EOF"
   21767 <x></x>
   21768 EOF
   21769               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21770 then :
   21771   have_xmlto_text=yes
   21772 else case e in #(
   21773   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   21774 printf '%s\n' "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   21775 esac
   21776 fi ;;
   21777 esac
   21778 fi
   21779 fi
   21780 rm -f conftest.xml
   21781  if test $have_xmlto_text = yes; then
   21782   HAVE_XMLTO_TEXT_TRUE=
   21783   HAVE_XMLTO_TEXT_FALSE='#'
   21784 else
   21785   HAVE_XMLTO_TEXT_TRUE='#'
   21786   HAVE_XMLTO_TEXT_FALSE=
   21787 fi
   21788 
   21789  if test "$have_xmlto" = yes; then
   21790   HAVE_XMLTO_TRUE=
   21791   HAVE_XMLTO_FALSE='#'
   21792 else
   21793   HAVE_XMLTO_TRUE='#'
   21794   HAVE_XMLTO_FALSE=
   21795 fi
   21796 
   21797 
   21798 
   21799 
   21800 
   21801 
   21802 # Check whether --with-fop was given.
   21803 if test ${with_fop+y}
   21804 then :
   21805   withval=$with_fop; use_fop=$withval
   21806 else case e in #(
   21807   e) use_fop=no ;;
   21808 esac
   21809 fi
   21810 
   21811 
   21812 
   21813 if test "x$use_fop" = x"auto"; then
   21814    # Extract the first word of "fop", so it can be a program name with args.
   21815 set dummy fop; ac_word=$2
   21816 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21817 printf %s "checking for $ac_word... " >&6; }
   21818 if test ${ac_cv_path_FOP+y}
   21819 then :
   21820   printf %s "(cached) " >&6
   21821 else case e in #(
   21822   e) case $FOP in
   21823   [\\/]* | ?:[\\/]*)
   21824   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21825   ;;
   21826   *)
   21827   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21828 for as_dir in $PATH
   21829 do
   21830   IFS=$as_save_IFS
   21831   case $as_dir in #(((
   21832     '') as_dir=./ ;;
   21833     */) ;;
   21834     *) as_dir=$as_dir/ ;;
   21835   esac
   21836     for ac_exec_ext in '' $ac_executable_extensions; do
   21837   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21838     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21839     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21840     break 2
   21841   fi
   21842 done
   21843   done
   21844 IFS=$as_save_IFS
   21845 
   21846   ;;
   21847 esac ;;
   21848 esac
   21849 fi
   21850 FOP=$ac_cv_path_FOP
   21851 if test -n "$FOP"; then
   21852   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21853 printf '%s\n' "$FOP" >&6; }
   21854 else
   21855   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21856 printf '%s\n' "no" >&6; }
   21857 fi
   21858 
   21859 
   21860    if test "x$FOP" = "x"; then
   21861         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   21862 printf '%s\n' "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   21863 	have_fop=no
   21864    else
   21865         have_fop=yes
   21866    fi
   21867 elif test "x$use_fop" = x"yes" ; then
   21868    # Extract the first word of "fop", so it can be a program name with args.
   21869 set dummy fop; ac_word=$2
   21870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21871 printf %s "checking for $ac_word... " >&6; }
   21872 if test ${ac_cv_path_FOP+y}
   21873 then :
   21874   printf %s "(cached) " >&6
   21875 else case e in #(
   21876   e) case $FOP in
   21877   [\\/]* | ?:[\\/]*)
   21878   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21879   ;;
   21880   *)
   21881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21882 for as_dir in $PATH
   21883 do
   21884   IFS=$as_save_IFS
   21885   case $as_dir in #(((
   21886     '') as_dir=./ ;;
   21887     */) ;;
   21888     *) as_dir=$as_dir/ ;;
   21889   esac
   21890     for ac_exec_ext in '' $ac_executable_extensions; do
   21891   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21892     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21893     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21894     break 2
   21895   fi
   21896 done
   21897   done
   21898 IFS=$as_save_IFS
   21899 
   21900   ;;
   21901 esac ;;
   21902 esac
   21903 fi
   21904 FOP=$ac_cv_path_FOP
   21905 if test -n "$FOP"; then
   21906   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21907 printf '%s\n' "$FOP" >&6; }
   21908 else
   21909   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21910 printf '%s\n' "no" >&6; }
   21911 fi
   21912 
   21913 
   21914    if test "x$FOP" = "x"; then
   21915         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   21916    fi
   21917    have_fop=yes
   21918 elif test "x$use_fop" = x"no" ; then
   21919    if test "x$FOP" != "x"; then
   21920       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   21921 printf '%s\n' "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   21922    fi
   21923    have_fop=no
   21924 else
   21925    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   21926 fi
   21927 
   21928 # Test for a minimum version of fop, if provided.
   21929 
   21930  if test "$have_fop" = yes; then
   21931   HAVE_FOP_TRUE=
   21932   HAVE_FOP_FALSE='#'
   21933 else
   21934   HAVE_FOP_TRUE='#'
   21935   HAVE_FOP_FALSE=
   21936 fi
   21937 
   21938 
   21939 
   21940 
   21941 # Preserves the interface, should it be implemented later
   21942 
   21943 
   21944 
   21945 # Check whether --with-xsltproc was given.
   21946 if test ${with_xsltproc+y}
   21947 then :
   21948   withval=$with_xsltproc; use_xsltproc=$withval
   21949 else case e in #(
   21950   e) use_xsltproc=auto ;;
   21951 esac
   21952 fi
   21953 
   21954 
   21955 
   21956 if test "x$use_xsltproc" = x"auto"; then
   21957    # Extract the first word of "xsltproc", so it can be a program name with args.
   21958 set dummy xsltproc; ac_word=$2
   21959 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21960 printf %s "checking for $ac_word... " >&6; }
   21961 if test ${ac_cv_path_XSLTPROC+y}
   21962 then :
   21963   printf %s "(cached) " >&6
   21964 else case e in #(
   21965   e) case $XSLTPROC in
   21966   [\\/]* | ?:[\\/]*)
   21967   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21968   ;;
   21969   *)
   21970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21971 for as_dir in $PATH
   21972 do
   21973   IFS=$as_save_IFS
   21974   case $as_dir in #(((
   21975     '') as_dir=./ ;;
   21976     */) ;;
   21977     *) as_dir=$as_dir/ ;;
   21978   esac
   21979     for ac_exec_ext in '' $ac_executable_extensions; do
   21980   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21981     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21982     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21983     break 2
   21984   fi
   21985 done
   21986   done
   21987 IFS=$as_save_IFS
   21988 
   21989   ;;
   21990 esac ;;
   21991 esac
   21992 fi
   21993 XSLTPROC=$ac_cv_path_XSLTPROC
   21994 if test -n "$XSLTPROC"; then
   21995   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21996 printf '%s\n' "$XSLTPROC" >&6; }
   21997 else
   21998   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21999 printf '%s\n' "no" >&6; }
   22000 fi
   22001 
   22002 
   22003    if test "x$XSLTPROC" = "x"; then
   22004         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   22005 printf '%s\n' "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   22006 	have_xsltproc=no
   22007    else
   22008         have_xsltproc=yes
   22009    fi
   22010 elif test "x$use_xsltproc" = x"yes" ; then
   22011    # Extract the first word of "xsltproc", so it can be a program name with args.
   22012 set dummy xsltproc; ac_word=$2
   22013 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22014 printf %s "checking for $ac_word... " >&6; }
   22015 if test ${ac_cv_path_XSLTPROC+y}
   22016 then :
   22017   printf %s "(cached) " >&6
   22018 else case e in #(
   22019   e) case $XSLTPROC in
   22020   [\\/]* | ?:[\\/]*)
   22021   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   22022   ;;
   22023   *)
   22024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22025 for as_dir in $PATH
   22026 do
   22027   IFS=$as_save_IFS
   22028   case $as_dir in #(((
   22029     '') as_dir=./ ;;
   22030     */) ;;
   22031     *) as_dir=$as_dir/ ;;
   22032   esac
   22033     for ac_exec_ext in '' $ac_executable_extensions; do
   22034   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22035     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   22036     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22037     break 2
   22038   fi
   22039 done
   22040   done
   22041 IFS=$as_save_IFS
   22042 
   22043   ;;
   22044 esac ;;
   22045 esac
   22046 fi
   22047 XSLTPROC=$ac_cv_path_XSLTPROC
   22048 if test -n "$XSLTPROC"; then
   22049   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   22050 printf '%s\n' "$XSLTPROC" >&6; }
   22051 else
   22052   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22053 printf '%s\n' "no" >&6; }
   22054 fi
   22055 
   22056 
   22057    if test "x$XSLTPROC" = "x"; then
   22058         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   22059    fi
   22060    have_xsltproc=yes
   22061 elif test "x$use_xsltproc" = x"no" ; then
   22062    if test "x$XSLTPROC" != "x"; then
   22063       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   22064 printf '%s\n' "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   22065    fi
   22066    have_xsltproc=no
   22067 else
   22068    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   22069 fi
   22070 
   22071  if test "$have_xsltproc" = yes; then
   22072   HAVE_XSLTPROC_TRUE=
   22073   HAVE_XSLTPROC_FALSE='#'
   22074 else
   22075   HAVE_XSLTPROC_TRUE='#'
   22076   HAVE_XSLTPROC_FALSE=
   22077 fi
   22078 
   22079 
   22080 
   22081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   22082 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   22083 XORG_SGML_PATH=
   22084 if test -n "$PKG_CONFIG" && \
   22085     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   22086   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   22087   ac_status=$?
   22088   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22089   test $ac_status = 0; }; then
   22090   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   22091 else
   22092   :
   22093 
   22094 fi
   22095 
   22096 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   22097 # the path and the name of the doc stylesheet
   22098 if test "x$XORG_SGML_PATH" != "x" ; then
   22099    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   22100 printf '%s\n' "$XORG_SGML_PATH" >&6; }
   22101    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   22102    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   22103 else
   22104    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22105 printf '%s\n' "no" >&6; }
   22106 fi
   22107 
   22108 
   22109 
   22110 
   22111  if test "x$XSL_STYLESHEET" != "x"; then
   22112   HAVE_STYLESHEETS_TRUE=
   22113   HAVE_STYLESHEETS_FALSE='#'
   22114 else
   22115   HAVE_STYLESHEETS_TRUE='#'
   22116   HAVE_STYLESHEETS_FALSE=
   22117 fi
   22118 
   22119 
   22120 ac_ext=c
   22121 ac_cpp='$CPP $CPPFLAGS'
   22122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   22123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   22124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   22125 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   22126 printf %s "checking how to run the C preprocessor... " >&6; }
   22127 # On Suns, sometimes $CPP names a directory.
   22128 if test -n "$CPP" && test -d "$CPP"; then
   22129   CPP=
   22130 fi
   22131 if test -z "$CPP"; then
   22132   if test ${ac_cv_prog_CPP+y}
   22133 then :
   22134   printf %s "(cached) " >&6
   22135 else case e in #(
   22136   e)     # Double quotes because $CC needs to be expanded
   22137     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   22138     do
   22139       ac_preproc_ok=false
   22140 for ac_c_preproc_warn_flag in '' yes
   22141 do
   22142   # Use a header file that comes with gcc, so configuring glibc
   22143   # with a fresh cross-compiler works.
   22144   # On the NeXT, cc -E runs the code through the compiler's parser,
   22145   # not just through cpp. "Syntax error" is here to catch this case.
   22146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22147 /* end confdefs.h.  */
   22148 #include <limits.h>
   22149 		     Syntax error
   22150 _ACEOF
   22151 if ac_fn_c_try_cpp "$LINENO"
   22152 then :
   22153 
   22154 else case e in #(
   22155   e) # Broken: fails on valid input.
   22156 continue ;;
   22157 esac
   22158 fi
   22159 rm -f conftest.err conftest.i conftest.$ac_ext
   22160 
   22161   # OK, works on sane cases.  Now check whether nonexistent headers
   22162   # can be detected and how.
   22163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22164 /* end confdefs.h.  */
   22165 #include <ac_nonexistent.h>
   22166 _ACEOF
   22167 if ac_fn_c_try_cpp "$LINENO"
   22168 then :
   22169   # Broken: success on invalid input.
   22170 continue
   22171 else case e in #(
   22172   e) # Passes both tests.
   22173 ac_preproc_ok=:
   22174 break ;;
   22175 esac
   22176 fi
   22177 rm -f conftest.err conftest.i conftest.$ac_ext
   22178 
   22179 done
   22180 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   22181 rm -f conftest.i conftest.err conftest.$ac_ext
   22182 if $ac_preproc_ok
   22183 then :
   22184   break
   22185 fi
   22186 
   22187     done
   22188     ac_cv_prog_CPP=$CPP
   22189    ;;
   22190 esac
   22191 fi
   22192   CPP=$ac_cv_prog_CPP
   22193 else
   22194   ac_cv_prog_CPP=$CPP
   22195 fi
   22196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   22197 printf '%s\n' "$CPP" >&6; }
   22198 ac_preproc_ok=false
   22199 for ac_c_preproc_warn_flag in '' yes
   22200 do
   22201   # Use a header file that comes with gcc, so configuring glibc
   22202   # with a fresh cross-compiler works.
   22203   # On the NeXT, cc -E runs the code through the compiler's parser,
   22204   # not just through cpp. "Syntax error" is here to catch this case.
   22205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22206 /* end confdefs.h.  */
   22207 #include <limits.h>
   22208 		     Syntax error
   22209 _ACEOF
   22210 if ac_fn_c_try_cpp "$LINENO"
   22211 then :
   22212 
   22213 else case e in #(
   22214   e) # Broken: fails on valid input.
   22215 continue ;;
   22216 esac
   22217 fi
   22218 rm -f conftest.err conftest.i conftest.$ac_ext
   22219 
   22220   # OK, works on sane cases.  Now check whether nonexistent headers
   22221   # can be detected and how.
   22222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22223 /* end confdefs.h.  */
   22224 #include <ac_nonexistent.h>
   22225 _ACEOF
   22226 if ac_fn_c_try_cpp "$LINENO"
   22227 then :
   22228   # Broken: success on invalid input.
   22229 continue
   22230 else case e in #(
   22231   e) # Passes both tests.
   22232 ac_preproc_ok=:
   22233 break ;;
   22234 esac
   22235 fi
   22236 rm -f conftest.err conftest.i conftest.$ac_ext
   22237 
   22238 done
   22239 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   22240 rm -f conftest.i conftest.err conftest.$ac_ext
   22241 if $ac_preproc_ok
   22242 then :
   22243 
   22244 else case e in #(
   22245   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22246 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   22247 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   22248 See 'config.log' for more details" "$LINENO" 5; } ;;
   22249 esac
   22250 fi
   22251 
   22252 ac_ext=c
   22253 ac_cpp='$CPP $CPPFLAGS'
   22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   22257 
   22258 
   22259 
   22260 if test -n "$ac_tool_prefix"; then
   22261   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   22262 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   22263 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22264 printf %s "checking for $ac_word... " >&6; }
   22265 if test ${ac_cv_path_RAWCPP+y}
   22266 then :
   22267   printf %s "(cached) " >&6
   22268 else case e in #(
   22269   e) case $RAWCPP in
   22270   [\\/]* | ?:[\\/]*)
   22271   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   22272   ;;
   22273   *)
   22274   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22275 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   22276 for as_dir in $as_dummy
   22277 do
   22278   IFS=$as_save_IFS
   22279   case $as_dir in #(((
   22280     '') as_dir=./ ;;
   22281     */) ;;
   22282     *) as_dir=$as_dir/ ;;
   22283   esac
   22284     for ac_exec_ext in '' $ac_executable_extensions; do
   22285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22286     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   22287     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22288     break 2
   22289   fi
   22290 done
   22291   done
   22292 IFS=$as_save_IFS
   22293 
   22294   ;;
   22295 esac ;;
   22296 esac
   22297 fi
   22298 RAWCPP=$ac_cv_path_RAWCPP
   22299 if test -n "$RAWCPP"; then
   22300   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   22301 printf '%s\n' "$RAWCPP" >&6; }
   22302 else
   22303   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22304 printf '%s\n' "no" >&6; }
   22305 fi
   22306 
   22307 
   22308 fi
   22309 if test -z "$ac_cv_path_RAWCPP"; then
   22310   ac_pt_RAWCPP=$RAWCPP
   22311   # Extract the first word of "cpp", so it can be a program name with args.
   22312 set dummy cpp; ac_word=$2
   22313 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22314 printf %s "checking for $ac_word... " >&6; }
   22315 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   22316 then :
   22317   printf %s "(cached) " >&6
   22318 else case e in #(
   22319   e) case $ac_pt_RAWCPP in
   22320   [\\/]* | ?:[\\/]*)
   22321   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   22322   ;;
   22323   *)
   22324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22325 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   22326 for as_dir in $as_dummy
   22327 do
   22328   IFS=$as_save_IFS
   22329   case $as_dir in #(((
   22330     '') as_dir=./ ;;
   22331     */) ;;
   22332     *) as_dir=$as_dir/ ;;
   22333   esac
   22334     for ac_exec_ext in '' $ac_executable_extensions; do
   22335   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22336     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   22337     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22338     break 2
   22339   fi
   22340 done
   22341   done
   22342 IFS=$as_save_IFS
   22343 
   22344   ;;
   22345 esac ;;
   22346 esac
   22347 fi
   22348 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   22349 if test -n "$ac_pt_RAWCPP"; then
   22350   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   22351 printf '%s\n' "$ac_pt_RAWCPP" >&6; }
   22352 else
   22353   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22354 printf '%s\n' "no" >&6; }
   22355 fi
   22356 
   22357   if test "x$ac_pt_RAWCPP" = x; then
   22358     RAWCPP="${CPP}"
   22359   else
   22360     case $cross_compiling:$ac_tool_warned in
   22361 yes:)
   22362 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22363 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22364 ac_tool_warned=yes ;;
   22365 esac
   22366     RAWCPP=$ac_pt_RAWCPP
   22367   fi
   22368 else
   22369   RAWCPP="$ac_cv_path_RAWCPP"
   22370 fi
   22371 
   22372 
   22373 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   22374 # which is not the best choice for supporting other OS'es, but covers most
   22375 # of the ones we need for now.
   22376 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   22377 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   22378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22379 /* end confdefs.h.  */
   22380 Does cpp redefine unix ?
   22381 _ACEOF
   22382 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22383 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22384 printf '%s\n' "no" >&6; }
   22385 else
   22386 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22387 		RAWCPPFLAGS=-undef
   22388 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22389 printf '%s\n' "yes" >&6; }
   22390 	# under Cygwin unix is still defined even with -undef
   22391 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22392 		RAWCPPFLAGS="-undef -ansi"
   22393 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   22394 printf '%s\n' "yes, with -ansi" >&6; }
   22395 	else
   22396 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   22397 	fi
   22398 fi
   22399 rm -f conftest.$ac_ext
   22400 
   22401 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   22402 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22404 /* end confdefs.h.  */
   22405 Does cpp preserve   "whitespace"?
   22406 _ACEOF
   22407 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   22408 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22409 printf '%s\n' "no" >&6; }
   22410 else
   22411 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   22412 		TRADITIONALCPPFLAGS="-traditional"
   22413 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   22414 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22415 printf '%s\n' "yes" >&6; }
   22416 	else
   22417 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   22418 	fi
   22419 fi
   22420 rm -f conftest.$ac_ext
   22421 
   22422 
   22423 
   22424 
   22425 
   22426 # Preserves the interface, should it be implemented later
   22427 
   22428 
   22429 
   22430 # Check whether --with-perl was given.
   22431 if test ${with_perl+y}
   22432 then :
   22433   withval=$with_perl; use_perl=$withval
   22434 else case e in #(
   22435   e) use_perl=auto ;;
   22436 esac
   22437 fi
   22438 
   22439 
   22440 
   22441 if test "x$use_perl" = x"auto"; then
   22442    # Extract the first word of "perl", so it can be a program name with args.
   22443 set dummy perl; ac_word=$2
   22444 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22445 printf %s "checking for $ac_word... " >&6; }
   22446 if test ${ac_cv_path_PERL+y}
   22447 then :
   22448   printf %s "(cached) " >&6
   22449 else case e in #(
   22450   e) case $PERL in
   22451   [\\/]* | ?:[\\/]*)
   22452   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   22453   ;;
   22454   *)
   22455   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22456 for as_dir in $PATH
   22457 do
   22458   IFS=$as_save_IFS
   22459   case $as_dir in #(((
   22460     '') as_dir=./ ;;
   22461     */) ;;
   22462     *) as_dir=$as_dir/ ;;
   22463   esac
   22464     for ac_exec_ext in '' $ac_executable_extensions; do
   22465   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22466     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   22467     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22468     break 2
   22469   fi
   22470 done
   22471   done
   22472 IFS=$as_save_IFS
   22473 
   22474   ;;
   22475 esac ;;
   22476 esac
   22477 fi
   22478 PERL=$ac_cv_path_PERL
   22479 if test -n "$PERL"; then
   22480   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   22481 printf '%s\n' "$PERL" >&6; }
   22482 else
   22483   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22484 printf '%s\n' "no" >&6; }
   22485 fi
   22486 
   22487 
   22488    if test "x$PERL" = "x"; then
   22489         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   22490 printf '%s\n' "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   22491 	have_perl=no
   22492    else
   22493         have_perl=yes
   22494    fi
   22495 elif test "x$use_perl" = x"yes" ; then
   22496    # Extract the first word of "perl", so it can be a program name with args.
   22497 set dummy perl; ac_word=$2
   22498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22499 printf %s "checking for $ac_word... " >&6; }
   22500 if test ${ac_cv_path_PERL+y}
   22501 then :
   22502   printf %s "(cached) " >&6
   22503 else case e in #(
   22504   e) case $PERL in
   22505   [\\/]* | ?:[\\/]*)
   22506   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   22507   ;;
   22508   *)
   22509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22510 for as_dir in $PATH
   22511 do
   22512   IFS=$as_save_IFS
   22513   case $as_dir in #(((
   22514     '') as_dir=./ ;;
   22515     */) ;;
   22516     *) as_dir=$as_dir/ ;;
   22517   esac
   22518     for ac_exec_ext in '' $ac_executable_extensions; do
   22519   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22520     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   22521     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22522     break 2
   22523   fi
   22524 done
   22525   done
   22526 IFS=$as_save_IFS
   22527 
   22528   ;;
   22529 esac ;;
   22530 esac
   22531 fi
   22532 PERL=$ac_cv_path_PERL
   22533 if test -n "$PERL"; then
   22534   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   22535 printf '%s\n' "$PERL" >&6; }
   22536 else
   22537   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22538 printf '%s\n' "no" >&6; }
   22539 fi
   22540 
   22541 
   22542    if test "x$PERL" = "x"; then
   22543         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   22544    fi
   22545    have_perl=yes
   22546 elif test "x$use_perl" = x"no" ; then
   22547    if test "x$PERL" != "x"; then
   22548       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   22549 printf '%s\n' "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   22550    fi
   22551    have_perl=no
   22552 else
   22553    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   22554 fi
   22555 
   22556  if test "$have_perl" = yes; then
   22557   HAVE_PERL_TRUE=
   22558   HAVE_PERL_FALSE='#'
   22559 else
   22560   HAVE_PERL_TRUE='#'
   22561   HAVE_PERL_FALSE=
   22562 fi
   22563 
   22564 
   22565 
   22566 # Required when PKG_CHECK_MODULES called within an if statement
   22567 
   22568 
   22569 
   22570 
   22571 
   22572 
   22573 
   22574 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22575 	if test -n "$ac_tool_prefix"; then
   22576   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22577 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22579 printf %s "checking for $ac_word... " >&6; }
   22580 if test ${ac_cv_path_PKG_CONFIG+y}
   22581 then :
   22582   printf %s "(cached) " >&6
   22583 else case e in #(
   22584   e) case $PKG_CONFIG in
   22585   [\\/]* | ?:[\\/]*)
   22586   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22587   ;;
   22588   *)
   22589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22590 for as_dir in $PATH
   22591 do
   22592   IFS=$as_save_IFS
   22593   case $as_dir in #(((
   22594     '') as_dir=./ ;;
   22595     */) ;;
   22596     *) as_dir=$as_dir/ ;;
   22597   esac
   22598     for ac_exec_ext in '' $ac_executable_extensions; do
   22599   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22600     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22601     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22602     break 2
   22603   fi
   22604 done
   22605   done
   22606 IFS=$as_save_IFS
   22607 
   22608   ;;
   22609 esac ;;
   22610 esac
   22611 fi
   22612 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22613 if test -n "$PKG_CONFIG"; then
   22614   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22615 printf '%s\n' "$PKG_CONFIG" >&6; }
   22616 else
   22617   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22618 printf '%s\n' "no" >&6; }
   22619 fi
   22620 
   22621 
   22622 fi
   22623 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22624   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22625   # Extract the first word of "pkg-config", so it can be a program name with args.
   22626 set dummy pkg-config; ac_word=$2
   22627 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22628 printf %s "checking for $ac_word... " >&6; }
   22629 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22630 then :
   22631   printf %s "(cached) " >&6
   22632 else case e in #(
   22633   e) case $ac_pt_PKG_CONFIG in
   22634   [\\/]* | ?:[\\/]*)
   22635   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22636   ;;
   22637   *)
   22638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22639 for as_dir in $PATH
   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_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   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   ;;
   22658 esac ;;
   22659 esac
   22660 fi
   22661 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22662 if test -n "$ac_pt_PKG_CONFIG"; then
   22663   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22664 printf '%s\n' "$ac_pt_PKG_CONFIG" >&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   if test "x$ac_pt_PKG_CONFIG" = x; then
   22671     PKG_CONFIG=""
   22672   else
   22673     case $cross_compiling:$ac_tool_warned in
   22674 yes:)
   22675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22676 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22677 ac_tool_warned=yes ;;
   22678 esac
   22679     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22680   fi
   22681 else
   22682   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22683 fi
   22684 
   22685 fi
   22686 if test -n "$PKG_CONFIG"; then
   22687 	_pkg_min_version=0.9.0
   22688 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22689 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22690 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22691 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22692 printf '%s\n' "yes" >&6; }
   22693 	else
   22694 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22695 printf '%s\n' "no" >&6; }
   22696 		PKG_CONFIG=""
   22697 	fi
   22698 fi
   22699 
   22700 if test x"$CC_FOR_BUILD" = x; then
   22701 	if test x"$cross_compiling" = xyes; then
   22702 	       for ac_prog in gcc cc
   22703 do
   22704   # Extract the first word of "$ac_prog", so it can be a program name with args.
   22705 set dummy $ac_prog; ac_word=$2
   22706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22707 printf %s "checking for $ac_word... " >&6; }
   22708 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   22709 then :
   22710   printf %s "(cached) " >&6
   22711 else case e in #(
   22712   e) if test -n "$CC_FOR_BUILD"; then
   22713   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   22714 else
   22715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22716 for as_dir in $PATH
   22717 do
   22718   IFS=$as_save_IFS
   22719   case $as_dir in #(((
   22720     '') as_dir=./ ;;
   22721     */) ;;
   22722     *) as_dir=$as_dir/ ;;
   22723   esac
   22724     for ac_exec_ext in '' $ac_executable_extensions; do
   22725   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22726     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   22727     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22728     break 2
   22729   fi
   22730 done
   22731   done
   22732 IFS=$as_save_IFS
   22733 
   22734 fi ;;
   22735 esac
   22736 fi
   22737 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   22738 if test -n "$CC_FOR_BUILD"; then
   22739   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   22740 printf '%s\n' "$CC_FOR_BUILD" >&6; }
   22741 else
   22742   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22743 printf '%s\n' "no" >&6; }
   22744 fi
   22745 
   22746 
   22747   test -n "$CC_FOR_BUILD" && break
   22748 done
   22749 
   22750 	else
   22751 	       CC_FOR_BUILD="$CC"
   22752 	fi
   22753 fi
   22754 
   22755 
   22756 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   22757 	if test ! x"$cross_compiling" = xyes; then
   22758 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   22759 	fi
   22760 fi
   22761 
   22762 
   22763 if test x"$CFLAGS_FOR_BUILD" = x; then
   22764 	if test ! x"$cross_compiling" = xyes; then
   22765 		CFLAGS_FOR_BUILD=${CFLAGS}
   22766 	fi
   22767 fi
   22768 
   22769 
   22770 if test x"$LDFLAGS_FOR_BUILD" = x; then
   22771 	if test ! x"$cross_compiling" = xyes; then
   22772 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   22773 	fi
   22774 fi
   22775 
   22776 
   22777 if test x"$EXEEXT_FOR_BUILD" = x; then
   22778 	if test x"$cross_compiling" = xno; then
   22779 		EXEEXT_FOR_BUILD=${EXEEXT}
   22780 	fi
   22781 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   22782 fi
   22783 
   22784 
   22785 # Checks for pkg-config packages
   22786 
   22787 # Always required
   22788 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   22789 X11_EXTRA_DEPS="xcb >= 1.11.1"
   22790 
   22791 
   22792 
   22793 
   22794 
   22795 
   22796 
   22797 
   22798 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22799 	if test -n "$ac_tool_prefix"; then
   22800   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22801 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22803 printf %s "checking for $ac_word... " >&6; }
   22804 if test ${ac_cv_path_PKG_CONFIG+y}
   22805 then :
   22806   printf %s "(cached) " >&6
   22807 else case e in #(
   22808   e) case $PKG_CONFIG in
   22809   [\\/]* | ?:[\\/]*)
   22810   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22811   ;;
   22812   *)
   22813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22814 for as_dir in $PATH
   22815 do
   22816   IFS=$as_save_IFS
   22817   case $as_dir in #(((
   22818     '') as_dir=./ ;;
   22819     */) ;;
   22820     *) as_dir=$as_dir/ ;;
   22821   esac
   22822     for ac_exec_ext in '' $ac_executable_extensions; do
   22823   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22824     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22825     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22826     break 2
   22827   fi
   22828 done
   22829   done
   22830 IFS=$as_save_IFS
   22831 
   22832   ;;
   22833 esac ;;
   22834 esac
   22835 fi
   22836 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22837 if test -n "$PKG_CONFIG"; then
   22838   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22839 printf '%s\n' "$PKG_CONFIG" >&6; }
   22840 else
   22841   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22842 printf '%s\n' "no" >&6; }
   22843 fi
   22844 
   22845 
   22846 fi
   22847 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22848   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22849   # Extract the first word of "pkg-config", so it can be a program name with args.
   22850 set dummy pkg-config; ac_word=$2
   22851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22852 printf %s "checking for $ac_word... " >&6; }
   22853 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22854 then :
   22855   printf %s "(cached) " >&6
   22856 else case e in #(
   22857   e) case $ac_pt_PKG_CONFIG in
   22858   [\\/]* | ?:[\\/]*)
   22859   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22860   ;;
   22861   *)
   22862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22863 for as_dir in $PATH
   22864 do
   22865   IFS=$as_save_IFS
   22866   case $as_dir in #(((
   22867     '') as_dir=./ ;;
   22868     */) ;;
   22869     *) as_dir=$as_dir/ ;;
   22870   esac
   22871     for ac_exec_ext in '' $ac_executable_extensions; do
   22872   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22873     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22874     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22875     break 2
   22876   fi
   22877 done
   22878   done
   22879 IFS=$as_save_IFS
   22880 
   22881   ;;
   22882 esac ;;
   22883 esac
   22884 fi
   22885 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22886 if test -n "$ac_pt_PKG_CONFIG"; then
   22887   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22888 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   22889 else
   22890   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22891 printf '%s\n' "no" >&6; }
   22892 fi
   22893 
   22894   if test "x$ac_pt_PKG_CONFIG" = x; then
   22895     PKG_CONFIG=""
   22896   else
   22897     case $cross_compiling:$ac_tool_warned in
   22898 yes:)
   22899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22900 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22901 ac_tool_warned=yes ;;
   22902 esac
   22903     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22904   fi
   22905 else
   22906   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22907 fi
   22908 
   22909 fi
   22910 if test -n "$PKG_CONFIG"; then
   22911 	_pkg_min_version=0.9.0
   22912 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22913 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22914 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22915 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22916 printf '%s\n' "yes" >&6; }
   22917 	else
   22918 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22919 printf '%s\n' "no" >&6; }
   22920 		PKG_CONFIG=""
   22921 	fi
   22922 fi
   22923 
   22924 
   22925 
   22926 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   22927 # was not expanded, since libX11 with no transport types is rather useless.
   22928 #
   22929 # If you're seeing an error here, be sure you installed the lib/xtrans module
   22930 # first and if it's not in the default location, that you set the ACLOCAL
   22931 # environment variable to find it, such as:
   22932 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   22933 
   22934 
   22935 # Transport selection macro from xtrans.m4
   22936 
   22937 
   22938  case $host_os in
   22939 	mingw*)	unixdef="no"   ;;
   22940 	*)	unixdef="yes"  ;;
   22941  esac
   22942  # Check whether --enable-unix-transport was given.
   22943 if test ${enable_unix_transport+y}
   22944 then :
   22945   enableval=$enable_unix_transport; UNIXCONN=$enableval
   22946 else case e in #(
   22947   e) UNIXCONN=$unixdef ;;
   22948 esac
   22949 fi
   22950 
   22951  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   22952 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   22953  if test "$UNIXCONN" = "yes"; then
   22954 
   22955 printf '%s\n' "#define UNIXCONN 1" >>confdefs.h
   22956 
   22957  fi
   22958  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   22959 printf '%s\n' "$UNIXCONN" >&6; }
   22960  # Check whether --enable-tcp-transport was given.
   22961 if test ${enable_tcp_transport+y}
   22962 then :
   22963   enableval=$enable_tcp_transport; TCPCONN=$enableval
   22964 else case e in #(
   22965   e) TCPCONN=yes ;;
   22966 esac
   22967 fi
   22968 
   22969  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   22970 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   22971  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   22972 printf '%s\n' "$TCPCONN" >&6; }
   22973  if test "$TCPCONN" = "yes"; then
   22974 
   22975 printf '%s\n' "#define TCPCONN 1" >>confdefs.h
   22976 
   22977 
   22978  # SVR4 hides these in libraries other than libc
   22979  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   22980 printf %s "checking for library containing socket... " >&6; }
   22981 if test ${ac_cv_search_socket+y}
   22982 then :
   22983   printf %s "(cached) " >&6
   22984 else case e in #(
   22985   e) ac_func_search_save_LIBS=$LIBS
   22986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22987 /* end confdefs.h.  */
   22988 
   22989 /* Override any GCC internal prototype to avoid an error.
   22990    Use char because int might match the return type of a GCC
   22991    builtin and then its argument prototype would still apply.
   22992    The 'extern "C"' is for builds by C++ compilers;
   22993    although this is not generally supported in C code supporting it here
   22994    has little cost and some practical benefit (sr 110532).  */
   22995 #ifdef __cplusplus
   22996 extern "C"
   22997 #endif
   22998 char socket (void);
   22999 int
   23000 main (void)
   23001 {
   23002 return socket ();
   23003   ;
   23004   return 0;
   23005 }
   23006 _ACEOF
   23007 for ac_lib in '' socket
   23008 do
   23009   if test -z "$ac_lib"; then
   23010     ac_res="none required"
   23011   else
   23012     ac_res=-l$ac_lib
   23013     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23014   fi
   23015   if ac_fn_c_try_link "$LINENO"
   23016 then :
   23017   ac_cv_search_socket=$ac_res
   23018 fi
   23019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23020     conftest$ac_exeext
   23021   if test ${ac_cv_search_socket+y}
   23022 then :
   23023   break
   23024 fi
   23025 done
   23026 if test ${ac_cv_search_socket+y}
   23027 then :
   23028 
   23029 else case e in #(
   23030   e) ac_cv_search_socket=no ;;
   23031 esac
   23032 fi
   23033 rm conftest.$ac_ext
   23034 LIBS=$ac_func_search_save_LIBS ;;
   23035 esac
   23036 fi
   23037 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   23038 printf '%s\n' "$ac_cv_search_socket" >&6; }
   23039 ac_res=$ac_cv_search_socket
   23040 if test "$ac_res" != no
   23041 then :
   23042   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23043 
   23044 fi
   23045 
   23046  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   23047 printf %s "checking for library containing gethostbyname... " >&6; }
   23048 if test ${ac_cv_search_gethostbyname+y}
   23049 then :
   23050   printf %s "(cached) " >&6
   23051 else case e in #(
   23052   e) ac_func_search_save_LIBS=$LIBS
   23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23054 /* end confdefs.h.  */
   23055 
   23056 /* Override any GCC internal prototype to avoid an error.
   23057    Use char because int might match the return type of a GCC
   23058    builtin and then its argument prototype would still apply.
   23059    The 'extern "C"' is for builds by C++ compilers;
   23060    although this is not generally supported in C code supporting it here
   23061    has little cost and some practical benefit (sr 110532).  */
   23062 #ifdef __cplusplus
   23063 extern "C"
   23064 #endif
   23065 char gethostbyname (void);
   23066 int
   23067 main (void)
   23068 {
   23069 return gethostbyname ();
   23070   ;
   23071   return 0;
   23072 }
   23073 _ACEOF
   23074 for ac_lib in '' nsl
   23075 do
   23076   if test -z "$ac_lib"; then
   23077     ac_res="none required"
   23078   else
   23079     ac_res=-l$ac_lib
   23080     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23081   fi
   23082   if ac_fn_c_try_link "$LINENO"
   23083 then :
   23084   ac_cv_search_gethostbyname=$ac_res
   23085 fi
   23086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23087     conftest$ac_exeext
   23088   if test ${ac_cv_search_gethostbyname+y}
   23089 then :
   23090   break
   23091 fi
   23092 done
   23093 if test ${ac_cv_search_gethostbyname+y}
   23094 then :
   23095 
   23096 else case e in #(
   23097   e) ac_cv_search_gethostbyname=no ;;
   23098 esac
   23099 fi
   23100 rm conftest.$ac_ext
   23101 LIBS=$ac_func_search_save_LIBS ;;
   23102 esac
   23103 fi
   23104 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   23105 printf '%s\n' "$ac_cv_search_gethostbyname" >&6; }
   23106 ac_res=$ac_cv_search_gethostbyname
   23107 if test "$ac_res" != no
   23108 then :
   23109   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23110 
   23111 fi
   23112 
   23113  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   23114    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   23115 printf %s "checking for main in -lws2_32... " >&6; }
   23116 if test ${ac_cv_lib_ws2_32_main+y}
   23117 then :
   23118   printf %s "(cached) " >&6
   23119 else case e in #(
   23120   e) ac_check_lib_save_LIBS=$LIBS
   23121 LIBS="-lws2_32  $LIBS"
   23122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23123 /* end confdefs.h.  */
   23124 
   23125 
   23126 int
   23127 main (void)
   23128 {
   23129 return main ();
   23130   ;
   23131   return 0;
   23132 }
   23133 _ACEOF
   23134 if ac_fn_c_try_link "$LINENO"
   23135 then :
   23136   ac_cv_lib_ws2_32_main=yes
   23137 else case e in #(
   23138   e) ac_cv_lib_ws2_32_main=no ;;
   23139 esac
   23140 fi
   23141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23142     conftest$ac_exeext conftest.$ac_ext
   23143 LIBS=$ac_check_lib_save_LIBS ;;
   23144 esac
   23145 fi
   23146 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   23147 printf '%s\n' "$ac_cv_lib_ws2_32_main" >&6; }
   23148 if test "x$ac_cv_lib_ws2_32_main" = xyes
   23149 then :
   23150   printf '%s\n' "#define HAVE_LIBWS2_32 1" >>confdefs.h
   23151 
   23152   LIBS="-lws2_32 $LIBS"
   23153 
   23154 fi
   23155 
   23156  fi
   23157 
   23158  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   23159  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   23160 if test "x$ac_cv_func_getaddrinfo" = xyes
   23161 then :
   23162   printf '%s\n' "#define HAVE_GETADDRINFO 1" >>confdefs.h
   23163 
   23164 fi
   23165 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   23166 if test "x$ac_cv_func_inet_ntop" = xyes
   23167 then :
   23168   printf '%s\n' "#define HAVE_INET_NTOP 1" >>confdefs.h
   23169 
   23170 fi
   23171 
   23172 
   23173  # Check whether --enable-ipv6 was given.
   23174 if test ${enable_ipv6+y}
   23175 then :
   23176   enableval=$enable_ipv6; IPV6CONN=$enableval
   23177 else case e in #(
   23178   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   23179 esac
   23180 fi
   23181 
   23182  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   23183 printf %s "checking if IPv6 support should be built... " >&6; }
   23184  if test "$IPV6CONN" = "yes"; then
   23185 
   23186 printf '%s\n' "#define IPv6 1" >>confdefs.h
   23187 
   23188  fi
   23189  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   23190 printf '%s\n' "$IPV6CONN" >&6; }
   23191 
   23192  # 4.3BSD-Reno added a new member to struct sockaddr_in
   23193  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   23194 #include <sys/types.h>
   23195 #include <sys/socket.h>
   23196 #include <netinet/in.h>
   23197 
   23198 "
   23199 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   23200 then :
   23201 
   23202 printf '%s\n' "#define BSD44SOCKETS 1" >>confdefs.h
   23203 
   23204 fi
   23205 
   23206 
   23207  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   23208  # and added a type defined to be large enough to hold any sockaddr format.
   23209  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   23210 $ac_includes_default
   23211 #include <sys/socket.h>
   23212 
   23213 "
   23214 if test "x$ac_cv_type_socklen_t" = xyes
   23215 then :
   23216 
   23217 printf '%s\n' "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   23218 
   23219 
   23220 fi
   23221 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   23222 $ac_includes_default
   23223 #include <sys/socket.h>
   23224 
   23225 "
   23226 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   23227 then :
   23228 
   23229 printf '%s\n' "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   23230 
   23231 
   23232 fi
   23233 
   23234 
   23235  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   23236  # _XOPEN_SOURCE to get it (such as on Solaris)
   23237  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23238 $ac_includes_default
   23239 #include <sys/socket.h>
   23240 
   23241 "
   23242 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23243 then :
   23244 
   23245 fi
   23246 
   23247  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   23248  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   23249      unset ac_cv_member_struct_msghdr_msg_control
   23250      { printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   23251 printf '%s\n' "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   23252      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23253 #define _XOPEN_SOURCE 600
   23254 $ac_includes_default
   23255 #include <sys/socket.h>
   23256 
   23257 "
   23258 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23259 then :
   23260 
   23261 printf '%s\n' "#define _XOPEN_SOURCE 600" >>confdefs.h
   23262 
   23263 
   23264 fi
   23265 
   23266  fi
   23267  # If that didn't work, fall back to XPG5/UNIX98 with C89
   23268  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   23269      unset ac_cv_member_struct_msghdr_msg_control
   23270      { printf '%s\n' "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   23271 printf '%s\n' "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   23272      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23273 #define _XOPEN_SOURCE 500
   23274 $ac_includes_default
   23275 #include <sys/socket.h>
   23276 
   23277 "
   23278 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23279 then :
   23280 
   23281 printf '%s\n' "#define _XOPEN_SOURCE 500" >>confdefs.h
   23282 
   23283 
   23284 fi
   23285 
   23286  fi
   23287 
   23288 
   23289 
   23290  fi
   23291  case $host_os in
   23292 	solaris*)		localdef="yes" ;;
   23293 	*)			localdef="no"  ;;
   23294  esac
   23295  # Check whether --enable-local-transport was given.
   23296 if test ${enable_local_transport+y}
   23297 then :
   23298   enableval=$enable_local_transport; LOCALCONN=$enableval
   23299 else case e in #(
   23300   e) LOCALCONN=$localdef ;;
   23301 esac
   23302 fi
   23303 
   23304  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   23305 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   23306  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   23307 printf '%s\n' "$LOCALCONN" >&6; }
   23308  if test "$LOCALCONN" = "yes"; then
   23309 
   23310 printf '%s\n' "#define LOCALCONN 1" >>confdefs.h
   23311 
   23312  fi
   23313 
   23314  # Other functions Xtrans may need
   23315  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   23316 if test "x$ac_cv_func_strcasecmp" = xyes
   23317 then :
   23318   printf '%s\n' "#define HAVE_STRCASECMP 1" >>confdefs.h
   23319 
   23320 fi
   23321 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   23322 if test "x$ac_cv_func_strlcpy" = xyes
   23323 then :
   23324   printf '%s\n' "#define HAVE_STRLCPY 1" >>confdefs.h
   23325 
   23326 fi
   23327 
   23328 
   23329 
   23330 
   23331 # Check for dlopen
   23332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   23333 printf %s "checking for library containing dlopen... " >&6; }
   23334 if test ${ac_cv_search_dlopen+y}
   23335 then :
   23336   printf %s "(cached) " >&6
   23337 else case e in #(
   23338   e) ac_func_search_save_LIBS=$LIBS
   23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23340 /* end confdefs.h.  */
   23341 
   23342 /* Override any GCC internal prototype to avoid an error.
   23343    Use char because int might match the return type of a GCC
   23344    builtin and then its argument prototype would still apply.
   23345    The 'extern "C"' is for builds by C++ compilers;
   23346    although this is not generally supported in C code supporting it here
   23347    has little cost and some practical benefit (sr 110532).  */
   23348 #ifdef __cplusplus
   23349 extern "C"
   23350 #endif
   23351 char dlopen (void);
   23352 int
   23353 main (void)
   23354 {
   23355 return dlopen ();
   23356   ;
   23357   return 0;
   23358 }
   23359 _ACEOF
   23360 for ac_lib in '' dl svld
   23361 do
   23362   if test -z "$ac_lib"; then
   23363     ac_res="none required"
   23364   else
   23365     ac_res=-l$ac_lib
   23366     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23367   fi
   23368   if ac_fn_c_try_link "$LINENO"
   23369 then :
   23370   ac_cv_search_dlopen=$ac_res
   23371 fi
   23372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23373     conftest$ac_exeext
   23374   if test ${ac_cv_search_dlopen+y}
   23375 then :
   23376   break
   23377 fi
   23378 done
   23379 if test ${ac_cv_search_dlopen+y}
   23380 then :
   23381 
   23382 else case e in #(
   23383   e) ac_cv_search_dlopen=no ;;
   23384 esac
   23385 fi
   23386 rm conftest.$ac_ext
   23387 LIBS=$ac_func_search_save_LIBS ;;
   23388 esac
   23389 fi
   23390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   23391 printf '%s\n' "$ac_cv_search_dlopen" >&6; }
   23392 ac_res=$ac_cv_search_dlopen
   23393 if test "$ac_res" != no
   23394 then :
   23395   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23396 
   23397 fi
   23398 
   23399 if test "x$ac_cv_search_dlopen" != xno; then
   23400 
   23401 printf '%s\n' "#define HAVE_DLOPEN 1" >>confdefs.h
   23402 
   23403 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   23404 if test "x$ac_cv_header_dlfcn_h" = xyes
   23405 then :
   23406   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   23407 
   23408 fi
   23409 
   23410 fi
   23411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   23412 printf %s "checking if run-time linking is supported... " >&6; }
   23413 if test "x$ac_cv_header_dlfcn_h" = xyes; then
   23414 	HAVE_LOADABLE_MODULES=yes
   23415 else
   23416 	HAVE_LOADABLE_MODULES=no
   23417 fi
   23418 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   23419 printf '%s\n' "$HAVE_LOADABLE_MODULES" >&6; }
   23420 
   23421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   23422 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   23423 # Check whether --enable-loadable-i18n was given.
   23424 if test ${enable_loadable_i18n+y}
   23425 then :
   23426   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   23427 else case e in #(
   23428   e) XLIB_LOADABLE_I18N="no" ;;
   23429 esac
   23430 fi
   23431 
   23432 if test x$XLIB_LOADABLE_I18N = xyes; then
   23433 	if test x$HAVE_LOADABLE_MODULES = xno; then
   23434 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   23435 	fi
   23436 
   23437 printf '%s\n' "#define USE_DYNAMIC_LC 1" >>confdefs.h
   23438 
   23439 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   23440 
   23441 fi
   23442 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   23443 printf '%s\n' "$XLIB_LOADABLE_I18N" >&6; }
   23444 
   23445  if test x$XLIB_LOADABLE_I18N = xyes; then
   23446   XLIB_LOADABLE_I18N_TRUE=
   23447   XLIB_LOADABLE_I18N_FALSE='#'
   23448 else
   23449   XLIB_LOADABLE_I18N_TRUE='#'
   23450   XLIB_LOADABLE_I18N_FALSE=
   23451 fi
   23452 
   23453 
   23454 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   23455 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   23456 # Check whether --enable-loadable-xcursor was given.
   23457 if test ${enable_loadable_xcursor+y}
   23458 then :
   23459   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   23460 else case e in #(
   23461   e) XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES ;;
   23462 esac
   23463 fi
   23464 
   23465 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   23466 
   23467 printf '%s\n' "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   23468 
   23469 fi
   23470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   23471 printf '%s\n' "$XLIB_LOADABLE_XCURSOR" >&6; }
   23472 
   23473 # Check whether --enable-thread-safety-constructor was given.
   23474 if test ${enable_thread_safety_constructor+y}
   23475 then :
   23476   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   23477 else case e in #(
   23478   e) USE_THREAD_SAFETY_CONSTRUCTOR="yes" ;;
   23479 esac
   23480 fi
   23481 
   23482 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   23483 
   23484 printf '%s\n' "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   23485 
   23486 fi
   23487 
   23488 # Checks for header files.
   23489 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   23490 if test "x$ac_cv_header_sys_filio_h" = xyes
   23491 then :
   23492   printf '%s\n' "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   23493 
   23494 fi
   23495 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   23496 if test "x$ac_cv_header_sys_select_h" = xyes
   23497 then :
   23498   printf '%s\n' "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   23499 
   23500 fi
   23501 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   23502 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   23503 then :
   23504   printf '%s\n' "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   23505 
   23506 fi
   23507 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   23508 if test "x$ac_cv_header_sys_socket_h" = xyes
   23509 then :
   23510   printf '%s\n' "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   23511 
   23512 fi
   23513 
   23514 
   23515 # Checks for typedefs, structures, and compiler characteristics.
   23516 
   23517 
   23518 
   23519     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   23520 printf %s "checking for __builtin_popcountl... " >&6; }
   23521 if test ${ax_cv_have___builtin_popcountl+y}
   23522 then :
   23523   printf %s "(cached) " >&6
   23524 else case e in #(
   23525   e)
   23526         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23527 /* end confdefs.h.  */
   23528 
   23529 int
   23530 main (void)
   23531 {
   23532 
   23533             __builtin_popcountl(0)
   23534 
   23535   ;
   23536   return 0;
   23537 }
   23538 _ACEOF
   23539 if ac_fn_c_try_link "$LINENO"
   23540 then :
   23541   ax_cv_have___builtin_popcountl=yes
   23542 else case e in #(
   23543   e) ax_cv_have___builtin_popcountl=no ;;
   23544 esac
   23545 fi
   23546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23547     conftest$ac_exeext conftest.$ac_ext
   23548      ;;
   23549 esac
   23550 fi
   23551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   23552 printf '%s\n' "$ax_cv_have___builtin_popcountl" >&6; }
   23553 
   23554     if test yes = $ax_cv_have___builtin_popcountl
   23555 then :
   23556 
   23557 printf '%s\n' "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   23558 
   23559 fi
   23560 
   23561 
   23562 
   23563 
   23564 # Checks for library functions.
   23565 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   23566 if test "x$ac_cv_func_strtol" = xyes
   23567 then :
   23568   printf '%s\n' "#define HAVE_STRTOL 1" >>confdefs.h
   23569 
   23570 fi
   23571 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   23572 if test "x$ac_cv_func_seteuid" = xyes
   23573 then :
   23574   printf '%s\n' "#define HAVE_SETEUID 1" >>confdefs.h
   23575 
   23576 fi
   23577 
   23578 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   23579 if test "x$ac_cv_func_reallocarray" = xyes
   23580 then :
   23581   printf '%s\n' "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   23582 
   23583 else case e in #(
   23584   e) case " $LIBOBJS " in
   23585   *" reallocarray.$ac_objext "* ) ;;
   23586   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   23587  ;;
   23588 esac
   23589  ;;
   23590 esac
   23591 fi
   23592 
   23593 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   23594 XLOCALEDIR_IS_SAFE="no"
   23595 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   23596 if test "x$ac_cv_have_decl_issetugid" = xyes
   23597 then :
   23598 
   23599 fi
   23600 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   23601 if test "x$ac_cv_func_issetugid" = xyes
   23602 then :
   23603 
   23604 fi
   23605 
   23606 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   23607     XLOCALEDIR_IS_SAFE="yes"
   23608 
   23609 printf '%s\n' "#define HASSETUGID 1" >>confdefs.h
   23610 
   23611 fi
   23612 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   23613 if test "x$ac_cv_func_getresuid" = xyes
   23614 then :
   23615   XLOCALEDIR_IS_SAFE="yes"
   23616 
   23617 printf '%s\n' "#define HASGETRESUID 1" >>confdefs.h
   23618 
   23619 fi
   23620 
   23621 # Used in Font.c
   23622 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   23623 if test "x$ac_cv_func_shmat" = xyes
   23624 then :
   23625 
   23626 printf '%s\n' "#define HAS_SHM 1" >>confdefs.h
   23627 
   23628 fi
   23629 
   23630 
   23631 # Checks for system services
   23632 # AC_PATH_XTRA
   23633 
   23634 # arch specific things
   23635 WCHAR32="1"
   23636 
   23637 
   23638 
   23639 # Check whether --with-launchd was given.
   23640 if test ${with_launchd+y}
   23641 then :
   23642   withval=$with_launchd; LAUNCHD=$withval
   23643 else case e in #(
   23644   e) LAUNCHD=auto ;;
   23645 esac
   23646 fi
   23647 
   23648 if test "x$LAUNCHD" = xauto; then
   23649 	unset LAUNCHD
   23650 	# Extract the first word of "launchd", so it can be a program name with args.
   23651 set dummy launchd; ac_word=$2
   23652 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23653 printf %s "checking for $ac_word... " >&6; }
   23654 if test ${ac_cv_prog_LAUNCHD+y}
   23655 then :
   23656   printf %s "(cached) " >&6
   23657 else case e in #(
   23658   e) if test -n "$LAUNCHD"; then
   23659   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   23660 else
   23661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23662 for as_dir in $PATH$PATH_SEPARATOR/sbin
   23663 do
   23664   IFS=$as_save_IFS
   23665   case $as_dir in #(((
   23666     '') as_dir=./ ;;
   23667     */) ;;
   23668     *) as_dir=$as_dir/ ;;
   23669   esac
   23670     for ac_exec_ext in '' $ac_executable_extensions; do
   23671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23672     ac_cv_prog_LAUNCHD="yes"
   23673     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23674     break 2
   23675   fi
   23676 done
   23677   done
   23678 IFS=$as_save_IFS
   23679 
   23680   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   23681 fi ;;
   23682 esac
   23683 fi
   23684 LAUNCHD=$ac_cv_prog_LAUNCHD
   23685 if test -n "$LAUNCHD"; then
   23686   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   23687 printf '%s\n' "$LAUNCHD" >&6; }
   23688 else
   23689   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23690 printf '%s\n' "no" >&6; }
   23691 fi
   23692 
   23693 
   23694 fi
   23695 
   23696 if test "x$LAUNCHD" = xyes ; then
   23697 
   23698 printf '%s\n' "#define HAVE_LAUNCHD 1" >>confdefs.h
   23699 
   23700 
   23701 printf '%s\n' "#define TRANS_REOPEN 1" >>confdefs.h
   23702 
   23703 fi
   23704 
   23705 # Check whether --enable-xthreads was given.
   23706 if test ${enable_xthreads+y}
   23707 then :
   23708   enableval=$enable_xthreads; xthreads=$enableval
   23709 else case e in #(
   23710   e) xthreads=yes ;;
   23711 esac
   23712 fi
   23713 
   23714 
   23715 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   23716 printf %s "checking for getpwuid_r in -lc... " >&6; }
   23717 if test ${ac_cv_lib_c_getpwuid_r+y}
   23718 then :
   23719   printf %s "(cached) " >&6
   23720 else case e in #(
   23721   e) ac_check_lib_save_LIBS=$LIBS
   23722 LIBS="-lc  $LIBS"
   23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23724 /* end confdefs.h.  */
   23725 
   23726 /* Override any GCC internal prototype to avoid an error.
   23727    Use char because int might match the return type of a GCC
   23728    builtin and then its argument prototype would still apply.
   23729    The 'extern "C"' is for builds by C++ compilers;
   23730    although this is not generally supported in C code supporting it here
   23731    has little cost and some practical benefit (sr 110532).  */
   23732 #ifdef __cplusplus
   23733 extern "C"
   23734 #endif
   23735 char getpwuid_r (void);
   23736 int
   23737 main (void)
   23738 {
   23739 return getpwuid_r ();
   23740   ;
   23741   return 0;
   23742 }
   23743 _ACEOF
   23744 if ac_fn_c_try_link "$LINENO"
   23745 then :
   23746   ac_cv_lib_c_getpwuid_r=yes
   23747 else case e in #(
   23748   e) ac_cv_lib_c_getpwuid_r=no ;;
   23749 esac
   23750 fi
   23751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23752     conftest$ac_exeext conftest.$ac_ext
   23753 LIBS=$ac_check_lib_save_LIBS ;;
   23754 esac
   23755 fi
   23756 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   23757 printf '%s\n' "$ac_cv_lib_c_getpwuid_r" >&6; }
   23758 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   23759 then :
   23760   mtsafeapi="yes"
   23761 else case e in #(
   23762   e) mtsafeapi="no" ;;
   23763 esac
   23764 fi
   23765 
   23766 
   23767 case x$xthreads in
   23768 xyes)
   23769 
   23770 printf '%s\n' "#define XTHREADS 1" >>confdefs.h
   23771 
   23772 	if test x$mtsafeapi = xyes
   23773 	then
   23774 
   23775 printf '%s\n' "#define XUSE_MTSAFE_API 1" >>confdefs.h
   23776 
   23777 	fi
   23778 	;;
   23779 *)
   23780 	;;
   23781 esac
   23782 
   23783 # XXX incomplete, please fill this in
   23784 if test x$xthreads = xyes ; then
   23785     case $host_os in
   23786     linux*|gnu*|k*bsd*-gnu)
   23787         XTHREADLIB=-lpthread ;;
   23788     netbsd*)
   23789 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   23790 	XTHREADLIB="-lpthread" ;;
   23791     freebsd*)
   23792         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   23793         XTHREADLIB="-pthread" ;;
   23794     dragonfly*|openbsd*)
   23795         XTHREADLIB="-pthread" ;;
   23796     solaris*)
   23797 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   23798     esac
   23799 fi
   23800 
   23801 
   23802 
   23803 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   23804     USE_THREAD_LIBS="$XTHREADLIB"
   23805 else
   23806     # This should be kept in sync with libxcb
   23807     case $host_os in
   23808     linux*|darwin*|solaris*|dragonfly*|freebsd*|netbsd*) ;;
   23809          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   23810     esac
   23811 fi
   23812 
   23813 
   23814 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   23815 if test "x$ac_cv_func_poll" = xyes
   23816 then :
   23817 
   23818 printf '%s\n' "#define USE_POLL 1" >>confdefs.h
   23819 
   23820 fi
   23821 
   23822 
   23823 #
   23824 # Find keysymdef.h
   23825 #
   23826 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   23827 printf %s "checking keysym definitions... " >&6; }
   23828 
   23829 # Check whether --with-keysymdefdir was given.
   23830 if test ${with_keysymdefdir+y}
   23831 then :
   23832   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   23833 else case e in #(
   23834   e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
   23835 esac
   23836 fi
   23837 
   23838 
   23839 if test ! -d "$KEYSYMDEFDIR"; then
   23840 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   23841 fi
   23842 
   23843 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   23844 for i in $FILES; do
   23845     if test -f "$KEYSYMDEFDIR/$i"; then
   23846             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   23847     elif test "x$i" = "xkeysymdef.h"; then
   23848 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   23849     fi
   23850 done
   23851 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   23852 printf '%s\n' "$KEYSYMDEFS" >&6; }
   23853 
   23854 
   23855 # Check whether --enable-xcms was given.
   23856 if test ${enable_xcms+y}
   23857 then :
   23858   enableval=$enable_xcms; XCMS=$enableval
   23859 else case e in #(
   23860   e) XCMS=yes ;;
   23861 esac
   23862 fi
   23863 
   23864  if test x$XCMS = xyes ; then
   23865   XCMS_TRUE=
   23866   XCMS_FALSE='#'
   23867 else
   23868   XCMS_TRUE='#'
   23869   XCMS_FALSE=
   23870 fi
   23871 
   23872 if test x"$XCMS" = "xyes"; then
   23873 
   23874 printf '%s\n' "#define XCMS 1" >>confdefs.h
   23875 
   23876 fi
   23877 
   23878 # Check whether --enable-xlocale was given.
   23879 if test ${enable_xlocale+y}
   23880 then :
   23881   enableval=$enable_xlocale; XLOCALE=$enableval
   23882 else case e in #(
   23883   e) XLOCALE=yes ;;
   23884 esac
   23885 fi
   23886 
   23887 
   23888  if  test x$XLOCALE = xyes ; then
   23889   XLOCALE_TRUE=
   23890   XLOCALE_FALSE='#'
   23891 else
   23892   XLOCALE_TRUE='#'
   23893   XLOCALE_FALSE=
   23894 fi
   23895 
   23896 if test x"$XLOCALE" = "xyes"; then
   23897 
   23898 printf '%s\n' "#define XLOCALE 1" >>confdefs.h
   23899 
   23900 fi
   23901 
   23902 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   23903 # don't have either issetugid() or getresuid(), and you need to protect
   23904 # clients that are setgid or setuid to an id other than 0.
   23905 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   23906 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   23907 # Check whether --enable-xlocaledir was given.
   23908 if test ${enable_xlocaledir+y}
   23909 then :
   23910   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   23911 else case e in #(
   23912   e) ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE ;;
   23913 esac
   23914 fi
   23915 
   23916 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   23917 
   23918 printf '%s\n' "#define NO_XLOCALEDIR 1" >>confdefs.h
   23919 
   23920 fi
   23921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   23922 printf '%s\n' "$ENABLE_XLOCALEDIR" >&6; }
   23923 
   23924 # Check whether --enable-xf86bigfont was given.
   23925 if test ${enable_xf86bigfont+y}
   23926 then :
   23927   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   23928 else case e in #(
   23929   e) XF86BIGFONT="yes" ;;
   23930 esac
   23931 fi
   23932 
   23933 if test "x$XF86BIGFONT" = "xyes"; then
   23934 
   23935 pkg_failed=no
   23936 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   23937 printf %s "checking for BIGFONT... " >&6; }
   23938 
   23939 if test -n "$BIGFONT_CFLAGS"; then
   23940     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   23941  elif test -n "$PKG_CONFIG"; then
   23942     if test -n "$PKG_CONFIG" && \
   23943     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23944   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23945   ac_status=$?
   23946   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23947   test $ac_status = 0; }; then
   23948   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23949 		      test "x$?" != "x0" && pkg_failed=yes
   23950 else
   23951   pkg_failed=yes
   23952 fi
   23953  else
   23954     pkg_failed=untried
   23955 fi
   23956 if test -n "$BIGFONT_LIBS"; then
   23957     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   23958  elif test -n "$PKG_CONFIG"; then
   23959     if test -n "$PKG_CONFIG" && \
   23960     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23961   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23962   ac_status=$?
   23963   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23964   test $ac_status = 0; }; then
   23965   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23966 		      test "x$?" != "x0" && pkg_failed=yes
   23967 else
   23968   pkg_failed=yes
   23969 fi
   23970  else
   23971     pkg_failed=untried
   23972 fi
   23973 
   23974 
   23975 
   23976 if test $pkg_failed = yes; then
   23977    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23978 printf '%s\n' "no" >&6; }
   23979 
   23980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23981         _pkg_short_errors_supported=yes
   23982 else
   23983         _pkg_short_errors_supported=no
   23984 fi
   23985         if test $_pkg_short_errors_supported = yes; then
   23986 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23987         else
   23988 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23989         fi
   23990 	# Put the nasty error message in config.log where it belongs
   23991 	echo "$BIGFONT_PKG_ERRORS" >&5
   23992 
   23993 	XF86BIGFONT="no"
   23994 elif test $pkg_failed = untried; then
   23995      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23996 printf '%s\n' "no" >&6; }
   23997 	XF86BIGFONT="no"
   23998 else
   23999 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   24000 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   24001         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24002 printf '%s\n' "yes" >&6; }
   24003 
   24004 printf '%s\n' "#define XF86BIGFONT 1" >>confdefs.h
   24005 
   24006 fi
   24007 fi
   24008 
   24009 # Check whether --enable-xkb was given.
   24010 if test ${enable_xkb+y}
   24011 then :
   24012   enableval=$enable_xkb; XKB=$enableval
   24013 else case e in #(
   24014   e) XKB=yes ;;
   24015 esac
   24016 fi
   24017 
   24018 
   24019  if  test x$XKB = xyes ; then
   24020   XKB_TRUE=
   24021   XKB_FALSE='#'
   24022 else
   24023   XKB_TRUE='#'
   24024   XKB_FALSE=
   24025 fi
   24026 
   24027 if test x"$XKB" = "xyes"; then
   24028    XKBPROTO_REQUIRES="kbproto"
   24029    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   24030 
   24031 printf '%s\n' "#define XKB 1" >>confdefs.h
   24032 
   24033 else
   24034    XKBPROTO_REQUIRES=""
   24035 fi
   24036 
   24037 
   24038 
   24039 ac_func=
   24040 for ac_item in $ac_func_c_list
   24041 do
   24042   if test $ac_func; then
   24043     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   24044     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   24045       echo "#define $ac_item 1" >> confdefs.h
   24046     fi
   24047     ac_func=
   24048   else
   24049     ac_func=$ac_item
   24050   fi
   24051 done
   24052 
   24053 
   24054 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   24055 printf %s "checking for working mmap... " >&6; }
   24056 if test ${ac_cv_func_mmap_fixed_mapped+y}
   24057 then :
   24058   printf %s "(cached) " >&6
   24059 else case e in #(
   24060   e) if test "$cross_compiling" = yes
   24061 then :
   24062   case "$host_os" in # ((
   24063 			  # Guess yes on platforms where we know the result.
   24064 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   24065 			  # If we don't know, assume the worst.
   24066 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   24067 		esac
   24068 else case e in #(
   24069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24070 /* end confdefs.h.  */
   24071 $ac_includes_default
   24072 /* malloc might have been renamed as rpl_malloc. */
   24073 #undef malloc
   24074 
   24075 /* Thanks to Mike Haertel and Jim Avera for this test.
   24076    Here is a matrix of mmap possibilities:
   24077 	mmap private not fixed
   24078 	mmap private fixed at somewhere currently unmapped
   24079 	mmap private fixed at somewhere already mapped
   24080 	mmap shared not fixed
   24081 	mmap shared fixed at somewhere currently unmapped
   24082 	mmap shared fixed at somewhere already mapped
   24083    For private mappings, we should verify that changes cannot be read()
   24084    back from the file, nor mmap's back from the file at a different
   24085    address.  (There have been systems where private was not correctly
   24086    implemented like the infamous i386 svr4.0, and systems where the
   24087    VM page cache was not coherent with the file system buffer cache
   24088    like early versions of FreeBSD and possibly contemporary NetBSD.)
   24089    For shared mappings, we should conversely verify that changes get
   24090    propagated back to all the places they're supposed to be.  */
   24091 
   24092 #include <fcntl.h>
   24093 #include <sys/mman.h>
   24094 
   24095 #ifndef getpagesize
   24096 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   24097    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   24098 # ifdef _SC_PAGESIZE
   24099 #  define getpagesize() sysconf (_SC_PAGESIZE)
   24100 # elif defined _SC_PAGE_SIZE
   24101 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   24102 # elif HAVE_GETPAGESIZE
   24103 int getpagesize ();
   24104 # else
   24105 #  ifdef HAVE_SYS_PARAM_H
   24106 #   include <sys/param.h>
   24107 #   ifdef EXEC_PAGESIZE
   24108 #    define getpagesize() EXEC_PAGESIZE
   24109 #   else /* no EXEC_PAGESIZE */
   24110 #    ifdef NBPG
   24111 #     define getpagesize() NBPG * CLSIZE
   24112 #     ifndef CLSIZE
   24113 #      define CLSIZE 1
   24114 #     endif /* no CLSIZE */
   24115 #    else /* no NBPG */
   24116 #     ifdef NBPC
   24117 #      define getpagesize() NBPC
   24118 #     else /* no NBPC */
   24119 #      ifdef PAGESIZE
   24120 #       define getpagesize() PAGESIZE
   24121 #      endif /* PAGESIZE */
   24122 #     endif /* no NBPC */
   24123 #    endif /* no NBPG */
   24124 #   endif /* no EXEC_PAGESIZE */
   24125 #  else /* no HAVE_SYS_PARAM_H */
   24126 #   define getpagesize() 8192	/* punt totally */
   24127 #  endif /* no HAVE_SYS_PARAM_H */
   24128 # endif
   24129 #endif
   24130 
   24131 int
   24132 main (void)
   24133 {
   24134   char *data, *data2, *data3;
   24135   const char *cdata2;
   24136   long i, pagesize;
   24137   int fd, fd2;
   24138 
   24139   pagesize = getpagesize ();
   24140 
   24141   /* First, make a file with some known garbage in it. */
   24142   data = (char *) malloc (pagesize);
   24143   if (!data)
   24144     return 1;
   24145   for (i = 0; i < pagesize; ++i)
   24146     *(data + i) = rand ();
   24147   umask (0);
   24148   fd = creat ("conftest.mmap", 0600);
   24149   if (fd < 0)
   24150     return 2;
   24151   if (write (fd, data, pagesize) != pagesize)
   24152     return 3;
   24153   close (fd);
   24154 
   24155   /* Next, check that the tail of a page is zero-filled.  File must have
   24156      non-zero length, otherwise we risk SIGBUS for entire page.  */
   24157   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   24158   if (fd2 < 0)
   24159     return 4;
   24160   cdata2 = "";
   24161   if (write (fd2, cdata2, 1) != 1)
   24162     return 5;
   24163   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   24164   if (data2 == MAP_FAILED)
   24165     return 6;
   24166   for (i = 0; i < pagesize; ++i)
   24167     if (*(data2 + i))
   24168       return 7;
   24169   close (fd2);
   24170   /* 'return 8;' not currently used.  */
   24171 
   24172   /* Next, try to mmap the file at a fixed address which already has
   24173      something else allocated at it.  If we can, also make sure that
   24174      we see the same garbage.  */
   24175   fd = open ("conftest.mmap", O_RDWR);
   24176   if (fd < 0)
   24177     return 9;
   24178   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   24179 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   24180     return 10;
   24181   for (i = 0; i < pagesize; ++i)
   24182     if (*(data + i) != *(data2 + i))
   24183       return 11;
   24184 
   24185   /* Finally, make sure that changes to the mapped area do not
   24186      percolate back to the file as seen by read().  (This is a bug on
   24187      some variants of i386 svr4.0.)  */
   24188   for (i = 0; i < pagesize; ++i)
   24189     *(data2 + i) = *(data2 + i) + 1;
   24190   data3 = (char *) malloc (pagesize);
   24191   if (!data3)
   24192     return 12;
   24193   if (read (fd, data3, pagesize) != pagesize)
   24194     return 13;
   24195   for (i = 0; i < pagesize; ++i)
   24196     if (*(data + i) != *(data3 + i))
   24197       return 14;
   24198   close (fd);
   24199   free (data);
   24200   free (data3);
   24201   return 0;
   24202 }
   24203 _ACEOF
   24204 if ac_fn_c_try_run "$LINENO"
   24205 then :
   24206   ac_cv_func_mmap_fixed_mapped=yes
   24207 else case e in #(
   24208   e) ac_cv_func_mmap_fixed_mapped=no ;;
   24209 esac
   24210 fi
   24211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   24212   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   24213 esac
   24214 fi
   24215  ;;
   24216 esac
   24217 fi
   24218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   24219 printf '%s\n' "$ac_cv_func_mmap_fixed_mapped" >&6; }
   24220 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   24221 
   24222 printf '%s\n' "#define HAVE_MMAP 1" >>confdefs.h
   24223 
   24224 fi
   24225 rm -f conftest.mmap conftest.txt
   24226 
   24227 composecache_default=$ac_cv_func_mmap_fixed_mapped
   24228 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   24229 if test "x$ac_cv_func_nl_langinfo" = xyes
   24230 then :
   24231 
   24232 else case e in #(
   24233   e) composecache_default=no ;;
   24234 esac
   24235 fi
   24236 
   24237 # Check whether --enable-composecache was given.
   24238 if test ${enable_composecache+y}
   24239 then :
   24240   enableval=$enable_composecache; COMPOSECACHE=$enableval
   24241 else case e in #(
   24242   e) COMPOSECACHE=$composecache_default ;;
   24243 esac
   24244 fi
   24245 
   24246 if test x"$COMPOSECACHE" = "xyes"; then
   24247 
   24248 printf '%s\n' "#define COMPOSECACHE 1" >>confdefs.h
   24249 
   24250 fi
   24251 
   24252 # Allow checking code with lint, sparse, etc.
   24253 
   24254 
   24255 
   24256 
   24257 
   24258 # Check whether --with-lint was given.
   24259 if test ${with_lint+y}
   24260 then :
   24261   withval=$with_lint; use_lint=$withval
   24262 else case e in #(
   24263   e) use_lint=no ;;
   24264 esac
   24265 fi
   24266 
   24267 
   24268 # Obtain platform specific info like program name and options
   24269 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   24270 case $host_os in
   24271   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   24272 	lint_name=splint
   24273 	lint_options="-badflag"
   24274 	;;
   24275   *freebsd* | *netbsd*)
   24276 	lint_name=lint
   24277 	lint_options="-u -b"
   24278 	;;
   24279   *solaris*)
   24280 	lint_name=lint
   24281 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   24282 	;;
   24283 esac
   24284 
   24285 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   24286 if test "x$use_lint" = x"yes" ; then
   24287    # Extract the first word of "$lint_name", so it can be a program name with args.
   24288 set dummy $lint_name; ac_word=$2
   24289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   24290 printf %s "checking for $ac_word... " >&6; }
   24291 if test ${ac_cv_path_LINT+y}
   24292 then :
   24293   printf %s "(cached) " >&6
   24294 else case e in #(
   24295   e) case $LINT in
   24296   [\\/]* | ?:[\\/]*)
   24297   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   24298   ;;
   24299   *)
   24300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24301 for as_dir in $PATH
   24302 do
   24303   IFS=$as_save_IFS
   24304   case $as_dir in #(((
   24305     '') as_dir=./ ;;
   24306     */) ;;
   24307     *) as_dir=$as_dir/ ;;
   24308   esac
   24309     for ac_exec_ext in '' $ac_executable_extensions; do
   24310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   24311     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   24312     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   24313     break 2
   24314   fi
   24315 done
   24316   done
   24317 IFS=$as_save_IFS
   24318 
   24319   ;;
   24320 esac ;;
   24321 esac
   24322 fi
   24323 LINT=$ac_cv_path_LINT
   24324 if test -n "$LINT"; then
   24325   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   24326 printf '%s\n' "$LINT" >&6; }
   24327 else
   24328   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24329 printf '%s\n' "no" >&6; }
   24330 fi
   24331 
   24332 
   24333    if test "x$LINT" = "x"; then
   24334         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   24335    fi
   24336 elif test "x$use_lint" = x"no" ; then
   24337    if test "x$LINT" != "x"; then
   24338       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   24339 printf '%s\n' "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   24340    fi
   24341 else
   24342    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   24343 fi
   24344 
   24345 # User supplied flags override default flags
   24346 if test "x$LINT_FLAGS" != "x"; then
   24347    lint_options=$LINT_FLAGS
   24348 fi
   24349 
   24350 LINT_FLAGS=$lint_options
   24351 
   24352  if test "x$LINT" != x; then
   24353   LINT_TRUE=
   24354   LINT_FALSE='#'
   24355 else
   24356   LINT_TRUE='#'
   24357   LINT_FALSE=
   24358 fi
   24359 
   24360 
   24361 
   24362 
   24363 
   24364 # Check whether --enable-lint-library was given.
   24365 if test ${enable_lint_library+y}
   24366 then :
   24367   enableval=$enable_lint_library; make_lint_lib=$enableval
   24368 else case e in #(
   24369   e) make_lint_lib=no ;;
   24370 esac
   24371 fi
   24372 
   24373 
   24374 if test "x$make_lint_lib" = x"yes" ; then
   24375    LINTLIB=llib-lX11.ln
   24376    if test "x$LINT" = "x"; then
   24377         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   24378    fi
   24379 elif test "x$make_lint_lib" != x"no" ; then
   24380    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   24381 fi
   24382 
   24383 
   24384  if test x$make_lint_lib != xno; then
   24385   MAKE_LINT_LIB_TRUE=
   24386   MAKE_LINT_LIB_FALSE='#'
   24387 else
   24388   MAKE_LINT_LIB_TRUE='#'
   24389   MAKE_LINT_LIB_FALSE=
   24390 fi
   24391 
   24392 
   24393 
   24394 
   24395 X11_DATADIR="${datadir}/X11"
   24396 
   24397   prefix_NONE=
   24398   exec_prefix_NONE=
   24399   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24400   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24401   eval ax_define_dir="\"$X11_DATADIR\""
   24402   eval ax_define_dir="\"$ax_define_dir\""
   24403   X11_DATADIR="$ax_define_dir"
   24404 
   24405 
   24406 printf '%s\n' "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   24407 
   24408   test "$prefix_NONE" && prefix=NONE
   24409   test "$exec_prefix_NONE" && exec_prefix=NONE
   24410 
   24411 
   24412 
   24413 X11_LIBDIR="${libdir}/X11"
   24414 
   24415   prefix_NONE=
   24416   exec_prefix_NONE=
   24417   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24418   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24419   eval ax_define_dir="\"$X11_LIBDIR\""
   24420   eval ax_define_dir="\"$ax_define_dir\""
   24421   X11_LIBDIR="$ax_define_dir"
   24422 
   24423 
   24424 printf '%s\n' "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   24425 
   24426   test "$prefix_NONE" && prefix=NONE
   24427   test "$exec_prefix_NONE" && exec_prefix=NONE
   24428 
   24429 
   24430 
   24431 
   24432 pkg_failed=no
   24433 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   24434 printf %s "checking for X11... " >&6; }
   24435 
   24436 if test -n "$X11_CFLAGS"; then
   24437     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   24438  elif test -n "$PKG_CONFIG"; then
   24439     if test -n "$PKG_CONFIG" && \
   24440     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   24441   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   24442   ac_status=$?
   24443   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24444   test $ac_status = 0; }; then
   24445   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   24446 		      test "x$?" != "x0" && pkg_failed=yes
   24447 else
   24448   pkg_failed=yes
   24449 fi
   24450  else
   24451     pkg_failed=untried
   24452 fi
   24453 if test -n "$X11_LIBS"; then
   24454     pkg_cv_X11_LIBS="$X11_LIBS"
   24455  elif test -n "$PKG_CONFIG"; then
   24456     if test -n "$PKG_CONFIG" && \
   24457     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   24458   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   24459   ac_status=$?
   24460   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24461   test $ac_status = 0; }; then
   24462   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   24463 		      test "x$?" != "x0" && pkg_failed=yes
   24464 else
   24465   pkg_failed=yes
   24466 fi
   24467  else
   24468     pkg_failed=untried
   24469 fi
   24470 
   24471 
   24472 
   24473 if test $pkg_failed = yes; then
   24474    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24475 printf '%s\n' "no" >&6; }
   24476 
   24477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24478         _pkg_short_errors_supported=yes
   24479 else
   24480         _pkg_short_errors_supported=no
   24481 fi
   24482         if test $_pkg_short_errors_supported = yes; then
   24483 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   24484         else
   24485 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   24486         fi
   24487 	# Put the nasty error message in config.log where it belongs
   24488 	echo "$X11_PKG_ERRORS" >&5
   24489 
   24490 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   24491 
   24492 $X11_PKG_ERRORS
   24493 
   24494 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24495 installed software in a non-standard prefix.
   24496 
   24497 Alternatively, you may set the environment variables X11_CFLAGS
   24498 and X11_LIBS to avoid the need to call pkg-config.
   24499 See the pkg-config man page for more details." "$LINENO" 5
   24500 elif test $pkg_failed = untried; then
   24501      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24502 printf '%s\n' "no" >&6; }
   24503 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24504 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   24505 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24506 is in your PATH or set the PKG_CONFIG environment variable to the full
   24507 path to pkg-config.
   24508 
   24509 Alternatively, you may set the environment variables X11_CFLAGS
   24510 and X11_LIBS to avoid the need to call pkg-config.
   24511 See the pkg-config man page for more details.
   24512 
   24513 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24514 See 'config.log' for more details" "$LINENO" 5; }
   24515 else
   24516 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   24517 	X11_LIBS=$pkg_cv_X11_LIBS
   24518         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24519 printf '%s\n' "yes" >&6; }
   24520 
   24521 fi
   24522 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   24523 
   24524 #
   24525 # Yes, it would be nice to put the locale data in
   24526 # /usr/share, but the locale stuff includes loadable
   24527 # libraries which must be located in the same directory
   24528 # as the other locale data, so for now, everything lives
   24529 # in ${libdir}
   24530 #
   24531 
   24532 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   24533 
   24534   prefix_NONE=
   24535   exec_prefix_NONE=
   24536   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24537   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24538   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   24539   eval ax_define_dir="\"$ax_define_dir\""
   24540   XLOCALEDATADIR="$ax_define_dir"
   24541 
   24542 
   24543 printf '%s\n' "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   24544 
   24545   test "$prefix_NONE" && prefix=NONE
   24546   test "$exec_prefix_NONE" && exec_prefix=NONE
   24547 
   24548 
   24549 
   24550 
   24551 # Check whether --with-locale-lib-dir was given.
   24552 if test ${with_locale_lib_dir+y}
   24553 then :
   24554   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   24555 else case e in #(
   24556   e)  X11_LOCALELIBDIR="${X11_LIBDIR}/locale"  ;;
   24557 esac
   24558 fi
   24559 
   24560 
   24561   prefix_NONE=
   24562   exec_prefix_NONE=
   24563   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24564   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24565   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   24566   eval ax_define_dir="\"$ax_define_dir\""
   24567   XLOCALELIBDIR="$ax_define_dir"
   24568 
   24569 
   24570 printf '%s\n' "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   24571 
   24572   test "$prefix_NONE" && prefix=NONE
   24573   test "$exec_prefix_NONE" && exec_prefix=NONE
   24574 
   24575 
   24576 
   24577 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   24578 
   24579   prefix_NONE=
   24580   exec_prefix_NONE=
   24581   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24582   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24583   eval ax_define_dir="\"$X11_LOCALEDIR\""
   24584   eval ax_define_dir="\"$ax_define_dir\""
   24585   XLOCALEDIR="$ax_define_dir"
   24586 
   24587 
   24588 printf '%s\n' "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   24589 
   24590   test "$prefix_NONE" && prefix=NONE
   24591   test "$exec_prefix_NONE" && exec_prefix=NONE
   24592 
   24593 
   24594 
   24595 locales="\
   24596  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   24597  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   24598  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   24599  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   24600  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   24601  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   24602  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   24603  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   24604  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   24605  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   24606  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   24607  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   24608 
   24609 
   24610 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   24611 
   24612   prefix_NONE=
   24613   exec_prefix_NONE=
   24614   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24615   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24616   eval ax_define_dir="\"$XKEYSYMDB\""
   24617   eval ax_define_dir="\"$ax_define_dir\""
   24618   XKEYSYMDB="$ax_define_dir"
   24619 
   24620 
   24621 printf '%s\n' "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   24622 
   24623   test "$prefix_NONE" && prefix=NONE
   24624   test "$exec_prefix_NONE" && exec_prefix=NONE
   24625 
   24626 
   24627 XERRORDB="${X11_DATADIR}/XErrorDB"
   24628 
   24629   prefix_NONE=
   24630   exec_prefix_NONE=
   24631   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24632   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24633   eval ax_define_dir="\"$XERRORDB\""
   24634   eval ax_define_dir="\"$ax_define_dir\""
   24635   XERRORDB="$ax_define_dir"
   24636 
   24637 
   24638 printf '%s\n' "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   24639 
   24640   test "$prefix_NONE" && prefix=NONE
   24641   test "$exec_prefix_NONE" && exec_prefix=NONE
   24642 
   24643 
   24644 
   24645 # Check whether --enable-malloc0returnsnull was given.
   24646 if test ${enable_malloc0returnsnull+y}
   24647 then :
   24648   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   24649 else case e in #(
   24650   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   24651 esac
   24652 fi
   24653 
   24654 
   24655 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   24656 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   24657 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   24658 printf '%s\n' "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   24659 
   24660 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   24661 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   24662 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   24663 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   24664 else
   24665 	MALLOC_ZERO_CFLAGS=""
   24666 	XMALLOC_ZERO_CFLAGS=""
   24667 	XTMALLOC_ZERO_CFLAGS=""
   24668 fi
   24669 
   24670 
   24671 
   24672 
   24673 
   24674 
   24675 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"
   24676 
   24677 cat >confcache <<\_ACEOF
   24678 # This file is a shell script that caches the results of configure
   24679 # tests run on this system so they can be shared between configure
   24680 # scripts and configure runs, see configure's option --config-cache.
   24681 # It is not useful on other systems.  If it contains results you don't
   24682 # want to keep, you may remove or edit it.
   24683 #
   24684 # config.status only pays attention to the cache file if you give it
   24685 # the --recheck option to rerun configure.
   24686 #
   24687 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   24688 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   24689 # following values.
   24690 
   24691 _ACEOF
   24692 
   24693 ac_cache_dump |
   24694   sed '
   24695      /^ac_cv_env_/b end
   24696      t clear
   24697      :clear
   24698      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   24699      t end
   24700      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24701      :end' >>confcache
   24702 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24703   if test -w "$cache_file"; then
   24704     if test "x$cache_file" != "x/dev/null"; then
   24705       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   24706 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   24707       if test ! -f "$cache_file" || test -h "$cache_file"; then
   24708 	cat confcache >"$cache_file"
   24709       else
   24710         case $cache_file in #(
   24711         */* | ?:*)
   24712 	  mv -f confcache "$cache_file"$$ &&
   24713 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   24714         *)
   24715 	  mv -f confcache "$cache_file" ;;
   24716 	esac
   24717       fi
   24718     fi
   24719   else
   24720     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   24721 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   24722   fi
   24723 fi
   24724 rm -f confcache
   24725 
   24726 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24727 # Let make expand exec_prefix.
   24728 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24729 
   24730 DEFS=-DHAVE_CONFIG_H
   24731 
   24732 ac_libobjs=
   24733 ac_ltlibobjs=
   24734 U=
   24735 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24736   # 1. Remove the extension, and $U if already installed.
   24737   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24738   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   24739   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24740   #    will be set to the directory where LIBOBJS objects are built.
   24741   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24742   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   24743 done
   24744 LIBOBJS=$ac_libobjs
   24745 
   24746 LTLIBOBJS=$ac_ltlibobjs
   24747 
   24748 
   24749 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   24750 printf %s "checking that generated files are newer than configure... " >&6; }
   24751    if test -n "$am_sleep_pid"; then
   24752      # Hide warnings about reused PIDs.
   24753      wait $am_sleep_pid 2>/dev/null
   24754    fi
   24755    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   24756 printf '%s\n' "done" >&6; }
   24757 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24758   as_fn_error $? "conditional \"AMDEP\" was never defined.
   24759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24760 fi
   24761 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24762   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   24763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24764 fi
   24765 case $enable_silent_rules in # (((
   24766   yes) AM_DEFAULT_VERBOSITY=0;;
   24767    no) AM_DEFAULT_VERBOSITY=1;;
   24768 esac
   24769 if test $am_cv_make_support_nested_variables = yes; then
   24770     AM_V='$(V)'
   24771   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   24772 else
   24773   AM_V=$AM_DEFAULT_VERBOSITY
   24774   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   24775 fi
   24776 
   24777  if test -n "$EXEEXT"; then
   24778   am__EXEEXT_TRUE=
   24779   am__EXEEXT_FALSE='#'
   24780 else
   24781   am__EXEEXT_TRUE='#'
   24782   am__EXEEXT_FALSE=
   24783 fi
   24784 
   24785 # Check whether --enable-year2038 was given.
   24786 if test ${enable_year2038+y}
   24787 then :
   24788   enableval=$enable_year2038;
   24789 fi
   24790 
   24791 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   24792   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   24793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24794 fi
   24795 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   24796   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   24797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24798 fi
   24799 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   24800   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   24801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24802 fi
   24803 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   24804   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   24805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24806 fi
   24807 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   24808   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   24809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24810 fi
   24811 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   24812   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   24813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24814 fi
   24815 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   24816   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   24817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24818 fi
   24819 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   24820   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   24821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24822 fi
   24823 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   24824   as_fn_error $? "conditional \"XCMS\" was never defined.
   24825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24826 fi
   24827 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   24828   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   24829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24830 fi
   24831 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   24832   as_fn_error $? "conditional \"XKB\" was never defined.
   24833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24834 fi
   24835 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   24836   as_fn_error $? "conditional \"LINT\" was never defined.
   24837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24838 fi
   24839 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   24840   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   24841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24842 fi
   24843 
   24844 : "${CONFIG_STATUS=./config.status}"
   24845 case $CONFIG_STATUS in #(
   24846   -*) :
   24847     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   24848   */*) :
   24849      ;; #(
   24850   *) :
   24851     CONFIG_STATUS=./$CONFIG_STATUS ;;
   24852 esac
   24853 
   24854 ac_write_fail=0
   24855 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   24856 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   24857 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   24858 as_write_fail=0
   24859 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   24860 #! $SHELL
   24861 # Generated by $as_me.
   24862 # Run this file to recreate the current configuration.
   24863 # Compiler output produced by configure, useful for debugging
   24864 # configure, is in config.log if it exists.
   24865 
   24866 debug=false
   24867 ac_cs_recheck=false
   24868 ac_cs_silent=false
   24869 
   24870 SHELL=\${CONFIG_SHELL-$SHELL}
   24871 export SHELL
   24872 _ASEOF
   24873 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   24874 ## -------------------- ##
   24875 ## M4sh Initialization. ##
   24876 ## -------------------- ##
   24877 
   24878 # Be more Bourne compatible
   24879 DUALCASE=1; export DUALCASE # for MKS sh
   24880 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   24881 then :
   24882   emulate sh
   24883   NULLCMD=:
   24884   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24885   # contradicts POSIX and common usage.  Disable this.
   24886   alias -g '${1+"$@"}'='"$@"'
   24887   setopt NO_GLOB_SUBST
   24888 else case e in #(
   24889   e) case `(set -o) 2>/dev/null` in #(
   24890   *posix*) :
   24891     set -o posix ;; #(
   24892   *) :
   24893      ;;
   24894 esac ;;
   24895 esac
   24896 fi
   24897 
   24898 
   24899 
   24900 # Reset variables that may have inherited troublesome values from
   24901 # the environment.
   24902 
   24903 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   24904 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   24905 # side effect of setting IFS to empty, thus disabling word splitting.)
   24906 # Quoting is to prevent editors from complaining about space-tab.
   24907 as_nl='
   24908 '
   24909 export as_nl
   24910 IFS=" ""	$as_nl"
   24911 
   24912 PS1='$ '
   24913 PS2='> '
   24914 PS4='+ '
   24915 
   24916 # Ensure predictable behavior from utilities with locale-dependent output.
   24917 LC_ALL=C
   24918 export LC_ALL
   24919 LANGUAGE=C
   24920 export LANGUAGE
   24921 
   24922 # We cannot yet rely on "unset" to work, but we need these variables
   24923 # to be unset--not just set to an empty or harmless value--now, to
   24924 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   24925 # also avoids known problems related to "unset" and subshell syntax
   24926 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   24927 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   24928 do eval test \${$as_var+y} \
   24929   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   24930 done
   24931 
   24932 # Ensure that fds 0, 1, and 2 are open.
   24933 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   24934 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   24935 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   24936 
   24937 # The user is always right.
   24938 if ${PATH_SEPARATOR+false} :; then
   24939   PATH_SEPARATOR=:
   24940   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24941     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24942       PATH_SEPARATOR=';'
   24943   }
   24944 fi
   24945 
   24946 
   24947 # Find who we are.  Look in the path if we contain no directory separator.
   24948 as_myself=
   24949 case $0 in #((
   24950   *[\\/]* ) as_myself=$0 ;;
   24951   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24952 for as_dir in $PATH
   24953 do
   24954   IFS=$as_save_IFS
   24955   case $as_dir in #(((
   24956     '') as_dir=./ ;;
   24957     */) ;;
   24958     *) as_dir=$as_dir/ ;;
   24959   esac
   24960     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   24961   done
   24962 IFS=$as_save_IFS
   24963 
   24964      ;;
   24965 esac
   24966 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   24967 # in which case we are not to be found in the path.
   24968 if test "x$as_myself" = x; then
   24969   as_myself=$0
   24970 fi
   24971 if test ! -f "$as_myself"; then
   24972   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24973   exit 1
   24974 fi
   24975 
   24976 
   24977 
   24978 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24979 # ----------------------------------------
   24980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24982 # script with STATUS, using 1 if that was 0.
   24983 as_fn_error ()
   24984 {
   24985   as_status=$1; test $as_status -eq 0 && as_status=1
   24986   if test "$4"; then
   24987     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24988     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24989   fi
   24990   printf '%s\n' "$as_me: error: $2" >&2
   24991   as_fn_exit $as_status
   24992 } # as_fn_error
   24993 
   24994 
   24995 # as_fn_set_status STATUS
   24996 # -----------------------
   24997 # Set $? to STATUS, without forking.
   24998 as_fn_set_status ()
   24999 {
   25000   return $1
   25001 } # as_fn_set_status
   25002 
   25003 # as_fn_exit STATUS
   25004 # -----------------
   25005 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   25006 as_fn_exit ()
   25007 {
   25008   set +e
   25009   as_fn_set_status $1
   25010   exit $1
   25011 } # as_fn_exit
   25012 
   25013 # as_fn_unset VAR
   25014 # ---------------
   25015 # Portably unset VAR.
   25016 as_fn_unset ()
   25017 {
   25018   { eval $1=; unset $1;}
   25019 }
   25020 as_unset=as_fn_unset
   25021 
   25022 # as_fn_append VAR VALUE
   25023 # ----------------------
   25024 # Append the text in VALUE to the end of the definition contained in VAR. Take
   25025 # advantage of any shell optimizations that allow amortized linear growth over
   25026 # repeated appends, instead of the typical quadratic growth present in naive
   25027 # implementations.
   25028 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   25029 then :
   25030   eval 'as_fn_append ()
   25031   {
   25032     eval $1+=\$2
   25033   }'
   25034 else case e in #(
   25035   e) as_fn_append ()
   25036   {
   25037     eval $1=\$$1\$2
   25038   } ;;
   25039 esac
   25040 fi # as_fn_append
   25041 
   25042 # as_fn_arith ARG...
   25043 # ------------------
   25044 # Perform arithmetic evaluation on the ARGs, and store the result in the
   25045 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   25046 # must be portable across $(()) and expr.
   25047 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   25048 then :
   25049   eval 'as_fn_arith ()
   25050   {
   25051     as_val=$(( $* ))
   25052   }'
   25053 else case e in #(
   25054   e) as_fn_arith ()
   25055   {
   25056     as_val=`expr "$@" || test $? -eq 1`
   25057   } ;;
   25058 esac
   25059 fi # as_fn_arith
   25060 
   25061 
   25062 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25063    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25064   as_expr=expr
   25065 else
   25066   as_expr=false
   25067 fi
   25068 
   25069 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25070   as_basename=basename
   25071 else
   25072   as_basename=false
   25073 fi
   25074 
   25075 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25076   as_dirname=dirname
   25077 else
   25078   as_dirname=false
   25079 fi
   25080 
   25081 as_me=`$as_basename -- "$0" ||
   25082 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25083 	 X"$0" : 'X\(//\)$' \| \
   25084 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25085 printf '%s\n' X/"$0" |
   25086     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25087 	    s//\1/
   25088 	    q
   25089 	  }
   25090 	  /^X\/\(\/\/\)$/{
   25091 	    s//\1/
   25092 	    q
   25093 	  }
   25094 	  /^X\/\(\/\).*/{
   25095 	    s//\1/
   25096 	    q
   25097 	  }
   25098 	  s/.*/./; q'`
   25099 
   25100 # Avoid depending upon Character Ranges.
   25101 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   25102 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   25103 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   25104 as_cr_digits='0123456789'
   25105 as_cr_alnum=$as_cr_Letters$as_cr_digits
   25106 
   25107 rm -f conf$$ conf$$.exe conf$$.file
   25108 if test -d conf$$.dir; then
   25109   rm -f conf$$.dir/conf$$.file
   25110 else
   25111   rm -f conf$$.dir
   25112   mkdir conf$$.dir 2>/dev/null
   25113 fi
   25114 if (echo >conf$$.file) 2>/dev/null; then
   25115   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25116     as_ln_s='ln -s'
   25117     # ... but there are two gotchas:
   25118     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   25119     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   25120     # In both cases, we have to default to 'cp -pR'.
   25121     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25122       as_ln_s='cp -pR'
   25123   elif ln conf$$.file conf$$ 2>/dev/null; then
   25124     as_ln_s=ln
   25125   else
   25126     as_ln_s='cp -pR'
   25127   fi
   25128 else
   25129   as_ln_s='cp -pR'
   25130 fi
   25131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25132 rmdir conf$$.dir 2>/dev/null
   25133 
   25134 
   25135 # as_fn_mkdir_p
   25136 # -------------
   25137 # Create "$as_dir" as a directory, including parents if necessary.
   25138 as_fn_mkdir_p ()
   25139 {
   25140 
   25141   case $as_dir in #(
   25142   -*) as_dir=./$as_dir;;
   25143   esac
   25144   test -d "$as_dir" || eval $as_mkdir_p || {
   25145     as_dirs=
   25146     while :; do
   25147       case $as_dir in #(
   25148       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25149       *) as_qdir=$as_dir;;
   25150       esac
   25151       as_dirs="'$as_qdir' $as_dirs"
   25152       as_dir=`$as_dirname -- "$as_dir" ||
   25153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25154 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25155 	 X"$as_dir" : 'X\(//\)$' \| \
   25156 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25157 printf '%s\n' X"$as_dir" |
   25158     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25159 	    s//\1/
   25160 	    q
   25161 	  }
   25162 	  /^X\(\/\/\)[^/].*/{
   25163 	    s//\1/
   25164 	    q
   25165 	  }
   25166 	  /^X\(\/\/\)$/{
   25167 	    s//\1/
   25168 	    q
   25169 	  }
   25170 	  /^X\(\/\).*/{
   25171 	    s//\1/
   25172 	    q
   25173 	  }
   25174 	  s/.*/./; q'`
   25175       test -d "$as_dir" && break
   25176     done
   25177     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25178   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   25179 
   25180 
   25181 } # as_fn_mkdir_p
   25182 if mkdir -p . 2>/dev/null; then
   25183   as_mkdir_p='mkdir -p "$as_dir"'
   25184 else
   25185   test -d ./-p && rmdir ./-p
   25186   as_mkdir_p=false
   25187 fi
   25188 
   25189 
   25190 # as_fn_executable_p FILE
   25191 # -----------------------
   25192 # Test if FILE is an executable regular file.
   25193 as_fn_executable_p ()
   25194 {
   25195   test -f "$1" && test -x "$1"
   25196 } # as_fn_executable_p
   25197 as_test_x='test -x'
   25198 as_executable_p=as_fn_executable_p
   25199 
   25200 # Sed expression to map a string onto a valid CPP name.
   25201 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   25202 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   25203 
   25204 # Sed expression to map a string onto a valid variable name.
   25205 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   25206 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   25207 
   25208 
   25209 exec 6>&1
   25210 ## ------------------------------------- ##
   25211 ## Main body of "$CONFIG_STATUS" script. ##
   25212 ## ------------------------------------- ##
   25213 _ASEOF
   25214 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   25215 
   25216 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25217 # Save the log message, to keep $0 and so on meaningful, and to
   25218 # report actual input values of CONFIG_FILES etc. instead of their
   25219 # values after options handling.
   25220 ac_log="
   25221 This file was extended by libX11 $as_me 1.8.14, which was
   25222 generated by GNU Autoconf 2.73.  Invocation command line was
   25223 
   25224   CONFIG_FILES    = $CONFIG_FILES
   25225   CONFIG_HEADERS  = $CONFIG_HEADERS
   25226   CONFIG_LINKS    = $CONFIG_LINKS
   25227   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25228   $ $0 $@
   25229 
   25230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25231 "
   25232 
   25233 _ACEOF
   25234 
   25235 case $ac_config_files in *"
   25236 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25237 esac
   25238 
   25239 case $ac_config_headers in *"
   25240 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25241 esac
   25242 
   25243 
   25244 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25245 # Files that config.status was made for.
   25246 config_files="$ac_config_files"
   25247 config_headers="$ac_config_headers"
   25248 config_commands="$ac_config_commands"
   25249 
   25250 _ACEOF
   25251 
   25252 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25253 ac_cs_usage="\
   25254 '$as_me' instantiates files and other configuration actions
   25255 from templates according to the current configuration.  Unless the files
   25256 and actions are specified as TAGs, all are instantiated by default.
   25257 
   25258 Usage: $0 [OPTION]... [TAG]...
   25259 
   25260   -h, --help       print this help, then exit
   25261   -V, --version    print version number and configuration settings, then exit
   25262       --config     print configuration, then exit
   25263   -q, --quiet, --silent
   25264                    do not print progress messages
   25265   -d, --debug      don't remove temporary files
   25266       --recheck    update $as_me by reconfiguring in the same conditions
   25267       --file=FILE[:TEMPLATE]
   25268                    instantiate the configuration file FILE
   25269       --header=FILE[:TEMPLATE]
   25270                    instantiate the configuration header FILE
   25271 
   25272 Configuration files:
   25273 $config_files
   25274 
   25275 Configuration headers:
   25276 $config_headers
   25277 
   25278 Configuration commands:
   25279 $config_commands
   25280 
   25281 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   25282 
   25283 _ACEOF
   25284 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   25285 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   25286 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25287 ac_cs_config='$ac_cs_config_escaped'
   25288 ac_cs_version="\\
   25289 libX11 config.status 1.8.14
   25290 configured by $0, generated by GNU Autoconf 2.73,
   25291   with options \\"\$ac_cs_config\\"
   25292 
   25293 Copyright (C) 2026 Free Software Foundation, Inc.
   25294 This config.status script is free software; the Free Software Foundation
   25295 gives unlimited permission to copy, distribute and modify it."
   25296 
   25297 ac_pwd='$ac_pwd'
   25298 srcdir='$srcdir'
   25299 INSTALL='$INSTALL'
   25300 MKDIR_P='$MKDIR_P'
   25301 AWK='$AWK'
   25302 test -n "\$AWK" || {
   25303   awk '' </dev/null ||
   25304     as_fn_error \$? "try installing gawk"
   25305   AWK=awk
   25306 }
   25307 _ACEOF
   25308 
   25309 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25310 # The default lists apply if the user does not specify any file.
   25311 ac_need_defaults=:
   25312 while test $# != 0
   25313 do
   25314   case $1 in
   25315   --*=?*)
   25316     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25317     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25318     ac_shift=:
   25319     ;;
   25320   --*=)
   25321     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25322     ac_optarg=
   25323     ac_shift=:
   25324     ;;
   25325   *)
   25326     ac_option=$1
   25327     ac_optarg=$2
   25328     ac_shift=shift
   25329     ;;
   25330   esac
   25331 
   25332   case $ac_option in
   25333   # Handling of the options.
   25334   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25335     ac_cs_recheck=: ;;
   25336   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25337     printf '%s\n' "$ac_cs_version"; exit ;;
   25338   --config | --confi | --conf | --con | --co | --c )
   25339     printf '%s\n' "$ac_cs_config"; exit ;;
   25340   --debug | --debu | --deb | --de | --d | -d )
   25341     debug=: ;;
   25342   --file | --fil | --fi | --f )
   25343     $ac_shift
   25344     case $ac_optarg in
   25345     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25346     '') as_fn_error $? "missing file argument" ;;
   25347     esac
   25348     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25349     ac_need_defaults=false;;
   25350   --header | --heade | --head | --hea )
   25351     $ac_shift
   25352     case $ac_optarg in
   25353     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25354     esac
   25355     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25356     ac_need_defaults=false;;
   25357   --he | --h)
   25358     # Conflict between --help and --header
   25359     as_fn_error $? "ambiguous option: '$1'
   25360 Try '$0 --help' for more information.";;
   25361   --help | --hel | -h )
   25362     printf '%s\n' "$ac_cs_usage"; exit ;;
   25363   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25364   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25365     ac_cs_silent=: ;;
   25366 
   25367   # This is an error.
   25368   -*) as_fn_error $? "unrecognized option: '$1'
   25369 Try '$0 --help' for more information." ;;
   25370 
   25371   *) as_fn_append ac_config_targets " $1"
   25372      ac_need_defaults=false ;;
   25373 
   25374   esac
   25375   shift
   25376 done
   25377 
   25378 ac_configure_extra_args=
   25379 
   25380 if $ac_cs_silent; then
   25381   exec 6>/dev/null
   25382   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25383 fi
   25384 
   25385 _ACEOF
   25386 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25387 if \$ac_cs_recheck; then
   25388   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25389   shift
   25390   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   25391   CONFIG_SHELL='$SHELL'
   25392   export CONFIG_SHELL
   25393   exec "\$@"
   25394 fi
   25395 
   25396 _ACEOF
   25397 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25398 exec 5>>config.log
   25399 {
   25400   echo
   25401   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25402 ## Running $as_me. ##
   25403 _ASBOX
   25404   printf '%s\n' "$ac_log"
   25405 } >&5
   25406 
   25407 _ACEOF
   25408 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25409 #
   25410 # INIT-COMMANDS
   25411 #
   25412 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   25413 
   25414 
   25415 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25416 # if CDPATH is set.
   25417 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25418 
   25419 sed_quote_subst='$sed_quote_subst'
   25420 double_quote_subst='$double_quote_subst'
   25421 delay_variable_subst='$delay_variable_subst'
   25422 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25423 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25424 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25425 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25426 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25427 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
   25428 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
   25429 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25430 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   25431 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25432 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25433 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   25434 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25435 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25436 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   25437 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   25438 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   25439 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   25440 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   25441 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   25442 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   25443 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   25444 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   25445 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   25446 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   25447 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   25448 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   25449 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   25450 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   25451 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   25452 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   25453 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   25454 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   25455 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   25456 lt_cv_cygpath_installed='`$ECHO "$lt_cv_cygpath_installed" | $SED "$delay_single_quote_subst"`'
   25457 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25458 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25459 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   25460 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25461 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25462 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25463 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25464 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25465 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25466 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25467 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25468 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   25469 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25470 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25471 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25472 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25473 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25474 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25475 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   25476 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   25477 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   25478 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   25479 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   25480 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   25481 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   25482 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   25483 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   25484 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   25485 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"`'
   25486 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   25487 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   25488 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   25489 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   25490 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   25491 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   25492 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   25493 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   25494 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   25495 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   25496 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   25497 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   25498 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   25499 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   25500 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   25501 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   25502 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   25503 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   25504 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   25505 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   25506 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25507 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   25508 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   25509 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   25510 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   25511 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   25512 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   25513 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25514 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   25515 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25516 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   25517 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25518 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   25519 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25520 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25521 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   25522 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   25523 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   25524 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   25525 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   25526 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25527 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   25528 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   25529 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   25530 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   25531 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   25532 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   25533 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   25534 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   25535 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   25536 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   25537 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   25538 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25539 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   25540 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   25541 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   25542 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25543 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   25544 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   25545 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   25546 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   25547 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   25548 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25549 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25550 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   25551 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   25552 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   25553 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   25554 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   25555 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   25556 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   25557 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   25558 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   25559 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   25560 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   25561 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   25562 
   25563 LTCC='$LTCC'
   25564 LTCFLAGS='$LTCFLAGS'
   25565 compiler='$compiler_DEFAULT'
   25566 
   25567 # A function that is used when there is no print builtin or printf.
   25568 func_fallback_echo ()
   25569 {
   25570   eval 'cat <<_LTECHO_EOF
   25571 \$1
   25572 _LTECHO_EOF'
   25573 }
   25574 
   25575 # Quote evaled strings.
   25576 for var in SHELL \
   25577 ECHO \
   25578 PATH_SEPARATOR \
   25579 SED \
   25580 GREP \
   25581 EGREP \
   25582 FGREP \
   25583 LD \
   25584 NM \
   25585 LN_S \
   25586 lt_SP2NL \
   25587 lt_NL2SP \
   25588 reload_flag \
   25589 FILECMD \
   25590 OBJDUMP \
   25591 deplibs_check_method \
   25592 file_magic_cmd \
   25593 file_magic_glob \
   25594 want_nocaseglob \
   25595 DLLTOOL \
   25596 sharedlib_from_linklib_cmd \
   25597 AR \
   25598 lt_ar_flags \
   25599 archiver_list_spec \
   25600 STRIP \
   25601 RANLIB \
   25602 CC \
   25603 CFLAGS \
   25604 compiler \
   25605 lt_cv_sys_global_symbol_pipe \
   25606 lt_cv_sys_global_symbol_to_cdecl \
   25607 lt_cv_sys_global_symbol_to_import \
   25608 lt_cv_sys_global_symbol_to_c_name_address \
   25609 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   25610 lt_cv_nm_interface \
   25611 nm_file_list_spec \
   25612 lt_cv_truncate_bin \
   25613 lt_prog_compiler_no_builtin_flag \
   25614 lt_prog_compiler_pic \
   25615 lt_prog_compiler_wl \
   25616 lt_prog_compiler_static \
   25617 lt_cv_prog_compiler_c_o \
   25618 need_locks \
   25619 MANIFEST_TOOL \
   25620 DSYMUTIL \
   25621 NMEDIT \
   25622 LIPO \
   25623 OTOOL \
   25624 OTOOL64 \
   25625 shrext_cmds \
   25626 export_dynamic_flag_spec \
   25627 whole_archive_flag_spec \
   25628 compiler_needs_object \
   25629 with_gnu_ld \
   25630 allow_undefined_flag \
   25631 no_undefined_flag \
   25632 hardcode_libdir_flag_spec \
   25633 hardcode_libdir_separator \
   25634 exclude_expsyms \
   25635 include_expsyms \
   25636 file_list_spec \
   25637 variables_saved_for_relink \
   25638 libname_spec \
   25639 library_names_spec \
   25640 soname_spec \
   25641 install_override_mode \
   25642 finish_eval \
   25643 old_striplib \
   25644 striplib; do
   25645     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25646     *[\\\\\\\`\\"\\\$]*)
   25647       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25648       ;;
   25649     *)
   25650       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25651       ;;
   25652     esac
   25653 done
   25654 
   25655 # Double-quote double-evaled strings.
   25656 for var in reload_cmds \
   25657 old_postinstall_cmds \
   25658 old_postuninstall_cmds \
   25659 old_archive_cmds \
   25660 extract_expsyms_cmds \
   25661 old_archive_from_new_cmds \
   25662 old_archive_from_expsyms_cmds \
   25663 archive_cmds \
   25664 archive_expsym_cmds \
   25665 module_cmds \
   25666 module_expsym_cmds \
   25667 export_symbols_cmds \
   25668 prelink_cmds \
   25669 postlink_cmds \
   25670 postinstall_cmds \
   25671 postuninstall_cmds \
   25672 finish_cmds \
   25673 sys_lib_search_path_spec \
   25674 configure_time_dlsearch_path \
   25675 configure_time_lt_sys_library_path; do
   25676     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25677     *[\\\\\\\`\\"\\\$]*)
   25678       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25679       ;;
   25680     *)
   25681       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25682       ;;
   25683     esac
   25684 done
   25685 
   25686 ac_aux_dir='$ac_aux_dir'
   25687 
   25688 # See if we are running on zsh, and set the options that allow our
   25689 # commands through without removal of \ escapes INIT.
   25690 if test -n "\${ZSH_VERSION+set}"; then
   25691    setopt NO_GLOB_SUBST
   25692 fi
   25693 
   25694 
   25695     PACKAGE='$PACKAGE'
   25696     VERSION='$VERSION'
   25697     RM='$RM'
   25698     ofile='$ofile'
   25699 
   25700 
   25701 
   25702 
   25703 _ACEOF
   25704 
   25705 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25706 
   25707 # Handling of arguments.
   25708 for ac_config_target in $ac_config_targets
   25709 do
   25710   case $ac_config_target in
   25711     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   25712     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   25713     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25714     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   25715     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25716     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   25717     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   25718     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   25719     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   25720     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   25721     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   25722     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   25723     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   25724     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   25725     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   25726     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   25727     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   25728     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   25729     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   25730     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   25731     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   25732     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   25733     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   25734     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   25735     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   25736     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   25737     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   25738     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   25739     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   25740     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   25741     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   25742     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   25743     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   25744     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   25745 
   25746   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   25747   esac
   25748 done
   25749 
   25750 
   25751 # If the user did not use the arguments to specify the items to instantiate,
   25752 # then the envvar interface is used.  Set only those that are not.
   25753 # We use the long form for the default assignment because of an extremely
   25754 # bizarre bug on SunOS 4.1.3.
   25755 if $ac_need_defaults; then
   25756   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   25757   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   25758   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   25759 fi
   25760 
   25761 # Have a temporary directory for convenience.  Make it in the build tree
   25762 # simply because there is no reason against having it here, and in addition,
   25763 # creating and moving files from /tmp can sometimes cause problems.
   25764 # Hook for its removal unless debugging.
   25765 # Note that there is a small window in which the directory will not be cleaned:
   25766 # after its creation but before its name has been assigned to '$tmp'.
   25767 $debug ||
   25768 {
   25769   tmp= ac_tmp=
   25770   trap 'exit_status=$?
   25771   : "${ac_tmp:=$tmp}"
   25772   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   25773 ' 0
   25774   trap 'as_fn_exit 1' 1 2 13 15
   25775 }
   25776 # Create a (secure) tmp directory for tmp files.
   25777 
   25778 {
   25779   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25780   test -d "$tmp"
   25781 }  ||
   25782 {
   25783   tmp=./conf$$-$RANDOM
   25784   (umask 077 && mkdir "$tmp")
   25785 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   25786 ac_tmp=$tmp
   25787 
   25788 # Set up the scripts for CONFIG_FILES section.
   25789 # No need to generate them if there are no CONFIG_FILES.
   25790 # This happens for instance with './config.status config.h'.
   25791 if test -n "$CONFIG_FILES"; then
   25792 
   25793 
   25794 ac_cr=`echo X | tr X '\015'`
   25795 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   25796 # But we know of no other shell where ac_cr would be empty at this
   25797 # point, so we can use a bashism as a fallback.
   25798 if test "x$ac_cr" = x; then
   25799   eval ac_cr=\$\'\\r\'
   25800 fi
   25801 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25802 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25803   ac_cs_awk_cr='\\r'
   25804 else
   25805   ac_cs_awk_cr=$ac_cr
   25806 fi
   25807 
   25808 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   25809 _ACEOF
   25810 
   25811 
   25812 {
   25813   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25814   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25815   echo "_ACEOF"
   25816 } >conf$$subs.sh ||
   25817   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25818 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   25819 ac_delim='%!_!# '
   25820 for ac_last_try in false false false false false :; do
   25821   . ./conf$$subs.sh ||
   25822     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25823 
   25824   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   25825   if test $ac_delim_n = $ac_delim_num; then
   25826     break
   25827   elif $ac_last_try; then
   25828     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25829   else
   25830     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25831   fi
   25832 done
   25833 rm -f conf$$subs.sh
   25834 
   25835 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25836 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   25837 _ACEOF
   25838 sed -n '
   25839 h
   25840 s/^/S["/; s/!.*/"]=/
   25841 p
   25842 g
   25843 s/^[^!]*!//
   25844 :repl
   25845 t repl
   25846 s/'"$ac_delim"'$//
   25847 t delim
   25848 :nl
   25849 h
   25850 s/\(.\{148\}\)..*/\1/
   25851 t more1
   25852 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25853 p
   25854 n
   25855 b repl
   25856 :more1
   25857 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25858 p
   25859 g
   25860 s/.\{148\}//
   25861 t nl
   25862 :delim
   25863 h
   25864 s/\(.\{148\}\)..*/\1/
   25865 t more2
   25866 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25867 p
   25868 b
   25869 :more2
   25870 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25871 p
   25872 g
   25873 s/.\{148\}//
   25874 t delim
   25875 ' <conf$$subs.awk | sed '
   25876 /^[^""]/{
   25877   N
   25878   s/\n//
   25879 }
   25880 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   25881 rm -f conf$$subs.awk
   25882 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   25883 _ACAWK
   25884 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   25885   for (key in S) S_is_set[key] = 1
   25886   FS = ""
   25887 
   25888 }
   25889 {
   25890   line = $ 0
   25891   nfields = split(line, field, "@")
   25892   substed = 0
   25893   len = length(field[1])
   25894   for (i = 2; i < nfields; i++) {
   25895     key = field[i]
   25896     keylen = length(key)
   25897     if (S_is_set[key]) {
   25898       value = S[key]
   25899       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25900       len += length(value) + length(field[++i])
   25901       substed = 1
   25902     } else
   25903       len += 1 + keylen
   25904   }
   25905 
   25906   print line
   25907 }
   25908 
   25909 _ACAWK
   25910 _ACEOF
   25911 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25912 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25913   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25914 else
   25915   cat
   25916 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   25917   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   25918 _ACEOF
   25919 
   25920 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   25921 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   25922 # trailing colons and then remove the whole line if VPATH becomes empty
   25923 # (actually we leave an empty line to preserve line numbers).
   25924 if test "x$srcdir" = x.; then
   25925   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   25926 h
   25927 s///
   25928 s/^/:/
   25929 s/[	 ]*$/:/
   25930 s/:\$(srcdir):/:/g
   25931 s/:\${srcdir}:/:/g
   25932 s/:@srcdir@:/:/g
   25933 s/^:*//
   25934 s/:*$//
   25935 x
   25936 s/\(=[	 ]*\).*/\1/
   25937 G
   25938 s/\n//
   25939 s/^[^=]*=[	 ]*$//
   25940 }'
   25941 fi
   25942 
   25943 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   25944 fi # test -n "$CONFIG_FILES"
   25945 
   25946 # Set up the scripts for CONFIG_HEADERS section.
   25947 # No need to generate them if there are no CONFIG_HEADERS.
   25948 # This happens for instance with './config.status Makefile'.
   25949 if test -n "$CONFIG_HEADERS"; then
   25950 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   25951 BEGIN {
   25952 _ACEOF
   25953 
   25954 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   25955 # here-document in config.status, that substitutes the proper values into
   25956 # config.h.in to produce config.h.
   25957 
   25958 # Create a delimiter string that does not exist in confdefs.h, to ease
   25959 # handling of long lines.
   25960 ac_delim='%!_!# '
   25961 for ac_last_try in false false :; do
   25962   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   25963   if test -z "$ac_tt"; then
   25964     break
   25965   elif $ac_last_try; then
   25966     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   25967   else
   25968     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25969   fi
   25970 done
   25971 
   25972 # For the awk script, D is an array of macro values keyed by name,
   25973 # likewise P contains macro parameters if any.  Preserve backslash
   25974 # newline sequences.
   25975 
   25976 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25977 sed -n '
   25978 s/.\{148\}/&'"$ac_delim"'/g
   25979 t rset
   25980 :rset
   25981 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25982 t def
   25983 d
   25984 :def
   25985 s/\\$//
   25986 t bsnl
   25987 s/["\\]/\\&/g
   25988 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25989 D["\1"]=" \3"/p
   25990 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25991 d
   25992 :bsnl
   25993 s/["\\]/\\&/g
   25994 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25995 D["\1"]=" \3\\\\\\n"\\/p
   25996 t cont
   25997 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25998 t cont
   25999 d
   26000 :cont
   26001 n
   26002 s/.\{148\}/&'"$ac_delim"'/g
   26003 t clear
   26004 :clear
   26005 s/\\$//
   26006 t bsnlc
   26007 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   26008 d
   26009 :bsnlc
   26010 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   26011 b cont
   26012 ' <confdefs.h | sed '
   26013 s/'"$ac_delim"'/"\\\
   26014 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   26015 
   26016 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   26017   for (key in D) D_is_set[key] = 1
   26018   FS = ""
   26019 }
   26020 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   26021   line = \$ 0
   26022   split(line, arg, " ")
   26023   if (arg[1] == "#") {
   26024     defundef = arg[2]
   26025     mac1 = arg[3]
   26026   } else {
   26027     defundef = substr(arg[1], 2)
   26028     mac1 = arg[2]
   26029   }
   26030   split(mac1, mac2, "(") #)
   26031   macro = mac2[1]
   26032   prefix = substr(line, 1, index(line, defundef) - 1)
   26033   if (D_is_set[macro]) {
   26034     suffix = P[macro] D[macro]
   26035     while (suffix ~ /[\t ]$/) {
   26036       suffix = substr(suffix, 1, length(suffix) - 1)
   26037     }
   26038     # Preserve the white space surrounding the "#".
   26039     print prefix "define", macro suffix
   26040     next
   26041   } else {
   26042     # Replace #undef with comments.  This is necessary, for example,
   26043     # in the case of _POSIX_SOURCE, which is predefined and required
   26044     # on some systems where configure will not decide to define it.
   26045     if (defundef == "undef") {
   26046       print "/*", prefix defundef, macro, "*/"
   26047       next
   26048     }
   26049   }
   26050 }
   26051 { print }
   26052 _ACAWK
   26053 _ACEOF
   26054 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   26055   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   26056 fi # test -n "$CONFIG_HEADERS"
   26057 
   26058 
   26059 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   26060 shift
   26061 for ac_tag
   26062 do
   26063   case $ac_tag in
   26064   :[FHLC]) ac_mode=$ac_tag; continue;;
   26065   esac
   26066   case $ac_mode$ac_tag in
   26067   :[FHL]*:*);;
   26068   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   26069   :[FH]-) ac_tag=-:-;;
   26070   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   26071   esac
   26072   ac_save_IFS=$IFS
   26073   IFS=:
   26074   set x $ac_tag
   26075   IFS=$ac_save_IFS
   26076   shift
   26077   ac_file=$1
   26078   shift
   26079 
   26080   case $ac_mode in
   26081   :L) ac_source=$1;;
   26082   :[FH])
   26083     ac_file_inputs=
   26084     for ac_f
   26085     do
   26086       case $ac_f in
   26087       -) ac_f="$ac_tmp/stdin";;
   26088       *) # Look for the file first in the build tree, then in the source tree
   26089 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   26090 	 # because $ac_f cannot contain ':'.
   26091 	 test -f "$ac_f" ||
   26092 	   case $ac_f in
   26093 	   [\\/$]*) false;;
   26094 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   26095 	   esac ||
   26096 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   26097       esac
   26098       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   26099       as_fn_append ac_file_inputs " '$ac_f'"
   26100     done
   26101 
   26102     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   26103     # use $as_me), people would be surprised to read:
   26104     #    /* config.h.  Generated by config.status.  */
   26105     configure_input='Generated from '`
   26106 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   26107 	`' by configure.'
   26108     if test x"$ac_file" != x-; then
   26109       configure_input="$ac_file.  $configure_input"
   26110       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   26111 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   26112     fi
   26113     # Neutralize special characters interpreted by sed in replacement strings.
   26114     case $configure_input in #(
   26115     *\&* | *\|* | *\\* )
   26116        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   26117        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   26118     *) ac_sed_conf_input=$configure_input;;
   26119     esac
   26120 
   26121     case $ac_tag in
   26122     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   26123       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   26124     esac
   26125     ;;
   26126   esac
   26127 
   26128   ac_dir=`$as_dirname -- "$ac_file" ||
   26129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26130 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   26131 	 X"$ac_file" : 'X\(//\)$' \| \
   26132 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   26133 printf '%s\n' X"$ac_file" |
   26134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26135 	    s//\1/
   26136 	    q
   26137 	  }
   26138 	  /^X\(\/\/\)[^/].*/{
   26139 	    s//\1/
   26140 	    q
   26141 	  }
   26142 	  /^X\(\/\/\)$/{
   26143 	    s//\1/
   26144 	    q
   26145 	  }
   26146 	  /^X\(\/\).*/{
   26147 	    s//\1/
   26148 	    q
   26149 	  }
   26150 	  s/.*/./; q'`
   26151   as_dir="$ac_dir"; as_fn_mkdir_p
   26152   ac_builddir=.
   26153 
   26154 case "$ac_dir" in
   26155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26156 *)
   26157   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   26158   # A ".." for each directory in $ac_dir_suffix.
   26159   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   26160   case $ac_top_builddir_sub in
   26161   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26162   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   26163   esac ;;
   26164 esac
   26165 ac_abs_top_builddir=$ac_pwd
   26166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   26167 # for backward compatibility:
   26168 ac_top_builddir=$ac_top_build_prefix
   26169 
   26170 case $srcdir in
   26171   .)  # We are building in place.
   26172     ac_srcdir=.
   26173     ac_top_srcdir=$ac_top_builddir_sub
   26174     ac_abs_top_srcdir=$ac_pwd ;;
   26175   [\\/]* | ?:[\\/]* )  # Absolute name.
   26176     ac_srcdir=$srcdir$ac_dir_suffix;
   26177     ac_top_srcdir=$srcdir
   26178     ac_abs_top_srcdir=$srcdir ;;
   26179   *) # Relative name.
   26180     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   26181     ac_top_srcdir=$ac_top_build_prefix$srcdir
   26182     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   26183 esac
   26184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   26185 
   26186 
   26187   case $ac_mode in
   26188   :F)
   26189   #
   26190   # CONFIG_FILE
   26191   #
   26192 
   26193   case $INSTALL in
   26194   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   26195   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   26196   esac
   26197   ac_MKDIR_P=$MKDIR_P
   26198   case $MKDIR_P in
   26199   [\\/$]* | ?:[\\/]* ) ;;
   26200   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   26201   esac
   26202 _ACEOF
   26203 
   26204 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   26205 # If the template does not know about datarootdir, expand it.
   26206 # FIXME: This hack should be removed a few years after 2.60.
   26207 ac_datarootdir_hack=; ac_datarootdir_seen=
   26208 ac_sed_dataroot='
   26209 /datarootdir/ {
   26210   p
   26211   q
   26212 }
   26213 /@datadir@/p
   26214 /@docdir@/p
   26215 /@infodir@/p
   26216 /@localedir@/p
   26217 /@mandir@/p'
   26218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   26219 *datarootdir*) ac_datarootdir_seen=yes;;
   26220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   26221   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   26222 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   26223 _ACEOF
   26224 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   26225   ac_datarootdir_hack='
   26226   s&@datadir@&$datadir&g
   26227   s&@docdir@&$docdir&g
   26228   s&@infodir@&$infodir&g
   26229   s&@localedir@&$localedir&g
   26230   s&@mandir@&$mandir&g
   26231   s&\\\${datarootdir}&$datarootdir&g' ;;
   26232 esac
   26233 _ACEOF
   26234 
   26235 # Neutralize VPATH when '$srcdir' = '.'.
   26236 # Shell code in configure.ac might set extrasub.
   26237 # FIXME: do we really want to maintain this feature?
   26238 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   26239 ac_sed_extra="$ac_vpsub
   26240 $extrasub
   26241 _ACEOF
   26242 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   26243 :t
   26244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26245 s|@configure_input@|$ac_sed_conf_input|;t t
   26246 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   26248 s&@srcdir@&$ac_srcdir&;t t
   26249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26250 s&@top_srcdir@&$ac_top_srcdir&;t t
   26251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26252 s&@builddir@&$ac_builddir&;t t
   26253 s&@abs_builddir@&$ac_abs_builddir&;t t
   26254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26255 s&@INSTALL@&$ac_INSTALL&;t t
   26256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26257 $ac_datarootdir_hack
   26258 "
   26259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   26260   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26261 
   26262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26263   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   26264   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   26265       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   26266   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   26267 which seems to be undefined.  Please make sure it is defined" >&5
   26268 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   26269 which seems to be undefined.  Please make sure it is defined" >&2;}
   26270 
   26271   rm -f "$ac_tmp/stdin"
   26272   case $ac_file in
   26273   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   26274   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   26275   esac \
   26276   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26277  ;;
   26278   :H)
   26279   #
   26280   # CONFIG_HEADER
   26281   #
   26282   if test x"$ac_file" != x-; then
   26283     {
   26284       printf '%s\n' "/* $configure_input  */" >&1 \
   26285       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   26286     } >"$ac_tmp/config.h" \
   26287       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26288     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   26289       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   26290 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   26291     else
   26292       rm -f "$ac_file"
   26293       mv "$ac_tmp/config.h" "$ac_file" \
   26294 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26295     fi
   26296   else
   26297     printf '%s\n' "/* $configure_input  */" >&1 \
   26298       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   26299       || as_fn_error $? "could not create -" "$LINENO" 5
   26300   fi
   26301 # Compute "$ac_file"'s index in $config_headers.
   26302 _am_arg="$ac_file"
   26303 _am_stamp_count=1
   26304 for _am_header in $config_headers :; do
   26305   case $_am_header in
   26306     $_am_arg | $_am_arg:* )
   26307       break ;;
   26308     * )
   26309       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26310   esac
   26311 done
   26312 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26313 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26314 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26315 	 X"$_am_arg" : 'X\(//\)$' \| \
   26316 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26317 printf '%s\n' X"$_am_arg" |
   26318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26319 	    s//\1/
   26320 	    q
   26321 	  }
   26322 	  /^X\(\/\/\)[^/].*/{
   26323 	    s//\1/
   26324 	    q
   26325 	  }
   26326 	  /^X\(\/\/\)$/{
   26327 	    s//\1/
   26328 	    q
   26329 	  }
   26330 	  /^X\(\/\).*/{
   26331 	    s//\1/
   26332 	    q
   26333 	  }
   26334 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26335  ;;
   26336 
   26337   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   26338 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   26339  ;;
   26340   esac
   26341 
   26342 
   26343   case $ac_file$ac_mode in
   26344     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26345   # Older Autoconf quotes --file arguments for eval, but not when files
   26346   # are listed without --file.  Let's play safe and only enable the eval
   26347   # if we detect the quoting.
   26348   # TODO: see whether this extra hack can be removed once we start
   26349   # requiring Autoconf 2.70 or later.
   26350   case $CONFIG_FILES in #(
   26351   *\'*) :
   26352     eval set x "$CONFIG_FILES" ;; #(
   26353   *) :
   26354     set x $CONFIG_FILES ;; #(
   26355   *) :
   26356      ;;
   26357 esac
   26358   shift
   26359   # Used to flag and report bootstrapping failures.
   26360   am_rc=0
   26361   for am_mf
   26362   do
   26363     # Strip MF so we end up with the name of the file.
   26364     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   26365     # Check whether this is an Automake generated Makefile which includes
   26366     # dependency-tracking related rules and includes.
   26367     # Grep'ing the whole file directly is not great: AIX grep has a line
   26368     # limit of 2048, but all sed's we know have understand at least 4000.
   26369     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   26370       || continue
   26371     am_dirpart=`$as_dirname -- "$am_mf" ||
   26372 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26373 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   26374 	 X"$am_mf" : 'X\(//\)$' \| \
   26375 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26376 printf '%s\n' X"$am_mf" |
   26377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26378 	    s//\1/
   26379 	    q
   26380 	  }
   26381 	  /^X\(\/\/\)[^/].*/{
   26382 	    s//\1/
   26383 	    q
   26384 	  }
   26385 	  /^X\(\/\/\)$/{
   26386 	    s//\1/
   26387 	    q
   26388 	  }
   26389 	  /^X\(\/\).*/{
   26390 	    s//\1/
   26391 	    q
   26392 	  }
   26393 	  s/.*/./; q'`
   26394     am_filepart=`$as_basename -- "$am_mf" ||
   26395 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   26396 	 X"$am_mf" : 'X\(//\)$' \| \
   26397 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26398 printf '%s\n' X/"$am_mf" |
   26399     sed '/^.*\/\([^/][^/]*\)\/*$/{
   26400 	    s//\1/
   26401 	    q
   26402 	  }
   26403 	  /^X\/\(\/\/\)$/{
   26404 	    s//\1/
   26405 	    q
   26406 	  }
   26407 	  /^X\/\(\/\).*/{
   26408 	    s//\1/
   26409 	    q
   26410 	  }
   26411 	  s/.*/./; q'`
   26412     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   26413       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26414         | $MAKE -f - am--depfiles" >&5
   26415    (cd "$am_dirpart" \
   26416       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26417         | $MAKE -f - am--depfiles) >&5 2>&5
   26418    ac_status=$?
   26419    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   26420    (exit $ac_status); } || am_rc=$?
   26421   done
   26422   if test $am_rc -ne 0; then
   26423     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26424 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   26425 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   26426     for automatic dependency tracking.  If GNU make was not used, consider
   26427     re-running the configure script with MAKE=\"gmake\" (or whatever is
   26428     necessary).  You can also try re-running configure with the
   26429     '--disable-dependency-tracking' option to at least be able to build
   26430     the package (albeit without support for automatic dependency tracking).
   26431 See 'config.log' for more details" "$LINENO" 5; }
   26432   fi
   26433   { am_dirpart=; unset am_dirpart;}
   26434   { am_filepart=; unset am_filepart;}
   26435   { am_mf=; unset am_mf;}
   26436   { am_rc=; unset am_rc;}
   26437   rm -f conftest-deps.mk
   26438 }
   26439  ;;
   26440     "libtool":C)
   26441 
   26442     # See if we are running on zsh, and set the options that allow our
   26443     # commands through without removal of \ escapes.
   26444     if test -n "${ZSH_VERSION+set}"; then
   26445       setopt NO_GLOB_SUBST
   26446     fi
   26447 
   26448     cfgfile=${ofile}T
   26449     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   26450     $RM "$cfgfile"
   26451 
   26452     cat <<_LT_EOF >> "$cfgfile"
   26453 #! $SHELL
   26454 # Generated automatically by $as_me ($PACKAGE) $VERSION
   26455 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   26456 
   26457 # Provide generalized library-building support services.
   26458 # Written by Gordon Matzigkeit, 1996
   26459 
   26460 # Copyright (C) 2025-2026 Free Software Foundation, Inc.
   26461 # This is free software; see the source for copying conditions.  There is NO
   26462 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   26463 
   26464 # GNU Libtool is free software; you can redistribute it and/or modify
   26465 # it under the terms of the GNU General Public License as published by
   26466 # the Free Software Foundation; either version 2 of the License, or
   26467 # (at your option) any later version.
   26468 #
   26469 # As a special exception to the GNU General Public License, if you
   26470 # distribute this file as part of a program or library that is built
   26471 # using GNU Libtool, you may include this file under the  same
   26472 # distribution terms that you use for the rest of that program.
   26473 #
   26474 # GNU Libtool is distributed in the hope that it will be useful, but
   26475 # WITHOUT ANY WARRANTY; without even the implied warranty of
   26476 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   26477 # GNU General Public License for more details.
   26478 #
   26479 # You should have received a copy of the GNU General Public License
   26480 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
   26481 
   26482 
   26483 # The names of the tagged configurations supported by this script.
   26484 available_tags=''
   26485 
   26486 # Configured defaults for sys_lib_dlsearch_path munging.
   26487 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   26488 
   26489 # ### BEGIN LIBTOOL CONFIG
   26490 
   26491 # Which release of libtool.m4 was used?
   26492 macro_version=$macro_version
   26493 macro_revision=$macro_revision
   26494 
   26495 # Whether or not to build shared libraries.
   26496 build_libtool_libs=$enable_shared
   26497 
   26498 # Whether or not to build static libraries.
   26499 build_old_libs=$enable_static
   26500 
   26501 # What type of objects to build.
   26502 pic_mode=$pic_mode
   26503 
   26504 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
   26505 enable_cxx_stdlib=$enable_cxx_stdlib
   26506 
   26507 # Flag used for specifying not to link standard libraries.
   26508 stdlibflag=$stdlibflag
   26509 
   26510 # Whether or not to optimize for fast installation.
   26511 fast_install=$enable_fast_install
   26512 
   26513 # Shared archive member basename,for filename based shared library versioning on AIX.
   26514 shared_archive_member_spec=$shared_archive_member_spec
   26515 
   26516 # Shell to use when invoking shell scripts.
   26517 SHELL=$lt_SHELL
   26518 
   26519 # An echo program that protects backslashes.
   26520 ECHO=$lt_ECHO
   26521 
   26522 # The PATH separator for the build system.
   26523 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   26524 
   26525 # The host system.
   26526 host_alias=$host_alias
   26527 host=$host
   26528 host_os=$host_os
   26529 
   26530 # The build system.
   26531 build_alias=$build_alias
   26532 build=$build
   26533 build_os=$build_os
   26534 
   26535 # A sed program that does not truncate output.
   26536 SED=$lt_SED
   26537 
   26538 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   26539 Xsed="\$SED -e 1s/^X//"
   26540 
   26541 # A grep program that handles long lines.
   26542 GREP=$lt_GREP
   26543 
   26544 # An ERE matcher.
   26545 EGREP=$lt_EGREP
   26546 
   26547 # A literal string matcher.
   26548 FGREP=$lt_FGREP
   26549 
   26550 # A BSD- or MS-compatible name lister.
   26551 NM=$lt_NM
   26552 
   26553 # Whether we need soft or hard links.
   26554 LN_S=$lt_LN_S
   26555 
   26556 # What is the maximum length of a command?
   26557 max_cmd_len=$max_cmd_len
   26558 
   26559 # Object file suffix (normally "o").
   26560 objext=$ac_objext
   26561 
   26562 # Executable file suffix (normally "").
   26563 exeext=$exeext
   26564 
   26565 # whether the shell understands "unset".
   26566 lt_unset=$lt_unset
   26567 
   26568 # turn spaces into newlines.
   26569 SP2NL=$lt_lt_SP2NL
   26570 
   26571 # turn newlines into spaces.
   26572 NL2SP=$lt_lt_NL2SP
   26573 
   26574 # convert \$build file names to \$host format.
   26575 to_host_file_cmd=$lt_cv_to_host_file_cmd
   26576 
   26577 # convert \$build files to toolchain format.
   26578 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   26579 
   26580 # whether cygpath is installed.
   26581 cygpath_installed=$lt_cv_cygpath_installed
   26582 
   26583 # A file(cmd) program that detects file types.
   26584 FILECMD=$lt_FILECMD
   26585 
   26586 # An object symbol dumper.
   26587 OBJDUMP=$lt_OBJDUMP
   26588 
   26589 # Method to check whether dependent libraries are shared objects.
   26590 deplibs_check_method=$lt_deplibs_check_method
   26591 
   26592 # Command to use when deplibs_check_method = "file_magic".
   26593 file_magic_cmd=$lt_file_magic_cmd
   26594 
   26595 # How to find potential files when deplibs_check_method = "file_magic".
   26596 file_magic_glob=$lt_file_magic_glob
   26597 
   26598 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   26599 want_nocaseglob=$lt_want_nocaseglob
   26600 
   26601 # DLL creation program.
   26602 DLLTOOL=$lt_DLLTOOL
   26603 
   26604 # Command to associate shared and link libraries.
   26605 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   26606 
   26607 # The archiver.
   26608 AR=$lt_AR
   26609 
   26610 # Flags to create an archive (by configure).
   26611 lt_ar_flags=$lt_lt_ar_flags
   26612 
   26613 # Flags to create an archive.
   26614 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   26615 
   26616 # How to feed a file listing to the archiver.
   26617 archiver_list_spec=$lt_archiver_list_spec
   26618 
   26619 # A symbol stripping program.
   26620 STRIP=$lt_STRIP
   26621 
   26622 # Commands used to install an old-style archive.
   26623 RANLIB=$lt_RANLIB
   26624 old_postinstall_cmds=$lt_old_postinstall_cmds
   26625 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   26626 
   26627 # Whether to use a lock for old archive extraction.
   26628 lock_old_archive_extraction=$lock_old_archive_extraction
   26629 
   26630 # A C compiler.
   26631 LTCC=$lt_CC
   26632 
   26633 # LTCC compiler flags.
   26634 LTCFLAGS=$lt_CFLAGS
   26635 
   26636 # Take the output of nm and produce a listing of raw symbols and C names.
   26637 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   26638 
   26639 # Transform the output of nm in a proper C declaration.
   26640 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   26641 
   26642 # Transform the output of nm into a list of symbols to manually relocate.
   26643 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   26644 
   26645 # Transform the output of nm in a C name address pair.
   26646 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   26647 
   26648 # Transform the output of nm in a C name address pair when lib prefix is needed.
   26649 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   26650 
   26651 # The name lister interface.
   26652 nm_interface=$lt_lt_cv_nm_interface
   26653 
   26654 # Specify filename containing input files for \$NM.
   26655 nm_file_list_spec=$lt_nm_file_list_spec
   26656 
   26657 # The root where to search for dependent libraries,and where our libraries should be installed.
   26658 lt_sysroot=$lt_sysroot
   26659 
   26660 # Command to truncate a binary pipe.
   26661 lt_truncate_bin=$lt_lt_cv_truncate_bin
   26662 
   26663 # The name of the directory that contains temporary libtool files.
   26664 objdir=$objdir
   26665 
   26666 # Used to examine libraries when file_magic_cmd begins with "file".
   26667 MAGIC_CMD=$MAGIC_CMD
   26668 
   26669 # Must we lock files when doing compilation?
   26670 need_locks=$lt_need_locks
   26671 
   26672 # Manifest tool.
   26673 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   26674 
   26675 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   26676 DSYMUTIL=$lt_DSYMUTIL
   26677 
   26678 # Tool to change global to local symbols on Mac OS X.
   26679 NMEDIT=$lt_NMEDIT
   26680 
   26681 # Tool to manipulate fat objects and archives on Mac OS X.
   26682 LIPO=$lt_LIPO
   26683 
   26684 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   26685 OTOOL=$lt_OTOOL
   26686 
   26687 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   26688 OTOOL64=$lt_OTOOL64
   26689 
   26690 # Old archive suffix (normally "a").
   26691 libext=$libext
   26692 
   26693 # Shared library suffix (normally ".so").
   26694 shrext_cmds=$lt_shrext_cmds
   26695 
   26696 # The commands to extract the exported symbol list from a shared archive.
   26697 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   26698 
   26699 # Variables whose values should be saved in libtool wrapper scripts and
   26700 # restored at link time.
   26701 variables_saved_for_relink=$lt_variables_saved_for_relink
   26702 
   26703 # Do we need the "lib" prefix for modules?
   26704 need_lib_prefix=$need_lib_prefix
   26705 
   26706 # Do we need a version for libraries?
   26707 need_version=$need_version
   26708 
   26709 # Library versioning type.
   26710 version_type=$version_type
   26711 
   26712 # Shared library runtime path variable.
   26713 runpath_var=$runpath_var
   26714 
   26715 # Shared library path variable.
   26716 shlibpath_var=$shlibpath_var
   26717 
   26718 # Is shlibpath searched before the hard-coded library search path?
   26719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   26720 
   26721 # Format of library name prefix.
   26722 libname_spec=$lt_libname_spec
   26723 
   26724 # List of archive names.  First name is the real one, the rest are links.
   26725 # The last name is the one that the linker finds with -lNAME
   26726 library_names_spec=$lt_library_names_spec
   26727 
   26728 # The coded name of the library, if different from the real name.
   26729 soname_spec=$lt_soname_spec
   26730 
   26731 # Permission mode override for installation of shared libraries.
   26732 install_override_mode=$lt_install_override_mode
   26733 
   26734 # Command to use after installation of a shared archive.
   26735 postinstall_cmds=$lt_postinstall_cmds
   26736 
   26737 # Command to use after uninstallation of a shared archive.
   26738 postuninstall_cmds=$lt_postuninstall_cmds
   26739 
   26740 # Commands used to finish a libtool library installation in a directory.
   26741 finish_cmds=$lt_finish_cmds
   26742 
   26743 # As "finish_cmds", except a single script fragment to be evaled but
   26744 # not shown.
   26745 finish_eval=$lt_finish_eval
   26746 
   26747 # Whether we should hardcode library paths into libraries.
   26748 hardcode_into_libs=$hardcode_into_libs
   26749 
   26750 # Compile-time system search path for libraries.
   26751 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   26752 
   26753 # Detected run-time system search path for libraries.
   26754 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   26755 
   26756 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   26757 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   26758 
   26759 # Whether dlopen is supported.
   26760 dlopen_support=$enable_dlopen
   26761 
   26762 # Whether dlopen of programs is supported.
   26763 dlopen_self=$enable_dlopen_self
   26764 
   26765 # Whether dlopen of statically linked programs is supported.
   26766 dlopen_self_static=$enable_dlopen_self_static
   26767 
   26768 # Commands to strip libraries.
   26769 old_striplib=$lt_old_striplib
   26770 striplib=$lt_striplib
   26771 
   26772 
   26773 # The linker used to build libraries.
   26774 LD=$lt_LD
   26775 
   26776 # How to create reloadable object files.
   26777 reload_flag=$lt_reload_flag
   26778 reload_cmds=$lt_reload_cmds
   26779 
   26780 # Commands used to build an old-style archive.
   26781 old_archive_cmds=$lt_old_archive_cmds
   26782 
   26783 # A language specific compiler.
   26784 CC=$lt_compiler
   26785 
   26786 # Is the compiler the GNU compiler?
   26787 with_gcc=$GCC
   26788 
   26789 # Compiler flag to turn off builtin functions.
   26790 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   26791 
   26792 # Additional compiler flags for building library objects.
   26793 pic_flag=$lt_lt_prog_compiler_pic
   26794 
   26795 # How to pass a linker flag through the compiler.
   26796 wl=$lt_lt_prog_compiler_wl
   26797 
   26798 # Compiler flag to prevent dynamic linking.
   26799 link_static_flag=$lt_lt_prog_compiler_static
   26800 
   26801 # Does compiler simultaneously support -c and -o options?
   26802 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   26803 
   26804 # Whether or not to add -lc for building shared libraries.
   26805 build_libtool_need_lc=$archive_cmds_need_lc
   26806 
   26807 # Whether or not to disallow shared libs when runtime libs are static.
   26808 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   26809 
   26810 # Compiler flag to allow reflexive dlopens.
   26811 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   26812 
   26813 # Compiler flag to generate shared objects directly from archives.
   26814 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   26815 
   26816 # Whether the compiler copes with passing no objects directly.
   26817 compiler_needs_object=$lt_compiler_needs_object
   26818 
   26819 # Create an old-style archive from a shared archive.
   26820 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   26821 
   26822 # Create a temporary old-style archive to link instead of a shared archive.
   26823 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   26824 
   26825 # Commands used to build a shared archive.
   26826 archive_cmds=$lt_archive_cmds
   26827 archive_expsym_cmds=$lt_archive_expsym_cmds
   26828 
   26829 # Commands used to build a loadable module if different from building
   26830 # a shared archive.
   26831 module_cmds=$lt_module_cmds
   26832 module_expsym_cmds=$lt_module_expsym_cmds
   26833 
   26834 # Whether we are building with GNU ld or not.
   26835 with_gnu_ld=$lt_with_gnu_ld
   26836 
   26837 # Flag that allows shared libraries with undefined symbols to be built.
   26838 allow_undefined_flag=$lt_allow_undefined_flag
   26839 
   26840 # Flag that enforces no undefined symbols.
   26841 no_undefined_flag=$lt_no_undefined_flag
   26842 
   26843 # Flag to hardcode \$libdir into a binary during linking.
   26844 # This must work even if \$libdir does not exist
   26845 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   26846 
   26847 # Whether we need a single "-rpath" flag with a separated argument.
   26848 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   26849 
   26850 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26851 # DIR into the resulting binary.
   26852 hardcode_direct=$hardcode_direct
   26853 
   26854 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26855 # DIR into the resulting binary and the resulting library dependency is
   26856 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   26857 # library is relocated.
   26858 hardcode_direct_absolute=$hardcode_direct_absolute
   26859 
   26860 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26861 # into the resulting binary.
   26862 hardcode_minus_L=$hardcode_minus_L
   26863 
   26864 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26865 # into the resulting binary.
   26866 hardcode_shlibpath_var=$hardcode_shlibpath_var
   26867 
   26868 # Set to "yes" if building a shared library automatically hardcodes DIR
   26869 # into the library and all subsequent libraries and executables linked
   26870 # against it.
   26871 hardcode_automatic=$hardcode_automatic
   26872 
   26873 # Set to yes if linker adds runtime paths of dependent libraries
   26874 # to runtime path list.
   26875 inherit_rpath=$inherit_rpath
   26876 
   26877 # Whether libtool must link a program against all its dependency libraries.
   26878 link_all_deplibs=$link_all_deplibs
   26879 
   26880 # Set to "yes" if exported symbols are required.
   26881 always_export_symbols=$always_export_symbols
   26882 
   26883 # The commands to list exported symbols.
   26884 export_symbols_cmds=$lt_export_symbols_cmds
   26885 
   26886 # Symbols that should not be listed in the preloaded symbols.
   26887 exclude_expsyms=$lt_exclude_expsyms
   26888 
   26889 # Symbols that must always be exported.
   26890 include_expsyms=$lt_include_expsyms
   26891 
   26892 # Commands necessary for linking programs (against libraries) with templates.
   26893 prelink_cmds=$lt_prelink_cmds
   26894 
   26895 # Commands necessary for finishing linking programs.
   26896 postlink_cmds=$lt_postlink_cmds
   26897 
   26898 # Specify filename containing input files.
   26899 file_list_spec=$lt_file_list_spec
   26900 
   26901 # How to hardcode a shared library path into an executable.
   26902 hardcode_action=$hardcode_action
   26903 
   26904 # ### END LIBTOOL CONFIG
   26905 
   26906 _LT_EOF
   26907 
   26908     cat <<'_LT_EOF' >> "$cfgfile"
   26909 
   26910 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   26911 
   26912 # func_munge_path_list VARIABLE PATH
   26913 # -----------------------------------
   26914 # VARIABLE is name of variable containing _space_ separated list of
   26915 # directories to be munged by the contents of PATH, which is string
   26916 # having a format:
   26917 # "DIR[:DIR]:"
   26918 #       string "DIR[ DIR]" will be prepended to VARIABLE
   26919 # ":DIR[:DIR]"
   26920 #       string "DIR[ DIR]" will be appended to VARIABLE
   26921 # "DIRP[:DIRP]::[DIRA:]DIRA"
   26922 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   26923 #       "DIRA[ DIRA]" will be appended to VARIABLE
   26924 # "DIR[:DIR]"
   26925 #       VARIABLE will be replaced by "DIR[ DIR]"
   26926 func_munge_path_list ()
   26927 {
   26928     case x$2 in
   26929     x)
   26930         ;;
   26931     *:)
   26932         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   26933         ;;
   26934     x:*)
   26935         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   26936         ;;
   26937     *::*)
   26938         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   26939         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   26940         ;;
   26941     *)
   26942         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   26943         ;;
   26944     esac
   26945 }
   26946 
   26947 
   26948 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   26949 func_cc_basename ()
   26950 {
   26951     for cc_temp in $*""; do
   26952       case $cc_temp in
   26953         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   26954         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   26955         \-*) ;;
   26956         *) break;;
   26957       esac
   26958     done
   26959     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   26960 }
   26961 
   26962 
   26963 # ### END FUNCTIONS SHARED WITH CONFIGURE
   26964 
   26965 _LT_EOF
   26966 
   26967   case $host_os in
   26968   aix3*)
   26969     cat <<\_LT_EOF >> "$cfgfile"
   26970 # AIX sometimes has problems with the GCC collect2 program.  For some
   26971 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26972 # vanish in a puff of smoke.
   26973 if test set != "${COLLECT_NAMES+set}"; then
   26974   COLLECT_NAMES=
   26975   export COLLECT_NAMES
   26976 fi
   26977 _LT_EOF
   26978     ;;
   26979   esac
   26980 
   26981 
   26982 
   26983 ltmain=$ac_aux_dir/ltmain.sh
   26984 
   26985 
   26986   # We use sed instead of cat because bash on DJGPP gets confused if
   26987   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26988   # text mode, it properly converts lines to CR/LF.  This bash problem
   26989   # is reportedly fixed, but why not run on old versions too?
   26990   $SED '$q' "$ltmain" >> "$cfgfile" \
   26991      || (rm -f "$cfgfile"; exit 1)
   26992 
   26993    mv -f "$cfgfile" "$ofile" ||
   26994     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   26995   chmod +x "$ofile"
   26996 
   26997  ;;
   26998 
   26999   esac
   27000 done # for ac_tag
   27001 
   27002 
   27003 as_fn_exit 0
   27004 _ACEOF
   27005 ac_clean_CONFIG_STATUS=
   27006 
   27007 test $ac_write_fail = 0 ||
   27008   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   27009 
   27010 
   27011 # configure is writing to config.log, and then calls config.status.
   27012 # config.status does its own redirection, appending to config.log.
   27013 # Unfortunately, on DOS this fails, as config.log is still kept open
   27014 # by configure, so config.status won't be able to write to it; its
   27015 # output is simply discarded.  So we exec the FD to /dev/null,
   27016 # effectively closing config.log, so it can be properly (re)opened and
   27017 # appended to by config.status.  When coming back to configure, we
   27018 # need to make the FD available again.
   27019 if test "$no_create" != yes; then
   27020   ac_cs_success=:
   27021   case $CONFIG_STATUS in #(
   27022   -*) :
   27023     ac_no_opts=-- ;; #(
   27024   *) :
   27025     ac_no_opts= ;;
   27026 esac
   27027   ac_config_status_args=
   27028   test "$silent" = yes &&
   27029     ac_config_status_args="$ac_config_status_args --quiet"
   27030   exec 5>/dev/null
   27031   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   27032     ac_cs_success=false
   27033   exec 5>>config.log
   27034   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   27035   # would make configure fail if this is the last instruction.
   27036   $ac_cs_success || as_fn_exit 1
   27037 fi
   27038 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   27039   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   27040 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   27041 fi
   27042 
   27043 
   27044 echo ""
   27045 echo "$PACKAGE_STRING will be built with the following settings:"
   27046 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   27047 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   27048 echo " Threading support:                       "$xthreads
   27049 echo " Use Threads safe API:                    "$mtsafeapi
   27050 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   27051 echo " XCMS:                                    "$XCMS
   27052 echo " Internationalization support:            "$XLOCALE
   27053 echo " XF86BigFont support:                     "$XF86BIGFONT
   27054 echo " XKB support:                             "$XKB
   27055 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   27056 echo " Compose table cache enabled:             "$COMPOSECACHE
   27057 echo " Functional specs building enabled:       "$build_specs
   27058 echo ""
   27059 
   27060