Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXext 1.3.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 as_awk_strverscmp='
    595   # Use only awk features that work with 7th edition Unix awk (1978).
    596   # My, what an old awk you have, Mr. Solaris!
    597   END {
    598     while (length(v1) && length(v2)) {
    599       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    600       # Normally this is a single character, but if v1 and v2 contain digits,
    601       # compare them as integers and fractions as strverscmp does.
    602       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    603 	# Split v1 and v2 into their leading digit string components d1 and d2,
    604 	# and advance v1 and v2 past the leading digit strings.
    605 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    606 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    607 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    608 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    609 	if (d1 ~ /^0/) {
    610 	  if (d2 ~ /^0/) {
    611 	    # Compare two fractions.
    612 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    613 	      d1 = substr(d1, 2); len1--
    614 	      d2 = substr(d2, 2); len2--
    615 	    }
    616 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    617 	      # The two components differ in length, and the common prefix
    618 	      # contains only leading zeros.  Consider the longer to be less.
    619 	      d1 = -len1
    620 	      d2 = -len2
    621 	    } else {
    622 	      # Otherwise, compare as strings.
    623 	      d1 = "x" d1
    624 	      d2 = "x" d2
    625 	    }
    626 	  } else {
    627 	    # A fraction is less than an integer.
    628 	    exit 1
    629 	  }
    630 	} else {
    631 	  if (d2 ~ /^0/) {
    632 	    # An integer is greater than a fraction.
    633 	    exit 2
    634 	  } else {
    635 	    # Compare two integers.
    636 	    d1 += 0
    637 	    d2 += 0
    638 	  }
    639 	}
    640       } else {
    641 	# The normal case, without worrying about digits.
    642 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    643 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    644       }
    645       if (d1 < d2) exit 1
    646       if (d1 > d2) exit 2
    647     }
    648     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    649     # which mishandles some comparisons of empty strings to integers.
    650     if (length(v2)) exit 1
    651     if (length(v1)) exit 2
    652   }
    653 '
    654 
    655 test -n "$DJDIR" || exec 7<&0 </dev/null
    656 exec 6>&1
    657 
    658 # Name of the host.
    659 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    660 # so uname gets run too.
    661 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    662 
    663 #
    664 # Initializations.
    665 #
    666 ac_default_prefix=/usr/local
    667 ac_clean_files=
    668 ac_config_libobj_dir=.
    669 LIBOBJS=
    670 cross_compiling=no
    671 subdirs=
    672 MFLAGS=
    673 MAKEFLAGS=
    674 
    675 # Identity of this package.
    676 PACKAGE_NAME='libXext'
    677 PACKAGE_TARNAME='libXext'
    678 PACKAGE_VERSION='1.3.6'
    679 PACKAGE_STRING='libXext 1.3.6'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues'
    681 PACKAGE_URL=''
    682 
    683 ac_unique_file="Makefile.am"
    684 # Factoring default headers for most tests.
    685 ac_includes_default="\
    686 #include <stddef.h>
    687 #ifdef HAVE_STDIO_H
    688 # include <stdio.h>
    689 #endif
    690 #ifdef HAVE_STDLIB_H
    691 # include <stdlib.h>
    692 #endif
    693 #ifdef HAVE_STRING_H
    694 # include <string.h>
    695 #endif
    696 #ifdef HAVE_INTTYPES_H
    697 # include <inttypes.h>
    698 #endif
    699 #ifdef HAVE_STDINT_H
    700 # include <stdint.h>
    701 #endif
    702 #ifdef HAVE_STRINGS_H
    703 # include <strings.h>
    704 #endif
    705 #ifdef HAVE_SYS_TYPES_H
    706 # include <sys/types.h>
    707 #endif
    708 #ifdef HAVE_SYS_STAT_H
    709 # include <sys/stat.h>
    710 #endif
    711 #ifdef HAVE_UNISTD_H
    712 # include <unistd.h>
    713 #endif"
    714 
    715 ac_header_c_list=
    716 ac_subst_vars='am__EXEEXT_FALSE
    717 am__EXEEXT_TRUE
    718 LTLIBOBJS
    719 MAKE_LINT_LIB_FALSE
    720 MAKE_LINT_LIB_TRUE
    721 LINTLIB
    722 LINT_FALSE
    723 LINT_TRUE
    724 LINT_FLAGS
    725 LINT
    726 LIBOBJS
    727 XEXT_LIBS
    728 XEXT_CFLAGS
    729 XEXT_SOREV
    730 XTMALLOC_ZERO_CFLAGS
    731 XMALLOC_ZERO_CFLAGS
    732 MALLOC_ZERO_CFLAGS
    733 HAVE_STYLESHEETS_FALSE
    734 HAVE_STYLESHEETS_TRUE
    735 XSL_STYLESHEET
    736 STYLESHEET_SRCDIR
    737 XORG_SGML_PATH
    738 HAVE_XSLTPROC_FALSE
    739 HAVE_XSLTPROC_TRUE
    740 XSLTPROC
    741 HAVE_FOP_FALSE
    742 HAVE_FOP_TRUE
    743 FOP
    744 HAVE_XMLTO_FALSE
    745 HAVE_XMLTO_TRUE
    746 HAVE_XMLTO_TEXT_FALSE
    747 HAVE_XMLTO_TEXT_TRUE
    748 XMLTO
    749 ENABLE_SPECS_FALSE
    750 ENABLE_SPECS_TRUE
    751 MAN_SUBSTS
    752 XORG_MAN_PAGE
    753 ADMIN_MAN_DIR
    754 DRIVER_MAN_DIR
    755 MISC_MAN_DIR
    756 FILE_MAN_DIR
    757 LIB_MAN_DIR
    758 APP_MAN_DIR
    759 ADMIN_MAN_SUFFIX
    760 DRIVER_MAN_SUFFIX
    761 MISC_MAN_SUFFIX
    762 FILE_MAN_SUFFIX
    763 LIB_MAN_SUFFIX
    764 APP_MAN_SUFFIX
    765 INSTALL_CMD
    766 PKG_CONFIG_LIBDIR
    767 PKG_CONFIG_PATH
    768 PKG_CONFIG
    769 CHANGELOG_CMD
    770 STRICT_CFLAGS
    771 CWARNFLAGS
    772 BASE_CFLAGS
    773 LT_SYS_LIBRARY_PATH
    774 OTOOL64
    775 OTOOL
    776 LIPO
    777 NMEDIT
    778 DSYMUTIL
    779 MANIFEST_TOOL
    780 RANLIB
    781 ac_ct_AR
    782 AR
    783 DLLTOOL
    784 OBJDUMP
    785 FILECMD
    786 LN_S
    787 NM
    788 ac_ct_DUMPBIN
    789 DUMPBIN
    790 LD
    791 FGREP
    792 EGREP
    793 GREP
    794 SED
    795 host_os
    796 host_vendor
    797 host_cpu
    798 host
    799 build_os
    800 build_vendor
    801 build_cpu
    802 build
    803 LIBTOOL
    804 AM_BACKSLASH
    805 AM_DEFAULT_VERBOSITY
    806 AM_DEFAULT_V
    807 AM_V
    808 CSCOPE
    809 ETAGS
    810 CTAGS
    811 am__fastdepCC_FALSE
    812 am__fastdepCC_TRUE
    813 CCDEPMODE
    814 am__nodep
    815 AMDEPBACKSLASH
    816 AMDEP_FALSE
    817 AMDEP_TRUE
    818 am__include
    819 DEPDIR
    820 am__untar
    821 am__tar
    822 AMTAR
    823 am__leading_dot
    824 SET_MAKE
    825 AWK
    826 mkdir_p
    827 MKDIR_P
    828 INSTALL_STRIP_PROGRAM
    829 STRIP
    830 install_sh
    831 MAKEINFO
    832 AUTOHEADER
    833 AUTOMAKE
    834 AUTOCONF
    835 ACLOCAL
    836 VERSION
    837 PACKAGE
    838 CYGPATH_W
    839 am__isrc
    840 INSTALL_DATA
    841 INSTALL_SCRIPT
    842 INSTALL_PROGRAM
    843 OBJEXT
    844 EXEEXT
    845 ac_ct_CC
    846 CPPFLAGS
    847 LDFLAGS
    848 CFLAGS
    849 CC
    850 target_alias
    851 host_alias
    852 build_alias
    853 LIBS
    854 ECHO_T
    855 ECHO_N
    856 ECHO_C
    857 DEFS
    858 mandir
    859 localedir
    860 libdir
    861 psdir
    862 pdfdir
    863 dvidir
    864 htmldir
    865 infodir
    866 docdir
    867 oldincludedir
    868 includedir
    869 runstatedir
    870 localstatedir
    871 sharedstatedir
    872 sysconfdir
    873 datadir
    874 datarootdir
    875 libexecdir
    876 sbindir
    877 bindir
    878 program_transform_name
    879 prefix
    880 exec_prefix
    881 PACKAGE_URL
    882 PACKAGE_BUGREPORT
    883 PACKAGE_STRING
    884 PACKAGE_VERSION
    885 PACKAGE_TARNAME
    886 PACKAGE_NAME
    887 PATH_SEPARATOR
    888 SHELL
    889 am__quote'
    890 ac_subst_files=''
    891 ac_user_opts='
    892 enable_option_checking
    893 enable_dependency_tracking
    894 enable_silent_rules
    895 enable_shared
    896 enable_static
    897 with_pic
    898 enable_fast_install
    899 with_aix_soname
    900 with_gnu_ld
    901 with_sysroot
    902 enable_libtool_lock
    903 enable_selective_werror
    904 enable_strict_compilation
    905 enable_specs
    906 with_xmlto
    907 with_fop
    908 with_xsltproc
    909 enable_malloc0returnsnull
    910 with_lint
    911 enable_lint_library
    912 '
    913       ac_precious_vars='build_alias
    914 host_alias
    915 target_alias
    916 CC
    917 CFLAGS
    918 LDFLAGS
    919 LIBS
    920 CPPFLAGS
    921 LT_SYS_LIBRARY_PATH
    922 PKG_CONFIG
    923 PKG_CONFIG_PATH
    924 PKG_CONFIG_LIBDIR
    925 XMLTO
    926 FOP
    927 XSLTPROC
    928 XEXT_CFLAGS
    929 XEXT_LIBS
    930 LINT
    931 LINT_FLAGS'
    932 
    933 
    934 # Initialize some variables set by options.
    935 ac_init_help=
    936 ac_init_version=false
    937 ac_unrecognized_opts=
    938 ac_unrecognized_sep=
    939 # The variables have the same names as the options, with
    940 # dashes changed to underlines.
    941 cache_file=/dev/null
    942 exec_prefix=NONE
    943 no_create=
    944 no_recursion=
    945 prefix=NONE
    946 program_prefix=NONE
    947 program_suffix=NONE
    948 program_transform_name=s,x,x,
    949 silent=
    950 site=
    951 srcdir=
    952 verbose=
    953 x_includes=NONE
    954 x_libraries=NONE
    955 
    956 # Installation directory options.
    957 # These are left unexpanded so users can "make install exec_prefix=/foo"
    958 # and all the variables that are supposed to be based on exec_prefix
    959 # by default will actually change.
    960 # Use braces instead of parens because sh, perl, etc. also accept them.
    961 # (The list follows the same order as the GNU Coding Standards.)
    962 bindir='${exec_prefix}/bin'
    963 sbindir='${exec_prefix}/sbin'
    964 libexecdir='${exec_prefix}/libexec'
    965 datarootdir='${prefix}/share'
    966 datadir='${datarootdir}'
    967 sysconfdir='${prefix}/etc'
    968 sharedstatedir='${prefix}/com'
    969 localstatedir='${prefix}/var'
    970 runstatedir='${localstatedir}/run'
    971 includedir='${prefix}/include'
    972 oldincludedir='/usr/include'
    973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    974 infodir='${datarootdir}/info'
    975 htmldir='${docdir}'
    976 dvidir='${docdir}'
    977 pdfdir='${docdir}'
    978 psdir='${docdir}'
    979 libdir='${exec_prefix}/lib'
    980 localedir='${datarootdir}/locale'
    981 mandir='${datarootdir}/man'
    982 
    983 ac_prev=
    984 ac_dashdash=
    985 for ac_option
    986 do
    987   # If the previous option needs an argument, assign it.
    988   if test -n "$ac_prev"; then
    989     eval $ac_prev=\$ac_option
    990     ac_prev=
    991     continue
    992   fi
    993 
    994   case $ac_option in
    995   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    996   *=)   ac_optarg= ;;
    997   *)    ac_optarg=yes ;;
    998   esac
    999 
   1000   case $ac_dashdash$ac_option in
   1001   --)
   1002     ac_dashdash=yes ;;
   1003 
   1004   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1005     ac_prev=bindir ;;
   1006   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1007     bindir=$ac_optarg ;;
   1008 
   1009   -build | --build | --buil | --bui | --bu)
   1010     ac_prev=build_alias ;;
   1011   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1012     build_alias=$ac_optarg ;;
   1013 
   1014   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1015   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1016     ac_prev=cache_file ;;
   1017   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1018   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1019     cache_file=$ac_optarg ;;
   1020 
   1021   --config-cache | -C)
   1022     cache_file=config.cache ;;
   1023 
   1024   -datadir | --datadir | --datadi | --datad)
   1025     ac_prev=datadir ;;
   1026   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1027     datadir=$ac_optarg ;;
   1028 
   1029   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1030   | --dataroo | --dataro | --datar)
   1031     ac_prev=datarootdir ;;
   1032   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1033   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1034     datarootdir=$ac_optarg ;;
   1035 
   1036   -disable-* | --disable-*)
   1037     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1038     # Reject names that are not valid shell variable names.
   1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1040       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1041     ac_useropt_orig=$ac_useropt
   1042     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1043     case $ac_user_opts in
   1044       *"
   1045 "enable_$ac_useropt"
   1046 "*) ;;
   1047       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1048 	 ac_unrecognized_sep=', ';;
   1049     esac
   1050     eval enable_$ac_useropt=no ;;
   1051 
   1052   -docdir | --docdir | --docdi | --doc | --do)
   1053     ac_prev=docdir ;;
   1054   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1055     docdir=$ac_optarg ;;
   1056 
   1057   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1058     ac_prev=dvidir ;;
   1059   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1060     dvidir=$ac_optarg ;;
   1061 
   1062   -enable-* | --enable-*)
   1063     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1064     # Reject names that are not valid shell variable names.
   1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1066       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1067     ac_useropt_orig=$ac_useropt
   1068     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1069     case $ac_user_opts in
   1070       *"
   1071 "enable_$ac_useropt"
   1072 "*) ;;
   1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1074 	 ac_unrecognized_sep=', ';;
   1075     esac
   1076     eval enable_$ac_useropt=\$ac_optarg ;;
   1077 
   1078   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1079   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1080   | --exec | --exe | --ex)
   1081     ac_prev=exec_prefix ;;
   1082   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1083   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1084   | --exec=* | --exe=* | --ex=*)
   1085     exec_prefix=$ac_optarg ;;
   1086 
   1087   -gas | --gas | --ga | --g)
   1088     # Obsolete; use --with-gas.
   1089     with_gas=yes ;;
   1090 
   1091   -help | --help | --hel | --he | -h)
   1092     ac_init_help=long ;;
   1093   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1094     ac_init_help=recursive ;;
   1095   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1096     ac_init_help=short ;;
   1097 
   1098   -host | --host | --hos | --ho)
   1099     ac_prev=host_alias ;;
   1100   -host=* | --host=* | --hos=* | --ho=*)
   1101     host_alias=$ac_optarg ;;
   1102 
   1103   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1104     ac_prev=htmldir ;;
   1105   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1106   | --ht=*)
   1107     htmldir=$ac_optarg ;;
   1108 
   1109   -includedir | --includedir | --includedi | --included | --include \
   1110   | --includ | --inclu | --incl | --inc)
   1111     ac_prev=includedir ;;
   1112   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1113   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1114     includedir=$ac_optarg ;;
   1115 
   1116   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1117     ac_prev=infodir ;;
   1118   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1119     infodir=$ac_optarg ;;
   1120 
   1121   -libdir | --libdir | --libdi | --libd)
   1122     ac_prev=libdir ;;
   1123   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1124     libdir=$ac_optarg ;;
   1125 
   1126   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1127   | --libexe | --libex | --libe)
   1128     ac_prev=libexecdir ;;
   1129   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1130   | --libexe=* | --libex=* | --libe=*)
   1131     libexecdir=$ac_optarg ;;
   1132 
   1133   -localedir | --localedir | --localedi | --localed | --locale)
   1134     ac_prev=localedir ;;
   1135   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1136     localedir=$ac_optarg ;;
   1137 
   1138   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1139   | --localstate | --localstat | --localsta | --localst | --locals)
   1140     ac_prev=localstatedir ;;
   1141   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1142   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1143     localstatedir=$ac_optarg ;;
   1144 
   1145   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1146     ac_prev=mandir ;;
   1147   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1148     mandir=$ac_optarg ;;
   1149 
   1150   -nfp | --nfp | --nf)
   1151     # Obsolete; use --without-fp.
   1152     with_fp=no ;;
   1153 
   1154   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1155   | --no-cr | --no-c | -n)
   1156     no_create=yes ;;
   1157 
   1158   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1159   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1160     no_recursion=yes ;;
   1161 
   1162   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1163   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1164   | --oldin | --oldi | --old | --ol | --o)
   1165     ac_prev=oldincludedir ;;
   1166   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1167   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1168   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1169     oldincludedir=$ac_optarg ;;
   1170 
   1171   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1172     ac_prev=prefix ;;
   1173   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1174     prefix=$ac_optarg ;;
   1175 
   1176   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1177   | --program-pre | --program-pr | --program-p)
   1178     ac_prev=program_prefix ;;
   1179   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1180   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1181     program_prefix=$ac_optarg ;;
   1182 
   1183   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1184   | --program-suf | --program-su | --program-s)
   1185     ac_prev=program_suffix ;;
   1186   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1187   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1188     program_suffix=$ac_optarg ;;
   1189 
   1190   -program-transform-name | --program-transform-name \
   1191   | --program-transform-nam | --program-transform-na \
   1192   | --program-transform-n | --program-transform- \
   1193   | --program-transform | --program-transfor \
   1194   | --program-transfo | --program-transf \
   1195   | --program-trans | --program-tran \
   1196   | --progr-tra | --program-tr | --program-t)
   1197     ac_prev=program_transform_name ;;
   1198   -program-transform-name=* | --program-transform-name=* \
   1199   | --program-transform-nam=* | --program-transform-na=* \
   1200   | --program-transform-n=* | --program-transform-=* \
   1201   | --program-transform=* | --program-transfor=* \
   1202   | --program-transfo=* | --program-transf=* \
   1203   | --program-trans=* | --program-tran=* \
   1204   | --progr-tra=* | --program-tr=* | --program-t=*)
   1205     program_transform_name=$ac_optarg ;;
   1206 
   1207   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1208     ac_prev=pdfdir ;;
   1209   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1210     pdfdir=$ac_optarg ;;
   1211 
   1212   -psdir | --psdir | --psdi | --psd | --ps)
   1213     ac_prev=psdir ;;
   1214   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1215     psdir=$ac_optarg ;;
   1216 
   1217   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1218   | -silent | --silent | --silen | --sile | --sil)
   1219     silent=yes ;;
   1220 
   1221   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1222   | --runstate | --runstat | --runsta | --runst | --runs \
   1223   | --run | --ru | --r)
   1224     ac_prev=runstatedir ;;
   1225   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1226   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1227   | --run=* | --ru=* | --r=*)
   1228     runstatedir=$ac_optarg ;;
   1229 
   1230   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1231     ac_prev=sbindir ;;
   1232   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1233   | --sbi=* | --sb=*)
   1234     sbindir=$ac_optarg ;;
   1235 
   1236   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1237   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1238   | --sharedst | --shareds | --shared | --share | --shar \
   1239   | --sha | --sh)
   1240     ac_prev=sharedstatedir ;;
   1241   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1242   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1243   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1244   | --sha=* | --sh=*)
   1245     sharedstatedir=$ac_optarg ;;
   1246 
   1247   -site | --site | --sit)
   1248     ac_prev=site ;;
   1249   -site=* | --site=* | --sit=*)
   1250     site=$ac_optarg ;;
   1251 
   1252   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1253     ac_prev=srcdir ;;
   1254   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1255     srcdir=$ac_optarg ;;
   1256 
   1257   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1258   | --syscon | --sysco | --sysc | --sys | --sy)
   1259     ac_prev=sysconfdir ;;
   1260   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1261   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1262     sysconfdir=$ac_optarg ;;
   1263 
   1264   -target | --target | --targe | --targ | --tar | --ta | --t)
   1265     ac_prev=target_alias ;;
   1266   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1267     target_alias=$ac_optarg ;;
   1268 
   1269   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1270     verbose=yes ;;
   1271 
   1272   -version | --version | --versio | --versi | --vers | -V)
   1273     ac_init_version=: ;;
   1274 
   1275   -with-* | --with-*)
   1276     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1277     # Reject names that are not valid shell variable names.
   1278     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1279       as_fn_error $? "invalid package name: '$ac_useropt'"
   1280     ac_useropt_orig=$ac_useropt
   1281     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1282     case $ac_user_opts in
   1283       *"
   1284 "with_$ac_useropt"
   1285 "*) ;;
   1286       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1287 	 ac_unrecognized_sep=', ';;
   1288     esac
   1289     eval with_$ac_useropt=\$ac_optarg ;;
   1290 
   1291   -without-* | --without-*)
   1292     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1293     # Reject names that are not valid shell variable names.
   1294     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1295       as_fn_error $? "invalid package name: '$ac_useropt'"
   1296     ac_useropt_orig=$ac_useropt
   1297     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1298     case $ac_user_opts in
   1299       *"
   1300 "with_$ac_useropt"
   1301 "*) ;;
   1302       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1303 	 ac_unrecognized_sep=', ';;
   1304     esac
   1305     eval with_$ac_useropt=no ;;
   1306 
   1307   --x)
   1308     # Obsolete; use --with-x.
   1309     with_x=yes ;;
   1310 
   1311   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1312   | --x-incl | --x-inc | --x-in | --x-i)
   1313     ac_prev=x_includes ;;
   1314   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1315   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1316     x_includes=$ac_optarg ;;
   1317 
   1318   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1319   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1320     ac_prev=x_libraries ;;
   1321   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1322   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1323     x_libraries=$ac_optarg ;;
   1324 
   1325   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1326 Try '$0 --help' for more information"
   1327     ;;
   1328 
   1329   *=*)
   1330     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1331     # Reject names that are not valid shell variable names.
   1332     case $ac_envvar in #(
   1333       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1334       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1335     esac
   1336     eval $ac_envvar=\$ac_optarg
   1337     export $ac_envvar ;;
   1338 
   1339   *)
   1340     # FIXME: should be removed in autoconf 3.0.
   1341     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1342     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1343       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1344     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1345     ;;
   1346 
   1347   esac
   1348 done
   1349 
   1350 if test -n "$ac_prev"; then
   1351   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1352   as_fn_error $? "missing argument to $ac_option"
   1353 fi
   1354 
   1355 if test -n "$ac_unrecognized_opts"; then
   1356   case $enable_option_checking in
   1357     no) ;;
   1358     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1359     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1360   esac
   1361 fi
   1362 
   1363 # Check all directory arguments for consistency.
   1364 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1365 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1366 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1367 		libdir localedir mandir runstatedir
   1368 do
   1369   eval ac_val=\$$ac_var
   1370   # Remove trailing slashes.
   1371   case $ac_val in
   1372     */ )
   1373       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1374       eval $ac_var=\$ac_val;;
   1375   esac
   1376   # Be sure to have absolute directory names.
   1377   case $ac_val in
   1378     [\\/$]* | ?:[\\/]* )  continue;;
   1379     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1380   esac
   1381   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1382 done
   1383 
   1384 # There might be people who depend on the old broken behavior: '$host'
   1385 # used to hold the argument of --host etc.
   1386 # FIXME: To remove some day.
   1387 build=$build_alias
   1388 host=$host_alias
   1389 target=$target_alias
   1390 
   1391 # FIXME: To remove some day.
   1392 if test "x$host_alias" != x; then
   1393   if test "x$build_alias" = x; then
   1394     cross_compiling=maybe
   1395   elif test "x$build_alias" != "x$host_alias"; then
   1396     cross_compiling=yes
   1397   fi
   1398 fi
   1399 
   1400 ac_tool_prefix=
   1401 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1402 
   1403 test "$silent" = yes && exec 6>/dev/null
   1404 
   1405 
   1406 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1407 ac_ls_di=`ls -di .` &&
   1408 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1409   as_fn_error $? "working directory cannot be determined"
   1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1411   as_fn_error $? "pwd does not report name of working directory"
   1412 
   1413 
   1414 # Find the source files, if location was not specified.
   1415 if test -z "$srcdir"; then
   1416   ac_srcdir_defaulted=yes
   1417   # Try the directory containing this script, then the parent directory.
   1418   ac_confdir=`$as_dirname -- "$as_myself" ||
   1419 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1420 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1421 	 X"$as_myself" : 'X\(//\)$' \| \
   1422 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1423 printf "%s\n" X"$as_myself" |
   1424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1425 	    s//\1/
   1426 	    q
   1427 	  }
   1428 	  /^X\(\/\/\)[^/].*/{
   1429 	    s//\1/
   1430 	    q
   1431 	  }
   1432 	  /^X\(\/\/\)$/{
   1433 	    s//\1/
   1434 	    q
   1435 	  }
   1436 	  /^X\(\/\).*/{
   1437 	    s//\1/
   1438 	    q
   1439 	  }
   1440 	  s/.*/./; q'`
   1441   srcdir=$ac_confdir
   1442   if test ! -r "$srcdir/$ac_unique_file"; then
   1443     srcdir=..
   1444   fi
   1445 else
   1446   ac_srcdir_defaulted=no
   1447 fi
   1448 if test ! -r "$srcdir/$ac_unique_file"; then
   1449   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1450   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1451 fi
   1452 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1453 ac_abs_confdir=`(
   1454 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1455 	pwd)`
   1456 # When building in place, set srcdir=.
   1457 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1458   srcdir=.
   1459 fi
   1460 # Remove unnecessary trailing slashes from srcdir.
   1461 # Double slashes in file names in object file debugging info
   1462 # mess up M-x gdb in Emacs.
   1463 case $srcdir in
   1464 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1465 esac
   1466 for ac_var in $ac_precious_vars; do
   1467   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1468   eval ac_env_${ac_var}_value=\$${ac_var}
   1469   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1470   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1471 done
   1472 
   1473 #
   1474 # Report the --help message.
   1475 #
   1476 if test "$ac_init_help" = "long"; then
   1477   # Omit some internal or obsolete options to make the list less imposing.
   1478   # This message is too long to be a string in the A/UX 3.1 sh.
   1479   cat <<_ACEOF
   1480 'configure' configures libXext 1.3.6 to adapt to many kinds of systems.
   1481 
   1482 Usage: $0 [OPTION]... [VAR=VALUE]...
   1483 
   1484 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1485 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1486 
   1487 Defaults for the options are specified in brackets.
   1488 
   1489 Configuration:
   1490   -h, --help              display this help and exit
   1491       --help=short        display options specific to this package
   1492       --help=recursive    display the short help of all the included packages
   1493   -V, --version           display version information and exit
   1494   -q, --quiet, --silent   do not print 'checking ...' messages
   1495       --cache-file=FILE   cache test results in FILE [disabled]
   1496   -C, --config-cache      alias for '--cache-file=config.cache'
   1497   -n, --no-create         do not create output files
   1498       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1499 
   1500 Installation directories:
   1501   --prefix=PREFIX         install architecture-independent files in PREFIX
   1502                           [$ac_default_prefix]
   1503   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1504                           [PREFIX]
   1505 
   1506 By default, 'make install' will install all the files in
   1507 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1508 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1509 for instance '--prefix=\$HOME'.
   1510 
   1511 For better control, use the options below.
   1512 
   1513 Fine tuning of the installation directories:
   1514   --bindir=DIR            user executables [EPREFIX/bin]
   1515   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1516   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1517   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1518   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1519   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1520   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1521   --libdir=DIR            object code libraries [EPREFIX/lib]
   1522   --includedir=DIR        C header files [PREFIX/include]
   1523   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1524   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1525   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1526   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1527   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1528   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1529   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXext]
   1530   --htmldir=DIR           html documentation [DOCDIR]
   1531   --dvidir=DIR            dvi documentation [DOCDIR]
   1532   --pdfdir=DIR            pdf documentation [DOCDIR]
   1533   --psdir=DIR             ps documentation [DOCDIR]
   1534 _ACEOF
   1535 
   1536   cat <<\_ACEOF
   1537 
   1538 Program names:
   1539   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1540   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1541   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1542 
   1543 System types:
   1544   --build=BUILD     configure for building on BUILD [guessed]
   1545   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1546 _ACEOF
   1547 fi
   1548 
   1549 if test -n "$ac_init_help"; then
   1550   case $ac_init_help in
   1551      short | recursive ) echo "Configuration of libXext 1.3.6:";;
   1552    esac
   1553   cat <<\_ACEOF
   1554 
   1555 Optional Features:
   1556   --disable-option-checking  ignore unrecognized --enable/--with options
   1557   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1558   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1559   --enable-dependency-tracking
   1560                           do not reject slow dependency extractors
   1561   --disable-dependency-tracking
   1562                           speeds up one-time build
   1563   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1564   --disable-silent-rules  verbose build output (undo: "make V=0")
   1565   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1566   --enable-static[=PKGS]  build static libraries [default=yes]
   1567   --enable-fast-install[=PKGS]
   1568                           optimize for fast installation [default=yes]
   1569   --disable-libtool-lock  avoid locking (might break parallel builds)
   1570   --disable-selective-werror
   1571                           Turn off selective compiler errors. (default:
   1572                           enabled)
   1573   --enable-strict-compilation
   1574                           Enable all warnings from compiler and make them
   1575                           errors (default: disabled)
   1576   --enable-specs          Enable building the specs (default: yes)
   1577   --enable-malloc0returnsnull
   1578                           malloc(0) returns NULL (default: auto)
   1579   --enable-lint-library   Create lint library (default: disabled)
   1580 
   1581 Optional Packages:
   1582   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1583   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1584   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1585                           both]
   1586   --with-aix-soname=aix|svr4|both
   1587                           shared library versioning (aka "SONAME") variant to
   1588                           provide on AIX, [default=aix].
   1589   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1590   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1591                           compiler's sysroot if not specified).
   1592   --with-xmlto            Use xmlto to regenerate documentation (default:
   1593                           auto)
   1594   --with-fop              Use fop to regenerate documentation (default: auto)
   1595   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1596                           (default: auto)
   1597   --with-lint             Use a lint-style source code checker (default:
   1598                           disabled)
   1599 
   1600 Some influential environment variables:
   1601   CC          C compiler command
   1602   CFLAGS      C compiler flags
   1603   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1604               nonstandard directory <lib dir>
   1605   LIBS        libraries to pass to the linker, e.g. -l<library>
   1606   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1607               you have headers in a nonstandard directory <include dir>
   1608   LT_SYS_LIBRARY_PATH
   1609               User-defined run-time library search path.
   1610   PKG_CONFIG  path to pkg-config utility
   1611   PKG_CONFIG_PATH
   1612               directories to add to pkg-config's search path
   1613   PKG_CONFIG_LIBDIR
   1614               path overriding pkg-config's built-in search path
   1615   XMLTO       Path to xmlto command
   1616   FOP         Path to fop command
   1617   XSLTPROC    Path to xsltproc command
   1618   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1619   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1620   LINT        Path to a lint-style command
   1621   LINT_FLAGS  Flags for the lint-style command
   1622 
   1623 Use these variables to override the choices made by 'configure' or to help
   1624 it to find libraries and programs with nonstandard names/locations.
   1625 
   1626 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues>.
   1627 _ACEOF
   1628 ac_status=$?
   1629 fi
   1630 
   1631 if test "$ac_init_help" = "recursive"; then
   1632   # If there are subdirs, report their specific --help.
   1633   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1634     test -d "$ac_dir" ||
   1635       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1636       continue
   1637     ac_builddir=.
   1638 
   1639 case "$ac_dir" in
   1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1641 *)
   1642   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1643   # A ".." for each directory in $ac_dir_suffix.
   1644   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1645   case $ac_top_builddir_sub in
   1646   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1647   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1648   esac ;;
   1649 esac
   1650 ac_abs_top_builddir=$ac_pwd
   1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1652 # for backward compatibility:
   1653 ac_top_builddir=$ac_top_build_prefix
   1654 
   1655 case $srcdir in
   1656   .)  # We are building in place.
   1657     ac_srcdir=.
   1658     ac_top_srcdir=$ac_top_builddir_sub
   1659     ac_abs_top_srcdir=$ac_pwd ;;
   1660   [\\/]* | ?:[\\/]* )  # Absolute name.
   1661     ac_srcdir=$srcdir$ac_dir_suffix;
   1662     ac_top_srcdir=$srcdir
   1663     ac_abs_top_srcdir=$srcdir ;;
   1664   *) # Relative name.
   1665     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1666     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1667     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1668 esac
   1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1670 
   1671     cd "$ac_dir" || { ac_status=$?; continue; }
   1672     # Check for configure.gnu first; this name is used for a wrapper for
   1673     # Metaconfig's "Configure" on case-insensitive file systems.
   1674     if test -f "$ac_srcdir/configure.gnu"; then
   1675       echo &&
   1676       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1677     elif test -f "$ac_srcdir/configure"; then
   1678       echo &&
   1679       $SHELL "$ac_srcdir/configure" --help=recursive
   1680     else
   1681       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1682     fi || ac_status=$?
   1683     cd "$ac_pwd" || { ac_status=$?; break; }
   1684   done
   1685 fi
   1686 
   1687 test -n "$ac_init_help" && exit $ac_status
   1688 if $ac_init_version; then
   1689   cat <<\_ACEOF
   1690 libXext configure 1.3.6
   1691 generated by GNU Autoconf 2.72
   1692 
   1693 Copyright (C) 2023 Free Software Foundation, Inc.
   1694 This configure script is free software; the Free Software Foundation
   1695 gives unlimited permission to copy, distribute and modify it.
   1696 _ACEOF
   1697   exit
   1698 fi
   1699 
   1700 ## ------------------------ ##
   1701 ## Autoconf initialization. ##
   1702 ## ------------------------ ##
   1703 
   1704 # ac_fn_c_try_compile LINENO
   1705 # --------------------------
   1706 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1707 ac_fn_c_try_compile ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   rm -f conftest.$ac_objext conftest.beam
   1711   if { { ac_try="$ac_compile"
   1712 case "(($ac_try" in
   1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1714   *) ac_try_echo=$ac_try;;
   1715 esac
   1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1717 printf "%s\n" "$ac_try_echo"; } >&5
   1718   (eval "$ac_compile") 2>conftest.err
   1719   ac_status=$?
   1720   if test -s conftest.err; then
   1721     grep -v '^ *+' conftest.err >conftest.er1
   1722     cat conftest.er1 >&5
   1723     mv -f conftest.er1 conftest.err
   1724   fi
   1725   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1726   test $ac_status = 0; } && {
   1727 	 test -z "$ac_c_werror_flag" ||
   1728 	 test ! -s conftest.err
   1729        } && test -s conftest.$ac_objext
   1730 then :
   1731   ac_retval=0
   1732 else case e in #(
   1733   e) printf "%s\n" "$as_me: failed program was:" >&5
   1734 sed 's/^/| /' conftest.$ac_ext >&5
   1735 
   1736 	ac_retval=1 ;;
   1737 esac
   1738 fi
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740   as_fn_set_status $ac_retval
   1741 
   1742 } # ac_fn_c_try_compile
   1743 
   1744 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1745 # -------------------------------------------------------
   1746 # Tests whether HEADER exists and can be compiled using the include files in
   1747 # INCLUDES, setting the cache variable VAR accordingly.
   1748 ac_fn_c_check_header_compile ()
   1749 {
   1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1752 printf %s "checking for $2... " >&6; }
   1753 if eval test \${$3+y}
   1754 then :
   1755   printf %s "(cached) " >&6
   1756 else case e in #(
   1757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1758 /* end confdefs.h.  */
   1759 $4
   1760 #include <$2>
   1761 _ACEOF
   1762 if ac_fn_c_try_compile "$LINENO"
   1763 then :
   1764   eval "$3=yes"
   1765 else case e in #(
   1766   e) eval "$3=no" ;;
   1767 esac
   1768 fi
   1769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1770 esac
   1771 fi
   1772 eval ac_res=\$$3
   1773 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1774 printf "%s\n" "$ac_res" >&6; }
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776 
   1777 } # ac_fn_c_check_header_compile
   1778 
   1779 # ac_fn_c_try_link LINENO
   1780 # -----------------------
   1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1782 ac_fn_c_try_link ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1786   if { { ac_try="$ac_link"
   1787 case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 printf "%s\n" "$ac_try_echo"; } >&5
   1793   (eval "$ac_link") 2>conftest.err
   1794   ac_status=$?
   1795   if test -s conftest.err; then
   1796     grep -v '^ *+' conftest.err >conftest.er1
   1797     cat conftest.er1 >&5
   1798     mv -f conftest.er1 conftest.err
   1799   fi
   1800   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; } && {
   1802 	 test -z "$ac_c_werror_flag" ||
   1803 	 test ! -s conftest.err
   1804        } && test -s conftest$ac_exeext && {
   1805 	 test "$cross_compiling" = yes ||
   1806 	 test -x conftest$ac_exeext
   1807        }
   1808 then :
   1809   ac_retval=0
   1810 else case e in #(
   1811   e) printf "%s\n" "$as_me: failed program was:" >&5
   1812 sed 's/^/| /' conftest.$ac_ext >&5
   1813 
   1814 	ac_retval=1 ;;
   1815 esac
   1816 fi
   1817   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1818   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1819   # interfere with the next link command; also delete a directory that is
   1820   # left behind by Apple's compiler.  We do this before executing the actions.
   1821   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1823   as_fn_set_status $ac_retval
   1824 
   1825 } # ac_fn_c_try_link
   1826 
   1827 # ac_fn_c_check_func LINENO FUNC VAR
   1828 # ----------------------------------
   1829 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1830 ac_fn_c_check_func ()
   1831 {
   1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1834 printf %s "checking for $2... " >&6; }
   1835 if eval test \${$3+y}
   1836 then :
   1837   printf %s "(cached) " >&6
   1838 else case e in #(
   1839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1840 /* end confdefs.h.  */
   1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1843 #define $2 innocuous_$2
   1844 
   1845 /* System header to define __stub macros and hopefully few prototypes,
   1846    which can conflict with char $2 (void); below.  */
   1847 
   1848 #include <limits.h>
   1849 #undef $2
   1850 
   1851 /* Override any GCC internal prototype to avoid an error.
   1852    Use char because int might match the return type of a GCC
   1853    builtin and then its argument prototype would still apply.  */
   1854 #ifdef __cplusplus
   1855 extern "C"
   1856 #endif
   1857 char $2 (void);
   1858 /* The GNU C library defines this for functions which it implements
   1859     to always fail with ENOSYS.  Some functions are actually named
   1860     something starting with __ and the normal name is an alias.  */
   1861 #if defined __stub_$2 || defined __stub___$2
   1862 choke me
   1863 #endif
   1864 
   1865 int
   1866 main (void)
   1867 {
   1868 return $2 ();
   1869   ;
   1870   return 0;
   1871 }
   1872 _ACEOF
   1873 if ac_fn_c_try_link "$LINENO"
   1874 then :
   1875   eval "$3=yes"
   1876 else case e in #(
   1877   e) eval "$3=no" ;;
   1878 esac
   1879 fi
   1880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1881     conftest$ac_exeext conftest.$ac_ext ;;
   1882 esac
   1883 fi
   1884 eval ac_res=\$$3
   1885 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1886 printf "%s\n" "$ac_res" >&6; }
   1887   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1888 
   1889 } # ac_fn_c_check_func
   1890 
   1891 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1892 # ------------------------------------------------------------------
   1893 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1894 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1895 ac_fn_check_decl ()
   1896 {
   1897   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1898   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1900 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1901 if eval test \${$3+y}
   1902 then :
   1903   printf %s "(cached) " >&6
   1904 else case e in #(
   1905   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1906   eval ac_save_FLAGS=\$$6
   1907   as_fn_append $6 " $5"
   1908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1909 /* end confdefs.h.  */
   1910 $4
   1911 int
   1912 main (void)
   1913 {
   1914 #ifndef $as_decl_name
   1915 #ifdef __cplusplus
   1916   (void) $as_decl_use;
   1917 #else
   1918   (void) $as_decl_name;
   1919 #endif
   1920 #endif
   1921 
   1922   ;
   1923   return 0;
   1924 }
   1925 _ACEOF
   1926 if ac_fn_c_try_compile "$LINENO"
   1927 then :
   1928   eval "$3=yes"
   1929 else case e in #(
   1930   e) eval "$3=no" ;;
   1931 esac
   1932 fi
   1933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1934   eval $6=\$ac_save_FLAGS
   1935  ;;
   1936 esac
   1937 fi
   1938 eval ac_res=\$$3
   1939 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1940 printf "%s\n" "$ac_res" >&6; }
   1941   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1942 
   1943 } # ac_fn_check_decl
   1944 
   1945 # ac_fn_c_try_run LINENO
   1946 # ----------------------
   1947 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1948 # executables *can* be run.
   1949 ac_fn_c_try_run ()
   1950 {
   1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1952   if { { ac_try="$ac_link"
   1953 case "(($ac_try" in
   1954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1955   *) ac_try_echo=$ac_try;;
   1956 esac
   1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1958 printf "%s\n" "$ac_try_echo"; } >&5
   1959   (eval "$ac_link") 2>&5
   1960   ac_status=$?
   1961   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1962   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1963   { { case "(($ac_try" in
   1964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1965   *) ac_try_echo=$ac_try;;
   1966 esac
   1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1968 printf "%s\n" "$ac_try_echo"; } >&5
   1969   (eval "$ac_try") 2>&5
   1970   ac_status=$?
   1971   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1972   test $ac_status = 0; }; }
   1973 then :
   1974   ac_retval=0
   1975 else case e in #(
   1976   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1977        printf "%s\n" "$as_me: failed program was:" >&5
   1978 sed 's/^/| /' conftest.$ac_ext >&5
   1979 
   1980        ac_retval=$ac_status ;;
   1981 esac
   1982 fi
   1983   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1984   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1985   as_fn_set_status $ac_retval
   1986 
   1987 } # ac_fn_c_try_run
   1988 ac_configure_args_raw=
   1989 for ac_arg
   1990 do
   1991   case $ac_arg in
   1992   *\'*)
   1993     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1994   esac
   1995   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1996 done
   1997 
   1998 case $ac_configure_args_raw in
   1999   *$as_nl*)
   2000     ac_safe_unquote= ;;
   2001   *)
   2002     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2003     ac_unsafe_a="$ac_unsafe_z#~"
   2004     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2005     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2006 esac
   2007 
   2008 cat >config.log <<_ACEOF
   2009 This file contains any messages produced by compilers while
   2010 running configure, to aid debugging if configure makes a mistake.
   2011 
   2012 It was created by libXext $as_me 1.3.6, which was
   2013 generated by GNU Autoconf 2.72.  Invocation command line was
   2014 
   2015   $ $0$ac_configure_args_raw
   2016 
   2017 _ACEOF
   2018 exec 5>>config.log
   2019 {
   2020 cat <<_ASUNAME
   2021 ## --------- ##
   2022 ## Platform. ##
   2023 ## --------- ##
   2024 
   2025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2030 
   2031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2032 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2033 
   2034 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2035 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2037 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2038 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2039 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2040 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2041 
   2042 _ASUNAME
   2043 
   2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2045 for as_dir in $PATH
   2046 do
   2047   IFS=$as_save_IFS
   2048   case $as_dir in #(((
   2049     '') as_dir=./ ;;
   2050     */) ;;
   2051     *) as_dir=$as_dir/ ;;
   2052   esac
   2053     printf "%s\n" "PATH: $as_dir"
   2054   done
   2055 IFS=$as_save_IFS
   2056 
   2057 } >&5
   2058 
   2059 cat >&5 <<_ACEOF
   2060 
   2061 
   2062 ## ----------- ##
   2063 ## Core tests. ##
   2064 ## ----------- ##
   2065 
   2066 _ACEOF
   2067 
   2068 
   2069 # Keep a trace of the command line.
   2070 # Strip out --no-create and --no-recursion so they do not pile up.
   2071 # Strip out --silent because we don't want to record it for future runs.
   2072 # Also quote any args containing shell meta-characters.
   2073 # Make two passes to allow for proper duplicate-argument suppression.
   2074 ac_configure_args=
   2075 ac_configure_args0=
   2076 ac_configure_args1=
   2077 ac_must_keep_next=false
   2078 for ac_pass in 1 2
   2079 do
   2080   for ac_arg
   2081   do
   2082     case $ac_arg in
   2083     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2084     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2085     | -silent | --silent | --silen | --sile | --sil)
   2086       continue ;;
   2087     *\'*)
   2088       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2089     esac
   2090     case $ac_pass in
   2091     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2092     2)
   2093       as_fn_append ac_configure_args1 " '$ac_arg'"
   2094       if test $ac_must_keep_next = true; then
   2095 	ac_must_keep_next=false # Got value, back to normal.
   2096       else
   2097 	case $ac_arg in
   2098 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2099 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2100 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2101 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2102 	    case "$ac_configure_args0 " in
   2103 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2104 	    esac
   2105 	    ;;
   2106 	  -* ) ac_must_keep_next=true ;;
   2107 	esac
   2108       fi
   2109       as_fn_append ac_configure_args " '$ac_arg'"
   2110       ;;
   2111     esac
   2112   done
   2113 done
   2114 { ac_configure_args0=; unset ac_configure_args0;}
   2115 { ac_configure_args1=; unset ac_configure_args1;}
   2116 
   2117 # When interrupted or exit'd, cleanup temporary files, and complete
   2118 # config.log.  We remove comments because anyway the quotes in there
   2119 # would cause problems or look ugly.
   2120 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2122 trap 'exit_status=$?
   2123   # Sanitize IFS.
   2124   IFS=" ""	$as_nl"
   2125   # Save into config.log some information that might help in debugging.
   2126   {
   2127     echo
   2128 
   2129     printf "%s\n" "## ---------------- ##
   2130 ## Cache variables. ##
   2131 ## ---------------- ##"
   2132     echo
   2133     # The following way of writing the cache mishandles newlines in values,
   2134 (
   2135   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2136     eval ac_val=\$$ac_var
   2137     case $ac_val in #(
   2138     *${as_nl}*)
   2139       case $ac_var in #(
   2140       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2141 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2142       esac
   2143       case $ac_var in #(
   2144       _ | IFS | as_nl) ;; #(
   2145       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2146       *) { eval $ac_var=; unset $ac_var;} ;;
   2147       esac ;;
   2148     esac
   2149   done
   2150   (set) 2>&1 |
   2151     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2152     *${as_nl}ac_space=\ *)
   2153       sed -n \
   2154 	"s/'\''/'\''\\\\'\'''\''/g;
   2155 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2156       ;; #(
   2157     *)
   2158       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2159       ;;
   2160     esac |
   2161     sort
   2162 )
   2163     echo
   2164 
   2165     printf "%s\n" "## ----------------- ##
   2166 ## Output variables. ##
   2167 ## ----------------- ##"
   2168     echo
   2169     for ac_var in $ac_subst_vars
   2170     do
   2171       eval ac_val=\$$ac_var
   2172       case $ac_val in
   2173       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2174       esac
   2175       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2176     done | sort
   2177     echo
   2178 
   2179     if test -n "$ac_subst_files"; then
   2180       printf "%s\n" "## ------------------- ##
   2181 ## File substitutions. ##
   2182 ## ------------------- ##"
   2183       echo
   2184       for ac_var in $ac_subst_files
   2185       do
   2186 	eval ac_val=\$$ac_var
   2187 	case $ac_val in
   2188 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2189 	esac
   2190 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2191       done | sort
   2192       echo
   2193     fi
   2194 
   2195     if test -s confdefs.h; then
   2196       printf "%s\n" "## ----------- ##
   2197 ## confdefs.h. ##
   2198 ## ----------- ##"
   2199       echo
   2200       cat confdefs.h
   2201       echo
   2202     fi
   2203     test "$ac_signal" != 0 &&
   2204       printf "%s\n" "$as_me: caught signal $ac_signal"
   2205     printf "%s\n" "$as_me: exit $exit_status"
   2206   } >&5
   2207   rm -f core *.core core.conftest.* &&
   2208     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2209     exit $exit_status
   2210 ' 0
   2211 for ac_signal in 1 2 13 15; do
   2212   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2213 done
   2214 ac_signal=0
   2215 
   2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2217 rm -f -r conftest* confdefs.h
   2218 
   2219 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2220 
   2221 # Predefined preprocessor variables.
   2222 
   2223 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2224 
   2225 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2226 
   2227 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2228 
   2229 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2230 
   2231 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2232 
   2233 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2234 
   2235 
   2236 # Let the site file select an alternate cache file if it wants to.
   2237 # Prefer an explicitly selected file to automatically selected ones.
   2238 if test -n "$CONFIG_SITE"; then
   2239   ac_site_files="$CONFIG_SITE"
   2240 elif test "x$prefix" != xNONE; then
   2241   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2242 else
   2243   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2244 fi
   2245 
   2246 for ac_site_file in $ac_site_files
   2247 do
   2248   case $ac_site_file in #(
   2249   */*) :
   2250      ;; #(
   2251   *) :
   2252     ac_site_file=./$ac_site_file ;;
   2253 esac
   2254   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2255     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2256 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2257     sed 's/^/| /' "$ac_site_file" >&5
   2258     . "$ac_site_file" \
   2259       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2260 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2261 as_fn_error $? "failed to load site script $ac_site_file
   2262 See 'config.log' for more details" "$LINENO" 5; }
   2263   fi
   2264 done
   2265 
   2266 if test -r "$cache_file"; then
   2267   # Some versions of bash will fail to source /dev/null (special files
   2268   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2269   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2270     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2271 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2272     case $cache_file in
   2273       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2274       *)                      . "./$cache_file";;
   2275     esac
   2276   fi
   2277 else
   2278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2279 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2280   >$cache_file
   2281 fi
   2282 
   2283 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2284 # Test code for whether the C compiler supports C89 (global declarations)
   2285 ac_c_conftest_c89_globals='
   2286 /* Does the compiler advertise C89 conformance?
   2287    Do not test the value of __STDC__, because some compilers set it to 0
   2288    while being otherwise adequately conformant. */
   2289 #if !defined __STDC__
   2290 # error "Compiler does not advertise C89 conformance"
   2291 #endif
   2292 
   2293 #include <stddef.h>
   2294 #include <stdarg.h>
   2295 struct stat;
   2296 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2297 struct buf { int x; };
   2298 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2299 static char *e (char **p, int i)
   2300 {
   2301   return p[i];
   2302 }
   2303 static char *f (char * (*g) (char **, int), char **p, ...)
   2304 {
   2305   char *s;
   2306   va_list v;
   2307   va_start (v,p);
   2308   s = g (p, va_arg (v,int));
   2309   va_end (v);
   2310   return s;
   2311 }
   2312 
   2313 /* C89 style stringification. */
   2314 #define noexpand_stringify(a) #a
   2315 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2316 
   2317 /* C89 style token pasting.  Exercises some of the corner cases that
   2318    e.g. old MSVC gets wrong, but not very hard. */
   2319 #define noexpand_concat(a,b) a##b
   2320 #define expand_concat(a,b) noexpand_concat(a,b)
   2321 extern int vA;
   2322 extern int vbee;
   2323 #define aye A
   2324 #define bee B
   2325 int *pvA = &expand_concat(v,aye);
   2326 int *pvbee = &noexpand_concat(v,bee);
   2327 
   2328 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2329    function prototypes and stuff, but not \xHH hex character constants.
   2330    These do not provoke an error unfortunately, instead are silently treated
   2331    as an "x".  The following induces an error, until -std is added to get
   2332    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2333    array size at least.  It is necessary to write \x00 == 0 to get something
   2334    that is true only with -std.  */
   2335 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2336 
   2337 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2338    inside strings and character constants.  */
   2339 #define FOO(x) '\''x'\''
   2340 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2341 
   2342 int test (int i, double x);
   2343 struct s1 {int (*f) (int a);};
   2344 struct s2 {int (*f) (double a);};
   2345 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2346                int, int);'
   2347 
   2348 # Test code for whether the C compiler supports C89 (body of main).
   2349 ac_c_conftest_c89_main='
   2350 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2351 '
   2352 
   2353 # Test code for whether the C compiler supports C99 (global declarations)
   2354 ac_c_conftest_c99_globals='
   2355 /* Does the compiler advertise C99 conformance? */
   2356 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2357 # error "Compiler does not advertise C99 conformance"
   2358 #endif
   2359 
   2360 // See if C++-style comments work.
   2361 
   2362 #include <stdbool.h>
   2363 extern int puts (const char *);
   2364 extern int printf (const char *, ...);
   2365 extern int dprintf (int, const char *, ...);
   2366 extern void *malloc (size_t);
   2367 extern void free (void *);
   2368 
   2369 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2370 // dprintf is used instead of fprintf to avoid needing to declare
   2371 // FILE and stderr.
   2372 #define debug(...) dprintf (2, __VA_ARGS__)
   2373 #define showlist(...) puts (#__VA_ARGS__)
   2374 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2375 static void
   2376 test_varargs_macros (void)
   2377 {
   2378   int x = 1234;
   2379   int y = 5678;
   2380   debug ("Flag");
   2381   debug ("X = %d\n", x);
   2382   showlist (The first, second, and third items.);
   2383   report (x>y, "x is %d but y is %d", x, y);
   2384 }
   2385 
   2386 // Check long long types.
   2387 #define BIG64 18446744073709551615ull
   2388 #define BIG32 4294967295ul
   2389 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2390 #if !BIG_OK
   2391   #error "your preprocessor is broken"
   2392 #endif
   2393 #if BIG_OK
   2394 #else
   2395   #error "your preprocessor is broken"
   2396 #endif
   2397 static long long int bignum = -9223372036854775807LL;
   2398 static unsigned long long int ubignum = BIG64;
   2399 
   2400 struct incomplete_array
   2401 {
   2402   int datasize;
   2403   double data[];
   2404 };
   2405 
   2406 struct named_init {
   2407   int number;
   2408   const wchar_t *name;
   2409   double average;
   2410 };
   2411 
   2412 typedef const char *ccp;
   2413 
   2414 static inline int
   2415 test_restrict (ccp restrict text)
   2416 {
   2417   // Iterate through items via the restricted pointer.
   2418   // Also check for declarations in for loops.
   2419   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2420     continue;
   2421   return 0;
   2422 }
   2423 
   2424 // Check varargs and va_copy.
   2425 static bool
   2426 test_varargs (const char *format, ...)
   2427 {
   2428   va_list args;
   2429   va_start (args, format);
   2430   va_list args_copy;
   2431   va_copy (args_copy, args);
   2432 
   2433   const char *str = "";
   2434   int number = 0;
   2435   float fnumber = 0;
   2436 
   2437   while (*format)
   2438     {
   2439       switch (*format++)
   2440 	{
   2441 	case '\''s'\'': // string
   2442 	  str = va_arg (args_copy, const char *);
   2443 	  break;
   2444 	case '\''d'\'': // int
   2445 	  number = va_arg (args_copy, int);
   2446 	  break;
   2447 	case '\''f'\'': // float
   2448 	  fnumber = va_arg (args_copy, double);
   2449 	  break;
   2450 	default:
   2451 	  break;
   2452 	}
   2453     }
   2454   va_end (args_copy);
   2455   va_end (args);
   2456 
   2457   return *str && number && fnumber;
   2458 }
   2459 '
   2460 
   2461 # Test code for whether the C compiler supports C99 (body of main).
   2462 ac_c_conftest_c99_main='
   2463   // Check bool.
   2464   _Bool success = false;
   2465   success |= (argc != 0);
   2466 
   2467   // Check restrict.
   2468   if (test_restrict ("String literal") == 0)
   2469     success = true;
   2470   char *restrict newvar = "Another string";
   2471 
   2472   // Check varargs.
   2473   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2474   test_varargs_macros ();
   2475 
   2476   // Check flexible array members.
   2477   struct incomplete_array *ia =
   2478     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2479   ia->datasize = 10;
   2480   for (int i = 0; i < ia->datasize; ++i)
   2481     ia->data[i] = i * 1.234;
   2482   // Work around memory leak warnings.
   2483   free (ia);
   2484 
   2485   // Check named initializers.
   2486   struct named_init ni = {
   2487     .number = 34,
   2488     .name = L"Test wide string",
   2489     .average = 543.34343,
   2490   };
   2491 
   2492   ni.number = 58;
   2493 
   2494   int dynamic_array[ni.number];
   2495   dynamic_array[0] = argv[0][0];
   2496   dynamic_array[ni.number - 1] = 543;
   2497 
   2498   // work around unused variable warnings
   2499   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2500 	 || dynamic_array[ni.number - 1] != 543);
   2501 '
   2502 
   2503 # Test code for whether the C compiler supports C11 (global declarations)
   2504 ac_c_conftest_c11_globals='
   2505 /* Does the compiler advertise C11 conformance? */
   2506 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2507 # error "Compiler does not advertise C11 conformance"
   2508 #endif
   2509 
   2510 // Check _Alignas.
   2511 char _Alignas (double) aligned_as_double;
   2512 char _Alignas (0) no_special_alignment;
   2513 extern char aligned_as_int;
   2514 char _Alignas (0) _Alignas (int) aligned_as_int;
   2515 
   2516 // Check _Alignof.
   2517 enum
   2518 {
   2519   int_alignment = _Alignof (int),
   2520   int_array_alignment = _Alignof (int[100]),
   2521   char_alignment = _Alignof (char)
   2522 };
   2523 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2524 
   2525 // Check _Noreturn.
   2526 int _Noreturn does_not_return (void) { for (;;) continue; }
   2527 
   2528 // Check _Static_assert.
   2529 struct test_static_assert
   2530 {
   2531   int x;
   2532   _Static_assert (sizeof (int) <= sizeof (long int),
   2533                   "_Static_assert does not work in struct");
   2534   long int y;
   2535 };
   2536 
   2537 // Check UTF-8 literals.
   2538 #define u8 syntax error!
   2539 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2540 
   2541 // Check duplicate typedefs.
   2542 typedef long *long_ptr;
   2543 typedef long int *long_ptr;
   2544 typedef long_ptr long_ptr;
   2545 
   2546 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2547 struct anonymous
   2548 {
   2549   union {
   2550     struct { int i; int j; };
   2551     struct { int k; long int l; } w;
   2552   };
   2553   int m;
   2554 } v1;
   2555 '
   2556 
   2557 # Test code for whether the C compiler supports C11 (body of main).
   2558 ac_c_conftest_c11_main='
   2559   _Static_assert ((offsetof (struct anonymous, i)
   2560 		   == offsetof (struct anonymous, w.k)),
   2561 		  "Anonymous union alignment botch");
   2562   v1.i = 2;
   2563   v1.w.k = 5;
   2564   ok |= v1.i != 5;
   2565 '
   2566 
   2567 # Test code for whether the C compiler supports C11 (complete).
   2568 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2569 ${ac_c_conftest_c99_globals}
   2570 ${ac_c_conftest_c11_globals}
   2571 
   2572 int
   2573 main (int argc, char **argv)
   2574 {
   2575   int ok = 0;
   2576   ${ac_c_conftest_c89_main}
   2577   ${ac_c_conftest_c99_main}
   2578   ${ac_c_conftest_c11_main}
   2579   return ok;
   2580 }
   2581 "
   2582 
   2583 # Test code for whether the C compiler supports C99 (complete).
   2584 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2585 ${ac_c_conftest_c99_globals}
   2586 
   2587 int
   2588 main (int argc, char **argv)
   2589 {
   2590   int ok = 0;
   2591   ${ac_c_conftest_c89_main}
   2592   ${ac_c_conftest_c99_main}
   2593   return ok;
   2594 }
   2595 "
   2596 
   2597 # Test code for whether the C compiler supports C89 (complete).
   2598 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2599 
   2600 int
   2601 main (int argc, char **argv)
   2602 {
   2603   int ok = 0;
   2604   ${ac_c_conftest_c89_main}
   2605   return ok;
   2606 }
   2607 "
   2608 
   2609 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2610 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2611 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2612 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2613 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2614 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2615 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2616 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2617 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2618 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2619 
   2620 # Auxiliary files required by this configure script.
   2621 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2622 
   2623 # Locations in which to look for auxiliary files.
   2624 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2625 
   2626 # Search for a directory containing all of the required auxiliary files,
   2627 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2628 # If we don't find one directory that contains all the files we need,
   2629 # we report the set of missing files from the *first* directory in
   2630 # $ac_aux_dir_candidates and give up.
   2631 ac_missing_aux_files=""
   2632 ac_first_candidate=:
   2633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2635 as_found=false
   2636 for as_dir in $ac_aux_dir_candidates
   2637 do
   2638   IFS=$as_save_IFS
   2639   case $as_dir in #(((
   2640     '') as_dir=./ ;;
   2641     */) ;;
   2642     *) as_dir=$as_dir/ ;;
   2643   esac
   2644   as_found=:
   2645 
   2646   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2647   ac_aux_dir_found=yes
   2648   ac_install_sh=
   2649   for ac_aux in $ac_aux_files
   2650   do
   2651     # As a special case, if "install-sh" is required, that requirement
   2652     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2653     # and $ac_install_sh is set appropriately for whichever one is found.
   2654     if test x"$ac_aux" = x"install-sh"
   2655     then
   2656       if test -f "${as_dir}install-sh"; then
   2657         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2658         ac_install_sh="${as_dir}install-sh -c"
   2659       elif test -f "${as_dir}install.sh"; then
   2660         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2661         ac_install_sh="${as_dir}install.sh -c"
   2662       elif test -f "${as_dir}shtool"; then
   2663         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2664         ac_install_sh="${as_dir}shtool install -c"
   2665       else
   2666         ac_aux_dir_found=no
   2667         if $ac_first_candidate; then
   2668           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2669         else
   2670           break
   2671         fi
   2672       fi
   2673     else
   2674       if test -f "${as_dir}${ac_aux}"; then
   2675         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2676       else
   2677         ac_aux_dir_found=no
   2678         if $ac_first_candidate; then
   2679           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2680         else
   2681           break
   2682         fi
   2683       fi
   2684     fi
   2685   done
   2686   if test "$ac_aux_dir_found" = yes; then
   2687     ac_aux_dir="$as_dir"
   2688     break
   2689   fi
   2690   ac_first_candidate=false
   2691 
   2692   as_found=false
   2693 done
   2694 IFS=$as_save_IFS
   2695 if $as_found
   2696 then :
   2697 
   2698 else case e in #(
   2699   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2700 esac
   2701 fi
   2702 
   2703 
   2704 # These three variables are undocumented and unsupported,
   2705 # and are intended to be withdrawn in a future Autoconf release.
   2706 # They can cause serious problems if a builder's source tree is in a directory
   2707 # whose full name contains unusual characters.
   2708 if test -f "${ac_aux_dir}config.guess"; then
   2709   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2710 fi
   2711 if test -f "${ac_aux_dir}config.sub"; then
   2712   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2713 fi
   2714 if test -f "$ac_aux_dir/configure"; then
   2715   ac_configure="$SHELL ${ac_aux_dir}configure"
   2716 fi
   2717 
   2718 # Check that the precious variables saved in the cache have kept the same
   2719 # value.
   2720 ac_cache_corrupted=false
   2721 for ac_var in $ac_precious_vars; do
   2722   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2723   eval ac_new_set=\$ac_env_${ac_var}_set
   2724   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2725   eval ac_new_val=\$ac_env_${ac_var}_value
   2726   case $ac_old_set,$ac_new_set in
   2727     set,)
   2728       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2729 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2730       ac_cache_corrupted=: ;;
   2731     ,set)
   2732       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2733 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2734       ac_cache_corrupted=: ;;
   2735     ,);;
   2736     *)
   2737       if test "x$ac_old_val" != "x$ac_new_val"; then
   2738 	# differences in whitespace do not lead to failure.
   2739 	ac_old_val_w=`echo x $ac_old_val`
   2740 	ac_new_val_w=`echo x $ac_new_val`
   2741 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2742 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2743 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2744 	  ac_cache_corrupted=:
   2745 	else
   2746 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2747 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2748 	  eval $ac_var=\$ac_old_val
   2749 	fi
   2750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2751 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2753 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2754       fi;;
   2755   esac
   2756   # Pass precious variables to config.status.
   2757   if test "$ac_new_set" = set; then
   2758     case $ac_new_val in
   2759     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2760     *) ac_arg=$ac_var=$ac_new_val ;;
   2761     esac
   2762     case " $ac_configure_args " in
   2763       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2764       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2765     esac
   2766   fi
   2767 done
   2768 if $ac_cache_corrupted; then
   2769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2770 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2772 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2773   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2774 	    and start over" "$LINENO" 5
   2775 fi
   2776 ## -------------------- ##
   2777 ## Main body of script. ##
   2778 ## -------------------- ##
   2779 
   2780 ac_ext=c
   2781 ac_cpp='$CPP $CPPFLAGS'
   2782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2785 
   2786 
   2787 
   2788 ac_config_headers="$ac_config_headers config.h"
   2789 
   2790 
   2791 
   2792 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2793 # Must be called before any macros that run the compiler (like LT_INIT)
   2794 # to avoid autoconf errors.
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 # Expand $ac_aux_dir to an absolute path.
   2807 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2808 
   2809 ac_ext=c
   2810 ac_cpp='$CPP $CPPFLAGS'
   2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2814 if test -n "$ac_tool_prefix"; then
   2815   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2816 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2818 printf %s "checking for $ac_word... " >&6; }
   2819 if test ${ac_cv_prog_CC+y}
   2820 then :
   2821   printf %s "(cached) " >&6
   2822 else case e in #(
   2823   e) if test -n "$CC"; then
   2824   ac_cv_prog_CC="$CC" # Let the user override the test.
   2825 else
   2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2827 for as_dir in $PATH
   2828 do
   2829   IFS=$as_save_IFS
   2830   case $as_dir in #(((
   2831     '') as_dir=./ ;;
   2832     */) ;;
   2833     *) as_dir=$as_dir/ ;;
   2834   esac
   2835     for ac_exec_ext in '' $ac_executable_extensions; do
   2836   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2837     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2838     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2839     break 2
   2840   fi
   2841 done
   2842   done
   2843 IFS=$as_save_IFS
   2844 
   2845 fi ;;
   2846 esac
   2847 fi
   2848 CC=$ac_cv_prog_CC
   2849 if test -n "$CC"; then
   2850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2851 printf "%s\n" "$CC" >&6; }
   2852 else
   2853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2854 printf "%s\n" "no" >&6; }
   2855 fi
   2856 
   2857 
   2858 fi
   2859 if test -z "$ac_cv_prog_CC"; then
   2860   ac_ct_CC=$CC
   2861   # Extract the first word of "gcc", so it can be a program name with args.
   2862 set dummy gcc; ac_word=$2
   2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2864 printf %s "checking for $ac_word... " >&6; }
   2865 if test ${ac_cv_prog_ac_ct_CC+y}
   2866 then :
   2867   printf %s "(cached) " >&6
   2868 else case e in #(
   2869   e) if test -n "$ac_ct_CC"; then
   2870   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   case $as_dir in #(((
   2877     '') as_dir=./ ;;
   2878     */) ;;
   2879     *) as_dir=$as_dir/ ;;
   2880   esac
   2881     for ac_exec_ext in '' $ac_executable_extensions; do
   2882   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2883     ac_cv_prog_ac_ct_CC="gcc"
   2884     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2885     break 2
   2886   fi
   2887 done
   2888   done
   2889 IFS=$as_save_IFS
   2890 
   2891 fi ;;
   2892 esac
   2893 fi
   2894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2895 if test -n "$ac_ct_CC"; then
   2896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2897 printf "%s\n" "$ac_ct_CC" >&6; }
   2898 else
   2899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2900 printf "%s\n" "no" >&6; }
   2901 fi
   2902 
   2903   if test "x$ac_ct_CC" = x; then
   2904     CC=""
   2905   else
   2906     case $cross_compiling:$ac_tool_warned in
   2907 yes:)
   2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2909 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2910 ac_tool_warned=yes ;;
   2911 esac
   2912     CC=$ac_ct_CC
   2913   fi
   2914 else
   2915   CC="$ac_cv_prog_CC"
   2916 fi
   2917 
   2918 if test -z "$CC"; then
   2919           if test -n "$ac_tool_prefix"; then
   2920     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2921 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2923 printf %s "checking for $ac_word... " >&6; }
   2924 if test ${ac_cv_prog_CC+y}
   2925 then :
   2926   printf %s "(cached) " >&6
   2927 else case e in #(
   2928   e) if test -n "$CC"; then
   2929   ac_cv_prog_CC="$CC" # Let the user override the test.
   2930 else
   2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2932 for as_dir in $PATH
   2933 do
   2934   IFS=$as_save_IFS
   2935   case $as_dir in #(((
   2936     '') as_dir=./ ;;
   2937     */) ;;
   2938     *) as_dir=$as_dir/ ;;
   2939   esac
   2940     for ac_exec_ext in '' $ac_executable_extensions; do
   2941   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2942     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2943     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2944     break 2
   2945   fi
   2946 done
   2947   done
   2948 IFS=$as_save_IFS
   2949 
   2950 fi ;;
   2951 esac
   2952 fi
   2953 CC=$ac_cv_prog_CC
   2954 if test -n "$CC"; then
   2955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2956 printf "%s\n" "$CC" >&6; }
   2957 else
   2958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2959 printf "%s\n" "no" >&6; }
   2960 fi
   2961 
   2962 
   2963   fi
   2964 fi
   2965 if test -z "$CC"; then
   2966   # Extract the first word of "cc", so it can be a program name with args.
   2967 set dummy cc; ac_word=$2
   2968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2969 printf %s "checking for $ac_word... " >&6; }
   2970 if test ${ac_cv_prog_CC+y}
   2971 then :
   2972   printf %s "(cached) " >&6
   2973 else case e in #(
   2974   e) if test -n "$CC"; then
   2975   ac_cv_prog_CC="$CC" # Let the user override the test.
   2976 else
   2977   ac_prog_rejected=no
   2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2979 for as_dir in $PATH
   2980 do
   2981   IFS=$as_save_IFS
   2982   case $as_dir in #(((
   2983     '') as_dir=./ ;;
   2984     */) ;;
   2985     *) as_dir=$as_dir/ ;;
   2986   esac
   2987     for ac_exec_ext in '' $ac_executable_extensions; do
   2988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2989     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2990        ac_prog_rejected=yes
   2991        continue
   2992      fi
   2993     ac_cv_prog_CC="cc"
   2994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998   done
   2999 IFS=$as_save_IFS
   3000 
   3001 if test $ac_prog_rejected = yes; then
   3002   # We found a bogon in the path, so make sure we never use it.
   3003   set dummy $ac_cv_prog_CC
   3004   shift
   3005   if test $# != 0; then
   3006     # We chose a different compiler from the bogus one.
   3007     # However, it has the same basename, so the bogon will be chosen
   3008     # first if we set CC to just the basename; use the full file name.
   3009     shift
   3010     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3011   fi
   3012 fi
   3013 fi ;;
   3014 esac
   3015 fi
   3016 CC=$ac_cv_prog_CC
   3017 if test -n "$CC"; then
   3018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3019 printf "%s\n" "$CC" >&6; }
   3020 else
   3021   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3022 printf "%s\n" "no" >&6; }
   3023 fi
   3024 
   3025 
   3026 fi
   3027 if test -z "$CC"; then
   3028   if test -n "$ac_tool_prefix"; then
   3029   for ac_prog in cl.exe
   3030   do
   3031     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3034 printf %s "checking for $ac_word... " >&6; }
   3035 if test ${ac_cv_prog_CC+y}
   3036 then :
   3037   printf %s "(cached) " >&6
   3038 else case e in #(
   3039   e) if test -n "$CC"; then
   3040   ac_cv_prog_CC="$CC" # Let the user override the test.
   3041 else
   3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3043 for as_dir in $PATH
   3044 do
   3045   IFS=$as_save_IFS
   3046   case $as_dir in #(((
   3047     '') as_dir=./ ;;
   3048     */) ;;
   3049     *) as_dir=$as_dir/ ;;
   3050   esac
   3051     for ac_exec_ext in '' $ac_executable_extensions; do
   3052   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3053     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3054     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3055     break 2
   3056   fi
   3057 done
   3058   done
   3059 IFS=$as_save_IFS
   3060 
   3061 fi ;;
   3062 esac
   3063 fi
   3064 CC=$ac_cv_prog_CC
   3065 if test -n "$CC"; then
   3066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3067 printf "%s\n" "$CC" >&6; }
   3068 else
   3069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 printf "%s\n" "no" >&6; }
   3071 fi
   3072 
   3073 
   3074     test -n "$CC" && break
   3075   done
   3076 fi
   3077 if test -z "$CC"; then
   3078   ac_ct_CC=$CC
   3079   for ac_prog in cl.exe
   3080 do
   3081   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3082 set dummy $ac_prog; ac_word=$2
   3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3084 printf %s "checking for $ac_word... " >&6; }
   3085 if test ${ac_cv_prog_ac_ct_CC+y}
   3086 then :
   3087   printf %s "(cached) " >&6
   3088 else case e in #(
   3089   e) if test -n "$ac_ct_CC"; then
   3090   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   case $as_dir in #(((
   3097     '') as_dir=./ ;;
   3098     */) ;;
   3099     *) as_dir=$as_dir/ ;;
   3100   esac
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3103     ac_cv_prog_ac_ct_CC="$ac_prog"
   3104     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3105     break 2
   3106   fi
   3107 done
   3108   done
   3109 IFS=$as_save_IFS
   3110 
   3111 fi ;;
   3112 esac
   3113 fi
   3114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3115 if test -n "$ac_ct_CC"; then
   3116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3117 printf "%s\n" "$ac_ct_CC" >&6; }
   3118 else
   3119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3120 printf "%s\n" "no" >&6; }
   3121 fi
   3122 
   3123 
   3124   test -n "$ac_ct_CC" && break
   3125 done
   3126 
   3127   if test "x$ac_ct_CC" = x; then
   3128     CC=""
   3129   else
   3130     case $cross_compiling:$ac_tool_warned in
   3131 yes:)
   3132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3134 ac_tool_warned=yes ;;
   3135 esac
   3136     CC=$ac_ct_CC
   3137   fi
   3138 fi
   3139 
   3140 fi
   3141 if test -z "$CC"; then
   3142   if test -n "$ac_tool_prefix"; then
   3143   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3144 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3146 printf %s "checking for $ac_word... " >&6; }
   3147 if test ${ac_cv_prog_CC+y}
   3148 then :
   3149   printf %s "(cached) " >&6
   3150 else case e in #(
   3151   e) if test -n "$CC"; then
   3152   ac_cv_prog_CC="$CC" # Let the user override the test.
   3153 else
   3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3155 for as_dir in $PATH
   3156 do
   3157   IFS=$as_save_IFS
   3158   case $as_dir in #(((
   3159     '') as_dir=./ ;;
   3160     */) ;;
   3161     *) as_dir=$as_dir/ ;;
   3162   esac
   3163     for ac_exec_ext in '' $ac_executable_extensions; do
   3164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3165     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3167     break 2
   3168   fi
   3169 done
   3170   done
   3171 IFS=$as_save_IFS
   3172 
   3173 fi ;;
   3174 esac
   3175 fi
   3176 CC=$ac_cv_prog_CC
   3177 if test -n "$CC"; then
   3178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3179 printf "%s\n" "$CC" >&6; }
   3180 else
   3181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3182 printf "%s\n" "no" >&6; }
   3183 fi
   3184 
   3185 
   3186 fi
   3187 if test -z "$ac_cv_prog_CC"; then
   3188   ac_ct_CC=$CC
   3189   # Extract the first word of "clang", so it can be a program name with args.
   3190 set dummy clang; ac_word=$2
   3191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3192 printf %s "checking for $ac_word... " >&6; }
   3193 if test ${ac_cv_prog_ac_ct_CC+y}
   3194 then :
   3195   printf %s "(cached) " >&6
   3196 else case e in #(
   3197   e) if test -n "$ac_ct_CC"; then
   3198   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3199 else
   3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3201 for as_dir in $PATH
   3202 do
   3203   IFS=$as_save_IFS
   3204   case $as_dir in #(((
   3205     '') as_dir=./ ;;
   3206     */) ;;
   3207     *) as_dir=$as_dir/ ;;
   3208   esac
   3209     for ac_exec_ext in '' $ac_executable_extensions; do
   3210   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3211     ac_cv_prog_ac_ct_CC="clang"
   3212     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3213     break 2
   3214   fi
   3215 done
   3216   done
   3217 IFS=$as_save_IFS
   3218 
   3219 fi ;;
   3220 esac
   3221 fi
   3222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3223 if test -n "$ac_ct_CC"; then
   3224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3225 printf "%s\n" "$ac_ct_CC" >&6; }
   3226 else
   3227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3228 printf "%s\n" "no" >&6; }
   3229 fi
   3230 
   3231   if test "x$ac_ct_CC" = x; then
   3232     CC=""
   3233   else
   3234     case $cross_compiling:$ac_tool_warned in
   3235 yes:)
   3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3237 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3238 ac_tool_warned=yes ;;
   3239 esac
   3240     CC=$ac_ct_CC
   3241   fi
   3242 else
   3243   CC="$ac_cv_prog_CC"
   3244 fi
   3245 
   3246 fi
   3247 
   3248 
   3249 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3250 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3251 as_fn_error $? "no acceptable C compiler found in \$PATH
   3252 See 'config.log' for more details" "$LINENO" 5; }
   3253 
   3254 # Provide some information about the compiler.
   3255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3256 set X $ac_compile
   3257 ac_compiler=$2
   3258 for ac_option in --version -v -V -qversion -version; do
   3259   { { ac_try="$ac_compiler $ac_option >&5"
   3260 case "(($ac_try" in
   3261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3262   *) ac_try_echo=$ac_try;;
   3263 esac
   3264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3265 printf "%s\n" "$ac_try_echo"; } >&5
   3266   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3267   ac_status=$?
   3268   if test -s conftest.err; then
   3269     sed '10a\
   3270 ... rest of stderr output deleted ...
   3271          10q' conftest.err >conftest.er1
   3272     cat conftest.er1 >&5
   3273   fi
   3274   rm -f conftest.er1 conftest.err
   3275   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3276   test $ac_status = 0; }
   3277 done
   3278 
   3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3280 /* end confdefs.h.  */
   3281 
   3282 int
   3283 main (void)
   3284 {
   3285 
   3286   ;
   3287   return 0;
   3288 }
   3289 _ACEOF
   3290 ac_clean_files_save=$ac_clean_files
   3291 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3292 # Try to create an executable without -o first, disregard a.out.
   3293 # It will help us diagnose broken compilers, and finding out an intuition
   3294 # of exeext.
   3295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3296 printf %s "checking whether the C compiler works... " >&6; }
   3297 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3298 
   3299 # The possible output files:
   3300 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3301 
   3302 ac_rmfiles=
   3303 for ac_file in $ac_files
   3304 do
   3305   case $ac_file in
   3306     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3307     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3308   esac
   3309 done
   3310 rm -f $ac_rmfiles
   3311 
   3312 if { { ac_try="$ac_link_default"
   3313 case "(($ac_try" in
   3314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3315   *) ac_try_echo=$ac_try;;
   3316 esac
   3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3318 printf "%s\n" "$ac_try_echo"; } >&5
   3319   (eval "$ac_link_default") 2>&5
   3320   ac_status=$?
   3321   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3322   test $ac_status = 0; }
   3323 then :
   3324   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3325 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3326 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3327 # so that the user can short-circuit this test for compilers unknown to
   3328 # Autoconf.
   3329 for ac_file in $ac_files ''
   3330 do
   3331   test -f "$ac_file" || continue
   3332   case $ac_file in
   3333     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3334 	;;
   3335     [ab].out )
   3336 	# We found the default executable, but exeext='' is most
   3337 	# certainly right.
   3338 	break;;
   3339     *.* )
   3340 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3341 	then :; else
   3342 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3343 	fi
   3344 	# We set ac_cv_exeext here because the later test for it is not
   3345 	# safe: cross compilers may not add the suffix if given an '-o'
   3346 	# argument, so we may need to know it at that point already.
   3347 	# Even if this section looks crufty: it has the advantage of
   3348 	# actually working.
   3349 	break;;
   3350     * )
   3351 	break;;
   3352   esac
   3353 done
   3354 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3355 
   3356 else case e in #(
   3357   e) ac_file='' ;;
   3358 esac
   3359 fi
   3360 if test -z "$ac_file"
   3361 then :
   3362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3363 printf "%s\n" "no" >&6; }
   3364 printf "%s\n" "$as_me: failed program was:" >&5
   3365 sed 's/^/| /' conftest.$ac_ext >&5
   3366 
   3367 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3368 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3369 as_fn_error 77 "C compiler cannot create executables
   3370 See 'config.log' for more details" "$LINENO" 5; }
   3371 else case e in #(
   3372   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3373 printf "%s\n" "yes" >&6; } ;;
   3374 esac
   3375 fi
   3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3377 printf %s "checking for C compiler default output file name... " >&6; }
   3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3379 printf "%s\n" "$ac_file" >&6; }
   3380 ac_exeext=$ac_cv_exeext
   3381 
   3382 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3383 ac_clean_files=$ac_clean_files_save
   3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3385 printf %s "checking for suffix of executables... " >&6; }
   3386 if { { ac_try="$ac_link"
   3387 case "(($ac_try" in
   3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3389   *) ac_try_echo=$ac_try;;
   3390 esac
   3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3392 printf "%s\n" "$ac_try_echo"; } >&5
   3393   (eval "$ac_link") 2>&5
   3394   ac_status=$?
   3395   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3396   test $ac_status = 0; }
   3397 then :
   3398   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3399 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3400 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3401 # 'rm'.
   3402 for ac_file in conftest.exe conftest conftest.*; do
   3403   test -f "$ac_file" || continue
   3404   case $ac_file in
   3405     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3406     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3407 	  break;;
   3408     * ) break;;
   3409   esac
   3410 done
   3411 else case e in #(
   3412   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3413 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3414 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3415 See 'config.log' for more details" "$LINENO" 5; } ;;
   3416 esac
   3417 fi
   3418 rm -f conftest conftest$ac_cv_exeext
   3419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3420 printf "%s\n" "$ac_cv_exeext" >&6; }
   3421 
   3422 rm -f conftest.$ac_ext
   3423 EXEEXT=$ac_cv_exeext
   3424 ac_exeext=$EXEEXT
   3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3426 /* end confdefs.h.  */
   3427 #include <stdio.h>
   3428 int
   3429 main (void)
   3430 {
   3431 FILE *f = fopen ("conftest.out", "w");
   3432  if (!f)
   3433   return 1;
   3434  return ferror (f) || fclose (f) != 0;
   3435 
   3436   ;
   3437   return 0;
   3438 }
   3439 _ACEOF
   3440 ac_clean_files="$ac_clean_files conftest.out"
   3441 # Check that the compiler produces executables we can run.  If not, either
   3442 # the compiler is broken, or we cross compile.
   3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3444 printf %s "checking whether we are cross compiling... " >&6; }
   3445 if test "$cross_compiling" != yes; then
   3446   { { ac_try="$ac_link"
   3447 case "(($ac_try" in
   3448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3449   *) ac_try_echo=$ac_try;;
   3450 esac
   3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3452 printf "%s\n" "$ac_try_echo"; } >&5
   3453   (eval "$ac_link") 2>&5
   3454   ac_status=$?
   3455   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3456   test $ac_status = 0; }
   3457   if { ac_try='./conftest$ac_cv_exeext'
   3458   { { case "(($ac_try" in
   3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3460   *) ac_try_echo=$ac_try;;
   3461 esac
   3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3463 printf "%s\n" "$ac_try_echo"; } >&5
   3464   (eval "$ac_try") 2>&5
   3465   ac_status=$?
   3466   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3467   test $ac_status = 0; }; }; then
   3468     cross_compiling=no
   3469   else
   3470     if test "$cross_compiling" = maybe; then
   3471 	cross_compiling=yes
   3472     else
   3473 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3474 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3475 as_fn_error 77 "cannot run C compiled programs.
   3476 If you meant to cross compile, use '--host'.
   3477 See 'config.log' for more details" "$LINENO" 5; }
   3478     fi
   3479   fi
   3480 fi
   3481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3482 printf "%s\n" "$cross_compiling" >&6; }
   3483 
   3484 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3485   conftest.o conftest.obj conftest.out
   3486 ac_clean_files=$ac_clean_files_save
   3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3488 printf %s "checking for suffix of object files... " >&6; }
   3489 if test ${ac_cv_objext+y}
   3490 then :
   3491   printf %s "(cached) " >&6
   3492 else case e in #(
   3493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 
   3496 int
   3497 main (void)
   3498 {
   3499 
   3500   ;
   3501   return 0;
   3502 }
   3503 _ACEOF
   3504 rm -f conftest.o conftest.obj
   3505 if { { ac_try="$ac_compile"
   3506 case "(($ac_try" in
   3507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3508   *) ac_try_echo=$ac_try;;
   3509 esac
   3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3511 printf "%s\n" "$ac_try_echo"; } >&5
   3512   (eval "$ac_compile") 2>&5
   3513   ac_status=$?
   3514   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3515   test $ac_status = 0; }
   3516 then :
   3517   for ac_file in conftest.o conftest.obj conftest.*; do
   3518   test -f "$ac_file" || continue;
   3519   case $ac_file in
   3520     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3521     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3522        break;;
   3523   esac
   3524 done
   3525 else case e in #(
   3526   e) printf "%s\n" "$as_me: failed program was:" >&5
   3527 sed 's/^/| /' conftest.$ac_ext >&5
   3528 
   3529 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3530 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3531 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3532 See 'config.log' for more details" "$LINENO" 5; } ;;
   3533 esac
   3534 fi
   3535 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3536 esac
   3537 fi
   3538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3539 printf "%s\n" "$ac_cv_objext" >&6; }
   3540 OBJEXT=$ac_cv_objext
   3541 ac_objext=$OBJEXT
   3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3543 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3544 if test ${ac_cv_c_compiler_gnu+y}
   3545 then :
   3546   printf %s "(cached) " >&6
   3547 else case e in #(
   3548   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main (void)
   3553 {
   3554 #ifndef __GNUC__
   3555        choke me
   3556 #endif
   3557 
   3558   ;
   3559   return 0;
   3560 }
   3561 _ACEOF
   3562 if ac_fn_c_try_compile "$LINENO"
   3563 then :
   3564   ac_compiler_gnu=yes
   3565 else case e in #(
   3566   e) ac_compiler_gnu=no ;;
   3567 esac
   3568 fi
   3569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3570 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3571  ;;
   3572 esac
   3573 fi
   3574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3575 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3577 
   3578 if test $ac_compiler_gnu = yes; then
   3579   GCC=yes
   3580 else
   3581   GCC=
   3582 fi
   3583 ac_test_CFLAGS=${CFLAGS+y}
   3584 ac_save_CFLAGS=$CFLAGS
   3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3586 printf %s "checking whether $CC accepts -g... " >&6; }
   3587 if test ${ac_cv_prog_cc_g+y}
   3588 then :
   3589   printf %s "(cached) " >&6
   3590 else case e in #(
   3591   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3592    ac_c_werror_flag=yes
   3593    ac_cv_prog_cc_g=no
   3594    CFLAGS="-g"
   3595    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 
   3598 int
   3599 main (void)
   3600 {
   3601 
   3602   ;
   3603   return 0;
   3604 }
   3605 _ACEOF
   3606 if ac_fn_c_try_compile "$LINENO"
   3607 then :
   3608   ac_cv_prog_cc_g=yes
   3609 else case e in #(
   3610   e) CFLAGS=""
   3611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3612 /* end confdefs.h.  */
   3613 
   3614 int
   3615 main (void)
   3616 {
   3617 
   3618   ;
   3619   return 0;
   3620 }
   3621 _ACEOF
   3622 if ac_fn_c_try_compile "$LINENO"
   3623 then :
   3624 
   3625 else case e in #(
   3626   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3627 	 CFLAGS="-g"
   3628 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3629 /* end confdefs.h.  */
   3630 
   3631 int
   3632 main (void)
   3633 {
   3634 
   3635   ;
   3636   return 0;
   3637 }
   3638 _ACEOF
   3639 if ac_fn_c_try_compile "$LINENO"
   3640 then :
   3641   ac_cv_prog_cc_g=yes
   3642 fi
   3643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3644 esac
   3645 fi
   3646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3647 esac
   3648 fi
   3649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3650    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3651 esac
   3652 fi
   3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3654 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3655 if test $ac_test_CFLAGS; then
   3656   CFLAGS=$ac_save_CFLAGS
   3657 elif test $ac_cv_prog_cc_g = yes; then
   3658   if test "$GCC" = yes; then
   3659     CFLAGS="-g -O2"
   3660   else
   3661     CFLAGS="-g"
   3662   fi
   3663 else
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-O2"
   3666   else
   3667     CFLAGS=
   3668   fi
   3669 fi
   3670 ac_prog_cc_stdc=no
   3671 if test x$ac_prog_cc_stdc = xno
   3672 then :
   3673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3674 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3675 if test ${ac_cv_prog_cc_c11+y}
   3676 then :
   3677   printf %s "(cached) " >&6
   3678 else case e in #(
   3679   e) ac_cv_prog_cc_c11=no
   3680 ac_save_CC=$CC
   3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3682 /* end confdefs.h.  */
   3683 $ac_c_conftest_c11_program
   3684 _ACEOF
   3685 for ac_arg in '' -std=gnu11
   3686 do
   3687   CC="$ac_save_CC $ac_arg"
   3688   if ac_fn_c_try_compile "$LINENO"
   3689 then :
   3690   ac_cv_prog_cc_c11=$ac_arg
   3691 fi
   3692 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3693   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3694 done
   3695 rm -f conftest.$ac_ext
   3696 CC=$ac_save_CC ;;
   3697 esac
   3698 fi
   3699 
   3700 if test "x$ac_cv_prog_cc_c11" = xno
   3701 then :
   3702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3703 printf "%s\n" "unsupported" >&6; }
   3704 else case e in #(
   3705   e) if test "x$ac_cv_prog_cc_c11" = x
   3706 then :
   3707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3708 printf "%s\n" "none needed" >&6; }
   3709 else case e in #(
   3710   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3711 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3712      CC="$CC $ac_cv_prog_cc_c11" ;;
   3713 esac
   3714 fi
   3715   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3716   ac_prog_cc_stdc=c11 ;;
   3717 esac
   3718 fi
   3719 fi
   3720 if test x$ac_prog_cc_stdc = xno
   3721 then :
   3722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3723 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3724 if test ${ac_cv_prog_cc_c99+y}
   3725 then :
   3726   printf %s "(cached) " >&6
   3727 else case e in #(
   3728   e) ac_cv_prog_cc_c99=no
   3729 ac_save_CC=$CC
   3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3731 /* end confdefs.h.  */
   3732 $ac_c_conftest_c99_program
   3733 _ACEOF
   3734 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3735 do
   3736   CC="$ac_save_CC $ac_arg"
   3737   if ac_fn_c_try_compile "$LINENO"
   3738 then :
   3739   ac_cv_prog_cc_c99=$ac_arg
   3740 fi
   3741 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3742   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3743 done
   3744 rm -f conftest.$ac_ext
   3745 CC=$ac_save_CC ;;
   3746 esac
   3747 fi
   3748 
   3749 if test "x$ac_cv_prog_cc_c99" = xno
   3750 then :
   3751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3752 printf "%s\n" "unsupported" >&6; }
   3753 else case e in #(
   3754   e) if test "x$ac_cv_prog_cc_c99" = x
   3755 then :
   3756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3757 printf "%s\n" "none needed" >&6; }
   3758 else case e in #(
   3759   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3760 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3761      CC="$CC $ac_cv_prog_cc_c99" ;;
   3762 esac
   3763 fi
   3764   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3765   ac_prog_cc_stdc=c99 ;;
   3766 esac
   3767 fi
   3768 fi
   3769 if test x$ac_prog_cc_stdc = xno
   3770 then :
   3771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3772 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3773 if test ${ac_cv_prog_cc_c89+y}
   3774 then :
   3775   printf %s "(cached) " >&6
   3776 else case e in #(
   3777   e) ac_cv_prog_cc_c89=no
   3778 ac_save_CC=$CC
   3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3780 /* end confdefs.h.  */
   3781 $ac_c_conftest_c89_program
   3782 _ACEOF
   3783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3784 do
   3785   CC="$ac_save_CC $ac_arg"
   3786   if ac_fn_c_try_compile "$LINENO"
   3787 then :
   3788   ac_cv_prog_cc_c89=$ac_arg
   3789 fi
   3790 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3791   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3792 done
   3793 rm -f conftest.$ac_ext
   3794 CC=$ac_save_CC ;;
   3795 esac
   3796 fi
   3797 
   3798 if test "x$ac_cv_prog_cc_c89" = xno
   3799 then :
   3800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3801 printf "%s\n" "unsupported" >&6; }
   3802 else case e in #(
   3803   e) if test "x$ac_cv_prog_cc_c89" = x
   3804 then :
   3805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3806 printf "%s\n" "none needed" >&6; }
   3807 else case e in #(
   3808   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3809 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3810      CC="$CC $ac_cv_prog_cc_c89" ;;
   3811 esac
   3812 fi
   3813   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3814   ac_prog_cc_stdc=c89 ;;
   3815 esac
   3816 fi
   3817 fi
   3818 
   3819 ac_ext=c
   3820 ac_cpp='$CPP $CPPFLAGS'
   3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3824 
   3825 
   3826   ac_ext=c
   3827 ac_cpp='$CPP $CPPFLAGS'
   3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3832 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3833 if test ${am_cv_prog_cc_c_o+y}
   3834 then :
   3835   printf %s "(cached) " >&6
   3836 else case e in #(
   3837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 
   3840 int
   3841 main (void)
   3842 {
   3843 
   3844   ;
   3845   return 0;
   3846 }
   3847 _ACEOF
   3848   # Make sure it works both with $CC and with simple cc.
   3849   # Following AC_PROG_CC_C_O, we do the test twice because some
   3850   # compilers refuse to overwrite an existing .o file with -o,
   3851   # though they will create one.
   3852   am_cv_prog_cc_c_o=yes
   3853   for am_i in 1 2; do
   3854     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3855    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3856    ac_status=$?
   3857    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3858    (exit $ac_status); } \
   3859          && test -f conftest2.$ac_objext; then
   3860       : OK
   3861     else
   3862       am_cv_prog_cc_c_o=no
   3863       break
   3864     fi
   3865   done
   3866   rm -f core conftest*
   3867   unset am_i ;;
   3868 esac
   3869 fi
   3870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3871 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3872 if test "$am_cv_prog_cc_c_o" != yes; then
   3873    # Losing compiler, so override with the script.
   3874    # FIXME: It is wrong to rewrite CC.
   3875    # But if we don't then we get into trouble of one sort or another.
   3876    # A longer-term fix would be to have automake use am__CC in this case,
   3877    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3878    CC="$am_aux_dir/compile $CC"
   3879 fi
   3880 ac_ext=c
   3881 ac_cpp='$CPP $CPPFLAGS'
   3882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3885 
   3886 
   3887 
   3888 ac_header= ac_cache=
   3889 for ac_item in $ac_header_c_list
   3890 do
   3891   if test $ac_cache; then
   3892     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3893     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3894       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3895     fi
   3896     ac_header= ac_cache=
   3897   elif test $ac_header; then
   3898     ac_cache=$ac_item
   3899   else
   3900     ac_header=$ac_item
   3901   fi
   3902 done
   3903 
   3904 
   3905 
   3906 
   3907 
   3908 
   3909 
   3910 
   3911 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3912 then :
   3913 
   3914 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3915 
   3916 fi
   3917 
   3918 
   3919 
   3920 
   3921 
   3922 
   3923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3924 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3925 if test ${ac_cv_safe_to_define___extensions__+y}
   3926 then :
   3927   printf %s "(cached) " >&6
   3928 else case e in #(
   3929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3930 /* end confdefs.h.  */
   3931 
   3932 #         define __EXTENSIONS__ 1
   3933           $ac_includes_default
   3934 int
   3935 main (void)
   3936 {
   3937 
   3938   ;
   3939   return 0;
   3940 }
   3941 _ACEOF
   3942 if ac_fn_c_try_compile "$LINENO"
   3943 then :
   3944   ac_cv_safe_to_define___extensions__=yes
   3945 else case e in #(
   3946   e) ac_cv_safe_to_define___extensions__=no ;;
   3947 esac
   3948 fi
   3949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3950 esac
   3951 fi
   3952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3953 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3954 
   3955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3956 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3957 if test ${ac_cv_should_define__xopen_source+y}
   3958 then :
   3959   printf %s "(cached) " >&6
   3960 else case e in #(
   3961   e) ac_cv_should_define__xopen_source=no
   3962     if test $ac_cv_header_wchar_h = yes
   3963 then :
   3964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3965 /* end confdefs.h.  */
   3966 
   3967           #include <wchar.h>
   3968           mbstate_t x;
   3969 int
   3970 main (void)
   3971 {
   3972 
   3973   ;
   3974   return 0;
   3975 }
   3976 _ACEOF
   3977 if ac_fn_c_try_compile "$LINENO"
   3978 then :
   3979 
   3980 else case e in #(
   3981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3982 /* end confdefs.h.  */
   3983 
   3984             #define _XOPEN_SOURCE 500
   3985             #include <wchar.h>
   3986             mbstate_t x;
   3987 int
   3988 main (void)
   3989 {
   3990 
   3991   ;
   3992   return 0;
   3993 }
   3994 _ACEOF
   3995 if ac_fn_c_try_compile "$LINENO"
   3996 then :
   3997   ac_cv_should_define__xopen_source=yes
   3998 fi
   3999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4000 esac
   4001 fi
   4002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4003 fi ;;
   4004 esac
   4005 fi
   4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4007 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4008 
   4009   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4010 
   4011   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4012 
   4013   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4014 
   4015   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4016 
   4017   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4018 
   4019   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4020 
   4021   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4022 
   4023   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4024 
   4025   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4026 
   4027   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4028 
   4029   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4030 
   4031   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4032 
   4033   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4034 
   4035   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4036 
   4037   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4038 
   4039   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4040 
   4041   if test $ac_cv_header_minix_config_h = yes
   4042 then :
   4043   MINIX=yes
   4044     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4045 
   4046     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4047 
   4048     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4049 
   4050 else case e in #(
   4051   e) MINIX= ;;
   4052 esac
   4053 fi
   4054   if test $ac_cv_safe_to_define___extensions__ = yes
   4055 then :
   4056   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4057 
   4058 fi
   4059   if test $ac_cv_should_define__xopen_source = yes
   4060 then :
   4061   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4062 
   4063 fi
   4064 
   4065 
   4066 # Initialize Automake
   4067 am__api_version='1.16'
   4068 
   4069 
   4070   # Find a good install program.  We prefer a C program (faster),
   4071 # so one script is as good as another.  But avoid the broken or
   4072 # incompatible versions:
   4073 # SysV /etc/install, /usr/sbin/install
   4074 # SunOS /usr/etc/install
   4075 # IRIX /sbin/install
   4076 # AIX /bin/install
   4077 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4078 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4079 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4080 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4081 # OS/2's system install, which has a completely different semantic
   4082 # ./install, which can be erroneously created by make from ./install.sh.
   4083 # Reject install programs that cannot install multiple files.
   4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4085 printf %s "checking for a BSD-compatible install... " >&6; }
   4086 if test -z "$INSTALL"; then
   4087 if test ${ac_cv_path_install+y}
   4088 then :
   4089   printf %s "(cached) " >&6
   4090 else case e in #(
   4091   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4092 for as_dir in $PATH
   4093 do
   4094   IFS=$as_save_IFS
   4095   case $as_dir in #(((
   4096     '') as_dir=./ ;;
   4097     */) ;;
   4098     *) as_dir=$as_dir/ ;;
   4099   esac
   4100     # Account for fact that we put trailing slashes in our PATH walk.
   4101 case $as_dir in #((
   4102   ./ | /[cC]/* | \
   4103   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4104   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4105   /usr/ucb/* ) ;;
   4106   *)
   4107     # OSF1 and SCO ODT 3.0 have their own names for install.
   4108     # Don't use installbsd from OSF since it installs stuff as root
   4109     # by default.
   4110     for ac_prog in ginstall scoinst install; do
   4111       for ac_exec_ext in '' $ac_executable_extensions; do
   4112 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4113 	  if test $ac_prog = install &&
   4114 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4115 	    # AIX install.  It has an incompatible calling convention.
   4116 	    :
   4117 	  elif test $ac_prog = install &&
   4118 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4119 	    # program-specific install script used by HP pwplus--don't use.
   4120 	    :
   4121 	  else
   4122 	    rm -rf conftest.one conftest.two conftest.dir
   4123 	    echo one > conftest.one
   4124 	    echo two > conftest.two
   4125 	    mkdir conftest.dir
   4126 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4127 	      test -s conftest.one && test -s conftest.two &&
   4128 	      test -s conftest.dir/conftest.one &&
   4129 	      test -s conftest.dir/conftest.two
   4130 	    then
   4131 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4132 	      break 3
   4133 	    fi
   4134 	  fi
   4135 	fi
   4136       done
   4137     done
   4138     ;;
   4139 esac
   4140 
   4141   done
   4142 IFS=$as_save_IFS
   4143 
   4144 rm -rf conftest.one conftest.two conftest.dir
   4145  ;;
   4146 esac
   4147 fi
   4148   if test ${ac_cv_path_install+y}; then
   4149     INSTALL=$ac_cv_path_install
   4150   else
   4151     # As a last resort, use the slow shell script.  Don't cache a
   4152     # value for INSTALL within a source directory, because that will
   4153     # break other packages using the cache if that directory is
   4154     # removed, or if the value is a relative name.
   4155     INSTALL=$ac_install_sh
   4156   fi
   4157 fi
   4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4159 printf "%s\n" "$INSTALL" >&6; }
   4160 
   4161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4162 # It thinks the first close brace ends the variable substitution.
   4163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4164 
   4165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4166 
   4167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4168 
   4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4170 printf %s "checking whether build environment is sane... " >&6; }
   4171 # Reject unsafe characters in $srcdir or the absolute working directory
   4172 # name.  Accept space and tab only in the latter.
   4173 am_lf='
   4174 '
   4175 case `pwd` in
   4176   *[\\\"\#\$\&\'\`$am_lf]*)
   4177     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4178 esac
   4179 case $srcdir in
   4180   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4181     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4182 esac
   4183 
   4184 # Do 'set' in a subshell so we don't clobber the current shell's
   4185 # arguments.  Must try -L first in case configure is actually a
   4186 # symlink; some systems play weird games with the mod time of symlinks
   4187 # (eg FreeBSD returns the mod time of the symlink's containing
   4188 # directory).
   4189 if (
   4190    am_has_slept=no
   4191    for am_try in 1 2; do
   4192      echo "timestamp, slept: $am_has_slept" > conftest.file
   4193      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4194      if test "$*" = "X"; then
   4195 	# -L didn't work.
   4196 	set X `ls -t "$srcdir/configure" conftest.file`
   4197      fi
   4198      if test "$*" != "X $srcdir/configure conftest.file" \
   4199 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4200 
   4201 	# If neither matched, then we have a broken ls.  This can happen
   4202 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4203 	# broken ls alias from the environment.  This has actually
   4204 	# happened.  Such a system could not be considered "sane".
   4205 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4206   alias in your environment" "$LINENO" 5
   4207      fi
   4208      if test "$2" = conftest.file || test $am_try -eq 2; then
   4209        break
   4210      fi
   4211      # Just in case.
   4212      sleep 1
   4213      am_has_slept=yes
   4214    done
   4215    test "$2" = conftest.file
   4216    )
   4217 then
   4218    # Ok.
   4219    :
   4220 else
   4221    as_fn_error $? "newly created file is older than distributed files!
   4222 Check your system clock" "$LINENO" 5
   4223 fi
   4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4225 printf "%s\n" "yes" >&6; }
   4226 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4227 # generated files are strictly newer.
   4228 am_sleep_pid=
   4229 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4230   ( sleep 1 ) &
   4231   am_sleep_pid=$!
   4232 fi
   4233 
   4234 rm -f conftest.file
   4235 
   4236 test "$program_prefix" != NONE &&
   4237   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4238 # Use a double $ so make ignores it.
   4239 test "$program_suffix" != NONE &&
   4240   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4241 # Double any \ or $.
   4242 # By default was 's,x,x', remove it if useless.
   4243 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4244 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4245 
   4246 
   4247   if test x"${MISSING+set}" != xset; then
   4248   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4249 fi
   4250 # Use eval to expand $SHELL
   4251 if eval "$MISSING --is-lightweight"; then
   4252   am_missing_run="$MISSING "
   4253 else
   4254   am_missing_run=
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4256 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4257 fi
   4258 
   4259 if test x"${install_sh+set}" != xset; then
   4260   case $am_aux_dir in
   4261   *\ * | *\	*)
   4262     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4263   *)
   4264     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4265   esac
   4266 fi
   4267 
   4268 # Installed binaries are usually stripped using 'strip' when the user
   4269 # run "make install-strip".  However 'strip' might not be the right
   4270 # tool to use in cross-compilation environments, therefore Automake
   4271 # will honor the 'STRIP' environment variable to overrule this program.
   4272 if test "$cross_compiling" != no; then
   4273   if test -n "$ac_tool_prefix"; then
   4274   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4275 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4277 printf %s "checking for $ac_word... " >&6; }
   4278 if test ${ac_cv_prog_STRIP+y}
   4279 then :
   4280   printf %s "(cached) " >&6
   4281 else case e in #(
   4282   e) if test -n "$STRIP"; then
   4283   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4284 else
   4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4286 for as_dir in $PATH
   4287 do
   4288   IFS=$as_save_IFS
   4289   case $as_dir in #(((
   4290     '') as_dir=./ ;;
   4291     */) ;;
   4292     *) as_dir=$as_dir/ ;;
   4293   esac
   4294     for ac_exec_ext in '' $ac_executable_extensions; do
   4295   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4296     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4297     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4298     break 2
   4299   fi
   4300 done
   4301   done
   4302 IFS=$as_save_IFS
   4303 
   4304 fi ;;
   4305 esac
   4306 fi
   4307 STRIP=$ac_cv_prog_STRIP
   4308 if test -n "$STRIP"; then
   4309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4310 printf "%s\n" "$STRIP" >&6; }
   4311 else
   4312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4313 printf "%s\n" "no" >&6; }
   4314 fi
   4315 
   4316 
   4317 fi
   4318 if test -z "$ac_cv_prog_STRIP"; then
   4319   ac_ct_STRIP=$STRIP
   4320   # Extract the first word of "strip", so it can be a program name with args.
   4321 set dummy strip; ac_word=$2
   4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4323 printf %s "checking for $ac_word... " >&6; }
   4324 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4325 then :
   4326   printf %s "(cached) " >&6
   4327 else case e in #(
   4328   e) if test -n "$ac_ct_STRIP"; then
   4329   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4330 else
   4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4332 for as_dir in $PATH
   4333 do
   4334   IFS=$as_save_IFS
   4335   case $as_dir in #(((
   4336     '') as_dir=./ ;;
   4337     */) ;;
   4338     *) as_dir=$as_dir/ ;;
   4339   esac
   4340     for ac_exec_ext in '' $ac_executable_extensions; do
   4341   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4342     ac_cv_prog_ac_ct_STRIP="strip"
   4343     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4344     break 2
   4345   fi
   4346 done
   4347   done
   4348 IFS=$as_save_IFS
   4349 
   4350 fi ;;
   4351 esac
   4352 fi
   4353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4354 if test -n "$ac_ct_STRIP"; then
   4355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4356 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4357 else
   4358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4359 printf "%s\n" "no" >&6; }
   4360 fi
   4361 
   4362   if test "x$ac_ct_STRIP" = x; then
   4363     STRIP=":"
   4364   else
   4365     case $cross_compiling:$ac_tool_warned in
   4366 yes:)
   4367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4369 ac_tool_warned=yes ;;
   4370 esac
   4371     STRIP=$ac_ct_STRIP
   4372   fi
   4373 else
   4374   STRIP="$ac_cv_prog_STRIP"
   4375 fi
   4376 
   4377 fi
   4378 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4379 
   4380 
   4381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4382 printf %s "checking for a race-free mkdir -p... " >&6; }
   4383 if test -z "$MKDIR_P"; then
   4384   if test ${ac_cv_path_mkdir+y}
   4385 then :
   4386   printf %s "(cached) " >&6
   4387 else case e in #(
   4388   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4389 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4390 do
   4391   IFS=$as_save_IFS
   4392   case $as_dir in #(((
   4393     '') as_dir=./ ;;
   4394     */) ;;
   4395     *) as_dir=$as_dir/ ;;
   4396   esac
   4397     for ac_prog in mkdir gmkdir; do
   4398 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4399 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4400 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4401 	     'mkdir ('*'coreutils) '* | \
   4402 	     *'BusyBox '* | \
   4403 	     'mkdir (fileutils) '4.1*)
   4404 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4405 	       break 3;;
   4406 	   esac
   4407 	 done
   4408        done
   4409   done
   4410 IFS=$as_save_IFS
   4411  ;;
   4412 esac
   4413 fi
   4414 
   4415   test -d ./--version && rmdir ./--version
   4416   if test ${ac_cv_path_mkdir+y}; then
   4417     MKDIR_P="$ac_cv_path_mkdir -p"
   4418   else
   4419     # As a last resort, use plain mkdir -p,
   4420     # in the hope it doesn't have the bugs of ancient mkdir.
   4421     MKDIR_P='mkdir -p'
   4422   fi
   4423 fi
   4424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4425 printf "%s\n" "$MKDIR_P" >&6; }
   4426 
   4427 for ac_prog in gawk mawk nawk awk
   4428 do
   4429   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4430 set dummy $ac_prog; ac_word=$2
   4431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4432 printf %s "checking for $ac_word... " >&6; }
   4433 if test ${ac_cv_prog_AWK+y}
   4434 then :
   4435   printf %s "(cached) " >&6
   4436 else case e in #(
   4437   e) if test -n "$AWK"; then
   4438   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4439 else
   4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4441 for as_dir in $PATH
   4442 do
   4443   IFS=$as_save_IFS
   4444   case $as_dir in #(((
   4445     '') as_dir=./ ;;
   4446     */) ;;
   4447     *) as_dir=$as_dir/ ;;
   4448   esac
   4449     for ac_exec_ext in '' $ac_executable_extensions; do
   4450   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4451     ac_cv_prog_AWK="$ac_prog"
   4452     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4453     break 2
   4454   fi
   4455 done
   4456   done
   4457 IFS=$as_save_IFS
   4458 
   4459 fi ;;
   4460 esac
   4461 fi
   4462 AWK=$ac_cv_prog_AWK
   4463 if test -n "$AWK"; then
   4464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4465 printf "%s\n" "$AWK" >&6; }
   4466 else
   4467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4468 printf "%s\n" "no" >&6; }
   4469 fi
   4470 
   4471 
   4472   test -n "$AWK" && break
   4473 done
   4474 
   4475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4476 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4477 set x ${MAKE-make}
   4478 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4479 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4480 then :
   4481   printf %s "(cached) " >&6
   4482 else case e in #(
   4483   e) cat >conftest.make <<\_ACEOF
   4484 SHELL = /bin/sh
   4485 all:
   4486 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4487 _ACEOF
   4488 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4489 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4490   *@@@%%%=?*=@@@%%%*)
   4491     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4492   *)
   4493     eval ac_cv_prog_make_${ac_make}_set=no;;
   4494 esac
   4495 rm -f conftest.make ;;
   4496 esac
   4497 fi
   4498 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4500 printf "%s\n" "yes" >&6; }
   4501   SET_MAKE=
   4502 else
   4503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4504 printf "%s\n" "no" >&6; }
   4505   SET_MAKE="MAKE=${MAKE-make}"
   4506 fi
   4507 
   4508 rm -rf .tst 2>/dev/null
   4509 mkdir .tst 2>/dev/null
   4510 if test -d .tst; then
   4511   am__leading_dot=.
   4512 else
   4513   am__leading_dot=_
   4514 fi
   4515 rmdir .tst 2>/dev/null
   4516 
   4517 DEPDIR="${am__leading_dot}deps"
   4518 
   4519 ac_config_commands="$ac_config_commands depfiles"
   4520 
   4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4522 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4523 cat > confinc.mk << 'END'
   4524 am__doit:
   4525 	@echo this is the am__doit target >confinc.out
   4526 .PHONY: am__doit
   4527 END
   4528 am__include="#"
   4529 am__quote=
   4530 # BSD make does it like this.
   4531 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4532 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4533 echo 'include confinc.mk # ignored' > confmf.GNU
   4534 _am_result=no
   4535 for s in GNU BSD; do
   4536   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4537    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4538    ac_status=$?
   4539    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4540    (exit $ac_status); }
   4541   case $?:`cat confinc.out 2>/dev/null` in #(
   4542   '0:this is the am__doit target') :
   4543     case $s in #(
   4544   BSD) :
   4545     am__include='.include' am__quote='"' ;; #(
   4546   *) :
   4547     am__include='include' am__quote='' ;;
   4548 esac ;; #(
   4549   *) :
   4550      ;;
   4551 esac
   4552   if test "$am__include" != "#"; then
   4553     _am_result="yes ($s style)"
   4554     break
   4555   fi
   4556 done
   4557 rm -f confinc.* confmf.*
   4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4559 printf "%s\n" "${_am_result}" >&6; }
   4560 
   4561 # Check whether --enable-dependency-tracking was given.
   4562 if test ${enable_dependency_tracking+y}
   4563 then :
   4564   enableval=$enable_dependency_tracking;
   4565 fi
   4566 
   4567 if test "x$enable_dependency_tracking" != xno; then
   4568   am_depcomp="$ac_aux_dir/depcomp"
   4569   AMDEPBACKSLASH='\'
   4570   am__nodep='_no'
   4571 fi
   4572  if test "x$enable_dependency_tracking" != xno; then
   4573   AMDEP_TRUE=
   4574   AMDEP_FALSE='#'
   4575 else
   4576   AMDEP_TRUE='#'
   4577   AMDEP_FALSE=
   4578 fi
   4579 
   4580 
   4581 # Check whether --enable-silent-rules was given.
   4582 if test ${enable_silent_rules+y}
   4583 then :
   4584   enableval=$enable_silent_rules;
   4585 fi
   4586 
   4587 case $enable_silent_rules in # (((
   4588   yes) AM_DEFAULT_VERBOSITY=0;;
   4589    no) AM_DEFAULT_VERBOSITY=1;;
   4590     *) AM_DEFAULT_VERBOSITY=1;;
   4591 esac
   4592 am_make=${MAKE-make}
   4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4594 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4595 if test ${am_cv_make_support_nested_variables+y}
   4596 then :
   4597   printf %s "(cached) " >&6
   4598 else case e in #(
   4599   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4600 BAR0=false
   4601 BAR1=true
   4602 V=1
   4603 am__doit:
   4604 	@$(TRUE)
   4605 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4606   am_cv_make_support_nested_variables=yes
   4607 else
   4608   am_cv_make_support_nested_variables=no
   4609 fi ;;
   4610 esac
   4611 fi
   4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4613 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4614 if test $am_cv_make_support_nested_variables = yes; then
   4615     AM_V='$(V)'
   4616   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4617 else
   4618   AM_V=$AM_DEFAULT_VERBOSITY
   4619   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4620 fi
   4621 AM_BACKSLASH='\'
   4622 
   4623 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4624   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4625   # is not polluted with repeated "-I."
   4626   am__isrc=' -I$(srcdir)'
   4627   # test to see if srcdir already configured
   4628   if test -f $srcdir/config.status; then
   4629     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4630   fi
   4631 fi
   4632 
   4633 # test whether we have cygpath
   4634 if test -z "$CYGPATH_W"; then
   4635   if (cygpath --version) >/dev/null 2>/dev/null; then
   4636     CYGPATH_W='cygpath -w'
   4637   else
   4638     CYGPATH_W=echo
   4639   fi
   4640 fi
   4641 
   4642 
   4643 # Define the identity of the package.
   4644  PACKAGE='libXext'
   4645  VERSION='1.3.6'
   4646 
   4647 
   4648 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4649 
   4650 
   4651 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4652 
   4653 # Some tools Automake needs.
   4654 
   4655 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4656 
   4657 
   4658 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4659 
   4660 
   4661 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4662 
   4663 
   4664 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4665 
   4666 
   4667 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4668 
   4669 # For better backward compatibility.  To be removed once Automake 1.9.x
   4670 # dies out for good.  For more background, see:
   4671 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4672 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4673 mkdir_p='$(MKDIR_P)'
   4674 
   4675 # We need awk for the "check" target (and possibly the TAP driver).  The
   4676 # system "awk" is bad on some platforms.
   4677 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4678 # in the wild :-(  We should find a proper way to deprecate it ...
   4679 AMTAR='$${TAR-tar}'
   4680 
   4681 
   4682 # We'll loop over all known methods to create a tar archive until one works.
   4683 _am_tools='gnutar  pax cpio none'
   4684 
   4685 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 depcc="$CC"   am_compiler_list=
   4692 
   4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4694 printf %s "checking dependency style of $depcc... " >&6; }
   4695 if test ${am_cv_CC_dependencies_compiler_type+y}
   4696 then :
   4697   printf %s "(cached) " >&6
   4698 else case e in #(
   4699   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4700   # We make a subdir and do the tests there.  Otherwise we can end up
   4701   # making bogus files that we don't know about and never remove.  For
   4702   # instance it was reported that on HP-UX the gcc test will end up
   4703   # making a dummy file named 'D' -- because '-MD' means "put the output
   4704   # in D".
   4705   rm -rf conftest.dir
   4706   mkdir conftest.dir
   4707   # Copy depcomp to subdir because otherwise we won't find it if we're
   4708   # using a relative directory.
   4709   cp "$am_depcomp" conftest.dir
   4710   cd conftest.dir
   4711   # We will build objects and dependencies in a subdirectory because
   4712   # it helps to detect inapplicable dependency modes.  For instance
   4713   # both Tru64's cc and ICC support -MD to output dependencies as a
   4714   # side effect of compilation, but ICC will put the dependencies in
   4715   # the current directory while Tru64 will put them in the object
   4716   # directory.
   4717   mkdir sub
   4718 
   4719   am_cv_CC_dependencies_compiler_type=none
   4720   if test "$am_compiler_list" = ""; then
   4721      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4722   fi
   4723   am__universal=false
   4724   case " $depcc " in #(
   4725      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4726      esac
   4727 
   4728   for depmode in $am_compiler_list; do
   4729     # Setup a source with many dependencies, because some compilers
   4730     # like to wrap large dependency lists on column 80 (with \), and
   4731     # we should not choose a depcomp mode which is confused by this.
   4732     #
   4733     # We need to recreate these files for each test, as the compiler may
   4734     # overwrite some of them when testing with obscure command lines.
   4735     # This happens at least with the AIX C compiler.
   4736     : > sub/conftest.c
   4737     for i in 1 2 3 4 5 6; do
   4738       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4739       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4740       # Solaris 10 /bin/sh.
   4741       echo '/* dummy */' > sub/conftst$i.h
   4742     done
   4743     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4744 
   4745     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4746     # mode.  It turns out that the SunPro C++ compiler does not properly
   4747     # handle '-M -o', and we need to detect this.  Also, some Intel
   4748     # versions had trouble with output in subdirs.
   4749     am__obj=sub/conftest.${OBJEXT-o}
   4750     am__minus_obj="-o $am__obj"
   4751     case $depmode in
   4752     gcc)
   4753       # This depmode causes a compiler race in universal mode.
   4754       test "$am__universal" = false || continue
   4755       ;;
   4756     nosideeffect)
   4757       # After this tag, mechanisms are not by side-effect, so they'll
   4758       # only be used when explicitly requested.
   4759       if test "x$enable_dependency_tracking" = xyes; then
   4760 	continue
   4761       else
   4762 	break
   4763       fi
   4764       ;;
   4765     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4766       # This compiler won't grok '-c -o', but also, the minuso test has
   4767       # not run yet.  These depmodes are late enough in the game, and
   4768       # so weak that their functioning should not be impacted.
   4769       am__obj=conftest.${OBJEXT-o}
   4770       am__minus_obj=
   4771       ;;
   4772     none) break ;;
   4773     esac
   4774     if depmode=$depmode \
   4775        source=sub/conftest.c object=$am__obj \
   4776        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4777        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4778          >/dev/null 2>conftest.err &&
   4779        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4781        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4783       # icc doesn't choke on unknown options, it will just issue warnings
   4784       # or remarks (even with -Werror).  So we grep stderr for any message
   4785       # that says an option was ignored or not supported.
   4786       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4787       #   icc: Command line warning: ignoring option '-M'; no argument required
   4788       # The diagnosis changed in icc 8.0:
   4789       #   icc: Command line remark: option '-MP' not supported
   4790       if (grep 'ignoring option' conftest.err ||
   4791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4792         am_cv_CC_dependencies_compiler_type=$depmode
   4793         break
   4794       fi
   4795     fi
   4796   done
   4797 
   4798   cd ..
   4799   rm -rf conftest.dir
   4800 else
   4801   am_cv_CC_dependencies_compiler_type=none
   4802 fi
   4803  ;;
   4804 esac
   4805 fi
   4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4807 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4808 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4809 
   4810  if
   4811   test "x$enable_dependency_tracking" != xno \
   4812   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4813   am__fastdepCC_TRUE=
   4814   am__fastdepCC_FALSE='#'
   4815 else
   4816   am__fastdepCC_TRUE='#'
   4817   am__fastdepCC_FALSE=
   4818 fi
   4819 
   4820 
   4821 # Variables for tags utilities; see am/tags.am
   4822 if test -z "$CTAGS"; then
   4823   CTAGS=ctags
   4824 fi
   4825 
   4826 if test -z "$ETAGS"; then
   4827   ETAGS=etags
   4828 fi
   4829 
   4830 if test -z "$CSCOPE"; then
   4831   CSCOPE=cscope
   4832 fi
   4833 
   4834 
   4835 
   4836 # POSIX will say in a future version that running "rm -f" with no argument
   4837 # is OK; and we want to be able to make that assumption in our Makefile
   4838 # recipes.  So use an aggressive probe to check that the usage we want is
   4839 # actually supported "in the wild" to an acceptable degree.
   4840 # See automake bug#10828.
   4841 # To make any issue more visible, cause the running configure to be aborted
   4842 # by default if the 'rm' program in use doesn't match our expectations; the
   4843 # user can still override this though.
   4844 if rm -f && rm -fr && rm -rf; then : OK; else
   4845   cat >&2 <<'END'
   4846 Oops!
   4847 
   4848 Your 'rm' program seems unable to run without file operands specified
   4849 on the command line, even when the '-f' option is present.  This is contrary
   4850 to the behaviour of most rm programs out there, and not conforming with
   4851 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4852 
   4853 Please tell bug-automake@gnu.org about your system, including the value
   4854 of your $PATH and any error possibly output before this message.  This
   4855 can help us improve future automake versions.
   4856 
   4857 END
   4858   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4859     echo 'Configuration will proceed anyway, since you have set the' >&2
   4860     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4861     echo >&2
   4862   else
   4863     cat >&2 <<'END'
   4864 Aborting the configuration process, to ensure you take notice of the issue.
   4865 
   4866 You can download and install GNU coreutils to get an 'rm' implementation
   4867 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4868 
   4869 If you want to complete the configuration process using your problematic
   4870 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4871 to "yes", and re-run configure.
   4872 
   4873 END
   4874     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4875   fi
   4876 fi
   4877 
   4878 
   4879 # Initialize libtool
   4880 case `pwd` in
   4881   *\ * | *\	*)
   4882     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4883 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4884 esac
   4885 
   4886 
   4887 
   4888 macro_version='2.4.7'
   4889 macro_revision='2.4.7'
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 ltmain=$ac_aux_dir/ltmain.sh
   4905 
   4906 
   4907 
   4908   # Make sure we can run config.sub.
   4909 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4910   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4911 
   4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4913 printf %s "checking build system type... " >&6; }
   4914 if test ${ac_cv_build+y}
   4915 then :
   4916   printf %s "(cached) " >&6
   4917 else case e in #(
   4918   e) ac_build_alias=$build_alias
   4919 test "x$ac_build_alias" = x &&
   4920   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4921 test "x$ac_build_alias" = x &&
   4922   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4923 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4924   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4925  ;;
   4926 esac
   4927 fi
   4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4929 printf "%s\n" "$ac_cv_build" >&6; }
   4930 case $ac_cv_build in
   4931 *-*-*) ;;
   4932 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4933 esac
   4934 build=$ac_cv_build
   4935 ac_save_IFS=$IFS; IFS='-'
   4936 set x $ac_cv_build
   4937 shift
   4938 build_cpu=$1
   4939 build_vendor=$2
   4940 shift; shift
   4941 # Remember, the first character of IFS is used to create $*,
   4942 # except with old shells:
   4943 build_os=$*
   4944 IFS=$ac_save_IFS
   4945 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4946 
   4947 
   4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4949 printf %s "checking host system type... " >&6; }
   4950 if test ${ac_cv_host+y}
   4951 then :
   4952   printf %s "(cached) " >&6
   4953 else case e in #(
   4954   e) if test "x$host_alias" = x; then
   4955   ac_cv_host=$ac_cv_build
   4956 else
   4957   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4958     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4959 fi
   4960  ;;
   4961 esac
   4962 fi
   4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4964 printf "%s\n" "$ac_cv_host" >&6; }
   4965 case $ac_cv_host in
   4966 *-*-*) ;;
   4967 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4968 esac
   4969 host=$ac_cv_host
   4970 ac_save_IFS=$IFS; IFS='-'
   4971 set x $ac_cv_host
   4972 shift
   4973 host_cpu=$1
   4974 host_vendor=$2
   4975 shift; shift
   4976 # Remember, the first character of IFS is used to create $*,
   4977 # except with old shells:
   4978 host_os=$*
   4979 IFS=$ac_save_IFS
   4980 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4981 
   4982 
   4983 # Backslashify metacharacters that are still active within
   4984 # double-quoted strings.
   4985 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4986 
   4987 # Same as above, but do not quote variable references.
   4988 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4989 
   4990 # Sed substitution to delay expansion of an escaped shell variable in a
   4991 # double_quote_subst'ed string.
   4992 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4993 
   4994 # Sed substitution to delay expansion of an escaped single quote.
   4995 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4996 
   4997 # Sed substitution to avoid accidental globbing in evaled expressions
   4998 no_glob_subst='s/\*/\\\*/g'
   4999 
   5000 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5001 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5002 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5003 
   5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5005 printf %s "checking how to print strings... " >&6; }
   5006 # Test print first, because it will be a builtin if present.
   5007 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5008    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5009   ECHO='print -r --'
   5010 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5011   ECHO='printf %s\n'
   5012 else
   5013   # Use this function as a fallback that always works.
   5014   func_fallback_echo ()
   5015   {
   5016     eval 'cat <<_LTECHO_EOF
   5017 $1
   5018 _LTECHO_EOF'
   5019   }
   5020   ECHO='func_fallback_echo'
   5021 fi
   5022 
   5023 # func_echo_all arg...
   5024 # Invoke $ECHO with all args, space-separated.
   5025 func_echo_all ()
   5026 {
   5027     $ECHO ""
   5028 }
   5029 
   5030 case $ECHO in
   5031   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5032 printf "%s\n" "printf" >&6; } ;;
   5033   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5034 printf "%s\n" "print -r" >&6; } ;;
   5035   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5036 printf "%s\n" "cat" >&6; } ;;
   5037 esac
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5053 printf %s "checking for a sed that does not truncate output... " >&6; }
   5054 if test ${ac_cv_path_SED+y}
   5055 then :
   5056   printf %s "(cached) " >&6
   5057 else case e in #(
   5058   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5059      for ac_i in 1 2 3 4 5 6 7; do
   5060        ac_script="$ac_script$as_nl$ac_script"
   5061      done
   5062      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5063      { ac_script=; unset ac_script;}
   5064      if test -z "$SED"; then
   5065   ac_path_SED_found=false
   5066   # Loop through the user's path and test for each of PROGNAME-LIST
   5067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5068 for as_dir in $PATH
   5069 do
   5070   IFS=$as_save_IFS
   5071   case $as_dir in #(((
   5072     '') as_dir=./ ;;
   5073     */) ;;
   5074     *) as_dir=$as_dir/ ;;
   5075   esac
   5076     for ac_prog in sed gsed
   5077    do
   5078     for ac_exec_ext in '' $ac_executable_extensions; do
   5079       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5080       as_fn_executable_p "$ac_path_SED" || continue
   5081 # Check for GNU ac_path_SED and select it if it is found.
   5082   # Check for GNU $ac_path_SED
   5083 case `"$ac_path_SED" --version 2>&1` in #(
   5084 *GNU*)
   5085   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5086 #(
   5087 *)
   5088   ac_count=0
   5089   printf %s 0123456789 >"conftest.in"
   5090   while :
   5091   do
   5092     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5093     mv "conftest.tmp" "conftest.in"
   5094     cp "conftest.in" "conftest.nl"
   5095     printf "%s\n" '' >> "conftest.nl"
   5096     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5097     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5098     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5099     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5100       # Best one so far, save it but keep looking for a better one
   5101       ac_cv_path_SED="$ac_path_SED"
   5102       ac_path_SED_max=$ac_count
   5103     fi
   5104     # 10*(2^10) chars as input seems more than enough
   5105     test $ac_count -gt 10 && break
   5106   done
   5107   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5108 esac
   5109 
   5110       $ac_path_SED_found && break 3
   5111     done
   5112   done
   5113   done
   5114 IFS=$as_save_IFS
   5115   if test -z "$ac_cv_path_SED"; then
   5116     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5117   fi
   5118 else
   5119   ac_cv_path_SED=$SED
   5120 fi
   5121  ;;
   5122 esac
   5123 fi
   5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5125 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5126  SED="$ac_cv_path_SED"
   5127   rm -f conftest.sed
   5128 
   5129 test -z "$SED" && SED=sed
   5130 Xsed="$SED -e 1s/^X//"
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5143 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5144 if test ${ac_cv_path_GREP+y}
   5145 then :
   5146   printf %s "(cached) " >&6
   5147 else case e in #(
   5148   e) if test -z "$GREP"; then
   5149   ac_path_GREP_found=false
   5150   # Loop through the user's path and test for each of PROGNAME-LIST
   5151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5153 do
   5154   IFS=$as_save_IFS
   5155   case $as_dir in #(((
   5156     '') as_dir=./ ;;
   5157     */) ;;
   5158     *) as_dir=$as_dir/ ;;
   5159   esac
   5160     for ac_prog in grep ggrep
   5161    do
   5162     for ac_exec_ext in '' $ac_executable_extensions; do
   5163       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5164       as_fn_executable_p "$ac_path_GREP" || continue
   5165 # Check for GNU ac_path_GREP and select it if it is found.
   5166   # Check for GNU $ac_path_GREP
   5167 case `"$ac_path_GREP" --version 2>&1` in #(
   5168 *GNU*)
   5169   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5170 #(
   5171 *)
   5172   ac_count=0
   5173   printf %s 0123456789 >"conftest.in"
   5174   while :
   5175   do
   5176     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5177     mv "conftest.tmp" "conftest.in"
   5178     cp "conftest.in" "conftest.nl"
   5179     printf "%s\n" 'GREP' >> "conftest.nl"
   5180     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5181     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5182     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5183     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5184       # Best one so far, save it but keep looking for a better one
   5185       ac_cv_path_GREP="$ac_path_GREP"
   5186       ac_path_GREP_max=$ac_count
   5187     fi
   5188     # 10*(2^10) chars as input seems more than enough
   5189     test $ac_count -gt 10 && break
   5190   done
   5191   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5192 esac
   5193 
   5194       $ac_path_GREP_found && break 3
   5195     done
   5196   done
   5197   done
   5198 IFS=$as_save_IFS
   5199   if test -z "$ac_cv_path_GREP"; then
   5200     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5201   fi
   5202 else
   5203   ac_cv_path_GREP=$GREP
   5204 fi
   5205  ;;
   5206 esac
   5207 fi
   5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5209 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5210  GREP="$ac_cv_path_GREP"
   5211 
   5212 
   5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5214 printf %s "checking for egrep... " >&6; }
   5215 if test ${ac_cv_path_EGREP+y}
   5216 then :
   5217   printf %s "(cached) " >&6
   5218 else case e in #(
   5219   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5220    then ac_cv_path_EGREP="$GREP -E"
   5221    else
   5222      if test -z "$EGREP"; then
   5223   ac_path_EGREP_found=false
   5224   # Loop through the user's path and test for each of PROGNAME-LIST
   5225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5227 do
   5228   IFS=$as_save_IFS
   5229   case $as_dir in #(((
   5230     '') as_dir=./ ;;
   5231     */) ;;
   5232     *) as_dir=$as_dir/ ;;
   5233   esac
   5234     for ac_prog in egrep
   5235    do
   5236     for ac_exec_ext in '' $ac_executable_extensions; do
   5237       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5238       as_fn_executable_p "$ac_path_EGREP" || continue
   5239 # Check for GNU ac_path_EGREP and select it if it is found.
   5240   # Check for GNU $ac_path_EGREP
   5241 case `"$ac_path_EGREP" --version 2>&1` in #(
   5242 *GNU*)
   5243   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5244 #(
   5245 *)
   5246   ac_count=0
   5247   printf %s 0123456789 >"conftest.in"
   5248   while :
   5249   do
   5250     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5251     mv "conftest.tmp" "conftest.in"
   5252     cp "conftest.in" "conftest.nl"
   5253     printf "%s\n" 'EGREP' >> "conftest.nl"
   5254     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5256     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5257     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5258       # Best one so far, save it but keep looking for a better one
   5259       ac_cv_path_EGREP="$ac_path_EGREP"
   5260       ac_path_EGREP_max=$ac_count
   5261     fi
   5262     # 10*(2^10) chars as input seems more than enough
   5263     test $ac_count -gt 10 && break
   5264   done
   5265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5266 esac
   5267 
   5268       $ac_path_EGREP_found && break 3
   5269     done
   5270   done
   5271   done
   5272 IFS=$as_save_IFS
   5273   if test -z "$ac_cv_path_EGREP"; then
   5274     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5275   fi
   5276 else
   5277   ac_cv_path_EGREP=$EGREP
   5278 fi
   5279 
   5280    fi ;;
   5281 esac
   5282 fi
   5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5284 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5285  EGREP="$ac_cv_path_EGREP"
   5286 
   5287          EGREP_TRADITIONAL=$EGREP
   5288  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5289 
   5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5291 printf %s "checking for fgrep... " >&6; }
   5292 if test ${ac_cv_path_FGREP+y}
   5293 then :
   5294   printf %s "(cached) " >&6
   5295 else case e in #(
   5296   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5297    then ac_cv_path_FGREP="$GREP -F"
   5298    else
   5299      if test -z "$FGREP"; then
   5300   ac_path_FGREP_found=false
   5301   # Loop through the user's path and test for each of PROGNAME-LIST
   5302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5304 do
   5305   IFS=$as_save_IFS
   5306   case $as_dir in #(((
   5307     '') as_dir=./ ;;
   5308     */) ;;
   5309     *) as_dir=$as_dir/ ;;
   5310   esac
   5311     for ac_prog in fgrep
   5312    do
   5313     for ac_exec_ext in '' $ac_executable_extensions; do
   5314       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5315       as_fn_executable_p "$ac_path_FGREP" || continue
   5316 # Check for GNU ac_path_FGREP and select it if it is found.
   5317   # Check for GNU $ac_path_FGREP
   5318 case `"$ac_path_FGREP" --version 2>&1` in #(
   5319 *GNU*)
   5320   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5321 #(
   5322 *)
   5323   ac_count=0
   5324   printf %s 0123456789 >"conftest.in"
   5325   while :
   5326   do
   5327     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5328     mv "conftest.tmp" "conftest.in"
   5329     cp "conftest.in" "conftest.nl"
   5330     printf "%s\n" 'FGREP' >> "conftest.nl"
   5331     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5332     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5333     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5334     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5335       # Best one so far, save it but keep looking for a better one
   5336       ac_cv_path_FGREP="$ac_path_FGREP"
   5337       ac_path_FGREP_max=$ac_count
   5338     fi
   5339     # 10*(2^10) chars as input seems more than enough
   5340     test $ac_count -gt 10 && break
   5341   done
   5342   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5343 esac
   5344 
   5345       $ac_path_FGREP_found && break 3
   5346     done
   5347   done
   5348   done
   5349 IFS=$as_save_IFS
   5350   if test -z "$ac_cv_path_FGREP"; then
   5351     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5352   fi
   5353 else
   5354   ac_cv_path_FGREP=$FGREP
   5355 fi
   5356 
   5357    fi ;;
   5358 esac
   5359 fi
   5360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5361 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5362  FGREP="$ac_cv_path_FGREP"
   5363 
   5364 
   5365 test -z "$GREP" && GREP=grep
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 # Check whether --with-gnu-ld was given.
   5386 if test ${with_gnu_ld+y}
   5387 then :
   5388   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5389 else case e in #(
   5390   e) with_gnu_ld=no ;;
   5391 esac
   5392 fi
   5393 
   5394 ac_prog=ld
   5395 if test yes = "$GCC"; then
   5396   # Check if gcc -print-prog-name=ld gives a path.
   5397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5398 printf %s "checking for ld used by $CC... " >&6; }
   5399   case $host in
   5400   *-*-mingw*)
   5401     # gcc leaves a trailing carriage return, which upsets mingw
   5402     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5403   *)
   5404     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5405   esac
   5406   case $ac_prog in
   5407     # Accept absolute paths.
   5408     [\\/]* | ?:[\\/]*)
   5409       re_direlt='/[^/][^/]*/\.\./'
   5410       # Canonicalize the pathname of ld
   5411       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5412       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5413 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5414       done
   5415       test -z "$LD" && LD=$ac_prog
   5416       ;;
   5417   "")
   5418     # If it fails, then pretend we aren't using GCC.
   5419     ac_prog=ld
   5420     ;;
   5421   *)
   5422     # If it is relative, then search for the first ld in PATH.
   5423     with_gnu_ld=unknown
   5424     ;;
   5425   esac
   5426 elif test yes = "$with_gnu_ld"; then
   5427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5428 printf %s "checking for GNU ld... " >&6; }
   5429 else
   5430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5431 printf %s "checking for non-GNU ld... " >&6; }
   5432 fi
   5433 if test ${lt_cv_path_LD+y}
   5434 then :
   5435   printf %s "(cached) " >&6
   5436 else case e in #(
   5437   e) if test -z "$LD"; then
   5438   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5439   for ac_dir in $PATH; do
   5440     IFS=$lt_save_ifs
   5441     test -z "$ac_dir" && ac_dir=.
   5442     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5443       lt_cv_path_LD=$ac_dir/$ac_prog
   5444       # Check to see if the program is GNU ld.  I'd rather use --version,
   5445       # but apparently some variants of GNU ld only accept -v.
   5446       # Break only if it was the GNU/non-GNU ld that we prefer.
   5447       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5448       *GNU* | *'with BFD'*)
   5449 	test no != "$with_gnu_ld" && break
   5450 	;;
   5451       *)
   5452 	test yes != "$with_gnu_ld" && break
   5453 	;;
   5454       esac
   5455     fi
   5456   done
   5457   IFS=$lt_save_ifs
   5458 else
   5459   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5460 fi ;;
   5461 esac
   5462 fi
   5463 
   5464 LD=$lt_cv_path_LD
   5465 if test -n "$LD"; then
   5466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5467 printf "%s\n" "$LD" >&6; }
   5468 else
   5469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5470 printf "%s\n" "no" >&6; }
   5471 fi
   5472 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5474 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5475 if test ${lt_cv_prog_gnu_ld+y}
   5476 then :
   5477   printf %s "(cached) " >&6
   5478 else case e in #(
   5479   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5480 case `$LD -v 2>&1 </dev/null` in
   5481 *GNU* | *'with BFD'*)
   5482   lt_cv_prog_gnu_ld=yes
   5483   ;;
   5484 *)
   5485   lt_cv_prog_gnu_ld=no
   5486   ;;
   5487 esac ;;
   5488 esac
   5489 fi
   5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5491 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5492 with_gnu_ld=$lt_cv_prog_gnu_ld
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5503 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5504 if test ${lt_cv_path_NM+y}
   5505 then :
   5506   printf %s "(cached) " >&6
   5507 else case e in #(
   5508   e) if test -n "$NM"; then
   5509   # Let the user override the test.
   5510   lt_cv_path_NM=$NM
   5511 else
   5512   lt_nm_to_check=${ac_tool_prefix}nm
   5513   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5514     lt_nm_to_check="$lt_nm_to_check nm"
   5515   fi
   5516   for lt_tmp_nm in $lt_nm_to_check; do
   5517     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5518     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5519       IFS=$lt_save_ifs
   5520       test -z "$ac_dir" && ac_dir=.
   5521       tmp_nm=$ac_dir/$lt_tmp_nm
   5522       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5523 	# Check to see if the nm accepts a BSD-compat flag.
   5524 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5525 	#   nm: unknown option "B" ignored
   5526 	# Tru64's nm complains that /dev/null is an invalid object file
   5527 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5528 	case $build_os in
   5529 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5530 	*) lt_bad_file=/dev/null ;;
   5531 	esac
   5532 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5533 	*$lt_bad_file* | *'Invalid file or object type'*)
   5534 	  lt_cv_path_NM="$tmp_nm -B"
   5535 	  break 2
   5536 	  ;;
   5537 	*)
   5538 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5539 	  */dev/null*)
   5540 	    lt_cv_path_NM="$tmp_nm -p"
   5541 	    break 2
   5542 	    ;;
   5543 	  *)
   5544 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5545 	    continue # so that we can try to find one that supports BSD flags
   5546 	    ;;
   5547 	  esac
   5548 	  ;;
   5549 	esac
   5550       fi
   5551     done
   5552     IFS=$lt_save_ifs
   5553   done
   5554   : ${lt_cv_path_NM=no}
   5555 fi ;;
   5556 esac
   5557 fi
   5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5559 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5560 if test no != "$lt_cv_path_NM"; then
   5561   NM=$lt_cv_path_NM
   5562 else
   5563   # Didn't find any BSD compatible name lister, look for dumpbin.
   5564   if test -n "$DUMPBIN"; then :
   5565     # Let the user override the test.
   5566   else
   5567     if test -n "$ac_tool_prefix"; then
   5568   for ac_prog in dumpbin "link -dump"
   5569   do
   5570     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5573 printf %s "checking for $ac_word... " >&6; }
   5574 if test ${ac_cv_prog_DUMPBIN+y}
   5575 then :
   5576   printf %s "(cached) " >&6
   5577 else case e in #(
   5578   e) if test -n "$DUMPBIN"; then
   5579   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5580 else
   5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5582 for as_dir in $PATH
   5583 do
   5584   IFS=$as_save_IFS
   5585   case $as_dir in #(((
   5586     '') as_dir=./ ;;
   5587     */) ;;
   5588     *) as_dir=$as_dir/ ;;
   5589   esac
   5590     for ac_exec_ext in '' $ac_executable_extensions; do
   5591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5592     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5594     break 2
   5595   fi
   5596 done
   5597   done
   5598 IFS=$as_save_IFS
   5599 
   5600 fi ;;
   5601 esac
   5602 fi
   5603 DUMPBIN=$ac_cv_prog_DUMPBIN
   5604 if test -n "$DUMPBIN"; then
   5605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5606 printf "%s\n" "$DUMPBIN" >&6; }
   5607 else
   5608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5609 printf "%s\n" "no" >&6; }
   5610 fi
   5611 
   5612 
   5613     test -n "$DUMPBIN" && break
   5614   done
   5615 fi
   5616 if test -z "$DUMPBIN"; then
   5617   ac_ct_DUMPBIN=$DUMPBIN
   5618   for ac_prog in dumpbin "link -dump"
   5619 do
   5620   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5621 set dummy $ac_prog; ac_word=$2
   5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5623 printf %s "checking for $ac_word... " >&6; }
   5624 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5625 then :
   5626   printf %s "(cached) " >&6
   5627 else case e in #(
   5628   e) if test -n "$ac_ct_DUMPBIN"; then
   5629   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5630 else
   5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5632 for as_dir in $PATH
   5633 do
   5634   IFS=$as_save_IFS
   5635   case $as_dir in #(((
   5636     '') as_dir=./ ;;
   5637     */) ;;
   5638     *) as_dir=$as_dir/ ;;
   5639   esac
   5640     for ac_exec_ext in '' $ac_executable_extensions; do
   5641   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5642     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5643     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5644     break 2
   5645   fi
   5646 done
   5647   done
   5648 IFS=$as_save_IFS
   5649 
   5650 fi ;;
   5651 esac
   5652 fi
   5653 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5654 if test -n "$ac_ct_DUMPBIN"; then
   5655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5656 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5657 else
   5658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5659 printf "%s\n" "no" >&6; }
   5660 fi
   5661 
   5662 
   5663   test -n "$ac_ct_DUMPBIN" && break
   5664 done
   5665 
   5666   if test "x$ac_ct_DUMPBIN" = x; then
   5667     DUMPBIN=":"
   5668   else
   5669     case $cross_compiling:$ac_tool_warned in
   5670 yes:)
   5671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5672 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5673 ac_tool_warned=yes ;;
   5674 esac
   5675     DUMPBIN=$ac_ct_DUMPBIN
   5676   fi
   5677 fi
   5678 
   5679     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5680     *COFF*)
   5681       DUMPBIN="$DUMPBIN -symbols -headers"
   5682       ;;
   5683     *)
   5684       DUMPBIN=:
   5685       ;;
   5686     esac
   5687   fi
   5688 
   5689   if test : != "$DUMPBIN"; then
   5690     NM=$DUMPBIN
   5691   fi
   5692 fi
   5693 test -z "$NM" && NM=nm
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5701 printf %s "checking the name lister ($NM) interface... " >&6; }
   5702 if test ${lt_cv_nm_interface+y}
   5703 then :
   5704   printf %s "(cached) " >&6
   5705 else case e in #(
   5706   e) lt_cv_nm_interface="BSD nm"
   5707   echo "int some_variable = 0;" > conftest.$ac_ext
   5708   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5709   (eval "$ac_compile" 2>conftest.err)
   5710   cat conftest.err >&5
   5711   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5712   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5713   cat conftest.err >&5
   5714   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5715   cat conftest.out >&5
   5716   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5717     lt_cv_nm_interface="MS dumpbin"
   5718   fi
   5719   rm -f conftest* ;;
   5720 esac
   5721 fi
   5722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5723 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5724 
   5725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5726 printf %s "checking whether ln -s works... " >&6; }
   5727 LN_S=$as_ln_s
   5728 if test "$LN_S" = "ln -s"; then
   5729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5730 printf "%s\n" "yes" >&6; }
   5731 else
   5732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5733 printf "%s\n" "no, using $LN_S" >&6; }
   5734 fi
   5735 
   5736 # find the maximum length of command line arguments
   5737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5738 printf %s "checking the maximum length of command line arguments... " >&6; }
   5739 if test ${lt_cv_sys_max_cmd_len+y}
   5740 then :
   5741   printf %s "(cached) " >&6
   5742 else case e in #(
   5743   e)   i=0
   5744   teststring=ABCD
   5745 
   5746   case $build_os in
   5747   msdosdjgpp*)
   5748     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5749     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5750     # during glob expansion).  Even if it were fixed, the result of this
   5751     # check would be larger than it should be.
   5752     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5753     ;;
   5754 
   5755   gnu*)
   5756     # Under GNU Hurd, this test is not required because there is
   5757     # no limit to the length of command line arguments.
   5758     # Libtool will interpret -1 as no limit whatsoever
   5759     lt_cv_sys_max_cmd_len=-1;
   5760     ;;
   5761 
   5762   cygwin* | mingw* | cegcc*)
   5763     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5764     # about 5 minutes as the teststring grows exponentially.
   5765     # Worse, since 9x/ME are not pre-emptively multitasking,
   5766     # you end up with a "frozen" computer, even though with patience
   5767     # the test eventually succeeds (with a max line length of 256k).
   5768     # Instead, let's just punt: use the minimum linelength reported by
   5769     # all of the supported platforms: 8192 (on NT/2K/XP).
   5770     lt_cv_sys_max_cmd_len=8192;
   5771     ;;
   5772 
   5773   mint*)
   5774     # On MiNT this can take a long time and run out of memory.
   5775     lt_cv_sys_max_cmd_len=8192;
   5776     ;;
   5777 
   5778   amigaos*)
   5779     # On AmigaOS with pdksh, this test takes hours, literally.
   5780     # So we just punt and use a minimum line length of 8192.
   5781     lt_cv_sys_max_cmd_len=8192;
   5782     ;;
   5783 
   5784   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5785     # This has been around since 386BSD, at least.  Likely further.
   5786     if test -x /sbin/sysctl; then
   5787       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5788     elif test -x /usr/sbin/sysctl; then
   5789       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5790     else
   5791       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5792     fi
   5793     # And add a safety zone
   5794     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5795     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5796     ;;
   5797 
   5798   interix*)
   5799     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5800     lt_cv_sys_max_cmd_len=196608
   5801     ;;
   5802 
   5803   os2*)
   5804     # The test takes a long time on OS/2.
   5805     lt_cv_sys_max_cmd_len=8192
   5806     ;;
   5807 
   5808   osf*)
   5809     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5810     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5811     # nice to cause kernel panics so lets avoid the loop below.
   5812     # First set a reasonable default.
   5813     lt_cv_sys_max_cmd_len=16384
   5814     #
   5815     if test -x /sbin/sysconfig; then
   5816       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5817         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5818       esac
   5819     fi
   5820     ;;
   5821   sco3.2v5*)
   5822     lt_cv_sys_max_cmd_len=102400
   5823     ;;
   5824   sysv5* | sco5v6* | sysv4.2uw2*)
   5825     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5826     if test -n "$kargmax"; then
   5827       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5828     else
   5829       lt_cv_sys_max_cmd_len=32768
   5830     fi
   5831     ;;
   5832   *)
   5833     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5834     if test -n "$lt_cv_sys_max_cmd_len" && \
   5835        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5836       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5837       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5838     else
   5839       # Make teststring a little bigger before we do anything with it.
   5840       # a 1K string should be a reasonable start.
   5841       for i in 1 2 3 4 5 6 7 8; do
   5842         teststring=$teststring$teststring
   5843       done
   5844       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5845       # If test is not a shell built-in, we'll probably end up computing a
   5846       # maximum length that is only half of the actual maximum length, but
   5847       # we can't tell.
   5848       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5849 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5850 	      test 17 != "$i" # 1/2 MB should be enough
   5851       do
   5852         i=`expr $i + 1`
   5853         teststring=$teststring$teststring
   5854       done
   5855       # Only check the string length outside the loop.
   5856       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5857       teststring=
   5858       # Add a significant safety factor because C++ compilers can tack on
   5859       # massive amounts of additional arguments before passing them to the
   5860       # linker.  It appears as though 1/2 is a usable value.
   5861       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5862     fi
   5863     ;;
   5864   esac
   5865  ;;
   5866 esac
   5867 fi
   5868 
   5869 if test -n "$lt_cv_sys_max_cmd_len"; then
   5870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5871 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5872 else
   5873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5874 printf "%s\n" "none" >&6; }
   5875 fi
   5876 max_cmd_len=$lt_cv_sys_max_cmd_len
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 : ${CP="cp -f"}
   5884 : ${MV="mv -f"}
   5885 : ${RM="rm -f"}
   5886 
   5887 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5888   lt_unset=unset
   5889 else
   5890   lt_unset=false
   5891 fi
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 # test EBCDIC or ASCII
   5898 case `echo X|tr X '\101'` in
   5899  A) # ASCII based system
   5900     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5901   lt_SP2NL='tr \040 \012'
   5902   lt_NL2SP='tr \015\012 \040\040'
   5903   ;;
   5904  *) # EBCDIC based system
   5905   lt_SP2NL='tr \100 \n'
   5906   lt_NL2SP='tr \r\n \100\100'
   5907   ;;
   5908 esac
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5919 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5920 if test ${lt_cv_to_host_file_cmd+y}
   5921 then :
   5922   printf %s "(cached) " >&6
   5923 else case e in #(
   5924   e) case $host in
   5925   *-*-mingw* )
   5926     case $build in
   5927       *-*-mingw* ) # actually msys
   5928         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5929         ;;
   5930       *-*-cygwin* )
   5931         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5932         ;;
   5933       * ) # otherwise, assume *nix
   5934         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5935         ;;
   5936     esac
   5937     ;;
   5938   *-*-cygwin* )
   5939     case $build in
   5940       *-*-mingw* ) # actually msys
   5941         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5942         ;;
   5943       *-*-cygwin* )
   5944         lt_cv_to_host_file_cmd=func_convert_file_noop
   5945         ;;
   5946       * ) # otherwise, assume *nix
   5947         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5948         ;;
   5949     esac
   5950     ;;
   5951   * ) # unhandled hosts (and "normal" native builds)
   5952     lt_cv_to_host_file_cmd=func_convert_file_noop
   5953     ;;
   5954 esac
   5955  ;;
   5956 esac
   5957 fi
   5958 
   5959 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5961 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5968 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5969 if test ${lt_cv_to_tool_file_cmd+y}
   5970 then :
   5971   printf %s "(cached) " >&6
   5972 else case e in #(
   5973   e) #assume ordinary cross tools, or native build.
   5974 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5975 case $host in
   5976   *-*-mingw* )
   5977     case $build in
   5978       *-*-mingw* ) # actually msys
   5979         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5980         ;;
   5981     esac
   5982     ;;
   5983 esac
   5984  ;;
   5985 esac
   5986 fi
   5987 
   5988 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5990 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5997 printf %s "checking for $LD option to reload object files... " >&6; }
   5998 if test ${lt_cv_ld_reload_flag+y}
   5999 then :
   6000   printf %s "(cached) " >&6
   6001 else case e in #(
   6002   e) lt_cv_ld_reload_flag='-r' ;;
   6003 esac
   6004 fi
   6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6006 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6007 reload_flag=$lt_cv_ld_reload_flag
   6008 case $reload_flag in
   6009 "" | " "*) ;;
   6010 *) reload_flag=" $reload_flag" ;;
   6011 esac
   6012 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6013 case $host_os in
   6014   cygwin* | mingw* | pw32* | cegcc*)
   6015     if test yes != "$GCC"; then
   6016       reload_cmds=false
   6017     fi
   6018     ;;
   6019   darwin*)
   6020     if test yes = "$GCC"; then
   6021       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6022     else
   6023       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6024     fi
   6025     ;;
   6026 esac
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 if test -n "$ac_tool_prefix"; then
   6037   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6038 set dummy ${ac_tool_prefix}file; ac_word=$2
   6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6040 printf %s "checking for $ac_word... " >&6; }
   6041 if test ${ac_cv_prog_FILECMD+y}
   6042 then :
   6043   printf %s "(cached) " >&6
   6044 else case e in #(
   6045   e) if test -n "$FILECMD"; then
   6046   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6047 else
   6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6049 for as_dir in $PATH
   6050 do
   6051   IFS=$as_save_IFS
   6052   case $as_dir in #(((
   6053     '') as_dir=./ ;;
   6054     */) ;;
   6055     *) as_dir=$as_dir/ ;;
   6056   esac
   6057     for ac_exec_ext in '' $ac_executable_extensions; do
   6058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6059     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6061     break 2
   6062   fi
   6063 done
   6064   done
   6065 IFS=$as_save_IFS
   6066 
   6067 fi ;;
   6068 esac
   6069 fi
   6070 FILECMD=$ac_cv_prog_FILECMD
   6071 if test -n "$FILECMD"; then
   6072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6073 printf "%s\n" "$FILECMD" >&6; }
   6074 else
   6075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6076 printf "%s\n" "no" >&6; }
   6077 fi
   6078 
   6079 
   6080 fi
   6081 if test -z "$ac_cv_prog_FILECMD"; then
   6082   ac_ct_FILECMD=$FILECMD
   6083   # Extract the first word of "file", so it can be a program name with args.
   6084 set dummy file; ac_word=$2
   6085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6086 printf %s "checking for $ac_word... " >&6; }
   6087 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6088 then :
   6089   printf %s "(cached) " >&6
   6090 else case e in #(
   6091   e) if test -n "$ac_ct_FILECMD"; then
   6092   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6093 else
   6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6095 for as_dir in $PATH
   6096 do
   6097   IFS=$as_save_IFS
   6098   case $as_dir in #(((
   6099     '') as_dir=./ ;;
   6100     */) ;;
   6101     *) as_dir=$as_dir/ ;;
   6102   esac
   6103     for ac_exec_ext in '' $ac_executable_extensions; do
   6104   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6105     ac_cv_prog_ac_ct_FILECMD="file"
   6106     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6107     break 2
   6108   fi
   6109 done
   6110   done
   6111 IFS=$as_save_IFS
   6112 
   6113 fi ;;
   6114 esac
   6115 fi
   6116 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6117 if test -n "$ac_ct_FILECMD"; then
   6118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6119 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6120 else
   6121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6122 printf "%s\n" "no" >&6; }
   6123 fi
   6124 
   6125   if test "x$ac_ct_FILECMD" = x; then
   6126     FILECMD=":"
   6127   else
   6128     case $cross_compiling:$ac_tool_warned in
   6129 yes:)
   6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6132 ac_tool_warned=yes ;;
   6133 esac
   6134     FILECMD=$ac_ct_FILECMD
   6135   fi
   6136 else
   6137   FILECMD="$ac_cv_prog_FILECMD"
   6138 fi
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 if test -n "$ac_tool_prefix"; then
   6147   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6148 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6150 printf %s "checking for $ac_word... " >&6; }
   6151 if test ${ac_cv_prog_OBJDUMP+y}
   6152 then :
   6153   printf %s "(cached) " >&6
   6154 else case e in #(
   6155   e) if test -n "$OBJDUMP"; then
   6156   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6157 else
   6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6159 for as_dir in $PATH
   6160 do
   6161   IFS=$as_save_IFS
   6162   case $as_dir in #(((
   6163     '') as_dir=./ ;;
   6164     */) ;;
   6165     *) as_dir=$as_dir/ ;;
   6166   esac
   6167     for ac_exec_ext in '' $ac_executable_extensions; do
   6168   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6169     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6170     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6171     break 2
   6172   fi
   6173 done
   6174   done
   6175 IFS=$as_save_IFS
   6176 
   6177 fi ;;
   6178 esac
   6179 fi
   6180 OBJDUMP=$ac_cv_prog_OBJDUMP
   6181 if test -n "$OBJDUMP"; then
   6182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6183 printf "%s\n" "$OBJDUMP" >&6; }
   6184 else
   6185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6186 printf "%s\n" "no" >&6; }
   6187 fi
   6188 
   6189 
   6190 fi
   6191 if test -z "$ac_cv_prog_OBJDUMP"; then
   6192   ac_ct_OBJDUMP=$OBJDUMP
   6193   # Extract the first word of "objdump", so it can be a program name with args.
   6194 set dummy objdump; ac_word=$2
   6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6196 printf %s "checking for $ac_word... " >&6; }
   6197 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6198 then :
   6199   printf %s "(cached) " >&6
   6200 else case e in #(
   6201   e) if test -n "$ac_ct_OBJDUMP"; then
   6202   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6203 else
   6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6205 for as_dir in $PATH
   6206 do
   6207   IFS=$as_save_IFS
   6208   case $as_dir in #(((
   6209     '') as_dir=./ ;;
   6210     */) ;;
   6211     *) as_dir=$as_dir/ ;;
   6212   esac
   6213     for ac_exec_ext in '' $ac_executable_extensions; do
   6214   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6215     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6216     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6217     break 2
   6218   fi
   6219 done
   6220   done
   6221 IFS=$as_save_IFS
   6222 
   6223 fi ;;
   6224 esac
   6225 fi
   6226 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6227 if test -n "$ac_ct_OBJDUMP"; then
   6228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6229 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6230 else
   6231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6232 printf "%s\n" "no" >&6; }
   6233 fi
   6234 
   6235   if test "x$ac_ct_OBJDUMP" = x; then
   6236     OBJDUMP="false"
   6237   else
   6238     case $cross_compiling:$ac_tool_warned in
   6239 yes:)
   6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6241 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6242 ac_tool_warned=yes ;;
   6243 esac
   6244     OBJDUMP=$ac_ct_OBJDUMP
   6245   fi
   6246 else
   6247   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6248 fi
   6249 
   6250 test -z "$OBJDUMP" && OBJDUMP=objdump
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6261 printf %s "checking how to recognize dependent libraries... " >&6; }
   6262 if test ${lt_cv_deplibs_check_method+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else case e in #(
   6266   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6267 lt_cv_file_magic_test_file=
   6268 lt_cv_deplibs_check_method='unknown'
   6269 # Need to set the preceding variable on all platforms that support
   6270 # interlibrary dependencies.
   6271 # 'none' -- dependencies not supported.
   6272 # 'unknown' -- same as none, but documents that we really don't know.
   6273 # 'pass_all' -- all dependencies passed with no checks.
   6274 # 'test_compile' -- check by making test program.
   6275 # 'file_magic [[regex]]' -- check by looking for files in library path
   6276 # that responds to the $file_magic_cmd with a given extended regex.
   6277 # If you have 'file' or equivalent on your system and you're not sure
   6278 # whether 'pass_all' will *always* work, you probably want this one.
   6279 
   6280 case $host_os in
   6281 aix[4-9]*)
   6282   lt_cv_deplibs_check_method=pass_all
   6283   ;;
   6284 
   6285 beos*)
   6286   lt_cv_deplibs_check_method=pass_all
   6287   ;;
   6288 
   6289 bsdi[45]*)
   6290   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6291   lt_cv_file_magic_cmd='$FILECMD -L'
   6292   lt_cv_file_magic_test_file=/shlib/libc.so
   6293   ;;
   6294 
   6295 cygwin*)
   6296   # func_win32_libid is a shell function defined in ltmain.sh
   6297   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6298   lt_cv_file_magic_cmd='func_win32_libid'
   6299   ;;
   6300 
   6301 mingw* | pw32*)
   6302   # Base MSYS/MinGW do not provide the 'file' command needed by
   6303   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6304   # unless we find 'file', for example because we are cross-compiling.
   6305   if ( file / ) >/dev/null 2>&1; then
   6306     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6307     lt_cv_file_magic_cmd='func_win32_libid'
   6308   else
   6309     # Keep this pattern in sync with the one in func_win32_libid.
   6310     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6311     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6312   fi
   6313   ;;
   6314 
   6315 cegcc*)
   6316   # use the weaker test based on 'objdump'. See mingw*.
   6317   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6318   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6319   ;;
   6320 
   6321 darwin* | rhapsody*)
   6322   lt_cv_deplibs_check_method=pass_all
   6323   ;;
   6324 
   6325 freebsd* | dragonfly* | midnightbsd*)
   6326   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6327     case $host_cpu in
   6328     i*86 )
   6329       # Not sure whether the presence of OpenBSD here was a mistake.
   6330       # Let's accept both of them until this is cleared up.
   6331       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6332       lt_cv_file_magic_cmd=$FILECMD
   6333       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6334       ;;
   6335     esac
   6336   else
   6337     lt_cv_deplibs_check_method=pass_all
   6338   fi
   6339   ;;
   6340 
   6341 haiku*)
   6342   lt_cv_deplibs_check_method=pass_all
   6343   ;;
   6344 
   6345 hpux10.20* | hpux11*)
   6346   lt_cv_file_magic_cmd=$FILECMD
   6347   case $host_cpu in
   6348   ia64*)
   6349     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6350     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6351     ;;
   6352   hppa*64*)
   6353     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]'
   6354     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6355     ;;
   6356   *)
   6357     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6358     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6359     ;;
   6360   esac
   6361   ;;
   6362 
   6363 interix[3-9]*)
   6364   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6365   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6366   ;;
   6367 
   6368 irix5* | irix6* | nonstopux*)
   6369   case $LD in
   6370   *-32|*"-32 ") libmagic=32-bit;;
   6371   *-n32|*"-n32 ") libmagic=N32;;
   6372   *-64|*"-64 ") libmagic=64-bit;;
   6373   *) libmagic=never-match;;
   6374   esac
   6375   lt_cv_deplibs_check_method=pass_all
   6376   ;;
   6377 
   6378 # This must be glibc/ELF.
   6379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6380   lt_cv_deplibs_check_method=pass_all
   6381   ;;
   6382 
   6383 netbsd*)
   6384   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6385     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6386   else
   6387     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6388   fi
   6389   ;;
   6390 
   6391 newos6*)
   6392   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6393   lt_cv_file_magic_cmd=$FILECMD
   6394   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6395   ;;
   6396 
   6397 *nto* | *qnx*)
   6398   lt_cv_deplibs_check_method=pass_all
   6399   ;;
   6400 
   6401 openbsd* | bitrig*)
   6402   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6403     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6404   else
   6405     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6406   fi
   6407   ;;
   6408 
   6409 osf3* | osf4* | osf5*)
   6410   lt_cv_deplibs_check_method=pass_all
   6411   ;;
   6412 
   6413 rdos*)
   6414   lt_cv_deplibs_check_method=pass_all
   6415   ;;
   6416 
   6417 solaris*)
   6418   lt_cv_deplibs_check_method=pass_all
   6419   ;;
   6420 
   6421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6422   lt_cv_deplibs_check_method=pass_all
   6423   ;;
   6424 
   6425 sysv4 | sysv4.3*)
   6426   case $host_vendor in
   6427   motorola)
   6428     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]'
   6429     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6430     ;;
   6431   ncr)
   6432     lt_cv_deplibs_check_method=pass_all
   6433     ;;
   6434   sequent)
   6435     lt_cv_file_magic_cmd='/bin/file'
   6436     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6437     ;;
   6438   sni)
   6439     lt_cv_file_magic_cmd='/bin/file'
   6440     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6441     lt_cv_file_magic_test_file=/lib/libc.so
   6442     ;;
   6443   siemens)
   6444     lt_cv_deplibs_check_method=pass_all
   6445     ;;
   6446   pc)
   6447     lt_cv_deplibs_check_method=pass_all
   6448     ;;
   6449   esac
   6450   ;;
   6451 
   6452 tpf*)
   6453   lt_cv_deplibs_check_method=pass_all
   6454   ;;
   6455 os2*)
   6456   lt_cv_deplibs_check_method=pass_all
   6457   ;;
   6458 esac
   6459  ;;
   6460 esac
   6461 fi
   6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6463 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6464 
   6465 file_magic_glob=
   6466 want_nocaseglob=no
   6467 if test "$build" = "$host"; then
   6468   case $host_os in
   6469   mingw* | pw32*)
   6470     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6471       want_nocaseglob=yes
   6472     else
   6473       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6474     fi
   6475     ;;
   6476   esac
   6477 fi
   6478 
   6479 file_magic_cmd=$lt_cv_file_magic_cmd
   6480 deplibs_check_method=$lt_cv_deplibs_check_method
   6481 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 if test -n "$ac_tool_prefix"; then
   6505   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6506 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6508 printf %s "checking for $ac_word... " >&6; }
   6509 if test ${ac_cv_prog_DLLTOOL+y}
   6510 then :
   6511   printf %s "(cached) " >&6
   6512 else case e in #(
   6513   e) if test -n "$DLLTOOL"; then
   6514   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6515 else
   6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6517 for as_dir in $PATH
   6518 do
   6519   IFS=$as_save_IFS
   6520   case $as_dir in #(((
   6521     '') as_dir=./ ;;
   6522     */) ;;
   6523     *) as_dir=$as_dir/ ;;
   6524   esac
   6525     for ac_exec_ext in '' $ac_executable_extensions; do
   6526   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6527     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6528     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6529     break 2
   6530   fi
   6531 done
   6532   done
   6533 IFS=$as_save_IFS
   6534 
   6535 fi ;;
   6536 esac
   6537 fi
   6538 DLLTOOL=$ac_cv_prog_DLLTOOL
   6539 if test -n "$DLLTOOL"; then
   6540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6541 printf "%s\n" "$DLLTOOL" >&6; }
   6542 else
   6543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6544 printf "%s\n" "no" >&6; }
   6545 fi
   6546 
   6547 
   6548 fi
   6549 if test -z "$ac_cv_prog_DLLTOOL"; then
   6550   ac_ct_DLLTOOL=$DLLTOOL
   6551   # Extract the first word of "dlltool", so it can be a program name with args.
   6552 set dummy dlltool; ac_word=$2
   6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6554 printf %s "checking for $ac_word... " >&6; }
   6555 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6556 then :
   6557   printf %s "(cached) " >&6
   6558 else case e in #(
   6559   e) if test -n "$ac_ct_DLLTOOL"; then
   6560   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   case $as_dir in #(((
   6567     '') as_dir=./ ;;
   6568     */) ;;
   6569     *) as_dir=$as_dir/ ;;
   6570   esac
   6571     for ac_exec_ext in '' $ac_executable_extensions; do
   6572   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6573     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6574     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6575     break 2
   6576   fi
   6577 done
   6578   done
   6579 IFS=$as_save_IFS
   6580 
   6581 fi ;;
   6582 esac
   6583 fi
   6584 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6585 if test -n "$ac_ct_DLLTOOL"; then
   6586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6587 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6588 else
   6589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6590 printf "%s\n" "no" >&6; }
   6591 fi
   6592 
   6593   if test "x$ac_ct_DLLTOOL" = x; then
   6594     DLLTOOL="false"
   6595   else
   6596     case $cross_compiling:$ac_tool_warned in
   6597 yes:)
   6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6599 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6600 ac_tool_warned=yes ;;
   6601 esac
   6602     DLLTOOL=$ac_ct_DLLTOOL
   6603   fi
   6604 else
   6605   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6606 fi
   6607 
   6608 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6620 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6621 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6622 then :
   6623   printf %s "(cached) " >&6
   6624 else case e in #(
   6625   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6626 
   6627 case $host_os in
   6628 cygwin* | mingw* | pw32* | cegcc*)
   6629   # two different shell functions defined in ltmain.sh;
   6630   # decide which one to use based on capabilities of $DLLTOOL
   6631   case `$DLLTOOL --help 2>&1` in
   6632   *--identify-strict*)
   6633     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6634     ;;
   6635   *)
   6636     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6637     ;;
   6638   esac
   6639   ;;
   6640 *)
   6641   # fallback: assume linklib IS sharedlib
   6642   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6643   ;;
   6644 esac
   6645  ;;
   6646 esac
   6647 fi
   6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6649 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6650 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6651 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 if test -n "$ac_tool_prefix"; then
   6660   for ac_prog in ar
   6661   do
   6662     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6665 printf %s "checking for $ac_word... " >&6; }
   6666 if test ${ac_cv_prog_AR+y}
   6667 then :
   6668   printf %s "(cached) " >&6
   6669 else case e in #(
   6670   e) if test -n "$AR"; then
   6671   ac_cv_prog_AR="$AR" # Let the user override the test.
   6672 else
   6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6674 for as_dir in $PATH
   6675 do
   6676   IFS=$as_save_IFS
   6677   case $as_dir in #(((
   6678     '') as_dir=./ ;;
   6679     */) ;;
   6680     *) as_dir=$as_dir/ ;;
   6681   esac
   6682     for ac_exec_ext in '' $ac_executable_extensions; do
   6683   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6684     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6685     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6686     break 2
   6687   fi
   6688 done
   6689   done
   6690 IFS=$as_save_IFS
   6691 
   6692 fi ;;
   6693 esac
   6694 fi
   6695 AR=$ac_cv_prog_AR
   6696 if test -n "$AR"; then
   6697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6698 printf "%s\n" "$AR" >&6; }
   6699 else
   6700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6701 printf "%s\n" "no" >&6; }
   6702 fi
   6703 
   6704 
   6705     test -n "$AR" && break
   6706   done
   6707 fi
   6708 if test -z "$AR"; then
   6709   ac_ct_AR=$AR
   6710   for ac_prog in ar
   6711 do
   6712   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6713 set dummy $ac_prog; ac_word=$2
   6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6715 printf %s "checking for $ac_word... " >&6; }
   6716 if test ${ac_cv_prog_ac_ct_AR+y}
   6717 then :
   6718   printf %s "(cached) " >&6
   6719 else case e in #(
   6720   e) if test -n "$ac_ct_AR"; then
   6721   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6722 else
   6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6724 for as_dir in $PATH
   6725 do
   6726   IFS=$as_save_IFS
   6727   case $as_dir in #(((
   6728     '') as_dir=./ ;;
   6729     */) ;;
   6730     *) as_dir=$as_dir/ ;;
   6731   esac
   6732     for ac_exec_ext in '' $ac_executable_extensions; do
   6733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6734     ac_cv_prog_ac_ct_AR="$ac_prog"
   6735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6736     break 2
   6737   fi
   6738 done
   6739   done
   6740 IFS=$as_save_IFS
   6741 
   6742 fi ;;
   6743 esac
   6744 fi
   6745 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6746 if test -n "$ac_ct_AR"; then
   6747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6748 printf "%s\n" "$ac_ct_AR" >&6; }
   6749 else
   6750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6751 printf "%s\n" "no" >&6; }
   6752 fi
   6753 
   6754 
   6755   test -n "$ac_ct_AR" && break
   6756 done
   6757 
   6758   if test "x$ac_ct_AR" = x; then
   6759     AR="false"
   6760   else
   6761     case $cross_compiling:$ac_tool_warned in
   6762 yes:)
   6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6765 ac_tool_warned=yes ;;
   6766 esac
   6767     AR=$ac_ct_AR
   6768   fi
   6769 fi
   6770 
   6771 : ${AR=ar}
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6779 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6780 # higher priority because thats what people were doing historically (setting
   6781 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6782 # variable obsoleted/removed.
   6783 
   6784 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6785 lt_ar_flags=$AR_FLAGS
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6793 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6801 printf %s "checking for archiver @FILE support... " >&6; }
   6802 if test ${lt_cv_ar_at_file+y}
   6803 then :
   6804   printf %s "(cached) " >&6
   6805 else case e in #(
   6806   e) lt_cv_ar_at_file=no
   6807    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 
   6810 int
   6811 main (void)
   6812 {
   6813 
   6814   ;
   6815   return 0;
   6816 }
   6817 _ACEOF
   6818 if ac_fn_c_try_compile "$LINENO"
   6819 then :
   6820   echo conftest.$ac_objext > conftest.lst
   6821       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6822       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6823   (eval $lt_ar_try) 2>&5
   6824   ac_status=$?
   6825   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6826   test $ac_status = 0; }
   6827       if test 0 -eq "$ac_status"; then
   6828 	# Ensure the archiver fails upon bogus file names.
   6829 	rm -f conftest.$ac_objext libconftest.a
   6830 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6831   (eval $lt_ar_try) 2>&5
   6832   ac_status=$?
   6833   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6834   test $ac_status = 0; }
   6835 	if test 0 -ne "$ac_status"; then
   6836           lt_cv_ar_at_file=@
   6837         fi
   6838       fi
   6839       rm -f conftest.* libconftest.a
   6840 
   6841 fi
   6842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6843    ;;
   6844 esac
   6845 fi
   6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6847 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6848 
   6849 if test no = "$lt_cv_ar_at_file"; then
   6850   archiver_list_spec=
   6851 else
   6852   archiver_list_spec=$lt_cv_ar_at_file
   6853 fi
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 if test -n "$ac_tool_prefix"; then
   6862   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6863 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6865 printf %s "checking for $ac_word... " >&6; }
   6866 if test ${ac_cv_prog_STRIP+y}
   6867 then :
   6868   printf %s "(cached) " >&6
   6869 else case e in #(
   6870   e) if test -n "$STRIP"; then
   6871   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6872 else
   6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6874 for as_dir in $PATH
   6875 do
   6876   IFS=$as_save_IFS
   6877   case $as_dir in #(((
   6878     '') as_dir=./ ;;
   6879     */) ;;
   6880     *) as_dir=$as_dir/ ;;
   6881   esac
   6882     for ac_exec_ext in '' $ac_executable_extensions; do
   6883   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6884     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6885     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6886     break 2
   6887   fi
   6888 done
   6889   done
   6890 IFS=$as_save_IFS
   6891 
   6892 fi ;;
   6893 esac
   6894 fi
   6895 STRIP=$ac_cv_prog_STRIP
   6896 if test -n "$STRIP"; then
   6897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6898 printf "%s\n" "$STRIP" >&6; }
   6899 else
   6900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6901 printf "%s\n" "no" >&6; }
   6902 fi
   6903 
   6904 
   6905 fi
   6906 if test -z "$ac_cv_prog_STRIP"; then
   6907   ac_ct_STRIP=$STRIP
   6908   # Extract the first word of "strip", so it can be a program name with args.
   6909 set dummy strip; ac_word=$2
   6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6911 printf %s "checking for $ac_word... " >&6; }
   6912 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6913 then :
   6914   printf %s "(cached) " >&6
   6915 else case e in #(
   6916   e) if test -n "$ac_ct_STRIP"; then
   6917   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6918 else
   6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6920 for as_dir in $PATH
   6921 do
   6922   IFS=$as_save_IFS
   6923   case $as_dir in #(((
   6924     '') as_dir=./ ;;
   6925     */) ;;
   6926     *) as_dir=$as_dir/ ;;
   6927   esac
   6928     for ac_exec_ext in '' $ac_executable_extensions; do
   6929   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6930     ac_cv_prog_ac_ct_STRIP="strip"
   6931     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6932     break 2
   6933   fi
   6934 done
   6935   done
   6936 IFS=$as_save_IFS
   6937 
   6938 fi ;;
   6939 esac
   6940 fi
   6941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6942 if test -n "$ac_ct_STRIP"; then
   6943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6944 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6945 else
   6946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 printf "%s\n" "no" >&6; }
   6948 fi
   6949 
   6950   if test "x$ac_ct_STRIP" = x; then
   6951     STRIP=":"
   6952   else
   6953     case $cross_compiling:$ac_tool_warned in
   6954 yes:)
   6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6957 ac_tool_warned=yes ;;
   6958 esac
   6959     STRIP=$ac_ct_STRIP
   6960   fi
   6961 else
   6962   STRIP="$ac_cv_prog_STRIP"
   6963 fi
   6964 
   6965 test -z "$STRIP" && STRIP=:
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 if test -n "$ac_tool_prefix"; then
   6973   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6976 printf %s "checking for $ac_word... " >&6; }
   6977 if test ${ac_cv_prog_RANLIB+y}
   6978 then :
   6979   printf %s "(cached) " >&6
   6980 else case e in #(
   6981   e) if test -n "$RANLIB"; then
   6982   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6983 else
   6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6985 for as_dir in $PATH
   6986 do
   6987   IFS=$as_save_IFS
   6988   case $as_dir in #(((
   6989     '') as_dir=./ ;;
   6990     */) ;;
   6991     *) as_dir=$as_dir/ ;;
   6992   esac
   6993     for ac_exec_ext in '' $ac_executable_extensions; do
   6994   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6995     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6996     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6997     break 2
   6998   fi
   6999 done
   7000   done
   7001 IFS=$as_save_IFS
   7002 
   7003 fi ;;
   7004 esac
   7005 fi
   7006 RANLIB=$ac_cv_prog_RANLIB
   7007 if test -n "$RANLIB"; then
   7008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7009 printf "%s\n" "$RANLIB" >&6; }
   7010 else
   7011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7012 printf "%s\n" "no" >&6; }
   7013 fi
   7014 
   7015 
   7016 fi
   7017 if test -z "$ac_cv_prog_RANLIB"; then
   7018   ac_ct_RANLIB=$RANLIB
   7019   # Extract the first word of "ranlib", so it can be a program name with args.
   7020 set dummy ranlib; ac_word=$2
   7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7022 printf %s "checking for $ac_word... " >&6; }
   7023 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7024 then :
   7025   printf %s "(cached) " >&6
   7026 else case e in #(
   7027   e) if test -n "$ac_ct_RANLIB"; then
   7028   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7029 else
   7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7031 for as_dir in $PATH
   7032 do
   7033   IFS=$as_save_IFS
   7034   case $as_dir in #(((
   7035     '') as_dir=./ ;;
   7036     */) ;;
   7037     *) as_dir=$as_dir/ ;;
   7038   esac
   7039     for ac_exec_ext in '' $ac_executable_extensions; do
   7040   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7041     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7042     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7043     break 2
   7044   fi
   7045 done
   7046   done
   7047 IFS=$as_save_IFS
   7048 
   7049 fi ;;
   7050 esac
   7051 fi
   7052 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7053 if test -n "$ac_ct_RANLIB"; then
   7054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7055 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7056 else
   7057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7058 printf "%s\n" "no" >&6; }
   7059 fi
   7060 
   7061   if test "x$ac_ct_RANLIB" = x; then
   7062     RANLIB=":"
   7063   else
   7064     case $cross_compiling:$ac_tool_warned in
   7065 yes:)
   7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7067 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7068 ac_tool_warned=yes ;;
   7069 esac
   7070     RANLIB=$ac_ct_RANLIB
   7071   fi
   7072 else
   7073   RANLIB="$ac_cv_prog_RANLIB"
   7074 fi
   7075 
   7076 test -z "$RANLIB" && RANLIB=:
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 # Determine commands to create old-style static archives.
   7084 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7085 old_postinstall_cmds='chmod 644 $oldlib'
   7086 old_postuninstall_cmds=
   7087 
   7088 if test -n "$RANLIB"; then
   7089   case $host_os in
   7090   bitrig* | openbsd*)
   7091     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7092     ;;
   7093   *)
   7094     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7095     ;;
   7096   esac
   7097   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7098 fi
   7099 
   7100 case $host_os in
   7101   darwin*)
   7102     lock_old_archive_extraction=yes ;;
   7103   *)
   7104     lock_old_archive_extraction=no ;;
   7105 esac
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 # If no C compiler was specified, use CC.
   7146 LTCC=${LTCC-"$CC"}
   7147 
   7148 # If no C compiler flags were specified, use CFLAGS.
   7149 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7150 
   7151 # Allow CC to be a program name with arguments.
   7152 compiler=$CC
   7153 
   7154 
   7155 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7157 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7158 if test ${lt_cv_sys_global_symbol_pipe+y}
   7159 then :
   7160   printf %s "(cached) " >&6
   7161 else case e in #(
   7162   e)
   7163 # These are sane defaults that work on at least a few old systems.
   7164 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7165 
   7166 # Character class describing NM global symbol codes.
   7167 symcode='[BCDEGRST]'
   7168 
   7169 # Regexp to match symbols that can be accessed directly from C.
   7170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7171 
   7172 # Define system-specific variables.
   7173 case $host_os in
   7174 aix*)
   7175   symcode='[BCDT]'
   7176   ;;
   7177 cygwin* | mingw* | pw32* | cegcc*)
   7178   symcode='[ABCDGISTW]'
   7179   ;;
   7180 hpux*)
   7181   if test ia64 = "$host_cpu"; then
   7182     symcode='[ABCDEGRST]'
   7183   fi
   7184   ;;
   7185 irix* | nonstopux*)
   7186   symcode='[BCDEGRST]'
   7187   ;;
   7188 osf*)
   7189   symcode='[BCDEGQRST]'
   7190   ;;
   7191 solaris*)
   7192   symcode='[BDRT]'
   7193   ;;
   7194 sco3.2v5*)
   7195   symcode='[DT]'
   7196   ;;
   7197 sysv4.2uw2*)
   7198   symcode='[DT]'
   7199   ;;
   7200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7201   symcode='[ABDT]'
   7202   ;;
   7203 sysv4)
   7204   symcode='[DFNSTU]'
   7205   ;;
   7206 esac
   7207 
   7208 # If we're using GNU nm, then use its standard symbol codes.
   7209 case `$NM -V 2>&1` in
   7210 *GNU* | *'with BFD'*)
   7211   symcode='[ABCDGIRSTW]' ;;
   7212 esac
   7213 
   7214 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7215   # Gets list of data symbols to import.
   7216   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7217   # Adjust the below global symbol transforms to fixup imported variables.
   7218   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7219   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7220   lt_c_name_lib_hook="\
   7221   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7222   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7223 else
   7224   # Disable hooks by default.
   7225   lt_cv_sys_global_symbol_to_import=
   7226   lt_cdecl_hook=
   7227   lt_c_name_hook=
   7228   lt_c_name_lib_hook=
   7229 fi
   7230 
   7231 # Transform an extracted symbol line into a proper C declaration.
   7232 # Some systems (esp. on ia64) link data and code symbols differently,
   7233 # so use this general approach.
   7234 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7235 $lt_cdecl_hook\
   7236 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7237 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7238 
   7239 # Transform an extracted symbol line into symbol name and symbol address
   7240 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7241 $lt_c_name_hook\
   7242 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7243 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7244 
   7245 # Transform an extracted symbol line into symbol name with lib prefix and
   7246 # symbol address.
   7247 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7248 $lt_c_name_lib_hook\
   7249 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7250 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7251 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7252 
   7253 # Handle CRLF in mingw tool chain
   7254 opt_cr=
   7255 case $build_os in
   7256 mingw*)
   7257   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7258   ;;
   7259 esac
   7260 
   7261 # Try without a prefix underscore, then with it.
   7262 for ac_symprfx in "" "_"; do
   7263 
   7264   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7265   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7266 
   7267   # Write the raw and C identifiers.
   7268   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7269     # Fake it for dumpbin and say T for any non-static function,
   7270     # D for any global variable and I for any imported variable.
   7271     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7272     # which start with @ or ?.
   7273     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7274 "     {last_section=section; section=\$ 3};"\
   7275 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7276 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7277 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7278 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7279 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7280 "     \$ 0!~/External *\|/{next};"\
   7281 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7282 "     {if(hide[section]) next};"\
   7283 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7284 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7285 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7286 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7287 "     ' prfx=^$ac_symprfx"
   7288   else
   7289     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7290   fi
   7291   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7292 
   7293   # Check to see that the pipe works correctly.
   7294   pipe_works=no
   7295 
   7296   rm -f conftest*
   7297   cat > conftest.$ac_ext <<_LT_EOF
   7298 #ifdef __cplusplus
   7299 extern "C" {
   7300 #endif
   7301 char nm_test_var;
   7302 void nm_test_func(void);
   7303 void nm_test_func(void){}
   7304 #ifdef __cplusplus
   7305 }
   7306 #endif
   7307 int main(){nm_test_var='a';nm_test_func();return(0);}
   7308 _LT_EOF
   7309 
   7310   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7311   (eval $ac_compile) 2>&5
   7312   ac_status=$?
   7313   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7314   test $ac_status = 0; }; then
   7315     # Now try to grab the symbols.
   7316     nlist=conftest.nm
   7317     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7318   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7319   ac_status=$?
   7320   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7321   test $ac_status = 0; } && test -s "$nlist"; then
   7322       # Try sorting and uniquifying the output.
   7323       if sort "$nlist" | uniq > "$nlist"T; then
   7324 	mv -f "$nlist"T "$nlist"
   7325       else
   7326 	rm -f "$nlist"T
   7327       fi
   7328 
   7329       # Make sure that we snagged all the symbols we need.
   7330       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7331 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7332 	  cat <<_LT_EOF > conftest.$ac_ext
   7333 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7334 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7335 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7336    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7337 # define LT_DLSYM_CONST
   7338 #elif defined __osf__
   7339 /* This system does not cope well with relocations in const data.  */
   7340 # define LT_DLSYM_CONST
   7341 #else
   7342 # define LT_DLSYM_CONST const
   7343 #endif
   7344 
   7345 #ifdef __cplusplus
   7346 extern "C" {
   7347 #endif
   7348 
   7349 _LT_EOF
   7350 	  # Now generate the symbol file.
   7351 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7352 
   7353 	  cat <<_LT_EOF >> conftest.$ac_ext
   7354 
   7355 /* The mapping between symbol names and symbols.  */
   7356 LT_DLSYM_CONST struct {
   7357   const char *name;
   7358   void       *address;
   7359 }
   7360 lt__PROGRAM__LTX_preloaded_symbols[] =
   7361 {
   7362   { "@PROGRAM@", (void *) 0 },
   7363 _LT_EOF
   7364 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7365 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7366   {0, (void *) 0}
   7367 };
   7368 
   7369 /* This works around a problem in FreeBSD linker */
   7370 #ifdef FREEBSD_WORKAROUND
   7371 static const void *lt_preloaded_setup() {
   7372   return lt__PROGRAM__LTX_preloaded_symbols;
   7373 }
   7374 #endif
   7375 
   7376 #ifdef __cplusplus
   7377 }
   7378 #endif
   7379 _LT_EOF
   7380 	  # Now try linking the two files.
   7381 	  mv conftest.$ac_objext conftstm.$ac_objext
   7382 	  lt_globsym_save_LIBS=$LIBS
   7383 	  lt_globsym_save_CFLAGS=$CFLAGS
   7384 	  LIBS=conftstm.$ac_objext
   7385 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7386 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7387   (eval $ac_link) 2>&5
   7388   ac_status=$?
   7389   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7390   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7391 	    pipe_works=yes
   7392 	  fi
   7393 	  LIBS=$lt_globsym_save_LIBS
   7394 	  CFLAGS=$lt_globsym_save_CFLAGS
   7395 	else
   7396 	  echo "cannot find nm_test_func in $nlist" >&5
   7397 	fi
   7398       else
   7399 	echo "cannot find nm_test_var in $nlist" >&5
   7400       fi
   7401     else
   7402       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7403     fi
   7404   else
   7405     echo "$progname: failed program was:" >&5
   7406     cat conftest.$ac_ext >&5
   7407   fi
   7408   rm -rf conftest* conftst*
   7409 
   7410   # Do not use the global_symbol_pipe unless it works.
   7411   if test yes = "$pipe_works"; then
   7412     break
   7413   else
   7414     lt_cv_sys_global_symbol_pipe=
   7415   fi
   7416 done
   7417  ;;
   7418 esac
   7419 fi
   7420 
   7421 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7422   lt_cv_sys_global_symbol_to_cdecl=
   7423 fi
   7424 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7426 printf "%s\n" "failed" >&6; }
   7427 else
   7428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7429 printf "%s\n" "ok" >&6; }
   7430 fi
   7431 
   7432 # Response file support.
   7433 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7434   nm_file_list_spec='@'
   7435 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7436   nm_file_list_spec='@'
   7437 fi
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7476 printf %s "checking for sysroot... " >&6; }
   7477 
   7478 # Check whether --with-sysroot was given.
   7479 if test ${with_sysroot+y}
   7480 then :
   7481   withval=$with_sysroot;
   7482 else case e in #(
   7483   e) with_sysroot=no ;;
   7484 esac
   7485 fi
   7486 
   7487 
   7488 lt_sysroot=
   7489 case $with_sysroot in #(
   7490  yes)
   7491    if test yes = "$GCC"; then
   7492      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7493    fi
   7494    ;; #(
   7495  /*)
   7496    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7497    ;; #(
   7498  no|'')
   7499    ;; #(
   7500  *)
   7501    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7502 printf "%s\n" "$with_sysroot" >&6; }
   7503    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7504    ;;
   7505 esac
   7506 
   7507  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7508 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7515 printf %s "checking for a working dd... " >&6; }
   7516 if test ${ac_cv_path_lt_DD+y}
   7517 then :
   7518   printf %s "(cached) " >&6
   7519 else case e in #(
   7520   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7521 cat conftest.i conftest.i >conftest2.i
   7522 : ${lt_DD:=$DD}
   7523 if test -z "$lt_DD"; then
   7524   ac_path_lt_DD_found=false
   7525   # Loop through the user's path and test for each of PROGNAME-LIST
   7526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7527 for as_dir in $PATH
   7528 do
   7529   IFS=$as_save_IFS
   7530   case $as_dir in #(((
   7531     '') as_dir=./ ;;
   7532     */) ;;
   7533     *) as_dir=$as_dir/ ;;
   7534   esac
   7535     for ac_prog in dd
   7536    do
   7537     for ac_exec_ext in '' $ac_executable_extensions; do
   7538       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7539       as_fn_executable_p "$ac_path_lt_DD" || continue
   7540 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7541   cmp -s conftest.i conftest.out \
   7542   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7543 fi
   7544       $ac_path_lt_DD_found && break 3
   7545     done
   7546   done
   7547   done
   7548 IFS=$as_save_IFS
   7549   if test -z "$ac_cv_path_lt_DD"; then
   7550     :
   7551   fi
   7552 else
   7553   ac_cv_path_lt_DD=$lt_DD
   7554 fi
   7555 
   7556 rm -f conftest.i conftest2.i conftest.out ;;
   7557 esac
   7558 fi
   7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7560 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7561 
   7562 
   7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7564 printf %s "checking how to truncate binary pipes... " >&6; }
   7565 if test ${lt_cv_truncate_bin+y}
   7566 then :
   7567   printf %s "(cached) " >&6
   7568 else case e in #(
   7569   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7570 cat conftest.i conftest.i >conftest2.i
   7571 lt_cv_truncate_bin=
   7572 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7573   cmp -s conftest.i conftest.out \
   7574   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7575 fi
   7576 rm -f conftest.i conftest2.i conftest.out
   7577 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7578 esac
   7579 fi
   7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7581 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7590 func_cc_basename ()
   7591 {
   7592     for cc_temp in $*""; do
   7593       case $cc_temp in
   7594         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7595         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7596         \-*) ;;
   7597         *) break;;
   7598       esac
   7599     done
   7600     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7601 }
   7602 
   7603 # Check whether --enable-libtool-lock was given.
   7604 if test ${enable_libtool_lock+y}
   7605 then :
   7606   enableval=$enable_libtool_lock;
   7607 fi
   7608 
   7609 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7610 
   7611 # Some flags need to be propagated to the compiler or linker for good
   7612 # libtool support.
   7613 case $host in
   7614 ia64-*-hpux*)
   7615   # Find out what ABI is being produced by ac_compile, and set mode
   7616   # options accordingly.
   7617   echo 'int i;' > conftest.$ac_ext
   7618   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7619   (eval $ac_compile) 2>&5
   7620   ac_status=$?
   7621   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7622   test $ac_status = 0; }; then
   7623     case `$FILECMD conftest.$ac_objext` in
   7624       *ELF-32*)
   7625 	HPUX_IA64_MODE=32
   7626 	;;
   7627       *ELF-64*)
   7628 	HPUX_IA64_MODE=64
   7629 	;;
   7630     esac
   7631   fi
   7632   rm -rf conftest*
   7633   ;;
   7634 *-*-irix6*)
   7635   # Find out what ABI is being produced by ac_compile, and set linker
   7636   # options accordingly.
   7637   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7638   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7639   (eval $ac_compile) 2>&5
   7640   ac_status=$?
   7641   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7642   test $ac_status = 0; }; then
   7643     if test yes = "$lt_cv_prog_gnu_ld"; then
   7644       case `$FILECMD conftest.$ac_objext` in
   7645 	*32-bit*)
   7646 	  LD="${LD-ld} -melf32bsmip"
   7647 	  ;;
   7648 	*N32*)
   7649 	  LD="${LD-ld} -melf32bmipn32"
   7650 	  ;;
   7651 	*64-bit*)
   7652 	  LD="${LD-ld} -melf64bmip"
   7653 	;;
   7654       esac
   7655     else
   7656       case `$FILECMD conftest.$ac_objext` in
   7657 	*32-bit*)
   7658 	  LD="${LD-ld} -32"
   7659 	  ;;
   7660 	*N32*)
   7661 	  LD="${LD-ld} -n32"
   7662 	  ;;
   7663 	*64-bit*)
   7664 	  LD="${LD-ld} -64"
   7665 	  ;;
   7666       esac
   7667     fi
   7668   fi
   7669   rm -rf conftest*
   7670   ;;
   7671 
   7672 mips64*-*linux*)
   7673   # Find out what ABI is being produced by ac_compile, and set linker
   7674   # options accordingly.
   7675   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7676   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7677   (eval $ac_compile) 2>&5
   7678   ac_status=$?
   7679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7680   test $ac_status = 0; }; then
   7681     emul=elf
   7682     case `$FILECMD conftest.$ac_objext` in
   7683       *32-bit*)
   7684 	emul="${emul}32"
   7685 	;;
   7686       *64-bit*)
   7687 	emul="${emul}64"
   7688 	;;
   7689     esac
   7690     case `$FILECMD conftest.$ac_objext` in
   7691       *MSB*)
   7692 	emul="${emul}btsmip"
   7693 	;;
   7694       *LSB*)
   7695 	emul="${emul}ltsmip"
   7696 	;;
   7697     esac
   7698     case `$FILECMD conftest.$ac_objext` in
   7699       *N32*)
   7700 	emul="${emul}n32"
   7701 	;;
   7702     esac
   7703     LD="${LD-ld} -m $emul"
   7704   fi
   7705   rm -rf conftest*
   7706   ;;
   7707 
   7708 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7709 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7710   # Find out what ABI is being produced by ac_compile, and set linker
   7711   # options accordingly.  Note that the listed cases only cover the
   7712   # situations where additional linker options are needed (such as when
   7713   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7714   # vice versa); the common cases where no linker options are needed do
   7715   # not appear in the list.
   7716   echo 'int i;' > conftest.$ac_ext
   7717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7718   (eval $ac_compile) 2>&5
   7719   ac_status=$?
   7720   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7721   test $ac_status = 0; }; then
   7722     case `$FILECMD conftest.o` in
   7723       *32-bit*)
   7724 	case $host in
   7725 	  x86_64-*kfreebsd*-gnu)
   7726 	    LD="${LD-ld} -m elf_i386_fbsd"
   7727 	    ;;
   7728 	  x86_64-*linux*)
   7729 	    case `$FILECMD conftest.o` in
   7730 	      *x86-64*)
   7731 		LD="${LD-ld} -m elf32_x86_64"
   7732 		;;
   7733 	      *)
   7734 		LD="${LD-ld} -m elf_i386"
   7735 		;;
   7736 	    esac
   7737 	    ;;
   7738 	  powerpc64le-*linux*)
   7739 	    LD="${LD-ld} -m elf32lppclinux"
   7740 	    ;;
   7741 	  powerpc64-*linux*)
   7742 	    LD="${LD-ld} -m elf32ppclinux"
   7743 	    ;;
   7744 	  s390x-*linux*)
   7745 	    LD="${LD-ld} -m elf_s390"
   7746 	    ;;
   7747 	  sparc64-*linux*)
   7748 	    LD="${LD-ld} -m elf32_sparc"
   7749 	    ;;
   7750 	esac
   7751 	;;
   7752       *64-bit*)
   7753 	case $host in
   7754 	  x86_64-*kfreebsd*-gnu)
   7755 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7756 	    ;;
   7757 	  x86_64-*linux*)
   7758 	    LD="${LD-ld} -m elf_x86_64"
   7759 	    ;;
   7760 	  powerpcle-*linux*)
   7761 	    LD="${LD-ld} -m elf64lppc"
   7762 	    ;;
   7763 	  powerpc-*linux*)
   7764 	    LD="${LD-ld} -m elf64ppc"
   7765 	    ;;
   7766 	  s390*-*linux*|s390*-*tpf*)
   7767 	    LD="${LD-ld} -m elf64_s390"
   7768 	    ;;
   7769 	  sparc*-*linux*)
   7770 	    LD="${LD-ld} -m elf64_sparc"
   7771 	    ;;
   7772 	esac
   7773 	;;
   7774     esac
   7775   fi
   7776   rm -rf conftest*
   7777   ;;
   7778 
   7779 *-*-sco3.2v5*)
   7780   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7781   SAVE_CFLAGS=$CFLAGS
   7782   CFLAGS="$CFLAGS -belf"
   7783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7784 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7785 if test ${lt_cv_cc_needs_belf+y}
   7786 then :
   7787   printf %s "(cached) " >&6
   7788 else case e in #(
   7789   e) ac_ext=c
   7790 ac_cpp='$CPP $CPPFLAGS'
   7791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7794 
   7795      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7796 /* end confdefs.h.  */
   7797 
   7798 int
   7799 main (void)
   7800 {
   7801 
   7802   ;
   7803   return 0;
   7804 }
   7805 _ACEOF
   7806 if ac_fn_c_try_link "$LINENO"
   7807 then :
   7808   lt_cv_cc_needs_belf=yes
   7809 else case e in #(
   7810   e) lt_cv_cc_needs_belf=no ;;
   7811 esac
   7812 fi
   7813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7814     conftest$ac_exeext conftest.$ac_ext
   7815      ac_ext=c
   7816 ac_cpp='$CPP $CPPFLAGS'
   7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7820  ;;
   7821 esac
   7822 fi
   7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7824 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7825   if test yes != "$lt_cv_cc_needs_belf"; then
   7826     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7827     CFLAGS=$SAVE_CFLAGS
   7828   fi
   7829   ;;
   7830 *-*solaris*)
   7831   # Find out what ABI is being produced by ac_compile, and set linker
   7832   # options accordingly.
   7833   echo 'int i;' > conftest.$ac_ext
   7834   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7835   (eval $ac_compile) 2>&5
   7836   ac_status=$?
   7837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7838   test $ac_status = 0; }; then
   7839     case `$FILECMD conftest.o` in
   7840     *64-bit*)
   7841       case $lt_cv_prog_gnu_ld in
   7842       yes*)
   7843         case $host in
   7844         i?86-*-solaris*|x86_64-*-solaris*)
   7845           LD="${LD-ld} -m elf_x86_64"
   7846           ;;
   7847         sparc*-*-solaris*)
   7848           LD="${LD-ld} -m elf64_sparc"
   7849           ;;
   7850         esac
   7851         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7852         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7853           LD=${LD-ld}_sol2
   7854         fi
   7855         ;;
   7856       *)
   7857 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7858 	  LD="${LD-ld} -64"
   7859 	fi
   7860 	;;
   7861       esac
   7862       ;;
   7863     esac
   7864   fi
   7865   rm -rf conftest*
   7866   ;;
   7867 esac
   7868 
   7869 need_locks=$enable_libtool_lock
   7870 
   7871 if test -n "$ac_tool_prefix"; then
   7872   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7873 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7875 printf %s "checking for $ac_word... " >&6; }
   7876 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7877 then :
   7878   printf %s "(cached) " >&6
   7879 else case e in #(
   7880   e) if test -n "$MANIFEST_TOOL"; then
   7881   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7882 else
   7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7884 for as_dir in $PATH
   7885 do
   7886   IFS=$as_save_IFS
   7887   case $as_dir in #(((
   7888     '') as_dir=./ ;;
   7889     */) ;;
   7890     *) as_dir=$as_dir/ ;;
   7891   esac
   7892     for ac_exec_ext in '' $ac_executable_extensions; do
   7893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7894     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7896     break 2
   7897   fi
   7898 done
   7899   done
   7900 IFS=$as_save_IFS
   7901 
   7902 fi ;;
   7903 esac
   7904 fi
   7905 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7906 if test -n "$MANIFEST_TOOL"; then
   7907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7908 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7909 else
   7910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7911 printf "%s\n" "no" >&6; }
   7912 fi
   7913 
   7914 
   7915 fi
   7916 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7917   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7918   # Extract the first word of "mt", so it can be a program name with args.
   7919 set dummy mt; ac_word=$2
   7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7921 printf %s "checking for $ac_word... " >&6; }
   7922 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7923 then :
   7924   printf %s "(cached) " >&6
   7925 else case e in #(
   7926   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7927   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7928 else
   7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7930 for as_dir in $PATH
   7931 do
   7932   IFS=$as_save_IFS
   7933   case $as_dir in #(((
   7934     '') as_dir=./ ;;
   7935     */) ;;
   7936     *) as_dir=$as_dir/ ;;
   7937   esac
   7938     for ac_exec_ext in '' $ac_executable_extensions; do
   7939   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7940     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7941     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7942     break 2
   7943   fi
   7944 done
   7945   done
   7946 IFS=$as_save_IFS
   7947 
   7948 fi ;;
   7949 esac
   7950 fi
   7951 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7952 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7954 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7955 else
   7956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7957 printf "%s\n" "no" >&6; }
   7958 fi
   7959 
   7960   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7961     MANIFEST_TOOL=":"
   7962   else
   7963     case $cross_compiling:$ac_tool_warned in
   7964 yes:)
   7965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7966 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7967 ac_tool_warned=yes ;;
   7968 esac
   7969     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7970   fi
   7971 else
   7972   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7973 fi
   7974 
   7975 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7977 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7978 if test ${lt_cv_path_mainfest_tool+y}
   7979 then :
   7980   printf %s "(cached) " >&6
   7981 else case e in #(
   7982   e) lt_cv_path_mainfest_tool=no
   7983   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7984   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7985   cat conftest.err >&5
   7986   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7987     lt_cv_path_mainfest_tool=yes
   7988   fi
   7989   rm -f conftest* ;;
   7990 esac
   7991 fi
   7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7993 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7994 if test yes != "$lt_cv_path_mainfest_tool"; then
   7995   MANIFEST_TOOL=:
   7996 fi
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003   case $host_os in
   8004     rhapsody* | darwin*)
   8005     if test -n "$ac_tool_prefix"; then
   8006   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8007 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8009 printf %s "checking for $ac_word... " >&6; }
   8010 if test ${ac_cv_prog_DSYMUTIL+y}
   8011 then :
   8012   printf %s "(cached) " >&6
   8013 else case e in #(
   8014   e) if test -n "$DSYMUTIL"; then
   8015   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8016 else
   8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8018 for as_dir in $PATH
   8019 do
   8020   IFS=$as_save_IFS
   8021   case $as_dir in #(((
   8022     '') as_dir=./ ;;
   8023     */) ;;
   8024     *) as_dir=$as_dir/ ;;
   8025   esac
   8026     for ac_exec_ext in '' $ac_executable_extensions; do
   8027   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8028     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8029     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8030     break 2
   8031   fi
   8032 done
   8033   done
   8034 IFS=$as_save_IFS
   8035 
   8036 fi ;;
   8037 esac
   8038 fi
   8039 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8040 if test -n "$DSYMUTIL"; then
   8041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8042 printf "%s\n" "$DSYMUTIL" >&6; }
   8043 else
   8044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8045 printf "%s\n" "no" >&6; }
   8046 fi
   8047 
   8048 
   8049 fi
   8050 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8051   ac_ct_DSYMUTIL=$DSYMUTIL
   8052   # Extract the first word of "dsymutil", so it can be a program name with args.
   8053 set dummy dsymutil; ac_word=$2
   8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8055 printf %s "checking for $ac_word... " >&6; }
   8056 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8057 then :
   8058   printf %s "(cached) " >&6
   8059 else case e in #(
   8060   e) if test -n "$ac_ct_DSYMUTIL"; then
   8061   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8062 else
   8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8064 for as_dir in $PATH
   8065 do
   8066   IFS=$as_save_IFS
   8067   case $as_dir in #(((
   8068     '') as_dir=./ ;;
   8069     */) ;;
   8070     *) as_dir=$as_dir/ ;;
   8071   esac
   8072     for ac_exec_ext in '' $ac_executable_extensions; do
   8073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8074     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8076     break 2
   8077   fi
   8078 done
   8079   done
   8080 IFS=$as_save_IFS
   8081 
   8082 fi ;;
   8083 esac
   8084 fi
   8085 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8086 if test -n "$ac_ct_DSYMUTIL"; then
   8087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8088 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8089 else
   8090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8091 printf "%s\n" "no" >&6; }
   8092 fi
   8093 
   8094   if test "x$ac_ct_DSYMUTIL" = x; then
   8095     DSYMUTIL=":"
   8096   else
   8097     case $cross_compiling:$ac_tool_warned in
   8098 yes:)
   8099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8101 ac_tool_warned=yes ;;
   8102 esac
   8103     DSYMUTIL=$ac_ct_DSYMUTIL
   8104   fi
   8105 else
   8106   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8107 fi
   8108 
   8109     if test -n "$ac_tool_prefix"; then
   8110   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8111 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8113 printf %s "checking for $ac_word... " >&6; }
   8114 if test ${ac_cv_prog_NMEDIT+y}
   8115 then :
   8116   printf %s "(cached) " >&6
   8117 else case e in #(
   8118   e) if test -n "$NMEDIT"; then
   8119   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8120 else
   8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8122 for as_dir in $PATH
   8123 do
   8124   IFS=$as_save_IFS
   8125   case $as_dir in #(((
   8126     '') as_dir=./ ;;
   8127     */) ;;
   8128     *) as_dir=$as_dir/ ;;
   8129   esac
   8130     for ac_exec_ext in '' $ac_executable_extensions; do
   8131   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8132     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8133     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8134     break 2
   8135   fi
   8136 done
   8137   done
   8138 IFS=$as_save_IFS
   8139 
   8140 fi ;;
   8141 esac
   8142 fi
   8143 NMEDIT=$ac_cv_prog_NMEDIT
   8144 if test -n "$NMEDIT"; then
   8145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8146 printf "%s\n" "$NMEDIT" >&6; }
   8147 else
   8148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8149 printf "%s\n" "no" >&6; }
   8150 fi
   8151 
   8152 
   8153 fi
   8154 if test -z "$ac_cv_prog_NMEDIT"; then
   8155   ac_ct_NMEDIT=$NMEDIT
   8156   # Extract the first word of "nmedit", so it can be a program name with args.
   8157 set dummy nmedit; ac_word=$2
   8158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8159 printf %s "checking for $ac_word... " >&6; }
   8160 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8161 then :
   8162   printf %s "(cached) " >&6
   8163 else case e in #(
   8164   e) if test -n "$ac_ct_NMEDIT"; then
   8165   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8166 else
   8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8168 for as_dir in $PATH
   8169 do
   8170   IFS=$as_save_IFS
   8171   case $as_dir in #(((
   8172     '') as_dir=./ ;;
   8173     */) ;;
   8174     *) as_dir=$as_dir/ ;;
   8175   esac
   8176     for ac_exec_ext in '' $ac_executable_extensions; do
   8177   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8178     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8179     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8180     break 2
   8181   fi
   8182 done
   8183   done
   8184 IFS=$as_save_IFS
   8185 
   8186 fi ;;
   8187 esac
   8188 fi
   8189 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8190 if test -n "$ac_ct_NMEDIT"; then
   8191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8192 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8193 else
   8194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8195 printf "%s\n" "no" >&6; }
   8196 fi
   8197 
   8198   if test "x$ac_ct_NMEDIT" = x; then
   8199     NMEDIT=":"
   8200   else
   8201     case $cross_compiling:$ac_tool_warned in
   8202 yes:)
   8203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8205 ac_tool_warned=yes ;;
   8206 esac
   8207     NMEDIT=$ac_ct_NMEDIT
   8208   fi
   8209 else
   8210   NMEDIT="$ac_cv_prog_NMEDIT"
   8211 fi
   8212 
   8213     if test -n "$ac_tool_prefix"; then
   8214   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8215 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8217 printf %s "checking for $ac_word... " >&6; }
   8218 if test ${ac_cv_prog_LIPO+y}
   8219 then :
   8220   printf %s "(cached) " >&6
   8221 else case e in #(
   8222   e) if test -n "$LIPO"; then
   8223   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8224 else
   8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8226 for as_dir in $PATH
   8227 do
   8228   IFS=$as_save_IFS
   8229   case $as_dir in #(((
   8230     '') as_dir=./ ;;
   8231     */) ;;
   8232     *) as_dir=$as_dir/ ;;
   8233   esac
   8234     for ac_exec_ext in '' $ac_executable_extensions; do
   8235   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8236     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8237     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8238     break 2
   8239   fi
   8240 done
   8241   done
   8242 IFS=$as_save_IFS
   8243 
   8244 fi ;;
   8245 esac
   8246 fi
   8247 LIPO=$ac_cv_prog_LIPO
   8248 if test -n "$LIPO"; then
   8249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8250 printf "%s\n" "$LIPO" >&6; }
   8251 else
   8252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8253 printf "%s\n" "no" >&6; }
   8254 fi
   8255 
   8256 
   8257 fi
   8258 if test -z "$ac_cv_prog_LIPO"; then
   8259   ac_ct_LIPO=$LIPO
   8260   # Extract the first word of "lipo", so it can be a program name with args.
   8261 set dummy lipo; ac_word=$2
   8262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8263 printf %s "checking for $ac_word... " >&6; }
   8264 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else case e in #(
   8268   e) if test -n "$ac_ct_LIPO"; then
   8269   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8270 else
   8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8272 for as_dir in $PATH
   8273 do
   8274   IFS=$as_save_IFS
   8275   case $as_dir in #(((
   8276     '') as_dir=./ ;;
   8277     */) ;;
   8278     *) as_dir=$as_dir/ ;;
   8279   esac
   8280     for ac_exec_ext in '' $ac_executable_extensions; do
   8281   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8282     ac_cv_prog_ac_ct_LIPO="lipo"
   8283     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8284     break 2
   8285   fi
   8286 done
   8287   done
   8288 IFS=$as_save_IFS
   8289 
   8290 fi ;;
   8291 esac
   8292 fi
   8293 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8294 if test -n "$ac_ct_LIPO"; then
   8295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8296 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8297 else
   8298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8299 printf "%s\n" "no" >&6; }
   8300 fi
   8301 
   8302   if test "x$ac_ct_LIPO" = x; then
   8303     LIPO=":"
   8304   else
   8305     case $cross_compiling:$ac_tool_warned in
   8306 yes:)
   8307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8309 ac_tool_warned=yes ;;
   8310 esac
   8311     LIPO=$ac_ct_LIPO
   8312   fi
   8313 else
   8314   LIPO="$ac_cv_prog_LIPO"
   8315 fi
   8316 
   8317     if test -n "$ac_tool_prefix"; then
   8318   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8319 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8321 printf %s "checking for $ac_word... " >&6; }
   8322 if test ${ac_cv_prog_OTOOL+y}
   8323 then :
   8324   printf %s "(cached) " >&6
   8325 else case e in #(
   8326   e) if test -n "$OTOOL"; then
   8327   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8328 else
   8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8330 for as_dir in $PATH
   8331 do
   8332   IFS=$as_save_IFS
   8333   case $as_dir in #(((
   8334     '') as_dir=./ ;;
   8335     */) ;;
   8336     *) as_dir=$as_dir/ ;;
   8337   esac
   8338     for ac_exec_ext in '' $ac_executable_extensions; do
   8339   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8340     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8341     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8342     break 2
   8343   fi
   8344 done
   8345   done
   8346 IFS=$as_save_IFS
   8347 
   8348 fi ;;
   8349 esac
   8350 fi
   8351 OTOOL=$ac_cv_prog_OTOOL
   8352 if test -n "$OTOOL"; then
   8353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8354 printf "%s\n" "$OTOOL" >&6; }
   8355 else
   8356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8357 printf "%s\n" "no" >&6; }
   8358 fi
   8359 
   8360 
   8361 fi
   8362 if test -z "$ac_cv_prog_OTOOL"; then
   8363   ac_ct_OTOOL=$OTOOL
   8364   # Extract the first word of "otool", so it can be a program name with args.
   8365 set dummy otool; ac_word=$2
   8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8367 printf %s "checking for $ac_word... " >&6; }
   8368 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8369 then :
   8370   printf %s "(cached) " >&6
   8371 else case e in #(
   8372   e) if test -n "$ac_ct_OTOOL"; then
   8373   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8374 else
   8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8376 for as_dir in $PATH
   8377 do
   8378   IFS=$as_save_IFS
   8379   case $as_dir in #(((
   8380     '') as_dir=./ ;;
   8381     */) ;;
   8382     *) as_dir=$as_dir/ ;;
   8383   esac
   8384     for ac_exec_ext in '' $ac_executable_extensions; do
   8385   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8386     ac_cv_prog_ac_ct_OTOOL="otool"
   8387     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8388     break 2
   8389   fi
   8390 done
   8391   done
   8392 IFS=$as_save_IFS
   8393 
   8394 fi ;;
   8395 esac
   8396 fi
   8397 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8398 if test -n "$ac_ct_OTOOL"; then
   8399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8400 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8401 else
   8402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8403 printf "%s\n" "no" >&6; }
   8404 fi
   8405 
   8406   if test "x$ac_ct_OTOOL" = x; then
   8407     OTOOL=":"
   8408   else
   8409     case $cross_compiling:$ac_tool_warned in
   8410 yes:)
   8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8412 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8413 ac_tool_warned=yes ;;
   8414 esac
   8415     OTOOL=$ac_ct_OTOOL
   8416   fi
   8417 else
   8418   OTOOL="$ac_cv_prog_OTOOL"
   8419 fi
   8420 
   8421     if test -n "$ac_tool_prefix"; then
   8422   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8423 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8425 printf %s "checking for $ac_word... " >&6; }
   8426 if test ${ac_cv_prog_OTOOL64+y}
   8427 then :
   8428   printf %s "(cached) " >&6
   8429 else case e in #(
   8430   e) if test -n "$OTOOL64"; then
   8431   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8432 else
   8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8434 for as_dir in $PATH
   8435 do
   8436   IFS=$as_save_IFS
   8437   case $as_dir in #(((
   8438     '') as_dir=./ ;;
   8439     */) ;;
   8440     *) as_dir=$as_dir/ ;;
   8441   esac
   8442     for ac_exec_ext in '' $ac_executable_extensions; do
   8443   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8444     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8446     break 2
   8447   fi
   8448 done
   8449   done
   8450 IFS=$as_save_IFS
   8451 
   8452 fi ;;
   8453 esac
   8454 fi
   8455 OTOOL64=$ac_cv_prog_OTOOL64
   8456 if test -n "$OTOOL64"; then
   8457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8458 printf "%s\n" "$OTOOL64" >&6; }
   8459 else
   8460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8461 printf "%s\n" "no" >&6; }
   8462 fi
   8463 
   8464 
   8465 fi
   8466 if test -z "$ac_cv_prog_OTOOL64"; then
   8467   ac_ct_OTOOL64=$OTOOL64
   8468   # Extract the first word of "otool64", so it can be a program name with args.
   8469 set dummy otool64; ac_word=$2
   8470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8471 printf %s "checking for $ac_word... " >&6; }
   8472 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8473 then :
   8474   printf %s "(cached) " >&6
   8475 else case e in #(
   8476   e) if test -n "$ac_ct_OTOOL64"; then
   8477   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8478 else
   8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8480 for as_dir in $PATH
   8481 do
   8482   IFS=$as_save_IFS
   8483   case $as_dir in #(((
   8484     '') as_dir=./ ;;
   8485     */) ;;
   8486     *) as_dir=$as_dir/ ;;
   8487   esac
   8488     for ac_exec_ext in '' $ac_executable_extensions; do
   8489   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8490     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8491     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8492     break 2
   8493   fi
   8494 done
   8495   done
   8496 IFS=$as_save_IFS
   8497 
   8498 fi ;;
   8499 esac
   8500 fi
   8501 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8502 if test -n "$ac_ct_OTOOL64"; then
   8503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8504 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8505 else
   8506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8507 printf "%s\n" "no" >&6; }
   8508 fi
   8509 
   8510   if test "x$ac_ct_OTOOL64" = x; then
   8511     OTOOL64=":"
   8512   else
   8513     case $cross_compiling:$ac_tool_warned in
   8514 yes:)
   8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8516 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8517 ac_tool_warned=yes ;;
   8518 esac
   8519     OTOOL64=$ac_ct_OTOOL64
   8520   fi
   8521 else
   8522   OTOOL64="$ac_cv_prog_OTOOL64"
   8523 fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8552 printf %s "checking for -single_module linker flag... " >&6; }
   8553 if test ${lt_cv_apple_cc_single_mod+y}
   8554 then :
   8555   printf %s "(cached) " >&6
   8556 else case e in #(
   8557   e) lt_cv_apple_cc_single_mod=no
   8558       if test -z "$LT_MULTI_MODULE"; then
   8559 	# By default we will add the -single_module flag. You can override
   8560 	# by either setting the environment variable LT_MULTI_MODULE
   8561 	# non-empty at configure time, or by adding -multi_module to the
   8562 	# link flags.
   8563 	rm -rf libconftest.dylib*
   8564 	echo "int foo(void){return 1;}" > conftest.c
   8565 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8566 -dynamiclib -Wl,-single_module conftest.c" >&5
   8567 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8568 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8569         _lt_result=$?
   8570 	# If there is a non-empty error log, and "single_module"
   8571 	# appears in it, assume the flag caused a linker warning
   8572         if test -s conftest.err && $GREP single_module conftest.err; then
   8573 	  cat conftest.err >&5
   8574 	# Otherwise, if the output was created with a 0 exit code from
   8575 	# the compiler, it worked.
   8576 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8577 	  lt_cv_apple_cc_single_mod=yes
   8578 	else
   8579 	  cat conftest.err >&5
   8580 	fi
   8581 	rm -rf libconftest.dylib*
   8582 	rm -f conftest.*
   8583       fi ;;
   8584 esac
   8585 fi
   8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8587 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8588 
   8589     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8590 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8591 if test ${lt_cv_ld_exported_symbols_list+y}
   8592 then :
   8593   printf %s "(cached) " >&6
   8594 else case e in #(
   8595   e) lt_cv_ld_exported_symbols_list=no
   8596       save_LDFLAGS=$LDFLAGS
   8597       echo "_main" > conftest.sym
   8598       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8600 /* end confdefs.h.  */
   8601 
   8602 int
   8603 main (void)
   8604 {
   8605 
   8606   ;
   8607   return 0;
   8608 }
   8609 _ACEOF
   8610 if ac_fn_c_try_link "$LINENO"
   8611 then :
   8612   lt_cv_ld_exported_symbols_list=yes
   8613 else case e in #(
   8614   e) lt_cv_ld_exported_symbols_list=no ;;
   8615 esac
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8618     conftest$ac_exeext conftest.$ac_ext
   8619 	LDFLAGS=$save_LDFLAGS
   8620      ;;
   8621 esac
   8622 fi
   8623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8624 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8625 
   8626     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8627 printf %s "checking for -force_load linker flag... " >&6; }
   8628 if test ${lt_cv_ld_force_load+y}
   8629 then :
   8630   printf %s "(cached) " >&6
   8631 else case e in #(
   8632   e) lt_cv_ld_force_load=no
   8633       cat > conftest.c << _LT_EOF
   8634 int forced_loaded() { return 2;}
   8635 _LT_EOF
   8636       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8637       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8638       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8639       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8640       echo "$RANLIB libconftest.a" >&5
   8641       $RANLIB libconftest.a 2>&5
   8642       cat > conftest.c << _LT_EOF
   8643 int main() { return 0;}
   8644 _LT_EOF
   8645       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8646       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8647       _lt_result=$?
   8648       if test -s conftest.err && $GREP force_load conftest.err; then
   8649 	cat conftest.err >&5
   8650       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8651 	lt_cv_ld_force_load=yes
   8652       else
   8653 	cat conftest.err >&5
   8654       fi
   8655         rm -f conftest.err libconftest.a conftest conftest.c
   8656         rm -rf conftest.dSYM
   8657      ;;
   8658 esac
   8659 fi
   8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8661 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8662     case $host_os in
   8663     rhapsody* | darwin1.[012])
   8664       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8665     darwin1.*)
   8666       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8667     darwin*)
   8668       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8669         10.[012],*|,*powerpc*-darwin[5-8]*)
   8670           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8671         *)
   8672           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8673       esac
   8674     ;;
   8675   esac
   8676     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8677       _lt_dar_single_mod='$single_module'
   8678     fi
   8679     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8680       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8681     else
   8682       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8683     fi
   8684     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8685       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8686     else
   8687       _lt_dsymutil=
   8688     fi
   8689     ;;
   8690   esac
   8691 
   8692 # func_munge_path_list VARIABLE PATH
   8693 # -----------------------------------
   8694 # VARIABLE is name of variable containing _space_ separated list of
   8695 # directories to be munged by the contents of PATH, which is string
   8696 # having a format:
   8697 # "DIR[:DIR]:"
   8698 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8699 # ":DIR[:DIR]"
   8700 #       string "DIR[ DIR]" will be appended to VARIABLE
   8701 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8702 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8703 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8704 # "DIR[:DIR]"
   8705 #       VARIABLE will be replaced by "DIR[ DIR]"
   8706 func_munge_path_list ()
   8707 {
   8708     case x$2 in
   8709     x)
   8710         ;;
   8711     *:)
   8712         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8713         ;;
   8714     x:*)
   8715         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8716         ;;
   8717     *::*)
   8718         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8719         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8720         ;;
   8721     *)
   8722         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8723         ;;
   8724     esac
   8725 }
   8726 
   8727 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8728 "
   8729 if test "x$ac_cv_header_dlfcn_h" = xyes
   8730 then :
   8731   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8732 
   8733 fi
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 # Set options
   8740 
   8741 
   8742 
   8743         enable_dlopen=no
   8744 
   8745 
   8746   enable_win32_dll=no
   8747 
   8748 
   8749             # Check whether --enable-shared was given.
   8750 if test ${enable_shared+y}
   8751 then :
   8752   enableval=$enable_shared; p=${PACKAGE-default}
   8753     case $enableval in
   8754     yes) enable_shared=yes ;;
   8755     no) enable_shared=no ;;
   8756     *)
   8757       enable_shared=no
   8758       # Look at the argument we got.  We use all the common list separators.
   8759       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8760       for pkg in $enableval; do
   8761 	IFS=$lt_save_ifs
   8762 	if test "X$pkg" = "X$p"; then
   8763 	  enable_shared=yes
   8764 	fi
   8765       done
   8766       IFS=$lt_save_ifs
   8767       ;;
   8768     esac
   8769 else case e in #(
   8770   e) enable_shared=yes ;;
   8771 esac
   8772 fi
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782   # Check whether --enable-static was given.
   8783 if test ${enable_static+y}
   8784 then :
   8785   enableval=$enable_static; p=${PACKAGE-default}
   8786     case $enableval in
   8787     yes) enable_static=yes ;;
   8788     no) enable_static=no ;;
   8789     *)
   8790      enable_static=no
   8791       # Look at the argument we got.  We use all the common list separators.
   8792       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8793       for pkg in $enableval; do
   8794 	IFS=$lt_save_ifs
   8795 	if test "X$pkg" = "X$p"; then
   8796 	  enable_static=yes
   8797 	fi
   8798       done
   8799       IFS=$lt_save_ifs
   8800       ;;
   8801     esac
   8802 else case e in #(
   8803   e) enable_static=yes ;;
   8804 esac
   8805 fi
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 # Check whether --with-pic was given.
   8817 if test ${with_pic+y}
   8818 then :
   8819   withval=$with_pic; lt_p=${PACKAGE-default}
   8820     case $withval in
   8821     yes|no) pic_mode=$withval ;;
   8822     *)
   8823       pic_mode=default
   8824       # Look at the argument we got.  We use all the common list separators.
   8825       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8826       for lt_pkg in $withval; do
   8827 	IFS=$lt_save_ifs
   8828 	if test "X$lt_pkg" = "X$lt_p"; then
   8829 	  pic_mode=yes
   8830 	fi
   8831       done
   8832       IFS=$lt_save_ifs
   8833       ;;
   8834     esac
   8835 else case e in #(
   8836   e) pic_mode=default ;;
   8837 esac
   8838 fi
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847   # Check whether --enable-fast-install was given.
   8848 if test ${enable_fast_install+y}
   8849 then :
   8850   enableval=$enable_fast_install; p=${PACKAGE-default}
   8851     case $enableval in
   8852     yes) enable_fast_install=yes ;;
   8853     no) enable_fast_install=no ;;
   8854     *)
   8855       enable_fast_install=no
   8856       # Look at the argument we got.  We use all the common list separators.
   8857       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8858       for pkg in $enableval; do
   8859 	IFS=$lt_save_ifs
   8860 	if test "X$pkg" = "X$p"; then
   8861 	  enable_fast_install=yes
   8862 	fi
   8863       done
   8864       IFS=$lt_save_ifs
   8865       ;;
   8866     esac
   8867 else case e in #(
   8868   e) enable_fast_install=yes ;;
   8869 esac
   8870 fi
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879   shared_archive_member_spec=
   8880 case $host,$enable_shared in
   8881 power*-*-aix[5-9]*,yes)
   8882   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8883 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8884 
   8885 # Check whether --with-aix-soname was given.
   8886 if test ${with_aix_soname+y}
   8887 then :
   8888   withval=$with_aix_soname; case $withval in
   8889     aix|svr4|both)
   8890       ;;
   8891     *)
   8892       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8893       ;;
   8894     esac
   8895     lt_cv_with_aix_soname=$with_aix_soname
   8896 else case e in #(
   8897   e) if test ${lt_cv_with_aix_soname+y}
   8898 then :
   8899   printf %s "(cached) " >&6
   8900 else case e in #(
   8901   e) lt_cv_with_aix_soname=aix ;;
   8902 esac
   8903 fi
   8904 
   8905     with_aix_soname=$lt_cv_with_aix_soname ;;
   8906 esac
   8907 fi
   8908 
   8909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8910 printf "%s\n" "$with_aix_soname" >&6; }
   8911   if test aix != "$with_aix_soname"; then
   8912     # For the AIX way of multilib, we name the shared archive member
   8913     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8914     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8915     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8916     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8917     if test 64 = "${OBJECT_MODE-32}"; then
   8918       shared_archive_member_spec=shr_64
   8919     else
   8920       shared_archive_member_spec=shr
   8921     fi
   8922   fi
   8923   ;;
   8924 *)
   8925   with_aix_soname=aix
   8926   ;;
   8927 esac
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 # This can be used to rebuild libtool when needed
   8939 LIBTOOL_DEPS=$ltmain
   8940 
   8941 # Always use our own libtool.
   8942 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 test -z "$LN_S" && LN_S="ln -s"
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 if test -n "${ZSH_VERSION+set}"; then
   8989    setopt NO_GLOB_SUBST
   8990 fi
   8991 
   8992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8993 printf %s "checking for objdir... " >&6; }
   8994 if test ${lt_cv_objdir+y}
   8995 then :
   8996   printf %s "(cached) " >&6
   8997 else case e in #(
   8998   e) rm -f .libs 2>/dev/null
   8999 mkdir .libs 2>/dev/null
   9000 if test -d .libs; then
   9001   lt_cv_objdir=.libs
   9002 else
   9003   # MS-DOS does not allow filenames that begin with a dot.
   9004   lt_cv_objdir=_libs
   9005 fi
   9006 rmdir .libs 2>/dev/null ;;
   9007 esac
   9008 fi
   9009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9010 printf "%s\n" "$lt_cv_objdir" >&6; }
   9011 objdir=$lt_cv_objdir
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9018 
   9019 
   9020 
   9021 
   9022 case $host_os in
   9023 aix3*)
   9024   # AIX sometimes has problems with the GCC collect2 program.  For some
   9025   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9026   # vanish in a puff of smoke.
   9027   if test set != "${COLLECT_NAMES+set}"; then
   9028     COLLECT_NAMES=
   9029     export COLLECT_NAMES
   9030   fi
   9031   ;;
   9032 esac
   9033 
   9034 # Global variables:
   9035 ofile=libtool
   9036 can_build_shared=yes
   9037 
   9038 # All known linkers require a '.a' archive for static linking (except MSVC and
   9039 # ICC, which need '.lib').
   9040 libext=a
   9041 
   9042 with_gnu_ld=$lt_cv_prog_gnu_ld
   9043 
   9044 old_CC=$CC
   9045 old_CFLAGS=$CFLAGS
   9046 
   9047 # Set sane defaults for various variables
   9048 test -z "$CC" && CC=cc
   9049 test -z "$LTCC" && LTCC=$CC
   9050 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9051 test -z "$LD" && LD=ld
   9052 test -z "$ac_objext" && ac_objext=o
   9053 
   9054 func_cc_basename $compiler
   9055 cc_basename=$func_cc_basename_result
   9056 
   9057 
   9058 # Only perform the check for file, if the check method requires it
   9059 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9060 case $deplibs_check_method in
   9061 file_magic*)
   9062   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9063     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9064 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9065 if test ${lt_cv_path_MAGIC_CMD+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else case e in #(
   9069   e) case $MAGIC_CMD in
   9070 [\\/*] |  ?:[\\/]*)
   9071   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9072   ;;
   9073 *)
   9074   lt_save_MAGIC_CMD=$MAGIC_CMD
   9075   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9076   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9077   for ac_dir in $ac_dummy; do
   9078     IFS=$lt_save_ifs
   9079     test -z "$ac_dir" && ac_dir=.
   9080     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9081       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9082       if test -n "$file_magic_test_file"; then
   9083 	case $deplibs_check_method in
   9084 	"file_magic "*)
   9085 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9086 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9087 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9088 	    $EGREP "$file_magic_regex" > /dev/null; then
   9089 	    :
   9090 	  else
   9091 	    cat <<_LT_EOF 1>&2
   9092 
   9093 *** Warning: the command libtool uses to detect shared libraries,
   9094 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9095 *** The result is that libtool may fail to recognize shared libraries
   9096 *** as such.  This will affect the creation of libtool libraries that
   9097 *** depend on shared libraries, but programs linked with such libtool
   9098 *** libraries will work regardless of this problem.  Nevertheless, you
   9099 *** may want to report the problem to your system manager and/or to
   9100 *** bug-libtool@gnu.org
   9101 
   9102 _LT_EOF
   9103 	  fi ;;
   9104 	esac
   9105       fi
   9106       break
   9107     fi
   9108   done
   9109   IFS=$lt_save_ifs
   9110   MAGIC_CMD=$lt_save_MAGIC_CMD
   9111   ;;
   9112 esac ;;
   9113 esac
   9114 fi
   9115 
   9116 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9117 if test -n "$MAGIC_CMD"; then
   9118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9119 printf "%s\n" "$MAGIC_CMD" >&6; }
   9120 else
   9121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9122 printf "%s\n" "no" >&6; }
   9123 fi
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9130   if test -n "$ac_tool_prefix"; then
   9131     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9132 printf %s "checking for file... " >&6; }
   9133 if test ${lt_cv_path_MAGIC_CMD+y}
   9134 then :
   9135   printf %s "(cached) " >&6
   9136 else case e in #(
   9137   e) case $MAGIC_CMD in
   9138 [\\/*] |  ?:[\\/]*)
   9139   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9140   ;;
   9141 *)
   9142   lt_save_MAGIC_CMD=$MAGIC_CMD
   9143   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9144   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9145   for ac_dir in $ac_dummy; do
   9146     IFS=$lt_save_ifs
   9147     test -z "$ac_dir" && ac_dir=.
   9148     if test -f "$ac_dir/file"; then
   9149       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9150       if test -n "$file_magic_test_file"; then
   9151 	case $deplibs_check_method in
   9152 	"file_magic "*)
   9153 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9154 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9155 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9156 	    $EGREP "$file_magic_regex" > /dev/null; then
   9157 	    :
   9158 	  else
   9159 	    cat <<_LT_EOF 1>&2
   9160 
   9161 *** Warning: the command libtool uses to detect shared libraries,
   9162 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9163 *** The result is that libtool may fail to recognize shared libraries
   9164 *** as such.  This will affect the creation of libtool libraries that
   9165 *** depend on shared libraries, but programs linked with such libtool
   9166 *** libraries will work regardless of this problem.  Nevertheless, you
   9167 *** may want to report the problem to your system manager and/or to
   9168 *** bug-libtool@gnu.org
   9169 
   9170 _LT_EOF
   9171 	  fi ;;
   9172 	esac
   9173       fi
   9174       break
   9175     fi
   9176   done
   9177   IFS=$lt_save_ifs
   9178   MAGIC_CMD=$lt_save_MAGIC_CMD
   9179   ;;
   9180 esac ;;
   9181 esac
   9182 fi
   9183 
   9184 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9185 if test -n "$MAGIC_CMD"; then
   9186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9187 printf "%s\n" "$MAGIC_CMD" >&6; }
   9188 else
   9189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9190 printf "%s\n" "no" >&6; }
   9191 fi
   9192 
   9193 
   9194   else
   9195     MAGIC_CMD=:
   9196   fi
   9197 fi
   9198 
   9199   fi
   9200   ;;
   9201 esac
   9202 
   9203 # Use C for the default configuration in the libtool script
   9204 
   9205 lt_save_CC=$CC
   9206 ac_ext=c
   9207 ac_cpp='$CPP $CPPFLAGS'
   9208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9211 
   9212 
   9213 # Source file extension for C test sources.
   9214 ac_ext=c
   9215 
   9216 # Object file extension for compiled C test sources.
   9217 objext=o
   9218 objext=$objext
   9219 
   9220 # Code to be used in simple compile tests
   9221 lt_simple_compile_test_code="int some_variable = 0;"
   9222 
   9223 # Code to be used in simple link tests
   9224 lt_simple_link_test_code='int main(){return(0);}'
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 # If no C compiler was specified, use CC.
   9233 LTCC=${LTCC-"$CC"}
   9234 
   9235 # If no C compiler flags were specified, use CFLAGS.
   9236 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9237 
   9238 # Allow CC to be a program name with arguments.
   9239 compiler=$CC
   9240 
   9241 # Save the default compiler, since it gets overwritten when the other
   9242 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9243 compiler_DEFAULT=$CC
   9244 
   9245 # save warnings/boilerplate of simple test code
   9246 ac_outfile=conftest.$ac_objext
   9247 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9248 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9249 _lt_compiler_boilerplate=`cat conftest.err`
   9250 $RM conftest*
   9251 
   9252 ac_outfile=conftest.$ac_objext
   9253 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9254 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9255 _lt_linker_boilerplate=`cat conftest.err`
   9256 $RM -r conftest*
   9257 
   9258 
   9259 ## CAVEAT EMPTOR:
   9260 ## There is no encapsulation within the following macros, do not change
   9261 ## the running order or otherwise move them around unless you know exactly
   9262 ## what you are doing...
   9263 if test -n "$compiler"; then
   9264 
   9265 lt_prog_compiler_no_builtin_flag=
   9266 
   9267 if test yes = "$GCC"; then
   9268   case $cc_basename in
   9269   nvcc*)
   9270     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9271   *)
   9272     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9273   esac
   9274 
   9275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9276 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9277 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9278 then :
   9279   printf %s "(cached) " >&6
   9280 else case e in #(
   9281   e) lt_cv_prog_compiler_rtti_exceptions=no
   9282    ac_outfile=conftest.$ac_objext
   9283    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9284    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9285    # Insert the option either (1) after the last *FLAGS variable, or
   9286    # (2) before a word containing "conftest.", or (3) at the end.
   9287    # Note that $ac_compile itself does not contain backslashes and begins
   9288    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9289    # The option is referenced via a variable to avoid confusing sed.
   9290    lt_compile=`echo "$ac_compile" | $SED \
   9291    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9292    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9293    -e 's:$: $lt_compiler_flag:'`
   9294    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9295    (eval "$lt_compile" 2>conftest.err)
   9296    ac_status=$?
   9297    cat conftest.err >&5
   9298    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9299    if (exit $ac_status) && test -s "$ac_outfile"; then
   9300      # The compiler can only warn and ignore the option if not recognized
   9301      # So say no if there are warnings other than the usual output.
   9302      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9303      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9304      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9305        lt_cv_prog_compiler_rtti_exceptions=yes
   9306      fi
   9307    fi
   9308    $RM conftest*
   9309  ;;
   9310 esac
   9311 fi
   9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9313 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9314 
   9315 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9316     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9317 else
   9318     :
   9319 fi
   9320 
   9321 fi
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328   lt_prog_compiler_wl=
   9329 lt_prog_compiler_pic=
   9330 lt_prog_compiler_static=
   9331 
   9332 
   9333   if test yes = "$GCC"; then
   9334     lt_prog_compiler_wl='-Wl,'
   9335     lt_prog_compiler_static='-static'
   9336 
   9337     case $host_os in
   9338       aix*)
   9339       # All AIX code is PIC.
   9340       if test ia64 = "$host_cpu"; then
   9341 	# AIX 5 now supports IA64 processor
   9342 	lt_prog_compiler_static='-Bstatic'
   9343       fi
   9344       lt_prog_compiler_pic='-fPIC'
   9345       ;;
   9346 
   9347     amigaos*)
   9348       case $host_cpu in
   9349       powerpc)
   9350             # see comment about AmigaOS4 .so support
   9351             lt_prog_compiler_pic='-fPIC'
   9352         ;;
   9353       m68k)
   9354             # FIXME: we need at least 68020 code to build shared libraries, but
   9355             # adding the '-m68020' flag to GCC prevents building anything better,
   9356             # like '-m68040'.
   9357             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9358         ;;
   9359       esac
   9360       ;;
   9361 
   9362     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9363       # PIC is the default for these OSes.
   9364       ;;
   9365 
   9366     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9367       # This hack is so that the source file can tell whether it is being
   9368       # built for inclusion in a dll (and should export symbols for example).
   9369       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9370       # (--disable-auto-import) libraries
   9371       lt_prog_compiler_pic='-DDLL_EXPORT'
   9372       case $host_os in
   9373       os2*)
   9374 	lt_prog_compiler_static='$wl-static'
   9375 	;;
   9376       esac
   9377       ;;
   9378 
   9379     darwin* | rhapsody*)
   9380       # PIC is the default on this platform
   9381       # Common symbols not allowed in MH_DYLIB files
   9382       lt_prog_compiler_pic='-fno-common'
   9383       ;;
   9384 
   9385     haiku*)
   9386       # PIC is the default for Haiku.
   9387       # The "-static" flag exists, but is broken.
   9388       lt_prog_compiler_static=
   9389       ;;
   9390 
   9391     hpux*)
   9392       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9393       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9394       # sets the default TLS model and affects inlining.
   9395       case $host_cpu in
   9396       hppa*64*)
   9397 	# +Z the default
   9398 	;;
   9399       *)
   9400 	lt_prog_compiler_pic='-fPIC'
   9401 	;;
   9402       esac
   9403       ;;
   9404 
   9405     interix[3-9]*)
   9406       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9407       # Instead, we relocate shared libraries at runtime.
   9408       ;;
   9409 
   9410     msdosdjgpp*)
   9411       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9412       # on systems that don't support them.
   9413       lt_prog_compiler_can_build_shared=no
   9414       enable_shared=no
   9415       ;;
   9416 
   9417     *nto* | *qnx*)
   9418       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9419       # it will coredump.
   9420       lt_prog_compiler_pic='-fPIC -shared'
   9421       ;;
   9422 
   9423     sysv4*MP*)
   9424       if test -d /usr/nec; then
   9425 	lt_prog_compiler_pic=-Kconform_pic
   9426       fi
   9427       ;;
   9428 
   9429     *)
   9430       lt_prog_compiler_pic='-fPIC'
   9431       ;;
   9432     esac
   9433 
   9434     case $cc_basename in
   9435     nvcc*) # Cuda Compiler Driver 2.2
   9436       lt_prog_compiler_wl='-Xlinker '
   9437       if test -n "$lt_prog_compiler_pic"; then
   9438         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9439       fi
   9440       ;;
   9441     esac
   9442   else
   9443     # PORTME Check for flag to pass linker flags through the system compiler.
   9444     case $host_os in
   9445     aix*)
   9446       lt_prog_compiler_wl='-Wl,'
   9447       if test ia64 = "$host_cpu"; then
   9448 	# AIX 5 now supports IA64 processor
   9449 	lt_prog_compiler_static='-Bstatic'
   9450       else
   9451 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9452       fi
   9453       ;;
   9454 
   9455     darwin* | rhapsody*)
   9456       # PIC is the default on this platform
   9457       # Common symbols not allowed in MH_DYLIB files
   9458       lt_prog_compiler_pic='-fno-common'
   9459       case $cc_basename in
   9460       nagfor*)
   9461         # NAG Fortran compiler
   9462         lt_prog_compiler_wl='-Wl,-Wl,,'
   9463         lt_prog_compiler_pic='-PIC'
   9464         lt_prog_compiler_static='-Bstatic'
   9465         ;;
   9466       esac
   9467       ;;
   9468 
   9469     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9470       # This hack is so that the source file can tell whether it is being
   9471       # built for inclusion in a dll (and should export symbols for example).
   9472       lt_prog_compiler_pic='-DDLL_EXPORT'
   9473       case $host_os in
   9474       os2*)
   9475 	lt_prog_compiler_static='$wl-static'
   9476 	;;
   9477       esac
   9478       ;;
   9479 
   9480     hpux9* | hpux10* | hpux11*)
   9481       lt_prog_compiler_wl='-Wl,'
   9482       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9483       # not for PA HP-UX.
   9484       case $host_cpu in
   9485       hppa*64*|ia64*)
   9486 	# +Z the default
   9487 	;;
   9488       *)
   9489 	lt_prog_compiler_pic='+Z'
   9490 	;;
   9491       esac
   9492       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9493       lt_prog_compiler_static='$wl-a ${wl}archive'
   9494       ;;
   9495 
   9496     irix5* | irix6* | nonstopux*)
   9497       lt_prog_compiler_wl='-Wl,'
   9498       # PIC (with -KPIC) is the default.
   9499       lt_prog_compiler_static='-non_shared'
   9500       ;;
   9501 
   9502     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9503       case $cc_basename in
   9504       # old Intel for x86_64, which still supported -KPIC.
   9505       ecc*)
   9506 	lt_prog_compiler_wl='-Wl,'
   9507 	lt_prog_compiler_pic='-KPIC'
   9508 	lt_prog_compiler_static='-static'
   9509         ;;
   9510       # icc used to be incompatible with GCC.
   9511       # ICC 10 doesn't accept -KPIC any more.
   9512       icc* | ifort*)
   9513 	lt_prog_compiler_wl='-Wl,'
   9514 	lt_prog_compiler_pic='-fPIC'
   9515 	lt_prog_compiler_static='-static'
   9516         ;;
   9517       # Lahey Fortran 8.1.
   9518       lf95*)
   9519 	lt_prog_compiler_wl='-Wl,'
   9520 	lt_prog_compiler_pic='--shared'
   9521 	lt_prog_compiler_static='--static'
   9522 	;;
   9523       nagfor*)
   9524 	# NAG Fortran compiler
   9525 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9526 	lt_prog_compiler_pic='-PIC'
   9527 	lt_prog_compiler_static='-Bstatic'
   9528 	;;
   9529       tcc*)
   9530 	# Fabrice Bellard et al's Tiny C Compiler
   9531 	lt_prog_compiler_wl='-Wl,'
   9532 	lt_prog_compiler_pic='-fPIC'
   9533 	lt_prog_compiler_static='-static'
   9534 	;;
   9535       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9536         # Portland Group compilers (*not* the Pentium gcc compiler,
   9537 	# which looks to be a dead project)
   9538 	lt_prog_compiler_wl='-Wl,'
   9539 	lt_prog_compiler_pic='-fpic'
   9540 	lt_prog_compiler_static='-Bstatic'
   9541         ;;
   9542       ccc*)
   9543         lt_prog_compiler_wl='-Wl,'
   9544         # All Alpha code is PIC.
   9545         lt_prog_compiler_static='-non_shared'
   9546         ;;
   9547       xl* | bgxl* | bgf* | mpixl*)
   9548 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9549 	lt_prog_compiler_wl='-Wl,'
   9550 	lt_prog_compiler_pic='-qpic'
   9551 	lt_prog_compiler_static='-qstaticlink'
   9552 	;;
   9553       *)
   9554 	case `$CC -V 2>&1 | $SED 5q` in
   9555 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9556 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9557 	  lt_prog_compiler_pic='-KPIC'
   9558 	  lt_prog_compiler_static='-Bstatic'
   9559 	  lt_prog_compiler_wl=''
   9560 	  ;;
   9561 	*Sun\ F* | *Sun*Fortran*)
   9562 	  lt_prog_compiler_pic='-KPIC'
   9563 	  lt_prog_compiler_static='-Bstatic'
   9564 	  lt_prog_compiler_wl='-Qoption ld '
   9565 	  ;;
   9566 	*Sun\ C*)
   9567 	  # Sun C 5.9
   9568 	  lt_prog_compiler_pic='-KPIC'
   9569 	  lt_prog_compiler_static='-Bstatic'
   9570 	  lt_prog_compiler_wl='-Wl,'
   9571 	  ;;
   9572         *Intel*\ [CF]*Compiler*)
   9573 	  lt_prog_compiler_wl='-Wl,'
   9574 	  lt_prog_compiler_pic='-fPIC'
   9575 	  lt_prog_compiler_static='-static'
   9576 	  ;;
   9577 	*Portland\ Group*)
   9578 	  lt_prog_compiler_wl='-Wl,'
   9579 	  lt_prog_compiler_pic='-fpic'
   9580 	  lt_prog_compiler_static='-Bstatic'
   9581 	  ;;
   9582 	esac
   9583 	;;
   9584       esac
   9585       ;;
   9586 
   9587     newsos6)
   9588       lt_prog_compiler_pic='-KPIC'
   9589       lt_prog_compiler_static='-Bstatic'
   9590       ;;
   9591 
   9592     *nto* | *qnx*)
   9593       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9594       # it will coredump.
   9595       lt_prog_compiler_pic='-fPIC -shared'
   9596       ;;
   9597 
   9598     osf3* | osf4* | osf5*)
   9599       lt_prog_compiler_wl='-Wl,'
   9600       # All OSF/1 code is PIC.
   9601       lt_prog_compiler_static='-non_shared'
   9602       ;;
   9603 
   9604     rdos*)
   9605       lt_prog_compiler_static='-non_shared'
   9606       ;;
   9607 
   9608     solaris*)
   9609       lt_prog_compiler_pic='-KPIC'
   9610       lt_prog_compiler_static='-Bstatic'
   9611       case $cc_basename in
   9612       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9613 	lt_prog_compiler_wl='-Qoption ld ';;
   9614       *)
   9615 	lt_prog_compiler_wl='-Wl,';;
   9616       esac
   9617       ;;
   9618 
   9619     sunos4*)
   9620       lt_prog_compiler_wl='-Qoption ld '
   9621       lt_prog_compiler_pic='-PIC'
   9622       lt_prog_compiler_static='-Bstatic'
   9623       ;;
   9624 
   9625     sysv4 | sysv4.2uw2* | sysv4.3*)
   9626       lt_prog_compiler_wl='-Wl,'
   9627       lt_prog_compiler_pic='-KPIC'
   9628       lt_prog_compiler_static='-Bstatic'
   9629       ;;
   9630 
   9631     sysv4*MP*)
   9632       if test -d /usr/nec; then
   9633 	lt_prog_compiler_pic='-Kconform_pic'
   9634 	lt_prog_compiler_static='-Bstatic'
   9635       fi
   9636       ;;
   9637 
   9638     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9639       lt_prog_compiler_wl='-Wl,'
   9640       lt_prog_compiler_pic='-KPIC'
   9641       lt_prog_compiler_static='-Bstatic'
   9642       ;;
   9643 
   9644     unicos*)
   9645       lt_prog_compiler_wl='-Wl,'
   9646       lt_prog_compiler_can_build_shared=no
   9647       ;;
   9648 
   9649     uts4*)
   9650       lt_prog_compiler_pic='-pic'
   9651       lt_prog_compiler_static='-Bstatic'
   9652       ;;
   9653 
   9654     *)
   9655       lt_prog_compiler_can_build_shared=no
   9656       ;;
   9657     esac
   9658   fi
   9659 
   9660 case $host_os in
   9661   # For platforms that do not support PIC, -DPIC is meaningless:
   9662   *djgpp*)
   9663     lt_prog_compiler_pic=
   9664     ;;
   9665   *)
   9666     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9667     ;;
   9668 esac
   9669 
   9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9671 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9672 if test ${lt_cv_prog_compiler_pic+y}
   9673 then :
   9674   printf %s "(cached) " >&6
   9675 else case e in #(
   9676   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9677 esac
   9678 fi
   9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9680 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9681 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9682 
   9683 #
   9684 # Check to make sure the PIC flag actually works.
   9685 #
   9686 if test -n "$lt_prog_compiler_pic"; then
   9687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9688 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9689 if test ${lt_cv_prog_compiler_pic_works+y}
   9690 then :
   9691   printf %s "(cached) " >&6
   9692 else case e in #(
   9693   e) lt_cv_prog_compiler_pic_works=no
   9694    ac_outfile=conftest.$ac_objext
   9695    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9696    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9697    # Insert the option either (1) after the last *FLAGS variable, or
   9698    # (2) before a word containing "conftest.", or (3) at the end.
   9699    # Note that $ac_compile itself does not contain backslashes and begins
   9700    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9701    # The option is referenced via a variable to avoid confusing sed.
   9702    lt_compile=`echo "$ac_compile" | $SED \
   9703    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9704    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9705    -e 's:$: $lt_compiler_flag:'`
   9706    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9707    (eval "$lt_compile" 2>conftest.err)
   9708    ac_status=$?
   9709    cat conftest.err >&5
   9710    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9711    if (exit $ac_status) && test -s "$ac_outfile"; then
   9712      # The compiler can only warn and ignore the option if not recognized
   9713      # So say no if there are warnings other than the usual output.
   9714      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9715      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9716      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9717        lt_cv_prog_compiler_pic_works=yes
   9718      fi
   9719    fi
   9720    $RM conftest*
   9721  ;;
   9722 esac
   9723 fi
   9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9725 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9726 
   9727 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9728     case $lt_prog_compiler_pic in
   9729      "" | " "*) ;;
   9730      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9731      esac
   9732 else
   9733     lt_prog_compiler_pic=
   9734      lt_prog_compiler_can_build_shared=no
   9735 fi
   9736 
   9737 fi
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 #
   9750 # Check to make sure the static flag actually works.
   9751 #
   9752 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9754 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9755 if test ${lt_cv_prog_compiler_static_works+y}
   9756 then :
   9757   printf %s "(cached) " >&6
   9758 else case e in #(
   9759   e) lt_cv_prog_compiler_static_works=no
   9760    save_LDFLAGS=$LDFLAGS
   9761    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9762    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9763    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9764      # The linker can only warn and ignore the option if not recognized
   9765      # So say no if there are warnings
   9766      if test -s conftest.err; then
   9767        # Append any errors to the config.log.
   9768        cat conftest.err 1>&5
   9769        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9770        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9771        if diff conftest.exp conftest.er2 >/dev/null; then
   9772          lt_cv_prog_compiler_static_works=yes
   9773        fi
   9774      else
   9775        lt_cv_prog_compiler_static_works=yes
   9776      fi
   9777    fi
   9778    $RM -r conftest*
   9779    LDFLAGS=$save_LDFLAGS
   9780  ;;
   9781 esac
   9782 fi
   9783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9784 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9785 
   9786 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9787     :
   9788 else
   9789     lt_prog_compiler_static=
   9790 fi
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9799 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9800 if test ${lt_cv_prog_compiler_c_o+y}
   9801 then :
   9802   printf %s "(cached) " >&6
   9803 else case e in #(
   9804   e) lt_cv_prog_compiler_c_o=no
   9805    $RM -r conftest 2>/dev/null
   9806    mkdir conftest
   9807    cd conftest
   9808    mkdir out
   9809    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9810 
   9811    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9812    # Insert the option either (1) after the last *FLAGS variable, or
   9813    # (2) before a word containing "conftest.", or (3) at the end.
   9814    # Note that $ac_compile itself does not contain backslashes and begins
   9815    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9816    lt_compile=`echo "$ac_compile" | $SED \
   9817    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9818    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9819    -e 's:$: $lt_compiler_flag:'`
   9820    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9821    (eval "$lt_compile" 2>out/conftest.err)
   9822    ac_status=$?
   9823    cat out/conftest.err >&5
   9824    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9825    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9826    then
   9827      # The compiler can only warn and ignore the option if not recognized
   9828      # So say no if there are warnings
   9829      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9830      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9831      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9832        lt_cv_prog_compiler_c_o=yes
   9833      fi
   9834    fi
   9835    chmod u+w . 2>&5
   9836    $RM conftest*
   9837    # SGI C++ compiler will create directory out/ii_files/ for
   9838    # template instantiation
   9839    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9840    $RM out/* && rmdir out
   9841    cd ..
   9842    $RM -r conftest
   9843    $RM conftest*
   9844  ;;
   9845 esac
   9846 fi
   9847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9848 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9856 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9857 if test ${lt_cv_prog_compiler_c_o+y}
   9858 then :
   9859   printf %s "(cached) " >&6
   9860 else case e in #(
   9861   e) lt_cv_prog_compiler_c_o=no
   9862    $RM -r conftest 2>/dev/null
   9863    mkdir conftest
   9864    cd conftest
   9865    mkdir out
   9866    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9867 
   9868    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9869    # Insert the option either (1) after the last *FLAGS variable, or
   9870    # (2) before a word containing "conftest.", or (3) at the end.
   9871    # Note that $ac_compile itself does not contain backslashes and begins
   9872    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9873    lt_compile=`echo "$ac_compile" | $SED \
   9874    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9875    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9876    -e 's:$: $lt_compiler_flag:'`
   9877    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9878    (eval "$lt_compile" 2>out/conftest.err)
   9879    ac_status=$?
   9880    cat out/conftest.err >&5
   9881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9882    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9883    then
   9884      # The compiler can only warn and ignore the option if not recognized
   9885      # So say no if there are warnings
   9886      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9887      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9888      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9889        lt_cv_prog_compiler_c_o=yes
   9890      fi
   9891    fi
   9892    chmod u+w . 2>&5
   9893    $RM conftest*
   9894    # SGI C++ compiler will create directory out/ii_files/ for
   9895    # template instantiation
   9896    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9897    $RM out/* && rmdir out
   9898    cd ..
   9899    $RM -r conftest
   9900    $RM conftest*
   9901  ;;
   9902 esac
   9903 fi
   9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9905 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9906 
   9907 
   9908 
   9909 
   9910 hard_links=nottested
   9911 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9912   # do not overwrite the value of need_locks provided by the user
   9913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9914 printf %s "checking if we can lock with hard links... " >&6; }
   9915   hard_links=yes
   9916   $RM conftest*
   9917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9918   touch conftest.a
   9919   ln conftest.a conftest.b 2>&5 || hard_links=no
   9920   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9922 printf "%s\n" "$hard_links" >&6; }
   9923   if test no = "$hard_links"; then
   9924     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9925 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9926     need_locks=warn
   9927   fi
   9928 else
   9929   need_locks=no
   9930 fi
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9938 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9939 
   9940   runpath_var=
   9941   allow_undefined_flag=
   9942   always_export_symbols=no
   9943   archive_cmds=
   9944   archive_expsym_cmds=
   9945   compiler_needs_object=no
   9946   enable_shared_with_static_runtimes=no
   9947   export_dynamic_flag_spec=
   9948   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9949   hardcode_automatic=no
   9950   hardcode_direct=no
   9951   hardcode_direct_absolute=no
   9952   hardcode_libdir_flag_spec=
   9953   hardcode_libdir_separator=
   9954   hardcode_minus_L=no
   9955   hardcode_shlibpath_var=unsupported
   9956   inherit_rpath=no
   9957   link_all_deplibs=unknown
   9958   module_cmds=
   9959   module_expsym_cmds=
   9960   old_archive_from_new_cmds=
   9961   old_archive_from_expsyms_cmds=
   9962   thread_safe_flag_spec=
   9963   whole_archive_flag_spec=
   9964   # include_expsyms should be a list of space-separated symbols to be *always*
   9965   # included in the symbol list
   9966   include_expsyms=
   9967   # exclude_expsyms can be an extended regexp of symbols to exclude
   9968   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9969   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9970   # as well as any symbol that contains 'd'.
   9971   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9972   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9973   # platforms (ab)use it in PIC code, but their linkers get confused if
   9974   # the symbol is explicitly referenced.  Since portable code cannot
   9975   # rely on this symbol name, it's probably fine to never include it in
   9976   # preloaded symbol tables.
   9977   # Exclude shared library initialization/finalization symbols.
   9978   extract_expsyms_cmds=
   9979 
   9980   case $host_os in
   9981   cygwin* | mingw* | pw32* | cegcc*)
   9982     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9983     # When not using gcc, we currently assume that we are using
   9984     # Microsoft Visual C++ or Intel C++ Compiler.
   9985     if test yes != "$GCC"; then
   9986       with_gnu_ld=no
   9987     fi
   9988     ;;
   9989   interix*)
   9990     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9991     with_gnu_ld=yes
   9992     ;;
   9993   openbsd* | bitrig*)
   9994     with_gnu_ld=no
   9995     ;;
   9996   esac
   9997 
   9998   ld_shlibs=yes
   9999 
   10000   # On some targets, GNU ld is compatible enough with the native linker
   10001   # that we're better off using the native interface for both.
   10002   lt_use_gnu_ld_interface=no
   10003   if test yes = "$with_gnu_ld"; then
   10004     case $host_os in
   10005       aix*)
   10006 	# The AIX port of GNU ld has always aspired to compatibility
   10007 	# with the native linker.  However, as the warning in the GNU ld
   10008 	# block says, versions before 2.19.5* couldn't really create working
   10009 	# shared libraries, regardless of the interface used.
   10010 	case `$LD -v 2>&1` in
   10011 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10012 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10013 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10014 	  *)
   10015 	    lt_use_gnu_ld_interface=yes
   10016 	    ;;
   10017 	esac
   10018 	;;
   10019       *)
   10020 	lt_use_gnu_ld_interface=yes
   10021 	;;
   10022     esac
   10023   fi
   10024 
   10025   if test yes = "$lt_use_gnu_ld_interface"; then
   10026     # If archive_cmds runs LD, not CC, wlarc should be empty
   10027     wlarc='$wl'
   10028 
   10029     # Set some defaults for GNU ld with shared library support. These
   10030     # are reset later if shared libraries are not supported. Putting them
   10031     # here allows them to be overridden if necessary.
   10032     runpath_var=LD_RUN_PATH
   10033     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10034     export_dynamic_flag_spec='$wl--export-dynamic'
   10035     # ancient GNU ld didn't support --whole-archive et. al.
   10036     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10037       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10038     else
   10039       whole_archive_flag_spec=
   10040     fi
   10041     supports_anon_versioning=no
   10042     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10043       *GNU\ gold*) supports_anon_versioning=yes ;;
   10044       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10045       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10046       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10047       *\ 2.11.*) ;; # other 2.11 versions
   10048       *) supports_anon_versioning=yes ;;
   10049     esac
   10050 
   10051     # See if GNU ld supports shared libraries.
   10052     case $host_os in
   10053     aix[3-9]*)
   10054       # On AIX/PPC, the GNU linker is very broken
   10055       if test ia64 != "$host_cpu"; then
   10056 	ld_shlibs=no
   10057 	cat <<_LT_EOF 1>&2
   10058 
   10059 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10060 *** to be unable to reliably create shared libraries on AIX.
   10061 *** Therefore, libtool is disabling shared libraries support.  If you
   10062 *** really care for shared libraries, you may want to install binutils
   10063 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10064 *** You will then need to restart the configuration process.
   10065 
   10066 _LT_EOF
   10067       fi
   10068       ;;
   10069 
   10070     amigaos*)
   10071       case $host_cpu in
   10072       powerpc)
   10073             # see comment about AmigaOS4 .so support
   10074             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10075             archive_expsym_cmds=''
   10076         ;;
   10077       m68k)
   10078             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)'
   10079             hardcode_libdir_flag_spec='-L$libdir'
   10080             hardcode_minus_L=yes
   10081         ;;
   10082       esac
   10083       ;;
   10084 
   10085     beos*)
   10086       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10087 	allow_undefined_flag=unsupported
   10088 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10089 	# support --undefined.  This deserves some investigation.  FIXME
   10090 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10091       else
   10092 	ld_shlibs=no
   10093       fi
   10094       ;;
   10095 
   10096     cygwin* | mingw* | pw32* | cegcc*)
   10097       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10098       # as there is no search path for DLLs.
   10099       hardcode_libdir_flag_spec='-L$libdir'
   10100       export_dynamic_flag_spec='$wl--export-all-symbols'
   10101       allow_undefined_flag=unsupported
   10102       always_export_symbols=no
   10103       enable_shared_with_static_runtimes=yes
   10104       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'
   10105       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10106 
   10107       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10108         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10109 	# If the export-symbols file already is a .def file, use it as
   10110 	# is; otherwise, prepend EXPORTS...
   10111 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10112           cp $export_symbols $output_objdir/$soname.def;
   10113         else
   10114           echo EXPORTS > $output_objdir/$soname.def;
   10115           cat $export_symbols >> $output_objdir/$soname.def;
   10116         fi~
   10117         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10118       else
   10119 	ld_shlibs=no
   10120       fi
   10121       ;;
   10122 
   10123     haiku*)
   10124       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10125       link_all_deplibs=yes
   10126       ;;
   10127 
   10128     os2*)
   10129       hardcode_libdir_flag_spec='-L$libdir'
   10130       hardcode_minus_L=yes
   10131       allow_undefined_flag=unsupported
   10132       shrext_cmds=.dll
   10133       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10134 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10135 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10136 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10137 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10138 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10139 	emximp -o $lib $output_objdir/$libname.def'
   10140       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10141 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10142 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10143 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10144 	prefix_cmds="$SED"~
   10145 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10146 	  prefix_cmds="$prefix_cmds -e 1d";
   10147 	fi~
   10148 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10149 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10150 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10151 	emximp -o $lib $output_objdir/$libname.def'
   10152       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10153       enable_shared_with_static_runtimes=yes
   10154       file_list_spec='@'
   10155       ;;
   10156 
   10157     interix[3-9]*)
   10158       hardcode_direct=no
   10159       hardcode_shlibpath_var=no
   10160       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10161       export_dynamic_flag_spec='$wl-E'
   10162       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10163       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10164       # default) and relocated if they conflict, which is a slow very memory
   10165       # consuming and fragmenting process.  To avoid this, we pick a random,
   10166       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10167       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10168       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10169       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'
   10170       ;;
   10171 
   10172     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10173       tmp_diet=no
   10174       if test linux-dietlibc = "$host_os"; then
   10175 	case $cc_basename in
   10176 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10177 	esac
   10178       fi
   10179       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10180 	 && test no = "$tmp_diet"
   10181       then
   10182 	tmp_addflag=' $pic_flag'
   10183 	tmp_sharedflag='-shared'
   10184 	case $cc_basename,$host_cpu in
   10185         pgcc*)				# Portland Group C compiler
   10186 	  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'
   10187 	  tmp_addflag=' $pic_flag'
   10188 	  ;;
   10189 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10190 					# Portland Group f77 and f90 compilers
   10191 	  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'
   10192 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10193 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10194 	  tmp_addflag=' -i_dynamic' ;;
   10195 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10196 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10197 	ifc* | ifort*)			# Intel Fortran compiler
   10198 	  tmp_addflag=' -nofor_main' ;;
   10199 	lf95*)				# Lahey Fortran 8.1
   10200 	  whole_archive_flag_spec=
   10201 	  tmp_sharedflag='--shared' ;;
   10202         nagfor*)                        # NAGFOR 5.3
   10203           tmp_sharedflag='-Wl,-shared' ;;
   10204 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10205 	  tmp_sharedflag='-qmkshrobj'
   10206 	  tmp_addflag= ;;
   10207 	nvcc*)	# Cuda Compiler Driver 2.2
   10208 	  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'
   10209 	  compiler_needs_object=yes
   10210 	  ;;
   10211 	esac
   10212 	case `$CC -V 2>&1 | $SED 5q` in
   10213 	*Sun\ C*)			# Sun C 5.9
   10214 	  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'
   10215 	  compiler_needs_object=yes
   10216 	  tmp_sharedflag='-G' ;;
   10217 	*Sun\ F*)			# Sun Fortran 8.3
   10218 	  tmp_sharedflag='-G' ;;
   10219 	esac
   10220 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10221 
   10222         if test yes = "$supports_anon_versioning"; then
   10223           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10224             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10225             echo "local: *; };" >> $output_objdir/$libname.ver~
   10226             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10227         fi
   10228 
   10229 	case $cc_basename in
   10230 	tcc*)
   10231 	  export_dynamic_flag_spec='-rdynamic'
   10232 	  ;;
   10233 	xlf* | bgf* | bgxlf* | mpixlf*)
   10234 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10235 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10236 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10237 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10238 	  if test yes = "$supports_anon_versioning"; then
   10239 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10240               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10241               echo "local: *; };" >> $output_objdir/$libname.ver~
   10242               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10243 	  fi
   10244 	  ;;
   10245 	esac
   10246       else
   10247         ld_shlibs=no
   10248       fi
   10249       ;;
   10250 
   10251     netbsd*)
   10252       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10253 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10254 	wlarc=
   10255       else
   10256 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10257 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10258       fi
   10259       ;;
   10260 
   10261     solaris*)
   10262       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10263 	ld_shlibs=no
   10264 	cat <<_LT_EOF 1>&2
   10265 
   10266 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10267 *** create shared libraries on Solaris systems.  Therefore, libtool
   10268 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10269 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10270 *** your PATH or compiler configuration so that the native linker is
   10271 *** used, and then restart.
   10272 
   10273 _LT_EOF
   10274       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10275 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10276 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10277       else
   10278 	ld_shlibs=no
   10279       fi
   10280       ;;
   10281 
   10282     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10283       case `$LD -v 2>&1` in
   10284         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10285 	ld_shlibs=no
   10286 	cat <<_LT_EOF 1>&2
   10287 
   10288 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10289 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10290 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10291 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10292 *** your PATH or compiler configuration so that the native linker is
   10293 *** used, and then restart.
   10294 
   10295 _LT_EOF
   10296 	;;
   10297 	*)
   10298 	  # For security reasons, it is highly recommended that you always
   10299 	  # use absolute paths for naming shared libraries, and exclude the
   10300 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10301 	  # requires that you compile everything twice, which is a pain.
   10302 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10303 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10304 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10305 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10306 	  else
   10307 	    ld_shlibs=no
   10308 	  fi
   10309 	;;
   10310       esac
   10311       ;;
   10312 
   10313     sunos4*)
   10314       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10315       wlarc=
   10316       hardcode_direct=yes
   10317       hardcode_shlibpath_var=no
   10318       ;;
   10319 
   10320     *)
   10321       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10322 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10323 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10324       else
   10325 	ld_shlibs=no
   10326       fi
   10327       ;;
   10328     esac
   10329 
   10330     if test no = "$ld_shlibs"; then
   10331       runpath_var=
   10332       hardcode_libdir_flag_spec=
   10333       export_dynamic_flag_spec=
   10334       whole_archive_flag_spec=
   10335     fi
   10336   else
   10337     # PORTME fill in a description of your system's linker (not GNU ld)
   10338     case $host_os in
   10339     aix3*)
   10340       allow_undefined_flag=unsupported
   10341       always_export_symbols=yes
   10342       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'
   10343       # Note: this linker hardcodes the directories in LIBPATH if there
   10344       # are no directories specified by -L.
   10345       hardcode_minus_L=yes
   10346       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10347 	# Neither direct hardcoding nor static linking is supported with a
   10348 	# broken collect2.
   10349 	hardcode_direct=unsupported
   10350       fi
   10351       ;;
   10352 
   10353     aix[4-9]*)
   10354       if test ia64 = "$host_cpu"; then
   10355 	# On IA64, the linker does run time linking by default, so we don't
   10356 	# have to do anything special.
   10357 	aix_use_runtimelinking=no
   10358 	exp_sym_flag='-Bexport'
   10359 	no_entry_flag=
   10360       else
   10361 	# If we're using GNU nm, then we don't want the "-C" option.
   10362 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10363 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10364 	# weak defined symbols like other global defined symbols, whereas
   10365 	# GNU nm marks them as "W".
   10366 	# While the 'weak' keyword is ignored in the Export File, we need
   10367 	# it in the Import File for the 'aix-soname' feature, so we have
   10368 	# to replace the "-B" option with "-P" for AIX nm.
   10369 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10370 	  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'
   10371 	else
   10372 	  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'
   10373 	fi
   10374 	aix_use_runtimelinking=no
   10375 
   10376 	# Test if we are trying to use run time linking or normal
   10377 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10378 	# have runtime linking enabled, and use it for executables.
   10379 	# For shared libraries, we enable/disable runtime linking
   10380 	# depending on the kind of the shared library created -
   10381 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10382 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10383 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10384 	#            lib.a           static archive
   10385 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10386 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10387 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10388 	#            lib.a(lib.so.V) shared, rtl:no
   10389 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10390 	#            lib.a           static archive
   10391 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10392 	  for ld_flag in $LDFLAGS; do
   10393 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10394 	    aix_use_runtimelinking=yes
   10395 	    break
   10396 	  fi
   10397 	  done
   10398 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10399 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10400 	    # so we don't have lib.a shared libs to link our executables.
   10401 	    # We have to force runtime linking in this case.
   10402 	    aix_use_runtimelinking=yes
   10403 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10404 	  fi
   10405 	  ;;
   10406 	esac
   10407 
   10408 	exp_sym_flag='-bexport'
   10409 	no_entry_flag='-bnoentry'
   10410       fi
   10411 
   10412       # When large executables or shared objects are built, AIX ld can
   10413       # have problems creating the table of contents.  If linking a library
   10414       # or program results in "error TOC overflow" add -mminimal-toc to
   10415       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10416       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10417 
   10418       archive_cmds=''
   10419       hardcode_direct=yes
   10420       hardcode_direct_absolute=yes
   10421       hardcode_libdir_separator=':'
   10422       link_all_deplibs=yes
   10423       file_list_spec='$wl-f,'
   10424       case $with_aix_soname,$aix_use_runtimelinking in
   10425       aix,*) ;; # traditional, no import file
   10426       svr4,* | *,yes) # use import file
   10427 	# The Import File defines what to hardcode.
   10428 	hardcode_direct=no
   10429 	hardcode_direct_absolute=no
   10430 	;;
   10431       esac
   10432 
   10433       if test yes = "$GCC"; then
   10434 	case $host_os in aix4.[012]|aix4.[012].*)
   10435 	# We only want to do this on AIX 4.2 and lower, the check
   10436 	# below for broken collect2 doesn't work under 4.3+
   10437 	  collect2name=`$CC -print-prog-name=collect2`
   10438 	  if test -f "$collect2name" &&
   10439 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10440 	  then
   10441 	  # We have reworked collect2
   10442 	  :
   10443 	  else
   10444 	  # We have old collect2
   10445 	  hardcode_direct=unsupported
   10446 	  # It fails to find uninstalled libraries when the uninstalled
   10447 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10448 	  # to unsupported forces relinking
   10449 	  hardcode_minus_L=yes
   10450 	  hardcode_libdir_flag_spec='-L$libdir'
   10451 	  hardcode_libdir_separator=
   10452 	  fi
   10453 	  ;;
   10454 	esac
   10455 	shared_flag='-shared'
   10456 	if test yes = "$aix_use_runtimelinking"; then
   10457 	  shared_flag="$shared_flag "'$wl-G'
   10458 	fi
   10459 	# Need to ensure runtime linking is disabled for the traditional
   10460 	# shared library, or the linker may eventually find shared libraries
   10461 	# /with/ Import File - we do not want to mix them.
   10462 	shared_flag_aix='-shared'
   10463 	shared_flag_svr4='-shared $wl-G'
   10464       else
   10465 	# not using gcc
   10466 	if test ia64 = "$host_cpu"; then
   10467 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10468 	# chokes on -Wl,-G. The following line is correct:
   10469 	  shared_flag='-G'
   10470 	else
   10471 	  if test yes = "$aix_use_runtimelinking"; then
   10472 	    shared_flag='$wl-G'
   10473 	  else
   10474 	    shared_flag='$wl-bM:SRE'
   10475 	  fi
   10476 	  shared_flag_aix='$wl-bM:SRE'
   10477 	  shared_flag_svr4='$wl-G'
   10478 	fi
   10479       fi
   10480 
   10481       export_dynamic_flag_spec='$wl-bexpall'
   10482       # It seems that -bexpall does not export symbols beginning with
   10483       # underscore (_), so it is better to generate a list of symbols to export.
   10484       always_export_symbols=yes
   10485       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10486 	# Warning - without using the other runtime loading flags (-brtl),
   10487 	# -berok will link without error, but may produce a broken library.
   10488 	allow_undefined_flag='-berok'
   10489         # Determine the default libpath from the value encoded in an
   10490         # empty executable.
   10491         if test set = "${lt_cv_aix_libpath+set}"; then
   10492   aix_libpath=$lt_cv_aix_libpath
   10493 else
   10494   if test ${lt_cv_aix_libpath_+y}
   10495 then :
   10496   printf %s "(cached) " >&6
   10497 else case e in #(
   10498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10499 /* end confdefs.h.  */
   10500 
   10501 int
   10502 main (void)
   10503 {
   10504 
   10505   ;
   10506   return 0;
   10507 }
   10508 _ACEOF
   10509 if ac_fn_c_try_link "$LINENO"
   10510 then :
   10511 
   10512   lt_aix_libpath_sed='
   10513       /Import File Strings/,/^$/ {
   10514 	  /^0/ {
   10515 	      s/^0  *\([^ ]*\) *$/\1/
   10516 	      p
   10517 	  }
   10518       }'
   10519   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10520   # Check for a 64-bit object if we didn't find anything.
   10521   if test -z "$lt_cv_aix_libpath_"; then
   10522     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10523   fi
   10524 fi
   10525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10526     conftest$ac_exeext conftest.$ac_ext
   10527   if test -z "$lt_cv_aix_libpath_"; then
   10528     lt_cv_aix_libpath_=/usr/lib:/lib
   10529   fi
   10530    ;;
   10531 esac
   10532 fi
   10533 
   10534   aix_libpath=$lt_cv_aix_libpath_
   10535 fi
   10536 
   10537         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10538         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
   10539       else
   10540 	if test ia64 = "$host_cpu"; then
   10541 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10542 	  allow_undefined_flag="-z nodefs"
   10543 	  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"
   10544 	else
   10545 	 # Determine the default libpath from the value encoded in an
   10546 	 # empty executable.
   10547 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10548   aix_libpath=$lt_cv_aix_libpath
   10549 else
   10550   if test ${lt_cv_aix_libpath_+y}
   10551 then :
   10552   printf %s "(cached) " >&6
   10553 else case e in #(
   10554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10555 /* end confdefs.h.  */
   10556 
   10557 int
   10558 main (void)
   10559 {
   10560 
   10561   ;
   10562   return 0;
   10563 }
   10564 _ACEOF
   10565 if ac_fn_c_try_link "$LINENO"
   10566 then :
   10567 
   10568   lt_aix_libpath_sed='
   10569       /Import File Strings/,/^$/ {
   10570 	  /^0/ {
   10571 	      s/^0  *\([^ ]*\) *$/\1/
   10572 	      p
   10573 	  }
   10574       }'
   10575   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10576   # Check for a 64-bit object if we didn't find anything.
   10577   if test -z "$lt_cv_aix_libpath_"; then
   10578     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10579   fi
   10580 fi
   10581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10582     conftest$ac_exeext conftest.$ac_ext
   10583   if test -z "$lt_cv_aix_libpath_"; then
   10584     lt_cv_aix_libpath_=/usr/lib:/lib
   10585   fi
   10586    ;;
   10587 esac
   10588 fi
   10589 
   10590   aix_libpath=$lt_cv_aix_libpath_
   10591 fi
   10592 
   10593 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10594 	  # Warning - without using the other run time loading flags,
   10595 	  # -berok will link without error, but may produce a broken library.
   10596 	  no_undefined_flag=' $wl-bernotok'
   10597 	  allow_undefined_flag=' $wl-berok'
   10598 	  if test yes = "$with_gnu_ld"; then
   10599 	    # We only use this code for GNU lds that support --whole-archive.
   10600 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10601 	  else
   10602 	    # Exported symbols can be pulled into shared objects from archives
   10603 	    whole_archive_flag_spec='$convenience'
   10604 	  fi
   10605 	  archive_cmds_need_lc=yes
   10606 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10607 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10608 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10609 	  if test svr4 != "$with_aix_soname"; then
   10610 	    # This is similar to how AIX traditionally builds its shared libraries.
   10611 	    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'
   10612 	  fi
   10613 	  if test aix != "$with_aix_soname"; then
   10614 	    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'
   10615 	  else
   10616 	    # used by -dlpreopen to get the symbols
   10617 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10618 	  fi
   10619 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10620 	fi
   10621       fi
   10622       ;;
   10623 
   10624     amigaos*)
   10625       case $host_cpu in
   10626       powerpc)
   10627             # see comment about AmigaOS4 .so support
   10628             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10629             archive_expsym_cmds=''
   10630         ;;
   10631       m68k)
   10632             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)'
   10633             hardcode_libdir_flag_spec='-L$libdir'
   10634             hardcode_minus_L=yes
   10635         ;;
   10636       esac
   10637       ;;
   10638 
   10639     bsdi[45]*)
   10640       export_dynamic_flag_spec=-rdynamic
   10641       ;;
   10642 
   10643     cygwin* | mingw* | pw32* | cegcc*)
   10644       # When not using gcc, we currently assume that we are using
   10645       # Microsoft Visual C++ or Intel C++ Compiler.
   10646       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10647       # no search path for DLLs.
   10648       case $cc_basename in
   10649       cl* | icl*)
   10650 	# Native MSVC or ICC
   10651 	hardcode_libdir_flag_spec=' '
   10652 	allow_undefined_flag=unsupported
   10653 	always_export_symbols=yes
   10654 	file_list_spec='@'
   10655 	# Tell ltmain to make .lib files, not .a files.
   10656 	libext=lib
   10657 	# Tell ltmain to make .dll files, not .so files.
   10658 	shrext_cmds=.dll
   10659 	# FIXME: Setting linknames here is a bad hack.
   10660 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10661 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10662             cp "$export_symbols" "$output_objdir/$soname.def";
   10663             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10664           else
   10665             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10666           fi~
   10667           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10668           linknames='
   10669 	# The linker will not automatically build a static lib if we build a DLL.
   10670 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10671 	enable_shared_with_static_runtimes=yes
   10672 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10673 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10674 	# Don't use ranlib
   10675 	old_postinstall_cmds='chmod 644 $oldlib'
   10676 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10677           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10678           case $lt_outputfile in
   10679             *.exe|*.EXE) ;;
   10680             *)
   10681               lt_outputfile=$lt_outputfile.exe
   10682               lt_tool_outputfile=$lt_tool_outputfile.exe
   10683               ;;
   10684           esac~
   10685           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10686             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10687             $RM "$lt_outputfile.manifest";
   10688           fi'
   10689 	;;
   10690       *)
   10691 	# Assume MSVC and ICC wrapper
   10692 	hardcode_libdir_flag_spec=' '
   10693 	allow_undefined_flag=unsupported
   10694 	# Tell ltmain to make .lib files, not .a files.
   10695 	libext=lib
   10696 	# Tell ltmain to make .dll files, not .so files.
   10697 	shrext_cmds=.dll
   10698 	# FIXME: Setting linknames here is a bad hack.
   10699 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10700 	# The linker will automatically build a .lib file if we build a DLL.
   10701 	old_archive_from_new_cmds='true'
   10702 	# FIXME: Should let the user specify the lib program.
   10703 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10704 	enable_shared_with_static_runtimes=yes
   10705 	;;
   10706       esac
   10707       ;;
   10708 
   10709     darwin* | rhapsody*)
   10710 
   10711 
   10712   archive_cmds_need_lc=no
   10713   hardcode_direct=no
   10714   hardcode_automatic=yes
   10715   hardcode_shlibpath_var=unsupported
   10716   if test yes = "$lt_cv_ld_force_load"; then
   10717     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\"`'
   10718 
   10719   else
   10720     whole_archive_flag_spec=''
   10721   fi
   10722   link_all_deplibs=yes
   10723   allow_undefined_flag=$_lt_dar_allow_undefined
   10724   case $cc_basename in
   10725      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10726      *) _lt_dar_can_shared=$GCC ;;
   10727   esac
   10728   if test yes = "$_lt_dar_can_shared"; then
   10729     output_verbose_link_cmd=func_echo_all
   10730     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10731     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10732     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"
   10733     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"
   10734 
   10735   else
   10736   ld_shlibs=no
   10737   fi
   10738 
   10739       ;;
   10740 
   10741     dgux*)
   10742       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10743       hardcode_libdir_flag_spec='-L$libdir'
   10744       hardcode_shlibpath_var=no
   10745       ;;
   10746 
   10747     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10748     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10749     # does not break anything, and helps significantly (at the cost of a little
   10750     # extra space).
   10751     freebsd2.2*)
   10752       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10753       hardcode_libdir_flag_spec='-R$libdir'
   10754       hardcode_direct=yes
   10755       hardcode_shlibpath_var=no
   10756       ;;
   10757 
   10758     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10759     freebsd2.*)
   10760       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10761       hardcode_direct=yes
   10762       hardcode_minus_L=yes
   10763       hardcode_shlibpath_var=no
   10764       ;;
   10765 
   10766     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10767     freebsd* | dragonfly* | midnightbsd*)
   10768       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10769       hardcode_libdir_flag_spec='-R$libdir'
   10770       hardcode_direct=yes
   10771       hardcode_shlibpath_var=no
   10772       ;;
   10773 
   10774     hpux9*)
   10775       if test yes = "$GCC"; then
   10776 	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'
   10777       else
   10778 	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'
   10779       fi
   10780       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10781       hardcode_libdir_separator=:
   10782       hardcode_direct=yes
   10783 
   10784       # hardcode_minus_L: Not really in the search PATH,
   10785       # but as the default location of the library.
   10786       hardcode_minus_L=yes
   10787       export_dynamic_flag_spec='$wl-E'
   10788       ;;
   10789 
   10790     hpux10*)
   10791       if test yes,no = "$GCC,$with_gnu_ld"; then
   10792 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10793       else
   10794 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10795       fi
   10796       if test no = "$with_gnu_ld"; then
   10797 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10798 	hardcode_libdir_separator=:
   10799 	hardcode_direct=yes
   10800 	hardcode_direct_absolute=yes
   10801 	export_dynamic_flag_spec='$wl-E'
   10802 	# hardcode_minus_L: Not really in the search PATH,
   10803 	# but as the default location of the library.
   10804 	hardcode_minus_L=yes
   10805       fi
   10806       ;;
   10807 
   10808     hpux11*)
   10809       if test yes,no = "$GCC,$with_gnu_ld"; then
   10810 	case $host_cpu in
   10811 	hppa*64*)
   10812 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10813 	  ;;
   10814 	ia64*)
   10815 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10816 	  ;;
   10817 	*)
   10818 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10819 	  ;;
   10820 	esac
   10821       else
   10822 	case $host_cpu in
   10823 	hppa*64*)
   10824 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10825 	  ;;
   10826 	ia64*)
   10827 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10828 	  ;;
   10829 	*)
   10830 
   10831 	  # Older versions of the 11.00 compiler do not understand -b yet
   10832 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10833 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10834 printf %s "checking if $CC understands -b... " >&6; }
   10835 if test ${lt_cv_prog_compiler__b+y}
   10836 then :
   10837   printf %s "(cached) " >&6
   10838 else case e in #(
   10839   e) lt_cv_prog_compiler__b=no
   10840    save_LDFLAGS=$LDFLAGS
   10841    LDFLAGS="$LDFLAGS -b"
   10842    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10843    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10844      # The linker can only warn and ignore the option if not recognized
   10845      # So say no if there are warnings
   10846      if test -s conftest.err; then
   10847        # Append any errors to the config.log.
   10848        cat conftest.err 1>&5
   10849        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10850        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10851        if diff conftest.exp conftest.er2 >/dev/null; then
   10852          lt_cv_prog_compiler__b=yes
   10853        fi
   10854      else
   10855        lt_cv_prog_compiler__b=yes
   10856      fi
   10857    fi
   10858    $RM -r conftest*
   10859    LDFLAGS=$save_LDFLAGS
   10860  ;;
   10861 esac
   10862 fi
   10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10864 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10865 
   10866 if test yes = "$lt_cv_prog_compiler__b"; then
   10867     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10868 else
   10869     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10870 fi
   10871 
   10872 	  ;;
   10873 	esac
   10874       fi
   10875       if test no = "$with_gnu_ld"; then
   10876 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10877 	hardcode_libdir_separator=:
   10878 
   10879 	case $host_cpu in
   10880 	hppa*64*|ia64*)
   10881 	  hardcode_direct=no
   10882 	  hardcode_shlibpath_var=no
   10883 	  ;;
   10884 	*)
   10885 	  hardcode_direct=yes
   10886 	  hardcode_direct_absolute=yes
   10887 	  export_dynamic_flag_spec='$wl-E'
   10888 
   10889 	  # hardcode_minus_L: Not really in the search PATH,
   10890 	  # but as the default location of the library.
   10891 	  hardcode_minus_L=yes
   10892 	  ;;
   10893 	esac
   10894       fi
   10895       ;;
   10896 
   10897     irix5* | irix6* | nonstopux*)
   10898       if test yes = "$GCC"; then
   10899 	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'
   10900 	# Try to use the -exported_symbol ld option, if it does not
   10901 	# work, assume that -exports_file does not work either and
   10902 	# implicitly export all symbols.
   10903 	# This should be the same for all languages, so no per-tag cache variable.
   10904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10905 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10906 if test ${lt_cv_irix_exported_symbol+y}
   10907 then :
   10908   printf %s "(cached) " >&6
   10909 else case e in #(
   10910   e) save_LDFLAGS=$LDFLAGS
   10911 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10912 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10913 /* end confdefs.h.  */
   10914 int foo (void) { return 0; }
   10915 _ACEOF
   10916 if ac_fn_c_try_link "$LINENO"
   10917 then :
   10918   lt_cv_irix_exported_symbol=yes
   10919 else case e in #(
   10920   e) lt_cv_irix_exported_symbol=no ;;
   10921 esac
   10922 fi
   10923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10924     conftest$ac_exeext conftest.$ac_ext
   10925            LDFLAGS=$save_LDFLAGS ;;
   10926 esac
   10927 fi
   10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10929 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10930 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10931           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'
   10932 	fi
   10933       else
   10934 	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'
   10935 	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'
   10936       fi
   10937       archive_cmds_need_lc='no'
   10938       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10939       hardcode_libdir_separator=:
   10940       inherit_rpath=yes
   10941       link_all_deplibs=yes
   10942       ;;
   10943 
   10944     linux*)
   10945       case $cc_basename in
   10946       tcc*)
   10947 	# Fabrice Bellard et al's Tiny C Compiler
   10948 	ld_shlibs=yes
   10949 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10950 	;;
   10951       esac
   10952       ;;
   10953 
   10954     netbsd*)
   10955       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10956 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10957       else
   10958 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10959       fi
   10960       hardcode_libdir_flag_spec='-R$libdir'
   10961       hardcode_direct=yes
   10962       hardcode_shlibpath_var=no
   10963       ;;
   10964 
   10965     newsos6)
   10966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10967       hardcode_direct=yes
   10968       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10969       hardcode_libdir_separator=:
   10970       hardcode_shlibpath_var=no
   10971       ;;
   10972 
   10973     *nto* | *qnx*)
   10974       ;;
   10975 
   10976     openbsd* | bitrig*)
   10977       if test -f /usr/libexec/ld.so; then
   10978 	hardcode_direct=yes
   10979 	hardcode_shlibpath_var=no
   10980 	hardcode_direct_absolute=yes
   10981 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10982 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10983 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10984 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10985 	  export_dynamic_flag_spec='$wl-E'
   10986 	else
   10987 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10988 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10989 	fi
   10990       else
   10991 	ld_shlibs=no
   10992       fi
   10993       ;;
   10994 
   10995     os2*)
   10996       hardcode_libdir_flag_spec='-L$libdir'
   10997       hardcode_minus_L=yes
   10998       allow_undefined_flag=unsupported
   10999       shrext_cmds=.dll
   11000       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11001 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11002 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11003 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11004 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11005 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11006 	emximp -o $lib $output_objdir/$libname.def'
   11007       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11008 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11009 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11010 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11011 	prefix_cmds="$SED"~
   11012 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11013 	  prefix_cmds="$prefix_cmds -e 1d";
   11014 	fi~
   11015 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11016 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11017 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11018 	emximp -o $lib $output_objdir/$libname.def'
   11019       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11020       enable_shared_with_static_runtimes=yes
   11021       file_list_spec='@'
   11022       ;;
   11023 
   11024     osf3*)
   11025       if test yes = "$GCC"; then
   11026 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11027 	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'
   11028       else
   11029 	allow_undefined_flag=' -expect_unresolved \*'
   11030 	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'
   11031       fi
   11032       archive_cmds_need_lc='no'
   11033       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11034       hardcode_libdir_separator=:
   11035       ;;
   11036 
   11037     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11038       if test yes = "$GCC"; then
   11039 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11040 	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'
   11041 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11042       else
   11043 	allow_undefined_flag=' -expect_unresolved \*'
   11044 	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'
   11045 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   11046           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   11047 
   11048 	# Both c and cxx compiler support -rpath directly
   11049 	hardcode_libdir_flag_spec='-rpath $libdir'
   11050       fi
   11051       archive_cmds_need_lc='no'
   11052       hardcode_libdir_separator=:
   11053       ;;
   11054 
   11055     solaris*)
   11056       no_undefined_flag=' -z defs'
   11057       if test yes = "$GCC"; then
   11058 	wlarc='$wl'
   11059 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11060 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11061           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11062       else
   11063 	case `$CC -V 2>&1` in
   11064 	*"Compilers 5.0"*)
   11065 	  wlarc=''
   11066 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11067 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11068             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11069 	  ;;
   11070 	*)
   11071 	  wlarc='$wl'
   11072 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11073 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11074             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11075 	  ;;
   11076 	esac
   11077       fi
   11078       hardcode_libdir_flag_spec='-R$libdir'
   11079       hardcode_shlibpath_var=no
   11080       case $host_os in
   11081       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11082       *)
   11083 	# The compiler driver will combine and reorder linker options,
   11084 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11085 	# but is careful enough not to reorder.
   11086 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11087 	if test yes = "$GCC"; then
   11088 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11089 	else
   11090 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11091 	fi
   11092 	;;
   11093       esac
   11094       link_all_deplibs=yes
   11095       ;;
   11096 
   11097     sunos4*)
   11098       if test sequent = "$host_vendor"; then
   11099 	# Use $CC to link under sequent, because it throws in some extra .o
   11100 	# files that make .init and .fini sections work.
   11101 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11102       else
   11103 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11104       fi
   11105       hardcode_libdir_flag_spec='-L$libdir'
   11106       hardcode_direct=yes
   11107       hardcode_minus_L=yes
   11108       hardcode_shlibpath_var=no
   11109       ;;
   11110 
   11111     sysv4)
   11112       case $host_vendor in
   11113 	sni)
   11114 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11115 	  hardcode_direct=yes # is this really true???
   11116 	;;
   11117 	siemens)
   11118 	  ## LD is ld it makes a PLAMLIB
   11119 	  ## CC just makes a GrossModule.
   11120 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11121 	  reload_cmds='$CC -r -o $output$reload_objs'
   11122 	  hardcode_direct=no
   11123         ;;
   11124 	motorola)
   11125 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11126 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11127 	;;
   11128       esac
   11129       runpath_var='LD_RUN_PATH'
   11130       hardcode_shlibpath_var=no
   11131       ;;
   11132 
   11133     sysv4.3*)
   11134       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11135       hardcode_shlibpath_var=no
   11136       export_dynamic_flag_spec='-Bexport'
   11137       ;;
   11138 
   11139     sysv4*MP*)
   11140       if test -d /usr/nec; then
   11141 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11142 	hardcode_shlibpath_var=no
   11143 	runpath_var=LD_RUN_PATH
   11144 	hardcode_runpath_var=yes
   11145 	ld_shlibs=yes
   11146       fi
   11147       ;;
   11148 
   11149     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11150       no_undefined_flag='$wl-z,text'
   11151       archive_cmds_need_lc=no
   11152       hardcode_shlibpath_var=no
   11153       runpath_var='LD_RUN_PATH'
   11154 
   11155       if test yes = "$GCC"; then
   11156 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11157 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11158       else
   11159 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11160 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11161       fi
   11162       ;;
   11163 
   11164     sysv5* | sco3.2v5* | sco5v6*)
   11165       # Note: We CANNOT use -z defs as we might desire, because we do not
   11166       # link with -lc, and that would cause any symbols used from libc to
   11167       # always be unresolved, which means just about no library would
   11168       # ever link correctly.  If we're not using GNU ld we use -z text
   11169       # though, which does catch some bad symbols but isn't as heavy-handed
   11170       # as -z defs.
   11171       no_undefined_flag='$wl-z,text'
   11172       allow_undefined_flag='$wl-z,nodefs'
   11173       archive_cmds_need_lc=no
   11174       hardcode_shlibpath_var=no
   11175       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11176       hardcode_libdir_separator=':'
   11177       link_all_deplibs=yes
   11178       export_dynamic_flag_spec='$wl-Bexport'
   11179       runpath_var='LD_RUN_PATH'
   11180 
   11181       if test yes = "$GCC"; then
   11182 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11183 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11184       else
   11185 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11186 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11187       fi
   11188       ;;
   11189 
   11190     uts4*)
   11191       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11192       hardcode_libdir_flag_spec='-L$libdir'
   11193       hardcode_shlibpath_var=no
   11194       ;;
   11195 
   11196     *)
   11197       ld_shlibs=no
   11198       ;;
   11199     esac
   11200 
   11201     if test sni = "$host_vendor"; then
   11202       case $host in
   11203       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11204 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11205 	;;
   11206       esac
   11207     fi
   11208   fi
   11209 
   11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11211 printf "%s\n" "$ld_shlibs" >&6; }
   11212 test no = "$ld_shlibs" && can_build_shared=no
   11213 
   11214 with_gnu_ld=$with_gnu_ld
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 #
   11231 # Do we need to explicitly link libc?
   11232 #
   11233 case "x$archive_cmds_need_lc" in
   11234 x|xyes)
   11235   # Assume -lc should be added
   11236   archive_cmds_need_lc=yes
   11237 
   11238   if test yes,yes = "$GCC,$enable_shared"; then
   11239     case $archive_cmds in
   11240     *'~'*)
   11241       # FIXME: we may have to deal with multi-command sequences.
   11242       ;;
   11243     '$CC '*)
   11244       # Test whether the compiler implicitly links with -lc since on some
   11245       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11246       # to ld, don't add -lc before -lgcc.
   11247       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11248 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11249 if test ${lt_cv_archive_cmds_need_lc+y}
   11250 then :
   11251   printf %s "(cached) " >&6
   11252 else case e in #(
   11253   e) $RM conftest*
   11254 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11255 
   11256 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11257   (eval $ac_compile) 2>&5
   11258   ac_status=$?
   11259   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11260   test $ac_status = 0; } 2>conftest.err; then
   11261 	  soname=conftest
   11262 	  lib=conftest
   11263 	  libobjs=conftest.$ac_objext
   11264 	  deplibs=
   11265 	  wl=$lt_prog_compiler_wl
   11266 	  pic_flag=$lt_prog_compiler_pic
   11267 	  compiler_flags=-v
   11268 	  linker_flags=-v
   11269 	  verstring=
   11270 	  output_objdir=.
   11271 	  libname=conftest
   11272 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11273 	  allow_undefined_flag=
   11274 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11275   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11276   ac_status=$?
   11277   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11278   test $ac_status = 0; }
   11279 	  then
   11280 	    lt_cv_archive_cmds_need_lc=no
   11281 	  else
   11282 	    lt_cv_archive_cmds_need_lc=yes
   11283 	  fi
   11284 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11285 	else
   11286 	  cat conftest.err 1>&5
   11287 	fi
   11288 	$RM conftest*
   11289 	 ;;
   11290 esac
   11291 fi
   11292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11293 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11294       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11295       ;;
   11296     esac
   11297   fi
   11298   ;;
   11299 esac
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11453 printf %s "checking dynamic linker characteristics... " >&6; }
   11454 
   11455 if test yes = "$GCC"; then
   11456   case $host_os in
   11457     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11458     *) lt_awk_arg='/^libraries:/' ;;
   11459   esac
   11460   case $host_os in
   11461     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11462     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11463   esac
   11464   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11465   case $lt_search_path_spec in
   11466   *\;*)
   11467     # if the path contains ";" then we assume it to be the separator
   11468     # otherwise default to the standard path separator (i.e. ":") - it is
   11469     # assumed that no part of a normal pathname contains ";" but that should
   11470     # okay in the real world where ";" in dirpaths is itself problematic.
   11471     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11472     ;;
   11473   *)
   11474     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11475     ;;
   11476   esac
   11477   # Ok, now we have the path, separated by spaces, we can step through it
   11478   # and add multilib dir if necessary...
   11479   lt_tmp_lt_search_path_spec=
   11480   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11481   # ...but if some path component already ends with the multilib dir we assume
   11482   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11483   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11484   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11485     lt_multi_os_dir=
   11486     ;;
   11487   esac
   11488   for lt_sys_path in $lt_search_path_spec; do
   11489     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11490       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11491     elif test -n "$lt_multi_os_dir"; then
   11492       test -d "$lt_sys_path" && \
   11493 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11494     fi
   11495   done
   11496   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11497 BEGIN {RS = " "; FS = "/|\n";} {
   11498   lt_foo = "";
   11499   lt_count = 0;
   11500   for (lt_i = NF; lt_i > 0; lt_i--) {
   11501     if ($lt_i != "" && $lt_i != ".") {
   11502       if ($lt_i == "..") {
   11503         lt_count++;
   11504       } else {
   11505         if (lt_count == 0) {
   11506           lt_foo = "/" $lt_i lt_foo;
   11507         } else {
   11508           lt_count--;
   11509         }
   11510       }
   11511     }
   11512   }
   11513   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11514   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11515 }'`
   11516   # AWK program above erroneously prepends '/' to C:/dos/paths
   11517   # for these hosts.
   11518   case $host_os in
   11519     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11520       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11521   esac
   11522   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11523 else
   11524   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11525 fi
   11526 library_names_spec=
   11527 libname_spec='lib$name'
   11528 soname_spec=
   11529 shrext_cmds=.so
   11530 postinstall_cmds=
   11531 postuninstall_cmds=
   11532 finish_cmds=
   11533 finish_eval=
   11534 shlibpath_var=
   11535 shlibpath_overrides_runpath=unknown
   11536 version_type=none
   11537 dynamic_linker="$host_os ld.so"
   11538 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11539 need_lib_prefix=unknown
   11540 hardcode_into_libs=no
   11541 
   11542 # when you set need_version to no, make sure it does not cause -set_version
   11543 # flags to be left without arguments
   11544 need_version=unknown
   11545 
   11546 
   11547 
   11548 case $host_os in
   11549 aix3*)
   11550   version_type=linux # correct to gnu/linux during the next big refactor
   11551   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11552   shlibpath_var=LIBPATH
   11553 
   11554   # AIX 3 has no versioning support, so we append a major version to the name.
   11555   soname_spec='$libname$release$shared_ext$major'
   11556   ;;
   11557 
   11558 aix[4-9]*)
   11559   version_type=linux # correct to gnu/linux during the next big refactor
   11560   need_lib_prefix=no
   11561   need_version=no
   11562   hardcode_into_libs=yes
   11563   if test ia64 = "$host_cpu"; then
   11564     # AIX 5 supports IA64
   11565     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11566     shlibpath_var=LD_LIBRARY_PATH
   11567   else
   11568     # With GCC up to 2.95.x, collect2 would create an import file
   11569     # for dependence libraries.  The import file would start with
   11570     # the line '#! .'.  This would cause the generated library to
   11571     # depend on '.', always an invalid library.  This was fixed in
   11572     # development snapshots of GCC prior to 3.0.
   11573     case $host_os in
   11574       aix4 | aix4.[01] | aix4.[01].*)
   11575       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11576 	   echo ' yes '
   11577 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11578 	:
   11579       else
   11580 	can_build_shared=no
   11581       fi
   11582       ;;
   11583     esac
   11584     # Using Import Files as archive members, it is possible to support
   11585     # filename-based versioning of shared library archives on AIX. While
   11586     # this would work for both with and without runtime linking, it will
   11587     # prevent static linking of such archives. So we do filename-based
   11588     # shared library versioning with .so extension only, which is used
   11589     # when both runtime linking and shared linking is enabled.
   11590     # Unfortunately, runtime linking may impact performance, so we do
   11591     # not want this to be the default eventually. Also, we use the
   11592     # versioned .so libs for executables only if there is the -brtl
   11593     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11594     # To allow for filename-based versioning support, we need to create
   11595     # libNAME.so.V as an archive file, containing:
   11596     # *) an Import File, referring to the versioned filename of the
   11597     #    archive as well as the shared archive member, telling the
   11598     #    bitwidth (32 or 64) of that shared object, and providing the
   11599     #    list of exported symbols of that shared object, eventually
   11600     #    decorated with the 'weak' keyword
   11601     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11602     #    it being seen by the linker.
   11603     # At run time we better use the real file rather than another symlink,
   11604     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11605 
   11606     case $with_aix_soname,$aix_use_runtimelinking in
   11607     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11608     # soname into executable. Probably we can add versioning support to
   11609     # collect2, so additional links can be useful in future.
   11610     aix,yes) # traditional libtool
   11611       dynamic_linker='AIX unversionable lib.so'
   11612       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11613       # instead of lib<name>.a to let people know that these are not
   11614       # typical AIX shared libraries.
   11615       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11616       ;;
   11617     aix,no) # traditional AIX only
   11618       dynamic_linker='AIX lib.a(lib.so.V)'
   11619       # We preserve .a as extension for shared libraries through AIX4.2
   11620       # and later when we are not doing run time linking.
   11621       library_names_spec='$libname$release.a $libname.a'
   11622       soname_spec='$libname$release$shared_ext$major'
   11623       ;;
   11624     svr4,*) # full svr4 only
   11625       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11626       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11627       # We do not specify a path in Import Files, so LIBPATH fires.
   11628       shlibpath_overrides_runpath=yes
   11629       ;;
   11630     *,yes) # both, prefer svr4
   11631       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11632       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11633       # unpreferred sharedlib libNAME.a needs extra handling
   11634       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"'
   11635       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"'
   11636       # We do not specify a path in Import Files, so LIBPATH fires.
   11637       shlibpath_overrides_runpath=yes
   11638       ;;
   11639     *,no) # both, prefer aix
   11640       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11641       library_names_spec='$libname$release.a $libname.a'
   11642       soname_spec='$libname$release$shared_ext$major'
   11643       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11644       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)'
   11645       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"'
   11646       ;;
   11647     esac
   11648     shlibpath_var=LIBPATH
   11649   fi
   11650   ;;
   11651 
   11652 amigaos*)
   11653   case $host_cpu in
   11654   powerpc)
   11655     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11656     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11657     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11658     ;;
   11659   m68k)
   11660     library_names_spec='$libname.ixlibrary $libname.a'
   11661     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11662     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'
   11663     ;;
   11664   esac
   11665   ;;
   11666 
   11667 beos*)
   11668   library_names_spec='$libname$shared_ext'
   11669   dynamic_linker="$host_os ld.so"
   11670   shlibpath_var=LIBRARY_PATH
   11671   ;;
   11672 
   11673 bsdi[45]*)
   11674   version_type=linux # correct to gnu/linux during the next big refactor
   11675   need_version=no
   11676   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11677   soname_spec='$libname$release$shared_ext$major'
   11678   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11679   shlibpath_var=LD_LIBRARY_PATH
   11680   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11681   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11682   # the default ld.so.conf also contains /usr/contrib/lib and
   11683   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11684   # libtool to hard-code these into programs
   11685   ;;
   11686 
   11687 cygwin* | mingw* | pw32* | cegcc*)
   11688   version_type=windows
   11689   shrext_cmds=.dll
   11690   need_version=no
   11691   need_lib_prefix=no
   11692 
   11693   case $GCC,$cc_basename in
   11694   yes,*)
   11695     # gcc
   11696     library_names_spec='$libname.dll.a'
   11697     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11698     postinstall_cmds='base_file=`basename \$file`~
   11699       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11700       dldir=$destdir/`dirname \$dlpath`~
   11701       test -d \$dldir || mkdir -p \$dldir~
   11702       $install_prog $dir/$dlname \$dldir/$dlname~
   11703       chmod a+x \$dldir/$dlname~
   11704       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11705         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11706       fi'
   11707     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11708       dlpath=$dir/\$dldll~
   11709        $RM \$dlpath'
   11710     shlibpath_overrides_runpath=yes
   11711 
   11712     case $host_os in
   11713     cygwin*)
   11714       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11715       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11716 
   11717       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11718       ;;
   11719     mingw* | cegcc*)
   11720       # MinGW DLLs use traditional 'lib' prefix
   11721       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11722       ;;
   11723     pw32*)
   11724       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11725       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11726       ;;
   11727     esac
   11728     dynamic_linker='Win32 ld.exe'
   11729     ;;
   11730 
   11731   *,cl* | *,icl*)
   11732     # Native MSVC or ICC
   11733     libname_spec='$name'
   11734     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11735     library_names_spec='$libname.dll.lib'
   11736 
   11737     case $build_os in
   11738     mingw*)
   11739       sys_lib_search_path_spec=
   11740       lt_save_ifs=$IFS
   11741       IFS=';'
   11742       for lt_path in $LIB
   11743       do
   11744         IFS=$lt_save_ifs
   11745         # Let DOS variable expansion print the short 8.3 style file name.
   11746         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11747         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11748       done
   11749       IFS=$lt_save_ifs
   11750       # Convert to MSYS style.
   11751       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11752       ;;
   11753     cygwin*)
   11754       # Convert to unix form, then to dos form, then back to unix form
   11755       # but this time dos style (no spaces!) so that the unix form looks
   11756       # like /cygdrive/c/PROGRA~1:/cygdr...
   11757       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11758       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11759       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11760       ;;
   11761     *)
   11762       sys_lib_search_path_spec=$LIB
   11763       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11764         # It is most probably a Windows format PATH.
   11765         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11766       else
   11767         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11768       fi
   11769       # FIXME: find the short name or the path components, as spaces are
   11770       # common. (e.g. "Program Files" -> "PROGRA~1")
   11771       ;;
   11772     esac
   11773 
   11774     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11775     postinstall_cmds='base_file=`basename \$file`~
   11776       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11777       dldir=$destdir/`dirname \$dlpath`~
   11778       test -d \$dldir || mkdir -p \$dldir~
   11779       $install_prog $dir/$dlname \$dldir/$dlname'
   11780     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11781       dlpath=$dir/\$dldll~
   11782        $RM \$dlpath'
   11783     shlibpath_overrides_runpath=yes
   11784     dynamic_linker='Win32 link.exe'
   11785     ;;
   11786 
   11787   *)
   11788     # Assume MSVC and ICC wrapper
   11789     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11790     dynamic_linker='Win32 ld.exe'
   11791     ;;
   11792   esac
   11793   # FIXME: first we should search . and the directory the executable is in
   11794   shlibpath_var=PATH
   11795   ;;
   11796 
   11797 darwin* | rhapsody*)
   11798   dynamic_linker="$host_os dyld"
   11799   version_type=darwin
   11800   need_lib_prefix=no
   11801   need_version=no
   11802   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11803   soname_spec='$libname$release$major$shared_ext'
   11804   shlibpath_overrides_runpath=yes
   11805   shlibpath_var=DYLD_LIBRARY_PATH
   11806   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11807 
   11808   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11809   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11810   ;;
   11811 
   11812 dgux*)
   11813   version_type=linux # correct to gnu/linux during the next big refactor
   11814   need_lib_prefix=no
   11815   need_version=no
   11816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11817   soname_spec='$libname$release$shared_ext$major'
   11818   shlibpath_var=LD_LIBRARY_PATH
   11819   ;;
   11820 
   11821 freebsd* | dragonfly* | midnightbsd*)
   11822   # DragonFly does not have aout.  When/if they implement a new
   11823   # versioning mechanism, adjust this.
   11824   if test -x /usr/bin/objformat; then
   11825     objformat=`/usr/bin/objformat`
   11826   else
   11827     case $host_os in
   11828     freebsd[23].*) objformat=aout ;;
   11829     *) objformat=elf ;;
   11830     esac
   11831   fi
   11832   version_type=freebsd-$objformat
   11833   case $version_type in
   11834     freebsd-elf*)
   11835       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11836       soname_spec='$libname$release$shared_ext$major'
   11837       need_version=no
   11838       need_lib_prefix=no
   11839       ;;
   11840     freebsd-*)
   11841       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11842       need_version=yes
   11843       ;;
   11844   esac
   11845   shlibpath_var=LD_LIBRARY_PATH
   11846   case $host_os in
   11847   freebsd2.*)
   11848     shlibpath_overrides_runpath=yes
   11849     ;;
   11850   freebsd3.[01]* | freebsdelf3.[01]*)
   11851     shlibpath_overrides_runpath=yes
   11852     hardcode_into_libs=yes
   11853     ;;
   11854   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11855   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11856     shlibpath_overrides_runpath=no
   11857     hardcode_into_libs=yes
   11858     ;;
   11859   *) # from 4.6 on, and DragonFly
   11860     shlibpath_overrides_runpath=yes
   11861     hardcode_into_libs=yes
   11862     ;;
   11863   esac
   11864   ;;
   11865 
   11866 haiku*)
   11867   version_type=linux # correct to gnu/linux during the next big refactor
   11868   need_lib_prefix=no
   11869   need_version=no
   11870   dynamic_linker="$host_os runtime_loader"
   11871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11872   soname_spec='$libname$release$shared_ext$major'
   11873   shlibpath_var=LIBRARY_PATH
   11874   shlibpath_overrides_runpath=no
   11875   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11876   hardcode_into_libs=yes
   11877   ;;
   11878 
   11879 hpux9* | hpux10* | hpux11*)
   11880   # Give a soname corresponding to the major version so that dld.sl refuses to
   11881   # link against other versions.
   11882   version_type=sunos
   11883   need_lib_prefix=no
   11884   need_version=no
   11885   case $host_cpu in
   11886   ia64*)
   11887     shrext_cmds='.so'
   11888     hardcode_into_libs=yes
   11889     dynamic_linker="$host_os dld.so"
   11890     shlibpath_var=LD_LIBRARY_PATH
   11891     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11892     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11893     soname_spec='$libname$release$shared_ext$major'
   11894     if test 32 = "$HPUX_IA64_MODE"; then
   11895       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11896       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11897     else
   11898       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11899       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11900     fi
   11901     ;;
   11902   hppa*64*)
   11903     shrext_cmds='.sl'
   11904     hardcode_into_libs=yes
   11905     dynamic_linker="$host_os dld.sl"
   11906     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11907     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11908     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11909     soname_spec='$libname$release$shared_ext$major'
   11910     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11911     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11912     ;;
   11913   *)
   11914     shrext_cmds='.sl'
   11915     dynamic_linker="$host_os dld.sl"
   11916     shlibpath_var=SHLIB_PATH
   11917     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11918     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11919     soname_spec='$libname$release$shared_ext$major'
   11920     ;;
   11921   esac
   11922   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11923   postinstall_cmds='chmod 555 $lib'
   11924   # or fails outright, so override atomically:
   11925   install_override_mode=555
   11926   ;;
   11927 
   11928 interix[3-9]*)
   11929   version_type=linux # correct to gnu/linux during the next big refactor
   11930   need_lib_prefix=no
   11931   need_version=no
   11932   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11933   soname_spec='$libname$release$shared_ext$major'
   11934   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11935   shlibpath_var=LD_LIBRARY_PATH
   11936   shlibpath_overrides_runpath=no
   11937   hardcode_into_libs=yes
   11938   ;;
   11939 
   11940 irix5* | irix6* | nonstopux*)
   11941   case $host_os in
   11942     nonstopux*) version_type=nonstopux ;;
   11943     *)
   11944 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11945 		version_type=linux # correct to gnu/linux during the next big refactor
   11946 	else
   11947 		version_type=irix
   11948 	fi ;;
   11949   esac
   11950   need_lib_prefix=no
   11951   need_version=no
   11952   soname_spec='$libname$release$shared_ext$major'
   11953   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11954   case $host_os in
   11955   irix5* | nonstopux*)
   11956     libsuff= shlibsuff=
   11957     ;;
   11958   *)
   11959     case $LD in # libtool.m4 will add one of these switches to LD
   11960     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11961       libsuff= shlibsuff= libmagic=32-bit;;
   11962     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11963       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11964     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11965       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11966     *) libsuff= shlibsuff= libmagic=never-match;;
   11967     esac
   11968     ;;
   11969   esac
   11970   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11971   shlibpath_overrides_runpath=no
   11972   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11973   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11974   hardcode_into_libs=yes
   11975   ;;
   11976 
   11977 # No shared lib support for Linux oldld, aout, or coff.
   11978 linux*oldld* | linux*aout* | linux*coff*)
   11979   dynamic_linker=no
   11980   ;;
   11981 
   11982 linux*android*)
   11983   version_type=none # Android doesn't support versioned libraries.
   11984   need_lib_prefix=no
   11985   need_version=no
   11986   library_names_spec='$libname$release$shared_ext'
   11987   soname_spec='$libname$release$shared_ext'
   11988   finish_cmds=
   11989   shlibpath_var=LD_LIBRARY_PATH
   11990   shlibpath_overrides_runpath=yes
   11991 
   11992   # This implies no fast_install, which is unacceptable.
   11993   # Some rework will be needed to allow for fast_install
   11994   # before this can be enabled.
   11995   hardcode_into_libs=yes
   11996 
   11997   dynamic_linker='Android linker'
   11998   # Don't embed -rpath directories since the linker doesn't support them.
   11999   hardcode_libdir_flag_spec='-L$libdir'
   12000   ;;
   12001 
   12002 # This must be glibc/ELF.
   12003 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12004   version_type=linux # correct to gnu/linux during the next big refactor
   12005   need_lib_prefix=no
   12006   need_version=no
   12007   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12008   soname_spec='$libname$release$shared_ext$major'
   12009   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12010   shlibpath_var=LD_LIBRARY_PATH
   12011   shlibpath_overrides_runpath=no
   12012 
   12013   # Some binutils ld are patched to set DT_RUNPATH
   12014   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12015 then :
   12016   printf %s "(cached) " >&6
   12017 else case e in #(
   12018   e) lt_cv_shlibpath_overrides_runpath=no
   12019     save_LDFLAGS=$LDFLAGS
   12020     save_libdir=$libdir
   12021     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12022 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12023     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12024 /* end confdefs.h.  */
   12025 
   12026 int
   12027 main (void)
   12028 {
   12029 
   12030   ;
   12031   return 0;
   12032 }
   12033 _ACEOF
   12034 if ac_fn_c_try_link "$LINENO"
   12035 then :
   12036   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12037 then :
   12038   lt_cv_shlibpath_overrides_runpath=yes
   12039 fi
   12040 fi
   12041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12042     conftest$ac_exeext conftest.$ac_ext
   12043     LDFLAGS=$save_LDFLAGS
   12044     libdir=$save_libdir
   12045      ;;
   12046 esac
   12047 fi
   12048 
   12049   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12050 
   12051   # This implies no fast_install, which is unacceptable.
   12052   # Some rework will be needed to allow for fast_install
   12053   # before this can be enabled.
   12054   hardcode_into_libs=yes
   12055 
   12056   # Ideally, we could use ldconfig to report *all* directores which are
   12057   # searched for libraries, however this is still not possible.  Aside from not
   12058   # being certain /sbin/ldconfig is available, command
   12059   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12060   # even though it is searched at run-time.  Try to do the best guess by
   12061   # appending ld.so.conf contents (and includes) to the search path.
   12062   if test -f /etc/ld.so.conf; then
   12063     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' ' '`
   12064     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12065   fi
   12066 
   12067   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12068   # powerpc, because MkLinux only supported shared libraries with the
   12069   # GNU dynamic linker.  Since this was broken with cross compilers,
   12070   # most powerpc-linux boxes support dynamic linking these days and
   12071   # people can always --disable-shared, the test was removed, and we
   12072   # assume the GNU/Linux dynamic linker is in use.
   12073   dynamic_linker='GNU/Linux ld.so'
   12074   ;;
   12075 
   12076 netbsd*)
   12077   version_type=sunos
   12078   need_lib_prefix=no
   12079   need_version=no
   12080   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12081     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12082     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12083     dynamic_linker='NetBSD (a.out) ld.so'
   12084   else
   12085     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12086     soname_spec='$libname$release$shared_ext$major'
   12087     dynamic_linker='NetBSD ld.elf_so'
   12088   fi
   12089   shlibpath_var=LD_LIBRARY_PATH
   12090   shlibpath_overrides_runpath=yes
   12091   hardcode_into_libs=yes
   12092   ;;
   12093 
   12094 newsos6)
   12095   version_type=linux # correct to gnu/linux during the next big refactor
   12096   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12097   shlibpath_var=LD_LIBRARY_PATH
   12098   shlibpath_overrides_runpath=yes
   12099   ;;
   12100 
   12101 *nto* | *qnx*)
   12102   version_type=qnx
   12103   need_lib_prefix=no
   12104   need_version=no
   12105   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12106   soname_spec='$libname$release$shared_ext$major'
   12107   shlibpath_var=LD_LIBRARY_PATH
   12108   shlibpath_overrides_runpath=no
   12109   hardcode_into_libs=yes
   12110   dynamic_linker='ldqnx.so'
   12111   ;;
   12112 
   12113 openbsd* | bitrig*)
   12114   version_type=sunos
   12115   sys_lib_dlsearch_path_spec=/usr/lib
   12116   need_lib_prefix=no
   12117   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12118     need_version=no
   12119   else
   12120     need_version=yes
   12121   fi
   12122   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12123   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12124   shlibpath_var=LD_LIBRARY_PATH
   12125   shlibpath_overrides_runpath=yes
   12126   ;;
   12127 
   12128 os2*)
   12129   libname_spec='$name'
   12130   version_type=windows
   12131   shrext_cmds=.dll
   12132   need_version=no
   12133   need_lib_prefix=no
   12134   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12135   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12136     v=$($ECHO $release$versuffix | tr -d .-);
   12137     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12138     $ECHO $n$v`$shared_ext'
   12139   library_names_spec='${libname}_dll.$libext'
   12140   dynamic_linker='OS/2 ld.exe'
   12141   shlibpath_var=BEGINLIBPATH
   12142   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12143   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12144   postinstall_cmds='base_file=`basename \$file`~
   12145     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12146     dldir=$destdir/`dirname \$dlpath`~
   12147     test -d \$dldir || mkdir -p \$dldir~
   12148     $install_prog $dir/$dlname \$dldir/$dlname~
   12149     chmod a+x \$dldir/$dlname~
   12150     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12151       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12152     fi'
   12153   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12154     dlpath=$dir/\$dldll~
   12155     $RM \$dlpath'
   12156   ;;
   12157 
   12158 osf3* | osf4* | osf5*)
   12159   version_type=osf
   12160   need_lib_prefix=no
   12161   need_version=no
   12162   soname_spec='$libname$release$shared_ext$major'
   12163   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12164   shlibpath_var=LD_LIBRARY_PATH
   12165   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12166   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12167   ;;
   12168 
   12169 rdos*)
   12170   dynamic_linker=no
   12171   ;;
   12172 
   12173 solaris*)
   12174   version_type=linux # correct to gnu/linux during the next big refactor
   12175   need_lib_prefix=no
   12176   need_version=no
   12177   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12178   soname_spec='$libname$release$shared_ext$major'
   12179   shlibpath_var=LD_LIBRARY_PATH
   12180   shlibpath_overrides_runpath=yes
   12181   hardcode_into_libs=yes
   12182   # ldd complains unless libraries are executable
   12183   postinstall_cmds='chmod +x $lib'
   12184   ;;
   12185 
   12186 sunos4*)
   12187   version_type=sunos
   12188   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12189   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12190   shlibpath_var=LD_LIBRARY_PATH
   12191   shlibpath_overrides_runpath=yes
   12192   if test yes = "$with_gnu_ld"; then
   12193     need_lib_prefix=no
   12194   fi
   12195   need_version=yes
   12196   ;;
   12197 
   12198 sysv4 | sysv4.3*)
   12199   version_type=linux # correct to gnu/linux during the next big refactor
   12200   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12201   soname_spec='$libname$release$shared_ext$major'
   12202   shlibpath_var=LD_LIBRARY_PATH
   12203   case $host_vendor in
   12204     sni)
   12205       shlibpath_overrides_runpath=no
   12206       need_lib_prefix=no
   12207       runpath_var=LD_RUN_PATH
   12208       ;;
   12209     siemens)
   12210       need_lib_prefix=no
   12211       ;;
   12212     motorola)
   12213       need_lib_prefix=no
   12214       need_version=no
   12215       shlibpath_overrides_runpath=no
   12216       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12217       ;;
   12218   esac
   12219   ;;
   12220 
   12221 sysv4*MP*)
   12222   if test -d /usr/nec; then
   12223     version_type=linux # correct to gnu/linux during the next big refactor
   12224     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12225     soname_spec='$libname$shared_ext.$major'
   12226     shlibpath_var=LD_LIBRARY_PATH
   12227   fi
   12228   ;;
   12229 
   12230 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12231   version_type=sco
   12232   need_lib_prefix=no
   12233   need_version=no
   12234   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12235   soname_spec='$libname$release$shared_ext$major'
   12236   shlibpath_var=LD_LIBRARY_PATH
   12237   shlibpath_overrides_runpath=yes
   12238   hardcode_into_libs=yes
   12239   if test yes = "$with_gnu_ld"; then
   12240     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12241   else
   12242     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12243     case $host_os in
   12244       sco3.2v5*)
   12245         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12246 	;;
   12247     esac
   12248   fi
   12249   sys_lib_dlsearch_path_spec='/usr/lib'
   12250   ;;
   12251 
   12252 tpf*)
   12253   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12254   version_type=linux # correct to gnu/linux during the next big refactor
   12255   need_lib_prefix=no
   12256   need_version=no
   12257   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12258   shlibpath_var=LD_LIBRARY_PATH
   12259   shlibpath_overrides_runpath=no
   12260   hardcode_into_libs=yes
   12261   ;;
   12262 
   12263 uts4*)
   12264   version_type=linux # correct to gnu/linux during the next big refactor
   12265   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12266   soname_spec='$libname$release$shared_ext$major'
   12267   shlibpath_var=LD_LIBRARY_PATH
   12268   ;;
   12269 
   12270 *)
   12271   dynamic_linker=no
   12272   ;;
   12273 esac
   12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12275 printf "%s\n" "$dynamic_linker" >&6; }
   12276 test no = "$dynamic_linker" && can_build_shared=no
   12277 
   12278 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12279 if test yes = "$GCC"; then
   12280   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12281 fi
   12282 
   12283 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12284   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12285 fi
   12286 
   12287 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12288   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12289 fi
   12290 
   12291 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12292 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12293 
   12294 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12295 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12296 
   12297 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12298 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12397 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12398 hardcode_action=
   12399 if test -n "$hardcode_libdir_flag_spec" ||
   12400    test -n "$runpath_var" ||
   12401    test yes = "$hardcode_automatic"; then
   12402 
   12403   # We can hardcode non-existent directories.
   12404   if test no != "$hardcode_direct" &&
   12405      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12406      # have to relink, otherwise we might link with an installed library
   12407      # when we should be linking with a yet-to-be-installed one
   12408      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12409      test no != "$hardcode_minus_L"; then
   12410     # Linking always hardcodes the temporary library directory.
   12411     hardcode_action=relink
   12412   else
   12413     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12414     hardcode_action=immediate
   12415   fi
   12416 else
   12417   # We cannot hardcode anything, or else we can only hardcode existing
   12418   # directories.
   12419   hardcode_action=unsupported
   12420 fi
   12421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12422 printf "%s\n" "$hardcode_action" >&6; }
   12423 
   12424 if test relink = "$hardcode_action" ||
   12425    test yes = "$inherit_rpath"; then
   12426   # Fast installation is not supported
   12427   enable_fast_install=no
   12428 elif test yes = "$shlibpath_overrides_runpath" ||
   12429      test no = "$enable_shared"; then
   12430   # Fast installation is not necessary
   12431   enable_fast_install=needless
   12432 fi
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439   if test yes != "$enable_dlopen"; then
   12440   enable_dlopen=unknown
   12441   enable_dlopen_self=unknown
   12442   enable_dlopen_self_static=unknown
   12443 else
   12444   lt_cv_dlopen=no
   12445   lt_cv_dlopen_libs=
   12446 
   12447   case $host_os in
   12448   beos*)
   12449     lt_cv_dlopen=load_add_on
   12450     lt_cv_dlopen_libs=
   12451     lt_cv_dlopen_self=yes
   12452     ;;
   12453 
   12454   mingw* | pw32* | cegcc*)
   12455     lt_cv_dlopen=LoadLibrary
   12456     lt_cv_dlopen_libs=
   12457     ;;
   12458 
   12459   cygwin*)
   12460     lt_cv_dlopen=dlopen
   12461     lt_cv_dlopen_libs=
   12462     ;;
   12463 
   12464   darwin*)
   12465     # if libdl is installed we need to link against it
   12466     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12467 printf %s "checking for dlopen in -ldl... " >&6; }
   12468 if test ${ac_cv_lib_dl_dlopen+y}
   12469 then :
   12470   printf %s "(cached) " >&6
   12471 else case e in #(
   12472   e) ac_check_lib_save_LIBS=$LIBS
   12473 LIBS="-ldl  $LIBS"
   12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 
   12477 /* Override any GCC internal prototype to avoid an error.
   12478    Use char because int might match the return type of a GCC
   12479    builtin and then its argument prototype would still apply.
   12480    The 'extern "C"' is for builds by C++ compilers;
   12481    although this is not generally supported in C code supporting it here
   12482    has little cost and some practical benefit (sr 110532).  */
   12483 #ifdef __cplusplus
   12484 extern "C"
   12485 #endif
   12486 char dlopen (void);
   12487 int
   12488 main (void)
   12489 {
   12490 return dlopen ();
   12491   ;
   12492   return 0;
   12493 }
   12494 _ACEOF
   12495 if ac_fn_c_try_link "$LINENO"
   12496 then :
   12497   ac_cv_lib_dl_dlopen=yes
   12498 else case e in #(
   12499   e) ac_cv_lib_dl_dlopen=no ;;
   12500 esac
   12501 fi
   12502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12503     conftest$ac_exeext conftest.$ac_ext
   12504 LIBS=$ac_check_lib_save_LIBS ;;
   12505 esac
   12506 fi
   12507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12508 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12509 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12510 then :
   12511   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12512 else case e in #(
   12513   e)
   12514     lt_cv_dlopen=dyld
   12515     lt_cv_dlopen_libs=
   12516     lt_cv_dlopen_self=yes
   12517      ;;
   12518 esac
   12519 fi
   12520 
   12521     ;;
   12522 
   12523   tpf*)
   12524     # Don't try to run any link tests for TPF.  We know it's impossible
   12525     # because TPF is a cross-compiler, and we know how we open DSOs.
   12526     lt_cv_dlopen=dlopen
   12527     lt_cv_dlopen_libs=
   12528     lt_cv_dlopen_self=no
   12529     ;;
   12530 
   12531   *)
   12532     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12533 if test "x$ac_cv_func_shl_load" = xyes
   12534 then :
   12535   lt_cv_dlopen=shl_load
   12536 else case e in #(
   12537   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12538 printf %s "checking for shl_load in -ldld... " >&6; }
   12539 if test ${ac_cv_lib_dld_shl_load+y}
   12540 then :
   12541   printf %s "(cached) " >&6
   12542 else case e in #(
   12543   e) ac_check_lib_save_LIBS=$LIBS
   12544 LIBS="-ldld  $LIBS"
   12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12546 /* end confdefs.h.  */
   12547 
   12548 /* Override any GCC internal prototype to avoid an error.
   12549    Use char because int might match the return type of a GCC
   12550    builtin and then its argument prototype would still apply.
   12551    The 'extern "C"' is for builds by C++ compilers;
   12552    although this is not generally supported in C code supporting it here
   12553    has little cost and some practical benefit (sr 110532).  */
   12554 #ifdef __cplusplus
   12555 extern "C"
   12556 #endif
   12557 char shl_load (void);
   12558 int
   12559 main (void)
   12560 {
   12561 return shl_load ();
   12562   ;
   12563   return 0;
   12564 }
   12565 _ACEOF
   12566 if ac_fn_c_try_link "$LINENO"
   12567 then :
   12568   ac_cv_lib_dld_shl_load=yes
   12569 else case e in #(
   12570   e) ac_cv_lib_dld_shl_load=no ;;
   12571 esac
   12572 fi
   12573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12574     conftest$ac_exeext conftest.$ac_ext
   12575 LIBS=$ac_check_lib_save_LIBS ;;
   12576 esac
   12577 fi
   12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12579 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12580 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12581 then :
   12582   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12583 else case e in #(
   12584   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12585 if test "x$ac_cv_func_dlopen" = xyes
   12586 then :
   12587   lt_cv_dlopen=dlopen
   12588 else case e in #(
   12589   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12590 printf %s "checking for dlopen in -ldl... " >&6; }
   12591 if test ${ac_cv_lib_dl_dlopen+y}
   12592 then :
   12593   printf %s "(cached) " >&6
   12594 else case e in #(
   12595   e) ac_check_lib_save_LIBS=$LIBS
   12596 LIBS="-ldl  $LIBS"
   12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12598 /* end confdefs.h.  */
   12599 
   12600 /* Override any GCC internal prototype to avoid an error.
   12601    Use char because int might match the return type of a GCC
   12602    builtin and then its argument prototype would still apply.
   12603    The 'extern "C"' is for builds by C++ compilers;
   12604    although this is not generally supported in C code supporting it here
   12605    has little cost and some practical benefit (sr 110532).  */
   12606 #ifdef __cplusplus
   12607 extern "C"
   12608 #endif
   12609 char dlopen (void);
   12610 int
   12611 main (void)
   12612 {
   12613 return dlopen ();
   12614   ;
   12615   return 0;
   12616 }
   12617 _ACEOF
   12618 if ac_fn_c_try_link "$LINENO"
   12619 then :
   12620   ac_cv_lib_dl_dlopen=yes
   12621 else case e in #(
   12622   e) ac_cv_lib_dl_dlopen=no ;;
   12623 esac
   12624 fi
   12625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12626     conftest$ac_exeext conftest.$ac_ext
   12627 LIBS=$ac_check_lib_save_LIBS ;;
   12628 esac
   12629 fi
   12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12631 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12632 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12633 then :
   12634   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12635 else case e in #(
   12636   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12637 printf %s "checking for dlopen in -lsvld... " >&6; }
   12638 if test ${ac_cv_lib_svld_dlopen+y}
   12639 then :
   12640   printf %s "(cached) " >&6
   12641 else case e in #(
   12642   e) ac_check_lib_save_LIBS=$LIBS
   12643 LIBS="-lsvld  $LIBS"
   12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12645 /* end confdefs.h.  */
   12646 
   12647 /* Override any GCC internal prototype to avoid an error.
   12648    Use char because int might match the return type of a GCC
   12649    builtin and then its argument prototype would still apply.
   12650    The 'extern "C"' is for builds by C++ compilers;
   12651    although this is not generally supported in C code supporting it here
   12652    has little cost and some practical benefit (sr 110532).  */
   12653 #ifdef __cplusplus
   12654 extern "C"
   12655 #endif
   12656 char dlopen (void);
   12657 int
   12658 main (void)
   12659 {
   12660 return dlopen ();
   12661   ;
   12662   return 0;
   12663 }
   12664 _ACEOF
   12665 if ac_fn_c_try_link "$LINENO"
   12666 then :
   12667   ac_cv_lib_svld_dlopen=yes
   12668 else case e in #(
   12669   e) ac_cv_lib_svld_dlopen=no ;;
   12670 esac
   12671 fi
   12672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12673     conftest$ac_exeext conftest.$ac_ext
   12674 LIBS=$ac_check_lib_save_LIBS ;;
   12675 esac
   12676 fi
   12677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12678 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12679 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12680 then :
   12681   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12682 else case e in #(
   12683   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12684 printf %s "checking for dld_link in -ldld... " >&6; }
   12685 if test ${ac_cv_lib_dld_dld_link+y}
   12686 then :
   12687   printf %s "(cached) " >&6
   12688 else case e in #(
   12689   e) ac_check_lib_save_LIBS=$LIBS
   12690 LIBS="-ldld  $LIBS"
   12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12692 /* end confdefs.h.  */
   12693 
   12694 /* Override any GCC internal prototype to avoid an error.
   12695    Use char because int might match the return type of a GCC
   12696    builtin and then its argument prototype would still apply.
   12697    The 'extern "C"' is for builds by C++ compilers;
   12698    although this is not generally supported in C code supporting it here
   12699    has little cost and some practical benefit (sr 110532).  */
   12700 #ifdef __cplusplus
   12701 extern "C"
   12702 #endif
   12703 char dld_link (void);
   12704 int
   12705 main (void)
   12706 {
   12707 return dld_link ();
   12708   ;
   12709   return 0;
   12710 }
   12711 _ACEOF
   12712 if ac_fn_c_try_link "$LINENO"
   12713 then :
   12714   ac_cv_lib_dld_dld_link=yes
   12715 else case e in #(
   12716   e) ac_cv_lib_dld_dld_link=no ;;
   12717 esac
   12718 fi
   12719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12720     conftest$ac_exeext conftest.$ac_ext
   12721 LIBS=$ac_check_lib_save_LIBS ;;
   12722 esac
   12723 fi
   12724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12725 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12726 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12727 then :
   12728   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12729 fi
   12730 
   12731 	       ;;
   12732 esac
   12733 fi
   12734 
   12735 	     ;;
   12736 esac
   12737 fi
   12738 
   12739 	   ;;
   12740 esac
   12741 fi
   12742 
   12743 	 ;;
   12744 esac
   12745 fi
   12746 
   12747        ;;
   12748 esac
   12749 fi
   12750 
   12751     ;;
   12752   esac
   12753 
   12754   if test no = "$lt_cv_dlopen"; then
   12755     enable_dlopen=no
   12756   else
   12757     enable_dlopen=yes
   12758   fi
   12759 
   12760   case $lt_cv_dlopen in
   12761   dlopen)
   12762     save_CPPFLAGS=$CPPFLAGS
   12763     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12764 
   12765     save_LDFLAGS=$LDFLAGS
   12766     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12767 
   12768     save_LIBS=$LIBS
   12769     LIBS="$lt_cv_dlopen_libs $LIBS"
   12770 
   12771     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12772 printf %s "checking whether a program can dlopen itself... " >&6; }
   12773 if test ${lt_cv_dlopen_self+y}
   12774 then :
   12775   printf %s "(cached) " >&6
   12776 else case e in #(
   12777   e) 	  if test yes = "$cross_compiling"; then :
   12778   lt_cv_dlopen_self=cross
   12779 else
   12780   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12781   lt_status=$lt_dlunknown
   12782   cat > conftest.$ac_ext <<_LT_EOF
   12783 #line $LINENO "configure"
   12784 #include "confdefs.h"
   12785 
   12786 #if HAVE_DLFCN_H
   12787 #include <dlfcn.h>
   12788 #endif
   12789 
   12790 #include <stdio.h>
   12791 
   12792 #ifdef RTLD_GLOBAL
   12793 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12794 #else
   12795 #  ifdef DL_GLOBAL
   12796 #    define LT_DLGLOBAL		DL_GLOBAL
   12797 #  else
   12798 #    define LT_DLGLOBAL		0
   12799 #  endif
   12800 #endif
   12801 
   12802 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12803    find out it does not work in some platform. */
   12804 #ifndef LT_DLLAZY_OR_NOW
   12805 #  ifdef RTLD_LAZY
   12806 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12807 #  else
   12808 #    ifdef DL_LAZY
   12809 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12810 #    else
   12811 #      ifdef RTLD_NOW
   12812 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12813 #      else
   12814 #        ifdef DL_NOW
   12815 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12816 #        else
   12817 #          define LT_DLLAZY_OR_NOW	0
   12818 #        endif
   12819 #      endif
   12820 #    endif
   12821 #  endif
   12822 #endif
   12823 
   12824 /* When -fvisibility=hidden is used, assume the code has been annotated
   12825    correspondingly for the symbols needed.  */
   12826 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12827 int fnord () __attribute__((visibility("default")));
   12828 #endif
   12829 
   12830 int fnord () { return 42; }
   12831 int main ()
   12832 {
   12833   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12834   int status = $lt_dlunknown;
   12835 
   12836   if (self)
   12837     {
   12838       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12839       else
   12840         {
   12841 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12842           else puts (dlerror ());
   12843 	}
   12844       /* dlclose (self); */
   12845     }
   12846   else
   12847     puts (dlerror ());
   12848 
   12849   return status;
   12850 }
   12851 _LT_EOF
   12852   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12853   (eval $ac_link) 2>&5
   12854   ac_status=$?
   12855   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12856   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12857     (./conftest; exit; ) >&5 2>/dev/null
   12858     lt_status=$?
   12859     case x$lt_status in
   12860       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12861       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12862       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12863     esac
   12864   else :
   12865     # compilation failed
   12866     lt_cv_dlopen_self=no
   12867   fi
   12868 fi
   12869 rm -fr conftest*
   12870 
   12871      ;;
   12872 esac
   12873 fi
   12874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12875 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12876 
   12877     if test yes = "$lt_cv_dlopen_self"; then
   12878       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12879       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12880 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12881 if test ${lt_cv_dlopen_self_static+y}
   12882 then :
   12883   printf %s "(cached) " >&6
   12884 else case e in #(
   12885   e) 	  if test yes = "$cross_compiling"; then :
   12886   lt_cv_dlopen_self_static=cross
   12887 else
   12888   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12889   lt_status=$lt_dlunknown
   12890   cat > conftest.$ac_ext <<_LT_EOF
   12891 #line $LINENO "configure"
   12892 #include "confdefs.h"
   12893 
   12894 #if HAVE_DLFCN_H
   12895 #include <dlfcn.h>
   12896 #endif
   12897 
   12898 #include <stdio.h>
   12899 
   12900 #ifdef RTLD_GLOBAL
   12901 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12902 #else
   12903 #  ifdef DL_GLOBAL
   12904 #    define LT_DLGLOBAL		DL_GLOBAL
   12905 #  else
   12906 #    define LT_DLGLOBAL		0
   12907 #  endif
   12908 #endif
   12909 
   12910 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12911    find out it does not work in some platform. */
   12912 #ifndef LT_DLLAZY_OR_NOW
   12913 #  ifdef RTLD_LAZY
   12914 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12915 #  else
   12916 #    ifdef DL_LAZY
   12917 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12918 #    else
   12919 #      ifdef RTLD_NOW
   12920 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12921 #      else
   12922 #        ifdef DL_NOW
   12923 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12924 #        else
   12925 #          define LT_DLLAZY_OR_NOW	0
   12926 #        endif
   12927 #      endif
   12928 #    endif
   12929 #  endif
   12930 #endif
   12931 
   12932 /* When -fvisibility=hidden is used, assume the code has been annotated
   12933    correspondingly for the symbols needed.  */
   12934 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12935 int fnord () __attribute__((visibility("default")));
   12936 #endif
   12937 
   12938 int fnord () { return 42; }
   12939 int main ()
   12940 {
   12941   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12942   int status = $lt_dlunknown;
   12943 
   12944   if (self)
   12945     {
   12946       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12947       else
   12948         {
   12949 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12950           else puts (dlerror ());
   12951 	}
   12952       /* dlclose (self); */
   12953     }
   12954   else
   12955     puts (dlerror ());
   12956 
   12957   return status;
   12958 }
   12959 _LT_EOF
   12960   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12961   (eval $ac_link) 2>&5
   12962   ac_status=$?
   12963   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12964   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12965     (./conftest; exit; ) >&5 2>/dev/null
   12966     lt_status=$?
   12967     case x$lt_status in
   12968       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12969       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12970       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12971     esac
   12972   else :
   12973     # compilation failed
   12974     lt_cv_dlopen_self_static=no
   12975   fi
   12976 fi
   12977 rm -fr conftest*
   12978 
   12979        ;;
   12980 esac
   12981 fi
   12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12983 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12984     fi
   12985 
   12986     CPPFLAGS=$save_CPPFLAGS
   12987     LDFLAGS=$save_LDFLAGS
   12988     LIBS=$save_LIBS
   12989     ;;
   12990   esac
   12991 
   12992   case $lt_cv_dlopen_self in
   12993   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12994   *) enable_dlopen_self=unknown ;;
   12995   esac
   12996 
   12997   case $lt_cv_dlopen_self_static in
   12998   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12999   *) enable_dlopen_self_static=unknown ;;
   13000   esac
   13001 fi
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 striplib=
   13020 old_striplib=
   13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13022 printf %s "checking whether stripping libraries is possible... " >&6; }
   13023 if test -z "$STRIP"; then
   13024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13025 printf "%s\n" "no" >&6; }
   13026 else
   13027   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13028     old_striplib="$STRIP --strip-debug"
   13029     striplib="$STRIP --strip-unneeded"
   13030     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13031 printf "%s\n" "yes" >&6; }
   13032   else
   13033     case $host_os in
   13034     darwin*)
   13035       # FIXME - insert some real tests, host_os isn't really good enough
   13036       striplib="$STRIP -x"
   13037       old_striplib="$STRIP -S"
   13038       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13039 printf "%s\n" "yes" >&6; }
   13040       ;;
   13041     freebsd*)
   13042       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13043         old_striplib="$STRIP --strip-debug"
   13044         striplib="$STRIP --strip-unneeded"
   13045         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13046 printf "%s\n" "yes" >&6; }
   13047       else
   13048         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13049 printf "%s\n" "no" >&6; }
   13050       fi
   13051       ;;
   13052     *)
   13053       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13054 printf "%s\n" "no" >&6; }
   13055       ;;
   13056     esac
   13057   fi
   13058 fi
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071   # Report what library types will actually be built
   13072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13073 printf %s "checking if libtool supports shared libraries... " >&6; }
   13074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13075 printf "%s\n" "$can_build_shared" >&6; }
   13076 
   13077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13078 printf %s "checking whether to build shared libraries... " >&6; }
   13079   test no = "$can_build_shared" && enable_shared=no
   13080 
   13081   # On AIX, shared libraries and static libraries use the same namespace, and
   13082   # are all built from PIC.
   13083   case $host_os in
   13084   aix3*)
   13085     test yes = "$enable_shared" && enable_static=no
   13086     if test -n "$RANLIB"; then
   13087       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13088       postinstall_cmds='$RANLIB $lib'
   13089     fi
   13090     ;;
   13091 
   13092   aix[4-9]*)
   13093     if test ia64 != "$host_cpu"; then
   13094       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13095       yes,aix,yes) ;;			# shared object as lib.so file only
   13096       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13097       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13098       esac
   13099     fi
   13100     ;;
   13101   esac
   13102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13103 printf "%s\n" "$enable_shared" >&6; }
   13104 
   13105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13106 printf %s "checking whether to build static libraries... " >&6; }
   13107   # Make sure either enable_shared or enable_static is yes.
   13108   test yes = "$enable_shared" || enable_static=yes
   13109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13110 printf "%s\n" "$enable_static" >&6; }
   13111 
   13112 
   13113 
   13114 
   13115 fi
   13116 ac_ext=c
   13117 ac_cpp='$CPP $CPPFLAGS'
   13118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13121 
   13122 CC=$lt_save_CC
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138         ac_config_commands="$ac_config_commands libtool"
   13139 
   13140 
   13141 
   13142 
   13143 # Only expand once:
   13144 
   13145 
   13146 
   13147 # Require xorg-macros minimum of 1.12 for DocBook external references
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13160 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13161 if test ${ac_cv_c_undeclared_builtin_options+y}
   13162 then :
   13163   printf %s "(cached) " >&6
   13164 else case e in #(
   13165   e) ac_save_CFLAGS=$CFLAGS
   13166    ac_cv_c_undeclared_builtin_options='cannot detect'
   13167    for ac_arg in '' -fno-builtin; do
   13168      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13169      # This test program should *not* compile successfully.
   13170      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13171 /* end confdefs.h.  */
   13172 
   13173 int
   13174 main (void)
   13175 {
   13176 (void) strchr;
   13177   ;
   13178   return 0;
   13179 }
   13180 _ACEOF
   13181 if ac_fn_c_try_compile "$LINENO"
   13182 then :
   13183 
   13184 else case e in #(
   13185   e) # This test program should compile successfully.
   13186         # No library function is consistently available on
   13187         # freestanding implementations, so test against a dummy
   13188         # declaration.  Include always-available headers on the
   13189         # off chance that they somehow elicit warnings.
   13190         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13191 /* end confdefs.h.  */
   13192 #include <float.h>
   13193 #include <limits.h>
   13194 #include <stdarg.h>
   13195 #include <stddef.h>
   13196 extern void ac_decl (int, char *);
   13197 
   13198 int
   13199 main (void)
   13200 {
   13201 (void) ac_decl (0, (char *) 0);
   13202   (void) ac_decl;
   13203 
   13204   ;
   13205   return 0;
   13206 }
   13207 _ACEOF
   13208 if ac_fn_c_try_compile "$LINENO"
   13209 then :
   13210   if test x"$ac_arg" = x
   13211 then :
   13212   ac_cv_c_undeclared_builtin_options='none needed'
   13213 else case e in #(
   13214   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13215 esac
   13216 fi
   13217           break
   13218 fi
   13219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13220 esac
   13221 fi
   13222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13223     done
   13224     CFLAGS=$ac_save_CFLAGS
   13225    ;;
   13226 esac
   13227 fi
   13228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13229 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13230   case $ac_cv_c_undeclared_builtin_options in #(
   13231   'cannot detect') :
   13232     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13233 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13234 as_fn_error $? "cannot make $CC report undeclared builtins
   13235 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13236   'none needed') :
   13237     ac_c_undeclared_builtin_options='' ;; #(
   13238   *) :
   13239     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13240 esac
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13247 if test "x$ac_cv_have_decl___clang__" = xyes
   13248 then :
   13249   CLANGCC="yes"
   13250 else case e in #(
   13251   e) CLANGCC="no" ;;
   13252 esac
   13253 fi
   13254 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13255 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13256 then :
   13257   INTELCC="yes"
   13258 else case e in #(
   13259   e) INTELCC="no" ;;
   13260 esac
   13261 fi
   13262 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13263 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13264 then :
   13265   SUNCC="yes"
   13266 else case e in #(
   13267   e) SUNCC="no" ;;
   13268 esac
   13269 fi
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13279 	if test -n "$ac_tool_prefix"; then
   13280   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13283 printf %s "checking for $ac_word... " >&6; }
   13284 if test ${ac_cv_path_PKG_CONFIG+y}
   13285 then :
   13286   printf %s "(cached) " >&6
   13287 else case e in #(
   13288   e) case $PKG_CONFIG in
   13289   [\\/]* | ?:[\\/]*)
   13290   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13291   ;;
   13292   *)
   13293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13294 for as_dir in $PATH
   13295 do
   13296   IFS=$as_save_IFS
   13297   case $as_dir in #(((
   13298     '') as_dir=./ ;;
   13299     */) ;;
   13300     *) as_dir=$as_dir/ ;;
   13301   esac
   13302     for ac_exec_ext in '' $ac_executable_extensions; do
   13303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13304     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13305     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13306     break 2
   13307   fi
   13308 done
   13309   done
   13310 IFS=$as_save_IFS
   13311 
   13312   ;;
   13313 esac ;;
   13314 esac
   13315 fi
   13316 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13317 if test -n "$PKG_CONFIG"; then
   13318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13319 printf "%s\n" "$PKG_CONFIG" >&6; }
   13320 else
   13321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13322 printf "%s\n" "no" >&6; }
   13323 fi
   13324 
   13325 
   13326 fi
   13327 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13328   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13329   # Extract the first word of "pkg-config", so it can be a program name with args.
   13330 set dummy pkg-config; ac_word=$2
   13331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13332 printf %s "checking for $ac_word... " >&6; }
   13333 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13334 then :
   13335   printf %s "(cached) " >&6
   13336 else case e in #(
   13337   e) case $ac_pt_PKG_CONFIG in
   13338   [\\/]* | ?:[\\/]*)
   13339   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13340   ;;
   13341   *)
   13342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13343 for as_dir in $PATH
   13344 do
   13345   IFS=$as_save_IFS
   13346   case $as_dir in #(((
   13347     '') as_dir=./ ;;
   13348     */) ;;
   13349     *) as_dir=$as_dir/ ;;
   13350   esac
   13351     for ac_exec_ext in '' $ac_executable_extensions; do
   13352   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13353     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13354     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13355     break 2
   13356   fi
   13357 done
   13358   done
   13359 IFS=$as_save_IFS
   13360 
   13361   ;;
   13362 esac ;;
   13363 esac
   13364 fi
   13365 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13366 if test -n "$ac_pt_PKG_CONFIG"; then
   13367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13368 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13369 else
   13370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13371 printf "%s\n" "no" >&6; }
   13372 fi
   13373 
   13374   if test "x$ac_pt_PKG_CONFIG" = x; then
   13375     PKG_CONFIG=""
   13376   else
   13377     case $cross_compiling:$ac_tool_warned in
   13378 yes:)
   13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13381 ac_tool_warned=yes ;;
   13382 esac
   13383     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13384   fi
   13385 else
   13386   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13387 fi
   13388 
   13389 fi
   13390 if test -n "$PKG_CONFIG"; then
   13391 	_pkg_min_version=0.9.0
   13392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13393 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13394 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13396 printf "%s\n" "yes" >&6; }
   13397 	else
   13398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13399 printf "%s\n" "no" >&6; }
   13400 		PKG_CONFIG=""
   13401 	fi
   13402 fi
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 # Check whether --enable-selective-werror was given.
   13409 if test ${enable_selective_werror+y}
   13410 then :
   13411   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13412 else case e in #(
   13413   e) SELECTIVE_WERROR=yes ;;
   13414 esac
   13415 fi
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13422 if test "x$SUNCC" = "xyes"; then
   13423     BASE_CFLAGS="-v"
   13424 else
   13425     BASE_CFLAGS=""
   13426 fi
   13427 
   13428 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 xorg_testset_save_CFLAGS="$CFLAGS"
   13443 
   13444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13449 then :
   13450   printf %s "(cached) " >&6
   13451 else case e in #(
   13452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13453 /* end confdefs.h.  */
   13454 int i;
   13455 _ACEOF
   13456 if ac_fn_c_try_compile "$LINENO"
   13457 then :
   13458   xorg_cv_cc_flag_unknown_warning_option=yes
   13459 else case e in #(
   13460   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13461 esac
   13462 fi
   13463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13464 esac
   13465 fi
   13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13467 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13469 	CFLAGS="$xorg_testset_save_CFLAGS"
   13470 fi
   13471 
   13472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13475 	fi
   13476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13480 then :
   13481   printf %s "(cached) " >&6
   13482 else case e in #(
   13483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13484 /* end confdefs.h.  */
   13485 int i;
   13486 _ACEOF
   13487 if ac_fn_c_try_compile "$LINENO"
   13488 then :
   13489   xorg_cv_cc_flag_unused_command_line_argument=yes
   13490 else case e in #(
   13491   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13492 esac
   13493 fi
   13494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13495 esac
   13496 fi
   13497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13498 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13500 	CFLAGS="$xorg_testset_save_CFLAGS"
   13501 fi
   13502 
   13503 found="no"
   13504 
   13505 	if test $found = "no" ; then
   13506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13508 		fi
   13509 
   13510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13512 		fi
   13513 
   13514 		CFLAGS="$CFLAGS -Wall"
   13515 
   13516 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13517 printf %s "checking if $CC supports -Wall... " >&6; }
   13518 		cacheid=xorg_cv_cc_flag__Wall
   13519 		if eval test \${$cacheid+y}
   13520 then :
   13521   printf %s "(cached) " >&6
   13522 else case e in #(
   13523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13524 /* end confdefs.h.  */
   13525 int i;
   13526 int
   13527 main (void)
   13528 {
   13529 
   13530   ;
   13531   return 0;
   13532 }
   13533 _ACEOF
   13534 if ac_fn_c_try_link "$LINENO"
   13535 then :
   13536   eval $cacheid=yes
   13537 else case e in #(
   13538   e) eval $cacheid=no ;;
   13539 esac
   13540 fi
   13541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13542     conftest$ac_exeext conftest.$ac_ext ;;
   13543 esac
   13544 fi
   13545 
   13546 
   13547 		CFLAGS="$xorg_testset_save_CFLAGS"
   13548 
   13549 		eval supported=\$$cacheid
   13550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13551 printf "%s\n" "$supported" >&6; }
   13552 		if test "$supported" = "yes" ; then
   13553 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13554 			found="yes"
   13555 		fi
   13556 	fi
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 xorg_testset_save_CFLAGS="$CFLAGS"
   13573 
   13574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13577 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13578 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13579 then :
   13580   printf %s "(cached) " >&6
   13581 else case e in #(
   13582   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13583 /* end confdefs.h.  */
   13584 int i;
   13585 _ACEOF
   13586 if ac_fn_c_try_compile "$LINENO"
   13587 then :
   13588   xorg_cv_cc_flag_unknown_warning_option=yes
   13589 else case e in #(
   13590   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13591 esac
   13592 fi
   13593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13594 esac
   13595 fi
   13596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13597 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13599 	CFLAGS="$xorg_testset_save_CFLAGS"
   13600 fi
   13601 
   13602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13605 	fi
   13606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13608 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13609 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13610 then :
   13611   printf %s "(cached) " >&6
   13612 else case e in #(
   13613   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13614 /* end confdefs.h.  */
   13615 int i;
   13616 _ACEOF
   13617 if ac_fn_c_try_compile "$LINENO"
   13618 then :
   13619   xorg_cv_cc_flag_unused_command_line_argument=yes
   13620 else case e in #(
   13621   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13622 esac
   13623 fi
   13624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13625 esac
   13626 fi
   13627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13628 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13629 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13630 	CFLAGS="$xorg_testset_save_CFLAGS"
   13631 fi
   13632 
   13633 found="no"
   13634 
   13635 	if test $found = "no" ; then
   13636 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13638 		fi
   13639 
   13640 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13642 		fi
   13643 
   13644 		CFLAGS="$CFLAGS -Wpointer-arith"
   13645 
   13646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13647 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13648 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13649 		if eval test \${$cacheid+y}
   13650 then :
   13651   printf %s "(cached) " >&6
   13652 else case e in #(
   13653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13654 /* end confdefs.h.  */
   13655 int i;
   13656 int
   13657 main (void)
   13658 {
   13659 
   13660   ;
   13661   return 0;
   13662 }
   13663 _ACEOF
   13664 if ac_fn_c_try_link "$LINENO"
   13665 then :
   13666   eval $cacheid=yes
   13667 else case e in #(
   13668   e) eval $cacheid=no ;;
   13669 esac
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13672     conftest$ac_exeext conftest.$ac_ext ;;
   13673 esac
   13674 fi
   13675 
   13676 
   13677 		CFLAGS="$xorg_testset_save_CFLAGS"
   13678 
   13679 		eval supported=\$$cacheid
   13680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13681 printf "%s\n" "$supported" >&6; }
   13682 		if test "$supported" = "yes" ; then
   13683 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13684 			found="yes"
   13685 		fi
   13686 	fi
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 xorg_testset_save_CFLAGS="$CFLAGS"
   13703 
   13704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13707 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13708 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13709 then :
   13710   printf %s "(cached) " >&6
   13711 else case e in #(
   13712   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13713 /* end confdefs.h.  */
   13714 int i;
   13715 _ACEOF
   13716 if ac_fn_c_try_compile "$LINENO"
   13717 then :
   13718   xorg_cv_cc_flag_unknown_warning_option=yes
   13719 else case e in #(
   13720   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13721 esac
   13722 fi
   13723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13724 esac
   13725 fi
   13726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13727 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13729 	CFLAGS="$xorg_testset_save_CFLAGS"
   13730 fi
   13731 
   13732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13735 	fi
   13736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13738 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13739 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13740 then :
   13741   printf %s "(cached) " >&6
   13742 else case e in #(
   13743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13744 /* end confdefs.h.  */
   13745 int i;
   13746 _ACEOF
   13747 if ac_fn_c_try_compile "$LINENO"
   13748 then :
   13749   xorg_cv_cc_flag_unused_command_line_argument=yes
   13750 else case e in #(
   13751   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13752 esac
   13753 fi
   13754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13755 esac
   13756 fi
   13757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13758 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13760 	CFLAGS="$xorg_testset_save_CFLAGS"
   13761 fi
   13762 
   13763 found="no"
   13764 
   13765 	if test $found = "no" ; then
   13766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13768 		fi
   13769 
   13770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13772 		fi
   13773 
   13774 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13775 
   13776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13777 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13778 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13779 		if eval test \${$cacheid+y}
   13780 then :
   13781   printf %s "(cached) " >&6
   13782 else case e in #(
   13783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13784 /* end confdefs.h.  */
   13785 int i;
   13786 int
   13787 main (void)
   13788 {
   13789 
   13790   ;
   13791   return 0;
   13792 }
   13793 _ACEOF
   13794 if ac_fn_c_try_link "$LINENO"
   13795 then :
   13796   eval $cacheid=yes
   13797 else case e in #(
   13798   e) eval $cacheid=no ;;
   13799 esac
   13800 fi
   13801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13802     conftest$ac_exeext conftest.$ac_ext ;;
   13803 esac
   13804 fi
   13805 
   13806 
   13807 		CFLAGS="$xorg_testset_save_CFLAGS"
   13808 
   13809 		eval supported=\$$cacheid
   13810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13811 printf "%s\n" "$supported" >&6; }
   13812 		if test "$supported" = "yes" ; then
   13813 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13814 			found="yes"
   13815 		fi
   13816 	fi
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 xorg_testset_save_CFLAGS="$CFLAGS"
   13833 
   13834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13836 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13837 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13838 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13839 then :
   13840   printf %s "(cached) " >&6
   13841 else case e in #(
   13842   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13843 /* end confdefs.h.  */
   13844 int i;
   13845 _ACEOF
   13846 if ac_fn_c_try_compile "$LINENO"
   13847 then :
   13848   xorg_cv_cc_flag_unknown_warning_option=yes
   13849 else case e in #(
   13850   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13851 esac
   13852 fi
   13853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13854 esac
   13855 fi
   13856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13859 	CFLAGS="$xorg_testset_save_CFLAGS"
   13860 fi
   13861 
   13862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13865 	fi
   13866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13870 then :
   13871   printf %s "(cached) " >&6
   13872 else case e in #(
   13873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13874 /* end confdefs.h.  */
   13875 int i;
   13876 _ACEOF
   13877 if ac_fn_c_try_compile "$LINENO"
   13878 then :
   13879   xorg_cv_cc_flag_unused_command_line_argument=yes
   13880 else case e in #(
   13881   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13882 esac
   13883 fi
   13884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13885 esac
   13886 fi
   13887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13890 	CFLAGS="$xorg_testset_save_CFLAGS"
   13891 fi
   13892 
   13893 found="no"
   13894 
   13895 	if test $found = "no" ; then
   13896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13898 		fi
   13899 
   13900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13902 		fi
   13903 
   13904 		CFLAGS="$CFLAGS -Wformat=2"
   13905 
   13906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13907 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13908 		cacheid=xorg_cv_cc_flag__Wformat_2
   13909 		if eval test \${$cacheid+y}
   13910 then :
   13911   printf %s "(cached) " >&6
   13912 else case e in #(
   13913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13914 /* end confdefs.h.  */
   13915 int i;
   13916 int
   13917 main (void)
   13918 {
   13919 
   13920   ;
   13921   return 0;
   13922 }
   13923 _ACEOF
   13924 if ac_fn_c_try_link "$LINENO"
   13925 then :
   13926   eval $cacheid=yes
   13927 else case e in #(
   13928   e) eval $cacheid=no ;;
   13929 esac
   13930 fi
   13931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13932     conftest$ac_exeext conftest.$ac_ext ;;
   13933 esac
   13934 fi
   13935 
   13936 
   13937 		CFLAGS="$xorg_testset_save_CFLAGS"
   13938 
   13939 		eval supported=\$$cacheid
   13940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13941 printf "%s\n" "$supported" >&6; }
   13942 		if test "$supported" = "yes" ; then
   13943 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13944 			found="yes"
   13945 		fi
   13946 	fi
   13947 
   13948 	if test $found = "no" ; then
   13949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13951 		fi
   13952 
   13953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13955 		fi
   13956 
   13957 		CFLAGS="$CFLAGS -Wformat"
   13958 
   13959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13960 printf %s "checking if $CC supports -Wformat... " >&6; }
   13961 		cacheid=xorg_cv_cc_flag__Wformat
   13962 		if eval test \${$cacheid+y}
   13963 then :
   13964   printf %s "(cached) " >&6
   13965 else case e in #(
   13966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13967 /* end confdefs.h.  */
   13968 int i;
   13969 int
   13970 main (void)
   13971 {
   13972 
   13973   ;
   13974   return 0;
   13975 }
   13976 _ACEOF
   13977 if ac_fn_c_try_link "$LINENO"
   13978 then :
   13979   eval $cacheid=yes
   13980 else case e in #(
   13981   e) eval $cacheid=no ;;
   13982 esac
   13983 fi
   13984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13985     conftest$ac_exeext conftest.$ac_ext ;;
   13986 esac
   13987 fi
   13988 
   13989 
   13990 		CFLAGS="$xorg_testset_save_CFLAGS"
   13991 
   13992 		eval supported=\$$cacheid
   13993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13994 printf "%s\n" "$supported" >&6; }
   13995 		if test "$supported" = "yes" ; then
   13996 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13997 			found="yes"
   13998 		fi
   13999 	fi
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 xorg_testset_save_CFLAGS="$CFLAGS"
   14018 
   14019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14024 then :
   14025   printf %s "(cached) " >&6
   14026 else case e in #(
   14027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14028 /* end confdefs.h.  */
   14029 int i;
   14030 _ACEOF
   14031 if ac_fn_c_try_compile "$LINENO"
   14032 then :
   14033   xorg_cv_cc_flag_unknown_warning_option=yes
   14034 else case e in #(
   14035   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14036 esac
   14037 fi
   14038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14039 esac
   14040 fi
   14041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14044 	CFLAGS="$xorg_testset_save_CFLAGS"
   14045 fi
   14046 
   14047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14050 	fi
   14051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14055 then :
   14056   printf %s "(cached) " >&6
   14057 else case e in #(
   14058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14059 /* end confdefs.h.  */
   14060 int i;
   14061 _ACEOF
   14062 if ac_fn_c_try_compile "$LINENO"
   14063 then :
   14064   xorg_cv_cc_flag_unused_command_line_argument=yes
   14065 else case e in #(
   14066   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14067 esac
   14068 fi
   14069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14070 esac
   14071 fi
   14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14075 	CFLAGS="$xorg_testset_save_CFLAGS"
   14076 fi
   14077 
   14078 found="no"
   14079 
   14080 	if test $found = "no" ; then
   14081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14083 		fi
   14084 
   14085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14087 		fi
   14088 
   14089 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14090 
   14091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14092 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14093 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14094 		if eval test \${$cacheid+y}
   14095 then :
   14096   printf %s "(cached) " >&6
   14097 else case e in #(
   14098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14099 /* end confdefs.h.  */
   14100 int i;
   14101 int
   14102 main (void)
   14103 {
   14104 
   14105   ;
   14106   return 0;
   14107 }
   14108 _ACEOF
   14109 if ac_fn_c_try_link "$LINENO"
   14110 then :
   14111   eval $cacheid=yes
   14112 else case e in #(
   14113   e) eval $cacheid=no ;;
   14114 esac
   14115 fi
   14116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14117     conftest$ac_exeext conftest.$ac_ext ;;
   14118 esac
   14119 fi
   14120 
   14121 
   14122 		CFLAGS="$xorg_testset_save_CFLAGS"
   14123 
   14124 		eval supported=\$$cacheid
   14125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14126 printf "%s\n" "$supported" >&6; }
   14127 		if test "$supported" = "yes" ; then
   14128 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14129 			found="yes"
   14130 		fi
   14131 	fi
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 xorg_testset_save_CFLAGS="$CFLAGS"
   14148 
   14149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14152 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14153 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14154 then :
   14155   printf %s "(cached) " >&6
   14156 else case e in #(
   14157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14158 /* end confdefs.h.  */
   14159 int i;
   14160 _ACEOF
   14161 if ac_fn_c_try_compile "$LINENO"
   14162 then :
   14163   xorg_cv_cc_flag_unknown_warning_option=yes
   14164 else case e in #(
   14165   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14166 esac
   14167 fi
   14168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14169 esac
   14170 fi
   14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14172 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14174 	CFLAGS="$xorg_testset_save_CFLAGS"
   14175 fi
   14176 
   14177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14180 	fi
   14181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14185 then :
   14186   printf %s "(cached) " >&6
   14187 else case e in #(
   14188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14189 /* end confdefs.h.  */
   14190 int i;
   14191 _ACEOF
   14192 if ac_fn_c_try_compile "$LINENO"
   14193 then :
   14194   xorg_cv_cc_flag_unused_command_line_argument=yes
   14195 else case e in #(
   14196   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14197 esac
   14198 fi
   14199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14200 esac
   14201 fi
   14202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14203 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14205 	CFLAGS="$xorg_testset_save_CFLAGS"
   14206 fi
   14207 
   14208 found="no"
   14209 
   14210 	if test $found = "no" ; then
   14211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14213 		fi
   14214 
   14215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14217 		fi
   14218 
   14219 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14220 
   14221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14222 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14223 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14224 		if eval test \${$cacheid+y}
   14225 then :
   14226   printf %s "(cached) " >&6
   14227 else case e in #(
   14228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14229 /* end confdefs.h.  */
   14230 int i;
   14231 int
   14232 main (void)
   14233 {
   14234 
   14235   ;
   14236   return 0;
   14237 }
   14238 _ACEOF
   14239 if ac_fn_c_try_link "$LINENO"
   14240 then :
   14241   eval $cacheid=yes
   14242 else case e in #(
   14243   e) eval $cacheid=no ;;
   14244 esac
   14245 fi
   14246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14247     conftest$ac_exeext conftest.$ac_ext ;;
   14248 esac
   14249 fi
   14250 
   14251 
   14252 		CFLAGS="$xorg_testset_save_CFLAGS"
   14253 
   14254 		eval supported=\$$cacheid
   14255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14256 printf "%s\n" "$supported" >&6; }
   14257 		if test "$supported" = "yes" ; then
   14258 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14259 			found="yes"
   14260 		fi
   14261 	fi
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 xorg_testset_save_CFLAGS="$CFLAGS"
   14278 
   14279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14282 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14283 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14284 then :
   14285   printf %s "(cached) " >&6
   14286 else case e in #(
   14287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 _ACEOF
   14291 if ac_fn_c_try_compile "$LINENO"
   14292 then :
   14293   xorg_cv_cc_flag_unknown_warning_option=yes
   14294 else case e in #(
   14295   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14296 esac
   14297 fi
   14298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14299 esac
   14300 fi
   14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14302 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14304 	CFLAGS="$xorg_testset_save_CFLAGS"
   14305 fi
   14306 
   14307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14310 	fi
   14311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14313 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14314 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14315 then :
   14316   printf %s "(cached) " >&6
   14317 else case e in #(
   14318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14319 /* end confdefs.h.  */
   14320 int i;
   14321 _ACEOF
   14322 if ac_fn_c_try_compile "$LINENO"
   14323 then :
   14324   xorg_cv_cc_flag_unused_command_line_argument=yes
   14325 else case e in #(
   14326   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14327 esac
   14328 fi
   14329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14330 esac
   14331 fi
   14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14335 	CFLAGS="$xorg_testset_save_CFLAGS"
   14336 fi
   14337 
   14338 found="no"
   14339 
   14340 	if test $found = "no" ; then
   14341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14343 		fi
   14344 
   14345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14347 		fi
   14348 
   14349 		CFLAGS="$CFLAGS -Wnested-externs"
   14350 
   14351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14352 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14353 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14354 		if eval test \${$cacheid+y}
   14355 then :
   14356   printf %s "(cached) " >&6
   14357 else case e in #(
   14358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14359 /* end confdefs.h.  */
   14360 int i;
   14361 int
   14362 main (void)
   14363 {
   14364 
   14365   ;
   14366   return 0;
   14367 }
   14368 _ACEOF
   14369 if ac_fn_c_try_link "$LINENO"
   14370 then :
   14371   eval $cacheid=yes
   14372 else case e in #(
   14373   e) eval $cacheid=no ;;
   14374 esac
   14375 fi
   14376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14377     conftest$ac_exeext conftest.$ac_ext ;;
   14378 esac
   14379 fi
   14380 
   14381 
   14382 		CFLAGS="$xorg_testset_save_CFLAGS"
   14383 
   14384 		eval supported=\$$cacheid
   14385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14386 printf "%s\n" "$supported" >&6; }
   14387 		if test "$supported" = "yes" ; then
   14388 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14389 			found="yes"
   14390 		fi
   14391 	fi
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 xorg_testset_save_CFLAGS="$CFLAGS"
   14408 
   14409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14412 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14413 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14414 then :
   14415   printf %s "(cached) " >&6
   14416 else case e in #(
   14417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14418 /* end confdefs.h.  */
   14419 int i;
   14420 _ACEOF
   14421 if ac_fn_c_try_compile "$LINENO"
   14422 then :
   14423   xorg_cv_cc_flag_unknown_warning_option=yes
   14424 else case e in #(
   14425   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14426 esac
   14427 fi
   14428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14429 esac
   14430 fi
   14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14432 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14434 	CFLAGS="$xorg_testset_save_CFLAGS"
   14435 fi
   14436 
   14437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14440 	fi
   14441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14443 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14444 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14445 then :
   14446   printf %s "(cached) " >&6
   14447 else case e in #(
   14448   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14449 /* end confdefs.h.  */
   14450 int i;
   14451 _ACEOF
   14452 if ac_fn_c_try_compile "$LINENO"
   14453 then :
   14454   xorg_cv_cc_flag_unused_command_line_argument=yes
   14455 else case e in #(
   14456   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14457 esac
   14458 fi
   14459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14460 esac
   14461 fi
   14462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14463 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14465 	CFLAGS="$xorg_testset_save_CFLAGS"
   14466 fi
   14467 
   14468 found="no"
   14469 
   14470 	if test $found = "no" ; then
   14471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 		fi
   14474 
   14475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14477 		fi
   14478 
   14479 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14480 
   14481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14482 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14483 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14484 		if eval test \${$cacheid+y}
   14485 then :
   14486   printf %s "(cached) " >&6
   14487 else case e in #(
   14488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14489 /* end confdefs.h.  */
   14490 int i;
   14491 int
   14492 main (void)
   14493 {
   14494 
   14495   ;
   14496   return 0;
   14497 }
   14498 _ACEOF
   14499 if ac_fn_c_try_link "$LINENO"
   14500 then :
   14501   eval $cacheid=yes
   14502 else case e in #(
   14503   e) eval $cacheid=no ;;
   14504 esac
   14505 fi
   14506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14507     conftest$ac_exeext conftest.$ac_ext ;;
   14508 esac
   14509 fi
   14510 
   14511 
   14512 		CFLAGS="$xorg_testset_save_CFLAGS"
   14513 
   14514 		eval supported=\$$cacheid
   14515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14516 printf "%s\n" "$supported" >&6; }
   14517 		if test "$supported" = "yes" ; then
   14518 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14519 			found="yes"
   14520 		fi
   14521 	fi
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 xorg_testset_save_CFLAGS="$CFLAGS"
   14538 
   14539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14544 then :
   14545   printf %s "(cached) " >&6
   14546 else case e in #(
   14547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14548 /* end confdefs.h.  */
   14549 int i;
   14550 _ACEOF
   14551 if ac_fn_c_try_compile "$LINENO"
   14552 then :
   14553   xorg_cv_cc_flag_unknown_warning_option=yes
   14554 else case e in #(
   14555   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14556 esac
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14559 esac
   14560 fi
   14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14562 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14564 	CFLAGS="$xorg_testset_save_CFLAGS"
   14565 fi
   14566 
   14567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14570 	fi
   14571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14573 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14574 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14575 then :
   14576   printf %s "(cached) " >&6
   14577 else case e in #(
   14578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14579 /* end confdefs.h.  */
   14580 int i;
   14581 _ACEOF
   14582 if ac_fn_c_try_compile "$LINENO"
   14583 then :
   14584   xorg_cv_cc_flag_unused_command_line_argument=yes
   14585 else case e in #(
   14586   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14587 esac
   14588 fi
   14589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14590 esac
   14591 fi
   14592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14593 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14595 	CFLAGS="$xorg_testset_save_CFLAGS"
   14596 fi
   14597 
   14598 found="no"
   14599 
   14600 	if test $found = "no" ; then
   14601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14603 		fi
   14604 
   14605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14607 		fi
   14608 
   14609 		CFLAGS="$CFLAGS -Wold-style-definition"
   14610 
   14611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14612 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14613 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14614 		if eval test \${$cacheid+y}
   14615 then :
   14616   printf %s "(cached) " >&6
   14617 else case e in #(
   14618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14619 /* end confdefs.h.  */
   14620 int i;
   14621 int
   14622 main (void)
   14623 {
   14624 
   14625   ;
   14626   return 0;
   14627 }
   14628 _ACEOF
   14629 if ac_fn_c_try_link "$LINENO"
   14630 then :
   14631   eval $cacheid=yes
   14632 else case e in #(
   14633   e) eval $cacheid=no ;;
   14634 esac
   14635 fi
   14636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14637     conftest$ac_exeext conftest.$ac_ext ;;
   14638 esac
   14639 fi
   14640 
   14641 
   14642 		CFLAGS="$xorg_testset_save_CFLAGS"
   14643 
   14644 		eval supported=\$$cacheid
   14645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14646 printf "%s\n" "$supported" >&6; }
   14647 		if test "$supported" = "yes" ; then
   14648 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14649 			found="yes"
   14650 		fi
   14651 	fi
   14652 
   14653 	if test $found = "no" ; then
   14654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14656 		fi
   14657 
   14658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14660 		fi
   14661 
   14662 		CFLAGS="$CFLAGS -fd"
   14663 
   14664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14665 printf %s "checking if $CC supports -fd... " >&6; }
   14666 		cacheid=xorg_cv_cc_flag__fd
   14667 		if eval test \${$cacheid+y}
   14668 then :
   14669   printf %s "(cached) " >&6
   14670 else case e in #(
   14671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14672 /* end confdefs.h.  */
   14673 int i;
   14674 int
   14675 main (void)
   14676 {
   14677 
   14678   ;
   14679   return 0;
   14680 }
   14681 _ACEOF
   14682 if ac_fn_c_try_link "$LINENO"
   14683 then :
   14684   eval $cacheid=yes
   14685 else case e in #(
   14686   e) eval $cacheid=no ;;
   14687 esac
   14688 fi
   14689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14690     conftest$ac_exeext conftest.$ac_ext ;;
   14691 esac
   14692 fi
   14693 
   14694 
   14695 		CFLAGS="$xorg_testset_save_CFLAGS"
   14696 
   14697 		eval supported=\$$cacheid
   14698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14699 printf "%s\n" "$supported" >&6; }
   14700 		if test "$supported" = "yes" ; then
   14701 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14702 			found="yes"
   14703 		fi
   14704 	fi
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 xorg_testset_save_CFLAGS="$CFLAGS"
   14721 
   14722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14725 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14726 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14727 then :
   14728   printf %s "(cached) " >&6
   14729 else case e in #(
   14730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14731 /* end confdefs.h.  */
   14732 int i;
   14733 _ACEOF
   14734 if ac_fn_c_try_compile "$LINENO"
   14735 then :
   14736   xorg_cv_cc_flag_unknown_warning_option=yes
   14737 else case e in #(
   14738   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14739 esac
   14740 fi
   14741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14742 esac
   14743 fi
   14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14745 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14747 	CFLAGS="$xorg_testset_save_CFLAGS"
   14748 fi
   14749 
   14750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14753 	fi
   14754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14758 then :
   14759   printf %s "(cached) " >&6
   14760 else case e in #(
   14761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14762 /* end confdefs.h.  */
   14763 int i;
   14764 _ACEOF
   14765 if ac_fn_c_try_compile "$LINENO"
   14766 then :
   14767   xorg_cv_cc_flag_unused_command_line_argument=yes
   14768 else case e in #(
   14769   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14770 esac
   14771 fi
   14772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14773 esac
   14774 fi
   14775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14776 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14778 	CFLAGS="$xorg_testset_save_CFLAGS"
   14779 fi
   14780 
   14781 found="no"
   14782 
   14783 	if test $found = "no" ; then
   14784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14786 		fi
   14787 
   14788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14790 		fi
   14791 
   14792 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14793 
   14794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14795 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14796 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14797 		if eval test \${$cacheid+y}
   14798 then :
   14799   printf %s "(cached) " >&6
   14800 else case e in #(
   14801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14802 /* end confdefs.h.  */
   14803 int i;
   14804 int
   14805 main (void)
   14806 {
   14807 
   14808   ;
   14809   return 0;
   14810 }
   14811 _ACEOF
   14812 if ac_fn_c_try_link "$LINENO"
   14813 then :
   14814   eval $cacheid=yes
   14815 else case e in #(
   14816   e) eval $cacheid=no ;;
   14817 esac
   14818 fi
   14819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14820     conftest$ac_exeext conftest.$ac_ext ;;
   14821 esac
   14822 fi
   14823 
   14824 
   14825 		CFLAGS="$xorg_testset_save_CFLAGS"
   14826 
   14827 		eval supported=\$$cacheid
   14828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14829 printf "%s\n" "$supported" >&6; }
   14830 		if test "$supported" = "yes" ; then
   14831 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14832 			found="yes"
   14833 		fi
   14834 	fi
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 # This chunk adds additional warnings that could catch undesired effects.
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 xorg_testset_save_CFLAGS="$CFLAGS"
   14855 
   14856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14858 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14859 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14860 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14861 then :
   14862   printf %s "(cached) " >&6
   14863 else case e in #(
   14864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14865 /* end confdefs.h.  */
   14866 int i;
   14867 _ACEOF
   14868 if ac_fn_c_try_compile "$LINENO"
   14869 then :
   14870   xorg_cv_cc_flag_unknown_warning_option=yes
   14871 else case e in #(
   14872   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14873 esac
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14876 esac
   14877 fi
   14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14879 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14881 	CFLAGS="$xorg_testset_save_CFLAGS"
   14882 fi
   14883 
   14884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14887 	fi
   14888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14890 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14891 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14892 then :
   14893   printf %s "(cached) " >&6
   14894 else case e in #(
   14895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14896 /* end confdefs.h.  */
   14897 int i;
   14898 _ACEOF
   14899 if ac_fn_c_try_compile "$LINENO"
   14900 then :
   14901   xorg_cv_cc_flag_unused_command_line_argument=yes
   14902 else case e in #(
   14903   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14904 esac
   14905 fi
   14906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14907 esac
   14908 fi
   14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14910 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14912 	CFLAGS="$xorg_testset_save_CFLAGS"
   14913 fi
   14914 
   14915 found="no"
   14916 
   14917 	if test $found = "no" ; then
   14918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 		fi
   14921 
   14922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14924 		fi
   14925 
   14926 		CFLAGS="$CFLAGS -Wunused"
   14927 
   14928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14929 printf %s "checking if $CC supports -Wunused... " >&6; }
   14930 		cacheid=xorg_cv_cc_flag__Wunused
   14931 		if eval test \${$cacheid+y}
   14932 then :
   14933   printf %s "(cached) " >&6
   14934 else case e in #(
   14935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14936 /* end confdefs.h.  */
   14937 int i;
   14938 int
   14939 main (void)
   14940 {
   14941 
   14942   ;
   14943   return 0;
   14944 }
   14945 _ACEOF
   14946 if ac_fn_c_try_link "$LINENO"
   14947 then :
   14948   eval $cacheid=yes
   14949 else case e in #(
   14950   e) eval $cacheid=no ;;
   14951 esac
   14952 fi
   14953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14954     conftest$ac_exeext conftest.$ac_ext ;;
   14955 esac
   14956 fi
   14957 
   14958 
   14959 		CFLAGS="$xorg_testset_save_CFLAGS"
   14960 
   14961 		eval supported=\$$cacheid
   14962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14963 printf "%s\n" "$supported" >&6; }
   14964 		if test "$supported" = "yes" ; then
   14965 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14966 			found="yes"
   14967 		fi
   14968 	fi
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 xorg_testset_save_CFLAGS="$CFLAGS"
   14985 
   14986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14989 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14990 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14991 then :
   14992   printf %s "(cached) " >&6
   14993 else case e in #(
   14994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14995 /* end confdefs.h.  */
   14996 int i;
   14997 _ACEOF
   14998 if ac_fn_c_try_compile "$LINENO"
   14999 then :
   15000   xorg_cv_cc_flag_unknown_warning_option=yes
   15001 else case e in #(
   15002   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15003 esac
   15004 fi
   15005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15006 esac
   15007 fi
   15008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15009 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15010 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15011 	CFLAGS="$xorg_testset_save_CFLAGS"
   15012 fi
   15013 
   15014 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15015 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15016 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15017 	fi
   15018 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15020 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15021 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15022 then :
   15023   printf %s "(cached) " >&6
   15024 else case e in #(
   15025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15026 /* end confdefs.h.  */
   15027 int i;
   15028 _ACEOF
   15029 if ac_fn_c_try_compile "$LINENO"
   15030 then :
   15031   xorg_cv_cc_flag_unused_command_line_argument=yes
   15032 else case e in #(
   15033   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15034 esac
   15035 fi
   15036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15037 esac
   15038 fi
   15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15040 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15042 	CFLAGS="$xorg_testset_save_CFLAGS"
   15043 fi
   15044 
   15045 found="no"
   15046 
   15047 	if test $found = "no" ; then
   15048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15050 		fi
   15051 
   15052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15054 		fi
   15055 
   15056 		CFLAGS="$CFLAGS -Wuninitialized"
   15057 
   15058 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15059 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15060 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15061 		if eval test \${$cacheid+y}
   15062 then :
   15063   printf %s "(cached) " >&6
   15064 else case e in #(
   15065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15066 /* end confdefs.h.  */
   15067 int i;
   15068 int
   15069 main (void)
   15070 {
   15071 
   15072   ;
   15073   return 0;
   15074 }
   15075 _ACEOF
   15076 if ac_fn_c_try_link "$LINENO"
   15077 then :
   15078   eval $cacheid=yes
   15079 else case e in #(
   15080   e) eval $cacheid=no ;;
   15081 esac
   15082 fi
   15083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15084     conftest$ac_exeext conftest.$ac_ext ;;
   15085 esac
   15086 fi
   15087 
   15088 
   15089 		CFLAGS="$xorg_testset_save_CFLAGS"
   15090 
   15091 		eval supported=\$$cacheid
   15092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15093 printf "%s\n" "$supported" >&6; }
   15094 		if test "$supported" = "yes" ; then
   15095 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15096 			found="yes"
   15097 		fi
   15098 	fi
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 xorg_testset_save_CFLAGS="$CFLAGS"
   15115 
   15116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15118 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15119 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15120 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else case e in #(
   15124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15125 /* end confdefs.h.  */
   15126 int i;
   15127 _ACEOF
   15128 if ac_fn_c_try_compile "$LINENO"
   15129 then :
   15130   xorg_cv_cc_flag_unknown_warning_option=yes
   15131 else case e in #(
   15132   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15133 esac
   15134 fi
   15135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15136 esac
   15137 fi
   15138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15139 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15141 	CFLAGS="$xorg_testset_save_CFLAGS"
   15142 fi
   15143 
   15144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15147 	fi
   15148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15150 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15151 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15152 then :
   15153   printf %s "(cached) " >&6
   15154 else case e in #(
   15155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15156 /* end confdefs.h.  */
   15157 int i;
   15158 _ACEOF
   15159 if ac_fn_c_try_compile "$LINENO"
   15160 then :
   15161   xorg_cv_cc_flag_unused_command_line_argument=yes
   15162 else case e in #(
   15163   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15164 esac
   15165 fi
   15166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15167 esac
   15168 fi
   15169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15170 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15172 	CFLAGS="$xorg_testset_save_CFLAGS"
   15173 fi
   15174 
   15175 found="no"
   15176 
   15177 	if test $found = "no" ; then
   15178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15180 		fi
   15181 
   15182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15184 		fi
   15185 
   15186 		CFLAGS="$CFLAGS -Wshadow"
   15187 
   15188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15189 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15190 		cacheid=xorg_cv_cc_flag__Wshadow
   15191 		if eval test \${$cacheid+y}
   15192 then :
   15193   printf %s "(cached) " >&6
   15194 else case e in #(
   15195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15196 /* end confdefs.h.  */
   15197 int i;
   15198 int
   15199 main (void)
   15200 {
   15201 
   15202   ;
   15203   return 0;
   15204 }
   15205 _ACEOF
   15206 if ac_fn_c_try_link "$LINENO"
   15207 then :
   15208   eval $cacheid=yes
   15209 else case e in #(
   15210   e) eval $cacheid=no ;;
   15211 esac
   15212 fi
   15213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15214     conftest$ac_exeext conftest.$ac_ext ;;
   15215 esac
   15216 fi
   15217 
   15218 
   15219 		CFLAGS="$xorg_testset_save_CFLAGS"
   15220 
   15221 		eval supported=\$$cacheid
   15222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15223 printf "%s\n" "$supported" >&6; }
   15224 		if test "$supported" = "yes" ; then
   15225 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15226 			found="yes"
   15227 		fi
   15228 	fi
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 xorg_testset_save_CFLAGS="$CFLAGS"
   15245 
   15246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15249 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15250 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15251 then :
   15252   printf %s "(cached) " >&6
   15253 else case e in #(
   15254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15255 /* end confdefs.h.  */
   15256 int i;
   15257 _ACEOF
   15258 if ac_fn_c_try_compile "$LINENO"
   15259 then :
   15260   xorg_cv_cc_flag_unknown_warning_option=yes
   15261 else case e in #(
   15262   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15263 esac
   15264 fi
   15265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15266 esac
   15267 fi
   15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15269 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15270 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15271 	CFLAGS="$xorg_testset_save_CFLAGS"
   15272 fi
   15273 
   15274 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15275 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15276 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15277 	fi
   15278 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15279 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15280 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15281 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15282 then :
   15283   printf %s "(cached) " >&6
   15284 else case e in #(
   15285   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15286 /* end confdefs.h.  */
   15287 int i;
   15288 _ACEOF
   15289 if ac_fn_c_try_compile "$LINENO"
   15290 then :
   15291   xorg_cv_cc_flag_unused_command_line_argument=yes
   15292 else case e in #(
   15293   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15294 esac
   15295 fi
   15296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15297 esac
   15298 fi
   15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15300 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15302 	CFLAGS="$xorg_testset_save_CFLAGS"
   15303 fi
   15304 
   15305 found="no"
   15306 
   15307 	if test $found = "no" ; then
   15308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15310 		fi
   15311 
   15312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15314 		fi
   15315 
   15316 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15317 
   15318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15319 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15320 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15321 		if eval test \${$cacheid+y}
   15322 then :
   15323   printf %s "(cached) " >&6
   15324 else case e in #(
   15325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15326 /* end confdefs.h.  */
   15327 int i;
   15328 int
   15329 main (void)
   15330 {
   15331 
   15332   ;
   15333   return 0;
   15334 }
   15335 _ACEOF
   15336 if ac_fn_c_try_link "$LINENO"
   15337 then :
   15338   eval $cacheid=yes
   15339 else case e in #(
   15340   e) eval $cacheid=no ;;
   15341 esac
   15342 fi
   15343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15344     conftest$ac_exeext conftest.$ac_ext ;;
   15345 esac
   15346 fi
   15347 
   15348 
   15349 		CFLAGS="$xorg_testset_save_CFLAGS"
   15350 
   15351 		eval supported=\$$cacheid
   15352 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15353 printf "%s\n" "$supported" >&6; }
   15354 		if test "$supported" = "yes" ; then
   15355 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15356 			found="yes"
   15357 		fi
   15358 	fi
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 xorg_testset_save_CFLAGS="$CFLAGS"
   15375 
   15376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15379 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15380 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15381 then :
   15382   printf %s "(cached) " >&6
   15383 else case e in #(
   15384   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15385 /* end confdefs.h.  */
   15386 int i;
   15387 _ACEOF
   15388 if ac_fn_c_try_compile "$LINENO"
   15389 then :
   15390   xorg_cv_cc_flag_unknown_warning_option=yes
   15391 else case e in #(
   15392   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15393 esac
   15394 fi
   15395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15396 esac
   15397 fi
   15398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15399 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15401 	CFLAGS="$xorg_testset_save_CFLAGS"
   15402 fi
   15403 
   15404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15407 	fi
   15408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15410 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15411 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15412 then :
   15413   printf %s "(cached) " >&6
   15414 else case e in #(
   15415   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15416 /* end confdefs.h.  */
   15417 int i;
   15418 _ACEOF
   15419 if ac_fn_c_try_compile "$LINENO"
   15420 then :
   15421   xorg_cv_cc_flag_unused_command_line_argument=yes
   15422 else case e in #(
   15423   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15424 esac
   15425 fi
   15426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15427 esac
   15428 fi
   15429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15430 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15432 	CFLAGS="$xorg_testset_save_CFLAGS"
   15433 fi
   15434 
   15435 found="no"
   15436 
   15437 	if test $found = "no" ; then
   15438 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15440 		fi
   15441 
   15442 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15444 		fi
   15445 
   15446 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15447 
   15448 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15449 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15450 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15451 		if eval test \${$cacheid+y}
   15452 then :
   15453   printf %s "(cached) " >&6
   15454 else case e in #(
   15455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15456 /* end confdefs.h.  */
   15457 int i;
   15458 int
   15459 main (void)
   15460 {
   15461 
   15462   ;
   15463   return 0;
   15464 }
   15465 _ACEOF
   15466 if ac_fn_c_try_link "$LINENO"
   15467 then :
   15468   eval $cacheid=yes
   15469 else case e in #(
   15470   e) eval $cacheid=no ;;
   15471 esac
   15472 fi
   15473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15474     conftest$ac_exeext conftest.$ac_ext ;;
   15475 esac
   15476 fi
   15477 
   15478 
   15479 		CFLAGS="$xorg_testset_save_CFLAGS"
   15480 
   15481 		eval supported=\$$cacheid
   15482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15483 printf "%s\n" "$supported" >&6; }
   15484 		if test "$supported" = "yes" ; then
   15485 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15486 			found="yes"
   15487 		fi
   15488 	fi
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 xorg_testset_save_CFLAGS="$CFLAGS"
   15505 
   15506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15508 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15509 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15510 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15511 then :
   15512   printf %s "(cached) " >&6
   15513 else case e in #(
   15514   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15515 /* end confdefs.h.  */
   15516 int i;
   15517 _ACEOF
   15518 if ac_fn_c_try_compile "$LINENO"
   15519 then :
   15520   xorg_cv_cc_flag_unknown_warning_option=yes
   15521 else case e in #(
   15522   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15523 esac
   15524 fi
   15525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15526 esac
   15527 fi
   15528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15529 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15530 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15531 	CFLAGS="$xorg_testset_save_CFLAGS"
   15532 fi
   15533 
   15534 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15535 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15537 	fi
   15538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15540 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15541 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15542 then :
   15543   printf %s "(cached) " >&6
   15544 else case e in #(
   15545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 int i;
   15548 _ACEOF
   15549 if ac_fn_c_try_compile "$LINENO"
   15550 then :
   15551   xorg_cv_cc_flag_unused_command_line_argument=yes
   15552 else case e in #(
   15553   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15554 esac
   15555 fi
   15556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15557 esac
   15558 fi
   15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15560 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15562 	CFLAGS="$xorg_testset_save_CFLAGS"
   15563 fi
   15564 
   15565 found="no"
   15566 
   15567 	if test $found = "no" ; then
   15568 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15570 		fi
   15571 
   15572 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15574 		fi
   15575 
   15576 		CFLAGS="$CFLAGS -Wredundant-decls"
   15577 
   15578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15579 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15580 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15581 		if eval test \${$cacheid+y}
   15582 then :
   15583   printf %s "(cached) " >&6
   15584 else case e in #(
   15585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15586 /* end confdefs.h.  */
   15587 int i;
   15588 int
   15589 main (void)
   15590 {
   15591 
   15592   ;
   15593   return 0;
   15594 }
   15595 _ACEOF
   15596 if ac_fn_c_try_link "$LINENO"
   15597 then :
   15598   eval $cacheid=yes
   15599 else case e in #(
   15600   e) eval $cacheid=no ;;
   15601 esac
   15602 fi
   15603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15604     conftest$ac_exeext conftest.$ac_ext ;;
   15605 esac
   15606 fi
   15607 
   15608 
   15609 		CFLAGS="$xorg_testset_save_CFLAGS"
   15610 
   15611 		eval supported=\$$cacheid
   15612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15613 printf "%s\n" "$supported" >&6; }
   15614 		if test "$supported" = "yes" ; then
   15615 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15616 			found="yes"
   15617 		fi
   15618 	fi
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 xorg_testset_save_CFLAGS="$CFLAGS"
   15635 
   15636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15639 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15640 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15641 then :
   15642   printf %s "(cached) " >&6
   15643 else case e in #(
   15644   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15645 /* end confdefs.h.  */
   15646 int i;
   15647 _ACEOF
   15648 if ac_fn_c_try_compile "$LINENO"
   15649 then :
   15650   xorg_cv_cc_flag_unknown_warning_option=yes
   15651 else case e in #(
   15652   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15653 esac
   15654 fi
   15655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15656 esac
   15657 fi
   15658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15659 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15661 	CFLAGS="$xorg_testset_save_CFLAGS"
   15662 fi
   15663 
   15664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15667 	fi
   15668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15670 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15671 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15672 then :
   15673   printf %s "(cached) " >&6
   15674 else case e in #(
   15675   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15676 /* end confdefs.h.  */
   15677 int i;
   15678 _ACEOF
   15679 if ac_fn_c_try_compile "$LINENO"
   15680 then :
   15681   xorg_cv_cc_flag_unused_command_line_argument=yes
   15682 else case e in #(
   15683   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15684 esac
   15685 fi
   15686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15687 esac
   15688 fi
   15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15690 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15692 	CFLAGS="$xorg_testset_save_CFLAGS"
   15693 fi
   15694 
   15695 found="no"
   15696 
   15697 	if test $found = "no" ; then
   15698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15700 		fi
   15701 
   15702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15704 		fi
   15705 
   15706 		CFLAGS="$CFLAGS -Wlogical-op"
   15707 
   15708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15709 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15710 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15711 		if eval test \${$cacheid+y}
   15712 then :
   15713   printf %s "(cached) " >&6
   15714 else case e in #(
   15715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15716 /* end confdefs.h.  */
   15717 int i;
   15718 int
   15719 main (void)
   15720 {
   15721 
   15722   ;
   15723   return 0;
   15724 }
   15725 _ACEOF
   15726 if ac_fn_c_try_link "$LINENO"
   15727 then :
   15728   eval $cacheid=yes
   15729 else case e in #(
   15730   e) eval $cacheid=no ;;
   15731 esac
   15732 fi
   15733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15734     conftest$ac_exeext conftest.$ac_ext ;;
   15735 esac
   15736 fi
   15737 
   15738 
   15739 		CFLAGS="$xorg_testset_save_CFLAGS"
   15740 
   15741 		eval supported=\$$cacheid
   15742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15743 printf "%s\n" "$supported" >&6; }
   15744 		if test "$supported" = "yes" ; then
   15745 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15746 			found="yes"
   15747 		fi
   15748 	fi
   15749 
   15750 
   15751 
   15752 # These are currently disabled because they are noisy.  They will be enabled
   15753 # in the future once the codebase is sufficiently modernized to silence
   15754 # them.  For now, I don't want them to drown out the other warnings.
   15755 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15756 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15757 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15758 
   15759 # Turn some warnings into errors, so we don't accidentally get successful builds
   15760 # when there are problems that should be fixed.
   15761 
   15762 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 xorg_testset_save_CFLAGS="$CFLAGS"
   15777 
   15778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15781 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15782 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15783 then :
   15784   printf %s "(cached) " >&6
   15785 else case e in #(
   15786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15787 /* end confdefs.h.  */
   15788 int i;
   15789 _ACEOF
   15790 if ac_fn_c_try_compile "$LINENO"
   15791 then :
   15792   xorg_cv_cc_flag_unknown_warning_option=yes
   15793 else case e in #(
   15794   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15795 esac
   15796 fi
   15797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15798 esac
   15799 fi
   15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15801 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15802 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15803 	CFLAGS="$xorg_testset_save_CFLAGS"
   15804 fi
   15805 
   15806 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15807 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15808 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15809 	fi
   15810 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15811 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15812 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15813 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15814 then :
   15815   printf %s "(cached) " >&6
   15816 else case e in #(
   15817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15818 /* end confdefs.h.  */
   15819 int i;
   15820 _ACEOF
   15821 if ac_fn_c_try_compile "$LINENO"
   15822 then :
   15823   xorg_cv_cc_flag_unused_command_line_argument=yes
   15824 else case e in #(
   15825   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15826 esac
   15827 fi
   15828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15829 esac
   15830 fi
   15831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15832 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15833 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15834 	CFLAGS="$xorg_testset_save_CFLAGS"
   15835 fi
   15836 
   15837 found="no"
   15838 
   15839 	if test $found = "no" ; then
   15840 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15842 		fi
   15843 
   15844 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15846 		fi
   15847 
   15848 		CFLAGS="$CFLAGS -Werror=implicit"
   15849 
   15850 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15851 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15852 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15853 		if eval test \${$cacheid+y}
   15854 then :
   15855   printf %s "(cached) " >&6
   15856 else case e in #(
   15857   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15858 /* end confdefs.h.  */
   15859 int i;
   15860 int
   15861 main (void)
   15862 {
   15863 
   15864   ;
   15865   return 0;
   15866 }
   15867 _ACEOF
   15868 if ac_fn_c_try_link "$LINENO"
   15869 then :
   15870   eval $cacheid=yes
   15871 else case e in #(
   15872   e) eval $cacheid=no ;;
   15873 esac
   15874 fi
   15875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15876     conftest$ac_exeext conftest.$ac_ext ;;
   15877 esac
   15878 fi
   15879 
   15880 
   15881 		CFLAGS="$xorg_testset_save_CFLAGS"
   15882 
   15883 		eval supported=\$$cacheid
   15884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15885 printf "%s\n" "$supported" >&6; }
   15886 		if test "$supported" = "yes" ; then
   15887 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15888 			found="yes"
   15889 		fi
   15890 	fi
   15891 
   15892 	if test $found = "no" ; then
   15893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15895 		fi
   15896 
   15897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15899 		fi
   15900 
   15901 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15902 
   15903 		{ 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
   15904 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15905 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15906 		if eval test \${$cacheid+y}
   15907 then :
   15908   printf %s "(cached) " >&6
   15909 else case e in #(
   15910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15911 /* end confdefs.h.  */
   15912 int i;
   15913 int
   15914 main (void)
   15915 {
   15916 
   15917   ;
   15918   return 0;
   15919 }
   15920 _ACEOF
   15921 if ac_fn_c_try_link "$LINENO"
   15922 then :
   15923   eval $cacheid=yes
   15924 else case e in #(
   15925   e) eval $cacheid=no ;;
   15926 esac
   15927 fi
   15928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15929     conftest$ac_exeext conftest.$ac_ext ;;
   15930 esac
   15931 fi
   15932 
   15933 
   15934 		CFLAGS="$xorg_testset_save_CFLAGS"
   15935 
   15936 		eval supported=\$$cacheid
   15937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15938 printf "%s\n" "$supported" >&6; }
   15939 		if test "$supported" = "yes" ; then
   15940 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15941 			found="yes"
   15942 		fi
   15943 	fi
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 xorg_testset_save_CFLAGS="$CFLAGS"
   15960 
   15961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15964 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15965 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15966 then :
   15967   printf %s "(cached) " >&6
   15968 else case e in #(
   15969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15970 /* end confdefs.h.  */
   15971 int i;
   15972 _ACEOF
   15973 if ac_fn_c_try_compile "$LINENO"
   15974 then :
   15975   xorg_cv_cc_flag_unknown_warning_option=yes
   15976 else case e in #(
   15977   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15978 esac
   15979 fi
   15980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15981 esac
   15982 fi
   15983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15986 	CFLAGS="$xorg_testset_save_CFLAGS"
   15987 fi
   15988 
   15989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15992 	fi
   15993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15997 then :
   15998   printf %s "(cached) " >&6
   15999 else case e in #(
   16000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16001 /* end confdefs.h.  */
   16002 int i;
   16003 _ACEOF
   16004 if ac_fn_c_try_compile "$LINENO"
   16005 then :
   16006   xorg_cv_cc_flag_unused_command_line_argument=yes
   16007 else case e in #(
   16008   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16009 esac
   16010 fi
   16011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16012 esac
   16013 fi
   16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16017 	CFLAGS="$xorg_testset_save_CFLAGS"
   16018 fi
   16019 
   16020 found="no"
   16021 
   16022 	if test $found = "no" ; then
   16023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16025 		fi
   16026 
   16027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16029 		fi
   16030 
   16031 		CFLAGS="$CFLAGS -Werror=nonnull"
   16032 
   16033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16034 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16035 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16036 		if eval test \${$cacheid+y}
   16037 then :
   16038   printf %s "(cached) " >&6
   16039 else case e in #(
   16040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16041 /* end confdefs.h.  */
   16042 int i;
   16043 int
   16044 main (void)
   16045 {
   16046 
   16047   ;
   16048   return 0;
   16049 }
   16050 _ACEOF
   16051 if ac_fn_c_try_link "$LINENO"
   16052 then :
   16053   eval $cacheid=yes
   16054 else case e in #(
   16055   e) eval $cacheid=no ;;
   16056 esac
   16057 fi
   16058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16059     conftest$ac_exeext conftest.$ac_ext ;;
   16060 esac
   16061 fi
   16062 
   16063 
   16064 		CFLAGS="$xorg_testset_save_CFLAGS"
   16065 
   16066 		eval supported=\$$cacheid
   16067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16068 printf "%s\n" "$supported" >&6; }
   16069 		if test "$supported" = "yes" ; then
   16070 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16071 			found="yes"
   16072 		fi
   16073 	fi
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 xorg_testset_save_CFLAGS="$CFLAGS"
   16090 
   16091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16096 then :
   16097   printf %s "(cached) " >&6
   16098 else case e in #(
   16099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16100 /* end confdefs.h.  */
   16101 int i;
   16102 _ACEOF
   16103 if ac_fn_c_try_compile "$LINENO"
   16104 then :
   16105   xorg_cv_cc_flag_unknown_warning_option=yes
   16106 else case e in #(
   16107   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16108 esac
   16109 fi
   16110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16111 esac
   16112 fi
   16113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16116 	CFLAGS="$xorg_testset_save_CFLAGS"
   16117 fi
   16118 
   16119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16122 	fi
   16123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16127 then :
   16128   printf %s "(cached) " >&6
   16129 else case e in #(
   16130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16131 /* end confdefs.h.  */
   16132 int i;
   16133 _ACEOF
   16134 if ac_fn_c_try_compile "$LINENO"
   16135 then :
   16136   xorg_cv_cc_flag_unused_command_line_argument=yes
   16137 else case e in #(
   16138   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16139 esac
   16140 fi
   16141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16142 esac
   16143 fi
   16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16147 	CFLAGS="$xorg_testset_save_CFLAGS"
   16148 fi
   16149 
   16150 found="no"
   16151 
   16152 	if test $found = "no" ; then
   16153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16155 		fi
   16156 
   16157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16159 		fi
   16160 
   16161 		CFLAGS="$CFLAGS -Werror=init-self"
   16162 
   16163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16164 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16165 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16166 		if eval test \${$cacheid+y}
   16167 then :
   16168   printf %s "(cached) " >&6
   16169 else case e in #(
   16170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16171 /* end confdefs.h.  */
   16172 int i;
   16173 int
   16174 main (void)
   16175 {
   16176 
   16177   ;
   16178   return 0;
   16179 }
   16180 _ACEOF
   16181 if ac_fn_c_try_link "$LINENO"
   16182 then :
   16183   eval $cacheid=yes
   16184 else case e in #(
   16185   e) eval $cacheid=no ;;
   16186 esac
   16187 fi
   16188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16189     conftest$ac_exeext conftest.$ac_ext ;;
   16190 esac
   16191 fi
   16192 
   16193 
   16194 		CFLAGS="$xorg_testset_save_CFLAGS"
   16195 
   16196 		eval supported=\$$cacheid
   16197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16198 printf "%s\n" "$supported" >&6; }
   16199 		if test "$supported" = "yes" ; then
   16200 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16201 			found="yes"
   16202 		fi
   16203 	fi
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 xorg_testset_save_CFLAGS="$CFLAGS"
   16220 
   16221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16226 then :
   16227   printf %s "(cached) " >&6
   16228 else case e in #(
   16229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 int i;
   16232 _ACEOF
   16233 if ac_fn_c_try_compile "$LINENO"
   16234 then :
   16235   xorg_cv_cc_flag_unknown_warning_option=yes
   16236 else case e in #(
   16237   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16238 esac
   16239 fi
   16240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16241 esac
   16242 fi
   16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16246 	CFLAGS="$xorg_testset_save_CFLAGS"
   16247 fi
   16248 
   16249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16252 	fi
   16253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16257 then :
   16258   printf %s "(cached) " >&6
   16259 else case e in #(
   16260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16261 /* end confdefs.h.  */
   16262 int i;
   16263 _ACEOF
   16264 if ac_fn_c_try_compile "$LINENO"
   16265 then :
   16266   xorg_cv_cc_flag_unused_command_line_argument=yes
   16267 else case e in #(
   16268   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16269 esac
   16270 fi
   16271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16272 esac
   16273 fi
   16274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16277 	CFLAGS="$xorg_testset_save_CFLAGS"
   16278 fi
   16279 
   16280 found="no"
   16281 
   16282 	if test $found = "no" ; then
   16283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16285 		fi
   16286 
   16287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16289 		fi
   16290 
   16291 		CFLAGS="$CFLAGS -Werror=main"
   16292 
   16293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16294 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16295 		cacheid=xorg_cv_cc_flag__Werror_main
   16296 		if eval test \${$cacheid+y}
   16297 then :
   16298   printf %s "(cached) " >&6
   16299 else case e in #(
   16300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16301 /* end confdefs.h.  */
   16302 int i;
   16303 int
   16304 main (void)
   16305 {
   16306 
   16307   ;
   16308   return 0;
   16309 }
   16310 _ACEOF
   16311 if ac_fn_c_try_link "$LINENO"
   16312 then :
   16313   eval $cacheid=yes
   16314 else case e in #(
   16315   e) eval $cacheid=no ;;
   16316 esac
   16317 fi
   16318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16319     conftest$ac_exeext conftest.$ac_ext ;;
   16320 esac
   16321 fi
   16322 
   16323 
   16324 		CFLAGS="$xorg_testset_save_CFLAGS"
   16325 
   16326 		eval supported=\$$cacheid
   16327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16328 printf "%s\n" "$supported" >&6; }
   16329 		if test "$supported" = "yes" ; then
   16330 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16331 			found="yes"
   16332 		fi
   16333 	fi
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 xorg_testset_save_CFLAGS="$CFLAGS"
   16350 
   16351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16356 then :
   16357   printf %s "(cached) " >&6
   16358 else case e in #(
   16359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16360 /* end confdefs.h.  */
   16361 int i;
   16362 _ACEOF
   16363 if ac_fn_c_try_compile "$LINENO"
   16364 then :
   16365   xorg_cv_cc_flag_unknown_warning_option=yes
   16366 else case e in #(
   16367   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16368 esac
   16369 fi
   16370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16371 esac
   16372 fi
   16373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16376 	CFLAGS="$xorg_testset_save_CFLAGS"
   16377 fi
   16378 
   16379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16382 	fi
   16383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16387 then :
   16388   printf %s "(cached) " >&6
   16389 else case e in #(
   16390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16391 /* end confdefs.h.  */
   16392 int i;
   16393 _ACEOF
   16394 if ac_fn_c_try_compile "$LINENO"
   16395 then :
   16396   xorg_cv_cc_flag_unused_command_line_argument=yes
   16397 else case e in #(
   16398   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16399 esac
   16400 fi
   16401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16402 esac
   16403 fi
   16404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16407 	CFLAGS="$xorg_testset_save_CFLAGS"
   16408 fi
   16409 
   16410 found="no"
   16411 
   16412 	if test $found = "no" ; then
   16413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16415 		fi
   16416 
   16417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16419 		fi
   16420 
   16421 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16422 
   16423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16424 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16425 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16426 		if eval test \${$cacheid+y}
   16427 then :
   16428   printf %s "(cached) " >&6
   16429 else case e in #(
   16430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16431 /* end confdefs.h.  */
   16432 int i;
   16433 int
   16434 main (void)
   16435 {
   16436 
   16437   ;
   16438   return 0;
   16439 }
   16440 _ACEOF
   16441 if ac_fn_c_try_link "$LINENO"
   16442 then :
   16443   eval $cacheid=yes
   16444 else case e in #(
   16445   e) eval $cacheid=no ;;
   16446 esac
   16447 fi
   16448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16449     conftest$ac_exeext conftest.$ac_ext ;;
   16450 esac
   16451 fi
   16452 
   16453 
   16454 		CFLAGS="$xorg_testset_save_CFLAGS"
   16455 
   16456 		eval supported=\$$cacheid
   16457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16458 printf "%s\n" "$supported" >&6; }
   16459 		if test "$supported" = "yes" ; then
   16460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16461 			found="yes"
   16462 		fi
   16463 	fi
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 xorg_testset_save_CFLAGS="$CFLAGS"
   16480 
   16481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16486 then :
   16487   printf %s "(cached) " >&6
   16488 else case e in #(
   16489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16490 /* end confdefs.h.  */
   16491 int i;
   16492 _ACEOF
   16493 if ac_fn_c_try_compile "$LINENO"
   16494 then :
   16495   xorg_cv_cc_flag_unknown_warning_option=yes
   16496 else case e in #(
   16497   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16498 esac
   16499 fi
   16500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16501 esac
   16502 fi
   16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16506 	CFLAGS="$xorg_testset_save_CFLAGS"
   16507 fi
   16508 
   16509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16512 	fi
   16513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16517 then :
   16518   printf %s "(cached) " >&6
   16519 else case e in #(
   16520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16521 /* end confdefs.h.  */
   16522 int i;
   16523 _ACEOF
   16524 if ac_fn_c_try_compile "$LINENO"
   16525 then :
   16526   xorg_cv_cc_flag_unused_command_line_argument=yes
   16527 else case e in #(
   16528   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16529 esac
   16530 fi
   16531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16532 esac
   16533 fi
   16534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16537 	CFLAGS="$xorg_testset_save_CFLAGS"
   16538 fi
   16539 
   16540 found="no"
   16541 
   16542 	if test $found = "no" ; then
   16543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16545 		fi
   16546 
   16547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16549 		fi
   16550 
   16551 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16552 
   16553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16554 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16555 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16556 		if eval test \${$cacheid+y}
   16557 then :
   16558   printf %s "(cached) " >&6
   16559 else case e in #(
   16560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 int
   16564 main (void)
   16565 {
   16566 
   16567   ;
   16568   return 0;
   16569 }
   16570 _ACEOF
   16571 if ac_fn_c_try_link "$LINENO"
   16572 then :
   16573   eval $cacheid=yes
   16574 else case e in #(
   16575   e) eval $cacheid=no ;;
   16576 esac
   16577 fi
   16578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16579     conftest$ac_exeext conftest.$ac_ext ;;
   16580 esac
   16581 fi
   16582 
   16583 
   16584 		CFLAGS="$xorg_testset_save_CFLAGS"
   16585 
   16586 		eval supported=\$$cacheid
   16587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16588 printf "%s\n" "$supported" >&6; }
   16589 		if test "$supported" = "yes" ; then
   16590 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16591 			found="yes"
   16592 		fi
   16593 	fi
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 xorg_testset_save_CFLAGS="$CFLAGS"
   16610 
   16611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16616 then :
   16617   printf %s "(cached) " >&6
   16618 else case e in #(
   16619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16620 /* end confdefs.h.  */
   16621 int i;
   16622 _ACEOF
   16623 if ac_fn_c_try_compile "$LINENO"
   16624 then :
   16625   xorg_cv_cc_flag_unknown_warning_option=yes
   16626 else case e in #(
   16627   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16628 esac
   16629 fi
   16630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16631 esac
   16632 fi
   16633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16636 	CFLAGS="$xorg_testset_save_CFLAGS"
   16637 fi
   16638 
   16639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16642 	fi
   16643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16647 then :
   16648   printf %s "(cached) " >&6
   16649 else case e in #(
   16650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16651 /* end confdefs.h.  */
   16652 int i;
   16653 _ACEOF
   16654 if ac_fn_c_try_compile "$LINENO"
   16655 then :
   16656   xorg_cv_cc_flag_unused_command_line_argument=yes
   16657 else case e in #(
   16658   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16659 esac
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16662 esac
   16663 fi
   16664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16667 	CFLAGS="$xorg_testset_save_CFLAGS"
   16668 fi
   16669 
   16670 found="no"
   16671 
   16672 	if test $found = "no" ; then
   16673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16675 		fi
   16676 
   16677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16679 		fi
   16680 
   16681 		CFLAGS="$CFLAGS -Werror=return-type"
   16682 
   16683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16684 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16685 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16686 		if eval test \${$cacheid+y}
   16687 then :
   16688   printf %s "(cached) " >&6
   16689 else case e in #(
   16690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16691 /* end confdefs.h.  */
   16692 int i;
   16693 int
   16694 main (void)
   16695 {
   16696 
   16697   ;
   16698   return 0;
   16699 }
   16700 _ACEOF
   16701 if ac_fn_c_try_link "$LINENO"
   16702 then :
   16703   eval $cacheid=yes
   16704 else case e in #(
   16705   e) eval $cacheid=no ;;
   16706 esac
   16707 fi
   16708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16709     conftest$ac_exeext conftest.$ac_ext ;;
   16710 esac
   16711 fi
   16712 
   16713 
   16714 		CFLAGS="$xorg_testset_save_CFLAGS"
   16715 
   16716 		eval supported=\$$cacheid
   16717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16718 printf "%s\n" "$supported" >&6; }
   16719 		if test "$supported" = "yes" ; then
   16720 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16721 			found="yes"
   16722 		fi
   16723 	fi
   16724 
   16725 	if test $found = "no" ; then
   16726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16728 		fi
   16729 
   16730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16732 		fi
   16733 
   16734 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16735 
   16736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16737 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16738 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16739 		if eval test \${$cacheid+y}
   16740 then :
   16741   printf %s "(cached) " >&6
   16742 else case e in #(
   16743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16744 /* end confdefs.h.  */
   16745 int i;
   16746 int
   16747 main (void)
   16748 {
   16749 
   16750   ;
   16751   return 0;
   16752 }
   16753 _ACEOF
   16754 if ac_fn_c_try_link "$LINENO"
   16755 then :
   16756   eval $cacheid=yes
   16757 else case e in #(
   16758   e) eval $cacheid=no ;;
   16759 esac
   16760 fi
   16761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16762     conftest$ac_exeext conftest.$ac_ext ;;
   16763 esac
   16764 fi
   16765 
   16766 
   16767 		CFLAGS="$xorg_testset_save_CFLAGS"
   16768 
   16769 		eval supported=\$$cacheid
   16770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16771 printf "%s\n" "$supported" >&6; }
   16772 		if test "$supported" = "yes" ; then
   16773 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16774 			found="yes"
   16775 		fi
   16776 	fi
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 xorg_testset_save_CFLAGS="$CFLAGS"
   16793 
   16794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16796 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16797 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16798 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16799 then :
   16800   printf %s "(cached) " >&6
   16801 else case e in #(
   16802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16803 /* end confdefs.h.  */
   16804 int i;
   16805 _ACEOF
   16806 if ac_fn_c_try_compile "$LINENO"
   16807 then :
   16808   xorg_cv_cc_flag_unknown_warning_option=yes
   16809 else case e in #(
   16810   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16811 esac
   16812 fi
   16813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16814 esac
   16815 fi
   16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16817 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16819 	CFLAGS="$xorg_testset_save_CFLAGS"
   16820 fi
   16821 
   16822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16825 	fi
   16826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16830 then :
   16831   printf %s "(cached) " >&6
   16832 else case e in #(
   16833   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16834 /* end confdefs.h.  */
   16835 int i;
   16836 _ACEOF
   16837 if ac_fn_c_try_compile "$LINENO"
   16838 then :
   16839   xorg_cv_cc_flag_unused_command_line_argument=yes
   16840 else case e in #(
   16841   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16842 esac
   16843 fi
   16844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16845 esac
   16846 fi
   16847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16850 	CFLAGS="$xorg_testset_save_CFLAGS"
   16851 fi
   16852 
   16853 found="no"
   16854 
   16855 	if test $found = "no" ; then
   16856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16858 		fi
   16859 
   16860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16862 		fi
   16863 
   16864 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16865 
   16866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16867 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16868 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16869 		if eval test \${$cacheid+y}
   16870 then :
   16871   printf %s "(cached) " >&6
   16872 else case e in #(
   16873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16874 /* end confdefs.h.  */
   16875 int i;
   16876 int
   16877 main (void)
   16878 {
   16879 
   16880   ;
   16881   return 0;
   16882 }
   16883 _ACEOF
   16884 if ac_fn_c_try_link "$LINENO"
   16885 then :
   16886   eval $cacheid=yes
   16887 else case e in #(
   16888   e) eval $cacheid=no ;;
   16889 esac
   16890 fi
   16891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16892     conftest$ac_exeext conftest.$ac_ext ;;
   16893 esac
   16894 fi
   16895 
   16896 
   16897 		CFLAGS="$xorg_testset_save_CFLAGS"
   16898 
   16899 		eval supported=\$$cacheid
   16900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16901 printf "%s\n" "$supported" >&6; }
   16902 		if test "$supported" = "yes" ; then
   16903 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16904 			found="yes"
   16905 		fi
   16906 	fi
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 
   16922 xorg_testset_save_CFLAGS="$CFLAGS"
   16923 
   16924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16927 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16928 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16929 then :
   16930   printf %s "(cached) " >&6
   16931 else case e in #(
   16932   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16933 /* end confdefs.h.  */
   16934 int i;
   16935 _ACEOF
   16936 if ac_fn_c_try_compile "$LINENO"
   16937 then :
   16938   xorg_cv_cc_flag_unknown_warning_option=yes
   16939 else case e in #(
   16940   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16941 esac
   16942 fi
   16943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16944 esac
   16945 fi
   16946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16947 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16949 	CFLAGS="$xorg_testset_save_CFLAGS"
   16950 fi
   16951 
   16952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16955 	fi
   16956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16958 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16959 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16960 then :
   16961   printf %s "(cached) " >&6
   16962 else case e in #(
   16963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16964 /* end confdefs.h.  */
   16965 int i;
   16966 _ACEOF
   16967 if ac_fn_c_try_compile "$LINENO"
   16968 then :
   16969   xorg_cv_cc_flag_unused_command_line_argument=yes
   16970 else case e in #(
   16971   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16972 esac
   16973 fi
   16974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16975 esac
   16976 fi
   16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16978 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16980 	CFLAGS="$xorg_testset_save_CFLAGS"
   16981 fi
   16982 
   16983 found="no"
   16984 
   16985 	if test $found = "no" ; then
   16986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16988 		fi
   16989 
   16990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16992 		fi
   16993 
   16994 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16995 
   16996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16997 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16998 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16999 		if eval test \${$cacheid+y}
   17000 then :
   17001   printf %s "(cached) " >&6
   17002 else case e in #(
   17003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17004 /* end confdefs.h.  */
   17005 int i;
   17006 int
   17007 main (void)
   17008 {
   17009 
   17010   ;
   17011   return 0;
   17012 }
   17013 _ACEOF
   17014 if ac_fn_c_try_link "$LINENO"
   17015 then :
   17016   eval $cacheid=yes
   17017 else case e in #(
   17018   e) eval $cacheid=no ;;
   17019 esac
   17020 fi
   17021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17022     conftest$ac_exeext conftest.$ac_ext ;;
   17023 esac
   17024 fi
   17025 
   17026 
   17027 		CFLAGS="$xorg_testset_save_CFLAGS"
   17028 
   17029 		eval supported=\$$cacheid
   17030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17031 printf "%s\n" "$supported" >&6; }
   17032 		if test "$supported" = "yes" ; then
   17033 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17034 			found="yes"
   17035 		fi
   17036 	fi
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 xorg_testset_save_CFLAGS="$CFLAGS"
   17053 
   17054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17059 then :
   17060   printf %s "(cached) " >&6
   17061 else case e in #(
   17062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17063 /* end confdefs.h.  */
   17064 int i;
   17065 _ACEOF
   17066 if ac_fn_c_try_compile "$LINENO"
   17067 then :
   17068   xorg_cv_cc_flag_unknown_warning_option=yes
   17069 else case e in #(
   17070   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17071 esac
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17074 esac
   17075 fi
   17076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17077 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17079 	CFLAGS="$xorg_testset_save_CFLAGS"
   17080 fi
   17081 
   17082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17085 	fi
   17086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17090 then :
   17091   printf %s "(cached) " >&6
   17092 else case e in #(
   17093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094 /* end confdefs.h.  */
   17095 int i;
   17096 _ACEOF
   17097 if ac_fn_c_try_compile "$LINENO"
   17098 then :
   17099   xorg_cv_cc_flag_unused_command_line_argument=yes
   17100 else case e in #(
   17101   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17102 esac
   17103 fi
   17104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17105 esac
   17106 fi
   17107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17108 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17110 	CFLAGS="$xorg_testset_save_CFLAGS"
   17111 fi
   17112 
   17113 found="no"
   17114 
   17115 	if test $found = "no" ; then
   17116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17118 		fi
   17119 
   17120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17122 		fi
   17123 
   17124 		CFLAGS="$CFLAGS -Werror=write-strings"
   17125 
   17126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17127 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17128 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17129 		if eval test \${$cacheid+y}
   17130 then :
   17131   printf %s "(cached) " >&6
   17132 else case e in #(
   17133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17134 /* end confdefs.h.  */
   17135 int i;
   17136 int
   17137 main (void)
   17138 {
   17139 
   17140   ;
   17141   return 0;
   17142 }
   17143 _ACEOF
   17144 if ac_fn_c_try_link "$LINENO"
   17145 then :
   17146   eval $cacheid=yes
   17147 else case e in #(
   17148   e) eval $cacheid=no ;;
   17149 esac
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17152     conftest$ac_exeext conftest.$ac_ext ;;
   17153 esac
   17154 fi
   17155 
   17156 
   17157 		CFLAGS="$xorg_testset_save_CFLAGS"
   17158 
   17159 		eval supported=\$$cacheid
   17160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17161 printf "%s\n" "$supported" >&6; }
   17162 		if test "$supported" = "yes" ; then
   17163 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17164 			found="yes"
   17165 		fi
   17166 	fi
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 
   17182 xorg_testset_save_CFLAGS="$CFLAGS"
   17183 
   17184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17187 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17188 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17189 then :
   17190   printf %s "(cached) " >&6
   17191 else case e in #(
   17192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17193 /* end confdefs.h.  */
   17194 int i;
   17195 _ACEOF
   17196 if ac_fn_c_try_compile "$LINENO"
   17197 then :
   17198   xorg_cv_cc_flag_unknown_warning_option=yes
   17199 else case e in #(
   17200   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17201 esac
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17204 esac
   17205 fi
   17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17207 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17209 	CFLAGS="$xorg_testset_save_CFLAGS"
   17210 fi
   17211 
   17212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17215 	fi
   17216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17218 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17219 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17220 then :
   17221   printf %s "(cached) " >&6
   17222 else case e in #(
   17223   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17224 /* end confdefs.h.  */
   17225 int i;
   17226 _ACEOF
   17227 if ac_fn_c_try_compile "$LINENO"
   17228 then :
   17229   xorg_cv_cc_flag_unused_command_line_argument=yes
   17230 else case e in #(
   17231   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17232 esac
   17233 fi
   17234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17235 esac
   17236 fi
   17237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17238 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17240 	CFLAGS="$xorg_testset_save_CFLAGS"
   17241 fi
   17242 
   17243 found="no"
   17244 
   17245 	if test $found = "no" ; then
   17246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17248 		fi
   17249 
   17250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17252 		fi
   17253 
   17254 		CFLAGS="$CFLAGS -Werror=address"
   17255 
   17256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17257 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17258 		cacheid=xorg_cv_cc_flag__Werror_address
   17259 		if eval test \${$cacheid+y}
   17260 then :
   17261   printf %s "(cached) " >&6
   17262 else case e in #(
   17263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17264 /* end confdefs.h.  */
   17265 int i;
   17266 int
   17267 main (void)
   17268 {
   17269 
   17270   ;
   17271   return 0;
   17272 }
   17273 _ACEOF
   17274 if ac_fn_c_try_link "$LINENO"
   17275 then :
   17276   eval $cacheid=yes
   17277 else case e in #(
   17278   e) eval $cacheid=no ;;
   17279 esac
   17280 fi
   17281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17282     conftest$ac_exeext conftest.$ac_ext ;;
   17283 esac
   17284 fi
   17285 
   17286 
   17287 		CFLAGS="$xorg_testset_save_CFLAGS"
   17288 
   17289 		eval supported=\$$cacheid
   17290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17291 printf "%s\n" "$supported" >&6; }
   17292 		if test "$supported" = "yes" ; then
   17293 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17294 			found="yes"
   17295 		fi
   17296 	fi
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 xorg_testset_save_CFLAGS="$CFLAGS"
   17313 
   17314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17319 then :
   17320   printf %s "(cached) " >&6
   17321 else case e in #(
   17322   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17323 /* end confdefs.h.  */
   17324 int i;
   17325 _ACEOF
   17326 if ac_fn_c_try_compile "$LINENO"
   17327 then :
   17328   xorg_cv_cc_flag_unknown_warning_option=yes
   17329 else case e in #(
   17330   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17331 esac
   17332 fi
   17333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17334 esac
   17335 fi
   17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17339 	CFLAGS="$xorg_testset_save_CFLAGS"
   17340 fi
   17341 
   17342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17345 	fi
   17346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17350 then :
   17351   printf %s "(cached) " >&6
   17352 else case e in #(
   17353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17354 /* end confdefs.h.  */
   17355 int i;
   17356 _ACEOF
   17357 if ac_fn_c_try_compile "$LINENO"
   17358 then :
   17359   xorg_cv_cc_flag_unused_command_line_argument=yes
   17360 else case e in #(
   17361   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17362 esac
   17363 fi
   17364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17365 esac
   17366 fi
   17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17368 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17370 	CFLAGS="$xorg_testset_save_CFLAGS"
   17371 fi
   17372 
   17373 found="no"
   17374 
   17375 	if test $found = "no" ; then
   17376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17378 		fi
   17379 
   17380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17382 		fi
   17383 
   17384 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17385 
   17386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17387 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17388 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17389 		if eval test \${$cacheid+y}
   17390 then :
   17391   printf %s "(cached) " >&6
   17392 else case e in #(
   17393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17394 /* end confdefs.h.  */
   17395 int i;
   17396 int
   17397 main (void)
   17398 {
   17399 
   17400   ;
   17401   return 0;
   17402 }
   17403 _ACEOF
   17404 if ac_fn_c_try_link "$LINENO"
   17405 then :
   17406   eval $cacheid=yes
   17407 else case e in #(
   17408   e) eval $cacheid=no ;;
   17409 esac
   17410 fi
   17411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17412     conftest$ac_exeext conftest.$ac_ext ;;
   17413 esac
   17414 fi
   17415 
   17416 
   17417 		CFLAGS="$xorg_testset_save_CFLAGS"
   17418 
   17419 		eval supported=\$$cacheid
   17420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17421 printf "%s\n" "$supported" >&6; }
   17422 		if test "$supported" = "yes" ; then
   17423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17424 			found="yes"
   17425 		fi
   17426 	fi
   17427 
   17428 	if test $found = "no" ; then
   17429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17431 		fi
   17432 
   17433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17435 		fi
   17436 
   17437 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17438 
   17439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17440 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17441 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17442 		if eval test \${$cacheid+y}
   17443 then :
   17444   printf %s "(cached) " >&6
   17445 else case e in #(
   17446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17447 /* end confdefs.h.  */
   17448 int i;
   17449 int
   17450 main (void)
   17451 {
   17452 
   17453   ;
   17454   return 0;
   17455 }
   17456 _ACEOF
   17457 if ac_fn_c_try_link "$LINENO"
   17458 then :
   17459   eval $cacheid=yes
   17460 else case e in #(
   17461   e) eval $cacheid=no ;;
   17462 esac
   17463 fi
   17464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17465     conftest$ac_exeext conftest.$ac_ext ;;
   17466 esac
   17467 fi
   17468 
   17469 
   17470 		CFLAGS="$xorg_testset_save_CFLAGS"
   17471 
   17472 		eval supported=\$$cacheid
   17473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17474 printf "%s\n" "$supported" >&6; }
   17475 		if test "$supported" = "yes" ; then
   17476 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17477 			found="yes"
   17478 		fi
   17479 	fi
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 xorg_testset_save_CFLAGS="$CFLAGS"
   17496 
   17497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17502 then :
   17503   printf %s "(cached) " >&6
   17504 else case e in #(
   17505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17506 /* end confdefs.h.  */
   17507 int i;
   17508 _ACEOF
   17509 if ac_fn_c_try_compile "$LINENO"
   17510 then :
   17511   xorg_cv_cc_flag_unknown_warning_option=yes
   17512 else case e in #(
   17513   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17514 esac
   17515 fi
   17516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17517 esac
   17518 fi
   17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17522 	CFLAGS="$xorg_testset_save_CFLAGS"
   17523 fi
   17524 
   17525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17528 	fi
   17529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17533 then :
   17534   printf %s "(cached) " >&6
   17535 else case e in #(
   17536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17537 /* end confdefs.h.  */
   17538 int i;
   17539 _ACEOF
   17540 if ac_fn_c_try_compile "$LINENO"
   17541 then :
   17542   xorg_cv_cc_flag_unused_command_line_argument=yes
   17543 else case e in #(
   17544   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17545 esac
   17546 fi
   17547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17548 esac
   17549 fi
   17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17553 	CFLAGS="$xorg_testset_save_CFLAGS"
   17554 fi
   17555 
   17556 found="no"
   17557 
   17558 	if test $found = "no" ; then
   17559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17561 		fi
   17562 
   17563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17565 		fi
   17566 
   17567 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17568 
   17569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17570 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17571 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17572 		if eval test \${$cacheid+y}
   17573 then :
   17574   printf %s "(cached) " >&6
   17575 else case e in #(
   17576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17577 /* end confdefs.h.  */
   17578 int i;
   17579 int
   17580 main (void)
   17581 {
   17582 
   17583   ;
   17584   return 0;
   17585 }
   17586 _ACEOF
   17587 if ac_fn_c_try_link "$LINENO"
   17588 then :
   17589   eval $cacheid=yes
   17590 else case e in #(
   17591   e) eval $cacheid=no ;;
   17592 esac
   17593 fi
   17594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17595     conftest$ac_exeext conftest.$ac_ext ;;
   17596 esac
   17597 fi
   17598 
   17599 
   17600 		CFLAGS="$xorg_testset_save_CFLAGS"
   17601 
   17602 		eval supported=\$$cacheid
   17603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17604 printf "%s\n" "$supported" >&6; }
   17605 		if test "$supported" = "yes" ; then
   17606 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17607 			found="yes"
   17608 		fi
   17609 	fi
   17610 
   17611  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17612 else
   17613 { 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
   17614 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;}
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 xorg_testset_save_CFLAGS="$CFLAGS"
   17629 
   17630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17633 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17634 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17635 then :
   17636   printf %s "(cached) " >&6
   17637 else case e in #(
   17638   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17639 /* end confdefs.h.  */
   17640 int i;
   17641 _ACEOF
   17642 if ac_fn_c_try_compile "$LINENO"
   17643 then :
   17644   xorg_cv_cc_flag_unknown_warning_option=yes
   17645 else case e in #(
   17646   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17647 esac
   17648 fi
   17649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17650 esac
   17651 fi
   17652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17653 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17655 	CFLAGS="$xorg_testset_save_CFLAGS"
   17656 fi
   17657 
   17658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17661 	fi
   17662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17664 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17665 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17666 then :
   17667   printf %s "(cached) " >&6
   17668 else case e in #(
   17669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17670 /* end confdefs.h.  */
   17671 int i;
   17672 _ACEOF
   17673 if ac_fn_c_try_compile "$LINENO"
   17674 then :
   17675   xorg_cv_cc_flag_unused_command_line_argument=yes
   17676 else case e in #(
   17677   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17678 esac
   17679 fi
   17680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17681 esac
   17682 fi
   17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17684 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17686 	CFLAGS="$xorg_testset_save_CFLAGS"
   17687 fi
   17688 
   17689 found="no"
   17690 
   17691 	if test $found = "no" ; then
   17692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17694 		fi
   17695 
   17696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17698 		fi
   17699 
   17700 		CFLAGS="$CFLAGS -Wimplicit"
   17701 
   17702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17703 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17704 		cacheid=xorg_cv_cc_flag__Wimplicit
   17705 		if eval test \${$cacheid+y}
   17706 then :
   17707   printf %s "(cached) " >&6
   17708 else case e in #(
   17709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17710 /* end confdefs.h.  */
   17711 int i;
   17712 int
   17713 main (void)
   17714 {
   17715 
   17716   ;
   17717   return 0;
   17718 }
   17719 _ACEOF
   17720 if ac_fn_c_try_link "$LINENO"
   17721 then :
   17722   eval $cacheid=yes
   17723 else case e in #(
   17724   e) eval $cacheid=no ;;
   17725 esac
   17726 fi
   17727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17728     conftest$ac_exeext conftest.$ac_ext ;;
   17729 esac
   17730 fi
   17731 
   17732 
   17733 		CFLAGS="$xorg_testset_save_CFLAGS"
   17734 
   17735 		eval supported=\$$cacheid
   17736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17737 printf "%s\n" "$supported" >&6; }
   17738 		if test "$supported" = "yes" ; then
   17739 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17740 			found="yes"
   17741 		fi
   17742 	fi
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 xorg_testset_save_CFLAGS="$CFLAGS"
   17759 
   17760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17765 then :
   17766   printf %s "(cached) " >&6
   17767 else case e in #(
   17768   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17769 /* end confdefs.h.  */
   17770 int i;
   17771 _ACEOF
   17772 if ac_fn_c_try_compile "$LINENO"
   17773 then :
   17774   xorg_cv_cc_flag_unknown_warning_option=yes
   17775 else case e in #(
   17776   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17777 esac
   17778 fi
   17779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17780 esac
   17781 fi
   17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17783 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17785 	CFLAGS="$xorg_testset_save_CFLAGS"
   17786 fi
   17787 
   17788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17791 	fi
   17792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17794 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17795 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17796 then :
   17797   printf %s "(cached) " >&6
   17798 else case e in #(
   17799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17800 /* end confdefs.h.  */
   17801 int i;
   17802 _ACEOF
   17803 if ac_fn_c_try_compile "$LINENO"
   17804 then :
   17805   xorg_cv_cc_flag_unused_command_line_argument=yes
   17806 else case e in #(
   17807   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17808 esac
   17809 fi
   17810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17811 esac
   17812 fi
   17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17816 	CFLAGS="$xorg_testset_save_CFLAGS"
   17817 fi
   17818 
   17819 found="no"
   17820 
   17821 	if test $found = "no" ; then
   17822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17824 		fi
   17825 
   17826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17828 		fi
   17829 
   17830 		CFLAGS="$CFLAGS -Wnonnull"
   17831 
   17832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17833 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17834 		cacheid=xorg_cv_cc_flag__Wnonnull
   17835 		if eval test \${$cacheid+y}
   17836 then :
   17837   printf %s "(cached) " >&6
   17838 else case e in #(
   17839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17840 /* end confdefs.h.  */
   17841 int i;
   17842 int
   17843 main (void)
   17844 {
   17845 
   17846   ;
   17847   return 0;
   17848 }
   17849 _ACEOF
   17850 if ac_fn_c_try_link "$LINENO"
   17851 then :
   17852   eval $cacheid=yes
   17853 else case e in #(
   17854   e) eval $cacheid=no ;;
   17855 esac
   17856 fi
   17857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17858     conftest$ac_exeext conftest.$ac_ext ;;
   17859 esac
   17860 fi
   17861 
   17862 
   17863 		CFLAGS="$xorg_testset_save_CFLAGS"
   17864 
   17865 		eval supported=\$$cacheid
   17866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17867 printf "%s\n" "$supported" >&6; }
   17868 		if test "$supported" = "yes" ; then
   17869 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17870 			found="yes"
   17871 		fi
   17872 	fi
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 
   17887 
   17888 xorg_testset_save_CFLAGS="$CFLAGS"
   17889 
   17890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17892 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17893 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17894 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17895 then :
   17896   printf %s "(cached) " >&6
   17897 else case e in #(
   17898   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17899 /* end confdefs.h.  */
   17900 int i;
   17901 _ACEOF
   17902 if ac_fn_c_try_compile "$LINENO"
   17903 then :
   17904   xorg_cv_cc_flag_unknown_warning_option=yes
   17905 else case e in #(
   17906   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17907 esac
   17908 fi
   17909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17910 esac
   17911 fi
   17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17915 	CFLAGS="$xorg_testset_save_CFLAGS"
   17916 fi
   17917 
   17918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17921 	fi
   17922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17926 then :
   17927   printf %s "(cached) " >&6
   17928 else case e in #(
   17929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17930 /* end confdefs.h.  */
   17931 int i;
   17932 _ACEOF
   17933 if ac_fn_c_try_compile "$LINENO"
   17934 then :
   17935   xorg_cv_cc_flag_unused_command_line_argument=yes
   17936 else case e in #(
   17937   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17938 esac
   17939 fi
   17940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17941 esac
   17942 fi
   17943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17946 	CFLAGS="$xorg_testset_save_CFLAGS"
   17947 fi
   17948 
   17949 found="no"
   17950 
   17951 	if test $found = "no" ; then
   17952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17954 		fi
   17955 
   17956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17958 		fi
   17959 
   17960 		CFLAGS="$CFLAGS -Winit-self"
   17961 
   17962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17963 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17964 		cacheid=xorg_cv_cc_flag__Winit_self
   17965 		if eval test \${$cacheid+y}
   17966 then :
   17967   printf %s "(cached) " >&6
   17968 else case e in #(
   17969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17970 /* end confdefs.h.  */
   17971 int i;
   17972 int
   17973 main (void)
   17974 {
   17975 
   17976   ;
   17977   return 0;
   17978 }
   17979 _ACEOF
   17980 if ac_fn_c_try_link "$LINENO"
   17981 then :
   17982   eval $cacheid=yes
   17983 else case e in #(
   17984   e) eval $cacheid=no ;;
   17985 esac
   17986 fi
   17987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17988     conftest$ac_exeext conftest.$ac_ext ;;
   17989 esac
   17990 fi
   17991 
   17992 
   17993 		CFLAGS="$xorg_testset_save_CFLAGS"
   17994 
   17995 		eval supported=\$$cacheid
   17996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17997 printf "%s\n" "$supported" >&6; }
   17998 		if test "$supported" = "yes" ; then
   17999 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18000 			found="yes"
   18001 		fi
   18002 	fi
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 xorg_testset_save_CFLAGS="$CFLAGS"
   18019 
   18020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18023 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18024 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18025 then :
   18026   printf %s "(cached) " >&6
   18027 else case e in #(
   18028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18029 /* end confdefs.h.  */
   18030 int i;
   18031 _ACEOF
   18032 if ac_fn_c_try_compile "$LINENO"
   18033 then :
   18034   xorg_cv_cc_flag_unknown_warning_option=yes
   18035 else case e in #(
   18036   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18037 esac
   18038 fi
   18039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18040 esac
   18041 fi
   18042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18045 	CFLAGS="$xorg_testset_save_CFLAGS"
   18046 fi
   18047 
   18048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18051 	fi
   18052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18056 then :
   18057   printf %s "(cached) " >&6
   18058 else case e in #(
   18059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18060 /* end confdefs.h.  */
   18061 int i;
   18062 _ACEOF
   18063 if ac_fn_c_try_compile "$LINENO"
   18064 then :
   18065   xorg_cv_cc_flag_unused_command_line_argument=yes
   18066 else case e in #(
   18067   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18068 esac
   18069 fi
   18070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18071 esac
   18072 fi
   18073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18076 	CFLAGS="$xorg_testset_save_CFLAGS"
   18077 fi
   18078 
   18079 found="no"
   18080 
   18081 	if test $found = "no" ; then
   18082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18084 		fi
   18085 
   18086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18088 		fi
   18089 
   18090 		CFLAGS="$CFLAGS -Wmain"
   18091 
   18092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18093 printf %s "checking if $CC supports -Wmain... " >&6; }
   18094 		cacheid=xorg_cv_cc_flag__Wmain
   18095 		if eval test \${$cacheid+y}
   18096 then :
   18097   printf %s "(cached) " >&6
   18098 else case e in #(
   18099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18100 /* end confdefs.h.  */
   18101 int i;
   18102 int
   18103 main (void)
   18104 {
   18105 
   18106   ;
   18107   return 0;
   18108 }
   18109 _ACEOF
   18110 if ac_fn_c_try_link "$LINENO"
   18111 then :
   18112   eval $cacheid=yes
   18113 else case e in #(
   18114   e) eval $cacheid=no ;;
   18115 esac
   18116 fi
   18117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18118     conftest$ac_exeext conftest.$ac_ext ;;
   18119 esac
   18120 fi
   18121 
   18122 
   18123 		CFLAGS="$xorg_testset_save_CFLAGS"
   18124 
   18125 		eval supported=\$$cacheid
   18126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18127 printf "%s\n" "$supported" >&6; }
   18128 		if test "$supported" = "yes" ; then
   18129 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18130 			found="yes"
   18131 		fi
   18132 	fi
   18133 
   18134 
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 xorg_testset_save_CFLAGS="$CFLAGS"
   18149 
   18150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18152 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18153 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18154 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18155 then :
   18156   printf %s "(cached) " >&6
   18157 else case e in #(
   18158   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18159 /* end confdefs.h.  */
   18160 int i;
   18161 _ACEOF
   18162 if ac_fn_c_try_compile "$LINENO"
   18163 then :
   18164   xorg_cv_cc_flag_unknown_warning_option=yes
   18165 else case e in #(
   18166   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18167 esac
   18168 fi
   18169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18170 esac
   18171 fi
   18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18175 	CFLAGS="$xorg_testset_save_CFLAGS"
   18176 fi
   18177 
   18178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18181 	fi
   18182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18186 then :
   18187   printf %s "(cached) " >&6
   18188 else case e in #(
   18189   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18190 /* end confdefs.h.  */
   18191 int i;
   18192 _ACEOF
   18193 if ac_fn_c_try_compile "$LINENO"
   18194 then :
   18195   xorg_cv_cc_flag_unused_command_line_argument=yes
   18196 else case e in #(
   18197   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18198 esac
   18199 fi
   18200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18201 esac
   18202 fi
   18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18204 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18206 	CFLAGS="$xorg_testset_save_CFLAGS"
   18207 fi
   18208 
   18209 found="no"
   18210 
   18211 	if test $found = "no" ; then
   18212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18214 		fi
   18215 
   18216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18218 		fi
   18219 
   18220 		CFLAGS="$CFLAGS -Wmissing-braces"
   18221 
   18222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18223 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18224 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18225 		if eval test \${$cacheid+y}
   18226 then :
   18227   printf %s "(cached) " >&6
   18228 else case e in #(
   18229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18230 /* end confdefs.h.  */
   18231 int i;
   18232 int
   18233 main (void)
   18234 {
   18235 
   18236   ;
   18237   return 0;
   18238 }
   18239 _ACEOF
   18240 if ac_fn_c_try_link "$LINENO"
   18241 then :
   18242   eval $cacheid=yes
   18243 else case e in #(
   18244   e) eval $cacheid=no ;;
   18245 esac
   18246 fi
   18247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18248     conftest$ac_exeext conftest.$ac_ext ;;
   18249 esac
   18250 fi
   18251 
   18252 
   18253 		CFLAGS="$xorg_testset_save_CFLAGS"
   18254 
   18255 		eval supported=\$$cacheid
   18256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18257 printf "%s\n" "$supported" >&6; }
   18258 		if test "$supported" = "yes" ; then
   18259 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18260 			found="yes"
   18261 		fi
   18262 	fi
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 
   18274 
   18275 
   18276 
   18277 
   18278 xorg_testset_save_CFLAGS="$CFLAGS"
   18279 
   18280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18283 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18284 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18285 then :
   18286   printf %s "(cached) " >&6
   18287 else case e in #(
   18288   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18289 /* end confdefs.h.  */
   18290 int i;
   18291 _ACEOF
   18292 if ac_fn_c_try_compile "$LINENO"
   18293 then :
   18294   xorg_cv_cc_flag_unknown_warning_option=yes
   18295 else case e in #(
   18296   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18297 esac
   18298 fi
   18299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18300 esac
   18301 fi
   18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18303 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18305 	CFLAGS="$xorg_testset_save_CFLAGS"
   18306 fi
   18307 
   18308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18311 	fi
   18312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18314 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18315 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18316 then :
   18317   printf %s "(cached) " >&6
   18318 else case e in #(
   18319   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18320 /* end confdefs.h.  */
   18321 int i;
   18322 _ACEOF
   18323 if ac_fn_c_try_compile "$LINENO"
   18324 then :
   18325   xorg_cv_cc_flag_unused_command_line_argument=yes
   18326 else case e in #(
   18327   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18328 esac
   18329 fi
   18330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18331 esac
   18332 fi
   18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18334 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18336 	CFLAGS="$xorg_testset_save_CFLAGS"
   18337 fi
   18338 
   18339 found="no"
   18340 
   18341 	if test $found = "no" ; then
   18342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18344 		fi
   18345 
   18346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18348 		fi
   18349 
   18350 		CFLAGS="$CFLAGS -Wsequence-point"
   18351 
   18352 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18353 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18354 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18355 		if eval test \${$cacheid+y}
   18356 then :
   18357   printf %s "(cached) " >&6
   18358 else case e in #(
   18359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18360 /* end confdefs.h.  */
   18361 int i;
   18362 int
   18363 main (void)
   18364 {
   18365 
   18366   ;
   18367   return 0;
   18368 }
   18369 _ACEOF
   18370 if ac_fn_c_try_link "$LINENO"
   18371 then :
   18372   eval $cacheid=yes
   18373 else case e in #(
   18374   e) eval $cacheid=no ;;
   18375 esac
   18376 fi
   18377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18378     conftest$ac_exeext conftest.$ac_ext ;;
   18379 esac
   18380 fi
   18381 
   18382 
   18383 		CFLAGS="$xorg_testset_save_CFLAGS"
   18384 
   18385 		eval supported=\$$cacheid
   18386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18387 printf "%s\n" "$supported" >&6; }
   18388 		if test "$supported" = "yes" ; then
   18389 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18390 			found="yes"
   18391 		fi
   18392 	fi
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 xorg_testset_save_CFLAGS="$CFLAGS"
   18409 
   18410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18412 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18413 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18414 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18415 then :
   18416   printf %s "(cached) " >&6
   18417 else case e in #(
   18418   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18419 /* end confdefs.h.  */
   18420 int i;
   18421 _ACEOF
   18422 if ac_fn_c_try_compile "$LINENO"
   18423 then :
   18424   xorg_cv_cc_flag_unknown_warning_option=yes
   18425 else case e in #(
   18426   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18427 esac
   18428 fi
   18429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18430 esac
   18431 fi
   18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18433 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18435 	CFLAGS="$xorg_testset_save_CFLAGS"
   18436 fi
   18437 
   18438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18441 	fi
   18442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18444 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18445 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18446 then :
   18447   printf %s "(cached) " >&6
   18448 else case e in #(
   18449   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18450 /* end confdefs.h.  */
   18451 int i;
   18452 _ACEOF
   18453 if ac_fn_c_try_compile "$LINENO"
   18454 then :
   18455   xorg_cv_cc_flag_unused_command_line_argument=yes
   18456 else case e in #(
   18457   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18458 esac
   18459 fi
   18460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18461 esac
   18462 fi
   18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18464 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18466 	CFLAGS="$xorg_testset_save_CFLAGS"
   18467 fi
   18468 
   18469 found="no"
   18470 
   18471 	if test $found = "no" ; then
   18472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18474 		fi
   18475 
   18476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18478 		fi
   18479 
   18480 		CFLAGS="$CFLAGS -Wreturn-type"
   18481 
   18482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18483 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18484 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18485 		if eval test \${$cacheid+y}
   18486 then :
   18487   printf %s "(cached) " >&6
   18488 else case e in #(
   18489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18490 /* end confdefs.h.  */
   18491 int i;
   18492 int
   18493 main (void)
   18494 {
   18495 
   18496   ;
   18497   return 0;
   18498 }
   18499 _ACEOF
   18500 if ac_fn_c_try_link "$LINENO"
   18501 then :
   18502   eval $cacheid=yes
   18503 else case e in #(
   18504   e) eval $cacheid=no ;;
   18505 esac
   18506 fi
   18507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18508     conftest$ac_exeext conftest.$ac_ext ;;
   18509 esac
   18510 fi
   18511 
   18512 
   18513 		CFLAGS="$xorg_testset_save_CFLAGS"
   18514 
   18515 		eval supported=\$$cacheid
   18516 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18517 printf "%s\n" "$supported" >&6; }
   18518 		if test "$supported" = "yes" ; then
   18519 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18520 			found="yes"
   18521 		fi
   18522 	fi
   18523 
   18524 
   18525 
   18526 
   18527 
   18528 
   18529 
   18530 
   18531 
   18532 
   18533 
   18534 
   18535 
   18536 
   18537 
   18538 xorg_testset_save_CFLAGS="$CFLAGS"
   18539 
   18540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18543 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18544 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18545 then :
   18546   printf %s "(cached) " >&6
   18547 else case e in #(
   18548   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18549 /* end confdefs.h.  */
   18550 int i;
   18551 _ACEOF
   18552 if ac_fn_c_try_compile "$LINENO"
   18553 then :
   18554   xorg_cv_cc_flag_unknown_warning_option=yes
   18555 else case e in #(
   18556   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18557 esac
   18558 fi
   18559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18560 esac
   18561 fi
   18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18563 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18565 	CFLAGS="$xorg_testset_save_CFLAGS"
   18566 fi
   18567 
   18568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18571 	fi
   18572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18574 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18575 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18576 then :
   18577   printf %s "(cached) " >&6
   18578 else case e in #(
   18579   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18580 /* end confdefs.h.  */
   18581 int i;
   18582 _ACEOF
   18583 if ac_fn_c_try_compile "$LINENO"
   18584 then :
   18585   xorg_cv_cc_flag_unused_command_line_argument=yes
   18586 else case e in #(
   18587   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18588 esac
   18589 fi
   18590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18591 esac
   18592 fi
   18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18594 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18596 	CFLAGS="$xorg_testset_save_CFLAGS"
   18597 fi
   18598 
   18599 found="no"
   18600 
   18601 	if test $found = "no" ; then
   18602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18604 		fi
   18605 
   18606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18608 		fi
   18609 
   18610 		CFLAGS="$CFLAGS -Wtrigraphs"
   18611 
   18612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18613 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18614 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18615 		if eval test \${$cacheid+y}
   18616 then :
   18617   printf %s "(cached) " >&6
   18618 else case e in #(
   18619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18620 /* end confdefs.h.  */
   18621 int i;
   18622 int
   18623 main (void)
   18624 {
   18625 
   18626   ;
   18627   return 0;
   18628 }
   18629 _ACEOF
   18630 if ac_fn_c_try_link "$LINENO"
   18631 then :
   18632   eval $cacheid=yes
   18633 else case e in #(
   18634   e) eval $cacheid=no ;;
   18635 esac
   18636 fi
   18637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18638     conftest$ac_exeext conftest.$ac_ext ;;
   18639 esac
   18640 fi
   18641 
   18642 
   18643 		CFLAGS="$xorg_testset_save_CFLAGS"
   18644 
   18645 		eval supported=\$$cacheid
   18646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18647 printf "%s\n" "$supported" >&6; }
   18648 		if test "$supported" = "yes" ; then
   18649 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18650 			found="yes"
   18651 		fi
   18652 	fi
   18653 
   18654 
   18655 
   18656 
   18657 
   18658 
   18659 
   18660 
   18661 
   18662 
   18663 
   18664 
   18665 
   18666 
   18667 
   18668 xorg_testset_save_CFLAGS="$CFLAGS"
   18669 
   18670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18673 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18674 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18675 then :
   18676   printf %s "(cached) " >&6
   18677 else case e in #(
   18678   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18679 /* end confdefs.h.  */
   18680 int i;
   18681 _ACEOF
   18682 if ac_fn_c_try_compile "$LINENO"
   18683 then :
   18684   xorg_cv_cc_flag_unknown_warning_option=yes
   18685 else case e in #(
   18686   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18687 esac
   18688 fi
   18689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18690 esac
   18691 fi
   18692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18693 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18695 	CFLAGS="$xorg_testset_save_CFLAGS"
   18696 fi
   18697 
   18698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18701 	fi
   18702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18704 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18705 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18706 then :
   18707   printf %s "(cached) " >&6
   18708 else case e in #(
   18709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18710 /* end confdefs.h.  */
   18711 int i;
   18712 _ACEOF
   18713 if ac_fn_c_try_compile "$LINENO"
   18714 then :
   18715   xorg_cv_cc_flag_unused_command_line_argument=yes
   18716 else case e in #(
   18717   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18718 esac
   18719 fi
   18720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18721 esac
   18722 fi
   18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18726 	CFLAGS="$xorg_testset_save_CFLAGS"
   18727 fi
   18728 
   18729 found="no"
   18730 
   18731 	if test $found = "no" ; then
   18732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18734 		fi
   18735 
   18736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18738 		fi
   18739 
   18740 		CFLAGS="$CFLAGS -Warray-bounds"
   18741 
   18742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18743 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18744 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18745 		if eval test \${$cacheid+y}
   18746 then :
   18747   printf %s "(cached) " >&6
   18748 else case e in #(
   18749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18750 /* end confdefs.h.  */
   18751 int i;
   18752 int
   18753 main (void)
   18754 {
   18755 
   18756   ;
   18757   return 0;
   18758 }
   18759 _ACEOF
   18760 if ac_fn_c_try_link "$LINENO"
   18761 then :
   18762   eval $cacheid=yes
   18763 else case e in #(
   18764   e) eval $cacheid=no ;;
   18765 esac
   18766 fi
   18767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18768     conftest$ac_exeext conftest.$ac_ext ;;
   18769 esac
   18770 fi
   18771 
   18772 
   18773 		CFLAGS="$xorg_testset_save_CFLAGS"
   18774 
   18775 		eval supported=\$$cacheid
   18776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18777 printf "%s\n" "$supported" >&6; }
   18778 		if test "$supported" = "yes" ; then
   18779 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18780 			found="yes"
   18781 		fi
   18782 	fi
   18783 
   18784 
   18785 
   18786 
   18787 
   18788 
   18789 
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 
   18797 
   18798 xorg_testset_save_CFLAGS="$CFLAGS"
   18799 
   18800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18803 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18804 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18805 then :
   18806   printf %s "(cached) " >&6
   18807 else case e in #(
   18808   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18809 /* end confdefs.h.  */
   18810 int i;
   18811 _ACEOF
   18812 if ac_fn_c_try_compile "$LINENO"
   18813 then :
   18814   xorg_cv_cc_flag_unknown_warning_option=yes
   18815 else case e in #(
   18816   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18817 esac
   18818 fi
   18819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18820 esac
   18821 fi
   18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18823 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18825 	CFLAGS="$xorg_testset_save_CFLAGS"
   18826 fi
   18827 
   18828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18831 	fi
   18832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18834 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18835 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18836 then :
   18837   printf %s "(cached) " >&6
   18838 else case e in #(
   18839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18840 /* end confdefs.h.  */
   18841 int i;
   18842 _ACEOF
   18843 if ac_fn_c_try_compile "$LINENO"
   18844 then :
   18845   xorg_cv_cc_flag_unused_command_line_argument=yes
   18846 else case e in #(
   18847   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18848 esac
   18849 fi
   18850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18851 esac
   18852 fi
   18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18854 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18856 	CFLAGS="$xorg_testset_save_CFLAGS"
   18857 fi
   18858 
   18859 found="no"
   18860 
   18861 	if test $found = "no" ; then
   18862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18864 		fi
   18865 
   18866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18868 		fi
   18869 
   18870 		CFLAGS="$CFLAGS -Wwrite-strings"
   18871 
   18872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18873 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18874 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18875 		if eval test \${$cacheid+y}
   18876 then :
   18877   printf %s "(cached) " >&6
   18878 else case e in #(
   18879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18880 /* end confdefs.h.  */
   18881 int i;
   18882 int
   18883 main (void)
   18884 {
   18885 
   18886   ;
   18887   return 0;
   18888 }
   18889 _ACEOF
   18890 if ac_fn_c_try_link "$LINENO"
   18891 then :
   18892   eval $cacheid=yes
   18893 else case e in #(
   18894   e) eval $cacheid=no ;;
   18895 esac
   18896 fi
   18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18898     conftest$ac_exeext conftest.$ac_ext ;;
   18899 esac
   18900 fi
   18901 
   18902 
   18903 		CFLAGS="$xorg_testset_save_CFLAGS"
   18904 
   18905 		eval supported=\$$cacheid
   18906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18907 printf "%s\n" "$supported" >&6; }
   18908 		if test "$supported" = "yes" ; then
   18909 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18910 			found="yes"
   18911 		fi
   18912 	fi
   18913 
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 
   18928 xorg_testset_save_CFLAGS="$CFLAGS"
   18929 
   18930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18933 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18934 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18935 then :
   18936   printf %s "(cached) " >&6
   18937 else case e in #(
   18938   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18939 /* end confdefs.h.  */
   18940 int i;
   18941 _ACEOF
   18942 if ac_fn_c_try_compile "$LINENO"
   18943 then :
   18944   xorg_cv_cc_flag_unknown_warning_option=yes
   18945 else case e in #(
   18946   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18947 esac
   18948 fi
   18949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18950 esac
   18951 fi
   18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18953 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18955 	CFLAGS="$xorg_testset_save_CFLAGS"
   18956 fi
   18957 
   18958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18961 	fi
   18962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18964 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18965 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18966 then :
   18967   printf %s "(cached) " >&6
   18968 else case e in #(
   18969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18970 /* end confdefs.h.  */
   18971 int i;
   18972 _ACEOF
   18973 if ac_fn_c_try_compile "$LINENO"
   18974 then :
   18975   xorg_cv_cc_flag_unused_command_line_argument=yes
   18976 else case e in #(
   18977   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18978 esac
   18979 fi
   18980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18981 esac
   18982 fi
   18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18984 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18986 	CFLAGS="$xorg_testset_save_CFLAGS"
   18987 fi
   18988 
   18989 found="no"
   18990 
   18991 	if test $found = "no" ; then
   18992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18994 		fi
   18995 
   18996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18998 		fi
   18999 
   19000 		CFLAGS="$CFLAGS -Waddress"
   19001 
   19002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19003 printf %s "checking if $CC supports -Waddress... " >&6; }
   19004 		cacheid=xorg_cv_cc_flag__Waddress
   19005 		if eval test \${$cacheid+y}
   19006 then :
   19007   printf %s "(cached) " >&6
   19008 else case e in #(
   19009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19010 /* end confdefs.h.  */
   19011 int i;
   19012 int
   19013 main (void)
   19014 {
   19015 
   19016   ;
   19017   return 0;
   19018 }
   19019 _ACEOF
   19020 if ac_fn_c_try_link "$LINENO"
   19021 then :
   19022   eval $cacheid=yes
   19023 else case e in #(
   19024   e) eval $cacheid=no ;;
   19025 esac
   19026 fi
   19027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19028     conftest$ac_exeext conftest.$ac_ext ;;
   19029 esac
   19030 fi
   19031 
   19032 
   19033 		CFLAGS="$xorg_testset_save_CFLAGS"
   19034 
   19035 		eval supported=\$$cacheid
   19036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19037 printf "%s\n" "$supported" >&6; }
   19038 		if test "$supported" = "yes" ; then
   19039 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19040 			found="yes"
   19041 		fi
   19042 	fi
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 xorg_testset_save_CFLAGS="$CFLAGS"
   19059 
   19060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19063 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19064 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19065 then :
   19066   printf %s "(cached) " >&6
   19067 else case e in #(
   19068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19069 /* end confdefs.h.  */
   19070 int i;
   19071 _ACEOF
   19072 if ac_fn_c_try_compile "$LINENO"
   19073 then :
   19074   xorg_cv_cc_flag_unknown_warning_option=yes
   19075 else case e in #(
   19076   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19077 esac
   19078 fi
   19079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19080 esac
   19081 fi
   19082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19083 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19085 	CFLAGS="$xorg_testset_save_CFLAGS"
   19086 fi
   19087 
   19088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19091 	fi
   19092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19094 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19095 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19096 then :
   19097   printf %s "(cached) " >&6
   19098 else case e in #(
   19099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19100 /* end confdefs.h.  */
   19101 int i;
   19102 _ACEOF
   19103 if ac_fn_c_try_compile "$LINENO"
   19104 then :
   19105   xorg_cv_cc_flag_unused_command_line_argument=yes
   19106 else case e in #(
   19107   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19108 esac
   19109 fi
   19110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19111 esac
   19112 fi
   19113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19114 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19116 	CFLAGS="$xorg_testset_save_CFLAGS"
   19117 fi
   19118 
   19119 found="no"
   19120 
   19121 	if test $found = "no" ; then
   19122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19124 		fi
   19125 
   19126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19128 		fi
   19129 
   19130 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19131 
   19132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19133 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19134 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19135 		if eval test \${$cacheid+y}
   19136 then :
   19137   printf %s "(cached) " >&6
   19138 else case e in #(
   19139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19140 /* end confdefs.h.  */
   19141 int i;
   19142 int
   19143 main (void)
   19144 {
   19145 
   19146   ;
   19147   return 0;
   19148 }
   19149 _ACEOF
   19150 if ac_fn_c_try_link "$LINENO"
   19151 then :
   19152   eval $cacheid=yes
   19153 else case e in #(
   19154   e) eval $cacheid=no ;;
   19155 esac
   19156 fi
   19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19158     conftest$ac_exeext conftest.$ac_ext ;;
   19159 esac
   19160 fi
   19161 
   19162 
   19163 		CFLAGS="$xorg_testset_save_CFLAGS"
   19164 
   19165 		eval supported=\$$cacheid
   19166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19167 printf "%s\n" "$supported" >&6; }
   19168 		if test "$supported" = "yes" ; then
   19169 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19170 			found="yes"
   19171 		fi
   19172 	fi
   19173 
   19174 
   19175 
   19176 
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 
   19188 xorg_testset_save_CFLAGS="$CFLAGS"
   19189 
   19190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19193 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19194 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19195 then :
   19196   printf %s "(cached) " >&6
   19197 else case e in #(
   19198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19199 /* end confdefs.h.  */
   19200 int i;
   19201 _ACEOF
   19202 if ac_fn_c_try_compile "$LINENO"
   19203 then :
   19204   xorg_cv_cc_flag_unknown_warning_option=yes
   19205 else case e in #(
   19206   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19207 esac
   19208 fi
   19209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19210 esac
   19211 fi
   19212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19213 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19215 	CFLAGS="$xorg_testset_save_CFLAGS"
   19216 fi
   19217 
   19218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19221 	fi
   19222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19224 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19225 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19226 then :
   19227   printf %s "(cached) " >&6
   19228 else case e in #(
   19229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19230 /* end confdefs.h.  */
   19231 int i;
   19232 _ACEOF
   19233 if ac_fn_c_try_compile "$LINENO"
   19234 then :
   19235   xorg_cv_cc_flag_unused_command_line_argument=yes
   19236 else case e in #(
   19237   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19238 esac
   19239 fi
   19240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19241 esac
   19242 fi
   19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19244 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19246 	CFLAGS="$xorg_testset_save_CFLAGS"
   19247 fi
   19248 
   19249 found="no"
   19250 
   19251 	if test $found = "no" ; then
   19252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19254 		fi
   19255 
   19256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19258 		fi
   19259 
   19260 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19261 
   19262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19263 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19264 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19265 		if eval test \${$cacheid+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 int
   19273 main (void)
   19274 {
   19275 
   19276   ;
   19277   return 0;
   19278 }
   19279 _ACEOF
   19280 if ac_fn_c_try_link "$LINENO"
   19281 then :
   19282   eval $cacheid=yes
   19283 else case e in #(
   19284   e) eval $cacheid=no ;;
   19285 esac
   19286 fi
   19287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19288     conftest$ac_exeext conftest.$ac_ext ;;
   19289 esac
   19290 fi
   19291 
   19292 
   19293 		CFLAGS="$xorg_testset_save_CFLAGS"
   19294 
   19295 		eval supported=\$$cacheid
   19296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19297 printf "%s\n" "$supported" >&6; }
   19298 		if test "$supported" = "yes" ; then
   19299 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19300 			found="yes"
   19301 		fi
   19302 	fi
   19303 
   19304 
   19305 fi
   19306 
   19307 
   19308 
   19309 
   19310 
   19311 
   19312 
   19313 		CWARNFLAGS="$BASE_CFLAGS"
   19314 		if  test "x$GCC" = xyes ; then
   19315 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19316 		fi
   19317 
   19318 
   19319 
   19320 
   19321 
   19322 
   19323 
   19324 
   19325 # Check whether --enable-strict-compilation was given.
   19326 if test ${enable_strict_compilation+y}
   19327 then :
   19328   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19329 else case e in #(
   19330   e) STRICT_COMPILE=no ;;
   19331 esac
   19332 fi
   19333 
   19334 
   19335 
   19336 
   19337 
   19338 
   19339 STRICT_CFLAGS=""
   19340 
   19341 
   19342 
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 xorg_testset_save_CFLAGS="$CFLAGS"
   19354 
   19355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19358 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19359 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19360 then :
   19361   printf %s "(cached) " >&6
   19362 else case e in #(
   19363   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19364 /* end confdefs.h.  */
   19365 int i;
   19366 _ACEOF
   19367 if ac_fn_c_try_compile "$LINENO"
   19368 then :
   19369   xorg_cv_cc_flag_unknown_warning_option=yes
   19370 else case e in #(
   19371   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19372 esac
   19373 fi
   19374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19375 esac
   19376 fi
   19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19380 	CFLAGS="$xorg_testset_save_CFLAGS"
   19381 fi
   19382 
   19383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19386 	fi
   19387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19391 then :
   19392   printf %s "(cached) " >&6
   19393 else case e in #(
   19394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19395 /* end confdefs.h.  */
   19396 int i;
   19397 _ACEOF
   19398 if ac_fn_c_try_compile "$LINENO"
   19399 then :
   19400   xorg_cv_cc_flag_unused_command_line_argument=yes
   19401 else case e in #(
   19402   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19403 esac
   19404 fi
   19405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19406 esac
   19407 fi
   19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19411 	CFLAGS="$xorg_testset_save_CFLAGS"
   19412 fi
   19413 
   19414 found="no"
   19415 
   19416 	if test $found = "no" ; then
   19417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19419 		fi
   19420 
   19421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19423 		fi
   19424 
   19425 		CFLAGS="$CFLAGS -pedantic"
   19426 
   19427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19428 printf %s "checking if $CC supports -pedantic... " >&6; }
   19429 		cacheid=xorg_cv_cc_flag__pedantic
   19430 		if eval test \${$cacheid+y}
   19431 then :
   19432   printf %s "(cached) " >&6
   19433 else case e in #(
   19434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19435 /* end confdefs.h.  */
   19436 int i;
   19437 int
   19438 main (void)
   19439 {
   19440 
   19441   ;
   19442   return 0;
   19443 }
   19444 _ACEOF
   19445 if ac_fn_c_try_link "$LINENO"
   19446 then :
   19447   eval $cacheid=yes
   19448 else case e in #(
   19449   e) eval $cacheid=no ;;
   19450 esac
   19451 fi
   19452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19453     conftest$ac_exeext conftest.$ac_ext ;;
   19454 esac
   19455 fi
   19456 
   19457 
   19458 		CFLAGS="$xorg_testset_save_CFLAGS"
   19459 
   19460 		eval supported=\$$cacheid
   19461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19462 printf "%s\n" "$supported" >&6; }
   19463 		if test "$supported" = "yes" ; then
   19464 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19465 			found="yes"
   19466 		fi
   19467 	fi
   19468 
   19469 
   19470 
   19471 
   19472 
   19473 
   19474 
   19475 
   19476 
   19477 
   19478 
   19479 
   19480 
   19481 
   19482 
   19483 xorg_testset_save_CFLAGS="$CFLAGS"
   19484 
   19485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19488 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19489 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19490 then :
   19491   printf %s "(cached) " >&6
   19492 else case e in #(
   19493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19494 /* end confdefs.h.  */
   19495 int i;
   19496 _ACEOF
   19497 if ac_fn_c_try_compile "$LINENO"
   19498 then :
   19499   xorg_cv_cc_flag_unknown_warning_option=yes
   19500 else case e in #(
   19501   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19502 esac
   19503 fi
   19504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19505 esac
   19506 fi
   19507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19508 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19510 	CFLAGS="$xorg_testset_save_CFLAGS"
   19511 fi
   19512 
   19513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19516 	fi
   19517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19519 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19520 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19521 then :
   19522   printf %s "(cached) " >&6
   19523 else case e in #(
   19524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19525 /* end confdefs.h.  */
   19526 int i;
   19527 _ACEOF
   19528 if ac_fn_c_try_compile "$LINENO"
   19529 then :
   19530   xorg_cv_cc_flag_unused_command_line_argument=yes
   19531 else case e in #(
   19532   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19533 esac
   19534 fi
   19535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19536 esac
   19537 fi
   19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19539 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19541 	CFLAGS="$xorg_testset_save_CFLAGS"
   19542 fi
   19543 
   19544 found="no"
   19545 
   19546 	if test $found = "no" ; then
   19547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19549 		fi
   19550 
   19551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19553 		fi
   19554 
   19555 		CFLAGS="$CFLAGS -Werror"
   19556 
   19557 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19558 printf %s "checking if $CC supports -Werror... " >&6; }
   19559 		cacheid=xorg_cv_cc_flag__Werror
   19560 		if eval test \${$cacheid+y}
   19561 then :
   19562   printf %s "(cached) " >&6
   19563 else case e in #(
   19564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19565 /* end confdefs.h.  */
   19566 int i;
   19567 int
   19568 main (void)
   19569 {
   19570 
   19571   ;
   19572   return 0;
   19573 }
   19574 _ACEOF
   19575 if ac_fn_c_try_link "$LINENO"
   19576 then :
   19577   eval $cacheid=yes
   19578 else case e in #(
   19579   e) eval $cacheid=no ;;
   19580 esac
   19581 fi
   19582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19583     conftest$ac_exeext conftest.$ac_ext ;;
   19584 esac
   19585 fi
   19586 
   19587 
   19588 		CFLAGS="$xorg_testset_save_CFLAGS"
   19589 
   19590 		eval supported=\$$cacheid
   19591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19592 printf "%s\n" "$supported" >&6; }
   19593 		if test "$supported" = "yes" ; then
   19594 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19595 			found="yes"
   19596 		fi
   19597 	fi
   19598 
   19599 	if test $found = "no" ; then
   19600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19602 		fi
   19603 
   19604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19606 		fi
   19607 
   19608 		CFLAGS="$CFLAGS -errwarn"
   19609 
   19610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19611 printf %s "checking if $CC supports -errwarn... " >&6; }
   19612 		cacheid=xorg_cv_cc_flag__errwarn
   19613 		if eval test \${$cacheid+y}
   19614 then :
   19615   printf %s "(cached) " >&6
   19616 else case e in #(
   19617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19618 /* end confdefs.h.  */
   19619 int i;
   19620 int
   19621 main (void)
   19622 {
   19623 
   19624   ;
   19625   return 0;
   19626 }
   19627 _ACEOF
   19628 if ac_fn_c_try_link "$LINENO"
   19629 then :
   19630   eval $cacheid=yes
   19631 else case e in #(
   19632   e) eval $cacheid=no ;;
   19633 esac
   19634 fi
   19635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19636     conftest$ac_exeext conftest.$ac_ext ;;
   19637 esac
   19638 fi
   19639 
   19640 
   19641 		CFLAGS="$xorg_testset_save_CFLAGS"
   19642 
   19643 		eval supported=\$$cacheid
   19644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19645 printf "%s\n" "$supported" >&6; }
   19646 		if test "$supported" = "yes" ; then
   19647 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19648 			found="yes"
   19649 		fi
   19650 	fi
   19651 
   19652 
   19653 
   19654 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19655 # activate it with -Werror, so we add it here explicitly.
   19656 
   19657 
   19658 
   19659 
   19660 
   19661 
   19662 
   19663 
   19664 
   19665 
   19666 
   19667 
   19668 
   19669 xorg_testset_save_CFLAGS="$CFLAGS"
   19670 
   19671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19676 then :
   19677   printf %s "(cached) " >&6
   19678 else case e in #(
   19679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19680 /* end confdefs.h.  */
   19681 int i;
   19682 _ACEOF
   19683 if ac_fn_c_try_compile "$LINENO"
   19684 then :
   19685   xorg_cv_cc_flag_unknown_warning_option=yes
   19686 else case e in #(
   19687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19688 esac
   19689 fi
   19690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19691 esac
   19692 fi
   19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19696 	CFLAGS="$xorg_testset_save_CFLAGS"
   19697 fi
   19698 
   19699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19702 	fi
   19703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19707 then :
   19708   printf %s "(cached) " >&6
   19709 else case e in #(
   19710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19711 /* end confdefs.h.  */
   19712 int i;
   19713 _ACEOF
   19714 if ac_fn_c_try_compile "$LINENO"
   19715 then :
   19716   xorg_cv_cc_flag_unused_command_line_argument=yes
   19717 else case e in #(
   19718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19719 esac
   19720 fi
   19721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19722 esac
   19723 fi
   19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19727 	CFLAGS="$xorg_testset_save_CFLAGS"
   19728 fi
   19729 
   19730 found="no"
   19731 
   19732 	if test $found = "no" ; then
   19733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19735 		fi
   19736 
   19737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19739 		fi
   19740 
   19741 		CFLAGS="$CFLAGS -Werror=attributes"
   19742 
   19743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19744 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19745 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19746 		if eval test \${$cacheid+y}
   19747 then :
   19748   printf %s "(cached) " >&6
   19749 else case e in #(
   19750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19751 /* end confdefs.h.  */
   19752 int i;
   19753 int
   19754 main (void)
   19755 {
   19756 
   19757   ;
   19758   return 0;
   19759 }
   19760 _ACEOF
   19761 if ac_fn_c_try_link "$LINENO"
   19762 then :
   19763   eval $cacheid=yes
   19764 else case e in #(
   19765   e) eval $cacheid=no ;;
   19766 esac
   19767 fi
   19768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19769     conftest$ac_exeext conftest.$ac_ext ;;
   19770 esac
   19771 fi
   19772 
   19773 
   19774 		CFLAGS="$xorg_testset_save_CFLAGS"
   19775 
   19776 		eval supported=\$$cacheid
   19777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19778 printf "%s\n" "$supported" >&6; }
   19779 		if test "$supported" = "yes" ; then
   19780 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19781 			found="yes"
   19782 		fi
   19783 	fi
   19784 
   19785 
   19786 
   19787 if test "x$STRICT_COMPILE" = "xyes"; then
   19788     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19789     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19790 fi
   19791 
   19792 
   19793 
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 cat >>confdefs.h <<_ACEOF
   19800 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19801 _ACEOF
   19802 
   19803 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19804 	if test "x$PVM" = "x"; then
   19805 		PVM="0"
   19806 	fi
   19807 
   19808 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19809 
   19810 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19811 	if test "x$PVP" = "x"; then
   19812 		PVP="0"
   19813 	fi
   19814 
   19815 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19816 
   19817 
   19818 
   19819 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19820 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19821 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19822 touch \$(top_srcdir)/ChangeLog; \
   19823 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19824 
   19825 
   19826 
   19827 
   19828 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19829 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19830 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19831 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19832 touch \$(top_srcdir)/INSTALL; \
   19833 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19834 
   19835 
   19836 
   19837 
   19838 
   19839 
   19840 case $host_os in
   19841     solaris*)
   19842         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19843         # check for a man page file found in later versions that use
   19844         # traditional section numbers instead
   19845         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19846 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19847 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19848 then :
   19849   printf %s "(cached) " >&6
   19850 else case e in #(
   19851   e) test "$cross_compiling" = yes &&
   19852   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19853 if test -r "/usr/share/man/man7/attributes.7"; then
   19854   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19855 else
   19856   ac_cv_file__usr_share_man_man7_attributes_7=no
   19857 fi ;;
   19858 esac
   19859 fi
   19860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19861 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19862 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19863 then :
   19864   SYSV_MAN_SECTIONS=false
   19865 else case e in #(
   19866   e) SYSV_MAN_SECTIONS=true ;;
   19867 esac
   19868 fi
   19869 
   19870         ;;
   19871     *) SYSV_MAN_SECTIONS=false ;;
   19872 esac
   19873 
   19874 if test x$APP_MAN_SUFFIX = x    ; then
   19875     APP_MAN_SUFFIX=1
   19876 fi
   19877 if test x$APP_MAN_DIR = x    ; then
   19878     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19879 fi
   19880 
   19881 if test x$LIB_MAN_SUFFIX = x    ; then
   19882     LIB_MAN_SUFFIX=3
   19883 fi
   19884 if test x$LIB_MAN_DIR = x    ; then
   19885     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19886 fi
   19887 
   19888 if test x$FILE_MAN_SUFFIX = x    ; then
   19889     case $SYSV_MAN_SECTIONS in
   19890 	true)				FILE_MAN_SUFFIX=4  ;;
   19891 	*)				FILE_MAN_SUFFIX=5  ;;
   19892     esac
   19893 fi
   19894 if test x$FILE_MAN_DIR = x    ; then
   19895     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19896 fi
   19897 
   19898 if test x$MISC_MAN_SUFFIX = x    ; then
   19899     case $SYSV_MAN_SECTIONS in
   19900 	true)				MISC_MAN_SUFFIX=5  ;;
   19901 	*)				MISC_MAN_SUFFIX=7  ;;
   19902     esac
   19903 fi
   19904 if test x$MISC_MAN_DIR = x    ; then
   19905     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19906 fi
   19907 
   19908 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19909     case $SYSV_MAN_SECTIONS in
   19910 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19911 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19912     esac
   19913 fi
   19914 if test x$DRIVER_MAN_DIR = x    ; then
   19915     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19916 fi
   19917 
   19918 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19919     case $SYSV_MAN_SECTIONS in
   19920 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19921 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19922     esac
   19923 fi
   19924 if test x$ADMIN_MAN_DIR = x    ; then
   19925     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19926 fi
   19927 
   19928 
   19929 
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 XORG_MAN_PAGE="X Version 11"
   19943 
   19944 MAN_SUBSTS="\
   19945 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19946 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19947 	-e 's|__xservername__|Xorg|g' \
   19948 	-e 's|__xconfigfile__|xorg.conf|g' \
   19949 	-e 's|__projectroot__|\$(prefix)|g' \
   19950 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19951 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19952 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19953 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19954 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19955 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19956 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19957 
   19958 
   19959 
   19960 # Check whether --enable-silent-rules was given.
   19961 if test ${enable_silent_rules+y}
   19962 then :
   19963   enableval=$enable_silent_rules;
   19964 fi
   19965 
   19966 case $enable_silent_rules in # (((
   19967   yes) AM_DEFAULT_VERBOSITY=0;;
   19968    no) AM_DEFAULT_VERBOSITY=1;;
   19969     *) AM_DEFAULT_VERBOSITY=0;;
   19970 esac
   19971 am_make=${MAKE-make}
   19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19973 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19974 if test ${am_cv_make_support_nested_variables+y}
   19975 then :
   19976   printf %s "(cached) " >&6
   19977 else case e in #(
   19978   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   19979 BAR0=false
   19980 BAR1=true
   19981 V=1
   19982 am__doit:
   19983 	@$(TRUE)
   19984 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19985   am_cv_make_support_nested_variables=yes
   19986 else
   19987   am_cv_make_support_nested_variables=no
   19988 fi ;;
   19989 esac
   19990 fi
   19991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19992 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19993 if test $am_cv_make_support_nested_variables = yes; then
   19994     AM_V='$(V)'
   19995   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19996 else
   19997   AM_V=$AM_DEFAULT_VERBOSITY
   19998   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19999 fi
   20000 AM_BACKSLASH='\'
   20001 
   20002 
   20003 
   20004 
   20005 
   20006 # Check whether --enable-specs was given.
   20007 if test ${enable_specs+y}
   20008 then :
   20009   enableval=$enable_specs; build_specs=$enableval
   20010 else case e in #(
   20011   e) build_specs=yes ;;
   20012 esac
   20013 fi
   20014 
   20015 
   20016  if test x$build_specs = xyes; then
   20017   ENABLE_SPECS_TRUE=
   20018   ENABLE_SPECS_FALSE='#'
   20019 else
   20020   ENABLE_SPECS_TRUE='#'
   20021   ENABLE_SPECS_FALSE=
   20022 fi
   20023 
   20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   20025 printf %s "checking whether to build functional specifications... " >&6; }
   20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   20027 printf "%s\n" "$build_specs" >&6; }
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 # Check whether --with-xmlto was given.
   20034 if test ${with_xmlto+y}
   20035 then :
   20036   withval=$with_xmlto; use_xmlto=$withval
   20037 else case e in #(
   20038   e) use_xmlto=auto ;;
   20039 esac
   20040 fi
   20041 
   20042 
   20043 
   20044 if test "x$use_xmlto" = x"auto"; then
   20045    # Extract the first word of "xmlto", so it can be a program name with args.
   20046 set dummy xmlto; ac_word=$2
   20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20048 printf %s "checking for $ac_word... " >&6; }
   20049 if test ${ac_cv_path_XMLTO+y}
   20050 then :
   20051   printf %s "(cached) " >&6
   20052 else case e in #(
   20053   e) case $XMLTO in
   20054   [\\/]* | ?:[\\/]*)
   20055   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20056   ;;
   20057   *)
   20058   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20059 for as_dir in $PATH
   20060 do
   20061   IFS=$as_save_IFS
   20062   case $as_dir in #(((
   20063     '') as_dir=./ ;;
   20064     */) ;;
   20065     *) as_dir=$as_dir/ ;;
   20066   esac
   20067     for ac_exec_ext in '' $ac_executable_extensions; do
   20068   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20069     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20070     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20071     break 2
   20072   fi
   20073 done
   20074   done
   20075 IFS=$as_save_IFS
   20076 
   20077   ;;
   20078 esac ;;
   20079 esac
   20080 fi
   20081 XMLTO=$ac_cv_path_XMLTO
   20082 if test -n "$XMLTO"; then
   20083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20084 printf "%s\n" "$XMLTO" >&6; }
   20085 else
   20086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20087 printf "%s\n" "no" >&6; }
   20088 fi
   20089 
   20090 
   20091    if test "x$XMLTO" = "x"; then
   20092         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20093 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20094 	have_xmlto=no
   20095    else
   20096         have_xmlto=yes
   20097    fi
   20098 elif test "x$use_xmlto" = x"yes" ; then
   20099    # Extract the first word of "xmlto", so it can be a program name with args.
   20100 set dummy xmlto; ac_word=$2
   20101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20102 printf %s "checking for $ac_word... " >&6; }
   20103 if test ${ac_cv_path_XMLTO+y}
   20104 then :
   20105   printf %s "(cached) " >&6
   20106 else case e in #(
   20107   e) case $XMLTO in
   20108   [\\/]* | ?:[\\/]*)
   20109   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20110   ;;
   20111   *)
   20112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20113 for as_dir in $PATH
   20114 do
   20115   IFS=$as_save_IFS
   20116   case $as_dir in #(((
   20117     '') as_dir=./ ;;
   20118     */) ;;
   20119     *) as_dir=$as_dir/ ;;
   20120   esac
   20121     for ac_exec_ext in '' $ac_executable_extensions; do
   20122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20123     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20125     break 2
   20126   fi
   20127 done
   20128   done
   20129 IFS=$as_save_IFS
   20130 
   20131   ;;
   20132 esac ;;
   20133 esac
   20134 fi
   20135 XMLTO=$ac_cv_path_XMLTO
   20136 if test -n "$XMLTO"; then
   20137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20138 printf "%s\n" "$XMLTO" >&6; }
   20139 else
   20140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20141 printf "%s\n" "no" >&6; }
   20142 fi
   20143 
   20144 
   20145    if test "x$XMLTO" = "x"; then
   20146         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20147    fi
   20148    have_xmlto=yes
   20149 elif test "x$use_xmlto" = x"no" ; then
   20150    if test "x$XMLTO" != "x"; then
   20151       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20152 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20153    fi
   20154    have_xmlto=no
   20155 else
   20156    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20157 fi
   20158 
   20159 # Test for a minimum version of xmlto, if provided.
   20160 if test "$have_xmlto" = yes; then
   20161     # scrape the xmlto version
   20162     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20163 printf %s "checking the xmlto version... " >&6; }
   20164     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20165     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20166 printf "%s\n" "$xmlto_version" >&6; }
   20167     as_arg_v1=$xmlto_version
   20168 as_arg_v2=0.0.22
   20169 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20170 case $? in #(
   20171   1) :
   20172     if test "x$use_xmlto" = xauto; then
   20173             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20174 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20175             have_xmlto=no
   20176         else
   20177             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20178         fi ;; #(
   20179   0) :
   20180      ;; #(
   20181   2) :
   20182      ;; #(
   20183   *) :
   20184      ;;
   20185 esac
   20186 fi
   20187 
   20188 # Test for the ability of xmlto to generate a text target
   20189 #
   20190 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20191 # following test for empty XML docbook files.
   20192 # For compatibility reasons use the following empty XML docbook file and if
   20193 # it fails try it again with a non-empty XML file.
   20194 have_xmlto_text=no
   20195 cat > conftest.xml << "EOF"
   20196 EOF
   20197 if test "$have_xmlto" = yes
   20198 then :
   20199   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20200 then :
   20201   have_xmlto_text=yes
   20202 else case e in #(
   20203   e) # Try it again with a non-empty XML file.
   20204               cat > conftest.xml << "EOF"
   20205 <x></x>
   20206 EOF
   20207               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20208 then :
   20209   have_xmlto_text=yes
   20210 else case e in #(
   20211   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20212 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   20213 esac
   20214 fi ;;
   20215 esac
   20216 fi
   20217 fi
   20218 rm -f conftest.xml
   20219  if test $have_xmlto_text = yes; then
   20220   HAVE_XMLTO_TEXT_TRUE=
   20221   HAVE_XMLTO_TEXT_FALSE='#'
   20222 else
   20223   HAVE_XMLTO_TEXT_TRUE='#'
   20224   HAVE_XMLTO_TEXT_FALSE=
   20225 fi
   20226 
   20227  if test "$have_xmlto" = yes; then
   20228   HAVE_XMLTO_TRUE=
   20229   HAVE_XMLTO_FALSE='#'
   20230 else
   20231   HAVE_XMLTO_TRUE='#'
   20232   HAVE_XMLTO_FALSE=
   20233 fi
   20234 
   20235 
   20236 
   20237 
   20238 
   20239 
   20240 # Check whether --with-fop was given.
   20241 if test ${with_fop+y}
   20242 then :
   20243   withval=$with_fop; use_fop=$withval
   20244 else case e in #(
   20245   e) use_fop=auto ;;
   20246 esac
   20247 fi
   20248 
   20249 
   20250 
   20251 if test "x$use_fop" = x"auto"; then
   20252    # Extract the first word of "fop", so it can be a program name with args.
   20253 set dummy fop; ac_word=$2
   20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20255 printf %s "checking for $ac_word... " >&6; }
   20256 if test ${ac_cv_path_FOP+y}
   20257 then :
   20258   printf %s "(cached) " >&6
   20259 else case e in #(
   20260   e) case $FOP in
   20261   [\\/]* | ?:[\\/]*)
   20262   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20263   ;;
   20264   *)
   20265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20266 for as_dir in $PATH
   20267 do
   20268   IFS=$as_save_IFS
   20269   case $as_dir in #(((
   20270     '') as_dir=./ ;;
   20271     */) ;;
   20272     *) as_dir=$as_dir/ ;;
   20273   esac
   20274     for ac_exec_ext in '' $ac_executable_extensions; do
   20275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20276     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20278     break 2
   20279   fi
   20280 done
   20281   done
   20282 IFS=$as_save_IFS
   20283 
   20284   ;;
   20285 esac ;;
   20286 esac
   20287 fi
   20288 FOP=$ac_cv_path_FOP
   20289 if test -n "$FOP"; then
   20290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20291 printf "%s\n" "$FOP" >&6; }
   20292 else
   20293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20294 printf "%s\n" "no" >&6; }
   20295 fi
   20296 
   20297 
   20298    if test "x$FOP" = "x"; then
   20299         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20300 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20301 	have_fop=no
   20302    else
   20303         have_fop=yes
   20304    fi
   20305 elif test "x$use_fop" = x"yes" ; then
   20306    # Extract the first word of "fop", so it can be a program name with args.
   20307 set dummy fop; ac_word=$2
   20308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20309 printf %s "checking for $ac_word... " >&6; }
   20310 if test ${ac_cv_path_FOP+y}
   20311 then :
   20312   printf %s "(cached) " >&6
   20313 else case e in #(
   20314   e) case $FOP in
   20315   [\\/]* | ?:[\\/]*)
   20316   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20317   ;;
   20318   *)
   20319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20320 for as_dir in $PATH
   20321 do
   20322   IFS=$as_save_IFS
   20323   case $as_dir in #(((
   20324     '') as_dir=./ ;;
   20325     */) ;;
   20326     *) as_dir=$as_dir/ ;;
   20327   esac
   20328     for ac_exec_ext in '' $ac_executable_extensions; do
   20329   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20330     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20331     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20332     break 2
   20333   fi
   20334 done
   20335   done
   20336 IFS=$as_save_IFS
   20337 
   20338   ;;
   20339 esac ;;
   20340 esac
   20341 fi
   20342 FOP=$ac_cv_path_FOP
   20343 if test -n "$FOP"; then
   20344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20345 printf "%s\n" "$FOP" >&6; }
   20346 else
   20347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20348 printf "%s\n" "no" >&6; }
   20349 fi
   20350 
   20351 
   20352    if test "x$FOP" = "x"; then
   20353         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20354    fi
   20355    have_fop=yes
   20356 elif test "x$use_fop" = x"no" ; then
   20357    if test "x$FOP" != "x"; then
   20358       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20359 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20360    fi
   20361    have_fop=no
   20362 else
   20363    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20364 fi
   20365 
   20366 # Test for a minimum version of fop, if provided.
   20367 
   20368  if test "$have_fop" = yes; then
   20369   HAVE_FOP_TRUE=
   20370   HAVE_FOP_FALSE='#'
   20371 else
   20372   HAVE_FOP_TRUE='#'
   20373   HAVE_FOP_FALSE=
   20374 fi
   20375 
   20376 
   20377 
   20378 
   20379 # Preserves the interface, should it be implemented later
   20380 
   20381 
   20382 
   20383 # Check whether --with-xsltproc was given.
   20384 if test ${with_xsltproc+y}
   20385 then :
   20386   withval=$with_xsltproc; use_xsltproc=$withval
   20387 else case e in #(
   20388   e) use_xsltproc=auto ;;
   20389 esac
   20390 fi
   20391 
   20392 
   20393 
   20394 if test "x$use_xsltproc" = x"auto"; then
   20395    # Extract the first word of "xsltproc", so it can be a program name with args.
   20396 set dummy xsltproc; ac_word=$2
   20397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20398 printf %s "checking for $ac_word... " >&6; }
   20399 if test ${ac_cv_path_XSLTPROC+y}
   20400 then :
   20401   printf %s "(cached) " >&6
   20402 else case e in #(
   20403   e) case $XSLTPROC in
   20404   [\\/]* | ?:[\\/]*)
   20405   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20406   ;;
   20407   *)
   20408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20409 for as_dir in $PATH
   20410 do
   20411   IFS=$as_save_IFS
   20412   case $as_dir in #(((
   20413     '') as_dir=./ ;;
   20414     */) ;;
   20415     *) as_dir=$as_dir/ ;;
   20416   esac
   20417     for ac_exec_ext in '' $ac_executable_extensions; do
   20418   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20419     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20420     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20421     break 2
   20422   fi
   20423 done
   20424   done
   20425 IFS=$as_save_IFS
   20426 
   20427   ;;
   20428 esac ;;
   20429 esac
   20430 fi
   20431 XSLTPROC=$ac_cv_path_XSLTPROC
   20432 if test -n "$XSLTPROC"; then
   20433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20434 printf "%s\n" "$XSLTPROC" >&6; }
   20435 else
   20436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20437 printf "%s\n" "no" >&6; }
   20438 fi
   20439 
   20440 
   20441    if test "x$XSLTPROC" = "x"; then
   20442         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20443 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20444 	have_xsltproc=no
   20445    else
   20446         have_xsltproc=yes
   20447    fi
   20448 elif test "x$use_xsltproc" = x"yes" ; then
   20449    # Extract the first word of "xsltproc", so it can be a program name with args.
   20450 set dummy xsltproc; ac_word=$2
   20451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20452 printf %s "checking for $ac_word... " >&6; }
   20453 if test ${ac_cv_path_XSLTPROC+y}
   20454 then :
   20455   printf %s "(cached) " >&6
   20456 else case e in #(
   20457   e) case $XSLTPROC in
   20458   [\\/]* | ?:[\\/]*)
   20459   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20460   ;;
   20461   *)
   20462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20463 for as_dir in $PATH
   20464 do
   20465   IFS=$as_save_IFS
   20466   case $as_dir in #(((
   20467     '') as_dir=./ ;;
   20468     */) ;;
   20469     *) as_dir=$as_dir/ ;;
   20470   esac
   20471     for ac_exec_ext in '' $ac_executable_extensions; do
   20472   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20473     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20474     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20475     break 2
   20476   fi
   20477 done
   20478   done
   20479 IFS=$as_save_IFS
   20480 
   20481   ;;
   20482 esac ;;
   20483 esac
   20484 fi
   20485 XSLTPROC=$ac_cv_path_XSLTPROC
   20486 if test -n "$XSLTPROC"; then
   20487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20488 printf "%s\n" "$XSLTPROC" >&6; }
   20489 else
   20490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20491 printf "%s\n" "no" >&6; }
   20492 fi
   20493 
   20494 
   20495    if test "x$XSLTPROC" = "x"; then
   20496         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   20497    fi
   20498    have_xsltproc=yes
   20499 elif test "x$use_xsltproc" = x"no" ; then
   20500    if test "x$XSLTPROC" != "x"; then
   20501       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   20502 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   20503    fi
   20504    have_xsltproc=no
   20505 else
   20506    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   20507 fi
   20508 
   20509  if test "$have_xsltproc" = yes; then
   20510   HAVE_XSLTPROC_TRUE=
   20511   HAVE_XSLTPROC_FALSE='#'
   20512 else
   20513   HAVE_XSLTPROC_TRUE='#'
   20514   HAVE_XSLTPROC_FALSE=
   20515 fi
   20516 
   20517 
   20518 
   20519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   20520 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   20521 XORG_SGML_PATH=
   20522 if test -n "$PKG_CONFIG" && \
   20523     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   20524   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   20525   ac_status=$?
   20526   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20527   test $ac_status = 0; }; then
   20528   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   20529 else
   20530   :
   20531 
   20532 fi
   20533 
   20534 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   20535 # the path and the name of the doc stylesheet
   20536 if test "x$XORG_SGML_PATH" != "x" ; then
   20537    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   20538 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   20539    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   20540    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   20541 else
   20542    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20543 printf "%s\n" "no" >&6; }
   20544 fi
   20545 
   20546 
   20547 
   20548 
   20549  if test "x$XSL_STYLESHEET" != "x"; then
   20550   HAVE_STYLESHEETS_TRUE=
   20551   HAVE_STYLESHEETS_FALSE='#'
   20552 else
   20553   HAVE_STYLESHEETS_TRUE='#'
   20554   HAVE_STYLESHEETS_FALSE=
   20555 fi
   20556 
   20557 
   20558 
   20559 # Check whether --enable-malloc0returnsnull was given.
   20560 if test ${enable_malloc0returnsnull+y}
   20561 then :
   20562   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20563 else case e in #(
   20564   e) MALLOC_ZERO_RETURNS_NULL=auto ;;
   20565 esac
   20566 fi
   20567 
   20568 
   20569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   20570 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   20571 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20572 if test ${xorg_cv_malloc0_returns_null+y}
   20573 then :
   20574   printf %s "(cached) " >&6
   20575 else case e in #(
   20576   e) if test "$cross_compiling" = yes
   20577 then :
   20578   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20579 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20580 as_fn_error $? "cannot run test program while cross compiling
   20581 See 'config.log' for more details" "$LINENO" 5; }
   20582 else case e in #(
   20583   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20584 /* end confdefs.h.  */
   20585 
   20586 #include <stdlib.h>
   20587 
   20588 int
   20589 main (void)
   20590 {
   20591 
   20592     char *m0, *r0, *c0, *p;
   20593     m0 = malloc(0);
   20594     p = malloc(10);
   20595     r0 = realloc(p,0);
   20596     c0 = calloc(0,10);
   20597     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   20598 
   20599   ;
   20600   return 0;
   20601 }
   20602 _ACEOF
   20603 if ac_fn_c_try_run "$LINENO"
   20604 then :
   20605   xorg_cv_malloc0_returns_null=yes
   20606 else case e in #(
   20607   e) xorg_cv_malloc0_returns_null=no ;;
   20608 esac
   20609 fi
   20610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20611   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20612 esac
   20613 fi
   20614  ;;
   20615 esac
   20616 fi
   20617 
   20618 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   20619 fi
   20620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20621 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20622 
   20623 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20624 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20625 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20626 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20627 else
   20628 	MALLOC_ZERO_CFLAGS=""
   20629 	XMALLOC_ZERO_CFLAGS=""
   20630 	XTMALLOC_ZERO_CFLAGS=""
   20631 fi
   20632 
   20633 
   20634 
   20635 
   20636 
   20637 
   20638 # Determine .so library version per platform
   20639 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   20640 if test "x$XEXT_SOREV" = "x" ; then
   20641     case $host_os in
   20642 	openbsd*)	XEXT_SOREV=8:0 		;;
   20643 	solaris*)       XEXT_SOREV=0 		;;
   20644 	*)              XEXT_SOREV=6:4:0 	;;
   20645     esac
   20646 fi
   20647 
   20648 
   20649 # Obtain compiler/linker options for dependencies
   20650 
   20651 pkg_failed=no
   20652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   20653 printf %s "checking for XEXT... " >&6; }
   20654 
   20655 if test -n "$XEXT_CFLAGS"; then
   20656     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   20657  elif test -n "$PKG_CONFIG"; then
   20658     if test -n "$PKG_CONFIG" && \
   20659     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99\""; } >&5
   20660   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99") 2>&5
   20661   ac_status=$?
   20662   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20663   test $ac_status = 0; }; then
   20664   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>/dev/null`
   20665 		      test "x$?" != "x0" && pkg_failed=yes
   20666 else
   20667   pkg_failed=yes
   20668 fi
   20669  else
   20670     pkg_failed=untried
   20671 fi
   20672 if test -n "$XEXT_LIBS"; then
   20673     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   20674  elif test -n "$PKG_CONFIG"; then
   20675     if test -n "$PKG_CONFIG" && \
   20676     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99\""; } >&5
   20677   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99") 2>&5
   20678   ac_status=$?
   20679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20680   test $ac_status = 0; }; then
   20681   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>/dev/null`
   20682 		      test "x$?" != "x0" && pkg_failed=yes
   20683 else
   20684   pkg_failed=yes
   20685 fi
   20686  else
   20687     pkg_failed=untried
   20688 fi
   20689 
   20690 
   20691 
   20692 if test $pkg_failed = yes; then
   20693    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20694 printf "%s\n" "no" >&6; }
   20695 
   20696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20697         _pkg_short_errors_supported=yes
   20698 else
   20699         _pkg_short_errors_supported=no
   20700 fi
   20701         if test $_pkg_short_errors_supported = yes; then
   20702 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>&1`
   20703         else
   20704 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99" 2>&1`
   20705         fi
   20706 	# Put the nasty error message in config.log where it belongs
   20707 	echo "$XEXT_PKG_ERRORS" >&5
   20708 
   20709 	as_fn_error $? "Package requirements (xproto >= 7.0.13 x11 >= 1.6 xextproto >= 7.1.99) were not met:
   20710 
   20711 $XEXT_PKG_ERRORS
   20712 
   20713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20714 installed software in a non-standard prefix.
   20715 
   20716 Alternatively, you may set the environment variables XEXT_CFLAGS
   20717 and XEXT_LIBS to avoid the need to call pkg-config.
   20718 See the pkg-config man page for more details." "$LINENO" 5
   20719 elif test $pkg_failed = untried; then
   20720      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20721 printf "%s\n" "no" >&6; }
   20722 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20723 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20724 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20725 is in your PATH or set the PKG_CONFIG environment variable to the full
   20726 path to pkg-config.
   20727 
   20728 Alternatively, you may set the environment variables XEXT_CFLAGS
   20729 and XEXT_LIBS to avoid the need to call pkg-config.
   20730 See the pkg-config man page for more details.
   20731 
   20732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20733 See 'config.log' for more details" "$LINENO" 5; }
   20734 else
   20735 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   20736 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   20737         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20738 printf "%s\n" "yes" >&6; }
   20739 
   20740 fi
   20741 
   20742 
   20743 
   20744 
   20745     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   20746 printf %s "checking for __builtin_popcountl... " >&6; }
   20747 if test ${ax_cv_have___builtin_popcountl+y}
   20748 then :
   20749   printf %s "(cached) " >&6
   20750 else case e in #(
   20751   e)
   20752         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20753 /* end confdefs.h.  */
   20754 
   20755 int
   20756 main (void)
   20757 {
   20758 
   20759             __builtin_popcountl(0)
   20760 
   20761   ;
   20762   return 0;
   20763 }
   20764 _ACEOF
   20765 if ac_fn_c_try_link "$LINENO"
   20766 then :
   20767   ax_cv_have___builtin_popcountl=yes
   20768 else case e in #(
   20769   e) ax_cv_have___builtin_popcountl=no ;;
   20770 esac
   20771 fi
   20772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20773     conftest$ac_exeext conftest.$ac_ext
   20774      ;;
   20775 esac
   20776 fi
   20777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   20778 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   20779 
   20780     if test yes = $ax_cv_have___builtin_popcountl
   20781 then :
   20782 
   20783 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   20784 
   20785 fi
   20786 
   20787 
   20788 
   20789 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   20790 if test "x$ac_cv_func_reallocarray" = xyes
   20791 then :
   20792   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   20793 
   20794 else case e in #(
   20795   e) case " $LIBOBJS " in
   20796   *" reallocarray.$ac_objext "* ) ;;
   20797   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   20798  ;;
   20799 esac
   20800  ;;
   20801 esac
   20802 fi
   20803 
   20804 
   20805 # Allow checking code with lint, sparse, etc.
   20806 
   20807 
   20808 
   20809 
   20810 
   20811 # Check whether --with-lint was given.
   20812 if test ${with_lint+y}
   20813 then :
   20814   withval=$with_lint; use_lint=$withval
   20815 else case e in #(
   20816   e) use_lint=no ;;
   20817 esac
   20818 fi
   20819 
   20820 
   20821 # Obtain platform specific info like program name and options
   20822 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20823 case $host_os in
   20824   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20825 	lint_name=splint
   20826 	lint_options="-badflag"
   20827 	;;
   20828   *freebsd* | *netbsd*)
   20829 	lint_name=lint
   20830 	lint_options="-u -b"
   20831 	;;
   20832   *solaris*)
   20833 	lint_name=lint
   20834 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20835 	;;
   20836 esac
   20837 
   20838 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20839 if test "x$use_lint" = x"yes" ; then
   20840    # Extract the first word of "$lint_name", so it can be a program name with args.
   20841 set dummy $lint_name; ac_word=$2
   20842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20843 printf %s "checking for $ac_word... " >&6; }
   20844 if test ${ac_cv_path_LINT+y}
   20845 then :
   20846   printf %s "(cached) " >&6
   20847 else case e in #(
   20848   e) case $LINT in
   20849   [\\/]* | ?:[\\/]*)
   20850   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20851   ;;
   20852   *)
   20853   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20854 for as_dir in $PATH
   20855 do
   20856   IFS=$as_save_IFS
   20857   case $as_dir in #(((
   20858     '') as_dir=./ ;;
   20859     */) ;;
   20860     *) as_dir=$as_dir/ ;;
   20861   esac
   20862     for ac_exec_ext in '' $ac_executable_extensions; do
   20863   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20864     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   20865     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20866     break 2
   20867   fi
   20868 done
   20869   done
   20870 IFS=$as_save_IFS
   20871 
   20872   ;;
   20873 esac ;;
   20874 esac
   20875 fi
   20876 LINT=$ac_cv_path_LINT
   20877 if test -n "$LINT"; then
   20878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20879 printf "%s\n" "$LINT" >&6; }
   20880 else
   20881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20882 printf "%s\n" "no" >&6; }
   20883 fi
   20884 
   20885 
   20886    if test "x$LINT" = "x"; then
   20887         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20888    fi
   20889 elif test "x$use_lint" = x"no" ; then
   20890    if test "x$LINT" != "x"; then
   20891       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20892 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20893    fi
   20894 else
   20895    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20896 fi
   20897 
   20898 # User supplied flags override default flags
   20899 if test "x$LINT_FLAGS" != "x"; then
   20900    lint_options=$LINT_FLAGS
   20901 fi
   20902 
   20903 LINT_FLAGS=$lint_options
   20904 
   20905  if test "x$LINT" != x; then
   20906   LINT_TRUE=
   20907   LINT_FALSE='#'
   20908 else
   20909   LINT_TRUE='#'
   20910   LINT_FALSE=
   20911 fi
   20912 
   20913 
   20914 
   20915 
   20916 
   20917 # Check whether --enable-lint-library was given.
   20918 if test ${enable_lint_library+y}
   20919 then :
   20920   enableval=$enable_lint_library; make_lint_lib=$enableval
   20921 else case e in #(
   20922   e) make_lint_lib=no ;;
   20923 esac
   20924 fi
   20925 
   20926 
   20927 if test "x$make_lint_lib" = x"yes" ; then
   20928    LINTLIB=llib-lXext.ln
   20929    if test "x$LINT" = "x"; then
   20930         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20931    fi
   20932 elif test "x$make_lint_lib" != x"no" ; then
   20933    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20934 fi
   20935 
   20936 
   20937  if test x$make_lint_lib != xno; then
   20938   MAKE_LINT_LIB_TRUE=
   20939   MAKE_LINT_LIB_FALSE='#'
   20940 else
   20941   MAKE_LINT_LIB_TRUE='#'
   20942   MAKE_LINT_LIB_FALSE=
   20943 fi
   20944 
   20945 
   20946 
   20947 
   20948 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xext.pc"
   20949 
   20950 cat >confcache <<\_ACEOF
   20951 # This file is a shell script that caches the results of configure
   20952 # tests run on this system so they can be shared between configure
   20953 # scripts and configure runs, see configure's option --config-cache.
   20954 # It is not useful on other systems.  If it contains results you don't
   20955 # want to keep, you may remove or edit it.
   20956 #
   20957 # config.status only pays attention to the cache file if you give it
   20958 # the --recheck option to rerun configure.
   20959 #
   20960 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20961 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20962 # following values.
   20963 
   20964 _ACEOF
   20965 
   20966 # The following way of writing the cache mishandles newlines in values,
   20967 # but we know of no workaround that is simple, portable, and efficient.
   20968 # So, we kill variables containing newlines.
   20969 # Ultrix sh set writes to stderr and can't be redirected directly,
   20970 # and sets the high bit in the cache file unless we assign to the vars.
   20971 (
   20972   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20973     eval ac_val=\$$ac_var
   20974     case $ac_val in #(
   20975     *${as_nl}*)
   20976       case $ac_var in #(
   20977       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20978 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20979       esac
   20980       case $ac_var in #(
   20981       _ | IFS | as_nl) ;; #(
   20982       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20983       *) { eval $ac_var=; unset $ac_var;} ;;
   20984       esac ;;
   20985     esac
   20986   done
   20987 
   20988   (set) 2>&1 |
   20989     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20990     *${as_nl}ac_space=\ *)
   20991       # 'set' does not quote correctly, so add quotes: double-quote
   20992       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20993       sed -n \
   20994 	"s/'/'\\\\''/g;
   20995 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20996       ;; #(
   20997     *)
   20998       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20999       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21000       ;;
   21001     esac |
   21002     sort
   21003 ) |
   21004   sed '
   21005      /^ac_cv_env_/b end
   21006      t clear
   21007      :clear
   21008      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21009      t end
   21010      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21011      :end' >>confcache
   21012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21013   if test -w "$cache_file"; then
   21014     if test "x$cache_file" != "x/dev/null"; then
   21015       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21016 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21017       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21018 	cat confcache >"$cache_file"
   21019       else
   21020         case $cache_file in #(
   21021         */* | ?:*)
   21022 	  mv -f confcache "$cache_file"$$ &&
   21023 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21024         *)
   21025 	  mv -f confcache "$cache_file" ;;
   21026 	esac
   21027       fi
   21028     fi
   21029   else
   21030     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21031 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21032   fi
   21033 fi
   21034 rm -f confcache
   21035 
   21036 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21037 # Let make expand exec_prefix.
   21038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21039 
   21040 DEFS=-DHAVE_CONFIG_H
   21041 
   21042 ac_libobjs=
   21043 ac_ltlibobjs=
   21044 U=
   21045 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21046   # 1. Remove the extension, and $U if already installed.
   21047   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21048   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21049   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21050   #    will be set to the directory where LIBOBJS objects are built.
   21051   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21052   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21053 done
   21054 LIBOBJS=$ac_libobjs
   21055 
   21056 LTLIBOBJS=$ac_ltlibobjs
   21057 
   21058 
   21059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21060 printf %s "checking that generated files are newer than configure... " >&6; }
   21061    if test -n "$am_sleep_pid"; then
   21062      # Hide warnings about reused PIDs.
   21063      wait $am_sleep_pid 2>/dev/null
   21064    fi
   21065    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21066 printf "%s\n" "done" >&6; }
   21067 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21068   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21070 fi
   21071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21072   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21074 fi
   21075  if test -n "$EXEEXT"; then
   21076   am__EXEEXT_TRUE=
   21077   am__EXEEXT_FALSE='#'
   21078 else
   21079   am__EXEEXT_TRUE='#'
   21080   am__EXEEXT_FALSE=
   21081 fi
   21082 
   21083 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   21084   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   21085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21086 fi
   21087 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21088   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21090 fi
   21091 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21092   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21094 fi
   21095 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21096   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21098 fi
   21099 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   21100   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   21101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21102 fi
   21103 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21104   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21106 fi
   21107 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   21108   as_fn_error $? "conditional \"LINT\" was never defined.
   21109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21110 fi
   21111 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   21112   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   21113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21114 fi
   21115 
   21116 : "${CONFIG_STATUS=./config.status}"
   21117 ac_write_fail=0
   21118 ac_clean_files_save=$ac_clean_files
   21119 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21121 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21122 as_write_fail=0
   21123 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21124 #! $SHELL
   21125 # Generated by $as_me.
   21126 # Run this file to recreate the current configuration.
   21127 # Compiler output produced by configure, useful for debugging
   21128 # configure, is in config.log if it exists.
   21129 
   21130 debug=false
   21131 ac_cs_recheck=false
   21132 ac_cs_silent=false
   21133 
   21134 SHELL=\${CONFIG_SHELL-$SHELL}
   21135 export SHELL
   21136 _ASEOF
   21137 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21138 ## -------------------- ##
   21139 ## M4sh Initialization. ##
   21140 ## -------------------- ##
   21141 
   21142 # Be more Bourne compatible
   21143 DUALCASE=1; export DUALCASE # for MKS sh
   21144 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21145 then :
   21146   emulate sh
   21147   NULLCMD=:
   21148   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21149   # is contrary to our usage.  Disable this feature.
   21150   alias -g '${1+"$@"}'='"$@"'
   21151   setopt NO_GLOB_SUBST
   21152 else case e in #(
   21153   e) case `(set -o) 2>/dev/null` in #(
   21154   *posix*) :
   21155     set -o posix ;; #(
   21156   *) :
   21157      ;;
   21158 esac ;;
   21159 esac
   21160 fi
   21161 
   21162 
   21163 
   21164 # Reset variables that may have inherited troublesome values from
   21165 # the environment.
   21166 
   21167 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21168 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21169 # side effect of setting IFS to empty, thus disabling word splitting.)
   21170 # Quoting is to prevent editors from complaining about space-tab.
   21171 as_nl='
   21172 '
   21173 export as_nl
   21174 IFS=" ""	$as_nl"
   21175 
   21176 PS1='$ '
   21177 PS2='> '
   21178 PS4='+ '
   21179 
   21180 # Ensure predictable behavior from utilities with locale-dependent output.
   21181 LC_ALL=C
   21182 export LC_ALL
   21183 LANGUAGE=C
   21184 export LANGUAGE
   21185 
   21186 # We cannot yet rely on "unset" to work, but we need these variables
   21187 # to be unset--not just set to an empty or harmless value--now, to
   21188 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21189 # also avoids known problems related to "unset" and subshell syntax
   21190 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21191 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21192 do eval test \${$as_var+y} \
   21193   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21194 done
   21195 
   21196 # Ensure that fds 0, 1, and 2 are open.
   21197 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21198 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21199 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21200 
   21201 # The user is always right.
   21202 if ${PATH_SEPARATOR+false} :; then
   21203   PATH_SEPARATOR=:
   21204   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21205     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21206       PATH_SEPARATOR=';'
   21207   }
   21208 fi
   21209 
   21210 
   21211 # Find who we are.  Look in the path if we contain no directory separator.
   21212 as_myself=
   21213 case $0 in #((
   21214   *[\\/]* ) as_myself=$0 ;;
   21215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21216 for as_dir in $PATH
   21217 do
   21218   IFS=$as_save_IFS
   21219   case $as_dir in #(((
   21220     '') as_dir=./ ;;
   21221     */) ;;
   21222     *) as_dir=$as_dir/ ;;
   21223   esac
   21224     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21225   done
   21226 IFS=$as_save_IFS
   21227 
   21228      ;;
   21229 esac
   21230 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21231 # in which case we are not to be found in the path.
   21232 if test "x$as_myself" = x; then
   21233   as_myself=$0
   21234 fi
   21235 if test ! -f "$as_myself"; then
   21236   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21237   exit 1
   21238 fi
   21239 
   21240 
   21241 
   21242 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21243 # ----------------------------------------
   21244 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21245 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21246 # script with STATUS, using 1 if that was 0.
   21247 as_fn_error ()
   21248 {
   21249   as_status=$1; test $as_status -eq 0 && as_status=1
   21250   if test "$4"; then
   21251     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21252     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21253   fi
   21254   printf "%s\n" "$as_me: error: $2" >&2
   21255   as_fn_exit $as_status
   21256 } # as_fn_error
   21257 
   21258 
   21259 # as_fn_set_status STATUS
   21260 # -----------------------
   21261 # Set $? to STATUS, without forking.
   21262 as_fn_set_status ()
   21263 {
   21264   return $1
   21265 } # as_fn_set_status
   21266 
   21267 # as_fn_exit STATUS
   21268 # -----------------
   21269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21270 as_fn_exit ()
   21271 {
   21272   set +e
   21273   as_fn_set_status $1
   21274   exit $1
   21275 } # as_fn_exit
   21276 
   21277 # as_fn_unset VAR
   21278 # ---------------
   21279 # Portably unset VAR.
   21280 as_fn_unset ()
   21281 {
   21282   { eval $1=; unset $1;}
   21283 }
   21284 as_unset=as_fn_unset
   21285 
   21286 # as_fn_append VAR VALUE
   21287 # ----------------------
   21288 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21289 # advantage of any shell optimizations that allow amortized linear growth over
   21290 # repeated appends, instead of the typical quadratic growth present in naive
   21291 # implementations.
   21292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21293 then :
   21294   eval 'as_fn_append ()
   21295   {
   21296     eval $1+=\$2
   21297   }'
   21298 else case e in #(
   21299   e) as_fn_append ()
   21300   {
   21301     eval $1=\$$1\$2
   21302   } ;;
   21303 esac
   21304 fi # as_fn_append
   21305 
   21306 # as_fn_arith ARG...
   21307 # ------------------
   21308 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21309 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21310 # must be portable across $(()) and expr.
   21311 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21312 then :
   21313   eval 'as_fn_arith ()
   21314   {
   21315     as_val=$(( $* ))
   21316   }'
   21317 else case e in #(
   21318   e) as_fn_arith ()
   21319   {
   21320     as_val=`expr "$@" || test $? -eq 1`
   21321   } ;;
   21322 esac
   21323 fi # as_fn_arith
   21324 
   21325 
   21326 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21327    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21328   as_expr=expr
   21329 else
   21330   as_expr=false
   21331 fi
   21332 
   21333 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21334   as_basename=basename
   21335 else
   21336   as_basename=false
   21337 fi
   21338 
   21339 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21340   as_dirname=dirname
   21341 else
   21342   as_dirname=false
   21343 fi
   21344 
   21345 as_me=`$as_basename -- "$0" ||
   21346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21347 	 X"$0" : 'X\(//\)$' \| \
   21348 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21349 printf "%s\n" X/"$0" |
   21350     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21351 	    s//\1/
   21352 	    q
   21353 	  }
   21354 	  /^X\/\(\/\/\)$/{
   21355 	    s//\1/
   21356 	    q
   21357 	  }
   21358 	  /^X\/\(\/\).*/{
   21359 	    s//\1/
   21360 	    q
   21361 	  }
   21362 	  s/.*/./; q'`
   21363 
   21364 # Avoid depending upon Character Ranges.
   21365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21368 as_cr_digits='0123456789'
   21369 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21370 
   21371 
   21372 # Determine whether it's possible to make 'echo' print without a newline.
   21373 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21374 # for compatibility with existing Makefiles.
   21375 ECHO_C= ECHO_N= ECHO_T=
   21376 case `echo -n x` in #(((((
   21377 -n*)
   21378   case `echo 'xy\c'` in
   21379   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21380   xy)  ECHO_C='\c';;
   21381   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21382        ECHO_T='	';;
   21383   esac;;
   21384 *)
   21385   ECHO_N='-n';;
   21386 esac
   21387 
   21388 # For backward compatibility with old third-party macros, we provide
   21389 # the shell variables $as_echo and $as_echo_n.  New code should use
   21390 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21391 as_echo='printf %s\n'
   21392 as_echo_n='printf %s'
   21393 
   21394 rm -f conf$$ conf$$.exe conf$$.file
   21395 if test -d conf$$.dir; then
   21396   rm -f conf$$.dir/conf$$.file
   21397 else
   21398   rm -f conf$$.dir
   21399   mkdir conf$$.dir 2>/dev/null
   21400 fi
   21401 if (echo >conf$$.file) 2>/dev/null; then
   21402   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21403     as_ln_s='ln -s'
   21404     # ... but there are two gotchas:
   21405     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21406     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21407     # In both cases, we have to default to 'cp -pR'.
   21408     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21409       as_ln_s='cp -pR'
   21410   elif ln conf$$.file conf$$ 2>/dev/null; then
   21411     as_ln_s=ln
   21412   else
   21413     as_ln_s='cp -pR'
   21414   fi
   21415 else
   21416   as_ln_s='cp -pR'
   21417 fi
   21418 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21419 rmdir conf$$.dir 2>/dev/null
   21420 
   21421 
   21422 # as_fn_mkdir_p
   21423 # -------------
   21424 # Create "$as_dir" as a directory, including parents if necessary.
   21425 as_fn_mkdir_p ()
   21426 {
   21427 
   21428   case $as_dir in #(
   21429   -*) as_dir=./$as_dir;;
   21430   esac
   21431   test -d "$as_dir" || eval $as_mkdir_p || {
   21432     as_dirs=
   21433     while :; do
   21434       case $as_dir in #(
   21435       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21436       *) as_qdir=$as_dir;;
   21437       esac
   21438       as_dirs="'$as_qdir' $as_dirs"
   21439       as_dir=`$as_dirname -- "$as_dir" ||
   21440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21441 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21442 	 X"$as_dir" : 'X\(//\)$' \| \
   21443 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21444 printf "%s\n" X"$as_dir" |
   21445     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21446 	    s//\1/
   21447 	    q
   21448 	  }
   21449 	  /^X\(\/\/\)[^/].*/{
   21450 	    s//\1/
   21451 	    q
   21452 	  }
   21453 	  /^X\(\/\/\)$/{
   21454 	    s//\1/
   21455 	    q
   21456 	  }
   21457 	  /^X\(\/\).*/{
   21458 	    s//\1/
   21459 	    q
   21460 	  }
   21461 	  s/.*/./; q'`
   21462       test -d "$as_dir" && break
   21463     done
   21464     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21465   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21466 
   21467 
   21468 } # as_fn_mkdir_p
   21469 if mkdir -p . 2>/dev/null; then
   21470   as_mkdir_p='mkdir -p "$as_dir"'
   21471 else
   21472   test -d ./-p && rmdir ./-p
   21473   as_mkdir_p=false
   21474 fi
   21475 
   21476 
   21477 # as_fn_executable_p FILE
   21478 # -----------------------
   21479 # Test if FILE is an executable regular file.
   21480 as_fn_executable_p ()
   21481 {
   21482   test -f "$1" && test -x "$1"
   21483 } # as_fn_executable_p
   21484 as_test_x='test -x'
   21485 as_executable_p=as_fn_executable_p
   21486 
   21487 # Sed expression to map a string onto a valid CPP name.
   21488 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21489 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21490 
   21491 # Sed expression to map a string onto a valid variable name.
   21492 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21493 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21494 
   21495 
   21496 exec 6>&1
   21497 ## ----------------------------------- ##
   21498 ## Main body of $CONFIG_STATUS script. ##
   21499 ## ----------------------------------- ##
   21500 _ASEOF
   21501 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21502 
   21503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21504 # Save the log message, to keep $0 and so on meaningful, and to
   21505 # report actual input values of CONFIG_FILES etc. instead of their
   21506 # values after options handling.
   21507 ac_log="
   21508 This file was extended by libXext $as_me 1.3.6, which was
   21509 generated by GNU Autoconf 2.72.  Invocation command line was
   21510 
   21511   CONFIG_FILES    = $CONFIG_FILES
   21512   CONFIG_HEADERS  = $CONFIG_HEADERS
   21513   CONFIG_LINKS    = $CONFIG_LINKS
   21514   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21515   $ $0 $@
   21516 
   21517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21518 "
   21519 
   21520 _ACEOF
   21521 
   21522 case $ac_config_files in *"
   21523 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21524 esac
   21525 
   21526 case $ac_config_headers in *"
   21527 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21528 esac
   21529 
   21530 
   21531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21532 # Files that config.status was made for.
   21533 config_files="$ac_config_files"
   21534 config_headers="$ac_config_headers"
   21535 config_commands="$ac_config_commands"
   21536 
   21537 _ACEOF
   21538 
   21539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21540 ac_cs_usage="\
   21541 '$as_me' instantiates files and other configuration actions
   21542 from templates according to the current configuration.  Unless the files
   21543 and actions are specified as TAGs, all are instantiated by default.
   21544 
   21545 Usage: $0 [OPTION]... [TAG]...
   21546 
   21547   -h, --help       print this help, then exit
   21548   -V, --version    print version number and configuration settings, then exit
   21549       --config     print configuration, then exit
   21550   -q, --quiet, --silent
   21551                    do not print progress messages
   21552   -d, --debug      don't remove temporary files
   21553       --recheck    update $as_me by reconfiguring in the same conditions
   21554       --file=FILE[:TEMPLATE]
   21555                    instantiate the configuration file FILE
   21556       --header=FILE[:TEMPLATE]
   21557                    instantiate the configuration header FILE
   21558 
   21559 Configuration files:
   21560 $config_files
   21561 
   21562 Configuration headers:
   21563 $config_headers
   21564 
   21565 Configuration commands:
   21566 $config_commands
   21567 
   21568 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxext/-/issues>."
   21569 
   21570 _ACEOF
   21571 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21572 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21574 ac_cs_config='$ac_cs_config_escaped'
   21575 ac_cs_version="\\
   21576 libXext config.status 1.3.6
   21577 configured by $0, generated by GNU Autoconf 2.72,
   21578   with options \\"\$ac_cs_config\\"
   21579 
   21580 Copyright (C) 2023 Free Software Foundation, Inc.
   21581 This config.status script is free software; the Free Software Foundation
   21582 gives unlimited permission to copy, distribute and modify it."
   21583 
   21584 ac_pwd='$ac_pwd'
   21585 srcdir='$srcdir'
   21586 INSTALL='$INSTALL'
   21587 MKDIR_P='$MKDIR_P'
   21588 AWK='$AWK'
   21589 test -n "\$AWK" || AWK=awk
   21590 _ACEOF
   21591 
   21592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21593 # The default lists apply if the user does not specify any file.
   21594 ac_need_defaults=:
   21595 while test $# != 0
   21596 do
   21597   case $1 in
   21598   --*=?*)
   21599     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21600     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21601     ac_shift=:
   21602     ;;
   21603   --*=)
   21604     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21605     ac_optarg=
   21606     ac_shift=:
   21607     ;;
   21608   *)
   21609     ac_option=$1
   21610     ac_optarg=$2
   21611     ac_shift=shift
   21612     ;;
   21613   esac
   21614 
   21615   case $ac_option in
   21616   # Handling of the options.
   21617   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21618     ac_cs_recheck=: ;;
   21619   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21620     printf "%s\n" "$ac_cs_version"; exit ;;
   21621   --config | --confi | --conf | --con | --co | --c )
   21622     printf "%s\n" "$ac_cs_config"; exit ;;
   21623   --debug | --debu | --deb | --de | --d | -d )
   21624     debug=: ;;
   21625   --file | --fil | --fi | --f )
   21626     $ac_shift
   21627     case $ac_optarg in
   21628     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21629     '') as_fn_error $? "missing file argument" ;;
   21630     esac
   21631     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21632     ac_need_defaults=false;;
   21633   --header | --heade | --head | --hea )
   21634     $ac_shift
   21635     case $ac_optarg in
   21636     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21637     esac
   21638     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21639     ac_need_defaults=false;;
   21640   --he | --h)
   21641     # Conflict between --help and --header
   21642     as_fn_error $? "ambiguous option: '$1'
   21643 Try '$0 --help' for more information.";;
   21644   --help | --hel | -h )
   21645     printf "%s\n" "$ac_cs_usage"; exit ;;
   21646   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21647   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21648     ac_cs_silent=: ;;
   21649 
   21650   # This is an error.
   21651   -*) as_fn_error $? "unrecognized option: '$1'
   21652 Try '$0 --help' for more information." ;;
   21653 
   21654   *) as_fn_append ac_config_targets " $1"
   21655      ac_need_defaults=false ;;
   21656 
   21657   esac
   21658   shift
   21659 done
   21660 
   21661 ac_configure_extra_args=
   21662 
   21663 if $ac_cs_silent; then
   21664   exec 6>/dev/null
   21665   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21666 fi
   21667 
   21668 _ACEOF
   21669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21670 if \$ac_cs_recheck; then
   21671   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21672   shift
   21673   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21674   CONFIG_SHELL='$SHELL'
   21675   export CONFIG_SHELL
   21676   exec "\$@"
   21677 fi
   21678 
   21679 _ACEOF
   21680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21681 exec 5>>config.log
   21682 {
   21683   echo
   21684   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21685 ## Running $as_me. ##
   21686 _ASBOX
   21687   printf "%s\n" "$ac_log"
   21688 } >&5
   21689 
   21690 _ACEOF
   21691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21692 #
   21693 # INIT-COMMANDS
   21694 #
   21695 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21696 
   21697 
   21698 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21699 # if CDPATH is set.
   21700 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21701 
   21702 sed_quote_subst='$sed_quote_subst'
   21703 double_quote_subst='$double_quote_subst'
   21704 delay_variable_subst='$delay_variable_subst'
   21705 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21706 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21707 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21708 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21709 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21710 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21711 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21712 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21713 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21714 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21715 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21716 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21717 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21718 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21719 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21720 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21721 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21722 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21723 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21724 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21725 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21726 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21727 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21728 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21729 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21730 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21731 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21732 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21733 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21734 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21735 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21736 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21737 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21738 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21739 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21740 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21741 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21742 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21743 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21744 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21745 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21746 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21747 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21748 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21749 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21750 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21751 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21752 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21753 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21754 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21755 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21756 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21757 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21758 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21759 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21760 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21761 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21762 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21763 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21764 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21765 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"`'
   21766 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21767 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21768 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21769 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21770 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21771 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21772 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21773 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21774 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21775 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21776 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21777 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21778 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21779 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21780 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21781 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21782 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21783 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21784 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21785 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21786 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21787 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21788 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21789 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21790 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21791 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21792 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21793 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21794 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21795 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21796 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21797 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21798 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21799 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21800 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21801 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21802 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21803 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21804 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21805 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21806 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21807 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21808 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21809 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21810 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21811 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21812 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21813 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21814 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21815 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21816 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21817 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21818 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21819 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21820 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21821 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21822 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21823 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21824 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21825 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21826 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21827 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21828 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21829 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21830 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21831 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21832 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21833 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21834 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21835 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21836 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21837 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21838 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21839 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21840 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21841 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21842 
   21843 LTCC='$LTCC'
   21844 LTCFLAGS='$LTCFLAGS'
   21845 compiler='$compiler_DEFAULT'
   21846 
   21847 # A function that is used when there is no print builtin or printf.
   21848 func_fallback_echo ()
   21849 {
   21850   eval 'cat <<_LTECHO_EOF
   21851 \$1
   21852 _LTECHO_EOF'
   21853 }
   21854 
   21855 # Quote evaled strings.
   21856 for var in SHELL \
   21857 ECHO \
   21858 PATH_SEPARATOR \
   21859 SED \
   21860 GREP \
   21861 EGREP \
   21862 FGREP \
   21863 LD \
   21864 NM \
   21865 LN_S \
   21866 lt_SP2NL \
   21867 lt_NL2SP \
   21868 reload_flag \
   21869 FILECMD \
   21870 OBJDUMP \
   21871 deplibs_check_method \
   21872 file_magic_cmd \
   21873 file_magic_glob \
   21874 want_nocaseglob \
   21875 DLLTOOL \
   21876 sharedlib_from_linklib_cmd \
   21877 AR \
   21878 archiver_list_spec \
   21879 STRIP \
   21880 RANLIB \
   21881 CC \
   21882 CFLAGS \
   21883 compiler \
   21884 lt_cv_sys_global_symbol_pipe \
   21885 lt_cv_sys_global_symbol_to_cdecl \
   21886 lt_cv_sys_global_symbol_to_import \
   21887 lt_cv_sys_global_symbol_to_c_name_address \
   21888 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21889 lt_cv_nm_interface \
   21890 nm_file_list_spec \
   21891 lt_cv_truncate_bin \
   21892 lt_prog_compiler_no_builtin_flag \
   21893 lt_prog_compiler_pic \
   21894 lt_prog_compiler_wl \
   21895 lt_prog_compiler_static \
   21896 lt_cv_prog_compiler_c_o \
   21897 need_locks \
   21898 MANIFEST_TOOL \
   21899 DSYMUTIL \
   21900 NMEDIT \
   21901 LIPO \
   21902 OTOOL \
   21903 OTOOL64 \
   21904 shrext_cmds \
   21905 export_dynamic_flag_spec \
   21906 whole_archive_flag_spec \
   21907 compiler_needs_object \
   21908 with_gnu_ld \
   21909 allow_undefined_flag \
   21910 no_undefined_flag \
   21911 hardcode_libdir_flag_spec \
   21912 hardcode_libdir_separator \
   21913 exclude_expsyms \
   21914 include_expsyms \
   21915 file_list_spec \
   21916 variables_saved_for_relink \
   21917 libname_spec \
   21918 library_names_spec \
   21919 soname_spec \
   21920 install_override_mode \
   21921 finish_eval \
   21922 old_striplib \
   21923 striplib; do
   21924     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21925     *[\\\\\\\`\\"\\\$]*)
   21926       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21927       ;;
   21928     *)
   21929       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21930       ;;
   21931     esac
   21932 done
   21933 
   21934 # Double-quote double-evaled strings.
   21935 for var in reload_cmds \
   21936 old_postinstall_cmds \
   21937 old_postuninstall_cmds \
   21938 old_archive_cmds \
   21939 extract_expsyms_cmds \
   21940 old_archive_from_new_cmds \
   21941 old_archive_from_expsyms_cmds \
   21942 archive_cmds \
   21943 archive_expsym_cmds \
   21944 module_cmds \
   21945 module_expsym_cmds \
   21946 export_symbols_cmds \
   21947 prelink_cmds \
   21948 postlink_cmds \
   21949 postinstall_cmds \
   21950 postuninstall_cmds \
   21951 finish_cmds \
   21952 sys_lib_search_path_spec \
   21953 configure_time_dlsearch_path \
   21954 configure_time_lt_sys_library_path; do
   21955     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21956     *[\\\\\\\`\\"\\\$]*)
   21957       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21958       ;;
   21959     *)
   21960       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21961       ;;
   21962     esac
   21963 done
   21964 
   21965 ac_aux_dir='$ac_aux_dir'
   21966 
   21967 # See if we are running on zsh, and set the options that allow our
   21968 # commands through without removal of \ escapes INIT.
   21969 if test -n "\${ZSH_VERSION+set}"; then
   21970    setopt NO_GLOB_SUBST
   21971 fi
   21972 
   21973 
   21974     PACKAGE='$PACKAGE'
   21975     VERSION='$VERSION'
   21976     RM='$RM'
   21977     ofile='$ofile'
   21978 
   21979 
   21980 
   21981 
   21982 _ACEOF
   21983 
   21984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21985 
   21986 # Handling of arguments.
   21987 for ac_config_target in $ac_config_targets
   21988 do
   21989   case $ac_config_target in
   21990     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21991     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21992     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21993     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21994     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21995     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21996     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21997     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   21998 
   21999   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   22000   esac
   22001 done
   22002 
   22003 
   22004 # If the user did not use the arguments to specify the items to instantiate,
   22005 # then the envvar interface is used.  Set only those that are not.
   22006 # We use the long form for the default assignment because of an extremely
   22007 # bizarre bug on SunOS 4.1.3.
   22008 if $ac_need_defaults; then
   22009   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22010   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22011   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22012 fi
   22013 
   22014 # Have a temporary directory for convenience.  Make it in the build tree
   22015 # simply because there is no reason against having it here, and in addition,
   22016 # creating and moving files from /tmp can sometimes cause problems.
   22017 # Hook for its removal unless debugging.
   22018 # Note that there is a small window in which the directory will not be cleaned:
   22019 # after its creation but before its name has been assigned to '$tmp'.
   22020 $debug ||
   22021 {
   22022   tmp= ac_tmp=
   22023   trap 'exit_status=$?
   22024   : "${ac_tmp:=$tmp}"
   22025   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22026 ' 0
   22027   trap 'as_fn_exit 1' 1 2 13 15
   22028 }
   22029 # Create a (secure) tmp directory for tmp files.
   22030 
   22031 {
   22032   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22033   test -d "$tmp"
   22034 }  ||
   22035 {
   22036   tmp=./conf$$-$RANDOM
   22037   (umask 077 && mkdir "$tmp")
   22038 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22039 ac_tmp=$tmp
   22040 
   22041 # Set up the scripts for CONFIG_FILES section.
   22042 # No need to generate them if there are no CONFIG_FILES.
   22043 # This happens for instance with './config.status config.h'.
   22044 if test -n "$CONFIG_FILES"; then
   22045 
   22046 
   22047 ac_cr=`echo X | tr X '\015'`
   22048 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22049 # But we know of no other shell where ac_cr would be empty at this
   22050 # point, so we can use a bashism as a fallback.
   22051 if test "x$ac_cr" = x; then
   22052   eval ac_cr=\$\'\\r\'
   22053 fi
   22054 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22055 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22056   ac_cs_awk_cr='\\r'
   22057 else
   22058   ac_cs_awk_cr=$ac_cr
   22059 fi
   22060 
   22061 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22062 _ACEOF
   22063 
   22064 
   22065 {
   22066   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22067   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22068   echo "_ACEOF"
   22069 } >conf$$subs.sh ||
   22070   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22071 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22072 ac_delim='%!_!# '
   22073 for ac_last_try in false false false false false :; do
   22074   . ./conf$$subs.sh ||
   22075     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22076 
   22077   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22078   if test $ac_delim_n = $ac_delim_num; then
   22079     break
   22080   elif $ac_last_try; then
   22081     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22082   else
   22083     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22084   fi
   22085 done
   22086 rm -f conf$$subs.sh
   22087 
   22088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22089 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22090 _ACEOF
   22091 sed -n '
   22092 h
   22093 s/^/S["/; s/!.*/"]=/
   22094 p
   22095 g
   22096 s/^[^!]*!//
   22097 :repl
   22098 t repl
   22099 s/'"$ac_delim"'$//
   22100 t delim
   22101 :nl
   22102 h
   22103 s/\(.\{148\}\)..*/\1/
   22104 t more1
   22105 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22106 p
   22107 n
   22108 b repl
   22109 :more1
   22110 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22111 p
   22112 g
   22113 s/.\{148\}//
   22114 t nl
   22115 :delim
   22116 h
   22117 s/\(.\{148\}\)..*/\1/
   22118 t more2
   22119 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22120 p
   22121 b
   22122 :more2
   22123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22124 p
   22125 g
   22126 s/.\{148\}//
   22127 t delim
   22128 ' <conf$$subs.awk | sed '
   22129 /^[^""]/{
   22130   N
   22131   s/\n//
   22132 }
   22133 ' >>$CONFIG_STATUS || ac_write_fail=1
   22134 rm -f conf$$subs.awk
   22135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22136 _ACAWK
   22137 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22138   for (key in S) S_is_set[key] = 1
   22139   FS = ""
   22140 
   22141 }
   22142 {
   22143   line = $ 0
   22144   nfields = split(line, field, "@")
   22145   substed = 0
   22146   len = length(field[1])
   22147   for (i = 2; i < nfields; i++) {
   22148     key = field[i]
   22149     keylen = length(key)
   22150     if (S_is_set[key]) {
   22151       value = S[key]
   22152       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22153       len += length(value) + length(field[++i])
   22154       substed = 1
   22155     } else
   22156       len += 1 + keylen
   22157   }
   22158 
   22159   print line
   22160 }
   22161 
   22162 _ACAWK
   22163 _ACEOF
   22164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22165 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22166   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22167 else
   22168   cat
   22169 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22170   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22171 _ACEOF
   22172 
   22173 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22174 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22175 # trailing colons and then remove the whole line if VPATH becomes empty
   22176 # (actually we leave an empty line to preserve line numbers).
   22177 if test "x$srcdir" = x.; then
   22178   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22179 h
   22180 s///
   22181 s/^/:/
   22182 s/[	 ]*$/:/
   22183 s/:\$(srcdir):/:/g
   22184 s/:\${srcdir}:/:/g
   22185 s/:@srcdir@:/:/g
   22186 s/^:*//
   22187 s/:*$//
   22188 x
   22189 s/\(=[	 ]*\).*/\1/
   22190 G
   22191 s/\n//
   22192 s/^[^=]*=[	 ]*$//
   22193 }'
   22194 fi
   22195 
   22196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22197 fi # test -n "$CONFIG_FILES"
   22198 
   22199 # Set up the scripts for CONFIG_HEADERS section.
   22200 # No need to generate them if there are no CONFIG_HEADERS.
   22201 # This happens for instance with './config.status Makefile'.
   22202 if test -n "$CONFIG_HEADERS"; then
   22203 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22204 BEGIN {
   22205 _ACEOF
   22206 
   22207 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22208 # here-document in config.status, that substitutes the proper values into
   22209 # config.h.in to produce config.h.
   22210 
   22211 # Create a delimiter string that does not exist in confdefs.h, to ease
   22212 # handling of long lines.
   22213 ac_delim='%!_!# '
   22214 for ac_last_try in false false :; do
   22215   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22216   if test -z "$ac_tt"; then
   22217     break
   22218   elif $ac_last_try; then
   22219     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22220   else
   22221     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22222   fi
   22223 done
   22224 
   22225 # For the awk script, D is an array of macro values keyed by name,
   22226 # likewise P contains macro parameters if any.  Preserve backslash
   22227 # newline sequences.
   22228 
   22229 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22230 sed -n '
   22231 s/.\{148\}/&'"$ac_delim"'/g
   22232 t rset
   22233 :rset
   22234 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22235 t def
   22236 d
   22237 :def
   22238 s/\\$//
   22239 t bsnl
   22240 s/["\\]/\\&/g
   22241 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22242 D["\1"]=" \3"/p
   22243 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22244 d
   22245 :bsnl
   22246 s/["\\]/\\&/g
   22247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22248 D["\1"]=" \3\\\\\\n"\\/p
   22249 t cont
   22250 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22251 t cont
   22252 d
   22253 :cont
   22254 n
   22255 s/.\{148\}/&'"$ac_delim"'/g
   22256 t clear
   22257 :clear
   22258 s/\\$//
   22259 t bsnlc
   22260 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22261 d
   22262 :bsnlc
   22263 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22264 b cont
   22265 ' <confdefs.h | sed '
   22266 s/'"$ac_delim"'/"\\\
   22267 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22268 
   22269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22270   for (key in D) D_is_set[key] = 1
   22271   FS = ""
   22272 }
   22273 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22274   line = \$ 0
   22275   split(line, arg, " ")
   22276   if (arg[1] == "#") {
   22277     defundef = arg[2]
   22278     mac1 = arg[3]
   22279   } else {
   22280     defundef = substr(arg[1], 2)
   22281     mac1 = arg[2]
   22282   }
   22283   split(mac1, mac2, "(") #)
   22284   macro = mac2[1]
   22285   prefix = substr(line, 1, index(line, defundef) - 1)
   22286   if (D_is_set[macro]) {
   22287     # Preserve the white space surrounding the "#".
   22288     print prefix "define", macro P[macro] D[macro]
   22289     next
   22290   } else {
   22291     # Replace #undef with comments.  This is necessary, for example,
   22292     # in the case of _POSIX_SOURCE, which is predefined and required
   22293     # on some systems where configure will not decide to define it.
   22294     if (defundef == "undef") {
   22295       print "/*", prefix defundef, macro, "*/"
   22296       next
   22297     }
   22298   }
   22299 }
   22300 { print }
   22301 _ACAWK
   22302 _ACEOF
   22303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22304   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22305 fi # test -n "$CONFIG_HEADERS"
   22306 
   22307 
   22308 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22309 shift
   22310 for ac_tag
   22311 do
   22312   case $ac_tag in
   22313   :[FHLC]) ac_mode=$ac_tag; continue;;
   22314   esac
   22315   case $ac_mode$ac_tag in
   22316   :[FHL]*:*);;
   22317   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22318   :[FH]-) ac_tag=-:-;;
   22319   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22320   esac
   22321   ac_save_IFS=$IFS
   22322   IFS=:
   22323   set x $ac_tag
   22324   IFS=$ac_save_IFS
   22325   shift
   22326   ac_file=$1
   22327   shift
   22328 
   22329   case $ac_mode in
   22330   :L) ac_source=$1;;
   22331   :[FH])
   22332     ac_file_inputs=
   22333     for ac_f
   22334     do
   22335       case $ac_f in
   22336       -) ac_f="$ac_tmp/stdin";;
   22337       *) # Look for the file first in the build tree, then in the source tree
   22338 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22339 	 # because $ac_f cannot contain ':'.
   22340 	 test -f "$ac_f" ||
   22341 	   case $ac_f in
   22342 	   [\\/$]*) false;;
   22343 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22344 	   esac ||
   22345 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22346       esac
   22347       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22348       as_fn_append ac_file_inputs " '$ac_f'"
   22349     done
   22350 
   22351     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22352     # use $as_me), people would be surprised to read:
   22353     #    /* config.h.  Generated by config.status.  */
   22354     configure_input='Generated from '`
   22355 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22356 	`' by configure.'
   22357     if test x"$ac_file" != x-; then
   22358       configure_input="$ac_file.  $configure_input"
   22359       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22360 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22361     fi
   22362     # Neutralize special characters interpreted by sed in replacement strings.
   22363     case $configure_input in #(
   22364     *\&* | *\|* | *\\* )
   22365        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22366        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22367     *) ac_sed_conf_input=$configure_input;;
   22368     esac
   22369 
   22370     case $ac_tag in
   22371     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22372       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22373     esac
   22374     ;;
   22375   esac
   22376 
   22377   ac_dir=`$as_dirname -- "$ac_file" ||
   22378 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22379 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22380 	 X"$ac_file" : 'X\(//\)$' \| \
   22381 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22382 printf "%s\n" X"$ac_file" |
   22383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22384 	    s//\1/
   22385 	    q
   22386 	  }
   22387 	  /^X\(\/\/\)[^/].*/{
   22388 	    s//\1/
   22389 	    q
   22390 	  }
   22391 	  /^X\(\/\/\)$/{
   22392 	    s//\1/
   22393 	    q
   22394 	  }
   22395 	  /^X\(\/\).*/{
   22396 	    s//\1/
   22397 	    q
   22398 	  }
   22399 	  s/.*/./; q'`
   22400   as_dir="$ac_dir"; as_fn_mkdir_p
   22401   ac_builddir=.
   22402 
   22403 case "$ac_dir" in
   22404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22405 *)
   22406   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22407   # A ".." for each directory in $ac_dir_suffix.
   22408   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22409   case $ac_top_builddir_sub in
   22410   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22411   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22412   esac ;;
   22413 esac
   22414 ac_abs_top_builddir=$ac_pwd
   22415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22416 # for backward compatibility:
   22417 ac_top_builddir=$ac_top_build_prefix
   22418 
   22419 case $srcdir in
   22420   .)  # We are building in place.
   22421     ac_srcdir=.
   22422     ac_top_srcdir=$ac_top_builddir_sub
   22423     ac_abs_top_srcdir=$ac_pwd ;;
   22424   [\\/]* | ?:[\\/]* )  # Absolute name.
   22425     ac_srcdir=$srcdir$ac_dir_suffix;
   22426     ac_top_srcdir=$srcdir
   22427     ac_abs_top_srcdir=$srcdir ;;
   22428   *) # Relative name.
   22429     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22430     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22431     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22432 esac
   22433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22434 
   22435 
   22436   case $ac_mode in
   22437   :F)
   22438   #
   22439   # CONFIG_FILE
   22440   #
   22441 
   22442   case $INSTALL in
   22443   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22444   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22445   esac
   22446   ac_MKDIR_P=$MKDIR_P
   22447   case $MKDIR_P in
   22448   [\\/$]* | ?:[\\/]* ) ;;
   22449   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22450   esac
   22451 _ACEOF
   22452 
   22453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22454 # If the template does not know about datarootdir, expand it.
   22455 # FIXME: This hack should be removed a few years after 2.60.
   22456 ac_datarootdir_hack=; ac_datarootdir_seen=
   22457 ac_sed_dataroot='
   22458 /datarootdir/ {
   22459   p
   22460   q
   22461 }
   22462 /@datadir@/p
   22463 /@docdir@/p
   22464 /@infodir@/p
   22465 /@localedir@/p
   22466 /@mandir@/p'
   22467 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22468 *datarootdir*) ac_datarootdir_seen=yes;;
   22469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22471 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22472 _ACEOF
   22473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22474   ac_datarootdir_hack='
   22475   s&@datadir@&$datadir&g
   22476   s&@docdir@&$docdir&g
   22477   s&@infodir@&$infodir&g
   22478   s&@localedir@&$localedir&g
   22479   s&@mandir@&$mandir&g
   22480   s&\\\${datarootdir}&$datarootdir&g' ;;
   22481 esac
   22482 _ACEOF
   22483 
   22484 # Neutralize VPATH when '$srcdir' = '.'.
   22485 # Shell code in configure.ac might set extrasub.
   22486 # FIXME: do we really want to maintain this feature?
   22487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22488 ac_sed_extra="$ac_vpsub
   22489 $extrasub
   22490 _ACEOF
   22491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22492 :t
   22493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22494 s|@configure_input@|$ac_sed_conf_input|;t t
   22495 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22496 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22497 s&@srcdir@&$ac_srcdir&;t t
   22498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22499 s&@top_srcdir@&$ac_top_srcdir&;t t
   22500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22501 s&@builddir@&$ac_builddir&;t t
   22502 s&@abs_builddir@&$ac_abs_builddir&;t t
   22503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22504 s&@INSTALL@&$ac_INSTALL&;t t
   22505 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22506 $ac_datarootdir_hack
   22507 "
   22508 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22509   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22510 
   22511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22512   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22513   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22514       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22516 which seems to be undefined.  Please make sure it is defined" >&5
   22517 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22518 which seems to be undefined.  Please make sure it is defined" >&2;}
   22519 
   22520   rm -f "$ac_tmp/stdin"
   22521   case $ac_file in
   22522   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22523   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22524   esac \
   22525   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22526  ;;
   22527   :H)
   22528   #
   22529   # CONFIG_HEADER
   22530   #
   22531   if test x"$ac_file" != x-; then
   22532     {
   22533       printf "%s\n" "/* $configure_input  */" >&1 \
   22534       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22535     } >"$ac_tmp/config.h" \
   22536       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22537     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22538       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22539 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22540     else
   22541       rm -f "$ac_file"
   22542       mv "$ac_tmp/config.h" "$ac_file" \
   22543 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22544     fi
   22545   else
   22546     printf "%s\n" "/* $configure_input  */" >&1 \
   22547       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22548       || as_fn_error $? "could not create -" "$LINENO" 5
   22549   fi
   22550 # Compute "$ac_file"'s index in $config_headers.
   22551 _am_arg="$ac_file"
   22552 _am_stamp_count=1
   22553 for _am_header in $config_headers :; do
   22554   case $_am_header in
   22555     $_am_arg | $_am_arg:* )
   22556       break ;;
   22557     * )
   22558       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22559   esac
   22560 done
   22561 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22562 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22563 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22564 	 X"$_am_arg" : 'X\(//\)$' \| \
   22565 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22566 printf "%s\n" X"$_am_arg" |
   22567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22568 	    s//\1/
   22569 	    q
   22570 	  }
   22571 	  /^X\(\/\/\)[^/].*/{
   22572 	    s//\1/
   22573 	    q
   22574 	  }
   22575 	  /^X\(\/\/\)$/{
   22576 	    s//\1/
   22577 	    q
   22578 	  }
   22579 	  /^X\(\/\).*/{
   22580 	    s//\1/
   22581 	    q
   22582 	  }
   22583 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22584  ;;
   22585 
   22586   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22587 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22588  ;;
   22589   esac
   22590 
   22591 
   22592   case $ac_file$ac_mode in
   22593     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22594   # Older Autoconf quotes --file arguments for eval, but not when files
   22595   # are listed without --file.  Let's play safe and only enable the eval
   22596   # if we detect the quoting.
   22597   # TODO: see whether this extra hack can be removed once we start
   22598   # requiring Autoconf 2.70 or later.
   22599   case $CONFIG_FILES in #(
   22600   *\'*) :
   22601     eval set x "$CONFIG_FILES" ;; #(
   22602   *) :
   22603     set x $CONFIG_FILES ;; #(
   22604   *) :
   22605      ;;
   22606 esac
   22607   shift
   22608   # Used to flag and report bootstrapping failures.
   22609   am_rc=0
   22610   for am_mf
   22611   do
   22612     # Strip MF so we end up with the name of the file.
   22613     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22614     # Check whether this is an Automake generated Makefile which includes
   22615     # dependency-tracking related rules and includes.
   22616     # Grep'ing the whole file directly is not great: AIX grep has a line
   22617     # limit of 2048, but all sed's we know have understand at least 4000.
   22618     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22619       || continue
   22620     am_dirpart=`$as_dirname -- "$am_mf" ||
   22621 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22622 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22623 	 X"$am_mf" : 'X\(//\)$' \| \
   22624 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22625 printf "%s\n" X"$am_mf" |
   22626     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22627 	    s//\1/
   22628 	    q
   22629 	  }
   22630 	  /^X\(\/\/\)[^/].*/{
   22631 	    s//\1/
   22632 	    q
   22633 	  }
   22634 	  /^X\(\/\/\)$/{
   22635 	    s//\1/
   22636 	    q
   22637 	  }
   22638 	  /^X\(\/\).*/{
   22639 	    s//\1/
   22640 	    q
   22641 	  }
   22642 	  s/.*/./; q'`
   22643     am_filepart=`$as_basename -- "$am_mf" ||
   22644 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22645 	 X"$am_mf" : 'X\(//\)$' \| \
   22646 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22647 printf "%s\n" X/"$am_mf" |
   22648     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22649 	    s//\1/
   22650 	    q
   22651 	  }
   22652 	  /^X\/\(\/\/\)$/{
   22653 	    s//\1/
   22654 	    q
   22655 	  }
   22656 	  /^X\/\(\/\).*/{
   22657 	    s//\1/
   22658 	    q
   22659 	  }
   22660 	  s/.*/./; q'`
   22661     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22662       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22663         | $MAKE -f - am--depfiles" >&5
   22664    (cd "$am_dirpart" \
   22665       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22666         | $MAKE -f - am--depfiles) >&5 2>&5
   22667    ac_status=$?
   22668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22669    (exit $ac_status); } || am_rc=$?
   22670   done
   22671   if test $am_rc -ne 0; then
   22672     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22673 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22674 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22675     for automatic dependency tracking.  If GNU make was not used, consider
   22676     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22677     necessary).  You can also try re-running configure with the
   22678     '--disable-dependency-tracking' option to at least be able to build
   22679     the package (albeit without support for automatic dependency tracking).
   22680 See 'config.log' for more details" "$LINENO" 5; }
   22681   fi
   22682   { am_dirpart=; unset am_dirpart;}
   22683   { am_filepart=; unset am_filepart;}
   22684   { am_mf=; unset am_mf;}
   22685   { am_rc=; unset am_rc;}
   22686   rm -f conftest-deps.mk
   22687 }
   22688  ;;
   22689     "libtool":C)
   22690 
   22691     # See if we are running on zsh, and set the options that allow our
   22692     # commands through without removal of \ escapes.
   22693     if test -n "${ZSH_VERSION+set}"; then
   22694       setopt NO_GLOB_SUBST
   22695     fi
   22696 
   22697     cfgfile=${ofile}T
   22698     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22699     $RM "$cfgfile"
   22700 
   22701     cat <<_LT_EOF >> "$cfgfile"
   22702 #! $SHELL
   22703 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22704 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22705 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22706 
   22707 # Provide generalized library-building support services.
   22708 # Written by Gordon Matzigkeit, 1996
   22709 
   22710 # Copyright (C) 2014 Free Software Foundation, Inc.
   22711 # This is free software; see the source for copying conditions.  There is NO
   22712 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22713 
   22714 # GNU Libtool is free software; you can redistribute it and/or modify
   22715 # it under the terms of the GNU General Public License as published by
   22716 # the Free Software Foundation; either version 2 of of the License, or
   22717 # (at your option) any later version.
   22718 #
   22719 # As a special exception to the GNU General Public License, if you
   22720 # distribute this file as part of a program or library that is built
   22721 # using GNU Libtool, you may include this file under the  same
   22722 # distribution terms that you use for the rest of that program.
   22723 #
   22724 # GNU Libtool is distributed in the hope that it will be useful, but
   22725 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22727 # GNU General Public License for more details.
   22728 #
   22729 # You should have received a copy of the GNU General Public License
   22730 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22731 
   22732 
   22733 # The names of the tagged configurations supported by this script.
   22734 available_tags=''
   22735 
   22736 # Configured defaults for sys_lib_dlsearch_path munging.
   22737 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22738 
   22739 # ### BEGIN LIBTOOL CONFIG
   22740 
   22741 # Which release of libtool.m4 was used?
   22742 macro_version=$macro_version
   22743 macro_revision=$macro_revision
   22744 
   22745 # Whether or not to build shared libraries.
   22746 build_libtool_libs=$enable_shared
   22747 
   22748 # Whether or not to build static libraries.
   22749 build_old_libs=$enable_static
   22750 
   22751 # What type of objects to build.
   22752 pic_mode=$pic_mode
   22753 
   22754 # Whether or not to optimize for fast installation.
   22755 fast_install=$enable_fast_install
   22756 
   22757 # Shared archive member basename,for filename based shared library versioning on AIX.
   22758 shared_archive_member_spec=$shared_archive_member_spec
   22759 
   22760 # Shell to use when invoking shell scripts.
   22761 SHELL=$lt_SHELL
   22762 
   22763 # An echo program that protects backslashes.
   22764 ECHO=$lt_ECHO
   22765 
   22766 # The PATH separator for the build system.
   22767 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22768 
   22769 # The host system.
   22770 host_alias=$host_alias
   22771 host=$host
   22772 host_os=$host_os
   22773 
   22774 # The build system.
   22775 build_alias=$build_alias
   22776 build=$build
   22777 build_os=$build_os
   22778 
   22779 # A sed program that does not truncate output.
   22780 SED=$lt_SED
   22781 
   22782 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22783 Xsed="\$SED -e 1s/^X//"
   22784 
   22785 # A grep program that handles long lines.
   22786 GREP=$lt_GREP
   22787 
   22788 # An ERE matcher.
   22789 EGREP=$lt_EGREP
   22790 
   22791 # A literal string matcher.
   22792 FGREP=$lt_FGREP
   22793 
   22794 # A BSD- or MS-compatible name lister.
   22795 NM=$lt_NM
   22796 
   22797 # Whether we need soft or hard links.
   22798 LN_S=$lt_LN_S
   22799 
   22800 # What is the maximum length of a command?
   22801 max_cmd_len=$max_cmd_len
   22802 
   22803 # Object file suffix (normally "o").
   22804 objext=$ac_objext
   22805 
   22806 # Executable file suffix (normally "").
   22807 exeext=$exeext
   22808 
   22809 # whether the shell understands "unset".
   22810 lt_unset=$lt_unset
   22811 
   22812 # turn spaces into newlines.
   22813 SP2NL=$lt_lt_SP2NL
   22814 
   22815 # turn newlines into spaces.
   22816 NL2SP=$lt_lt_NL2SP
   22817 
   22818 # convert \$build file names to \$host format.
   22819 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22820 
   22821 # convert \$build files to toolchain format.
   22822 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22823 
   22824 # A file(cmd) program that detects file types.
   22825 FILECMD=$lt_FILECMD
   22826 
   22827 # An object symbol dumper.
   22828 OBJDUMP=$lt_OBJDUMP
   22829 
   22830 # Method to check whether dependent libraries are shared objects.
   22831 deplibs_check_method=$lt_deplibs_check_method
   22832 
   22833 # Command to use when deplibs_check_method = "file_magic".
   22834 file_magic_cmd=$lt_file_magic_cmd
   22835 
   22836 # How to find potential files when deplibs_check_method = "file_magic".
   22837 file_magic_glob=$lt_file_magic_glob
   22838 
   22839 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22840 want_nocaseglob=$lt_want_nocaseglob
   22841 
   22842 # DLL creation program.
   22843 DLLTOOL=$lt_DLLTOOL
   22844 
   22845 # Command to associate shared and link libraries.
   22846 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22847 
   22848 # The archiver.
   22849 AR=$lt_AR
   22850 
   22851 # Flags to create an archive (by configure).
   22852 lt_ar_flags=$lt_ar_flags
   22853 
   22854 # Flags to create an archive.
   22855 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22856 
   22857 # How to feed a file listing to the archiver.
   22858 archiver_list_spec=$lt_archiver_list_spec
   22859 
   22860 # A symbol stripping program.
   22861 STRIP=$lt_STRIP
   22862 
   22863 # Commands used to install an old-style archive.
   22864 RANLIB=$lt_RANLIB
   22865 old_postinstall_cmds=$lt_old_postinstall_cmds
   22866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22867 
   22868 # Whether to use a lock for old archive extraction.
   22869 lock_old_archive_extraction=$lock_old_archive_extraction
   22870 
   22871 # A C compiler.
   22872 LTCC=$lt_CC
   22873 
   22874 # LTCC compiler flags.
   22875 LTCFLAGS=$lt_CFLAGS
   22876 
   22877 # Take the output of nm and produce a listing of raw symbols and C names.
   22878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22879 
   22880 # Transform the output of nm in a proper C declaration.
   22881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22882 
   22883 # Transform the output of nm into a list of symbols to manually relocate.
   22884 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22885 
   22886 # Transform the output of nm in a C name address pair.
   22887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22888 
   22889 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22890 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22891 
   22892 # The name lister interface.
   22893 nm_interface=$lt_lt_cv_nm_interface
   22894 
   22895 # Specify filename containing input files for \$NM.
   22896 nm_file_list_spec=$lt_nm_file_list_spec
   22897 
   22898 # The root where to search for dependent libraries,and where our libraries should be installed.
   22899 lt_sysroot=$lt_sysroot
   22900 
   22901 # Command to truncate a binary pipe.
   22902 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22903 
   22904 # The name of the directory that contains temporary libtool files.
   22905 objdir=$objdir
   22906 
   22907 # Used to examine libraries when file_magic_cmd begins with "file".
   22908 MAGIC_CMD=$MAGIC_CMD
   22909 
   22910 # Must we lock files when doing compilation?
   22911 need_locks=$lt_need_locks
   22912 
   22913 # Manifest tool.
   22914 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22915 
   22916 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22917 DSYMUTIL=$lt_DSYMUTIL
   22918 
   22919 # Tool to change global to local symbols on Mac OS X.
   22920 NMEDIT=$lt_NMEDIT
   22921 
   22922 # Tool to manipulate fat objects and archives on Mac OS X.
   22923 LIPO=$lt_LIPO
   22924 
   22925 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22926 OTOOL=$lt_OTOOL
   22927 
   22928 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22929 OTOOL64=$lt_OTOOL64
   22930 
   22931 # Old archive suffix (normally "a").
   22932 libext=$libext
   22933 
   22934 # Shared library suffix (normally ".so").
   22935 shrext_cmds=$lt_shrext_cmds
   22936 
   22937 # The commands to extract the exported symbol list from a shared archive.
   22938 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22939 
   22940 # Variables whose values should be saved in libtool wrapper scripts and
   22941 # restored at link time.
   22942 variables_saved_for_relink=$lt_variables_saved_for_relink
   22943 
   22944 # Do we need the "lib" prefix for modules?
   22945 need_lib_prefix=$need_lib_prefix
   22946 
   22947 # Do we need a version for libraries?
   22948 need_version=$need_version
   22949 
   22950 # Library versioning type.
   22951 version_type=$version_type
   22952 
   22953 # Shared library runtime path variable.
   22954 runpath_var=$runpath_var
   22955 
   22956 # Shared library path variable.
   22957 shlibpath_var=$shlibpath_var
   22958 
   22959 # Is shlibpath searched before the hard-coded library search path?
   22960 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22961 
   22962 # Format of library name prefix.
   22963 libname_spec=$lt_libname_spec
   22964 
   22965 # List of archive names.  First name is the real one, the rest are links.
   22966 # The last name is the one that the linker finds with -lNAME
   22967 library_names_spec=$lt_library_names_spec
   22968 
   22969 # The coded name of the library, if different from the real name.
   22970 soname_spec=$lt_soname_spec
   22971 
   22972 # Permission mode override for installation of shared libraries.
   22973 install_override_mode=$lt_install_override_mode
   22974 
   22975 # Command to use after installation of a shared archive.
   22976 postinstall_cmds=$lt_postinstall_cmds
   22977 
   22978 # Command to use after uninstallation of a shared archive.
   22979 postuninstall_cmds=$lt_postuninstall_cmds
   22980 
   22981 # Commands used to finish a libtool library installation in a directory.
   22982 finish_cmds=$lt_finish_cmds
   22983 
   22984 # As "finish_cmds", except a single script fragment to be evaled but
   22985 # not shown.
   22986 finish_eval=$lt_finish_eval
   22987 
   22988 # Whether we should hardcode library paths into libraries.
   22989 hardcode_into_libs=$hardcode_into_libs
   22990 
   22991 # Compile-time system search path for libraries.
   22992 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22993 
   22994 # Detected run-time system search path for libraries.
   22995 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22996 
   22997 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22998 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22999 
   23000 # Whether dlopen is supported.
   23001 dlopen_support=$enable_dlopen
   23002 
   23003 # Whether dlopen of programs is supported.
   23004 dlopen_self=$enable_dlopen_self
   23005 
   23006 # Whether dlopen of statically linked programs is supported.
   23007 dlopen_self_static=$enable_dlopen_self_static
   23008 
   23009 # Commands to strip libraries.
   23010 old_striplib=$lt_old_striplib
   23011 striplib=$lt_striplib
   23012 
   23013 
   23014 # The linker used to build libraries.
   23015 LD=$lt_LD
   23016 
   23017 # How to create reloadable object files.
   23018 reload_flag=$lt_reload_flag
   23019 reload_cmds=$lt_reload_cmds
   23020 
   23021 # Commands used to build an old-style archive.
   23022 old_archive_cmds=$lt_old_archive_cmds
   23023 
   23024 # A language specific compiler.
   23025 CC=$lt_compiler
   23026 
   23027 # Is the compiler the GNU compiler?
   23028 with_gcc=$GCC
   23029 
   23030 # Compiler flag to turn off builtin functions.
   23031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23032 
   23033 # Additional compiler flags for building library objects.
   23034 pic_flag=$lt_lt_prog_compiler_pic
   23035 
   23036 # How to pass a linker flag through the compiler.
   23037 wl=$lt_lt_prog_compiler_wl
   23038 
   23039 # Compiler flag to prevent dynamic linking.
   23040 link_static_flag=$lt_lt_prog_compiler_static
   23041 
   23042 # Does compiler simultaneously support -c and -o options?
   23043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23044 
   23045 # Whether or not to add -lc for building shared libraries.
   23046 build_libtool_need_lc=$archive_cmds_need_lc
   23047 
   23048 # Whether or not to disallow shared libs when runtime libs are static.
   23049 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23050 
   23051 # Compiler flag to allow reflexive dlopens.
   23052 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23053 
   23054 # Compiler flag to generate shared objects directly from archives.
   23055 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23056 
   23057 # Whether the compiler copes with passing no objects directly.
   23058 compiler_needs_object=$lt_compiler_needs_object
   23059 
   23060 # Create an old-style archive from a shared archive.
   23061 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23062 
   23063 # Create a temporary old-style archive to link instead of a shared archive.
   23064 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23065 
   23066 # Commands used to build a shared archive.
   23067 archive_cmds=$lt_archive_cmds
   23068 archive_expsym_cmds=$lt_archive_expsym_cmds
   23069 
   23070 # Commands used to build a loadable module if different from building
   23071 # a shared archive.
   23072 module_cmds=$lt_module_cmds
   23073 module_expsym_cmds=$lt_module_expsym_cmds
   23074 
   23075 # Whether we are building with GNU ld or not.
   23076 with_gnu_ld=$lt_with_gnu_ld
   23077 
   23078 # Flag that allows shared libraries with undefined symbols to be built.
   23079 allow_undefined_flag=$lt_allow_undefined_flag
   23080 
   23081 # Flag that enforces no undefined symbols.
   23082 no_undefined_flag=$lt_no_undefined_flag
   23083 
   23084 # Flag to hardcode \$libdir into a binary during linking.
   23085 # This must work even if \$libdir does not exist
   23086 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23087 
   23088 # Whether we need a single "-rpath" flag with a separated argument.
   23089 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23090 
   23091 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23092 # DIR into the resulting binary.
   23093 hardcode_direct=$hardcode_direct
   23094 
   23095 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23096 # DIR into the resulting binary and the resulting library dependency is
   23097 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23098 # library is relocated.
   23099 hardcode_direct_absolute=$hardcode_direct_absolute
   23100 
   23101 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23102 # into the resulting binary.
   23103 hardcode_minus_L=$hardcode_minus_L
   23104 
   23105 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23106 # into the resulting binary.
   23107 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23108 
   23109 # Set to "yes" if building a shared library automatically hardcodes DIR
   23110 # into the library and all subsequent libraries and executables linked
   23111 # against it.
   23112 hardcode_automatic=$hardcode_automatic
   23113 
   23114 # Set to yes if linker adds runtime paths of dependent libraries
   23115 # to runtime path list.
   23116 inherit_rpath=$inherit_rpath
   23117 
   23118 # Whether libtool must link a program against all its dependency libraries.
   23119 link_all_deplibs=$link_all_deplibs
   23120 
   23121 # Set to "yes" if exported symbols are required.
   23122 always_export_symbols=$always_export_symbols
   23123 
   23124 # The commands to list exported symbols.
   23125 export_symbols_cmds=$lt_export_symbols_cmds
   23126 
   23127 # Symbols that should not be listed in the preloaded symbols.
   23128 exclude_expsyms=$lt_exclude_expsyms
   23129 
   23130 # Symbols that must always be exported.
   23131 include_expsyms=$lt_include_expsyms
   23132 
   23133 # Commands necessary for linking programs (against libraries) with templates.
   23134 prelink_cmds=$lt_prelink_cmds
   23135 
   23136 # Commands necessary for finishing linking programs.
   23137 postlink_cmds=$lt_postlink_cmds
   23138 
   23139 # Specify filename containing input files.
   23140 file_list_spec=$lt_file_list_spec
   23141 
   23142 # How to hardcode a shared library path into an executable.
   23143 hardcode_action=$hardcode_action
   23144 
   23145 # ### END LIBTOOL CONFIG
   23146 
   23147 _LT_EOF
   23148 
   23149     cat <<'_LT_EOF' >> "$cfgfile"
   23150 
   23151 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23152 
   23153 # func_munge_path_list VARIABLE PATH
   23154 # -----------------------------------
   23155 # VARIABLE is name of variable containing _space_ separated list of
   23156 # directories to be munged by the contents of PATH, which is string
   23157 # having a format:
   23158 # "DIR[:DIR]:"
   23159 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23160 # ":DIR[:DIR]"
   23161 #       string "DIR[ DIR]" will be appended to VARIABLE
   23162 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23163 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23164 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23165 # "DIR[:DIR]"
   23166 #       VARIABLE will be replaced by "DIR[ DIR]"
   23167 func_munge_path_list ()
   23168 {
   23169     case x$2 in
   23170     x)
   23171         ;;
   23172     *:)
   23173         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23174         ;;
   23175     x:*)
   23176         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23177         ;;
   23178     *::*)
   23179         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23180         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23181         ;;
   23182     *)
   23183         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23184         ;;
   23185     esac
   23186 }
   23187 
   23188 
   23189 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23190 func_cc_basename ()
   23191 {
   23192     for cc_temp in $*""; do
   23193       case $cc_temp in
   23194         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23195         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23196         \-*) ;;
   23197         *) break;;
   23198       esac
   23199     done
   23200     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23201 }
   23202 
   23203 
   23204 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23205 
   23206 _LT_EOF
   23207 
   23208   case $host_os in
   23209   aix3*)
   23210     cat <<\_LT_EOF >> "$cfgfile"
   23211 # AIX sometimes has problems with the GCC collect2 program.  For some
   23212 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23213 # vanish in a puff of smoke.
   23214 if test set != "${COLLECT_NAMES+set}"; then
   23215   COLLECT_NAMES=
   23216   export COLLECT_NAMES
   23217 fi
   23218 _LT_EOF
   23219     ;;
   23220   esac
   23221 
   23222 
   23223 
   23224 ltmain=$ac_aux_dir/ltmain.sh
   23225 
   23226 
   23227   # We use sed instead of cat because bash on DJGPP gets confused if
   23228   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23229   # text mode, it properly converts lines to CR/LF.  This bash problem
   23230   # is reportedly fixed, but why not run on old versions too?
   23231   $SED '$q' "$ltmain" >> "$cfgfile" \
   23232      || (rm -f "$cfgfile"; exit 1)
   23233 
   23234    mv -f "$cfgfile" "$ofile" ||
   23235     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23236   chmod +x "$ofile"
   23237 
   23238  ;;
   23239 
   23240   esac
   23241 done # for ac_tag
   23242 
   23243 
   23244 as_fn_exit 0
   23245 _ACEOF
   23246 ac_clean_files=$ac_clean_files_save
   23247 
   23248 test $ac_write_fail = 0 ||
   23249   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23250 
   23251 
   23252 # configure is writing to config.log, and then calls config.status.
   23253 # config.status does its own redirection, appending to config.log.
   23254 # Unfortunately, on DOS this fails, as config.log is still kept open
   23255 # by configure, so config.status won't be able to write to it; its
   23256 # output is simply discarded.  So we exec the FD to /dev/null,
   23257 # effectively closing config.log, so it can be properly (re)opened and
   23258 # appended to by config.status.  When coming back to configure, we
   23259 # need to make the FD available again.
   23260 if test "$no_create" != yes; then
   23261   ac_cs_success=:
   23262   ac_config_status_args=
   23263   test "$silent" = yes &&
   23264     ac_config_status_args="$ac_config_status_args --quiet"
   23265   exec 5>/dev/null
   23266   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23267   exec 5>>config.log
   23268   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23269   # would make configure fail if this is the last instruction.
   23270   $ac_cs_success || as_fn_exit 1
   23271 fi
   23272 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23274 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23275 fi
   23276 
   23277 
   23278