Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXinerama 1.1.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxinerama/-/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/libxinerama/-/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 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='libXinerama'
    617 PACKAGE_TARNAME='libXinerama'
    618 PACKAGE_VERSION='1.1.6'
    619 PACKAGE_STRING='libXinerama 1.1.6'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxinerama/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 LINT_FALSE
    661 LINT_TRUE
    662 LINT_FLAGS
    663 LINT
    664 XINERAMA_LIBS
    665 XINERAMA_CFLAGS
    666 XTMALLOC_ZERO_CFLAGS
    667 XMALLOC_ZERO_CFLAGS
    668 MALLOC_ZERO_CFLAGS
    669 MAN_SUBSTS
    670 XORG_MAN_PAGE
    671 ADMIN_MAN_DIR
    672 DRIVER_MAN_DIR
    673 MISC_MAN_DIR
    674 FILE_MAN_DIR
    675 LIB_MAN_DIR
    676 APP_MAN_DIR
    677 ADMIN_MAN_SUFFIX
    678 DRIVER_MAN_SUFFIX
    679 MISC_MAN_SUFFIX
    680 FILE_MAN_SUFFIX
    681 LIB_MAN_SUFFIX
    682 APP_MAN_SUFFIX
    683 INSTALL_CMD
    684 PKG_CONFIG_LIBDIR
    685 PKG_CONFIG_PATH
    686 PKG_CONFIG
    687 CHANGELOG_CMD
    688 STRICT_CFLAGS
    689 CWARNFLAGS
    690 BASE_CFLAGS
    691 LT_SYS_LIBRARY_PATH
    692 OTOOL64
    693 OTOOL
    694 LIPO
    695 NMEDIT
    696 DSYMUTIL
    697 MANIFEST_TOOL
    698 RANLIB
    699 ac_ct_AR
    700 AR
    701 DLLTOOL
    702 OBJDUMP
    703 FILECMD
    704 LN_S
    705 NM
    706 ac_ct_DUMPBIN
    707 DUMPBIN
    708 LD
    709 FGREP
    710 EGREP
    711 GREP
    712 SED
    713 am__fastdepCC_FALSE
    714 am__fastdepCC_TRUE
    715 CCDEPMODE
    716 am__nodep
    717 AMDEPBACKSLASH
    718 AMDEP_FALSE
    719 AMDEP_TRUE
    720 am__include
    721 DEPDIR
    722 OBJEXT
    723 EXEEXT
    724 ac_ct_CC
    725 CPPFLAGS
    726 LDFLAGS
    727 CFLAGS
    728 CC
    729 host_os
    730 host_vendor
    731 host_cpu
    732 host
    733 build_os
    734 build_vendor
    735 build_cpu
    736 build
    737 LIBTOOL
    738 am__xargs_n
    739 am__rm_f_notfound
    740 AM_BACKSLASH
    741 AM_DEFAULT_VERBOSITY
    742 AM_DEFAULT_V
    743 AM_V
    744 CSCOPE
    745 ETAGS
    746 CTAGS
    747 am__untar
    748 am__tar
    749 AMTAR
    750 am__leading_dot
    751 SET_MAKE
    752 AWK
    753 mkdir_p
    754 MKDIR_P
    755 INSTALL_STRIP_PROGRAM
    756 STRIP
    757 install_sh
    758 MAKEINFO
    759 AUTOHEADER
    760 AUTOMAKE
    761 AUTOCONF
    762 ACLOCAL
    763 VERSION
    764 PACKAGE
    765 CYGPATH_W
    766 am__isrc
    767 INSTALL_DATA
    768 INSTALL_SCRIPT
    769 INSTALL_PROGRAM
    770 target_alias
    771 host_alias
    772 build_alias
    773 LIBS
    774 ECHO_T
    775 ECHO_N
    776 ECHO_C
    777 DEFS
    778 mandir
    779 localedir
    780 libdir
    781 psdir
    782 pdfdir
    783 dvidir
    784 htmldir
    785 infodir
    786 docdir
    787 oldincludedir
    788 includedir
    789 runstatedir
    790 localstatedir
    791 sharedstatedir
    792 sysconfdir
    793 datadir
    794 datarootdir
    795 libexecdir
    796 sbindir
    797 bindir
    798 program_transform_name
    799 prefix
    800 exec_prefix
    801 PACKAGE_URL
    802 PACKAGE_BUGREPORT
    803 PACKAGE_STRING
    804 PACKAGE_VERSION
    805 PACKAGE_TARNAME
    806 PACKAGE_NAME
    807 PATH_SEPARATOR
    808 SHELL
    809 am__quote'
    810 ac_subst_files=''
    811 ac_user_opts='
    812 enable_option_checking
    813 enable_silent_rules
    814 enable_shared
    815 enable_static
    816 enable_pic
    817 with_pic
    818 enable_fast_install
    819 enable_aix_soname
    820 with_aix_soname
    821 enable_dependency_tracking
    822 with_gnu_ld
    823 with_sysroot
    824 enable_libtool_lock
    825 enable_selective_werror
    826 enable_strict_compilation
    827 enable_malloc0returnsnull
    828 with_lint
    829 '
    830       ac_precious_vars='build_alias
    831 host_alias
    832 target_alias
    833 CC
    834 CFLAGS
    835 LDFLAGS
    836 LIBS
    837 CPPFLAGS
    838 LT_SYS_LIBRARY_PATH
    839 PKG_CONFIG
    840 PKG_CONFIG_PATH
    841 PKG_CONFIG_LIBDIR
    842 XINERAMA_CFLAGS
    843 XINERAMA_LIBS
    844 LINT
    845 LINT_FLAGS'
    846 
    847 
    848 # Initialize some variables set by options.
    849 ac_init_help=
    850 ac_init_version=false
    851 ac_unrecognized_opts=
    852 ac_unrecognized_sep=
    853 # The variables have the same names as the options, with
    854 # dashes changed to underlines.
    855 cache_file=/dev/null
    856 exec_prefix=NONE
    857 no_create=
    858 no_recursion=
    859 prefix=NONE
    860 program_prefix=NONE
    861 program_suffix=NONE
    862 program_transform_name=s,x,x,
    863 silent=
    864 site=
    865 srcdir=
    866 verbose=
    867 x_includes=NONE
    868 x_libraries=NONE
    869 
    870 # Installation directory options.
    871 # These are left unexpanded so users can "make install exec_prefix=/foo"
    872 # and all the variables that are supposed to be based on exec_prefix
    873 # by default will actually change.
    874 # Use braces instead of parens because sh, perl, etc. also accept them.
    875 # (The list follows the same order as the GNU Coding Standards.)
    876 bindir='${exec_prefix}/bin'
    877 sbindir='${exec_prefix}/sbin'
    878 libexecdir='${exec_prefix}/libexec'
    879 datarootdir='${prefix}/share'
    880 datadir='${datarootdir}'
    881 sysconfdir='${prefix}/etc'
    882 sharedstatedir='${prefix}/com'
    883 localstatedir='${prefix}/var'
    884 runstatedir='${localstatedir}/run'
    885 includedir='${prefix}/include'
    886 oldincludedir='/usr/include'
    887 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    888 infodir='${datarootdir}/info'
    889 htmldir='${docdir}'
    890 dvidir='${docdir}'
    891 pdfdir='${docdir}'
    892 psdir='${docdir}'
    893 libdir='${exec_prefix}/lib'
    894 localedir='${datarootdir}/locale'
    895 mandir='${datarootdir}/man'
    896 
    897 ac_prev=
    898 ac_dashdash=
    899 for ac_option
    900 do
    901   # If the previous option needs an argument, assign it.
    902   if test -n "$ac_prev"; then
    903     eval $ac_prev=\$ac_option
    904     ac_prev=
    905     continue
    906   fi
    907 
    908   case $ac_option in
    909   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    910   *=)   ac_optarg= ;;
    911   *)    ac_optarg=yes ;;
    912   esac
    913 
    914   case $ac_dashdash$ac_option in
    915   --)
    916     ac_dashdash=yes ;;
    917 
    918   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    919     ac_prev=bindir ;;
    920   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    921     bindir=$ac_optarg ;;
    922 
    923   -build | --build | --buil | --bui | --bu)
    924     ac_prev=build_alias ;;
    925   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    926     build_alias=$ac_optarg ;;
    927 
    928   -cache-file | --cache-file | --cache-fil | --cache-fi \
    929   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    930     ac_prev=cache_file ;;
    931   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    932   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    933     cache_file=$ac_optarg ;;
    934 
    935   --config-cache | -C)
    936     cache_file=config.cache ;;
    937 
    938   -datadir | --datadir | --datadi | --datad)
    939     ac_prev=datadir ;;
    940   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    941     datadir=$ac_optarg ;;
    942 
    943   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    944   | --dataroo | --dataro | --datar)
    945     ac_prev=datarootdir ;;
    946   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    947   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    948     datarootdir=$ac_optarg ;;
    949 
    950   -disable-* | --disable-*)
    951     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    952     # Reject names that are not valid shell variable names.
    953     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    954       as_fn_error $? "invalid feature name: '$ac_useropt'"
    955     ac_useropt_orig=$ac_useropt
    956     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    957     case $ac_user_opts in
    958       *"
    959 "enable_$ac_useropt"
    960 "*) ;;
    961       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    962 	 ac_unrecognized_sep=', ';;
    963     esac
    964     eval enable_$ac_useropt=no ;;
    965 
    966   -docdir | --docdir | --docdi | --doc | --do)
    967     ac_prev=docdir ;;
    968   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    969     docdir=$ac_optarg ;;
    970 
    971   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    972     ac_prev=dvidir ;;
    973   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    974     dvidir=$ac_optarg ;;
    975 
    976   -enable-* | --enable-*)
    977     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    978     # Reject names that are not valid shell variable names.
    979     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    980       as_fn_error $? "invalid feature name: '$ac_useropt'"
    981     ac_useropt_orig=$ac_useropt
    982     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    983     case $ac_user_opts in
    984       *"
    985 "enable_$ac_useropt"
    986 "*) ;;
    987       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    988 	 ac_unrecognized_sep=', ';;
    989     esac
    990     eval enable_$ac_useropt=\$ac_optarg ;;
    991 
    992   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    993   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    994   | --exec | --exe | --ex)
    995     ac_prev=exec_prefix ;;
    996   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    997   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    998   | --exec=* | --exe=* | --ex=*)
    999     exec_prefix=$ac_optarg ;;
   1000 
   1001   -gas | --gas | --ga | --g)
   1002     # Obsolete; use --with-gas.
   1003     with_gas=yes ;;
   1004 
   1005   -help | --help | --hel | --he | -h)
   1006     ac_init_help=long ;;
   1007   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1008     ac_init_help=recursive ;;
   1009   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1010     ac_init_help=short ;;
   1011 
   1012   -host | --host | --hos | --ho)
   1013     ac_prev=host_alias ;;
   1014   -host=* | --host=* | --hos=* | --ho=*)
   1015     host_alias=$ac_optarg ;;
   1016 
   1017   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1018     ac_prev=htmldir ;;
   1019   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1020   | --ht=*)
   1021     htmldir=$ac_optarg ;;
   1022 
   1023   -includedir | --includedir | --includedi | --included | --include \
   1024   | --includ | --inclu | --incl | --inc)
   1025     ac_prev=includedir ;;
   1026   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1027   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1028     includedir=$ac_optarg ;;
   1029 
   1030   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1031     ac_prev=infodir ;;
   1032   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1033     infodir=$ac_optarg ;;
   1034 
   1035   -libdir | --libdir | --libdi | --libd)
   1036     ac_prev=libdir ;;
   1037   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1038     libdir=$ac_optarg ;;
   1039 
   1040   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1041   | --libexe | --libex | --libe)
   1042     ac_prev=libexecdir ;;
   1043   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1044   | --libexe=* | --libex=* | --libe=*)
   1045     libexecdir=$ac_optarg ;;
   1046 
   1047   -localedir | --localedir | --localedi | --localed | --locale)
   1048     ac_prev=localedir ;;
   1049   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1050     localedir=$ac_optarg ;;
   1051 
   1052   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1053   | --localstate | --localstat | --localsta | --localst | --locals)
   1054     ac_prev=localstatedir ;;
   1055   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1056   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1057     localstatedir=$ac_optarg ;;
   1058 
   1059   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1060     ac_prev=mandir ;;
   1061   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1062     mandir=$ac_optarg ;;
   1063 
   1064   -nfp | --nfp | --nf)
   1065     # Obsolete; use --without-fp.
   1066     with_fp=no ;;
   1067 
   1068   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1069   | --no-cr | --no-c | -n)
   1070     no_create=yes ;;
   1071 
   1072   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1073   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1074     no_recursion=yes ;;
   1075 
   1076   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1077   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1078   | --oldin | --oldi | --old | --ol | --o)
   1079     ac_prev=oldincludedir ;;
   1080   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1081   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1082   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1083     oldincludedir=$ac_optarg ;;
   1084 
   1085   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1086     ac_prev=prefix ;;
   1087   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1088     prefix=$ac_optarg ;;
   1089 
   1090   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1091   | --program-pre | --program-pr | --program-p)
   1092     ac_prev=program_prefix ;;
   1093   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1094   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1095     program_prefix=$ac_optarg ;;
   1096 
   1097   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1098   | --program-suf | --program-su | --program-s)
   1099     ac_prev=program_suffix ;;
   1100   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1101   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1102     program_suffix=$ac_optarg ;;
   1103 
   1104   -program-transform-name | --program-transform-name \
   1105   | --program-transform-nam | --program-transform-na \
   1106   | --program-transform-n | --program-transform- \
   1107   | --program-transform | --program-transfor \
   1108   | --program-transfo | --program-transf \
   1109   | --program-trans | --program-tran \
   1110   | --progr-tra | --program-tr | --program-t)
   1111     ac_prev=program_transform_name ;;
   1112   -program-transform-name=* | --program-transform-name=* \
   1113   | --program-transform-nam=* | --program-transform-na=* \
   1114   | --program-transform-n=* | --program-transform-=* \
   1115   | --program-transform=* | --program-transfor=* \
   1116   | --program-transfo=* | --program-transf=* \
   1117   | --program-trans=* | --program-tran=* \
   1118   | --progr-tra=* | --program-tr=* | --program-t=*)
   1119     program_transform_name=$ac_optarg ;;
   1120 
   1121   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1122     ac_prev=pdfdir ;;
   1123   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1124     pdfdir=$ac_optarg ;;
   1125 
   1126   -psdir | --psdir | --psdi | --psd | --ps)
   1127     ac_prev=psdir ;;
   1128   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1129     psdir=$ac_optarg ;;
   1130 
   1131   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1132   | -silent | --silent | --silen | --sile | --sil)
   1133     silent=yes ;;
   1134 
   1135   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1136   | --runstate | --runstat | --runsta | --runst | --runs \
   1137   | --run | --ru | --r)
   1138     ac_prev=runstatedir ;;
   1139   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1140   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1141   | --run=* | --ru=* | --r=*)
   1142     runstatedir=$ac_optarg ;;
   1143 
   1144   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1145     ac_prev=sbindir ;;
   1146   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1147   | --sbi=* | --sb=*)
   1148     sbindir=$ac_optarg ;;
   1149 
   1150   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1151   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1152   | --sharedst | --shareds | --shared | --share | --shar \
   1153   | --sha | --sh)
   1154     ac_prev=sharedstatedir ;;
   1155   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1156   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1157   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1158   | --sha=* | --sh=*)
   1159     sharedstatedir=$ac_optarg ;;
   1160 
   1161   -site | --site | --sit)
   1162     ac_prev=site ;;
   1163   -site=* | --site=* | --sit=*)
   1164     site=$ac_optarg ;;
   1165 
   1166   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1167     ac_prev=srcdir ;;
   1168   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1169     srcdir=$ac_optarg ;;
   1170 
   1171   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1172   | --syscon | --sysco | --sysc | --sys | --sy)
   1173     ac_prev=sysconfdir ;;
   1174   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1175   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1176     sysconfdir=$ac_optarg ;;
   1177 
   1178   -target | --target | --targe | --targ | --tar | --ta | --t)
   1179     ac_prev=target_alias ;;
   1180   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1181     target_alias=$ac_optarg ;;
   1182 
   1183   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1184     verbose=yes ;;
   1185 
   1186   -version | --version | --versio | --versi | --vers | -V)
   1187     ac_init_version=: ;;
   1188 
   1189   -with-* | --with-*)
   1190     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1191     # Reject names that are not valid shell variable names.
   1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1193       as_fn_error $? "invalid package name: '$ac_useropt'"
   1194     ac_useropt_orig=$ac_useropt
   1195     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1196     case $ac_user_opts in
   1197       *"
   1198 "with_$ac_useropt"
   1199 "*) ;;
   1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1201 	 ac_unrecognized_sep=', ';;
   1202     esac
   1203     eval with_$ac_useropt=\$ac_optarg ;;
   1204 
   1205   -without-* | --without-*)
   1206     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1207     # Reject names that are not valid shell variable names.
   1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1209       as_fn_error $? "invalid package name: '$ac_useropt'"
   1210     ac_useropt_orig=$ac_useropt
   1211     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1212     case $ac_user_opts in
   1213       *"
   1214 "with_$ac_useropt"
   1215 "*) ;;
   1216       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1217 	 ac_unrecognized_sep=', ';;
   1218     esac
   1219     eval with_$ac_useropt=no ;;
   1220 
   1221   --x)
   1222     # Obsolete; use --with-x.
   1223     with_x=yes ;;
   1224 
   1225   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1226   | --x-incl | --x-inc | --x-in | --x-i)
   1227     ac_prev=x_includes ;;
   1228   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1229   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1230     x_includes=$ac_optarg ;;
   1231 
   1232   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1233   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1234     ac_prev=x_libraries ;;
   1235   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1236   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1237     x_libraries=$ac_optarg ;;
   1238 
   1239   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1240 Try '$0 --help' for more information"
   1241     ;;
   1242 
   1243   *=*)
   1244     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1245     # Reject names that are not valid shell variable names.
   1246     case $ac_envvar in #(
   1247       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1248       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1249     esac
   1250     eval $ac_envvar=\$ac_optarg
   1251     export $ac_envvar ;;
   1252 
   1253   *)
   1254     # FIXME: should be removed in autoconf 3.0.
   1255     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1256     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1257       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1258     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1259     ;;
   1260 
   1261   esac
   1262 done
   1263 
   1264 if test -n "$ac_prev"; then
   1265   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1266   as_fn_error $? "missing argument to $ac_option"
   1267 fi
   1268 
   1269 if test -n "$ac_unrecognized_opts"; then
   1270   case $enable_option_checking in
   1271     no) ;;
   1272     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1273     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1274   esac
   1275 fi
   1276 
   1277 # Check all directory arguments for consistency.
   1278 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1279 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1280 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1281 		libdir localedir mandir runstatedir
   1282 do
   1283   eval ac_val=\$$ac_var
   1284   # Remove trailing slashes.
   1285   case $ac_val in
   1286     */ )
   1287       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1288       eval $ac_var=\$ac_val;;
   1289   esac
   1290   # Be sure to have absolute directory names.
   1291   case $ac_val in
   1292     [\\/$]* | ?:[\\/]* )  continue;;
   1293     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1294   esac
   1295   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1296 done
   1297 
   1298 # There might be people who depend on the old broken behavior: '$host'
   1299 # used to hold the argument of --host etc.
   1300 # FIXME: To remove some day.
   1301 build=$build_alias
   1302 host=$host_alias
   1303 target=$target_alias
   1304 
   1305 # FIXME: To remove some day.
   1306 if test "x$host_alias" != x; then
   1307   if test "x$build_alias" = x; then
   1308     cross_compiling=maybe
   1309   elif test "x$build_alias" != "x$host_alias"; then
   1310     cross_compiling=yes
   1311   fi
   1312 fi
   1313 
   1314 ac_tool_prefix=
   1315 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1316 
   1317 test "$silent" = yes && exec 6>/dev/null
   1318 
   1319 
   1320 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1321 ac_ls_di=`ls -di .` &&
   1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1323   as_fn_error $? "working directory cannot be determined"
   1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1325   as_fn_error $? "pwd does not report name of working directory"
   1326 
   1327 
   1328 # Find the source files, if location was not specified.
   1329 if test -z "$srcdir"; then
   1330   ac_srcdir_defaulted=yes
   1331   # Try the directory containing this script, then the parent directory.
   1332   ac_confdir=`$as_dirname -- "$as_myself" ||
   1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1334 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1335 	 X"$as_myself" : 'X\(//\)$' \| \
   1336 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1337 printf "%s\n" X"$as_myself" |
   1338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\/\)[^/].*/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\).*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  s/.*/./; q'`
   1355   srcdir=$ac_confdir
   1356   if test ! -r "$srcdir/$ac_unique_file"; then
   1357     srcdir=..
   1358   fi
   1359 else
   1360   ac_srcdir_defaulted=no
   1361 fi
   1362 if test ! -r "$srcdir/$ac_unique_file"; then
   1363   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1364   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1365 fi
   1366 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1367 ac_abs_confdir=`(
   1368 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1369 	pwd)`
   1370 # When building in place, set srcdir=.
   1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1372   srcdir=.
   1373 fi
   1374 # Remove unnecessary trailing slashes from srcdir.
   1375 # Double slashes in file names in object file debugging info
   1376 # mess up M-x gdb in Emacs.
   1377 case $srcdir in
   1378 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1379 esac
   1380 for ac_var in $ac_precious_vars; do
   1381   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1382   eval ac_env_${ac_var}_value=\$${ac_var}
   1383   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1384   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1385 done
   1386 
   1387 #
   1388 # Report the --help message.
   1389 #
   1390 if test "$ac_init_help" = "long"; then
   1391   # Omit some internal or obsolete options to make the list less imposing.
   1392   # This message is too long to be a string in the A/UX 3.1 sh.
   1393   cat <<_ACEOF
   1394 'configure' configures libXinerama 1.1.6 to adapt to many kinds of systems.
   1395 
   1396 Usage: $0 [OPTION]... [VAR=VALUE]...
   1397 
   1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1399 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1400 
   1401 Defaults for the options are specified in brackets.
   1402 
   1403 Configuration:
   1404   -h, --help              display this help and exit
   1405       --help=short        display options specific to this package
   1406       --help=recursive    display the short help of all the included packages
   1407   -V, --version           display version information and exit
   1408   -q, --quiet, --silent   do not print 'checking ...' messages
   1409       --cache-file=FILE   cache test results in FILE [disabled]
   1410   -C, --config-cache      alias for '--cache-file=config.cache'
   1411   -n, --no-create         do not create output files
   1412       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1413 
   1414 Installation directories:
   1415   --prefix=PREFIX         install architecture-independent files in PREFIX
   1416                           [$ac_default_prefix]
   1417   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1418                           [PREFIX]
   1419 
   1420 By default, 'make install' will install all the files in
   1421 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1422 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1423 for instance '--prefix=\$HOME'.
   1424 
   1425 For better control, use the options below.
   1426 
   1427 Fine tuning of the installation directories:
   1428   --bindir=DIR            user executables [EPREFIX/bin]
   1429   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1430   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1431   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1432   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1433   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1434   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1435   --libdir=DIR            object code libraries [EPREFIX/lib]
   1436   --includedir=DIR        C header files [PREFIX/include]
   1437   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1438   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1439   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1440   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1441   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1442   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1443   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXinerama]
   1444   --htmldir=DIR           html documentation [DOCDIR]
   1445   --dvidir=DIR            dvi documentation [DOCDIR]
   1446   --pdfdir=DIR            pdf documentation [DOCDIR]
   1447   --psdir=DIR             ps documentation [DOCDIR]
   1448 _ACEOF
   1449 
   1450   cat <<\_ACEOF
   1451 
   1452 Program names:
   1453   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1454   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1455   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1456 
   1457 System types:
   1458   --build=BUILD     configure for building on BUILD [guessed]
   1459   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1460 _ACEOF
   1461 fi
   1462 
   1463 if test -n "$ac_init_help"; then
   1464   case $ac_init_help in
   1465      short | recursive ) echo "Configuration of libXinerama 1.1.6:";;
   1466    esac
   1467   cat <<\_ACEOF
   1468 
   1469 Optional Features:
   1470   --disable-option-checking  ignore unrecognized --enable/--with options
   1471   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1472   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1473   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1474   --disable-silent-rules  verbose build output (undo: "make V=0")
   1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1476   --enable-static[=PKGS]  build static libraries [default=yes]
   1477   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1478                           both]
   1479   --enable-fast-install[=PKGS]
   1480                           optimize for fast installation [default=yes]
   1481   --enable-aix-soname=aix|svr4|both
   1482                           shared library versioning (aka "SONAME") variant to
   1483                           provide on AIX, [default=aix].
   1484   --enable-dependency-tracking
   1485                           do not reject slow dependency extractors
   1486   --disable-dependency-tracking
   1487                           speeds up one-time build
   1488   --disable-libtool-lock  avoid locking (might break parallel builds)
   1489   --disable-selective-werror
   1490                           Turn off selective compiler errors. (default:
   1491                           enabled)
   1492   --enable-strict-compilation
   1493                           Enable all warnings from compiler and make them
   1494                           errors (default: disabled)
   1495   --enable-malloc0returnsnull
   1496                           assume malloc(0) can return NULL (default: yes)
   1497 
   1498 Optional Packages:
   1499   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1500   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1501   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1502   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1503                           compiler's sysroot if not specified).
   1504   --with-lint             Use a lint-style source code checker (default:
   1505                           disabled)
   1506 
   1507 Some influential environment variables:
   1508   CC          C compiler command
   1509   CFLAGS      C compiler flags
   1510   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1511               nonstandard directory <lib dir>
   1512   LIBS        libraries to pass to the linker, e.g. -l<library>
   1513   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1514               you have headers in a nonstandard directory <include dir>
   1515   LT_SYS_LIBRARY_PATH
   1516               User-defined run-time library search path.
   1517   PKG_CONFIG  path to pkg-config utility
   1518   PKG_CONFIG_PATH
   1519               directories to add to pkg-config's search path
   1520   PKG_CONFIG_LIBDIR
   1521               path overriding pkg-config's built-in search path
   1522   XINERAMA_CFLAGS
   1523               C compiler flags for XINERAMA, overriding pkg-config
   1524   XINERAMA_LIBS
   1525               linker flags for XINERAMA, overriding pkg-config
   1526   LINT        Path to a lint-style command
   1527   LINT_FLAGS  Flags for the lint-style command
   1528 
   1529 Use these variables to override the choices made by 'configure' or to help
   1530 it to find libraries and programs with nonstandard names/locations.
   1531 
   1532 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxinerama/-/issues>.
   1533 _ACEOF
   1534 ac_status=$?
   1535 fi
   1536 
   1537 if test "$ac_init_help" = "recursive"; then
   1538   # If there are subdirs, report their specific --help.
   1539   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1540     test -d "$ac_dir" ||
   1541       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1542       continue
   1543     ac_builddir=.
   1544 
   1545 case "$ac_dir" in
   1546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1547 *)
   1548   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1549   # A ".." for each directory in $ac_dir_suffix.
   1550   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1551   case $ac_top_builddir_sub in
   1552   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1553   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1554   esac ;;
   1555 esac
   1556 ac_abs_top_builddir=$ac_pwd
   1557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1558 # for backward compatibility:
   1559 ac_top_builddir=$ac_top_build_prefix
   1560 
   1561 case $srcdir in
   1562   .)  # We are building in place.
   1563     ac_srcdir=.
   1564     ac_top_srcdir=$ac_top_builddir_sub
   1565     ac_abs_top_srcdir=$ac_pwd ;;
   1566   [\\/]* | ?:[\\/]* )  # Absolute name.
   1567     ac_srcdir=$srcdir$ac_dir_suffix;
   1568     ac_top_srcdir=$srcdir
   1569     ac_abs_top_srcdir=$srcdir ;;
   1570   *) # Relative name.
   1571     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1572     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1573     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1574 esac
   1575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1576 
   1577     cd "$ac_dir" || { ac_status=$?; continue; }
   1578     # Check for configure.gnu first; this name is used for a wrapper for
   1579     # Metaconfig's "Configure" on case-insensitive file systems.
   1580     if test -f "$ac_srcdir/configure.gnu"; then
   1581       echo &&
   1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1583     elif test -f "$ac_srcdir/configure"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure" --help=recursive
   1586     else
   1587       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1588     fi || ac_status=$?
   1589     cd "$ac_pwd" || { ac_status=$?; break; }
   1590   done
   1591 fi
   1592 
   1593 test -n "$ac_init_help" && exit $ac_status
   1594 if $ac_init_version; then
   1595   cat <<\_ACEOF
   1596 libXinerama configure 1.1.6
   1597 generated by GNU Autoconf 2.72
   1598 
   1599 Copyright (C) 2023 Free Software Foundation, Inc.
   1600 This configure script is free software; the Free Software Foundation
   1601 gives unlimited permission to copy, distribute and modify it.
   1602 _ACEOF
   1603   exit
   1604 fi
   1605 
   1606 ## ------------------------ ##
   1607 ## Autoconf initialization. ##
   1608 ## ------------------------ ##
   1609 
   1610 # ac_fn_c_try_compile LINENO
   1611 # --------------------------
   1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1613 ac_fn_c_try_compile ()
   1614 {
   1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1616   rm -f conftest.$ac_objext conftest.beam
   1617   if { { ac_try="$ac_compile"
   1618 case "(($ac_try" in
   1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1620   *) ac_try_echo=$ac_try;;
   1621 esac
   1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1623 printf "%s\n" "$ac_try_echo"; } >&5
   1624   (eval "$ac_compile") 2>conftest.err
   1625   ac_status=$?
   1626   if test -s conftest.err; then
   1627     grep -v '^ *+' conftest.err >conftest.er1
   1628     cat conftest.er1 >&5
   1629     mv -f conftest.er1 conftest.err
   1630   fi
   1631   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1632   test $ac_status = 0; } && {
   1633 	 test -z "$ac_c_werror_flag" ||
   1634 	 test ! -s conftest.err
   1635        } && test -s conftest.$ac_objext
   1636 then :
   1637   ac_retval=0
   1638 else case e in #(
   1639   e) printf "%s\n" "$as_me: failed program was:" >&5
   1640 sed 's/^/| /' conftest.$ac_ext >&5
   1641 
   1642 	ac_retval=1 ;;
   1643 esac
   1644 fi
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646   as_fn_set_status $ac_retval
   1647 
   1648 } # ac_fn_c_try_compile
   1649 
   1650 # ac_fn_c_try_link LINENO
   1651 # -----------------------
   1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1653 ac_fn_c_try_link ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1657   if { { ac_try="$ac_link"
   1658 case "(($ac_try" in
   1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1660   *) ac_try_echo=$ac_try;;
   1661 esac
   1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1663 printf "%s\n" "$ac_try_echo"; } >&5
   1664   (eval "$ac_link") 2>conftest.err
   1665   ac_status=$?
   1666   if test -s conftest.err; then
   1667     grep -v '^ *+' conftest.err >conftest.er1
   1668     cat conftest.er1 >&5
   1669     mv -f conftest.er1 conftest.err
   1670   fi
   1671   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1672   test $ac_status = 0; } && {
   1673 	 test -z "$ac_c_werror_flag" ||
   1674 	 test ! -s conftest.err
   1675        } && test -s conftest$ac_exeext && {
   1676 	 test "$cross_compiling" = yes ||
   1677 	 test -x conftest$ac_exeext
   1678        }
   1679 then :
   1680   ac_retval=0
   1681 else case e in #(
   1682   e) printf "%s\n" "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685 	ac_retval=1 ;;
   1686 esac
   1687 fi
   1688   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1689   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1690   # interfere with the next link command; also delete a directory that is
   1691   # left behind by Apple's compiler.  We do this before executing the actions.
   1692   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694   as_fn_set_status $ac_retval
   1695 
   1696 } # ac_fn_c_try_link
   1697 
   1698 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1699 # -------------------------------------------------------
   1700 # Tests whether HEADER exists and can be compiled using the include files in
   1701 # INCLUDES, setting the cache variable VAR accordingly.
   1702 ac_fn_c_check_header_compile ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1706 printf %s "checking for $2... " >&6; }
   1707 if eval test \${$3+y}
   1708 then :
   1709   printf %s "(cached) " >&6
   1710 else case e in #(
   1711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1712 /* end confdefs.h.  */
   1713 $4
   1714 #include <$2>
   1715 _ACEOF
   1716 if ac_fn_c_try_compile "$LINENO"
   1717 then :
   1718   eval "$3=yes"
   1719 else case e in #(
   1720   e) eval "$3=no" ;;
   1721 esac
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1724 esac
   1725 fi
   1726 eval ac_res=\$$3
   1727 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1728 printf "%s\n" "$ac_res" >&6; }
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730 
   1731 } # ac_fn_c_check_header_compile
   1732 
   1733 # ac_fn_c_check_func LINENO FUNC VAR
   1734 # ----------------------------------
   1735 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1736 ac_fn_c_check_func ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1740 printf %s "checking for $2... " >&6; }
   1741 if eval test \${$3+y}
   1742 then :
   1743   printf %s "(cached) " >&6
   1744 else case e in #(
   1745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1749 #define $2 innocuous_$2
   1750 
   1751 /* System header to define __stub macros and hopefully few prototypes,
   1752    which can conflict with char $2 (void); below.  */
   1753 
   1754 #include <limits.h>
   1755 #undef $2
   1756 
   1757 /* Override any GCC internal prototype to avoid an error.
   1758    Use char because int might match the return type of a GCC
   1759    builtin and then its argument prototype would still apply.  */
   1760 #ifdef __cplusplus
   1761 extern "C"
   1762 #endif
   1763 char $2 (void);
   1764 /* The GNU C library defines this for functions which it implements
   1765     to always fail with ENOSYS.  Some functions are actually named
   1766     something starting with __ and the normal name is an alias.  */
   1767 #if defined __stub_$2 || defined __stub___$2
   1768 choke me
   1769 #endif
   1770 
   1771 int
   1772 main (void)
   1773 {
   1774 return $2 ();
   1775   ;
   1776   return 0;
   1777 }
   1778 _ACEOF
   1779 if ac_fn_c_try_link "$LINENO"
   1780 then :
   1781   eval "$3=yes"
   1782 else case e in #(
   1783   e) eval "$3=no" ;;
   1784 esac
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1787     conftest$ac_exeext conftest.$ac_ext ;;
   1788 esac
   1789 fi
   1790 eval ac_res=\$$3
   1791 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1792 printf "%s\n" "$ac_res" >&6; }
   1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1794 
   1795 } # ac_fn_c_check_func
   1796 
   1797 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1798 # ------------------------------------------------------------------
   1799 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1800 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1801 ac_fn_check_decl ()
   1802 {
   1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1804   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1806 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1807 if eval test \${$3+y}
   1808 then :
   1809   printf %s "(cached) " >&6
   1810 else case e in #(
   1811   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1812   eval ac_save_FLAGS=\$$6
   1813   as_fn_append $6 " $5"
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $4
   1817 int
   1818 main (void)
   1819 {
   1820 #ifndef $as_decl_name
   1821 #ifdef __cplusplus
   1822   (void) $as_decl_use;
   1823 #else
   1824   (void) $as_decl_name;
   1825 #endif
   1826 #endif
   1827 
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_compile "$LINENO"
   1833 then :
   1834   eval "$3=yes"
   1835 else case e in #(
   1836   e) eval "$3=no" ;;
   1837 esac
   1838 fi
   1839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1840   eval $6=\$ac_save_FLAGS
   1841  ;;
   1842 esac
   1843 fi
   1844 eval ac_res=\$$3
   1845 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1846 printf "%s\n" "$ac_res" >&6; }
   1847   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1848 
   1849 } # ac_fn_check_decl
   1850 ac_configure_args_raw=
   1851 for ac_arg
   1852 do
   1853   case $ac_arg in
   1854   *\'*)
   1855     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1856   esac
   1857   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1858 done
   1859 
   1860 case $ac_configure_args_raw in
   1861   *$as_nl*)
   1862     ac_safe_unquote= ;;
   1863   *)
   1864     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1865     ac_unsafe_a="$ac_unsafe_z#~"
   1866     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1867     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1868 esac
   1869 
   1870 cat >config.log <<_ACEOF
   1871 This file contains any messages produced by compilers while
   1872 running configure, to aid debugging if configure makes a mistake.
   1873 
   1874 It was created by libXinerama $as_me 1.1.6, which was
   1875 generated by GNU Autoconf 2.72.  Invocation command line was
   1876 
   1877   $ $0$ac_configure_args_raw
   1878 
   1879 _ACEOF
   1880 exec 5>>config.log
   1881 {
   1882 cat <<_ASUNAME
   1883 ## --------- ##
   1884 ## Platform. ##
   1885 ## --------- ##
   1886 
   1887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1892 
   1893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1894 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1895 
   1896 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1897 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1899 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1900 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1901 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1902 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1903 
   1904 _ASUNAME
   1905 
   1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1907 for as_dir in $PATH
   1908 do
   1909   IFS=$as_save_IFS
   1910   case $as_dir in #(((
   1911     '') as_dir=./ ;;
   1912     */) ;;
   1913     *) as_dir=$as_dir/ ;;
   1914   esac
   1915     printf "%s\n" "PATH: $as_dir"
   1916   done
   1917 IFS=$as_save_IFS
   1918 
   1919 } >&5
   1920 
   1921 cat >&5 <<_ACEOF
   1922 
   1923 
   1924 ## ----------- ##
   1925 ## Core tests. ##
   1926 ## ----------- ##
   1927 
   1928 _ACEOF
   1929 
   1930 
   1931 # Keep a trace of the command line.
   1932 # Strip out --no-create and --no-recursion so they do not pile up.
   1933 # Strip out --silent because we don't want to record it for future runs.
   1934 # Also quote any args containing shell meta-characters.
   1935 # Make two passes to allow for proper duplicate-argument suppression.
   1936 ac_configure_args=
   1937 ac_configure_args0=
   1938 ac_configure_args1=
   1939 ac_must_keep_next=false
   1940 for ac_pass in 1 2
   1941 do
   1942   for ac_arg
   1943   do
   1944     case $ac_arg in
   1945     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1946     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1947     | -silent | --silent | --silen | --sile | --sil)
   1948       continue ;;
   1949     *\'*)
   1950       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1951     esac
   1952     case $ac_pass in
   1953     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1954     2)
   1955       as_fn_append ac_configure_args1 " '$ac_arg'"
   1956       if test $ac_must_keep_next = true; then
   1957 	ac_must_keep_next=false # Got value, back to normal.
   1958       else
   1959 	case $ac_arg in
   1960 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1961 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1962 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1963 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1964 	    case "$ac_configure_args0 " in
   1965 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1966 	    esac
   1967 	    ;;
   1968 	  -* ) ac_must_keep_next=true ;;
   1969 	esac
   1970       fi
   1971       as_fn_append ac_configure_args " '$ac_arg'"
   1972       ;;
   1973     esac
   1974   done
   1975 done
   1976 { ac_configure_args0=; unset ac_configure_args0;}
   1977 { ac_configure_args1=; unset ac_configure_args1;}
   1978 
   1979 # When interrupted or exit'd, cleanup temporary files, and complete
   1980 # config.log.  We remove comments because anyway the quotes in there
   1981 # would cause problems or look ugly.
   1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1984 trap 'exit_status=$?
   1985   # Sanitize IFS.
   1986   IFS=" ""	$as_nl"
   1987   # Save into config.log some information that might help in debugging.
   1988   {
   1989     echo
   1990 
   1991     printf "%s\n" "## ---------------- ##
   1992 ## Cache variables. ##
   1993 ## ---------------- ##"
   1994     echo
   1995     # The following way of writing the cache mishandles newlines in values,
   1996 (
   1997   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1998     eval ac_val=\$$ac_var
   1999     case $ac_val in #(
   2000     *${as_nl}*)
   2001       case $ac_var in #(
   2002       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2003 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2004       esac
   2005       case $ac_var in #(
   2006       _ | IFS | as_nl) ;; #(
   2007       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2008       *) { eval $ac_var=; unset $ac_var;} ;;
   2009       esac ;;
   2010     esac
   2011   done
   2012   (set) 2>&1 |
   2013     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2014     *${as_nl}ac_space=\ *)
   2015       sed -n \
   2016 	"s/'\''/'\''\\\\'\'''\''/g;
   2017 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2018       ;; #(
   2019     *)
   2020       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2021       ;;
   2022     esac |
   2023     sort
   2024 )
   2025     echo
   2026 
   2027     printf "%s\n" "## ----------------- ##
   2028 ## Output variables. ##
   2029 ## ----------------- ##"
   2030     echo
   2031     for ac_var in $ac_subst_vars
   2032     do
   2033       eval ac_val=\$$ac_var
   2034       case $ac_val in
   2035       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2036       esac
   2037       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2038     done | sort
   2039     echo
   2040 
   2041     if test -n "$ac_subst_files"; then
   2042       printf "%s\n" "## ------------------- ##
   2043 ## File substitutions. ##
   2044 ## ------------------- ##"
   2045       echo
   2046       for ac_var in $ac_subst_files
   2047       do
   2048 	eval ac_val=\$$ac_var
   2049 	case $ac_val in
   2050 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2051 	esac
   2052 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2053       done | sort
   2054       echo
   2055     fi
   2056 
   2057     if test -s confdefs.h; then
   2058       printf "%s\n" "## ----------- ##
   2059 ## confdefs.h. ##
   2060 ## ----------- ##"
   2061       echo
   2062       cat confdefs.h
   2063       echo
   2064     fi
   2065     test "$ac_signal" != 0 &&
   2066       printf "%s\n" "$as_me: caught signal $ac_signal"
   2067     printf "%s\n" "$as_me: exit $exit_status"
   2068   } >&5
   2069   rm -f core *.core core.conftest.* &&
   2070     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2071     exit $exit_status
   2072 ' 0
   2073 for ac_signal in 1 2 13 15; do
   2074   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2075 done
   2076 ac_signal=0
   2077 
   2078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2079 rm -f -r conftest* confdefs.h
   2080 
   2081 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2082 
   2083 # Predefined preprocessor variables.
   2084 
   2085 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2086 
   2087 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2088 
   2089 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2090 
   2091 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2092 
   2093 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2094 
   2095 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2096 
   2097 
   2098 # Let the site file select an alternate cache file if it wants to.
   2099 # Prefer an explicitly selected file to automatically selected ones.
   2100 if test -n "$CONFIG_SITE"; then
   2101   ac_site_files="$CONFIG_SITE"
   2102 elif test "x$prefix" != xNONE; then
   2103   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2104 else
   2105   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2106 fi
   2107 
   2108 for ac_site_file in $ac_site_files
   2109 do
   2110   case $ac_site_file in #(
   2111   */*) :
   2112      ;; #(
   2113   *) :
   2114     ac_site_file=./$ac_site_file ;;
   2115 esac
   2116   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2117     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2118 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2119     sed 's/^/| /' "$ac_site_file" >&5
   2120     . "$ac_site_file" \
   2121       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2122 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2123 as_fn_error $? "failed to load site script $ac_site_file
   2124 See 'config.log' for more details" "$LINENO" 5; }
   2125   fi
   2126 done
   2127 
   2128 if test -r "$cache_file"; then
   2129   # Some versions of bash will fail to source /dev/null (special files
   2130   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2131   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2132     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2133 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2134     case $cache_file in
   2135       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2136       *)                      . "./$cache_file";;
   2137     esac
   2138   fi
   2139 else
   2140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2141 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2142   >$cache_file
   2143 fi
   2144 
   2145 # Test code for whether the C compiler supports C89 (global declarations)
   2146 ac_c_conftest_c89_globals='
   2147 /* Does the compiler advertise C89 conformance?
   2148    Do not test the value of __STDC__, because some compilers set it to 0
   2149    while being otherwise adequately conformant. */
   2150 #if !defined __STDC__
   2151 # error "Compiler does not advertise C89 conformance"
   2152 #endif
   2153 
   2154 #include <stddef.h>
   2155 #include <stdarg.h>
   2156 struct stat;
   2157 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2158 struct buf { int x; };
   2159 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2160 static char *e (char **p, int i)
   2161 {
   2162   return p[i];
   2163 }
   2164 static char *f (char * (*g) (char **, int), char **p, ...)
   2165 {
   2166   char *s;
   2167   va_list v;
   2168   va_start (v,p);
   2169   s = g (p, va_arg (v,int));
   2170   va_end (v);
   2171   return s;
   2172 }
   2173 
   2174 /* C89 style stringification. */
   2175 #define noexpand_stringify(a) #a
   2176 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2177 
   2178 /* C89 style token pasting.  Exercises some of the corner cases that
   2179    e.g. old MSVC gets wrong, but not very hard. */
   2180 #define noexpand_concat(a,b) a##b
   2181 #define expand_concat(a,b) noexpand_concat(a,b)
   2182 extern int vA;
   2183 extern int vbee;
   2184 #define aye A
   2185 #define bee B
   2186 int *pvA = &expand_concat(v,aye);
   2187 int *pvbee = &noexpand_concat(v,bee);
   2188 
   2189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2190    function prototypes and stuff, but not \xHH hex character constants.
   2191    These do not provoke an error unfortunately, instead are silently treated
   2192    as an "x".  The following induces an error, until -std is added to get
   2193    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2194    array size at least.  It is necessary to write \x00 == 0 to get something
   2195    that is true only with -std.  */
   2196 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2197 
   2198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2199    inside strings and character constants.  */
   2200 #define FOO(x) '\''x'\''
   2201 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2202 
   2203 int test (int i, double x);
   2204 struct s1 {int (*f) (int a);};
   2205 struct s2 {int (*f) (double a);};
   2206 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2207                int, int);'
   2208 
   2209 # Test code for whether the C compiler supports C89 (body of main).
   2210 ac_c_conftest_c89_main='
   2211 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2212 '
   2213 
   2214 # Test code for whether the C compiler supports C99 (global declarations)
   2215 ac_c_conftest_c99_globals='
   2216 /* Does the compiler advertise C99 conformance? */
   2217 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2218 # error "Compiler does not advertise C99 conformance"
   2219 #endif
   2220 
   2221 // See if C++-style comments work.
   2222 
   2223 #include <stdbool.h>
   2224 extern int puts (const char *);
   2225 extern int printf (const char *, ...);
   2226 extern int dprintf (int, const char *, ...);
   2227 extern void *malloc (size_t);
   2228 extern void free (void *);
   2229 
   2230 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2231 // dprintf is used instead of fprintf to avoid needing to declare
   2232 // FILE and stderr.
   2233 #define debug(...) dprintf (2, __VA_ARGS__)
   2234 #define showlist(...) puts (#__VA_ARGS__)
   2235 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2236 static void
   2237 test_varargs_macros (void)
   2238 {
   2239   int x = 1234;
   2240   int y = 5678;
   2241   debug ("Flag");
   2242   debug ("X = %d\n", x);
   2243   showlist (The first, second, and third items.);
   2244   report (x>y, "x is %d but y is %d", x, y);
   2245 }
   2246 
   2247 // Check long long types.
   2248 #define BIG64 18446744073709551615ull
   2249 #define BIG32 4294967295ul
   2250 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2251 #if !BIG_OK
   2252   #error "your preprocessor is broken"
   2253 #endif
   2254 #if BIG_OK
   2255 #else
   2256   #error "your preprocessor is broken"
   2257 #endif
   2258 static long long int bignum = -9223372036854775807LL;
   2259 static unsigned long long int ubignum = BIG64;
   2260 
   2261 struct incomplete_array
   2262 {
   2263   int datasize;
   2264   double data[];
   2265 };
   2266 
   2267 struct named_init {
   2268   int number;
   2269   const wchar_t *name;
   2270   double average;
   2271 };
   2272 
   2273 typedef const char *ccp;
   2274 
   2275 static inline int
   2276 test_restrict (ccp restrict text)
   2277 {
   2278   // Iterate through items via the restricted pointer.
   2279   // Also check for declarations in for loops.
   2280   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2281     continue;
   2282   return 0;
   2283 }
   2284 
   2285 // Check varargs and va_copy.
   2286 static bool
   2287 test_varargs (const char *format, ...)
   2288 {
   2289   va_list args;
   2290   va_start (args, format);
   2291   va_list args_copy;
   2292   va_copy (args_copy, args);
   2293 
   2294   const char *str = "";
   2295   int number = 0;
   2296   float fnumber = 0;
   2297 
   2298   while (*format)
   2299     {
   2300       switch (*format++)
   2301 	{
   2302 	case '\''s'\'': // string
   2303 	  str = va_arg (args_copy, const char *);
   2304 	  break;
   2305 	case '\''d'\'': // int
   2306 	  number = va_arg (args_copy, int);
   2307 	  break;
   2308 	case '\''f'\'': // float
   2309 	  fnumber = va_arg (args_copy, double);
   2310 	  break;
   2311 	default:
   2312 	  break;
   2313 	}
   2314     }
   2315   va_end (args_copy);
   2316   va_end (args);
   2317 
   2318   return *str && number && fnumber;
   2319 }
   2320 '
   2321 
   2322 # Test code for whether the C compiler supports C99 (body of main).
   2323 ac_c_conftest_c99_main='
   2324   // Check bool.
   2325   _Bool success = false;
   2326   success |= (argc != 0);
   2327 
   2328   // Check restrict.
   2329   if (test_restrict ("String literal") == 0)
   2330     success = true;
   2331   char *restrict newvar = "Another string";
   2332 
   2333   // Check varargs.
   2334   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2335   test_varargs_macros ();
   2336 
   2337   // Check flexible array members.
   2338   struct incomplete_array *ia =
   2339     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2340   ia->datasize = 10;
   2341   for (int i = 0; i < ia->datasize; ++i)
   2342     ia->data[i] = i * 1.234;
   2343   // Work around memory leak warnings.
   2344   free (ia);
   2345 
   2346   // Check named initializers.
   2347   struct named_init ni = {
   2348     .number = 34,
   2349     .name = L"Test wide string",
   2350     .average = 543.34343,
   2351   };
   2352 
   2353   ni.number = 58;
   2354 
   2355   int dynamic_array[ni.number];
   2356   dynamic_array[0] = argv[0][0];
   2357   dynamic_array[ni.number - 1] = 543;
   2358 
   2359   // work around unused variable warnings
   2360   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2361 	 || dynamic_array[ni.number - 1] != 543);
   2362 '
   2363 
   2364 # Test code for whether the C compiler supports C11 (global declarations)
   2365 ac_c_conftest_c11_globals='
   2366 /* Does the compiler advertise C11 conformance? */
   2367 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2368 # error "Compiler does not advertise C11 conformance"
   2369 #endif
   2370 
   2371 // Check _Alignas.
   2372 char _Alignas (double) aligned_as_double;
   2373 char _Alignas (0) no_special_alignment;
   2374 extern char aligned_as_int;
   2375 char _Alignas (0) _Alignas (int) aligned_as_int;
   2376 
   2377 // Check _Alignof.
   2378 enum
   2379 {
   2380   int_alignment = _Alignof (int),
   2381   int_array_alignment = _Alignof (int[100]),
   2382   char_alignment = _Alignof (char)
   2383 };
   2384 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2385 
   2386 // Check _Noreturn.
   2387 int _Noreturn does_not_return (void) { for (;;) continue; }
   2388 
   2389 // Check _Static_assert.
   2390 struct test_static_assert
   2391 {
   2392   int x;
   2393   _Static_assert (sizeof (int) <= sizeof (long int),
   2394                   "_Static_assert does not work in struct");
   2395   long int y;
   2396 };
   2397 
   2398 // Check UTF-8 literals.
   2399 #define u8 syntax error!
   2400 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2401 
   2402 // Check duplicate typedefs.
   2403 typedef long *long_ptr;
   2404 typedef long int *long_ptr;
   2405 typedef long_ptr long_ptr;
   2406 
   2407 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2408 struct anonymous
   2409 {
   2410   union {
   2411     struct { int i; int j; };
   2412     struct { int k; long int l; } w;
   2413   };
   2414   int m;
   2415 } v1;
   2416 '
   2417 
   2418 # Test code for whether the C compiler supports C11 (body of main).
   2419 ac_c_conftest_c11_main='
   2420   _Static_assert ((offsetof (struct anonymous, i)
   2421 		   == offsetof (struct anonymous, w.k)),
   2422 		  "Anonymous union alignment botch");
   2423   v1.i = 2;
   2424   v1.w.k = 5;
   2425   ok |= v1.i != 5;
   2426 '
   2427 
   2428 # Test code for whether the C compiler supports C11 (complete).
   2429 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2430 ${ac_c_conftest_c99_globals}
   2431 ${ac_c_conftest_c11_globals}
   2432 
   2433 int
   2434 main (int argc, char **argv)
   2435 {
   2436   int ok = 0;
   2437   ${ac_c_conftest_c89_main}
   2438   ${ac_c_conftest_c99_main}
   2439   ${ac_c_conftest_c11_main}
   2440   return ok;
   2441 }
   2442 "
   2443 
   2444 # Test code for whether the C compiler supports C99 (complete).
   2445 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2446 ${ac_c_conftest_c99_globals}
   2447 
   2448 int
   2449 main (int argc, char **argv)
   2450 {
   2451   int ok = 0;
   2452   ${ac_c_conftest_c89_main}
   2453   ${ac_c_conftest_c99_main}
   2454   return ok;
   2455 }
   2456 "
   2457 
   2458 # Test code for whether the C compiler supports C89 (complete).
   2459 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2460 
   2461 int
   2462 main (int argc, char **argv)
   2463 {
   2464   int ok = 0;
   2465   ${ac_c_conftest_c89_main}
   2466   return ok;
   2467 }
   2468 "
   2469 
   2470 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2471 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2472 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2473 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2474 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2475 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2476 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2477 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2478 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2479 
   2480 # Auxiliary files required by this configure script.
   2481 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2482 
   2483 # Locations in which to look for auxiliary files.
   2484 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2485 
   2486 # Search for a directory containing all of the required auxiliary files,
   2487 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2488 # If we don't find one directory that contains all the files we need,
   2489 # we report the set of missing files from the *first* directory in
   2490 # $ac_aux_dir_candidates and give up.
   2491 ac_missing_aux_files=""
   2492 ac_first_candidate=:
   2493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2495 as_found=false
   2496 for as_dir in $ac_aux_dir_candidates
   2497 do
   2498   IFS=$as_save_IFS
   2499   case $as_dir in #(((
   2500     '') as_dir=./ ;;
   2501     */) ;;
   2502     *) as_dir=$as_dir/ ;;
   2503   esac
   2504   as_found=:
   2505 
   2506   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2507   ac_aux_dir_found=yes
   2508   ac_install_sh=
   2509   for ac_aux in $ac_aux_files
   2510   do
   2511     # As a special case, if "install-sh" is required, that requirement
   2512     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2513     # and $ac_install_sh is set appropriately for whichever one is found.
   2514     if test x"$ac_aux" = x"install-sh"
   2515     then
   2516       if test -f "${as_dir}install-sh"; then
   2517         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2518         ac_install_sh="${as_dir}install-sh -c"
   2519       elif test -f "${as_dir}install.sh"; then
   2520         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2521         ac_install_sh="${as_dir}install.sh -c"
   2522       elif test -f "${as_dir}shtool"; then
   2523         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2524         ac_install_sh="${as_dir}shtool install -c"
   2525       else
   2526         ac_aux_dir_found=no
   2527         if $ac_first_candidate; then
   2528           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2529         else
   2530           break
   2531         fi
   2532       fi
   2533     else
   2534       if test -f "${as_dir}${ac_aux}"; then
   2535         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2536       else
   2537         ac_aux_dir_found=no
   2538         if $ac_first_candidate; then
   2539           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2540         else
   2541           break
   2542         fi
   2543       fi
   2544     fi
   2545   done
   2546   if test "$ac_aux_dir_found" = yes; then
   2547     ac_aux_dir="$as_dir"
   2548     break
   2549   fi
   2550   ac_first_candidate=false
   2551 
   2552   as_found=false
   2553 done
   2554 IFS=$as_save_IFS
   2555 if $as_found
   2556 then :
   2557 
   2558 else case e in #(
   2559   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2560 esac
   2561 fi
   2562 
   2563 
   2564 # These three variables are undocumented and unsupported,
   2565 # and are intended to be withdrawn in a future Autoconf release.
   2566 # They can cause serious problems if a builder's source tree is in a directory
   2567 # whose full name contains unusual characters.
   2568 if test -f "${ac_aux_dir}config.guess"; then
   2569   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2570 fi
   2571 if test -f "${ac_aux_dir}config.sub"; then
   2572   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2573 fi
   2574 if test -f "$ac_aux_dir/configure"; then
   2575   ac_configure="$SHELL ${ac_aux_dir}configure"
   2576 fi
   2577 
   2578 # Check that the precious variables saved in the cache have kept the same
   2579 # value.
   2580 ac_cache_corrupted=false
   2581 for ac_var in $ac_precious_vars; do
   2582   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2583   eval ac_new_set=\$ac_env_${ac_var}_set
   2584   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2585   eval ac_new_val=\$ac_env_${ac_var}_value
   2586   case $ac_old_set,$ac_new_set in
   2587     set,)
   2588       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2589 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2590       ac_cache_corrupted=: ;;
   2591     ,set)
   2592       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2593 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2594       ac_cache_corrupted=: ;;
   2595     ,);;
   2596     *)
   2597       if test "x$ac_old_val" != "x$ac_new_val"; then
   2598 	# differences in whitespace do not lead to failure.
   2599 	ac_old_val_w=`echo x $ac_old_val`
   2600 	ac_new_val_w=`echo x $ac_new_val`
   2601 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2602 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2603 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2604 	  ac_cache_corrupted=:
   2605 	else
   2606 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2607 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2608 	  eval $ac_var=\$ac_old_val
   2609 	fi
   2610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2611 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2613 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2614       fi;;
   2615   esac
   2616   # Pass precious variables to config.status.
   2617   if test "$ac_new_set" = set; then
   2618     case $ac_new_val in
   2619     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2620     *) ac_arg=$ac_var=$ac_new_val ;;
   2621     esac
   2622     case " $ac_configure_args " in
   2623       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2624       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2625     esac
   2626   fi
   2627 done
   2628 if $ac_cache_corrupted; then
   2629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2630 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2632 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2633   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2634 	    and start over" "$LINENO" 5
   2635 fi
   2636 ## -------------------- ##
   2637 ## Main body of script. ##
   2638 ## -------------------- ##
   2639 
   2640 ac_ext=c
   2641 ac_cpp='$CPP $CPPFLAGS'
   2642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2645 
   2646 
   2647 
   2648 ac_config_headers="$ac_config_headers config.h"
   2649 
   2650 
   2651 
   2652 # Initialize Automake
   2653 am__api_version='1.18'
   2654 
   2655 
   2656 
   2657   # Find a good install program.  We prefer a C program (faster),
   2658 # so one script is as good as another.  But avoid the broken or
   2659 # incompatible versions:
   2660 # SysV /etc/install, /usr/sbin/install
   2661 # SunOS /usr/etc/install
   2662 # IRIX /sbin/install
   2663 # AIX /bin/install
   2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2668 # OS/2's system install, which has a completely different semantic
   2669 # ./install, which can be erroneously created by make from ./install.sh.
   2670 # Reject install programs that cannot install multiple files.
   2671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2672 printf %s "checking for a BSD-compatible install... " >&6; }
   2673 if test -z "$INSTALL"; then
   2674 if test ${ac_cv_path_install+y}
   2675 then :
   2676   printf %s "(cached) " >&6
   2677 else case e in #(
   2678   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2679 for as_dir in $PATH
   2680 do
   2681   IFS=$as_save_IFS
   2682   case $as_dir in #(((
   2683     '') as_dir=./ ;;
   2684     */) ;;
   2685     *) as_dir=$as_dir/ ;;
   2686   esac
   2687     # Account for fact that we put trailing slashes in our PATH walk.
   2688 case $as_dir in #((
   2689   ./ | /[cC]/* | \
   2690   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2691   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2692   /usr/ucb/* ) ;;
   2693   *)
   2694     # OSF1 and SCO ODT 3.0 have their own names for install.
   2695     # Don't use installbsd from OSF since it installs stuff as root
   2696     # by default.
   2697     for ac_prog in ginstall scoinst install; do
   2698       for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2700 	  if test $ac_prog = install &&
   2701 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # AIX install.  It has an incompatible calling convention.
   2703 	    :
   2704 	  elif test $ac_prog = install &&
   2705 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2706 	    # program-specific install script used by HP pwplus--don't use.
   2707 	    :
   2708 	  else
   2709 	    rm -rf conftest.one conftest.two conftest.dir
   2710 	    echo one > conftest.one
   2711 	    echo two > conftest.two
   2712 	    mkdir conftest.dir
   2713 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2714 	      test -s conftest.one && test -s conftest.two &&
   2715 	      test -s conftest.dir/conftest.one &&
   2716 	      test -s conftest.dir/conftest.two
   2717 	    then
   2718 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2719 	      break 3
   2720 	    fi
   2721 	  fi
   2722 	fi
   2723       done
   2724     done
   2725     ;;
   2726 esac
   2727 
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 rm -rf conftest.one conftest.two conftest.dir
   2732  ;;
   2733 esac
   2734 fi
   2735   if test ${ac_cv_path_install+y}; then
   2736     INSTALL=$ac_cv_path_install
   2737   else
   2738     # As a last resort, use the slow shell script.  Don't cache a
   2739     # value for INSTALL within a source directory, because that will
   2740     # break other packages using the cache if that directory is
   2741     # removed, or if the value is a relative name.
   2742     INSTALL=$ac_install_sh
   2743   fi
   2744 fi
   2745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2746 printf "%s\n" "$INSTALL" >&6; }
   2747 
   2748 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2749 # It thinks the first close brace ends the variable substitution.
   2750 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2751 
   2752 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2753 
   2754 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2755 
   2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2757 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2758 if test ${am_cv_sleep_fractional_seconds+y}
   2759 then :
   2760   printf %s "(cached) " >&6
   2761 else case e in #(
   2762   e) if sleep 0.001 2>/dev/null
   2763 then :
   2764   am_cv_sleep_fractional_seconds=yes
   2765 else case e in #(
   2766   e) am_cv_sleep_fractional_seconds=no ;;
   2767 esac
   2768 fi
   2769  ;;
   2770 esac
   2771 fi
   2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2773 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2774 
   2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2776 printf %s "checking filesystem timestamp resolution... " >&6; }
   2777 if test ${am_cv_filesystem_timestamp_resolution+y}
   2778 then :
   2779   printf %s "(cached) " >&6
   2780 else case e in #(
   2781   e) # Default to the worst case.
   2782 am_cv_filesystem_timestamp_resolution=2
   2783 
   2784 # Only try to go finer than 1 sec if sleep can do it.
   2785 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2786 # - 1 sec is not much of a win compared to 2 sec, and
   2787 # - it takes 2 seconds to perform the test whether 1 sec works.
   2788 #
   2789 # Instead, just use the default 2s on platforms that have 1s resolution,
   2790 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2791 # exchange for not incurring the 2s delay for running the test for all
   2792 # packages.
   2793 #
   2794 am_try_resolutions=
   2795 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2796   # Even a millisecond often causes a bunch of false positives,
   2797   # so just try a hundredth of a second. The time saved between .001 and
   2798   # .01 is not terribly consequential.
   2799   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2800 fi
   2801 
   2802 # In order to catch current-generation FAT out, we must *modify* files
   2803 # that already exist; the *creation* timestamp is finer.  Use names
   2804 # that make ls -t sort them differently when they have equal
   2805 # timestamps than when they have distinct timestamps, keeping
   2806 # in mind that ls -t prints the *newest* file first.
   2807 rm -f conftest.ts?
   2808 : > conftest.ts1
   2809 : > conftest.ts2
   2810 : > conftest.ts3
   2811 
   2812 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2813 # clobber the current shell's arguments. (Outer-level square brackets
   2814 # are removed by m4; they're present so that m4 does not expand
   2815 # <dollar><star>; be careful, easy to get confused.)
   2816 if (
   2817      set X `ls -t conftest.ts[12]` &&
   2818      {
   2819        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2820        test "$*" != "X conftest.ts2 conftest.ts1";
   2821      }
   2822 ); then :; else
   2823   # If neither matched, then we have a broken ls.  This can happen
   2824   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2825   # broken ls alias from the environment.  This has actually
   2826   # happened.  Such a system could not be considered "sane".
   2827   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2828   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2829 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2830 as_fn_error $? "ls -t produces unexpected output.
   2831 Make sure there is not a broken ls alias in your environment.
   2832 See 'config.log' for more details" "$LINENO" 5; }
   2833 fi
   2834 
   2835 for am_try_res in $am_try_resolutions; do
   2836   # Any one fine-grained sleep might happen to cross the boundary
   2837   # between two values of a coarser actual resolution, but if we do
   2838   # two fine-grained sleeps in a row, at least one of them will fall
   2839   # entirely within a coarse interval.
   2840   echo alpha > conftest.ts1
   2841   sleep $am_try_res
   2842   echo beta > conftest.ts2
   2843   sleep $am_try_res
   2844   echo gamma > conftest.ts3
   2845 
   2846   # We assume that 'ls -t' will make use of high-resolution
   2847   # timestamps if the operating system supports them at all.
   2848   if (set X `ls -t conftest.ts?` &&
   2849       test "$2" = conftest.ts3 &&
   2850       test "$3" = conftest.ts2 &&
   2851       test "$4" = conftest.ts1); then
   2852     #
   2853     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2854     # because we don't need to test make.
   2855     make_ok=true
   2856     if test $am_try_res != 1; then
   2857       # But if we've succeeded so far with a subsecond resolution, we
   2858       # have one more thing to check: make. It can happen that
   2859       # everything else supports the subsecond mtimes, but make doesn't;
   2860       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2861       # released under GPLv2). https://bugs.gnu.org/68808
   2862       #
   2863       # We test $MAKE if it is defined in the environment, else "make".
   2864       # It might get overridden later, but our hope is that in practice
   2865       # it does not matter: it is the system "make" which is (by far)
   2866       # the most likely to be broken, whereas if the user overrides it,
   2867       # probably they did so with a better, or at least not worse, make.
   2868       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2869       #
   2870       # Create a Makefile (real tab character here):
   2871       rm -f conftest.mk
   2872       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2873       echo '	touch conftest.ts2' >>conftest.mk
   2874       #
   2875       # Now, running
   2876       #   touch conftest.ts1; touch conftest.ts2; make
   2877       # should touch ts1 because ts2 is newer. This could happen by luck,
   2878       # but most often, it will fail if make's support is insufficient. So
   2879       # test for several consecutive successes.
   2880       #
   2881       # (We reuse conftest.ts[12] because we still want to modify existing
   2882       # files, not create new ones, per above.)
   2883       n=0
   2884       make=${MAKE-make}
   2885       until test $n -eq 3; do
   2886         echo one > conftest.ts1
   2887         sleep $am_try_res
   2888         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2889         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2890           make_ok=false
   2891           break # out of $n loop
   2892         fi
   2893         n=`expr $n + 1`
   2894       done
   2895     fi
   2896     #
   2897     if $make_ok; then
   2898       # Everything we know to check worked out, so call this resolution good.
   2899       am_cv_filesystem_timestamp_resolution=$am_try_res
   2900       break # out of $am_try_res loop
   2901     fi
   2902     # Otherwise, we'll go on to check the next resolution.
   2903   fi
   2904 done
   2905 rm -f conftest.ts?
   2906 # (end _am_filesystem_timestamp_resolution)
   2907  ;;
   2908 esac
   2909 fi
   2910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2911 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2912 
   2913 # This check should not be cached, as it may vary across builds of
   2914 # different projects.
   2915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2916 printf %s "checking whether build environment is sane... " >&6; }
   2917 # Reject unsafe characters in $srcdir or the absolute working directory
   2918 # name.  Accept space and tab only in the latter.
   2919 am_lf='
   2920 '
   2921 case `pwd` in
   2922   *[\\\"\#\$\&\'\`$am_lf]*)
   2923     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 printf "%s\n" "no" >&6; }
   2925     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2926 esac
   2927 case $srcdir in
   2928   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2929     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2930 printf "%s\n" "no" >&6; }
   2931     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2932 esac
   2933 
   2934 # Do 'set' in a subshell so we don't clobber the current shell's
   2935 # arguments.  Must try -L first in case configure is actually a
   2936 # symlink; some systems play weird games with the mod time of symlinks
   2937 # (eg FreeBSD returns the mod time of the symlink's containing
   2938 # directory).
   2939 am_build_env_is_sane=no
   2940 am_has_slept=no
   2941 rm -f conftest.file
   2942 for am_try in 1 2; do
   2943   echo "timestamp, slept: $am_has_slept" > conftest.file
   2944   if (
   2945     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2946     if test "$*" = "X"; then
   2947       # -L didn't work.
   2948       set X `ls -t "$srcdir/configure" conftest.file`
   2949     fi
   2950     test "$2" = conftest.file
   2951   ); then
   2952     am_build_env_is_sane=yes
   2953     break
   2954   fi
   2955   # Just in case.
   2956   sleep "$am_cv_filesystem_timestamp_resolution"
   2957   am_has_slept=yes
   2958 done
   2959 
   2960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2961 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2962 if test "$am_build_env_is_sane" = no; then
   2963   as_fn_error $? "newly created file is older than distributed files!
   2964 Check your system clock" "$LINENO" 5
   2965 fi
   2966 
   2967 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2968 # generated files are strictly newer.
   2969 am_sleep_pid=
   2970 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2971 then :
   2972 
   2973 else case e in #(
   2974   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2975   am_sleep_pid=$!
   2976  ;;
   2977 esac
   2978 fi
   2979 
   2980 rm -f conftest.file
   2981 
   2982 test "$program_prefix" != NONE &&
   2983   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2984 # Use a double $ so make ignores it.
   2985 test "$program_suffix" != NONE &&
   2986   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2987 # Double any \ or $.
   2988 # By default was 's,x,x', remove it if useless.
   2989 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2990 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2991 
   2992 
   2993 # Expand $ac_aux_dir to an absolute path.
   2994 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2995 
   2996 
   2997   if test x"${MISSING+set}" != xset; then
   2998   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2999 fi
   3000 # Use eval to expand $SHELL
   3001 if eval "$MISSING --is-lightweight"; then
   3002   am_missing_run="$MISSING "
   3003 else
   3004   am_missing_run=
   3005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3006 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3007 fi
   3008 
   3009 if test x"${install_sh+set}" != xset; then
   3010   case $am_aux_dir in
   3011   *\ * | *\	*)
   3012     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3013   *)
   3014     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3015   esac
   3016 fi
   3017 
   3018 # Installed binaries are usually stripped using 'strip' when the user
   3019 # run "make install-strip".  However 'strip' might not be the right
   3020 # tool to use in cross-compilation environments, therefore Automake
   3021 # will honor the 'STRIP' environment variable to overrule this program.
   3022 if test "$cross_compiling" != no; then
   3023   if test -n "$ac_tool_prefix"; then
   3024   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3025 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3027 printf %s "checking for $ac_word... " >&6; }
   3028 if test ${ac_cv_prog_STRIP+y}
   3029 then :
   3030   printf %s "(cached) " >&6
   3031 else case e in #(
   3032   e) if test -n "$STRIP"; then
   3033   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3034 else
   3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3036 for as_dir in $PATH
   3037 do
   3038   IFS=$as_save_IFS
   3039   case $as_dir in #(((
   3040     '') as_dir=./ ;;
   3041     */) ;;
   3042     *) as_dir=$as_dir/ ;;
   3043   esac
   3044     for ac_exec_ext in '' $ac_executable_extensions; do
   3045   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3046     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3048     break 2
   3049   fi
   3050 done
   3051   done
   3052 IFS=$as_save_IFS
   3053 
   3054 fi ;;
   3055 esac
   3056 fi
   3057 STRIP=$ac_cv_prog_STRIP
   3058 if test -n "$STRIP"; then
   3059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3060 printf "%s\n" "$STRIP" >&6; }
   3061 else
   3062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3063 printf "%s\n" "no" >&6; }
   3064 fi
   3065 
   3066 
   3067 fi
   3068 if test -z "$ac_cv_prog_STRIP"; then
   3069   ac_ct_STRIP=$STRIP
   3070   # Extract the first word of "strip", so it can be a program name with args.
   3071 set dummy strip; ac_word=$2
   3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3073 printf %s "checking for $ac_word... " >&6; }
   3074 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3075 then :
   3076   printf %s "(cached) " >&6
   3077 else case e in #(
   3078   e) if test -n "$ac_ct_STRIP"; then
   3079   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3080 else
   3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3082 for as_dir in $PATH
   3083 do
   3084   IFS=$as_save_IFS
   3085   case $as_dir in #(((
   3086     '') as_dir=./ ;;
   3087     */) ;;
   3088     *) as_dir=$as_dir/ ;;
   3089   esac
   3090     for ac_exec_ext in '' $ac_executable_extensions; do
   3091   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3092     ac_cv_prog_ac_ct_STRIP="strip"
   3093     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3094     break 2
   3095   fi
   3096 done
   3097   done
   3098 IFS=$as_save_IFS
   3099 
   3100 fi ;;
   3101 esac
   3102 fi
   3103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3104 if test -n "$ac_ct_STRIP"; then
   3105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3106 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3107 else
   3108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3109 printf "%s\n" "no" >&6; }
   3110 fi
   3111 
   3112   if test "x$ac_ct_STRIP" = x; then
   3113     STRIP=":"
   3114   else
   3115     case $cross_compiling:$ac_tool_warned in
   3116 yes:)
   3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3118 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3119 ac_tool_warned=yes ;;
   3120 esac
   3121     STRIP=$ac_ct_STRIP
   3122   fi
   3123 else
   3124   STRIP="$ac_cv_prog_STRIP"
   3125 fi
   3126 
   3127 fi
   3128 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3129 
   3130 
   3131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3132 printf %s "checking for a race-free mkdir -p... " >&6; }
   3133 if test -z "$MKDIR_P"; then
   3134   if test ${ac_cv_path_mkdir+y}
   3135 then :
   3136   printf %s "(cached) " >&6
   3137 else case e in #(
   3138   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3139 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3140 do
   3141   IFS=$as_save_IFS
   3142   case $as_dir in #(((
   3143     '') as_dir=./ ;;
   3144     */) ;;
   3145     *) as_dir=$as_dir/ ;;
   3146   esac
   3147     for ac_prog in mkdir gmkdir; do
   3148 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3149 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3150 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3151 	     'mkdir ('*'coreutils) '* | \
   3152 	     *'BusyBox '* | \
   3153 	     'mkdir (fileutils) '4.1*)
   3154 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3155 	       break 3;;
   3156 	   esac
   3157 	 done
   3158        done
   3159   done
   3160 IFS=$as_save_IFS
   3161  ;;
   3162 esac
   3163 fi
   3164 
   3165   test -d ./--version && rmdir ./--version
   3166   if test ${ac_cv_path_mkdir+y}; then
   3167     MKDIR_P="$ac_cv_path_mkdir -p"
   3168   else
   3169     # As a last resort, use plain mkdir -p,
   3170     # in the hope it doesn't have the bugs of ancient mkdir.
   3171     MKDIR_P='mkdir -p'
   3172   fi
   3173 fi
   3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3175 printf "%s\n" "$MKDIR_P" >&6; }
   3176 
   3177 for ac_prog in gawk mawk nawk awk
   3178 do
   3179   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3180 set dummy $ac_prog; ac_word=$2
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3182 printf %s "checking for $ac_word... " >&6; }
   3183 if test ${ac_cv_prog_AWK+y}
   3184 then :
   3185   printf %s "(cached) " >&6
   3186 else case e in #(
   3187   e) if test -n "$AWK"; then
   3188   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3189 else
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   case $as_dir in #(((
   3195     '') as_dir=./ ;;
   3196     */) ;;
   3197     *) as_dir=$as_dir/ ;;
   3198   esac
   3199     for ac_exec_ext in '' $ac_executable_extensions; do
   3200   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3201     ac_cv_prog_AWK="$ac_prog"
   3202     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3203     break 2
   3204   fi
   3205 done
   3206   done
   3207 IFS=$as_save_IFS
   3208 
   3209 fi ;;
   3210 esac
   3211 fi
   3212 AWK=$ac_cv_prog_AWK
   3213 if test -n "$AWK"; then
   3214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3215 printf "%s\n" "$AWK" >&6; }
   3216 else
   3217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3218 printf "%s\n" "no" >&6; }
   3219 fi
   3220 
   3221 
   3222   test -n "$AWK" && break
   3223 done
   3224 
   3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3226 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3227 set x ${MAKE-make}
   3228 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3229 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3230 then :
   3231   printf %s "(cached) " >&6
   3232 else case e in #(
   3233   e) cat >conftest.make <<\_ACEOF
   3234 SHELL = /bin/sh
   3235 all:
   3236 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3237 _ACEOF
   3238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3240   *@@@%%%=?*=@@@%%%*)
   3241     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3242   *)
   3243     eval ac_cv_prog_make_${ac_make}_set=no;;
   3244 esac
   3245 rm -f conftest.make ;;
   3246 esac
   3247 fi
   3248 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3250 printf "%s\n" "yes" >&6; }
   3251   SET_MAKE=
   3252 else
   3253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3254 printf "%s\n" "no" >&6; }
   3255   SET_MAKE="MAKE=${MAKE-make}"
   3256 fi
   3257 
   3258 rm -rf .tst 2>/dev/null
   3259 mkdir .tst 2>/dev/null
   3260 if test -d .tst; then
   3261   am__leading_dot=.
   3262 else
   3263   am__leading_dot=_
   3264 fi
   3265 rmdir .tst 2>/dev/null
   3266 
   3267 AM_DEFAULT_VERBOSITY=1
   3268 # Check whether --enable-silent-rules was given.
   3269 if test ${enable_silent_rules+y}
   3270 then :
   3271   enableval=$enable_silent_rules;
   3272 fi
   3273 
   3274 am_make=${MAKE-make}
   3275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3276 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3277 if test ${am_cv_make_support_nested_variables+y}
   3278 then :
   3279   printf %s "(cached) " >&6
   3280 else case e in #(
   3281   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3282 BAR0=false
   3283 BAR1=true
   3284 V=1
   3285 am__doit:
   3286 	@$(TRUE)
   3287 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3288   am_cv_make_support_nested_variables=yes
   3289 else
   3290   am_cv_make_support_nested_variables=no
   3291 fi ;;
   3292 esac
   3293 fi
   3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3295 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3296 AM_BACKSLASH='\'
   3297 
   3298 am__rm_f_notfound=
   3299 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3300 then :
   3301 
   3302 else case e in #(
   3303   e) am__rm_f_notfound='""' ;;
   3304 esac
   3305 fi
   3306 
   3307 
   3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3309 printf %s "checking xargs -n works... " >&6; }
   3310 if test ${am_cv_xargs_n_works+y}
   3311 then :
   3312   printf %s "(cached) " >&6
   3313 else case e in #(
   3314   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3315 3"
   3316 then :
   3317   am_cv_xargs_n_works=yes
   3318 else case e in #(
   3319   e) am_cv_xargs_n_works=no ;;
   3320 esac
   3321 fi ;;
   3322 esac
   3323 fi
   3324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3325 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3326 if test "$am_cv_xargs_n_works" = yes
   3327 then :
   3328   am__xargs_n='xargs -n'
   3329 else case e in #(
   3330   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3331  ;;
   3332 esac
   3333 fi
   3334 
   3335 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3336   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3337   # is not polluted with repeated "-I."
   3338   am__isrc=' -I$(srcdir)'
   3339   # test to see if srcdir already configured
   3340   if test -f $srcdir/config.status; then
   3341     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3342   fi
   3343 fi
   3344 
   3345 # test whether we have cygpath
   3346 if test -z "$CYGPATH_W"; then
   3347   if (cygpath --version) >/dev/null 2>/dev/null; then
   3348     CYGPATH_W='cygpath -w'
   3349   else
   3350     CYGPATH_W=echo
   3351   fi
   3352 fi
   3353 
   3354 
   3355 # Define the identity of the package.
   3356  PACKAGE='libXinerama'
   3357  VERSION='1.1.6'
   3358 
   3359 
   3360 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3361 
   3362 
   3363 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3364 
   3365 # Some tools Automake needs.
   3366 
   3367 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3368 
   3369 
   3370 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3371 
   3372 
   3373 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3374 
   3375 
   3376 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3377 
   3378 
   3379 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3380 
   3381 # For better backward compatibility.  To be removed once Automake 1.9.x
   3382 # dies out for good.  For more background, see:
   3383 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3384 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3385 mkdir_p='$(MKDIR_P)'
   3386 
   3387 # We need awk for the "check" target (and possibly the TAP driver).  The
   3388 # system "awk" is bad on some platforms.
   3389 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3390 # in the wild :-(  We should find a proper way to deprecate it ...
   3391 AMTAR='$${TAR-tar}'
   3392 
   3393 
   3394 # We'll loop over all known methods to create a tar archive until one works.
   3395 _am_tools='gnutar plaintar pax cpio none'
   3396 
   3397 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3398       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3399       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3400       # and bug#13588).
   3401       am_max_uid=2097151 # 2^21 - 1
   3402       am_max_gid=$am_max_uid
   3403       # The $UID and $GID variables are not portable, so we need to resort
   3404       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3405       # below are definitely unexpected, so allow the users to see them
   3406       # (that is, avoid stderr redirection).
   3407       am_uid=`id -u || echo unknown`
   3408       am_gid=`id -g || echo unknown`
   3409       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3410 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3411       if test x$am_uid = xunknown; then
   3412         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3413 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3414       elif test $am_uid -le $am_max_uid; then
   3415         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3416 printf "%s\n" "yes" >&6; }
   3417       else
   3418         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3419 printf "%s\n" "no" >&6; }
   3420         _am_tools=none
   3421       fi
   3422       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3423 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3424       if test x$gm_gid = xunknown; then
   3425         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3426 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3427       elif test $am_gid -le $am_max_gid; then
   3428         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3429 printf "%s\n" "yes" >&6; }
   3430       else
   3431         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3432 printf "%s\n" "no" >&6; }
   3433         _am_tools=none
   3434       fi
   3435 
   3436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3437 printf %s "checking how to create a ustar tar archive... " >&6; }
   3438 
   3439   # Go ahead even if we have the value already cached.  We do so because we
   3440   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3441   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3442 
   3443   for _am_tool in $_am_tools; do
   3444     case $_am_tool in
   3445     gnutar)
   3446       for _am_tar in tar gnutar gtar; do
   3447         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3448    ($_am_tar --version) >&5 2>&5
   3449    ac_status=$?
   3450    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3451    (exit $ac_status); } && break
   3452       done
   3453       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3454       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3455       am__untar="$_am_tar -xf -"
   3456       ;;
   3457     plaintar)
   3458       # Must skip GNU tar: if it does not support --format= it doesn't create
   3459       # ustar tarball either.
   3460       (tar --version) >/dev/null 2>&1 && continue
   3461       am__tar='tar chf - "$$tardir"'
   3462       am__tar_='tar chf - "$tardir"'
   3463       am__untar='tar xf -'
   3464       ;;
   3465     pax)
   3466       am__tar='pax -L -x ustar -w "$$tardir"'
   3467       am__tar_='pax -L -x ustar -w "$tardir"'
   3468       am__untar='pax -r'
   3469       ;;
   3470     cpio)
   3471       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3472       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3473       am__untar='cpio -i -H ustar -d'
   3474       ;;
   3475     none)
   3476       am__tar=false
   3477       am__tar_=false
   3478       am__untar=false
   3479       ;;
   3480     esac
   3481 
   3482     # If the value was cached, stop now.  We just wanted to have am__tar
   3483     # and am__untar set.
   3484     test -n "${am_cv_prog_tar_ustar}" && break
   3485 
   3486     # tar/untar a dummy directory, and stop if the command works.
   3487     rm -rf conftest.dir
   3488     mkdir conftest.dir
   3489     echo GrepMe > conftest.dir/file
   3490     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3491    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3492    ac_status=$?
   3493    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3494    (exit $ac_status); }
   3495     rm -rf conftest.dir
   3496     if test -s conftest.tar; then
   3497       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3498    ($am__untar <conftest.tar) >&5 2>&5
   3499    ac_status=$?
   3500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3501    (exit $ac_status); }
   3502       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3503    (cat conftest.dir/file) >&5 2>&5
   3504    ac_status=$?
   3505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3506    (exit $ac_status); }
   3507       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3508     fi
   3509   done
   3510   rm -rf conftest.dir
   3511 
   3512   if test ${am_cv_prog_tar_ustar+y}
   3513 then :
   3514   printf %s "(cached) " >&6
   3515 else case e in #(
   3516   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3517 esac
   3518 fi
   3519 
   3520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3521 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3522 
   3523 
   3524 
   3525 
   3526 
   3527 # Variables for tags utilities; see am/tags.am
   3528 if test -z "$CTAGS"; then
   3529   CTAGS=ctags
   3530 fi
   3531 
   3532 if test -z "$ETAGS"; then
   3533   ETAGS=etags
   3534 fi
   3535 
   3536 if test -z "$CSCOPE"; then
   3537   CSCOPE=cscope
   3538 fi
   3539 
   3540 
   3541 
   3542 
   3543 
   3544 
   3545 
   3546 
   3547 # Initialize libtool
   3548 case `pwd` in
   3549   *\ * | *\	*)
   3550     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3551 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3552 esac
   3553 
   3554 
   3555 
   3556 macro_version='2.5.4'
   3557 macro_revision='2.5.4'
   3558 
   3559 
   3560 
   3561 
   3562 
   3563 
   3564 
   3565 
   3566 
   3567 
   3568 
   3569 
   3570 
   3571 
   3572 ltmain=$ac_aux_dir/ltmain.sh
   3573 
   3574 
   3575 
   3576   # Make sure we can run config.sub.
   3577 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3578   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3579 
   3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3581 printf %s "checking build system type... " >&6; }
   3582 if test ${ac_cv_build+y}
   3583 then :
   3584   printf %s "(cached) " >&6
   3585 else case e in #(
   3586   e) ac_build_alias=$build_alias
   3587 test "x$ac_build_alias" = x &&
   3588   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3589 test "x$ac_build_alias" = x &&
   3590   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3591 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3592   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3593  ;;
   3594 esac
   3595 fi
   3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3597 printf "%s\n" "$ac_cv_build" >&6; }
   3598 case $ac_cv_build in
   3599 *-*-*) ;;
   3600 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3601 esac
   3602 build=$ac_cv_build
   3603 ac_save_IFS=$IFS; IFS='-'
   3604 set x $ac_cv_build
   3605 shift
   3606 build_cpu=$1
   3607 build_vendor=$2
   3608 shift; shift
   3609 # Remember, the first character of IFS is used to create $*,
   3610 # except with old shells:
   3611 build_os=$*
   3612 IFS=$ac_save_IFS
   3613 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3614 
   3615 
   3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3617 printf %s "checking host system type... " >&6; }
   3618 if test ${ac_cv_host+y}
   3619 then :
   3620   printf %s "(cached) " >&6
   3621 else case e in #(
   3622   e) if test "x$host_alias" = x; then
   3623   ac_cv_host=$ac_cv_build
   3624 else
   3625   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3626     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3627 fi
   3628  ;;
   3629 esac
   3630 fi
   3631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3632 printf "%s\n" "$ac_cv_host" >&6; }
   3633 case $ac_cv_host in
   3634 *-*-*) ;;
   3635 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3636 esac
   3637 host=$ac_cv_host
   3638 ac_save_IFS=$IFS; IFS='-'
   3639 set x $ac_cv_host
   3640 shift
   3641 host_cpu=$1
   3642 host_vendor=$2
   3643 shift; shift
   3644 # Remember, the first character of IFS is used to create $*,
   3645 # except with old shells:
   3646 host_os=$*
   3647 IFS=$ac_save_IFS
   3648 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3649 
   3650 
   3651 # Backslashify metacharacters that are still active within
   3652 # double-quoted strings.
   3653 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3654 
   3655 # Same as above, but do not quote variable references.
   3656 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3657 
   3658 # Sed substitution to delay expansion of an escaped shell variable in a
   3659 # double_quote_subst'ed string.
   3660 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3661 
   3662 # Sed substitution to delay expansion of an escaped single quote.
   3663 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3664 
   3665 # Sed substitution to avoid accidental globbing in evaled expressions
   3666 no_glob_subst='s/\*/\\\*/g'
   3667 
   3668 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3669 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3670 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3671 
   3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3673 printf %s "checking how to print strings... " >&6; }
   3674 # Test print first, because it will be a builtin if present.
   3675 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3676    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3677   ECHO='print -r --'
   3678 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3679   ECHO='printf %s\n'
   3680 else
   3681   # Use this function as a fallback that always works.
   3682   func_fallback_echo ()
   3683   {
   3684     eval 'cat <<_LTECHO_EOF
   3685 $1
   3686 _LTECHO_EOF'
   3687   }
   3688   ECHO='func_fallback_echo'
   3689 fi
   3690 
   3691 # func_echo_all arg...
   3692 # Invoke $ECHO with all args, space-separated.
   3693 func_echo_all ()
   3694 {
   3695     $ECHO ""
   3696 }
   3697 
   3698 case $ECHO in
   3699   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3700 printf "%s\n" "printf" >&6; } ;;
   3701   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3702 printf "%s\n" "print -r" >&6; } ;;
   3703   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3704 printf "%s\n" "cat" >&6; } ;;
   3705 esac
   3706 
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 
   3714 
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 
   3728 
   3729 DEPDIR="${am__leading_dot}deps"
   3730 
   3731 ac_config_commands="$ac_config_commands depfiles"
   3732 
   3733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3734 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3735 cat > confinc.mk << 'END'
   3736 am__doit:
   3737 	@echo this is the am__doit target >confinc.out
   3738 .PHONY: am__doit
   3739 END
   3740 am__include="#"
   3741 am__quote=
   3742 # BSD make does it like this.
   3743 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3744 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3745 echo 'include confinc.mk # ignored' > confmf.GNU
   3746 _am_result=no
   3747 for s in GNU BSD; do
   3748   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3749    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3750    ac_status=$?
   3751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3752    (exit $ac_status); }
   3753   case $?:`cat confinc.out 2>/dev/null` in #(
   3754   '0:this is the am__doit target') :
   3755     case $s in #(
   3756   BSD) :
   3757     am__include='.include' am__quote='"' ;; #(
   3758   *) :
   3759     am__include='include' am__quote='' ;;
   3760 esac ;; #(
   3761   *) :
   3762      ;;
   3763 esac
   3764   if test "$am__include" != "#"; then
   3765     _am_result="yes ($s style)"
   3766     break
   3767   fi
   3768 done
   3769 rm -f confinc.* confmf.*
   3770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3771 printf "%s\n" "${_am_result}" >&6; }
   3772 
   3773 # Check whether --enable-dependency-tracking was given.
   3774 if test ${enable_dependency_tracking+y}
   3775 then :
   3776   enableval=$enable_dependency_tracking;
   3777 fi
   3778 
   3779 if test "x$enable_dependency_tracking" != xno; then
   3780   am_depcomp="$ac_aux_dir/depcomp"
   3781   AMDEPBACKSLASH='\'
   3782   am__nodep='_no'
   3783 fi
   3784  if test "x$enable_dependency_tracking" != xno; then
   3785   AMDEP_TRUE=
   3786   AMDEP_FALSE='#'
   3787 else
   3788   AMDEP_TRUE='#'
   3789   AMDEP_FALSE=
   3790 fi
   3791 
   3792 
   3793 ac_ext=c
   3794 ac_cpp='$CPP $CPPFLAGS'
   3795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3798 if test -n "$ac_tool_prefix"; then
   3799   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3802 printf %s "checking for $ac_word... " >&6; }
   3803 if test ${ac_cv_prog_CC+y}
   3804 then :
   3805   printf %s "(cached) " >&6
   3806 else case e in #(
   3807   e) if test -n "$CC"; then
   3808   ac_cv_prog_CC="$CC" # Let the user override the test.
   3809 else
   3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3811 for as_dir in $PATH
   3812 do
   3813   IFS=$as_save_IFS
   3814   case $as_dir in #(((
   3815     '') as_dir=./ ;;
   3816     */) ;;
   3817     *) as_dir=$as_dir/ ;;
   3818   esac
   3819     for ac_exec_ext in '' $ac_executable_extensions; do
   3820   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3821     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3822     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3823     break 2
   3824   fi
   3825 done
   3826   done
   3827 IFS=$as_save_IFS
   3828 
   3829 fi ;;
   3830 esac
   3831 fi
   3832 CC=$ac_cv_prog_CC
   3833 if test -n "$CC"; then
   3834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3835 printf "%s\n" "$CC" >&6; }
   3836 else
   3837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3838 printf "%s\n" "no" >&6; }
   3839 fi
   3840 
   3841 
   3842 fi
   3843 if test -z "$ac_cv_prog_CC"; then
   3844   ac_ct_CC=$CC
   3845   # Extract the first word of "gcc", so it can be a program name with args.
   3846 set dummy gcc; ac_word=$2
   3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3848 printf %s "checking for $ac_word... " >&6; }
   3849 if test ${ac_cv_prog_ac_ct_CC+y}
   3850 then :
   3851   printf %s "(cached) " >&6
   3852 else case e in #(
   3853   e) if test -n "$ac_ct_CC"; then
   3854   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3855 else
   3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3857 for as_dir in $PATH
   3858 do
   3859   IFS=$as_save_IFS
   3860   case $as_dir in #(((
   3861     '') as_dir=./ ;;
   3862     */) ;;
   3863     *) as_dir=$as_dir/ ;;
   3864   esac
   3865     for ac_exec_ext in '' $ac_executable_extensions; do
   3866   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3867     ac_cv_prog_ac_ct_CC="gcc"
   3868     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3869     break 2
   3870   fi
   3871 done
   3872   done
   3873 IFS=$as_save_IFS
   3874 
   3875 fi ;;
   3876 esac
   3877 fi
   3878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3879 if test -n "$ac_ct_CC"; then
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3881 printf "%s\n" "$ac_ct_CC" >&6; }
   3882 else
   3883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3884 printf "%s\n" "no" >&6; }
   3885 fi
   3886 
   3887   if test "x$ac_ct_CC" = x; then
   3888     CC=""
   3889   else
   3890     case $cross_compiling:$ac_tool_warned in
   3891 yes:)
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3893 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3894 ac_tool_warned=yes ;;
   3895 esac
   3896     CC=$ac_ct_CC
   3897   fi
   3898 else
   3899   CC="$ac_cv_prog_CC"
   3900 fi
   3901 
   3902 if test -z "$CC"; then
   3903           if test -n "$ac_tool_prefix"; then
   3904     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3905 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3907 printf %s "checking for $ac_word... " >&6; }
   3908 if test ${ac_cv_prog_CC+y}
   3909 then :
   3910   printf %s "(cached) " >&6
   3911 else case e in #(
   3912   e) if test -n "$CC"; then
   3913   ac_cv_prog_CC="$CC" # Let the user override the test.
   3914 else
   3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3916 for as_dir in $PATH
   3917 do
   3918   IFS=$as_save_IFS
   3919   case $as_dir in #(((
   3920     '') as_dir=./ ;;
   3921     */) ;;
   3922     *) as_dir=$as_dir/ ;;
   3923   esac
   3924     for ac_exec_ext in '' $ac_executable_extensions; do
   3925   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3926     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3927     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3928     break 2
   3929   fi
   3930 done
   3931   done
   3932 IFS=$as_save_IFS
   3933 
   3934 fi ;;
   3935 esac
   3936 fi
   3937 CC=$ac_cv_prog_CC
   3938 if test -n "$CC"; then
   3939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3940 printf "%s\n" "$CC" >&6; }
   3941 else
   3942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3943 printf "%s\n" "no" >&6; }
   3944 fi
   3945 
   3946 
   3947   fi
   3948 fi
   3949 if test -z "$CC"; then
   3950   # Extract the first word of "cc", so it can be a program name with args.
   3951 set dummy cc; ac_word=$2
   3952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3953 printf %s "checking for $ac_word... " >&6; }
   3954 if test ${ac_cv_prog_CC+y}
   3955 then :
   3956   printf %s "(cached) " >&6
   3957 else case e in #(
   3958   e) if test -n "$CC"; then
   3959   ac_cv_prog_CC="$CC" # Let the user override the test.
   3960 else
   3961   ac_prog_rejected=no
   3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3963 for as_dir in $PATH
   3964 do
   3965   IFS=$as_save_IFS
   3966   case $as_dir in #(((
   3967     '') as_dir=./ ;;
   3968     */) ;;
   3969     *) as_dir=$as_dir/ ;;
   3970   esac
   3971     for ac_exec_ext in '' $ac_executable_extensions; do
   3972   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3973     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3974        ac_prog_rejected=yes
   3975        continue
   3976      fi
   3977     ac_cv_prog_CC="cc"
   3978     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3979     break 2
   3980   fi
   3981 done
   3982   done
   3983 IFS=$as_save_IFS
   3984 
   3985 if test $ac_prog_rejected = yes; then
   3986   # We found a bogon in the path, so make sure we never use it.
   3987   set dummy $ac_cv_prog_CC
   3988   shift
   3989   if test $# != 0; then
   3990     # We chose a different compiler from the bogus one.
   3991     # However, it has the same basename, so the bogon will be chosen
   3992     # first if we set CC to just the basename; use the full file name.
   3993     shift
   3994     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3995   fi
   3996 fi
   3997 fi ;;
   3998 esac
   3999 fi
   4000 CC=$ac_cv_prog_CC
   4001 if test -n "$CC"; then
   4002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4003 printf "%s\n" "$CC" >&6; }
   4004 else
   4005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4006 printf "%s\n" "no" >&6; }
   4007 fi
   4008 
   4009 
   4010 fi
   4011 if test -z "$CC"; then
   4012   if test -n "$ac_tool_prefix"; then
   4013   for ac_prog in cl.exe
   4014   do
   4015     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4018 printf %s "checking for $ac_word... " >&6; }
   4019 if test ${ac_cv_prog_CC+y}
   4020 then :
   4021   printf %s "(cached) " >&6
   4022 else case e in #(
   4023   e) if test -n "$CC"; then
   4024   ac_cv_prog_CC="$CC" # Let the user override the test.
   4025 else
   4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4027 for as_dir in $PATH
   4028 do
   4029   IFS=$as_save_IFS
   4030   case $as_dir in #(((
   4031     '') as_dir=./ ;;
   4032     */) ;;
   4033     *) as_dir=$as_dir/ ;;
   4034   esac
   4035     for ac_exec_ext in '' $ac_executable_extensions; do
   4036   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4037     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4038     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4039     break 2
   4040   fi
   4041 done
   4042   done
   4043 IFS=$as_save_IFS
   4044 
   4045 fi ;;
   4046 esac
   4047 fi
   4048 CC=$ac_cv_prog_CC
   4049 if test -n "$CC"; then
   4050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4051 printf "%s\n" "$CC" >&6; }
   4052 else
   4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4054 printf "%s\n" "no" >&6; }
   4055 fi
   4056 
   4057 
   4058     test -n "$CC" && break
   4059   done
   4060 fi
   4061 if test -z "$CC"; then
   4062   ac_ct_CC=$CC
   4063   for ac_prog in cl.exe
   4064 do
   4065   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4066 set dummy $ac_prog; ac_word=$2
   4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4068 printf %s "checking for $ac_word... " >&6; }
   4069 if test ${ac_cv_prog_ac_ct_CC+y}
   4070 then :
   4071   printf %s "(cached) " >&6
   4072 else case e in #(
   4073   e) if test -n "$ac_ct_CC"; then
   4074   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4075 else
   4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4077 for as_dir in $PATH
   4078 do
   4079   IFS=$as_save_IFS
   4080   case $as_dir in #(((
   4081     '') as_dir=./ ;;
   4082     */) ;;
   4083     *) as_dir=$as_dir/ ;;
   4084   esac
   4085     for ac_exec_ext in '' $ac_executable_extensions; do
   4086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4087     ac_cv_prog_ac_ct_CC="$ac_prog"
   4088     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4089     break 2
   4090   fi
   4091 done
   4092   done
   4093 IFS=$as_save_IFS
   4094 
   4095 fi ;;
   4096 esac
   4097 fi
   4098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4099 if test -n "$ac_ct_CC"; then
   4100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4101 printf "%s\n" "$ac_ct_CC" >&6; }
   4102 else
   4103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4104 printf "%s\n" "no" >&6; }
   4105 fi
   4106 
   4107 
   4108   test -n "$ac_ct_CC" && break
   4109 done
   4110 
   4111   if test "x$ac_ct_CC" = x; then
   4112     CC=""
   4113   else
   4114     case $cross_compiling:$ac_tool_warned in
   4115 yes:)
   4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4118 ac_tool_warned=yes ;;
   4119 esac
   4120     CC=$ac_ct_CC
   4121   fi
   4122 fi
   4123 
   4124 fi
   4125 if test -z "$CC"; then
   4126   if test -n "$ac_tool_prefix"; then
   4127   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4128 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4130 printf %s "checking for $ac_word... " >&6; }
   4131 if test ${ac_cv_prog_CC+y}
   4132 then :
   4133   printf %s "(cached) " >&6
   4134 else case e in #(
   4135   e) if test -n "$CC"; then
   4136   ac_cv_prog_CC="$CC" # Let the user override the test.
   4137 else
   4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4139 for as_dir in $PATH
   4140 do
   4141   IFS=$as_save_IFS
   4142   case $as_dir in #(((
   4143     '') as_dir=./ ;;
   4144     */) ;;
   4145     *) as_dir=$as_dir/ ;;
   4146   esac
   4147     for ac_exec_ext in '' $ac_executable_extensions; do
   4148   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4149     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4150     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4151     break 2
   4152   fi
   4153 done
   4154   done
   4155 IFS=$as_save_IFS
   4156 
   4157 fi ;;
   4158 esac
   4159 fi
   4160 CC=$ac_cv_prog_CC
   4161 if test -n "$CC"; then
   4162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4163 printf "%s\n" "$CC" >&6; }
   4164 else
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4166 printf "%s\n" "no" >&6; }
   4167 fi
   4168 
   4169 
   4170 fi
   4171 if test -z "$ac_cv_prog_CC"; then
   4172   ac_ct_CC=$CC
   4173   # Extract the first word of "clang", so it can be a program name with args.
   4174 set dummy clang; ac_word=$2
   4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4176 printf %s "checking for $ac_word... " >&6; }
   4177 if test ${ac_cv_prog_ac_ct_CC+y}
   4178 then :
   4179   printf %s "(cached) " >&6
   4180 else case e in #(
   4181   e) if test -n "$ac_ct_CC"; then
   4182   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4183 else
   4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4185 for as_dir in $PATH
   4186 do
   4187   IFS=$as_save_IFS
   4188   case $as_dir in #(((
   4189     '') as_dir=./ ;;
   4190     */) ;;
   4191     *) as_dir=$as_dir/ ;;
   4192   esac
   4193     for ac_exec_ext in '' $ac_executable_extensions; do
   4194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4195     ac_cv_prog_ac_ct_CC="clang"
   4196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4197     break 2
   4198   fi
   4199 done
   4200   done
   4201 IFS=$as_save_IFS
   4202 
   4203 fi ;;
   4204 esac
   4205 fi
   4206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4207 if test -n "$ac_ct_CC"; then
   4208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4209 printf "%s\n" "$ac_ct_CC" >&6; }
   4210 else
   4211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4212 printf "%s\n" "no" >&6; }
   4213 fi
   4214 
   4215   if test "x$ac_ct_CC" = x; then
   4216     CC=""
   4217   else
   4218     case $cross_compiling:$ac_tool_warned in
   4219 yes:)
   4220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4221 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4222 ac_tool_warned=yes ;;
   4223 esac
   4224     CC=$ac_ct_CC
   4225   fi
   4226 else
   4227   CC="$ac_cv_prog_CC"
   4228 fi
   4229 
   4230 fi
   4231 
   4232 
   4233 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4234 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4235 as_fn_error $? "no acceptable C compiler found in \$PATH
   4236 See 'config.log' for more details" "$LINENO" 5; }
   4237 
   4238 # Provide some information about the compiler.
   4239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4240 set X $ac_compile
   4241 ac_compiler=$2
   4242 for ac_option in --version -v -V -qversion -version; do
   4243   { { ac_try="$ac_compiler $ac_option >&5"
   4244 case "(($ac_try" in
   4245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4246   *) ac_try_echo=$ac_try;;
   4247 esac
   4248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4249 printf "%s\n" "$ac_try_echo"; } >&5
   4250   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4251   ac_status=$?
   4252   if test -s conftest.err; then
   4253     sed '10a\
   4254 ... rest of stderr output deleted ...
   4255          10q' conftest.err >conftest.er1
   4256     cat conftest.er1 >&5
   4257   fi
   4258   rm -f conftest.er1 conftest.err
   4259   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4260   test $ac_status = 0; }
   4261 done
   4262 
   4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 
   4266 int
   4267 main (void)
   4268 {
   4269 
   4270   ;
   4271   return 0;
   4272 }
   4273 _ACEOF
   4274 ac_clean_files_save=$ac_clean_files
   4275 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4276 # Try to create an executable without -o first, disregard a.out.
   4277 # It will help us diagnose broken compilers, and finding out an intuition
   4278 # of exeext.
   4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4280 printf %s "checking whether the C compiler works... " >&6; }
   4281 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4282 
   4283 # The possible output files:
   4284 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4285 
   4286 ac_rmfiles=
   4287 for ac_file in $ac_files
   4288 do
   4289   case $ac_file in
   4290     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4291     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4292   esac
   4293 done
   4294 rm -f $ac_rmfiles
   4295 
   4296 if { { ac_try="$ac_link_default"
   4297 case "(($ac_try" in
   4298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4299   *) ac_try_echo=$ac_try;;
   4300 esac
   4301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4302 printf "%s\n" "$ac_try_echo"; } >&5
   4303   (eval "$ac_link_default") 2>&5
   4304   ac_status=$?
   4305   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4306   test $ac_status = 0; }
   4307 then :
   4308   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4309 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4310 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4311 # so that the user can short-circuit this test for compilers unknown to
   4312 # Autoconf.
   4313 for ac_file in $ac_files ''
   4314 do
   4315   test -f "$ac_file" || continue
   4316   case $ac_file in
   4317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4318 	;;
   4319     [ab].out )
   4320 	# We found the default executable, but exeext='' is most
   4321 	# certainly right.
   4322 	break;;
   4323     *.* )
   4324 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4325 	then :; else
   4326 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4327 	fi
   4328 	# We set ac_cv_exeext here because the later test for it is not
   4329 	# safe: cross compilers may not add the suffix if given an '-o'
   4330 	# argument, so we may need to know it at that point already.
   4331 	# Even if this section looks crufty: it has the advantage of
   4332 	# actually working.
   4333 	break;;
   4334     * )
   4335 	break;;
   4336   esac
   4337 done
   4338 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4339 
   4340 else case e in #(
   4341   e) ac_file='' ;;
   4342 esac
   4343 fi
   4344 if test -z "$ac_file"
   4345 then :
   4346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4347 printf "%s\n" "no" >&6; }
   4348 printf "%s\n" "$as_me: failed program was:" >&5
   4349 sed 's/^/| /' conftest.$ac_ext >&5
   4350 
   4351 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4352 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4353 as_fn_error 77 "C compiler cannot create executables
   4354 See 'config.log' for more details" "$LINENO" 5; }
   4355 else case e in #(
   4356   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4357 printf "%s\n" "yes" >&6; } ;;
   4358 esac
   4359 fi
   4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4361 printf %s "checking for C compiler default output file name... " >&6; }
   4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4363 printf "%s\n" "$ac_file" >&6; }
   4364 ac_exeext=$ac_cv_exeext
   4365 
   4366 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4367 ac_clean_files=$ac_clean_files_save
   4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4369 printf %s "checking for suffix of executables... " >&6; }
   4370 if { { ac_try="$ac_link"
   4371 case "(($ac_try" in
   4372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4373   *) ac_try_echo=$ac_try;;
   4374 esac
   4375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4376 printf "%s\n" "$ac_try_echo"; } >&5
   4377   (eval "$ac_link") 2>&5
   4378   ac_status=$?
   4379   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4380   test $ac_status = 0; }
   4381 then :
   4382   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4383 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4384 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4385 # 'rm'.
   4386 for ac_file in conftest.exe conftest conftest.*; do
   4387   test -f "$ac_file" || continue
   4388   case $ac_file in
   4389     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4390     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4391 	  break;;
   4392     * ) break;;
   4393   esac
   4394 done
   4395 else case e in #(
   4396   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4397 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4398 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4399 See 'config.log' for more details" "$LINENO" 5; } ;;
   4400 esac
   4401 fi
   4402 rm -f conftest conftest$ac_cv_exeext
   4403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4404 printf "%s\n" "$ac_cv_exeext" >&6; }
   4405 
   4406 rm -f conftest.$ac_ext
   4407 EXEEXT=$ac_cv_exeext
   4408 ac_exeext=$EXEEXT
   4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4410 /* end confdefs.h.  */
   4411 #include <stdio.h>
   4412 int
   4413 main (void)
   4414 {
   4415 FILE *f = fopen ("conftest.out", "w");
   4416  if (!f)
   4417   return 1;
   4418  return ferror (f) || fclose (f) != 0;
   4419 
   4420   ;
   4421   return 0;
   4422 }
   4423 _ACEOF
   4424 ac_clean_files="$ac_clean_files conftest.out"
   4425 # Check that the compiler produces executables we can run.  If not, either
   4426 # the compiler is broken, or we cross compile.
   4427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4428 printf %s "checking whether we are cross compiling... " >&6; }
   4429 if test "$cross_compiling" != yes; then
   4430   { { ac_try="$ac_link"
   4431 case "(($ac_try" in
   4432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4433   *) ac_try_echo=$ac_try;;
   4434 esac
   4435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4436 printf "%s\n" "$ac_try_echo"; } >&5
   4437   (eval "$ac_link") 2>&5
   4438   ac_status=$?
   4439   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4440   test $ac_status = 0; }
   4441   if { ac_try='./conftest$ac_cv_exeext'
   4442   { { case "(($ac_try" in
   4443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4444   *) ac_try_echo=$ac_try;;
   4445 esac
   4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4447 printf "%s\n" "$ac_try_echo"; } >&5
   4448   (eval "$ac_try") 2>&5
   4449   ac_status=$?
   4450   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4451   test $ac_status = 0; }; }; then
   4452     cross_compiling=no
   4453   else
   4454     if test "$cross_compiling" = maybe; then
   4455 	cross_compiling=yes
   4456     else
   4457 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4458 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4459 as_fn_error 77 "cannot run C compiled programs.
   4460 If you meant to cross compile, use '--host'.
   4461 See 'config.log' for more details" "$LINENO" 5; }
   4462     fi
   4463   fi
   4464 fi
   4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4466 printf "%s\n" "$cross_compiling" >&6; }
   4467 
   4468 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4469   conftest.o conftest.obj conftest.out
   4470 ac_clean_files=$ac_clean_files_save
   4471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4472 printf %s "checking for suffix of object files... " >&6; }
   4473 if test ${ac_cv_objext+y}
   4474 then :
   4475   printf %s "(cached) " >&6
   4476 else case e in #(
   4477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4478 /* end confdefs.h.  */
   4479 
   4480 int
   4481 main (void)
   4482 {
   4483 
   4484   ;
   4485   return 0;
   4486 }
   4487 _ACEOF
   4488 rm -f conftest.o conftest.obj
   4489 if { { ac_try="$ac_compile"
   4490 case "(($ac_try" in
   4491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4492   *) ac_try_echo=$ac_try;;
   4493 esac
   4494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4495 printf "%s\n" "$ac_try_echo"; } >&5
   4496   (eval "$ac_compile") 2>&5
   4497   ac_status=$?
   4498   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4499   test $ac_status = 0; }
   4500 then :
   4501   for ac_file in conftest.o conftest.obj conftest.*; do
   4502   test -f "$ac_file" || continue;
   4503   case $ac_file in
   4504     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4505     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4506        break;;
   4507   esac
   4508 done
   4509 else case e in #(
   4510   e) printf "%s\n" "$as_me: failed program was:" >&5
   4511 sed 's/^/| /' conftest.$ac_ext >&5
   4512 
   4513 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4514 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4515 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4516 See 'config.log' for more details" "$LINENO" 5; } ;;
   4517 esac
   4518 fi
   4519 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4520 esac
   4521 fi
   4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4523 printf "%s\n" "$ac_cv_objext" >&6; }
   4524 OBJEXT=$ac_cv_objext
   4525 ac_objext=$OBJEXT
   4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4527 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4528 if test ${ac_cv_c_compiler_gnu+y}
   4529 then :
   4530   printf %s "(cached) " >&6
   4531 else case e in #(
   4532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4533 /* end confdefs.h.  */
   4534 
   4535 int
   4536 main (void)
   4537 {
   4538 #ifndef __GNUC__
   4539        choke me
   4540 #endif
   4541 
   4542   ;
   4543   return 0;
   4544 }
   4545 _ACEOF
   4546 if ac_fn_c_try_compile "$LINENO"
   4547 then :
   4548   ac_compiler_gnu=yes
   4549 else case e in #(
   4550   e) ac_compiler_gnu=no ;;
   4551 esac
   4552 fi
   4553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4554 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4555  ;;
   4556 esac
   4557 fi
   4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4559 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4561 
   4562 if test $ac_compiler_gnu = yes; then
   4563   GCC=yes
   4564 else
   4565   GCC=
   4566 fi
   4567 ac_test_CFLAGS=${CFLAGS+y}
   4568 ac_save_CFLAGS=$CFLAGS
   4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4570 printf %s "checking whether $CC accepts -g... " >&6; }
   4571 if test ${ac_cv_prog_cc_g+y}
   4572 then :
   4573   printf %s "(cached) " >&6
   4574 else case e in #(
   4575   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4576    ac_c_werror_flag=yes
   4577    ac_cv_prog_cc_g=no
   4578    CFLAGS="-g"
   4579    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4580 /* end confdefs.h.  */
   4581 
   4582 int
   4583 main (void)
   4584 {
   4585 
   4586   ;
   4587   return 0;
   4588 }
   4589 _ACEOF
   4590 if ac_fn_c_try_compile "$LINENO"
   4591 then :
   4592   ac_cv_prog_cc_g=yes
   4593 else case e in #(
   4594   e) CFLAGS=""
   4595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4596 /* end confdefs.h.  */
   4597 
   4598 int
   4599 main (void)
   4600 {
   4601 
   4602   ;
   4603   return 0;
   4604 }
   4605 _ACEOF
   4606 if ac_fn_c_try_compile "$LINENO"
   4607 then :
   4608 
   4609 else case e in #(
   4610   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4611 	 CFLAGS="-g"
   4612 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4613 /* end confdefs.h.  */
   4614 
   4615 int
   4616 main (void)
   4617 {
   4618 
   4619   ;
   4620   return 0;
   4621 }
   4622 _ACEOF
   4623 if ac_fn_c_try_compile "$LINENO"
   4624 then :
   4625   ac_cv_prog_cc_g=yes
   4626 fi
   4627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4628 esac
   4629 fi
   4630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4631 esac
   4632 fi
   4633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4634    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4635 esac
   4636 fi
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4638 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4639 if test $ac_test_CFLAGS; then
   4640   CFLAGS=$ac_save_CFLAGS
   4641 elif test $ac_cv_prog_cc_g = yes; then
   4642   if test "$GCC" = yes; then
   4643     CFLAGS="-g -O2"
   4644   else
   4645     CFLAGS="-g"
   4646   fi
   4647 else
   4648   if test "$GCC" = yes; then
   4649     CFLAGS="-O2"
   4650   else
   4651     CFLAGS=
   4652   fi
   4653 fi
   4654 ac_prog_cc_stdc=no
   4655 if test x$ac_prog_cc_stdc = xno
   4656 then :
   4657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4658 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4659 if test ${ac_cv_prog_cc_c11+y}
   4660 then :
   4661   printf %s "(cached) " >&6
   4662 else case e in #(
   4663   e) ac_cv_prog_cc_c11=no
   4664 ac_save_CC=$CC
   4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4666 /* end confdefs.h.  */
   4667 $ac_c_conftest_c11_program
   4668 _ACEOF
   4669 for ac_arg in '' -std=gnu11
   4670 do
   4671   CC="$ac_save_CC $ac_arg"
   4672   if ac_fn_c_try_compile "$LINENO"
   4673 then :
   4674   ac_cv_prog_cc_c11=$ac_arg
   4675 fi
   4676 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4677   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4678 done
   4679 rm -f conftest.$ac_ext
   4680 CC=$ac_save_CC ;;
   4681 esac
   4682 fi
   4683 
   4684 if test "x$ac_cv_prog_cc_c11" = xno
   4685 then :
   4686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4687 printf "%s\n" "unsupported" >&6; }
   4688 else case e in #(
   4689   e) if test "x$ac_cv_prog_cc_c11" = x
   4690 then :
   4691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4692 printf "%s\n" "none needed" >&6; }
   4693 else case e in #(
   4694   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4695 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4696      CC="$CC $ac_cv_prog_cc_c11" ;;
   4697 esac
   4698 fi
   4699   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4700   ac_prog_cc_stdc=c11 ;;
   4701 esac
   4702 fi
   4703 fi
   4704 if test x$ac_prog_cc_stdc = xno
   4705 then :
   4706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4707 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4708 if test ${ac_cv_prog_cc_c99+y}
   4709 then :
   4710   printf %s "(cached) " >&6
   4711 else case e in #(
   4712   e) ac_cv_prog_cc_c99=no
   4713 ac_save_CC=$CC
   4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4715 /* end confdefs.h.  */
   4716 $ac_c_conftest_c99_program
   4717 _ACEOF
   4718 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4719 do
   4720   CC="$ac_save_CC $ac_arg"
   4721   if ac_fn_c_try_compile "$LINENO"
   4722 then :
   4723   ac_cv_prog_cc_c99=$ac_arg
   4724 fi
   4725 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4726   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4727 done
   4728 rm -f conftest.$ac_ext
   4729 CC=$ac_save_CC ;;
   4730 esac
   4731 fi
   4732 
   4733 if test "x$ac_cv_prog_cc_c99" = xno
   4734 then :
   4735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4736 printf "%s\n" "unsupported" >&6; }
   4737 else case e in #(
   4738   e) if test "x$ac_cv_prog_cc_c99" = x
   4739 then :
   4740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4741 printf "%s\n" "none needed" >&6; }
   4742 else case e in #(
   4743   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4744 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4745      CC="$CC $ac_cv_prog_cc_c99" ;;
   4746 esac
   4747 fi
   4748   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4749   ac_prog_cc_stdc=c99 ;;
   4750 esac
   4751 fi
   4752 fi
   4753 if test x$ac_prog_cc_stdc = xno
   4754 then :
   4755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4756 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4757 if test ${ac_cv_prog_cc_c89+y}
   4758 then :
   4759   printf %s "(cached) " >&6
   4760 else case e in #(
   4761   e) ac_cv_prog_cc_c89=no
   4762 ac_save_CC=$CC
   4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4764 /* end confdefs.h.  */
   4765 $ac_c_conftest_c89_program
   4766 _ACEOF
   4767 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4768 do
   4769   CC="$ac_save_CC $ac_arg"
   4770   if ac_fn_c_try_compile "$LINENO"
   4771 then :
   4772   ac_cv_prog_cc_c89=$ac_arg
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4775   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4776 done
   4777 rm -f conftest.$ac_ext
   4778 CC=$ac_save_CC ;;
   4779 esac
   4780 fi
   4781 
   4782 if test "x$ac_cv_prog_cc_c89" = xno
   4783 then :
   4784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4785 printf "%s\n" "unsupported" >&6; }
   4786 else case e in #(
   4787   e) if test "x$ac_cv_prog_cc_c89" = x
   4788 then :
   4789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4790 printf "%s\n" "none needed" >&6; }
   4791 else case e in #(
   4792   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4793 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4794      CC="$CC $ac_cv_prog_cc_c89" ;;
   4795 esac
   4796 fi
   4797   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4798   ac_prog_cc_stdc=c89 ;;
   4799 esac
   4800 fi
   4801 fi
   4802 
   4803 ac_ext=c
   4804 ac_cpp='$CPP $CPPFLAGS'
   4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4808 
   4809 
   4810   ac_ext=c
   4811 ac_cpp='$CPP $CPPFLAGS'
   4812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4816 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4817 if test ${am_cv_prog_cc_c_o+y}
   4818 then :
   4819   printf %s "(cached) " >&6
   4820 else case e in #(
   4821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4822 /* end confdefs.h.  */
   4823 
   4824 int
   4825 main (void)
   4826 {
   4827 
   4828   ;
   4829   return 0;
   4830 }
   4831 _ACEOF
   4832   # Make sure it works both with $CC and with simple cc.
   4833   # Following AC_PROG_CC_C_O, we do the test twice because some
   4834   # compilers refuse to overwrite an existing .o file with -o,
   4835   # though they will create one.
   4836   am_cv_prog_cc_c_o=yes
   4837   for am_i in 1 2; do
   4838     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4839    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4840    ac_status=$?
   4841    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4842    (exit $ac_status); } \
   4843          && test -f conftest2.$ac_objext; then
   4844       : OK
   4845     else
   4846       am_cv_prog_cc_c_o=no
   4847       break
   4848     fi
   4849   done
   4850   # aligned with autoconf, so not including core; see bug#72225.
   4851   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4852     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4853     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4854   unset am_i ;;
   4855 esac
   4856 fi
   4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4858 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4859 if test "$am_cv_prog_cc_c_o" != yes; then
   4860    # Losing compiler, so override with the script.
   4861    # FIXME: It is wrong to rewrite CC.
   4862    # But if we don't then we get into trouble of one sort or another.
   4863    # A longer-term fix would be to have automake use am__CC in this case,
   4864    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4865    CC="$am_aux_dir/compile $CC"
   4866 fi
   4867 ac_ext=c
   4868 ac_cpp='$CPP $CPPFLAGS'
   4869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4872 
   4873 
   4874 depcc="$CC"   am_compiler_list=
   4875 
   4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4877 printf %s "checking dependency style of $depcc... " >&6; }
   4878 if test ${am_cv_CC_dependencies_compiler_type+y}
   4879 then :
   4880   printf %s "(cached) " >&6
   4881 else case e in #(
   4882   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4883   # We make a subdir and do the tests there.  Otherwise we can end up
   4884   # making bogus files that we don't know about and never remove.  For
   4885   # instance it was reported that on HP-UX the gcc test will end up
   4886   # making a dummy file named 'D' -- because '-MD' means "put the output
   4887   # in D".
   4888   rm -rf conftest.dir
   4889   mkdir conftest.dir
   4890   # Copy depcomp to subdir because otherwise we won't find it if we're
   4891   # using a relative directory.
   4892   cp "$am_depcomp" conftest.dir
   4893   cd conftest.dir
   4894   # We will build objects and dependencies in a subdirectory because
   4895   # it helps to detect inapplicable dependency modes.  For instance
   4896   # both Tru64's cc and ICC support -MD to output dependencies as a
   4897   # side effect of compilation, but ICC will put the dependencies in
   4898   # the current directory while Tru64 will put them in the object
   4899   # directory.
   4900   mkdir sub
   4901 
   4902   am_cv_CC_dependencies_compiler_type=none
   4903   if test "$am_compiler_list" = ""; then
   4904      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4905   fi
   4906   am__universal=false
   4907   case " $depcc " in #(
   4908      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4909      esac
   4910 
   4911   for depmode in $am_compiler_list; do
   4912     # Setup a source with many dependencies, because some compilers
   4913     # like to wrap large dependency lists on column 80 (with \), and
   4914     # we should not choose a depcomp mode which is confused by this.
   4915     #
   4916     # We need to recreate these files for each test, as the compiler may
   4917     # overwrite some of them when testing with obscure command lines.
   4918     # This happens at least with the AIX C compiler.
   4919     : > sub/conftest.c
   4920     for i in 1 2 3 4 5 6; do
   4921       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4922       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4923       # Solaris 10 /bin/sh.
   4924       echo '/* dummy */' > sub/conftst$i.h
   4925     done
   4926     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4927 
   4928     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4929     # mode.  It turns out that the SunPro C++ compiler does not properly
   4930     # handle '-M -o', and we need to detect this.  Also, some Intel
   4931     # versions had trouble with output in subdirs.
   4932     am__obj=sub/conftest.${OBJEXT-o}
   4933     am__minus_obj="-o $am__obj"
   4934     case $depmode in
   4935     gcc)
   4936       # This depmode causes a compiler race in universal mode.
   4937       test "$am__universal" = false || continue
   4938       ;;
   4939     nosideeffect)
   4940       # After this tag, mechanisms are not by side-effect, so they'll
   4941       # only be used when explicitly requested.
   4942       if test "x$enable_dependency_tracking" = xyes; then
   4943 	continue
   4944       else
   4945 	break
   4946       fi
   4947       ;;
   4948     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4949       # This compiler won't grok '-c -o', but also, the minuso test has
   4950       # not run yet.  These depmodes are late enough in the game, and
   4951       # so weak that their functioning should not be impacted.
   4952       am__obj=conftest.${OBJEXT-o}
   4953       am__minus_obj=
   4954       ;;
   4955     none) break ;;
   4956     esac
   4957     if depmode=$depmode \
   4958        source=sub/conftest.c object=$am__obj \
   4959        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4960        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4961          >/dev/null 2>conftest.err &&
   4962        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4963        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4964        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4965        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4966       # icc doesn't choke on unknown options, it will just issue warnings
   4967       # or remarks (even with -Werror).  So we grep stderr for any message
   4968       # that says an option was ignored or not supported.
   4969       # When given -MP, icc 7.0 and 7.1 complain thus:
   4970       #   icc: Command line warning: ignoring option '-M'; no argument required
   4971       # The diagnosis changed in icc 8.0:
   4972       #   icc: Command line remark: option '-MP' not supported
   4973       if (grep 'ignoring option' conftest.err ||
   4974           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4975         am_cv_CC_dependencies_compiler_type=$depmode
   4976         break
   4977       fi
   4978     fi
   4979   done
   4980 
   4981   cd ..
   4982   rm -rf conftest.dir
   4983 else
   4984   am_cv_CC_dependencies_compiler_type=none
   4985 fi
   4986  ;;
   4987 esac
   4988 fi
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4990 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4991 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4992 
   4993  if
   4994   test "x$enable_dependency_tracking" != xno \
   4995   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4996   am__fastdepCC_TRUE=
   4997   am__fastdepCC_FALSE='#'
   4998 else
   4999   am__fastdepCC_TRUE='#'
   5000   am__fastdepCC_FALSE=
   5001 fi
   5002 
   5003 
   5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5005 printf %s "checking for a sed that does not truncate output... " >&6; }
   5006 if test ${ac_cv_path_SED+y}
   5007 then :
   5008   printf %s "(cached) " >&6
   5009 else case e in #(
   5010   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5011      for ac_i in 1 2 3 4 5 6 7; do
   5012        ac_script="$ac_script$as_nl$ac_script"
   5013      done
   5014      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5015      { ac_script=; unset ac_script;}
   5016      if test -z "$SED"; then
   5017   ac_path_SED_found=false
   5018   # Loop through the user's path and test for each of PROGNAME-LIST
   5019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5020 for as_dir in $PATH
   5021 do
   5022   IFS=$as_save_IFS
   5023   case $as_dir in #(((
   5024     '') as_dir=./ ;;
   5025     */) ;;
   5026     *) as_dir=$as_dir/ ;;
   5027   esac
   5028     for ac_prog in sed gsed
   5029    do
   5030     for ac_exec_ext in '' $ac_executable_extensions; do
   5031       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5032       as_fn_executable_p "$ac_path_SED" || continue
   5033 # Check for GNU ac_path_SED and select it if it is found.
   5034   # Check for GNU $ac_path_SED
   5035 case `"$ac_path_SED" --version 2>&1` in #(
   5036 *GNU*)
   5037   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5038 #(
   5039 *)
   5040   ac_count=0
   5041   printf %s 0123456789 >"conftest.in"
   5042   while :
   5043   do
   5044     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5045     mv "conftest.tmp" "conftest.in"
   5046     cp "conftest.in" "conftest.nl"
   5047     printf "%s\n" '' >> "conftest.nl"
   5048     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5049     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5050     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5051     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5052       # Best one so far, save it but keep looking for a better one
   5053       ac_cv_path_SED="$ac_path_SED"
   5054       ac_path_SED_max=$ac_count
   5055     fi
   5056     # 10*(2^10) chars as input seems more than enough
   5057     test $ac_count -gt 10 && break
   5058   done
   5059   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5060 esac
   5061 
   5062       $ac_path_SED_found && break 3
   5063     done
   5064   done
   5065   done
   5066 IFS=$as_save_IFS
   5067   if test -z "$ac_cv_path_SED"; then
   5068     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5069   fi
   5070 else
   5071   ac_cv_path_SED=$SED
   5072 fi
   5073  ;;
   5074 esac
   5075 fi
   5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5077 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5078  SED="$ac_cv_path_SED"
   5079   rm -f conftest.sed
   5080 
   5081 test -z "$SED" && SED=sed
   5082 Xsed="$SED -e 1s/^X//"
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5095 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5096 if test ${ac_cv_path_GREP+y}
   5097 then :
   5098   printf %s "(cached) " >&6
   5099 else case e in #(
   5100   e) if test -z "$GREP"; then
   5101   ac_path_GREP_found=false
   5102   # Loop through the user's path and test for each of PROGNAME-LIST
   5103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5105 do
   5106   IFS=$as_save_IFS
   5107   case $as_dir in #(((
   5108     '') as_dir=./ ;;
   5109     */) ;;
   5110     *) as_dir=$as_dir/ ;;
   5111   esac
   5112     for ac_prog in grep ggrep
   5113    do
   5114     for ac_exec_ext in '' $ac_executable_extensions; do
   5115       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5116       as_fn_executable_p "$ac_path_GREP" || continue
   5117 # Check for GNU ac_path_GREP and select it if it is found.
   5118   # Check for GNU $ac_path_GREP
   5119 case `"$ac_path_GREP" --version 2>&1` in #(
   5120 *GNU*)
   5121   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5122 #(
   5123 *)
   5124   ac_count=0
   5125   printf %s 0123456789 >"conftest.in"
   5126   while :
   5127   do
   5128     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5129     mv "conftest.tmp" "conftest.in"
   5130     cp "conftest.in" "conftest.nl"
   5131     printf "%s\n" 'GREP' >> "conftest.nl"
   5132     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5133     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5134     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5135     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5136       # Best one so far, save it but keep looking for a better one
   5137       ac_cv_path_GREP="$ac_path_GREP"
   5138       ac_path_GREP_max=$ac_count
   5139     fi
   5140     # 10*(2^10) chars as input seems more than enough
   5141     test $ac_count -gt 10 && break
   5142   done
   5143   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5144 esac
   5145 
   5146       $ac_path_GREP_found && break 3
   5147     done
   5148   done
   5149   done
   5150 IFS=$as_save_IFS
   5151   if test -z "$ac_cv_path_GREP"; then
   5152     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5153   fi
   5154 else
   5155   ac_cv_path_GREP=$GREP
   5156 fi
   5157  ;;
   5158 esac
   5159 fi
   5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5161 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5162  GREP="$ac_cv_path_GREP"
   5163 
   5164 
   5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5166 printf %s "checking for egrep... " >&6; }
   5167 if test ${ac_cv_path_EGREP+y}
   5168 then :
   5169   printf %s "(cached) " >&6
   5170 else case e in #(
   5171   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5172    then ac_cv_path_EGREP="$GREP -E"
   5173    else
   5174      if test -z "$EGREP"; then
   5175   ac_path_EGREP_found=false
   5176   # Loop through the user's path and test for each of PROGNAME-LIST
   5177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5179 do
   5180   IFS=$as_save_IFS
   5181   case $as_dir in #(((
   5182     '') as_dir=./ ;;
   5183     */) ;;
   5184     *) as_dir=$as_dir/ ;;
   5185   esac
   5186     for ac_prog in egrep
   5187    do
   5188     for ac_exec_ext in '' $ac_executable_extensions; do
   5189       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5190       as_fn_executable_p "$ac_path_EGREP" || continue
   5191 # Check for GNU ac_path_EGREP and select it if it is found.
   5192   # Check for GNU $ac_path_EGREP
   5193 case `"$ac_path_EGREP" --version 2>&1` in #(
   5194 *GNU*)
   5195   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5196 #(
   5197 *)
   5198   ac_count=0
   5199   printf %s 0123456789 >"conftest.in"
   5200   while :
   5201   do
   5202     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5203     mv "conftest.tmp" "conftest.in"
   5204     cp "conftest.in" "conftest.nl"
   5205     printf "%s\n" 'EGREP' >> "conftest.nl"
   5206     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5207     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5208     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5209     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5210       # Best one so far, save it but keep looking for a better one
   5211       ac_cv_path_EGREP="$ac_path_EGREP"
   5212       ac_path_EGREP_max=$ac_count
   5213     fi
   5214     # 10*(2^10) chars as input seems more than enough
   5215     test $ac_count -gt 10 && break
   5216   done
   5217   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5218 esac
   5219 
   5220       $ac_path_EGREP_found && break 3
   5221     done
   5222   done
   5223   done
   5224 IFS=$as_save_IFS
   5225   if test -z "$ac_cv_path_EGREP"; then
   5226     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5227   fi
   5228 else
   5229   ac_cv_path_EGREP=$EGREP
   5230 fi
   5231 
   5232    fi ;;
   5233 esac
   5234 fi
   5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5236 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5237  EGREP="$ac_cv_path_EGREP"
   5238 
   5239          EGREP_TRADITIONAL=$EGREP
   5240  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5241 
   5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5243 printf %s "checking for fgrep... " >&6; }
   5244 if test ${ac_cv_path_FGREP+y}
   5245 then :
   5246   printf %s "(cached) " >&6
   5247 else case e in #(
   5248   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5249    then ac_cv_path_FGREP="$GREP -F"
   5250    else
   5251      if test -z "$FGREP"; then
   5252   ac_path_FGREP_found=false
   5253   # Loop through the user's path and test for each of PROGNAME-LIST
   5254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5256 do
   5257   IFS=$as_save_IFS
   5258   case $as_dir in #(((
   5259     '') as_dir=./ ;;
   5260     */) ;;
   5261     *) as_dir=$as_dir/ ;;
   5262   esac
   5263     for ac_prog in fgrep
   5264    do
   5265     for ac_exec_ext in '' $ac_executable_extensions; do
   5266       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5267       as_fn_executable_p "$ac_path_FGREP" || continue
   5268 # Check for GNU ac_path_FGREP and select it if it is found.
   5269   # Check for GNU $ac_path_FGREP
   5270 case `"$ac_path_FGREP" --version 2>&1` in #(
   5271 *GNU*)
   5272   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5273 #(
   5274 *)
   5275   ac_count=0
   5276   printf %s 0123456789 >"conftest.in"
   5277   while :
   5278   do
   5279     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5280     mv "conftest.tmp" "conftest.in"
   5281     cp "conftest.in" "conftest.nl"
   5282     printf "%s\n" 'FGREP' >> "conftest.nl"
   5283     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5284     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5285     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5286     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5287       # Best one so far, save it but keep looking for a better one
   5288       ac_cv_path_FGREP="$ac_path_FGREP"
   5289       ac_path_FGREP_max=$ac_count
   5290     fi
   5291     # 10*(2^10) chars as input seems more than enough
   5292     test $ac_count -gt 10 && break
   5293   done
   5294   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5295 esac
   5296 
   5297       $ac_path_FGREP_found && break 3
   5298     done
   5299   done
   5300   done
   5301 IFS=$as_save_IFS
   5302   if test -z "$ac_cv_path_FGREP"; then
   5303     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5304   fi
   5305 else
   5306   ac_cv_path_FGREP=$FGREP
   5307 fi
   5308 
   5309    fi ;;
   5310 esac
   5311 fi
   5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5313 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5314  FGREP="$ac_cv_path_FGREP"
   5315 
   5316 
   5317 test -z "$GREP" && GREP=grep
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 # Check whether --with-gnu-ld was given.
   5338 if test ${with_gnu_ld+y}
   5339 then :
   5340   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5341 else case e in #(
   5342   e) with_gnu_ld=no ;;
   5343 esac
   5344 fi
   5345 
   5346 ac_prog=ld
   5347 if test yes = "$GCC"; then
   5348   # Check if gcc -print-prog-name=ld gives a path.
   5349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5350 printf %s "checking for ld used by $CC... " >&6; }
   5351   case $host in
   5352   *-*-mingw* | *-*-windows*)
   5353     # gcc leaves a trailing carriage return, which upsets mingw
   5354     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5355   *)
   5356     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5357   esac
   5358   case $ac_prog in
   5359     # Accept absolute paths.
   5360     [\\/]* | ?:[\\/]*)
   5361       re_direlt='/[^/][^/]*/\.\./'
   5362       # Canonicalize the pathname of ld
   5363       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5364       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5365 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5366       done
   5367       test -z "$LD" && LD=$ac_prog
   5368       ;;
   5369   "")
   5370     # If it fails, then pretend we aren't using GCC.
   5371     ac_prog=ld
   5372     ;;
   5373   *)
   5374     # If it is relative, then search for the first ld in PATH.
   5375     with_gnu_ld=unknown
   5376     ;;
   5377   esac
   5378 elif test yes = "$with_gnu_ld"; then
   5379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5380 printf %s "checking for GNU ld... " >&6; }
   5381 else
   5382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5383 printf %s "checking for non-GNU ld... " >&6; }
   5384 fi
   5385 if test ${lt_cv_path_LD+y}
   5386 then :
   5387   printf %s "(cached) " >&6
   5388 else case e in #(
   5389   e) if test -z "$LD"; then
   5390   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5391   for ac_dir in $PATH; do
   5392     IFS=$lt_save_ifs
   5393     test -z "$ac_dir" && ac_dir=.
   5394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5395       lt_cv_path_LD=$ac_dir/$ac_prog
   5396       # Check to see if the program is GNU ld.  I'd rather use --version,
   5397       # but apparently some variants of GNU ld only accept -v.
   5398       # Break only if it was the GNU/non-GNU ld that we prefer.
   5399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5400       *GNU* | *'with BFD'*)
   5401 	test no != "$with_gnu_ld" && break
   5402 	;;
   5403       *)
   5404 	test yes != "$with_gnu_ld" && break
   5405 	;;
   5406       esac
   5407     fi
   5408   done
   5409   IFS=$lt_save_ifs
   5410 else
   5411   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5412 fi ;;
   5413 esac
   5414 fi
   5415 
   5416 LD=$lt_cv_path_LD
   5417 if test -n "$LD"; then
   5418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5419 printf "%s\n" "$LD" >&6; }
   5420 else
   5421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5422 printf "%s\n" "no" >&6; }
   5423 fi
   5424 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5426 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5427 if test ${lt_cv_prog_gnu_ld+y}
   5428 then :
   5429   printf %s "(cached) " >&6
   5430 else case e in #(
   5431   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5432 case `$LD -v 2>&1 </dev/null` in
   5433 *GNU* | *'with BFD'*)
   5434   lt_cv_prog_gnu_ld=yes
   5435   ;;
   5436 *)
   5437   lt_cv_prog_gnu_ld=no
   5438   ;;
   5439 esac ;;
   5440 esac
   5441 fi
   5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5443 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5444 with_gnu_ld=$lt_cv_prog_gnu_ld
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5455 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5456 if test ${lt_cv_path_NM+y}
   5457 then :
   5458   printf %s "(cached) " >&6
   5459 else case e in #(
   5460   e) if test -n "$NM"; then
   5461   # Let the user override the test.
   5462   lt_cv_path_NM=$NM
   5463 else
   5464   lt_nm_to_check=${ac_tool_prefix}nm
   5465   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5466     lt_nm_to_check="$lt_nm_to_check nm"
   5467   fi
   5468   for lt_tmp_nm in $lt_nm_to_check; do
   5469     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5470     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5471       IFS=$lt_save_ifs
   5472       test -z "$ac_dir" && ac_dir=.
   5473       tmp_nm=$ac_dir/$lt_tmp_nm
   5474       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5475 	# Check to see if the nm accepts a BSD-compat flag.
   5476 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5477 	#   nm: unknown option "B" ignored
   5478 	# Tru64's nm complains that /dev/null is an invalid object file
   5479 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5480 	case $build_os in
   5481 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5482 	*) lt_bad_file=/dev/null ;;
   5483 	esac
   5484 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5485 	*$lt_bad_file* | *'Invalid file or object type'*)
   5486 	  lt_cv_path_NM="$tmp_nm -B"
   5487 	  break 2
   5488 	  ;;
   5489 	*)
   5490 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5491 	  */dev/null*)
   5492 	    lt_cv_path_NM="$tmp_nm -p"
   5493 	    break 2
   5494 	    ;;
   5495 	  *)
   5496 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5497 	    continue # so that we can try to find one that supports BSD flags
   5498 	    ;;
   5499 	  esac
   5500 	  ;;
   5501 	esac
   5502       fi
   5503     done
   5504     IFS=$lt_save_ifs
   5505   done
   5506   : ${lt_cv_path_NM=no}
   5507 fi ;;
   5508 esac
   5509 fi
   5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5511 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5512 if test no != "$lt_cv_path_NM"; then
   5513   NM=$lt_cv_path_NM
   5514 else
   5515   # Didn't find any BSD compatible name lister, look for dumpbin.
   5516   if test -n "$DUMPBIN"; then :
   5517     # Let the user override the test.
   5518   else
   5519     if test -n "$ac_tool_prefix"; then
   5520   for ac_prog in dumpbin "link -dump"
   5521   do
   5522     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5525 printf %s "checking for $ac_word... " >&6; }
   5526 if test ${ac_cv_prog_DUMPBIN+y}
   5527 then :
   5528   printf %s "(cached) " >&6
   5529 else case e in #(
   5530   e) if test -n "$DUMPBIN"; then
   5531   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5532 else
   5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5534 for as_dir in $PATH
   5535 do
   5536   IFS=$as_save_IFS
   5537   case $as_dir in #(((
   5538     '') as_dir=./ ;;
   5539     */) ;;
   5540     *) as_dir=$as_dir/ ;;
   5541   esac
   5542     for ac_exec_ext in '' $ac_executable_extensions; do
   5543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5544     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5546     break 2
   5547   fi
   5548 done
   5549   done
   5550 IFS=$as_save_IFS
   5551 
   5552 fi ;;
   5553 esac
   5554 fi
   5555 DUMPBIN=$ac_cv_prog_DUMPBIN
   5556 if test -n "$DUMPBIN"; then
   5557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5558 printf "%s\n" "$DUMPBIN" >&6; }
   5559 else
   5560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5561 printf "%s\n" "no" >&6; }
   5562 fi
   5563 
   5564 
   5565     test -n "$DUMPBIN" && break
   5566   done
   5567 fi
   5568 if test -z "$DUMPBIN"; then
   5569   ac_ct_DUMPBIN=$DUMPBIN
   5570   for ac_prog in dumpbin "link -dump"
   5571 do
   5572   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5573 set dummy $ac_prog; ac_word=$2
   5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5575 printf %s "checking for $ac_word... " >&6; }
   5576 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5577 then :
   5578   printf %s "(cached) " >&6
   5579 else case e in #(
   5580   e) if test -n "$ac_ct_DUMPBIN"; then
   5581   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5582 else
   5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5584 for as_dir in $PATH
   5585 do
   5586   IFS=$as_save_IFS
   5587   case $as_dir in #(((
   5588     '') as_dir=./ ;;
   5589     */) ;;
   5590     *) as_dir=$as_dir/ ;;
   5591   esac
   5592     for ac_exec_ext in '' $ac_executable_extensions; do
   5593   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5594     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5595     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5596     break 2
   5597   fi
   5598 done
   5599   done
   5600 IFS=$as_save_IFS
   5601 
   5602 fi ;;
   5603 esac
   5604 fi
   5605 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5606 if test -n "$ac_ct_DUMPBIN"; then
   5607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5608 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5609 else
   5610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5611 printf "%s\n" "no" >&6; }
   5612 fi
   5613 
   5614 
   5615   test -n "$ac_ct_DUMPBIN" && break
   5616 done
   5617 
   5618   if test "x$ac_ct_DUMPBIN" = x; then
   5619     DUMPBIN=":"
   5620   else
   5621     case $cross_compiling:$ac_tool_warned in
   5622 yes:)
   5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5624 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5625 ac_tool_warned=yes ;;
   5626 esac
   5627     DUMPBIN=$ac_ct_DUMPBIN
   5628   fi
   5629 fi
   5630 
   5631     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5632     *COFF*)
   5633       DUMPBIN="$DUMPBIN -symbols -headers"
   5634       ;;
   5635     *)
   5636       DUMPBIN=:
   5637       ;;
   5638     esac
   5639   fi
   5640 
   5641   if test : != "$DUMPBIN"; then
   5642     NM=$DUMPBIN
   5643   fi
   5644 fi
   5645 test -z "$NM" && NM=nm
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5653 printf %s "checking the name lister ($NM) interface... " >&6; }
   5654 if test ${lt_cv_nm_interface+y}
   5655 then :
   5656   printf %s "(cached) " >&6
   5657 else case e in #(
   5658   e) lt_cv_nm_interface="BSD nm"
   5659   echo "int some_variable = 0;" > conftest.$ac_ext
   5660   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5661   (eval "$ac_compile" 2>conftest.err)
   5662   cat conftest.err >&5
   5663   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5664   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5665   cat conftest.err >&5
   5666   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5667   cat conftest.out >&5
   5668   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5669     lt_cv_nm_interface="MS dumpbin"
   5670   fi
   5671   rm -f conftest* ;;
   5672 esac
   5673 fi
   5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5675 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5676 
   5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5678 printf %s "checking whether ln -s works... " >&6; }
   5679 LN_S=$as_ln_s
   5680 if test "$LN_S" = "ln -s"; then
   5681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5682 printf "%s\n" "yes" >&6; }
   5683 else
   5684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5685 printf "%s\n" "no, using $LN_S" >&6; }
   5686 fi
   5687 
   5688 # find the maximum length of command line arguments
   5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5690 printf %s "checking the maximum length of command line arguments... " >&6; }
   5691 if test ${lt_cv_sys_max_cmd_len+y}
   5692 then :
   5693   printf %s "(cached) " >&6
   5694 else case e in #(
   5695   e)   i=0
   5696   teststring=ABCD
   5697 
   5698   case $build_os in
   5699   msdosdjgpp*)
   5700     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5701     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5702     # during glob expansion).  Even if it were fixed, the result of this
   5703     # check would be larger than it should be.
   5704     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5705     ;;
   5706 
   5707   gnu* | ironclad*)
   5708     # Under GNU Hurd and Ironclad, this test is not required because there
   5709     # is no limit to the length of command line arguments.
   5710     # Libtool will interpret -1 as no limit whatsoever
   5711     lt_cv_sys_max_cmd_len=-1;
   5712     ;;
   5713 
   5714   cygwin* | mingw* | windows* | cegcc*)
   5715     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5716     # about 5 minutes as the teststring grows exponentially.
   5717     # Worse, since 9x/ME are not pre-emptively multitasking,
   5718     # you end up with a "frozen" computer, even though with patience
   5719     # the test eventually succeeds (with a max line length of 256k).
   5720     # Instead, let's just punt: use the minimum linelength reported by
   5721     # all of the supported platforms: 8192 (on NT/2K/XP).
   5722     lt_cv_sys_max_cmd_len=8192;
   5723     ;;
   5724 
   5725   mint*)
   5726     # On MiNT this can take a long time and run out of memory.
   5727     lt_cv_sys_max_cmd_len=8192;
   5728     ;;
   5729 
   5730   amigaos*)
   5731     # On AmigaOS with pdksh, this test takes hours, literally.
   5732     # So we just punt and use a minimum line length of 8192.
   5733     lt_cv_sys_max_cmd_len=8192;
   5734     ;;
   5735 
   5736   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5737     # This has been around since 386BSD, at least.  Likely further.
   5738     if test -x /sbin/sysctl; then
   5739       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5740     elif test -x /usr/sbin/sysctl; then
   5741       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5742     else
   5743       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5744     fi
   5745     # And add a safety zone
   5746     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5747     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5748     ;;
   5749 
   5750   interix*)
   5751     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5752     lt_cv_sys_max_cmd_len=196608
   5753     ;;
   5754 
   5755   os2*)
   5756     # The test takes a long time on OS/2.
   5757     lt_cv_sys_max_cmd_len=8192
   5758     ;;
   5759 
   5760   osf*)
   5761     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5762     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5763     # nice to cause kernel panics so lets avoid the loop below.
   5764     # First set a reasonable default.
   5765     lt_cv_sys_max_cmd_len=16384
   5766     #
   5767     if test -x /sbin/sysconfig; then
   5768       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5769         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5770       esac
   5771     fi
   5772     ;;
   5773   sco3.2v5*)
   5774     lt_cv_sys_max_cmd_len=102400
   5775     ;;
   5776   sysv5* | sco5v6* | sysv4.2uw2*)
   5777     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5778     if test -n "$kargmax"; then
   5779       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5780     else
   5781       lt_cv_sys_max_cmd_len=32768
   5782     fi
   5783     ;;
   5784   *)
   5785     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5786     if test -n "$lt_cv_sys_max_cmd_len" && \
   5787        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5788       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5789       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5790     else
   5791       # Make teststring a little bigger before we do anything with it.
   5792       # a 1K string should be a reasonable start.
   5793       for i in 1 2 3 4 5 6 7 8; do
   5794         teststring=$teststring$teststring
   5795       done
   5796       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5797       # If test is not a shell built-in, we'll probably end up computing a
   5798       # maximum length that is only half of the actual maximum length, but
   5799       # we can't tell.
   5800       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5801 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5802 	      test 17 != "$i" # 1/2 MB should be enough
   5803       do
   5804         i=`expr $i + 1`
   5805         teststring=$teststring$teststring
   5806       done
   5807       # Only check the string length outside the loop.
   5808       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5809       teststring=
   5810       # Add a significant safety factor because C++ compilers can tack on
   5811       # massive amounts of additional arguments before passing them to the
   5812       # linker.  It appears as though 1/2 is a usable value.
   5813       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5814     fi
   5815     ;;
   5816   esac
   5817  ;;
   5818 esac
   5819 fi
   5820 
   5821 if test -n "$lt_cv_sys_max_cmd_len"; then
   5822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5823 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5824 else
   5825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5826 printf "%s\n" "none" >&6; }
   5827 fi
   5828 max_cmd_len=$lt_cv_sys_max_cmd_len
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 : ${CP="cp -f"}
   5836 : ${MV="mv -f"}
   5837 : ${RM="rm -f"}
   5838 
   5839 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5840   lt_unset=unset
   5841 else
   5842   lt_unset=false
   5843 fi
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 # test EBCDIC or ASCII
   5850 case `echo X|tr X '\101'` in
   5851  A) # ASCII based system
   5852     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5853   lt_SP2NL='tr \040 \012'
   5854   lt_NL2SP='tr \015\012 \040\040'
   5855   ;;
   5856  *) # EBCDIC based system
   5857   lt_SP2NL='tr \100 \n'
   5858   lt_NL2SP='tr \r\n \100\100'
   5859   ;;
   5860 esac
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5871 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5872 if test ${lt_cv_to_host_file_cmd+y}
   5873 then :
   5874   printf %s "(cached) " >&6
   5875 else case e in #(
   5876   e) case $host in
   5877   *-*-mingw* )
   5878     case $build in
   5879       *-*-mingw* | *-*-windows* ) # actually msys
   5880         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5881         ;;
   5882       *-*-cygwin* )
   5883         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5884         ;;
   5885       * ) # otherwise, assume *nix
   5886         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5887         ;;
   5888     esac
   5889     ;;
   5890   *-*-cygwin* )
   5891     case $build in
   5892       *-*-mingw* | *-*-windows* ) # actually msys
   5893         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5894         ;;
   5895       *-*-cygwin* )
   5896         lt_cv_to_host_file_cmd=func_convert_file_noop
   5897         ;;
   5898       * ) # otherwise, assume *nix
   5899         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5900         ;;
   5901     esac
   5902     ;;
   5903   * ) # unhandled hosts (and "normal" native builds)
   5904     lt_cv_to_host_file_cmd=func_convert_file_noop
   5905     ;;
   5906 esac
   5907  ;;
   5908 esac
   5909 fi
   5910 
   5911 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5913 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5920 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5921 if test ${lt_cv_to_tool_file_cmd+y}
   5922 then :
   5923   printf %s "(cached) " >&6
   5924 else case e in #(
   5925   e) #assume ordinary cross tools, or native build.
   5926 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5927 case $host in
   5928   *-*-mingw* | *-*-windows* )
   5929     case $build in
   5930       *-*-mingw* | *-*-windows* ) # actually msys
   5931         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5932         ;;
   5933     esac
   5934     ;;
   5935 esac
   5936  ;;
   5937 esac
   5938 fi
   5939 
   5940 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5942 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5949 printf %s "checking for $LD option to reload object files... " >&6; }
   5950 if test ${lt_cv_ld_reload_flag+y}
   5951 then :
   5952   printf %s "(cached) " >&6
   5953 else case e in #(
   5954   e) lt_cv_ld_reload_flag='-r' ;;
   5955 esac
   5956 fi
   5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5958 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5959 reload_flag=$lt_cv_ld_reload_flag
   5960 case $reload_flag in
   5961 "" | " "*) ;;
   5962 *) reload_flag=" $reload_flag" ;;
   5963 esac
   5964 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5965 case $host_os in
   5966   cygwin* | mingw* | windows* | pw32* | cegcc*)
   5967     if test yes != "$GCC"; then
   5968       reload_cmds=false
   5969     fi
   5970     ;;
   5971   darwin*)
   5972     if test yes = "$GCC"; then
   5973       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5974     else
   5975       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5976     fi
   5977     ;;
   5978 esac
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 # Extract the first word of "file", so it can be a program name with args.
   5989 set dummy file; ac_word=$2
   5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5991 printf %s "checking for $ac_word... " >&6; }
   5992 if test ${ac_cv_prog_FILECMD+y}
   5993 then :
   5994   printf %s "(cached) " >&6
   5995 else case e in #(
   5996   e) if test -n "$FILECMD"; then
   5997   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5998 else
   5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6000 for as_dir in $PATH
   6001 do
   6002   IFS=$as_save_IFS
   6003   case $as_dir in #(((
   6004     '') as_dir=./ ;;
   6005     */) ;;
   6006     *) as_dir=$as_dir/ ;;
   6007   esac
   6008     for ac_exec_ext in '' $ac_executable_extensions; do
   6009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6010     ac_cv_prog_FILECMD="file"
   6011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6012     break 2
   6013   fi
   6014 done
   6015   done
   6016 IFS=$as_save_IFS
   6017 
   6018   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6019 fi ;;
   6020 esac
   6021 fi
   6022 FILECMD=$ac_cv_prog_FILECMD
   6023 if test -n "$FILECMD"; then
   6024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6025 printf "%s\n" "$FILECMD" >&6; }
   6026 else
   6027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6028 printf "%s\n" "no" >&6; }
   6029 fi
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 if test -n "$ac_tool_prefix"; then
   6039   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6040 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6042 printf %s "checking for $ac_word... " >&6; }
   6043 if test ${ac_cv_prog_OBJDUMP+y}
   6044 then :
   6045   printf %s "(cached) " >&6
   6046 else case e in #(
   6047   e) if test -n "$OBJDUMP"; then
   6048   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6049 else
   6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6051 for as_dir in $PATH
   6052 do
   6053   IFS=$as_save_IFS
   6054   case $as_dir in #(((
   6055     '') as_dir=./ ;;
   6056     */) ;;
   6057     *) as_dir=$as_dir/ ;;
   6058   esac
   6059     for ac_exec_ext in '' $ac_executable_extensions; do
   6060   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6061     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6062     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6063     break 2
   6064   fi
   6065 done
   6066   done
   6067 IFS=$as_save_IFS
   6068 
   6069 fi ;;
   6070 esac
   6071 fi
   6072 OBJDUMP=$ac_cv_prog_OBJDUMP
   6073 if test -n "$OBJDUMP"; then
   6074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6075 printf "%s\n" "$OBJDUMP" >&6; }
   6076 else
   6077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6078 printf "%s\n" "no" >&6; }
   6079 fi
   6080 
   6081 
   6082 fi
   6083 if test -z "$ac_cv_prog_OBJDUMP"; then
   6084   ac_ct_OBJDUMP=$OBJDUMP
   6085   # Extract the first word of "objdump", so it can be a program name with args.
   6086 set dummy objdump; ac_word=$2
   6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6088 printf %s "checking for $ac_word... " >&6; }
   6089 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6090 then :
   6091   printf %s "(cached) " >&6
   6092 else case e in #(
   6093   e) if test -n "$ac_ct_OBJDUMP"; then
   6094   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6095 else
   6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6097 for as_dir in $PATH
   6098 do
   6099   IFS=$as_save_IFS
   6100   case $as_dir in #(((
   6101     '') as_dir=./ ;;
   6102     */) ;;
   6103     *) as_dir=$as_dir/ ;;
   6104   esac
   6105     for ac_exec_ext in '' $ac_executable_extensions; do
   6106   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6107     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6108     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6109     break 2
   6110   fi
   6111 done
   6112   done
   6113 IFS=$as_save_IFS
   6114 
   6115 fi ;;
   6116 esac
   6117 fi
   6118 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6119 if test -n "$ac_ct_OBJDUMP"; then
   6120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6121 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6122 else
   6123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6124 printf "%s\n" "no" >&6; }
   6125 fi
   6126 
   6127   if test "x$ac_ct_OBJDUMP" = x; then
   6128     OBJDUMP="false"
   6129   else
   6130     case $cross_compiling:$ac_tool_warned in
   6131 yes:)
   6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6134 ac_tool_warned=yes ;;
   6135 esac
   6136     OBJDUMP=$ac_ct_OBJDUMP
   6137   fi
   6138 else
   6139   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6140 fi
   6141 
   6142 test -z "$OBJDUMP" && OBJDUMP=objdump
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6153 printf %s "checking how to recognize dependent libraries... " >&6; }
   6154 if test ${lt_cv_deplibs_check_method+y}
   6155 then :
   6156   printf %s "(cached) " >&6
   6157 else case e in #(
   6158   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6159 lt_cv_file_magic_test_file=
   6160 lt_cv_deplibs_check_method='unknown'
   6161 # Need to set the preceding variable on all platforms that support
   6162 # interlibrary dependencies.
   6163 # 'none' -- dependencies not supported.
   6164 # 'unknown' -- same as none, but documents that we really don't know.
   6165 # 'pass_all' -- all dependencies passed with no checks.
   6166 # 'file_magic [[regex]]' -- check by looking for files in library path
   6167 # that responds to the $file_magic_cmd with a given extended regex.
   6168 # If you have 'file' or equivalent on your system and you're not sure
   6169 # whether 'pass_all' will *always* work, you probably want this one.
   6170 
   6171 case $host_os in
   6172 aix[4-9]*)
   6173   lt_cv_deplibs_check_method=pass_all
   6174   ;;
   6175 
   6176 beos*)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 
   6180 bsdi[45]*)
   6181   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6182   lt_cv_file_magic_cmd='$FILECMD -L'
   6183   lt_cv_file_magic_test_file=/shlib/libc.so
   6184   ;;
   6185 
   6186 cygwin*)
   6187   # func_win32_libid is a shell function defined in ltmain.sh
   6188   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6189   lt_cv_file_magic_cmd='func_win32_libid'
   6190   ;;
   6191 
   6192 mingw* | windows* | pw32*)
   6193   # Base MSYS/MinGW do not provide the 'file' command needed by
   6194   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6195   # unless we find 'file', for example because we are cross-compiling.
   6196   if ( file / ) >/dev/null 2>&1; then
   6197     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6198     lt_cv_file_magic_cmd='func_win32_libid'
   6199   else
   6200     # Keep this pattern in sync with the one in func_win32_libid.
   6201     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6202     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6203   fi
   6204   ;;
   6205 
   6206 cegcc*)
   6207   # use the weaker test based on 'objdump'. See mingw*.
   6208   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6209   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6210   ;;
   6211 
   6212 darwin* | rhapsody*)
   6213   lt_cv_deplibs_check_method=pass_all
   6214   ;;
   6215 
   6216 freebsd* | dragonfly* | midnightbsd*)
   6217   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6218     case $host_cpu in
   6219     i*86 )
   6220       # Not sure whether the presence of OpenBSD here was a mistake.
   6221       # Let's accept both of them until this is cleared up.
   6222       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6223       lt_cv_file_magic_cmd=$FILECMD
   6224       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6225       ;;
   6226     esac
   6227   else
   6228     lt_cv_deplibs_check_method=pass_all
   6229   fi
   6230   ;;
   6231 
   6232 haiku*)
   6233   lt_cv_deplibs_check_method=pass_all
   6234   ;;
   6235 
   6236 hpux10.20* | hpux11*)
   6237   lt_cv_file_magic_cmd=$FILECMD
   6238   case $host_cpu in
   6239   ia64*)
   6240     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6241     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6242     ;;
   6243   hppa*64*)
   6244     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]'
   6245     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6246     ;;
   6247   *)
   6248     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6249     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6250     ;;
   6251   esac
   6252   ;;
   6253 
   6254 interix[3-9]*)
   6255   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6256   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6257   ;;
   6258 
   6259 irix5* | irix6* | nonstopux*)
   6260   case $LD in
   6261   *-32|*"-32 ") libmagic=32-bit;;
   6262   *-n32|*"-n32 ") libmagic=N32;;
   6263   *-64|*"-64 ") libmagic=64-bit;;
   6264   *) libmagic=never-match;;
   6265   esac
   6266   lt_cv_deplibs_check_method=pass_all
   6267   ;;
   6268 
   6269 # This must be glibc/ELF.
   6270 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6271   lt_cv_deplibs_check_method=pass_all
   6272   ;;
   6273 
   6274 *-mlibc)
   6275   lt_cv_deplibs_check_method=pass_all
   6276   ;;
   6277 
   6278 netbsd* | netbsdelf*-gnu)
   6279   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6280     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6281   else
   6282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6283   fi
   6284   ;;
   6285 
   6286 newos6*)
   6287   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6288   lt_cv_file_magic_cmd=$FILECMD
   6289   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6290   ;;
   6291 
   6292 *nto* | *qnx*)
   6293   lt_cv_deplibs_check_method=pass_all
   6294   ;;
   6295 
   6296 openbsd*)
   6297   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6299   else
   6300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6301   fi
   6302   ;;
   6303 
   6304 osf3* | osf4* | osf5*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 
   6308 rdos*)
   6309   lt_cv_deplibs_check_method=pass_all
   6310   ;;
   6311 
   6312 serenity*)
   6313   lt_cv_deplibs_check_method=pass_all
   6314   ;;
   6315 
   6316 solaris*)
   6317   lt_cv_deplibs_check_method=pass_all
   6318   ;;
   6319 
   6320 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6321   lt_cv_deplibs_check_method=pass_all
   6322   ;;
   6323 
   6324 sysv4 | sysv4.3*)
   6325   case $host_vendor in
   6326   motorola)
   6327     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]'
   6328     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6329     ;;
   6330   ncr)
   6331     lt_cv_deplibs_check_method=pass_all
   6332     ;;
   6333   sequent)
   6334     lt_cv_file_magic_cmd='/bin/file'
   6335     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6336     ;;
   6337   sni)
   6338     lt_cv_file_magic_cmd='/bin/file'
   6339     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6340     lt_cv_file_magic_test_file=/lib/libc.so
   6341     ;;
   6342   siemens)
   6343     lt_cv_deplibs_check_method=pass_all
   6344     ;;
   6345   pc)
   6346     lt_cv_deplibs_check_method=pass_all
   6347     ;;
   6348   esac
   6349   ;;
   6350 
   6351 tpf*)
   6352   lt_cv_deplibs_check_method=pass_all
   6353   ;;
   6354 os2*)
   6355   lt_cv_deplibs_check_method=pass_all
   6356   ;;
   6357 esac
   6358  ;;
   6359 esac
   6360 fi
   6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6362 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6363 
   6364 file_magic_glob=
   6365 want_nocaseglob=no
   6366 if test "$build" = "$host"; then
   6367   case $host_os in
   6368   mingw* | windows* | pw32*)
   6369     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6370       want_nocaseglob=yes
   6371     else
   6372       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6373     fi
   6374     ;;
   6375   esac
   6376 fi
   6377 
   6378 file_magic_cmd=$lt_cv_file_magic_cmd
   6379 deplibs_check_method=$lt_cv_deplibs_check_method
   6380 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 if test -n "$ac_tool_prefix"; then
   6404   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6405 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6407 printf %s "checking for $ac_word... " >&6; }
   6408 if test ${ac_cv_prog_DLLTOOL+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else case e in #(
   6412   e) if test -n "$DLLTOOL"; then
   6413   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6414 else
   6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6416 for as_dir in $PATH
   6417 do
   6418   IFS=$as_save_IFS
   6419   case $as_dir in #(((
   6420     '') as_dir=./ ;;
   6421     */) ;;
   6422     *) as_dir=$as_dir/ ;;
   6423   esac
   6424     for ac_exec_ext in '' $ac_executable_extensions; do
   6425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6426     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6428     break 2
   6429   fi
   6430 done
   6431   done
   6432 IFS=$as_save_IFS
   6433 
   6434 fi ;;
   6435 esac
   6436 fi
   6437 DLLTOOL=$ac_cv_prog_DLLTOOL
   6438 if test -n "$DLLTOOL"; then
   6439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6440 printf "%s\n" "$DLLTOOL" >&6; }
   6441 else
   6442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6443 printf "%s\n" "no" >&6; }
   6444 fi
   6445 
   6446 
   6447 fi
   6448 if test -z "$ac_cv_prog_DLLTOOL"; then
   6449   ac_ct_DLLTOOL=$DLLTOOL
   6450   # Extract the first word of "dlltool", so it can be a program name with args.
   6451 set dummy dlltool; ac_word=$2
   6452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6453 printf %s "checking for $ac_word... " >&6; }
   6454 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6455 then :
   6456   printf %s "(cached) " >&6
   6457 else case e in #(
   6458   e) if test -n "$ac_ct_DLLTOOL"; then
   6459   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6460 else
   6461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6462 for as_dir in $PATH
   6463 do
   6464   IFS=$as_save_IFS
   6465   case $as_dir in #(((
   6466     '') as_dir=./ ;;
   6467     */) ;;
   6468     *) as_dir=$as_dir/ ;;
   6469   esac
   6470     for ac_exec_ext in '' $ac_executable_extensions; do
   6471   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6472     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6473     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6474     break 2
   6475   fi
   6476 done
   6477   done
   6478 IFS=$as_save_IFS
   6479 
   6480 fi ;;
   6481 esac
   6482 fi
   6483 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6484 if test -n "$ac_ct_DLLTOOL"; then
   6485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6486 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6487 else
   6488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6489 printf "%s\n" "no" >&6; }
   6490 fi
   6491 
   6492   if test "x$ac_ct_DLLTOOL" = x; then
   6493     DLLTOOL="false"
   6494   else
   6495     case $cross_compiling:$ac_tool_warned in
   6496 yes:)
   6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6498 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6499 ac_tool_warned=yes ;;
   6500 esac
   6501     DLLTOOL=$ac_ct_DLLTOOL
   6502   fi
   6503 else
   6504   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6505 fi
   6506 
   6507 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6519 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6520 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6521 then :
   6522   printf %s "(cached) " >&6
   6523 else case e in #(
   6524   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6525 
   6526 case $host_os in
   6527 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6528   # two different shell functions defined in ltmain.sh;
   6529   # decide which one to use based on capabilities of $DLLTOOL
   6530   case `$DLLTOOL --help 2>&1` in
   6531   *--identify-strict*)
   6532     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6533     ;;
   6534   *)
   6535     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6536     ;;
   6537   esac
   6538   ;;
   6539 *)
   6540   # fallback: assume linklib IS sharedlib
   6541   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6542   ;;
   6543 esac
   6544  ;;
   6545 esac
   6546 fi
   6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6548 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6549 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6550 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 if test -n "$ac_tool_prefix"; then
   6560   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6561 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6563 printf %s "checking for $ac_word... " >&6; }
   6564 if test ${ac_cv_prog_RANLIB+y}
   6565 then :
   6566   printf %s "(cached) " >&6
   6567 else case e in #(
   6568   e) if test -n "$RANLIB"; then
   6569   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6570 else
   6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6572 for as_dir in $PATH
   6573 do
   6574   IFS=$as_save_IFS
   6575   case $as_dir in #(((
   6576     '') as_dir=./ ;;
   6577     */) ;;
   6578     *) as_dir=$as_dir/ ;;
   6579   esac
   6580     for ac_exec_ext in '' $ac_executable_extensions; do
   6581   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6582     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6583     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6584     break 2
   6585   fi
   6586 done
   6587   done
   6588 IFS=$as_save_IFS
   6589 
   6590 fi ;;
   6591 esac
   6592 fi
   6593 RANLIB=$ac_cv_prog_RANLIB
   6594 if test -n "$RANLIB"; then
   6595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6596 printf "%s\n" "$RANLIB" >&6; }
   6597 else
   6598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6599 printf "%s\n" "no" >&6; }
   6600 fi
   6601 
   6602 
   6603 fi
   6604 if test -z "$ac_cv_prog_RANLIB"; then
   6605   ac_ct_RANLIB=$RANLIB
   6606   # Extract the first word of "ranlib", so it can be a program name with args.
   6607 set dummy ranlib; ac_word=$2
   6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6609 printf %s "checking for $ac_word... " >&6; }
   6610 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6611 then :
   6612   printf %s "(cached) " >&6
   6613 else case e in #(
   6614   e) if test -n "$ac_ct_RANLIB"; then
   6615   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6616 else
   6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6618 for as_dir in $PATH
   6619 do
   6620   IFS=$as_save_IFS
   6621   case $as_dir in #(((
   6622     '') as_dir=./ ;;
   6623     */) ;;
   6624     *) as_dir=$as_dir/ ;;
   6625   esac
   6626     for ac_exec_ext in '' $ac_executable_extensions; do
   6627   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6628     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6629     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6630     break 2
   6631   fi
   6632 done
   6633   done
   6634 IFS=$as_save_IFS
   6635 
   6636 fi ;;
   6637 esac
   6638 fi
   6639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6640 if test -n "$ac_ct_RANLIB"; then
   6641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6642 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6643 else
   6644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6645 printf "%s\n" "no" >&6; }
   6646 fi
   6647 
   6648   if test "x$ac_ct_RANLIB" = x; then
   6649     RANLIB=":"
   6650   else
   6651     case $cross_compiling:$ac_tool_warned in
   6652 yes:)
   6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6654 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6655 ac_tool_warned=yes ;;
   6656 esac
   6657     RANLIB=$ac_ct_RANLIB
   6658   fi
   6659 else
   6660   RANLIB="$ac_cv_prog_RANLIB"
   6661 fi
   6662 
   6663 if test -n "$ac_tool_prefix"; then
   6664   for ac_prog in ar
   6665   do
   6666     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6669 printf %s "checking for $ac_word... " >&6; }
   6670 if test ${ac_cv_prog_AR+y}
   6671 then :
   6672   printf %s "(cached) " >&6
   6673 else case e in #(
   6674   e) if test -n "$AR"; then
   6675   ac_cv_prog_AR="$AR" # Let the user override the test.
   6676 else
   6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6678 for as_dir in $PATH
   6679 do
   6680   IFS=$as_save_IFS
   6681   case $as_dir in #(((
   6682     '') as_dir=./ ;;
   6683     */) ;;
   6684     *) as_dir=$as_dir/ ;;
   6685   esac
   6686     for ac_exec_ext in '' $ac_executable_extensions; do
   6687   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6688     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6689     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6690     break 2
   6691   fi
   6692 done
   6693   done
   6694 IFS=$as_save_IFS
   6695 
   6696 fi ;;
   6697 esac
   6698 fi
   6699 AR=$ac_cv_prog_AR
   6700 if test -n "$AR"; then
   6701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6702 printf "%s\n" "$AR" >&6; }
   6703 else
   6704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6705 printf "%s\n" "no" >&6; }
   6706 fi
   6707 
   6708 
   6709     test -n "$AR" && break
   6710   done
   6711 fi
   6712 if test -z "$AR"; then
   6713   ac_ct_AR=$AR
   6714   for ac_prog in ar
   6715 do
   6716   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6717 set dummy $ac_prog; ac_word=$2
   6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6719 printf %s "checking for $ac_word... " >&6; }
   6720 if test ${ac_cv_prog_ac_ct_AR+y}
   6721 then :
   6722   printf %s "(cached) " >&6
   6723 else case e in #(
   6724   e) if test -n "$ac_ct_AR"; then
   6725   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6726 else
   6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6728 for as_dir in $PATH
   6729 do
   6730   IFS=$as_save_IFS
   6731   case $as_dir in #(((
   6732     '') as_dir=./ ;;
   6733     */) ;;
   6734     *) as_dir=$as_dir/ ;;
   6735   esac
   6736     for ac_exec_ext in '' $ac_executable_extensions; do
   6737   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6738     ac_cv_prog_ac_ct_AR="$ac_prog"
   6739     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6740     break 2
   6741   fi
   6742 done
   6743   done
   6744 IFS=$as_save_IFS
   6745 
   6746 fi ;;
   6747 esac
   6748 fi
   6749 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6750 if test -n "$ac_ct_AR"; then
   6751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6752 printf "%s\n" "$ac_ct_AR" >&6; }
   6753 else
   6754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6755 printf "%s\n" "no" >&6; }
   6756 fi
   6757 
   6758 
   6759   test -n "$ac_ct_AR" && break
   6760 done
   6761 
   6762   if test "x$ac_ct_AR" = x; then
   6763     AR="false"
   6764   else
   6765     case $cross_compiling:$ac_tool_warned in
   6766 yes:)
   6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6768 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6769 ac_tool_warned=yes ;;
   6770 esac
   6771     AR=$ac_ct_AR
   6772   fi
   6773 fi
   6774 
   6775 : ${AR=ar}
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6783 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6784 # higher priority because that's what people were doing historically (setting
   6785 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6786 # variable obsoleted/removed.
   6787 
   6788 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6789 lt_ar_flags=$AR_FLAGS
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6797 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6805 printf %s "checking for archiver @FILE support... " >&6; }
   6806 if test ${lt_cv_ar_at_file+y}
   6807 then :
   6808   printf %s "(cached) " >&6
   6809 else case e in #(
   6810   e) lt_cv_ar_at_file=no
   6811    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6812 /* end confdefs.h.  */
   6813 
   6814 int
   6815 main (void)
   6816 {
   6817 
   6818   ;
   6819   return 0;
   6820 }
   6821 _ACEOF
   6822 if ac_fn_c_try_compile "$LINENO"
   6823 then :
   6824   echo conftest.$ac_objext > conftest.lst
   6825       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6826       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6827   (eval $lt_ar_try) 2>&5
   6828   ac_status=$?
   6829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6830   test $ac_status = 0; }
   6831       if test 0 -eq "$ac_status"; then
   6832 	# Ensure the archiver fails upon bogus file names.
   6833 	rm -f conftest.$ac_objext libconftest.a
   6834 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6835   (eval $lt_ar_try) 2>&5
   6836   ac_status=$?
   6837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6838   test $ac_status = 0; }
   6839 	if test 0 -ne "$ac_status"; then
   6840           lt_cv_ar_at_file=@
   6841         fi
   6842       fi
   6843       rm -f conftest.* libconftest.a
   6844 
   6845 fi
   6846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6847    ;;
   6848 esac
   6849 fi
   6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6851 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6852 
   6853 if test no = "$lt_cv_ar_at_file"; then
   6854   archiver_list_spec=
   6855 else
   6856   archiver_list_spec=$lt_cv_ar_at_file
   6857 fi
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 if test -n "$ac_tool_prefix"; then
   6866   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6867 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6869 printf %s "checking for $ac_word... " >&6; }
   6870 if test ${ac_cv_prog_STRIP+y}
   6871 then :
   6872   printf %s "(cached) " >&6
   6873 else case e in #(
   6874   e) if test -n "$STRIP"; then
   6875   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6876 else
   6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6878 for as_dir in $PATH
   6879 do
   6880   IFS=$as_save_IFS
   6881   case $as_dir in #(((
   6882     '') as_dir=./ ;;
   6883     */) ;;
   6884     *) as_dir=$as_dir/ ;;
   6885   esac
   6886     for ac_exec_ext in '' $ac_executable_extensions; do
   6887   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6888     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6890     break 2
   6891   fi
   6892 done
   6893   done
   6894 IFS=$as_save_IFS
   6895 
   6896 fi ;;
   6897 esac
   6898 fi
   6899 STRIP=$ac_cv_prog_STRIP
   6900 if test -n "$STRIP"; then
   6901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6902 printf "%s\n" "$STRIP" >&6; }
   6903 else
   6904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6905 printf "%s\n" "no" >&6; }
   6906 fi
   6907 
   6908 
   6909 fi
   6910 if test -z "$ac_cv_prog_STRIP"; then
   6911   ac_ct_STRIP=$STRIP
   6912   # Extract the first word of "strip", so it can be a program name with args.
   6913 set dummy strip; ac_word=$2
   6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6915 printf %s "checking for $ac_word... " >&6; }
   6916 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6917 then :
   6918   printf %s "(cached) " >&6
   6919 else case e in #(
   6920   e) if test -n "$ac_ct_STRIP"; then
   6921   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6922 else
   6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6924 for as_dir in $PATH
   6925 do
   6926   IFS=$as_save_IFS
   6927   case $as_dir in #(((
   6928     '') as_dir=./ ;;
   6929     */) ;;
   6930     *) as_dir=$as_dir/ ;;
   6931   esac
   6932     for ac_exec_ext in '' $ac_executable_extensions; do
   6933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6934     ac_cv_prog_ac_ct_STRIP="strip"
   6935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6936     break 2
   6937   fi
   6938 done
   6939   done
   6940 IFS=$as_save_IFS
   6941 
   6942 fi ;;
   6943 esac
   6944 fi
   6945 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6946 if test -n "$ac_ct_STRIP"; then
   6947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6948 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6949 else
   6950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6951 printf "%s\n" "no" >&6; }
   6952 fi
   6953 
   6954   if test "x$ac_ct_STRIP" = x; then
   6955     STRIP=":"
   6956   else
   6957     case $cross_compiling:$ac_tool_warned in
   6958 yes:)
   6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6960 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6961 ac_tool_warned=yes ;;
   6962 esac
   6963     STRIP=$ac_ct_STRIP
   6964   fi
   6965 else
   6966   STRIP="$ac_cv_prog_STRIP"
   6967 fi
   6968 
   6969 test -z "$STRIP" && STRIP=:
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 test -z "$RANLIB" && RANLIB=:
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 # Determine commands to create old-style static archives.
   6985 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6986 old_postinstall_cmds='chmod 644 $oldlib'
   6987 old_postuninstall_cmds=
   6988 
   6989 if test -n "$RANLIB"; then
   6990   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6991   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6992 fi
   6993 
   6994 case $host_os in
   6995   darwin*)
   6996     lock_old_archive_extraction=yes ;;
   6997   *)
   6998     lock_old_archive_extraction=no ;;
   6999 esac
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 # If no C compiler was specified, use CC.
   7040 LTCC=${LTCC-"$CC"}
   7041 
   7042 # If no C compiler flags were specified, use CFLAGS.
   7043 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7044 
   7045 # Allow CC to be a program name with arguments.
   7046 compiler=$CC
   7047 
   7048 
   7049 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7051 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7052 if test ${lt_cv_sys_global_symbol_pipe+y}
   7053 then :
   7054   printf %s "(cached) " >&6
   7055 else case e in #(
   7056   e)
   7057 # These are sane defaults that work on at least a few old systems.
   7058 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7059 
   7060 # Character class describing NM global symbol codes.
   7061 symcode='[BCDEGRST]'
   7062 
   7063 # Regexp to match symbols that can be accessed directly from C.
   7064 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7065 
   7066 # Define system-specific variables.
   7067 case $host_os in
   7068 aix*)
   7069   symcode='[BCDT]'
   7070   ;;
   7071 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7072   symcode='[ABCDGISTW]'
   7073   ;;
   7074 hpux*)
   7075   if test ia64 = "$host_cpu"; then
   7076     symcode='[ABCDEGRST]'
   7077   fi
   7078   ;;
   7079 irix* | nonstopux*)
   7080   symcode='[BCDEGRST]'
   7081   ;;
   7082 osf*)
   7083   symcode='[BCDEGQRST]'
   7084   ;;
   7085 solaris*)
   7086   symcode='[BCDRT]'
   7087   ;;
   7088 sco3.2v5*)
   7089   symcode='[DT]'
   7090   ;;
   7091 sysv4.2uw2*)
   7092   symcode='[DT]'
   7093   ;;
   7094 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7095   symcode='[ABDT]'
   7096   ;;
   7097 sysv4)
   7098   symcode='[DFNSTU]'
   7099   ;;
   7100 esac
   7101 
   7102 # If we're using GNU nm, then use its standard symbol codes.
   7103 case `$NM -V 2>&1` in
   7104 *GNU* | *'with BFD'*)
   7105   symcode='[ABCDGIRSTW]' ;;
   7106 esac
   7107 
   7108 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7109   # Gets list of data symbols to import.
   7110   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7111   # Adjust the below global symbol transforms to fixup imported variables.
   7112   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7113   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7114   lt_c_name_lib_hook="\
   7115   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7116   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7117 else
   7118   # Disable hooks by default.
   7119   lt_cv_sys_global_symbol_to_import=
   7120   lt_cdecl_hook=
   7121   lt_c_name_hook=
   7122   lt_c_name_lib_hook=
   7123 fi
   7124 
   7125 # Transform an extracted symbol line into a proper C declaration.
   7126 # Some systems (esp. on ia64) link data and code symbols differently,
   7127 # so use this general approach.
   7128 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7129 $lt_cdecl_hook\
   7130 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7131 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7132 
   7133 # Transform an extracted symbol line into symbol name and symbol address
   7134 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7135 $lt_c_name_hook\
   7136 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7137 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7138 
   7139 # Transform an extracted symbol line into symbol name with lib prefix and
   7140 # symbol address.
   7141 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7142 $lt_c_name_lib_hook\
   7143 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7144 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7145 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7146 
   7147 # Handle CRLF in mingw tool chain
   7148 opt_cr=
   7149 case $build_os in
   7150 mingw* | windows*)
   7151   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7152   ;;
   7153 esac
   7154 
   7155 # Try without a prefix underscore, then with it.
   7156 for ac_symprfx in "" "_"; do
   7157 
   7158   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7159   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7160 
   7161   # Write the raw and C identifiers.
   7162   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7163     # Fake it for dumpbin and say T for any non-static function,
   7164     # D for any global variable and I for any imported variable.
   7165     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7166     # which start with @ or ?.
   7167     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7168 "     {last_section=section; section=\$ 3};"\
   7169 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7170 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7171 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7172 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7173 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7174 "     \$ 0!~/External *\|/{next};"\
   7175 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7176 "     {if(hide[section]) next};"\
   7177 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7178 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7179 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7180 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7181 "     ' prfx=^$ac_symprfx"
   7182   else
   7183     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7184   fi
   7185   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7186 
   7187   # Check to see that the pipe works correctly.
   7188   pipe_works=no
   7189 
   7190   rm -f conftest*
   7191   cat > conftest.$ac_ext <<_LT_EOF
   7192 #ifdef __cplusplus
   7193 extern "C" {
   7194 #endif
   7195 char nm_test_var;
   7196 void nm_test_func(void);
   7197 void nm_test_func(void){}
   7198 #ifdef __cplusplus
   7199 }
   7200 #endif
   7201 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7202 _LT_EOF
   7203 
   7204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7205   (eval $ac_compile) 2>&5
   7206   ac_status=$?
   7207   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7208   test $ac_status = 0; }; then
   7209     # Now try to grab the symbols.
   7210     nlist=conftest.nm
   7211     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7212     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7213       # Try sorting and uniquifying the output.
   7214       if sort "$nlist" | uniq > "$nlist"T; then
   7215 	mv -f "$nlist"T "$nlist"
   7216       else
   7217 	rm -f "$nlist"T
   7218       fi
   7219 
   7220       # Make sure that we snagged all the symbols we need.
   7221       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7222 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7223 	  cat <<_LT_EOF > conftest.$ac_ext
   7224 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7225 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7226 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7227    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7228 # define LT_DLSYM_CONST
   7229 #elif defined __osf__
   7230 /* This system does not cope well with relocations in const data.  */
   7231 # define LT_DLSYM_CONST
   7232 #else
   7233 # define LT_DLSYM_CONST const
   7234 #endif
   7235 
   7236 #ifdef __cplusplus
   7237 extern "C" {
   7238 #endif
   7239 
   7240 _LT_EOF
   7241 	  # Now generate the symbol file.
   7242 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7243 
   7244 	  cat <<_LT_EOF >> conftest.$ac_ext
   7245 
   7246 /* The mapping between symbol names and symbols.  */
   7247 LT_DLSYM_CONST struct {
   7248   const char *name;
   7249   void       *address;
   7250 }
   7251 lt__PROGRAM__LTX_preloaded_symbols[] =
   7252 {
   7253   { "@PROGRAM@", (void *) 0 },
   7254 _LT_EOF
   7255 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7256 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7257   {0, (void *) 0}
   7258 };
   7259 
   7260 /* This works around a problem in FreeBSD linker */
   7261 #ifdef FREEBSD_WORKAROUND
   7262 static const void *lt_preloaded_setup() {
   7263   return lt__PROGRAM__LTX_preloaded_symbols;
   7264 }
   7265 #endif
   7266 
   7267 #ifdef __cplusplus
   7268 }
   7269 #endif
   7270 _LT_EOF
   7271 	  # Now try linking the two files.
   7272 	  mv conftest.$ac_objext conftstm.$ac_objext
   7273 	  lt_globsym_save_LIBS=$LIBS
   7274 	  lt_globsym_save_CFLAGS=$CFLAGS
   7275 	  LIBS=conftstm.$ac_objext
   7276 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7277 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7278   (eval $ac_link) 2>&5
   7279   ac_status=$?
   7280   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7281   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7282 	    pipe_works=yes
   7283 	  fi
   7284 	  LIBS=$lt_globsym_save_LIBS
   7285 	  CFLAGS=$lt_globsym_save_CFLAGS
   7286 	else
   7287 	  echo "cannot find nm_test_func in $nlist" >&5
   7288 	fi
   7289       else
   7290 	echo "cannot find nm_test_var in $nlist" >&5
   7291       fi
   7292     else
   7293       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7294     fi
   7295   else
   7296     echo "$progname: failed program was:" >&5
   7297     cat conftest.$ac_ext >&5
   7298   fi
   7299   rm -rf conftest* conftst*
   7300 
   7301   # Do not use the global_symbol_pipe unless it works.
   7302   if test yes = "$pipe_works"; then
   7303     break
   7304   else
   7305     lt_cv_sys_global_symbol_pipe=
   7306   fi
   7307 done
   7308  ;;
   7309 esac
   7310 fi
   7311 
   7312 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7313   lt_cv_sys_global_symbol_to_cdecl=
   7314 fi
   7315 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7317 printf "%s\n" "failed" >&6; }
   7318 else
   7319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7320 printf "%s\n" "ok" >&6; }
   7321 fi
   7322 
   7323 # Response file support.
   7324 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7325   nm_file_list_spec='@'
   7326 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7327   nm_file_list_spec='@'
   7328 fi
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7367 printf %s "checking for sysroot... " >&6; }
   7368 
   7369 # Check whether --with-sysroot was given.
   7370 if test ${with_sysroot+y}
   7371 then :
   7372   withval=$with_sysroot;
   7373 else case e in #(
   7374   e) with_sysroot=no ;;
   7375 esac
   7376 fi
   7377 
   7378 
   7379 lt_sysroot=
   7380 case $with_sysroot in #(
   7381  yes)
   7382    if test yes = "$GCC"; then
   7383      # Trim trailing / since we'll always append absolute paths and we want
   7384      # to avoid //, if only for less confusing output for the user.
   7385      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7386    fi
   7387    ;; #(
   7388  /*)
   7389    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7390    ;; #(
   7391  no|'')
   7392    ;; #(
   7393  *)
   7394    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7395 printf "%s\n" "$with_sysroot" >&6; }
   7396    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7397    ;;
   7398 esac
   7399 
   7400  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7401 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7408 printf %s "checking for a working dd... " >&6; }
   7409 if test ${ac_cv_path_lt_DD+y}
   7410 then :
   7411   printf %s "(cached) " >&6
   7412 else case e in #(
   7413   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7414 cat conftest.i conftest.i >conftest2.i
   7415 : ${lt_DD:=$DD}
   7416 if test -z "$lt_DD"; then
   7417   ac_path_lt_DD_found=false
   7418   # Loop through the user's path and test for each of PROGNAME-LIST
   7419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7420 for as_dir in $PATH
   7421 do
   7422   IFS=$as_save_IFS
   7423   case $as_dir in #(((
   7424     '') as_dir=./ ;;
   7425     */) ;;
   7426     *) as_dir=$as_dir/ ;;
   7427   esac
   7428     for ac_prog in dd
   7429    do
   7430     for ac_exec_ext in '' $ac_executable_extensions; do
   7431       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7432       as_fn_executable_p "$ac_path_lt_DD" || continue
   7433 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7434   cmp -s conftest.i conftest.out \
   7435   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7436 fi
   7437       $ac_path_lt_DD_found && break 3
   7438     done
   7439   done
   7440   done
   7441 IFS=$as_save_IFS
   7442   if test -z "$ac_cv_path_lt_DD"; then
   7443     :
   7444   fi
   7445 else
   7446   ac_cv_path_lt_DD=$lt_DD
   7447 fi
   7448 
   7449 rm -f conftest.i conftest2.i conftest.out ;;
   7450 esac
   7451 fi
   7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7453 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7454 
   7455 
   7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7457 printf %s "checking how to truncate binary pipes... " >&6; }
   7458 if test ${lt_cv_truncate_bin+y}
   7459 then :
   7460   printf %s "(cached) " >&6
   7461 else case e in #(
   7462   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7463 cat conftest.i conftest.i >conftest2.i
   7464 lt_cv_truncate_bin=
   7465 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7466   cmp -s conftest.i conftest.out \
   7467   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7468 fi
   7469 rm -f conftest.i conftest2.i conftest.out
   7470 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7471 esac
   7472 fi
   7473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7474 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7483 func_cc_basename ()
   7484 {
   7485     for cc_temp in $*""; do
   7486       case $cc_temp in
   7487         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7488         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7489         \-*) ;;
   7490         *) break;;
   7491       esac
   7492     done
   7493     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7494 }
   7495 
   7496 # Check whether --enable-libtool-lock was given.
   7497 if test ${enable_libtool_lock+y}
   7498 then :
   7499   enableval=$enable_libtool_lock;
   7500 fi
   7501 
   7502 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7503 
   7504 # Some flags need to be propagated to the compiler or linker for good
   7505 # libtool support.
   7506 case $host in
   7507 ia64-*-hpux*)
   7508   # Find out what ABI is being produced by ac_compile, and set mode
   7509   # options accordingly.
   7510   echo 'int i;' > conftest.$ac_ext
   7511   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7512   (eval $ac_compile) 2>&5
   7513   ac_status=$?
   7514   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7515   test $ac_status = 0; }; then
   7516     case `$FILECMD conftest.$ac_objext` in
   7517       *ELF-32*)
   7518 	HPUX_IA64_MODE=32
   7519 	;;
   7520       *ELF-64*)
   7521 	HPUX_IA64_MODE=64
   7522 	;;
   7523     esac
   7524   fi
   7525   rm -rf conftest*
   7526   ;;
   7527 *-*-irix6*)
   7528   # Find out what ABI is being produced by ac_compile, and set linker
   7529   # options accordingly.
   7530   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7531   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7532   (eval $ac_compile) 2>&5
   7533   ac_status=$?
   7534   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7535   test $ac_status = 0; }; then
   7536     if test yes = "$lt_cv_prog_gnu_ld"; then
   7537       case `$FILECMD conftest.$ac_objext` in
   7538 	*32-bit*)
   7539 	  LD="${LD-ld} -melf32bsmip"
   7540 	  ;;
   7541 	*N32*)
   7542 	  LD="${LD-ld} -melf32bmipn32"
   7543 	  ;;
   7544 	*64-bit*)
   7545 	  LD="${LD-ld} -melf64bmip"
   7546 	;;
   7547       esac
   7548     else
   7549       case `$FILECMD conftest.$ac_objext` in
   7550 	*32-bit*)
   7551 	  LD="${LD-ld} -32"
   7552 	  ;;
   7553 	*N32*)
   7554 	  LD="${LD-ld} -n32"
   7555 	  ;;
   7556 	*64-bit*)
   7557 	  LD="${LD-ld} -64"
   7558 	  ;;
   7559       esac
   7560     fi
   7561   fi
   7562   rm -rf conftest*
   7563   ;;
   7564 
   7565 mips64*-*linux*)
   7566   # Find out what ABI is being produced by ac_compile, and set linker
   7567   # options accordingly.
   7568   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7569   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7570   (eval $ac_compile) 2>&5
   7571   ac_status=$?
   7572   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7573   test $ac_status = 0; }; then
   7574     emul=elf
   7575     case `$FILECMD conftest.$ac_objext` in
   7576       *32-bit*)
   7577 	emul="${emul}32"
   7578 	;;
   7579       *64-bit*)
   7580 	emul="${emul}64"
   7581 	;;
   7582     esac
   7583     case `$FILECMD conftest.$ac_objext` in
   7584       *MSB*)
   7585 	emul="${emul}btsmip"
   7586 	;;
   7587       *LSB*)
   7588 	emul="${emul}ltsmip"
   7589 	;;
   7590     esac
   7591     case `$FILECMD conftest.$ac_objext` in
   7592       *N32*)
   7593 	emul="${emul}n32"
   7594 	;;
   7595     esac
   7596     LD="${LD-ld} -m $emul"
   7597   fi
   7598   rm -rf conftest*
   7599   ;;
   7600 
   7601 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7602 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7603   # Find out what ABI is being produced by ac_compile, and set linker
   7604   # options accordingly.  Note that the listed cases only cover the
   7605   # situations where additional linker options are needed (such as when
   7606   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7607   # vice versa); the common cases where no linker options are needed do
   7608   # not appear in the list.
   7609   echo 'int i;' > conftest.$ac_ext
   7610   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7611   (eval $ac_compile) 2>&5
   7612   ac_status=$?
   7613   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7614   test $ac_status = 0; }; then
   7615     case `$FILECMD conftest.o` in
   7616       *32-bit*)
   7617 	case $host in
   7618 	  x86_64-*kfreebsd*-gnu)
   7619 	    LD="${LD-ld} -m elf_i386_fbsd"
   7620 	    ;;
   7621 	  x86_64-*linux*|x86_64-gnu*)
   7622 	    case `$FILECMD conftest.o` in
   7623 	      *x86-64*)
   7624 		LD="${LD-ld} -m elf32_x86_64"
   7625 		;;
   7626 	      *)
   7627 		LD="${LD-ld} -m elf_i386"
   7628 		;;
   7629 	    esac
   7630 	    ;;
   7631 	  powerpc64le-*linux*)
   7632 	    LD="${LD-ld} -m elf32lppclinux"
   7633 	    ;;
   7634 	  powerpc64-*linux*)
   7635 	    LD="${LD-ld} -m elf32ppclinux"
   7636 	    ;;
   7637 	  s390x-*linux*)
   7638 	    LD="${LD-ld} -m elf_s390"
   7639 	    ;;
   7640 	  sparc64-*linux*)
   7641 	    LD="${LD-ld} -m elf32_sparc"
   7642 	    ;;
   7643 	esac
   7644 	;;
   7645       *64-bit*)
   7646 	case $host in
   7647 	  x86_64-*kfreebsd*-gnu)
   7648 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7649 	    ;;
   7650 	  x86_64-*linux*|x86_64-gnu*)
   7651 	    LD="${LD-ld} -m elf_x86_64"
   7652 	    ;;
   7653 	  powerpcle-*linux*)
   7654 	    LD="${LD-ld} -m elf64lppc"
   7655 	    ;;
   7656 	  powerpc-*linux*)
   7657 	    LD="${LD-ld} -m elf64ppc"
   7658 	    ;;
   7659 	  s390*-*linux*|s390*-*tpf*)
   7660 	    LD="${LD-ld} -m elf64_s390"
   7661 	    ;;
   7662 	  sparc*-*linux*)
   7663 	    LD="${LD-ld} -m elf64_sparc"
   7664 	    ;;
   7665 	esac
   7666 	;;
   7667     esac
   7668   fi
   7669   rm -rf conftest*
   7670   ;;
   7671 
   7672 *-*-sco3.2v5*)
   7673   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7674   SAVE_CFLAGS=$CFLAGS
   7675   CFLAGS="$CFLAGS -belf"
   7676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7677 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7678 if test ${lt_cv_cc_needs_belf+y}
   7679 then :
   7680   printf %s "(cached) " >&6
   7681 else case e in #(
   7682   e) ac_ext=c
   7683 ac_cpp='$CPP $CPPFLAGS'
   7684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7687 
   7688      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7689 /* end confdefs.h.  */
   7690 
   7691 int
   7692 main (void)
   7693 {
   7694 
   7695   ;
   7696   return 0;
   7697 }
   7698 _ACEOF
   7699 if ac_fn_c_try_link "$LINENO"
   7700 then :
   7701   lt_cv_cc_needs_belf=yes
   7702 else case e in #(
   7703   e) lt_cv_cc_needs_belf=no ;;
   7704 esac
   7705 fi
   7706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7707     conftest$ac_exeext conftest.$ac_ext
   7708      ac_ext=c
   7709 ac_cpp='$CPP $CPPFLAGS'
   7710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7713  ;;
   7714 esac
   7715 fi
   7716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7717 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7718   if test yes != "$lt_cv_cc_needs_belf"; then
   7719     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7720     CFLAGS=$SAVE_CFLAGS
   7721   fi
   7722   ;;
   7723 *-*solaris*)
   7724   # Find out what ABI is being produced by ac_compile, and set linker
   7725   # options accordingly.
   7726   echo 'int i;' > conftest.$ac_ext
   7727   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7728   (eval $ac_compile) 2>&5
   7729   ac_status=$?
   7730   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7731   test $ac_status = 0; }; then
   7732     case `$FILECMD conftest.o` in
   7733     *64-bit*)
   7734       case $lt_cv_prog_gnu_ld in
   7735       yes*)
   7736         case $host in
   7737         i?86-*-solaris*|x86_64-*-solaris*)
   7738           LD="${LD-ld} -m elf_x86_64"
   7739           ;;
   7740         sparc*-*-solaris*)
   7741           LD="${LD-ld} -m elf64_sparc"
   7742           ;;
   7743         esac
   7744         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7745         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7746           LD=${LD-ld}_sol2
   7747         fi
   7748         ;;
   7749       *)
   7750 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7751 	  LD="${LD-ld} -64"
   7752 	fi
   7753 	;;
   7754       esac
   7755       ;;
   7756     esac
   7757   fi
   7758   rm -rf conftest*
   7759   ;;
   7760 esac
   7761 
   7762 need_locks=$enable_libtool_lock
   7763 
   7764 if test -n "$ac_tool_prefix"; then
   7765   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7766 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7768 printf %s "checking for $ac_word... " >&6; }
   7769 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7770 then :
   7771   printf %s "(cached) " >&6
   7772 else case e in #(
   7773   e) if test -n "$MANIFEST_TOOL"; then
   7774   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7775 else
   7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7777 for as_dir in $PATH
   7778 do
   7779   IFS=$as_save_IFS
   7780   case $as_dir in #(((
   7781     '') as_dir=./ ;;
   7782     */) ;;
   7783     *) as_dir=$as_dir/ ;;
   7784   esac
   7785     for ac_exec_ext in '' $ac_executable_extensions; do
   7786   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7787     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7788     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7789     break 2
   7790   fi
   7791 done
   7792   done
   7793 IFS=$as_save_IFS
   7794 
   7795 fi ;;
   7796 esac
   7797 fi
   7798 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7799 if test -n "$MANIFEST_TOOL"; then
   7800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7801 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7802 else
   7803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7804 printf "%s\n" "no" >&6; }
   7805 fi
   7806 
   7807 
   7808 fi
   7809 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7810   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7811   # Extract the first word of "mt", so it can be a program name with args.
   7812 set dummy mt; ac_word=$2
   7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7814 printf %s "checking for $ac_word... " >&6; }
   7815 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7816 then :
   7817   printf %s "(cached) " >&6
   7818 else case e in #(
   7819   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7820   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7821 else
   7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7823 for as_dir in $PATH
   7824 do
   7825   IFS=$as_save_IFS
   7826   case $as_dir in #(((
   7827     '') as_dir=./ ;;
   7828     */) ;;
   7829     *) as_dir=$as_dir/ ;;
   7830   esac
   7831     for ac_exec_ext in '' $ac_executable_extensions; do
   7832   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7833     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7835     break 2
   7836   fi
   7837 done
   7838   done
   7839 IFS=$as_save_IFS
   7840 
   7841 fi ;;
   7842 esac
   7843 fi
   7844 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7845 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7847 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7848 else
   7849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7850 printf "%s\n" "no" >&6; }
   7851 fi
   7852 
   7853   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7854     MANIFEST_TOOL=":"
   7855   else
   7856     case $cross_compiling:$ac_tool_warned in
   7857 yes:)
   7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7860 ac_tool_warned=yes ;;
   7861 esac
   7862     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7863   fi
   7864 else
   7865   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7866 fi
   7867 
   7868 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7870 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7871 if test ${lt_cv_path_manifest_tool+y}
   7872 then :
   7873   printf %s "(cached) " >&6
   7874 else case e in #(
   7875   e) lt_cv_path_manifest_tool=no
   7876   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7877   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7878   cat conftest.err >&5
   7879   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7880     lt_cv_path_manifest_tool=yes
   7881   fi
   7882   rm -f conftest* ;;
   7883 esac
   7884 fi
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7886 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7887 if test yes != "$lt_cv_path_manifest_tool"; then
   7888   MANIFEST_TOOL=:
   7889 fi
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896   case $host_os in
   7897     rhapsody* | darwin*)
   7898     if test -n "$ac_tool_prefix"; then
   7899   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7900 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7902 printf %s "checking for $ac_word... " >&6; }
   7903 if test ${ac_cv_prog_DSYMUTIL+y}
   7904 then :
   7905   printf %s "(cached) " >&6
   7906 else case e in #(
   7907   e) if test -n "$DSYMUTIL"; then
   7908   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7909 else
   7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7911 for as_dir in $PATH
   7912 do
   7913   IFS=$as_save_IFS
   7914   case $as_dir in #(((
   7915     '') as_dir=./ ;;
   7916     */) ;;
   7917     *) as_dir=$as_dir/ ;;
   7918   esac
   7919     for ac_exec_ext in '' $ac_executable_extensions; do
   7920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7921     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7922     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7923     break 2
   7924   fi
   7925 done
   7926   done
   7927 IFS=$as_save_IFS
   7928 
   7929 fi ;;
   7930 esac
   7931 fi
   7932 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7933 if test -n "$DSYMUTIL"; then
   7934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7935 printf "%s\n" "$DSYMUTIL" >&6; }
   7936 else
   7937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7938 printf "%s\n" "no" >&6; }
   7939 fi
   7940 
   7941 
   7942 fi
   7943 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7944   ac_ct_DSYMUTIL=$DSYMUTIL
   7945   # Extract the first word of "dsymutil", so it can be a program name with args.
   7946 set dummy dsymutil; ac_word=$2
   7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7948 printf %s "checking for $ac_word... " >&6; }
   7949 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7950 then :
   7951   printf %s "(cached) " >&6
   7952 else case e in #(
   7953   e) if test -n "$ac_ct_DSYMUTIL"; then
   7954   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7955 else
   7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7957 for as_dir in $PATH
   7958 do
   7959   IFS=$as_save_IFS
   7960   case $as_dir in #(((
   7961     '') as_dir=./ ;;
   7962     */) ;;
   7963     *) as_dir=$as_dir/ ;;
   7964   esac
   7965     for ac_exec_ext in '' $ac_executable_extensions; do
   7966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7967     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7969     break 2
   7970   fi
   7971 done
   7972   done
   7973 IFS=$as_save_IFS
   7974 
   7975 fi ;;
   7976 esac
   7977 fi
   7978 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7979 if test -n "$ac_ct_DSYMUTIL"; then
   7980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7981 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7982 else
   7983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7984 printf "%s\n" "no" >&6; }
   7985 fi
   7986 
   7987   if test "x$ac_ct_DSYMUTIL" = x; then
   7988     DSYMUTIL=":"
   7989   else
   7990     case $cross_compiling:$ac_tool_warned in
   7991 yes:)
   7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7994 ac_tool_warned=yes ;;
   7995 esac
   7996     DSYMUTIL=$ac_ct_DSYMUTIL
   7997   fi
   7998 else
   7999   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8000 fi
   8001 
   8002     if test -n "$ac_tool_prefix"; then
   8003   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8004 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8006 printf %s "checking for $ac_word... " >&6; }
   8007 if test ${ac_cv_prog_NMEDIT+y}
   8008 then :
   8009   printf %s "(cached) " >&6
   8010 else case e in #(
   8011   e) if test -n "$NMEDIT"; then
   8012   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8013 else
   8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8015 for as_dir in $PATH
   8016 do
   8017   IFS=$as_save_IFS
   8018   case $as_dir in #(((
   8019     '') as_dir=./ ;;
   8020     */) ;;
   8021     *) as_dir=$as_dir/ ;;
   8022   esac
   8023     for ac_exec_ext in '' $ac_executable_extensions; do
   8024   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8025     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8026     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8027     break 2
   8028   fi
   8029 done
   8030   done
   8031 IFS=$as_save_IFS
   8032 
   8033 fi ;;
   8034 esac
   8035 fi
   8036 NMEDIT=$ac_cv_prog_NMEDIT
   8037 if test -n "$NMEDIT"; then
   8038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8039 printf "%s\n" "$NMEDIT" >&6; }
   8040 else
   8041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8042 printf "%s\n" "no" >&6; }
   8043 fi
   8044 
   8045 
   8046 fi
   8047 if test -z "$ac_cv_prog_NMEDIT"; then
   8048   ac_ct_NMEDIT=$NMEDIT
   8049   # Extract the first word of "nmedit", so it can be a program name with args.
   8050 set dummy nmedit; ac_word=$2
   8051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8052 printf %s "checking for $ac_word... " >&6; }
   8053 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8054 then :
   8055   printf %s "(cached) " >&6
   8056 else case e in #(
   8057   e) if test -n "$ac_ct_NMEDIT"; then
   8058   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8059 else
   8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8061 for as_dir in $PATH
   8062 do
   8063   IFS=$as_save_IFS
   8064   case $as_dir in #(((
   8065     '') as_dir=./ ;;
   8066     */) ;;
   8067     *) as_dir=$as_dir/ ;;
   8068   esac
   8069     for ac_exec_ext in '' $ac_executable_extensions; do
   8070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8071     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8072     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8073     break 2
   8074   fi
   8075 done
   8076   done
   8077 IFS=$as_save_IFS
   8078 
   8079 fi ;;
   8080 esac
   8081 fi
   8082 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8083 if test -n "$ac_ct_NMEDIT"; then
   8084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8085 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8086 else
   8087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8088 printf "%s\n" "no" >&6; }
   8089 fi
   8090 
   8091   if test "x$ac_ct_NMEDIT" = x; then
   8092     NMEDIT=":"
   8093   else
   8094     case $cross_compiling:$ac_tool_warned in
   8095 yes:)
   8096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8097 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8098 ac_tool_warned=yes ;;
   8099 esac
   8100     NMEDIT=$ac_ct_NMEDIT
   8101   fi
   8102 else
   8103   NMEDIT="$ac_cv_prog_NMEDIT"
   8104 fi
   8105 
   8106     if test -n "$ac_tool_prefix"; then
   8107   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8108 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8110 printf %s "checking for $ac_word... " >&6; }
   8111 if test ${ac_cv_prog_LIPO+y}
   8112 then :
   8113   printf %s "(cached) " >&6
   8114 else case e in #(
   8115   e) if test -n "$LIPO"; then
   8116   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8117 else
   8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8119 for as_dir in $PATH
   8120 do
   8121   IFS=$as_save_IFS
   8122   case $as_dir in #(((
   8123     '') as_dir=./ ;;
   8124     */) ;;
   8125     *) as_dir=$as_dir/ ;;
   8126   esac
   8127     for ac_exec_ext in '' $ac_executable_extensions; do
   8128   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8129     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8130     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8131     break 2
   8132   fi
   8133 done
   8134   done
   8135 IFS=$as_save_IFS
   8136 
   8137 fi ;;
   8138 esac
   8139 fi
   8140 LIPO=$ac_cv_prog_LIPO
   8141 if test -n "$LIPO"; then
   8142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8143 printf "%s\n" "$LIPO" >&6; }
   8144 else
   8145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8146 printf "%s\n" "no" >&6; }
   8147 fi
   8148 
   8149 
   8150 fi
   8151 if test -z "$ac_cv_prog_LIPO"; then
   8152   ac_ct_LIPO=$LIPO
   8153   # Extract the first word of "lipo", so it can be a program name with args.
   8154 set dummy lipo; ac_word=$2
   8155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8156 printf %s "checking for $ac_word... " >&6; }
   8157 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8158 then :
   8159   printf %s "(cached) " >&6
   8160 else case e in #(
   8161   e) if test -n "$ac_ct_LIPO"; then
   8162   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8163 else
   8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8165 for as_dir in $PATH
   8166 do
   8167   IFS=$as_save_IFS
   8168   case $as_dir in #(((
   8169     '') as_dir=./ ;;
   8170     */) ;;
   8171     *) as_dir=$as_dir/ ;;
   8172   esac
   8173     for ac_exec_ext in '' $ac_executable_extensions; do
   8174   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8175     ac_cv_prog_ac_ct_LIPO="lipo"
   8176     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8177     break 2
   8178   fi
   8179 done
   8180   done
   8181 IFS=$as_save_IFS
   8182 
   8183 fi ;;
   8184 esac
   8185 fi
   8186 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8187 if test -n "$ac_ct_LIPO"; then
   8188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8189 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8190 else
   8191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8192 printf "%s\n" "no" >&6; }
   8193 fi
   8194 
   8195   if test "x$ac_ct_LIPO" = x; then
   8196     LIPO=":"
   8197   else
   8198     case $cross_compiling:$ac_tool_warned in
   8199 yes:)
   8200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8201 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8202 ac_tool_warned=yes ;;
   8203 esac
   8204     LIPO=$ac_ct_LIPO
   8205   fi
   8206 else
   8207   LIPO="$ac_cv_prog_LIPO"
   8208 fi
   8209 
   8210     if test -n "$ac_tool_prefix"; then
   8211   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8212 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8214 printf %s "checking for $ac_word... " >&6; }
   8215 if test ${ac_cv_prog_OTOOL+y}
   8216 then :
   8217   printf %s "(cached) " >&6
   8218 else case e in #(
   8219   e) if test -n "$OTOOL"; then
   8220   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8221 else
   8222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8223 for as_dir in $PATH
   8224 do
   8225   IFS=$as_save_IFS
   8226   case $as_dir in #(((
   8227     '') as_dir=./ ;;
   8228     */) ;;
   8229     *) as_dir=$as_dir/ ;;
   8230   esac
   8231     for ac_exec_ext in '' $ac_executable_extensions; do
   8232   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8233     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8234     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8235     break 2
   8236   fi
   8237 done
   8238   done
   8239 IFS=$as_save_IFS
   8240 
   8241 fi ;;
   8242 esac
   8243 fi
   8244 OTOOL=$ac_cv_prog_OTOOL
   8245 if test -n "$OTOOL"; then
   8246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8247 printf "%s\n" "$OTOOL" >&6; }
   8248 else
   8249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8250 printf "%s\n" "no" >&6; }
   8251 fi
   8252 
   8253 
   8254 fi
   8255 if test -z "$ac_cv_prog_OTOOL"; then
   8256   ac_ct_OTOOL=$OTOOL
   8257   # Extract the first word of "otool", so it can be a program name with args.
   8258 set dummy otool; ac_word=$2
   8259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8260 printf %s "checking for $ac_word... " >&6; }
   8261 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8262 then :
   8263   printf %s "(cached) " >&6
   8264 else case e in #(
   8265   e) if test -n "$ac_ct_OTOOL"; then
   8266   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8267 else
   8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8269 for as_dir in $PATH
   8270 do
   8271   IFS=$as_save_IFS
   8272   case $as_dir in #(((
   8273     '') as_dir=./ ;;
   8274     */) ;;
   8275     *) as_dir=$as_dir/ ;;
   8276   esac
   8277     for ac_exec_ext in '' $ac_executable_extensions; do
   8278   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8279     ac_cv_prog_ac_ct_OTOOL="otool"
   8280     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8281     break 2
   8282   fi
   8283 done
   8284   done
   8285 IFS=$as_save_IFS
   8286 
   8287 fi ;;
   8288 esac
   8289 fi
   8290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8291 if test -n "$ac_ct_OTOOL"; then
   8292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8293 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8294 else
   8295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8296 printf "%s\n" "no" >&6; }
   8297 fi
   8298 
   8299   if test "x$ac_ct_OTOOL" = x; then
   8300     OTOOL=":"
   8301   else
   8302     case $cross_compiling:$ac_tool_warned in
   8303 yes:)
   8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8305 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8306 ac_tool_warned=yes ;;
   8307 esac
   8308     OTOOL=$ac_ct_OTOOL
   8309   fi
   8310 else
   8311   OTOOL="$ac_cv_prog_OTOOL"
   8312 fi
   8313 
   8314     if test -n "$ac_tool_prefix"; then
   8315   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8316 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8318 printf %s "checking for $ac_word... " >&6; }
   8319 if test ${ac_cv_prog_OTOOL64+y}
   8320 then :
   8321   printf %s "(cached) " >&6
   8322 else case e in #(
   8323   e) if test -n "$OTOOL64"; then
   8324   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8325 else
   8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8327 for as_dir in $PATH
   8328 do
   8329   IFS=$as_save_IFS
   8330   case $as_dir in #(((
   8331     '') as_dir=./ ;;
   8332     */) ;;
   8333     *) as_dir=$as_dir/ ;;
   8334   esac
   8335     for ac_exec_ext in '' $ac_executable_extensions; do
   8336   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8337     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8338     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8339     break 2
   8340   fi
   8341 done
   8342   done
   8343 IFS=$as_save_IFS
   8344 
   8345 fi ;;
   8346 esac
   8347 fi
   8348 OTOOL64=$ac_cv_prog_OTOOL64
   8349 if test -n "$OTOOL64"; then
   8350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8351 printf "%s\n" "$OTOOL64" >&6; }
   8352 else
   8353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8354 printf "%s\n" "no" >&6; }
   8355 fi
   8356 
   8357 
   8358 fi
   8359 if test -z "$ac_cv_prog_OTOOL64"; then
   8360   ac_ct_OTOOL64=$OTOOL64
   8361   # Extract the first word of "otool64", so it can be a program name with args.
   8362 set dummy otool64; ac_word=$2
   8363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8364 printf %s "checking for $ac_word... " >&6; }
   8365 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8366 then :
   8367   printf %s "(cached) " >&6
   8368 else case e in #(
   8369   e) if test -n "$ac_ct_OTOOL64"; then
   8370   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8371 else
   8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8373 for as_dir in $PATH
   8374 do
   8375   IFS=$as_save_IFS
   8376   case $as_dir in #(((
   8377     '') as_dir=./ ;;
   8378     */) ;;
   8379     *) as_dir=$as_dir/ ;;
   8380   esac
   8381     for ac_exec_ext in '' $ac_executable_extensions; do
   8382   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8383     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8384     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8385     break 2
   8386   fi
   8387 done
   8388   done
   8389 IFS=$as_save_IFS
   8390 
   8391 fi ;;
   8392 esac
   8393 fi
   8394 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8395 if test -n "$ac_ct_OTOOL64"; then
   8396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8397 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8398 else
   8399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8400 printf "%s\n" "no" >&6; }
   8401 fi
   8402 
   8403   if test "x$ac_ct_OTOOL64" = x; then
   8404     OTOOL64=":"
   8405   else
   8406     case $cross_compiling:$ac_tool_warned in
   8407 yes:)
   8408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8409 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8410 ac_tool_warned=yes ;;
   8411 esac
   8412     OTOOL64=$ac_ct_OTOOL64
   8413   fi
   8414 else
   8415   OTOOL64="$ac_cv_prog_OTOOL64"
   8416 fi
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8445 printf %s "checking for -single_module linker flag... " >&6; }
   8446 if test ${lt_cv_apple_cc_single_mod+y}
   8447 then :
   8448   printf %s "(cached) " >&6
   8449 else case e in #(
   8450   e) lt_cv_apple_cc_single_mod=no
   8451       if test -z "$LT_MULTI_MODULE"; then
   8452 	# By default we will add the -single_module flag. You can override
   8453 	# by either setting the environment variable LT_MULTI_MODULE
   8454 	# non-empty at configure time, or by adding -multi_module to the
   8455 	# link flags.
   8456 	rm -rf libconftest.dylib*
   8457 	echo "int foo(void){return 1;}" > conftest.c
   8458 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8459 -dynamiclib -Wl,-single_module conftest.c" >&5
   8460 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8461 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8462         _lt_result=$?
   8463 	# If there is a non-empty error log, and "single_module"
   8464 	# appears in it, assume the flag caused a linker warning
   8465         if test -s conftest.err && $GREP single_module conftest.err; then
   8466 	  cat conftest.err >&5
   8467 	# Otherwise, if the output was created with a 0 exit code from
   8468 	# the compiler, it worked.
   8469 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8470 	  lt_cv_apple_cc_single_mod=yes
   8471 	else
   8472 	  cat conftest.err >&5
   8473 	fi
   8474 	rm -rf libconftest.dylib*
   8475 	rm -f conftest.*
   8476       fi ;;
   8477 esac
   8478 fi
   8479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8480 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8481 
   8482     # Feature test to disable chained fixups since it is not
   8483     # compatible with '-undefined dynamic_lookup'
   8484     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8485 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8486 if test ${lt_cv_support_no_fixup_chains+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else case e in #(
   8490   e)  save_LDFLAGS=$LDFLAGS
   8491         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8492         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 
   8495 int
   8496 main (void)
   8497 {
   8498 
   8499   ;
   8500   return 0;
   8501 }
   8502 _ACEOF
   8503 if ac_fn_c_try_link "$LINENO"
   8504 then :
   8505   lt_cv_support_no_fixup_chains=yes
   8506 else case e in #(
   8507   e) lt_cv_support_no_fixup_chains=no
   8508          ;;
   8509 esac
   8510 fi
   8511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8512     conftest$ac_exeext conftest.$ac_ext
   8513         LDFLAGS=$save_LDFLAGS
   8514 
   8515      ;;
   8516 esac
   8517 fi
   8518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8519 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8520 
   8521     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8522 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8523 if test ${lt_cv_ld_exported_symbols_list+y}
   8524 then :
   8525   printf %s "(cached) " >&6
   8526 else case e in #(
   8527   e) lt_cv_ld_exported_symbols_list=no
   8528       save_LDFLAGS=$LDFLAGS
   8529       echo "_main" > conftest.sym
   8530       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8532 /* end confdefs.h.  */
   8533 
   8534 int
   8535 main (void)
   8536 {
   8537 
   8538   ;
   8539   return 0;
   8540 }
   8541 _ACEOF
   8542 if ac_fn_c_try_link "$LINENO"
   8543 then :
   8544   lt_cv_ld_exported_symbols_list=yes
   8545 else case e in #(
   8546   e) lt_cv_ld_exported_symbols_list=no ;;
   8547 esac
   8548 fi
   8549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8550     conftest$ac_exeext conftest.$ac_ext
   8551 	LDFLAGS=$save_LDFLAGS
   8552      ;;
   8553 esac
   8554 fi
   8555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8556 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8557 
   8558     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8559 printf %s "checking for -force_load linker flag... " >&6; }
   8560 if test ${lt_cv_ld_force_load+y}
   8561 then :
   8562   printf %s "(cached) " >&6
   8563 else case e in #(
   8564   e) lt_cv_ld_force_load=no
   8565       cat > conftest.c << _LT_EOF
   8566 int forced_loaded() { return 2;}
   8567 _LT_EOF
   8568       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8569       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8570       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8571       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8572       echo "$RANLIB libconftest.a" >&5
   8573       $RANLIB libconftest.a 2>&5
   8574       cat > conftest.c << _LT_EOF
   8575 int main(void) { return 0;}
   8576 _LT_EOF
   8577       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8578       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8579       _lt_result=$?
   8580       if test -s conftest.err && $GREP force_load conftest.err; then
   8581 	cat conftest.err >&5
   8582       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8583 	lt_cv_ld_force_load=yes
   8584       else
   8585 	cat conftest.err >&5
   8586       fi
   8587         rm -f conftest.err libconftest.a conftest conftest.c
   8588         rm -rf conftest.dSYM
   8589      ;;
   8590 esac
   8591 fi
   8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8593 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8594     case $host_os in
   8595     rhapsody* | darwin1.[012])
   8596       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8597     darwin1.*)
   8598       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8599     darwin*)
   8600       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8601         10.[012],*|,*powerpc*-darwin[5-8]*)
   8602           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8603         *)
   8604           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8605           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8606             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8607           fi
   8608         ;;
   8609       esac
   8610     ;;
   8611   esac
   8612     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8613       _lt_dar_single_mod='$single_module'
   8614     fi
   8615     _lt_dar_needs_single_mod=no
   8616     case $host_os in
   8617     rhapsody* | darwin1.*)
   8618       _lt_dar_needs_single_mod=yes ;;
   8619     darwin*)
   8620       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8621       # -single_module is the default and -multi_module is unsupported.
   8622       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8623       # target any OS version that needs -single_module.
   8624       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8625       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8626         _lt_dar_needs_single_mod=yes ;;
   8627       esac
   8628     ;;
   8629     esac
   8630     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8631       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8632     else
   8633       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8634     fi
   8635     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8636       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8637     else
   8638       _lt_dsymutil=
   8639     fi
   8640     ;;
   8641   esac
   8642 
   8643 # func_munge_path_list VARIABLE PATH
   8644 # -----------------------------------
   8645 # VARIABLE is name of variable containing _space_ separated list of
   8646 # directories to be munged by the contents of PATH, which is string
   8647 # having a format:
   8648 # "DIR[:DIR]:"
   8649 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8650 # ":DIR[:DIR]"
   8651 #       string "DIR[ DIR]" will be appended to VARIABLE
   8652 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8653 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8654 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8655 # "DIR[:DIR]"
   8656 #       VARIABLE will be replaced by "DIR[ DIR]"
   8657 func_munge_path_list ()
   8658 {
   8659     case x$2 in
   8660     x)
   8661         ;;
   8662     *:)
   8663         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8664         ;;
   8665     x:*)
   8666         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8667         ;;
   8668     *::*)
   8669         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8670         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8671         ;;
   8672     *)
   8673         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8674         ;;
   8675     esac
   8676 }
   8677 
   8678 ac_header= ac_cache=
   8679 for ac_item in $ac_header_c_list
   8680 do
   8681   if test $ac_cache; then
   8682     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8683     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8684       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8685     fi
   8686     ac_header= ac_cache=
   8687   elif test $ac_header; then
   8688     ac_cache=$ac_item
   8689   else
   8690     ac_header=$ac_item
   8691   fi
   8692 done
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8702 then :
   8703 
   8704 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8705 
   8706 fi
   8707 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8708 "
   8709 if test "x$ac_cv_header_dlfcn_h" = xyes
   8710 then :
   8711   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8712 
   8713 fi
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 # Set options
   8720 
   8721 
   8722 
   8723         enable_dlopen=no
   8724 
   8725 
   8726   enable_win32_dll=no
   8727 
   8728 
   8729             # Check whether --enable-shared was given.
   8730 if test ${enable_shared+y}
   8731 then :
   8732   enableval=$enable_shared; p=${PACKAGE-default}
   8733     case $enableval in
   8734     yes) enable_shared=yes ;;
   8735     no) enable_shared=no ;;
   8736     *)
   8737       enable_shared=no
   8738       # Look at the argument we got.  We use all the common list separators.
   8739       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8740       for pkg in $enableval; do
   8741 	IFS=$lt_save_ifs
   8742 	if test "X$pkg" = "X$p"; then
   8743 	  enable_shared=yes
   8744 	fi
   8745       done
   8746       IFS=$lt_save_ifs
   8747       ;;
   8748     esac
   8749 else case e in #(
   8750   e) enable_shared=yes ;;
   8751 esac
   8752 fi
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762   # Check whether --enable-static was given.
   8763 if test ${enable_static+y}
   8764 then :
   8765   enableval=$enable_static; p=${PACKAGE-default}
   8766     case $enableval in
   8767     yes) enable_static=yes ;;
   8768     no) enable_static=no ;;
   8769     *)
   8770      enable_static=no
   8771       # Look at the argument we got.  We use all the common list separators.
   8772       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8773       for pkg in $enableval; do
   8774 	IFS=$lt_save_ifs
   8775 	if test "X$pkg" = "X$p"; then
   8776 	  enable_static=yes
   8777 	fi
   8778       done
   8779       IFS=$lt_save_ifs
   8780       ;;
   8781     esac
   8782 else case e in #(
   8783   e) enable_static=yes ;;
   8784 esac
   8785 fi
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795   # Check whether --enable-pic was given.
   8796 if test ${enable_pic+y}
   8797 then :
   8798   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8799      case $enableval in
   8800      yes|no) pic_mode=$enableval ;;
   8801      *)
   8802        pic_mode=default
   8803        # Look at the argument we got.  We use all the common list separators.
   8804        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8805        for lt_pkg in $enableval; do
   8806 	 IFS=$lt_save_ifs
   8807 	 if test "X$lt_pkg" = "X$lt_p"; then
   8808 	   pic_mode=yes
   8809 	 fi
   8810        done
   8811        IFS=$lt_save_ifs
   8812        ;;
   8813      esac
   8814 else case e in #(
   8815   e)           # Check whether --with-pic was given.
   8816 if test ${with_pic+y}
   8817 then :
   8818   withval=$with_pic; lt_p=${PACKAGE-default}
   8819 	 case $withval in
   8820 	 yes|no) pic_mode=$withval ;;
   8821 	 *)
   8822 	   pic_mode=default
   8823 	   # Look at the argument we got.  We use all the common list separators.
   8824 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8825 	   for lt_pkg in $withval; do
   8826 	     IFS=$lt_save_ifs
   8827 	     if test "X$lt_pkg" = "X$lt_p"; then
   8828 	       pic_mode=yes
   8829 	     fi
   8830 	   done
   8831 	   IFS=$lt_save_ifs
   8832 	   ;;
   8833 	 esac
   8834 else case e in #(
   8835   e) pic_mode=default ;;
   8836 esac
   8837 fi
   8838 
   8839      ;;
   8840 esac
   8841 fi
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850   # Check whether --enable-fast-install was given.
   8851 if test ${enable_fast_install+y}
   8852 then :
   8853   enableval=$enable_fast_install; p=${PACKAGE-default}
   8854     case $enableval in
   8855     yes) enable_fast_install=yes ;;
   8856     no) enable_fast_install=no ;;
   8857     *)
   8858       enable_fast_install=no
   8859       # Look at the argument we got.  We use all the common list separators.
   8860       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8861       for pkg in $enableval; do
   8862 	IFS=$lt_save_ifs
   8863 	if test "X$pkg" = "X$p"; then
   8864 	  enable_fast_install=yes
   8865 	fi
   8866       done
   8867       IFS=$lt_save_ifs
   8868       ;;
   8869     esac
   8870 else case e in #(
   8871   e) enable_fast_install=yes ;;
   8872 esac
   8873 fi
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882   shared_archive_member_spec=
   8883 case $host,$enable_shared in
   8884 power*-*-aix[5-9]*,yes)
   8885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8886 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8887   # Check whether --enable-aix-soname was given.
   8888 if test ${enable_aix_soname+y}
   8889 then :
   8890   enableval=$enable_aix_soname; case $enableval in
   8891      aix|svr4|both)
   8892        ;;
   8893      *)
   8894        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8895        ;;
   8896      esac
   8897      lt_cv_with_aix_soname=$enable_aix_soname
   8898 else case e in #(
   8899   e) # Check whether --with-aix-soname was given.
   8900 if test ${with_aix_soname+y}
   8901 then :
   8902   withval=$with_aix_soname; case $withval in
   8903          aix|svr4|both)
   8904            ;;
   8905          *)
   8906            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8907            ;;
   8908          esac
   8909          lt_cv_with_aix_soname=$with_aix_soname
   8910 else case e in #(
   8911   e) if test ${lt_cv_with_aix_soname+y}
   8912 then :
   8913   printf %s "(cached) " >&6
   8914 else case e in #(
   8915   e) lt_cv_with_aix_soname=aix ;;
   8916 esac
   8917 fi
   8918  ;;
   8919 esac
   8920 fi
   8921 
   8922      enable_aix_soname=$lt_cv_with_aix_soname ;;
   8923 esac
   8924 fi
   8925 
   8926   with_aix_soname=$enable_aix_soname
   8927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8928 printf "%s\n" "$with_aix_soname" >&6; }
   8929   if test aix != "$with_aix_soname"; then
   8930     # For the AIX way of multilib, we name the shared archive member
   8931     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8932     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8933     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8934     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8935     if test 64 = "${OBJECT_MODE-32}"; then
   8936       shared_archive_member_spec=shr_64
   8937     else
   8938       shared_archive_member_spec=shr
   8939     fi
   8940   fi
   8941   ;;
   8942 *)
   8943   with_aix_soname=aix
   8944   ;;
   8945 esac
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 # This can be used to rebuild libtool when needed
   8957 LIBTOOL_DEPS=$ltmain
   8958 
   8959 # Always use our own libtool.
   8960 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 test -z "$LN_S" && LN_S="ln -s"
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 if test -n "${ZSH_VERSION+set}"; then
   9007    setopt NO_GLOB_SUBST
   9008 fi
   9009 
   9010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9011 printf %s "checking for objdir... " >&6; }
   9012 if test ${lt_cv_objdir+y}
   9013 then :
   9014   printf %s "(cached) " >&6
   9015 else case e in #(
   9016   e) rm -f .libs 2>/dev/null
   9017 mkdir .libs 2>/dev/null
   9018 if test -d .libs; then
   9019   lt_cv_objdir=.libs
   9020 else
   9021   # MS-DOS does not allow filenames that begin with a dot.
   9022   lt_cv_objdir=_libs
   9023 fi
   9024 rmdir .libs 2>/dev/null ;;
   9025 esac
   9026 fi
   9027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9028 printf "%s\n" "$lt_cv_objdir" >&6; }
   9029 objdir=$lt_cv_objdir
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9036 
   9037 
   9038 
   9039 
   9040 case $host_os in
   9041 aix3*)
   9042   # AIX sometimes has problems with the GCC collect2 program.  For some
   9043   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9044   # vanish in a puff of smoke.
   9045   if test set != "${COLLECT_NAMES+set}"; then
   9046     COLLECT_NAMES=
   9047     export COLLECT_NAMES
   9048   fi
   9049   ;;
   9050 esac
   9051 
   9052 # Global variables:
   9053 ofile=libtool
   9054 can_build_shared=yes
   9055 
   9056 # All known linkers require a '.a' archive for static linking (except MSVC and
   9057 # ICC, which need '.lib').
   9058 libext=a
   9059 
   9060 with_gnu_ld=$lt_cv_prog_gnu_ld
   9061 
   9062 old_CC=$CC
   9063 old_CFLAGS=$CFLAGS
   9064 
   9065 # Set sane defaults for various variables
   9066 test -z "$CC" && CC=cc
   9067 test -z "$LTCC" && LTCC=$CC
   9068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9069 test -z "$LD" && LD=ld
   9070 test -z "$ac_objext" && ac_objext=o
   9071 
   9072 func_cc_basename $compiler
   9073 cc_basename=$func_cc_basename_result
   9074 
   9075 
   9076 # Only perform the check for file, if the check method requires it
   9077 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9078 case $deplibs_check_method in
   9079 file_magic*)
   9080   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9081     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9082 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9083 if test ${lt_cv_path_MAGIC_CMD+y}
   9084 then :
   9085   printf %s "(cached) " >&6
   9086 else case e in #(
   9087   e) case $MAGIC_CMD in
   9088 [\\/*] |  ?:[\\/]*)
   9089   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9090   ;;
   9091 *)
   9092   lt_save_MAGIC_CMD=$MAGIC_CMD
   9093   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9094   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9095   for ac_dir in $ac_dummy; do
   9096     IFS=$lt_save_ifs
   9097     test -z "$ac_dir" && ac_dir=.
   9098     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9099       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9100       if test -n "$file_magic_test_file"; then
   9101 	case $deplibs_check_method in
   9102 	"file_magic "*)
   9103 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9104 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9105 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9106 	    $EGREP "$file_magic_regex" > /dev/null; then
   9107 	    :
   9108 	  else
   9109 	    cat <<_LT_EOF 1>&2
   9110 
   9111 *** Warning: the command libtool uses to detect shared libraries,
   9112 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9113 *** The result is that libtool may fail to recognize shared libraries
   9114 *** as such.  This will affect the creation of libtool libraries that
   9115 *** depend on shared libraries, but programs linked with such libtool
   9116 *** libraries will work regardless of this problem.  Nevertheless, you
   9117 *** may want to report the problem to your system manager and/or to
   9118 *** bug-libtool@gnu.org
   9119 
   9120 _LT_EOF
   9121 	  fi ;;
   9122 	esac
   9123       fi
   9124       break
   9125     fi
   9126   done
   9127   IFS=$lt_save_ifs
   9128   MAGIC_CMD=$lt_save_MAGIC_CMD
   9129   ;;
   9130 esac ;;
   9131 esac
   9132 fi
   9133 
   9134 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9135 if test -n "$MAGIC_CMD"; then
   9136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9137 printf "%s\n" "$MAGIC_CMD" >&6; }
   9138 else
   9139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9140 printf "%s\n" "no" >&6; }
   9141 fi
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9148   if test -n "$ac_tool_prefix"; then
   9149     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9150 printf %s "checking for file... " >&6; }
   9151 if test ${lt_cv_path_MAGIC_CMD+y}
   9152 then :
   9153   printf %s "(cached) " >&6
   9154 else case e in #(
   9155   e) case $MAGIC_CMD in
   9156 [\\/*] |  ?:[\\/]*)
   9157   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9158   ;;
   9159 *)
   9160   lt_save_MAGIC_CMD=$MAGIC_CMD
   9161   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9162   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9163   for ac_dir in $ac_dummy; do
   9164     IFS=$lt_save_ifs
   9165     test -z "$ac_dir" && ac_dir=.
   9166     if test -f "$ac_dir/file"; then
   9167       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9168       if test -n "$file_magic_test_file"; then
   9169 	case $deplibs_check_method in
   9170 	"file_magic "*)
   9171 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9172 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9173 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9174 	    $EGREP "$file_magic_regex" > /dev/null; then
   9175 	    :
   9176 	  else
   9177 	    cat <<_LT_EOF 1>&2
   9178 
   9179 *** Warning: the command libtool uses to detect shared libraries,
   9180 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9181 *** The result is that libtool may fail to recognize shared libraries
   9182 *** as such.  This will affect the creation of libtool libraries that
   9183 *** depend on shared libraries, but programs linked with such libtool
   9184 *** libraries will work regardless of this problem.  Nevertheless, you
   9185 *** may want to report the problem to your system manager and/or to
   9186 *** bug-libtool@gnu.org
   9187 
   9188 _LT_EOF
   9189 	  fi ;;
   9190 	esac
   9191       fi
   9192       break
   9193     fi
   9194   done
   9195   IFS=$lt_save_ifs
   9196   MAGIC_CMD=$lt_save_MAGIC_CMD
   9197   ;;
   9198 esac ;;
   9199 esac
   9200 fi
   9201 
   9202 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9203 if test -n "$MAGIC_CMD"; then
   9204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9205 printf "%s\n" "$MAGIC_CMD" >&6; }
   9206 else
   9207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9208 printf "%s\n" "no" >&6; }
   9209 fi
   9210 
   9211 
   9212   else
   9213     MAGIC_CMD=:
   9214   fi
   9215 fi
   9216 
   9217   fi
   9218   ;;
   9219 esac
   9220 
   9221 # Use C for the default configuration in the libtool script
   9222 
   9223 lt_save_CC=$CC
   9224 ac_ext=c
   9225 ac_cpp='$CPP $CPPFLAGS'
   9226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9229 
   9230 
   9231 # Source file extension for C test sources.
   9232 ac_ext=c
   9233 
   9234 # Object file extension for compiled C test sources.
   9235 objext=o
   9236 objext=$objext
   9237 
   9238 # Code to be used in simple compile tests
   9239 lt_simple_compile_test_code="int some_variable = 0;"
   9240 
   9241 # Code to be used in simple link tests
   9242 lt_simple_link_test_code='int main(void){return(0);}'
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 # If no C compiler was specified, use CC.
   9251 LTCC=${LTCC-"$CC"}
   9252 
   9253 # If no C compiler flags were specified, use CFLAGS.
   9254 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9255 
   9256 # Allow CC to be a program name with arguments.
   9257 compiler=$CC
   9258 
   9259 # Save the default compiler, since it gets overwritten when the other
   9260 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9261 compiler_DEFAULT=$CC
   9262 
   9263 # save warnings/boilerplate of simple test code
   9264 ac_outfile=conftest.$ac_objext
   9265 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9266 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9267 _lt_compiler_boilerplate=`cat conftest.err`
   9268 $RM conftest*
   9269 
   9270 ac_outfile=conftest.$ac_objext
   9271 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9272 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9273 _lt_linker_boilerplate=`cat conftest.err`
   9274 $RM -r conftest*
   9275 
   9276 
   9277 ## CAVEAT EMPTOR:
   9278 ## There is no encapsulation within the following macros, do not change
   9279 ## the running order or otherwise move them around unless you know exactly
   9280 ## what you are doing...
   9281 if test -n "$compiler"; then
   9282 
   9283 lt_prog_compiler_no_builtin_flag=
   9284 
   9285 if test yes = "$GCC"; then
   9286   case $cc_basename in
   9287   nvcc*)
   9288     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9289   *)
   9290     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9291   esac
   9292 
   9293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9294 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9295 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9296 then :
   9297   printf %s "(cached) " >&6
   9298 else case e in #(
   9299   e) lt_cv_prog_compiler_rtti_exceptions=no
   9300    ac_outfile=conftest.$ac_objext
   9301    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9302    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9303    # Insert the option either (1) after the last *FLAGS variable, or
   9304    # (2) before a word containing "conftest.", or (3) at the end.
   9305    # Note that $ac_compile itself does not contain backslashes and begins
   9306    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9307    # The option is referenced via a variable to avoid confusing sed.
   9308    lt_compile=`echo "$ac_compile" | $SED \
   9309    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9310    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9311    -e 's:$: $lt_compiler_flag:'`
   9312    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9313    (eval "$lt_compile" 2>conftest.err)
   9314    ac_status=$?
   9315    cat conftest.err >&5
   9316    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9317    if (exit $ac_status) && test -s "$ac_outfile"; then
   9318      # The compiler can only warn and ignore the option if not recognized
   9319      # So say no if there are warnings other than the usual output.
   9320      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9321      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9322      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9323        lt_cv_prog_compiler_rtti_exceptions=yes
   9324      fi
   9325    fi
   9326    $RM conftest*
   9327  ;;
   9328 esac
   9329 fi
   9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9331 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9332 
   9333 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9334     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9335 else
   9336     :
   9337 fi
   9338 
   9339 fi
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346   lt_prog_compiler_wl=
   9347 lt_prog_compiler_pic=
   9348 lt_prog_compiler_static=
   9349 
   9350 
   9351   if test yes = "$GCC"; then
   9352     lt_prog_compiler_wl='-Wl,'
   9353     lt_prog_compiler_static='-static'
   9354 
   9355     case $host_os in
   9356       aix*)
   9357       # All AIX code is PIC.
   9358       if test ia64 = "$host_cpu"; then
   9359 	# AIX 5 now supports IA64 processor
   9360 	lt_prog_compiler_static='-Bstatic'
   9361       fi
   9362       lt_prog_compiler_pic='-fPIC'
   9363       ;;
   9364 
   9365     amigaos*)
   9366       case $host_cpu in
   9367       powerpc)
   9368             # see comment about AmigaOS4 .so support
   9369             lt_prog_compiler_pic='-fPIC'
   9370         ;;
   9371       m68k)
   9372             # FIXME: we need at least 68020 code to build shared libraries, but
   9373             # adding the '-m68020' flag to GCC prevents building anything better,
   9374             # like '-m68040'.
   9375             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9376         ;;
   9377       esac
   9378       ;;
   9379 
   9380     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9381       # PIC is the default for these OSes.
   9382       ;;
   9383 
   9384     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9385       # This hack is so that the source file can tell whether it is being
   9386       # built for inclusion in a dll (and should export symbols for example).
   9387       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9388       # (--disable-auto-import) libraries
   9389       lt_prog_compiler_pic='-DDLL_EXPORT'
   9390       case $host_os in
   9391       os2*)
   9392 	lt_prog_compiler_static='$wl-static'
   9393 	;;
   9394       esac
   9395       ;;
   9396 
   9397     darwin* | rhapsody*)
   9398       # PIC is the default on this platform
   9399       # Common symbols not allowed in MH_DYLIB files
   9400       lt_prog_compiler_pic='-fno-common'
   9401       ;;
   9402 
   9403     haiku*)
   9404       # PIC is the default for Haiku.
   9405       # The "-static" flag exists, but is broken.
   9406       lt_prog_compiler_static=
   9407       ;;
   9408 
   9409     hpux*)
   9410       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9411       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9412       # sets the default TLS model and affects inlining.
   9413       case $host_cpu in
   9414       hppa*64*)
   9415 	# +Z the default
   9416 	;;
   9417       *)
   9418 	lt_prog_compiler_pic='-fPIC'
   9419 	;;
   9420       esac
   9421       ;;
   9422 
   9423     interix[3-9]*)
   9424       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9425       # Instead, we relocate shared libraries at runtime.
   9426       ;;
   9427 
   9428     msdosdjgpp*)
   9429       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9430       # on systems that don't support them.
   9431       lt_prog_compiler_can_build_shared=no
   9432       enable_shared=no
   9433       ;;
   9434 
   9435     *nto* | *qnx*)
   9436       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9437       # it will coredump.
   9438       lt_prog_compiler_pic='-fPIC -shared'
   9439       ;;
   9440 
   9441     sysv4*MP*)
   9442       if test -d /usr/nec; then
   9443 	lt_prog_compiler_pic=-Kconform_pic
   9444       fi
   9445       ;;
   9446 
   9447     *)
   9448       lt_prog_compiler_pic='-fPIC'
   9449       ;;
   9450     esac
   9451 
   9452     case $cc_basename in
   9453     nvcc*) # Cuda Compiler Driver 2.2
   9454       lt_prog_compiler_wl='-Xlinker '
   9455       if test -n "$lt_prog_compiler_pic"; then
   9456         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9457       fi
   9458       ;;
   9459     esac
   9460   else
   9461     # PORTME Check for flag to pass linker flags through the system compiler.
   9462     case $host_os in
   9463     aix*)
   9464       lt_prog_compiler_wl='-Wl,'
   9465       if test ia64 = "$host_cpu"; then
   9466 	# AIX 5 now supports IA64 processor
   9467 	lt_prog_compiler_static='-Bstatic'
   9468       else
   9469 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9470       fi
   9471       ;;
   9472 
   9473     darwin* | rhapsody*)
   9474       # PIC is the default on this platform
   9475       # Common symbols not allowed in MH_DYLIB files
   9476       lt_prog_compiler_pic='-fno-common'
   9477       case $cc_basename in
   9478       nagfor*)
   9479         # NAG Fortran compiler
   9480         lt_prog_compiler_wl='-Wl,-Wl,,'
   9481         lt_prog_compiler_pic='-PIC'
   9482         lt_prog_compiler_static='-Bstatic'
   9483         ;;
   9484       esac
   9485       ;;
   9486 
   9487     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9488       # This hack is so that the source file can tell whether it is being
   9489       # built for inclusion in a dll (and should export symbols for example).
   9490       lt_prog_compiler_pic='-DDLL_EXPORT'
   9491       case $host_os in
   9492       os2*)
   9493 	lt_prog_compiler_static='$wl-static'
   9494 	;;
   9495       esac
   9496       ;;
   9497 
   9498     hpux9* | hpux10* | hpux11*)
   9499       lt_prog_compiler_wl='-Wl,'
   9500       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9501       # not for PA HP-UX.
   9502       case $host_cpu in
   9503       hppa*64*|ia64*)
   9504 	# +Z the default
   9505 	;;
   9506       *)
   9507 	lt_prog_compiler_pic='+Z'
   9508 	;;
   9509       esac
   9510       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9511       lt_prog_compiler_static='$wl-a ${wl}archive'
   9512       ;;
   9513 
   9514     irix5* | irix6* | nonstopux*)
   9515       lt_prog_compiler_wl='-Wl,'
   9516       # PIC (with -KPIC) is the default.
   9517       lt_prog_compiler_static='-non_shared'
   9518       ;;
   9519 
   9520     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9521       case $cc_basename in
   9522       # old Intel for x86_64, which still supported -KPIC.
   9523       ecc*)
   9524 	lt_prog_compiler_wl='-Wl,'
   9525 	lt_prog_compiler_pic='-KPIC'
   9526 	lt_prog_compiler_static='-static'
   9527         ;;
   9528       *flang* | ftn | f18* | f95*)
   9529         # Flang compiler.
   9530 	lt_prog_compiler_wl='-Wl,'
   9531 	lt_prog_compiler_pic='-fPIC'
   9532 	lt_prog_compiler_static='-static'
   9533         ;;
   9534       # icc used to be incompatible with GCC.
   9535       # ICC 10 doesn't accept -KPIC any more.
   9536       icc* | ifort*)
   9537 	lt_prog_compiler_wl='-Wl,'
   9538 	lt_prog_compiler_pic='-fPIC'
   9539 	lt_prog_compiler_static='-static'
   9540         ;;
   9541       # Lahey Fortran 8.1.
   9542       lf95*)
   9543 	lt_prog_compiler_wl='-Wl,'
   9544 	lt_prog_compiler_pic='--shared'
   9545 	lt_prog_compiler_static='--static'
   9546 	;;
   9547       nagfor*)
   9548 	# NAG Fortran compiler
   9549 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9550 	lt_prog_compiler_pic='-PIC'
   9551 	lt_prog_compiler_static='-Bstatic'
   9552 	;;
   9553       tcc*)
   9554 	# Fabrice Bellard et al's Tiny C Compiler
   9555 	lt_prog_compiler_wl='-Wl,'
   9556 	lt_prog_compiler_pic='-fPIC'
   9557 	lt_prog_compiler_static='-static'
   9558 	;;
   9559       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9560         # Portland Group compilers (*not* the Pentium gcc compiler,
   9561 	# which looks to be a dead project)
   9562 	lt_prog_compiler_wl='-Wl,'
   9563 	lt_prog_compiler_pic='-fpic'
   9564 	lt_prog_compiler_static='-Bstatic'
   9565         ;;
   9566       ccc*)
   9567         lt_prog_compiler_wl='-Wl,'
   9568         # All Alpha code is PIC.
   9569         lt_prog_compiler_static='-non_shared'
   9570         ;;
   9571       xl* | bgxl* | bgf* | mpixl*)
   9572 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9573 	lt_prog_compiler_wl='-Wl,'
   9574 	lt_prog_compiler_pic='-qpic'
   9575 	lt_prog_compiler_static='-qstaticlink'
   9576 	;;
   9577       *)
   9578 	case `$CC -V 2>&1 | $SED 5q` in
   9579 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9580 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9581 	  lt_prog_compiler_pic='-KPIC'
   9582 	  lt_prog_compiler_static='-Bstatic'
   9583 	  lt_prog_compiler_wl=''
   9584 	  ;;
   9585 	*Sun\ F* | *Sun*Fortran*)
   9586 	  lt_prog_compiler_pic='-KPIC'
   9587 	  lt_prog_compiler_static='-Bstatic'
   9588 	  lt_prog_compiler_wl='-Qoption ld '
   9589 	  ;;
   9590 	*Sun\ C*)
   9591 	  # Sun C 5.9
   9592 	  lt_prog_compiler_pic='-KPIC'
   9593 	  lt_prog_compiler_static='-Bstatic'
   9594 	  lt_prog_compiler_wl='-Wl,'
   9595 	  ;;
   9596         *Intel*\ [CF]*Compiler*)
   9597 	  lt_prog_compiler_wl='-Wl,'
   9598 	  lt_prog_compiler_pic='-fPIC'
   9599 	  lt_prog_compiler_static='-static'
   9600 	  ;;
   9601 	*Portland\ Group*)
   9602 	  lt_prog_compiler_wl='-Wl,'
   9603 	  lt_prog_compiler_pic='-fpic'
   9604 	  lt_prog_compiler_static='-Bstatic'
   9605 	  ;;
   9606 	esac
   9607 	;;
   9608       esac
   9609       ;;
   9610 
   9611     newsos6)
   9612       lt_prog_compiler_pic='-KPIC'
   9613       lt_prog_compiler_static='-Bstatic'
   9614       ;;
   9615 
   9616     *-mlibc)
   9617       lt_prog_compiler_wl='-Wl,'
   9618       lt_prog_compiler_pic='-fPIC'
   9619       lt_prog_compiler_static='-static'
   9620       ;;
   9621 
   9622     *nto* | *qnx*)
   9623       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9624       # it will coredump.
   9625       lt_prog_compiler_pic='-fPIC -shared'
   9626       ;;
   9627 
   9628     osf3* | osf4* | osf5*)
   9629       lt_prog_compiler_wl='-Wl,'
   9630       # All OSF/1 code is PIC.
   9631       lt_prog_compiler_static='-non_shared'
   9632       ;;
   9633 
   9634     rdos*)
   9635       lt_prog_compiler_static='-non_shared'
   9636       ;;
   9637 
   9638     serenity*)
   9639       ;;
   9640 
   9641     solaris*)
   9642       lt_prog_compiler_pic='-KPIC'
   9643       lt_prog_compiler_static='-Bstatic'
   9644       case $cc_basename in
   9645       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9646 	lt_prog_compiler_wl='-Qoption ld ';;
   9647       *)
   9648 	lt_prog_compiler_wl='-Wl,';;
   9649       esac
   9650       ;;
   9651 
   9652     sunos4*)
   9653       lt_prog_compiler_wl='-Qoption ld '
   9654       lt_prog_compiler_pic='-PIC'
   9655       lt_prog_compiler_static='-Bstatic'
   9656       ;;
   9657 
   9658     sysv4 | sysv4.2uw2* | sysv4.3*)
   9659       lt_prog_compiler_wl='-Wl,'
   9660       lt_prog_compiler_pic='-KPIC'
   9661       lt_prog_compiler_static='-Bstatic'
   9662       ;;
   9663 
   9664     sysv4*MP*)
   9665       if test -d /usr/nec; then
   9666 	lt_prog_compiler_pic='-Kconform_pic'
   9667 	lt_prog_compiler_static='-Bstatic'
   9668       fi
   9669       ;;
   9670 
   9671     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9672       lt_prog_compiler_wl='-Wl,'
   9673       lt_prog_compiler_pic='-KPIC'
   9674       lt_prog_compiler_static='-Bstatic'
   9675       ;;
   9676 
   9677     unicos*)
   9678       lt_prog_compiler_wl='-Wl,'
   9679       lt_prog_compiler_can_build_shared=no
   9680       ;;
   9681 
   9682     uts4*)
   9683       lt_prog_compiler_pic='-pic'
   9684       lt_prog_compiler_static='-Bstatic'
   9685       ;;
   9686 
   9687     *)
   9688       lt_prog_compiler_can_build_shared=no
   9689       ;;
   9690     esac
   9691   fi
   9692 
   9693 case $host_os in
   9694   # For platforms that do not support PIC, -DPIC is meaningless:
   9695   *djgpp*)
   9696     lt_prog_compiler_pic=
   9697     ;;
   9698   *)
   9699     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9700     ;;
   9701 esac
   9702 
   9703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9704 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9705 if test ${lt_cv_prog_compiler_pic+y}
   9706 then :
   9707   printf %s "(cached) " >&6
   9708 else case e in #(
   9709   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9710 esac
   9711 fi
   9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9713 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9714 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9715 
   9716 #
   9717 # Check to make sure the PIC flag actually works.
   9718 #
   9719 if test -n "$lt_prog_compiler_pic"; then
   9720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9721 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9722 if test ${lt_cv_prog_compiler_pic_works+y}
   9723 then :
   9724   printf %s "(cached) " >&6
   9725 else case e in #(
   9726   e) lt_cv_prog_compiler_pic_works=no
   9727    ac_outfile=conftest.$ac_objext
   9728    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9729    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9730    # Insert the option either (1) after the last *FLAGS variable, or
   9731    # (2) before a word containing "conftest.", or (3) at the end.
   9732    # Note that $ac_compile itself does not contain backslashes and begins
   9733    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9734    # The option is referenced via a variable to avoid confusing sed.
   9735    lt_compile=`echo "$ac_compile" | $SED \
   9736    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9737    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9738    -e 's:$: $lt_compiler_flag:'`
   9739    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9740    (eval "$lt_compile" 2>conftest.err)
   9741    ac_status=$?
   9742    cat conftest.err >&5
   9743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9744    if (exit $ac_status) && test -s "$ac_outfile"; then
   9745      # The compiler can only warn and ignore the option if not recognized
   9746      # So say no if there are warnings other than the usual output.
   9747      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9748      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9749      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9750        lt_cv_prog_compiler_pic_works=yes
   9751      fi
   9752    fi
   9753    $RM conftest*
   9754  ;;
   9755 esac
   9756 fi
   9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9758 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9759 
   9760 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9761     case $lt_prog_compiler_pic in
   9762      "" | " "*) ;;
   9763      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9764      esac
   9765 else
   9766     lt_prog_compiler_pic=
   9767      lt_prog_compiler_can_build_shared=no
   9768 fi
   9769 
   9770 fi
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 #
   9783 # Check to make sure the static flag actually works.
   9784 #
   9785 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9787 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9788 if test ${lt_cv_prog_compiler_static_works+y}
   9789 then :
   9790   printf %s "(cached) " >&6
   9791 else case e in #(
   9792   e) lt_cv_prog_compiler_static_works=no
   9793    save_LDFLAGS=$LDFLAGS
   9794    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9795    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9796    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9797      # The linker can only warn and ignore the option if not recognized
   9798      # So say no if there are warnings
   9799      if test -s conftest.err; then
   9800        # Append any errors to the config.log.
   9801        cat conftest.err 1>&5
   9802        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9803        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9804        if diff conftest.exp conftest.er2 >/dev/null; then
   9805          lt_cv_prog_compiler_static_works=yes
   9806        fi
   9807      else
   9808        lt_cv_prog_compiler_static_works=yes
   9809      fi
   9810    fi
   9811    $RM -r conftest*
   9812    LDFLAGS=$save_LDFLAGS
   9813  ;;
   9814 esac
   9815 fi
   9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9817 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9818 
   9819 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9820     :
   9821 else
   9822     lt_prog_compiler_static=
   9823 fi
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9832 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9833 if test ${lt_cv_prog_compiler_c_o+y}
   9834 then :
   9835   printf %s "(cached) " >&6
   9836 else case e in #(
   9837   e) lt_cv_prog_compiler_c_o=no
   9838    $RM -r conftest 2>/dev/null
   9839    mkdir conftest
   9840    cd conftest
   9841    mkdir out
   9842    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9843 
   9844    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9845    # Insert the option either (1) after the last *FLAGS variable, or
   9846    # (2) before a word containing "conftest.", or (3) at the end.
   9847    # Note that $ac_compile itself does not contain backslashes and begins
   9848    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9849    lt_compile=`echo "$ac_compile" | $SED \
   9850    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9851    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9852    -e 's:$: $lt_compiler_flag:'`
   9853    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9854    (eval "$lt_compile" 2>out/conftest.err)
   9855    ac_status=$?
   9856    cat out/conftest.err >&5
   9857    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9858    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9859    then
   9860      # The compiler can only warn and ignore the option if not recognized
   9861      # So say no if there are warnings
   9862      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9863      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9864      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9865        lt_cv_prog_compiler_c_o=yes
   9866      fi
   9867    fi
   9868    chmod u+w . 2>&5
   9869    $RM conftest*
   9870    # SGI C++ compiler will create directory out/ii_files/ for
   9871    # template instantiation
   9872    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9873    $RM out/* && rmdir out
   9874    cd ..
   9875    $RM -r conftest
   9876    $RM conftest*
   9877  ;;
   9878 esac
   9879 fi
   9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9881 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9889 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9890 if test ${lt_cv_prog_compiler_c_o+y}
   9891 then :
   9892   printf %s "(cached) " >&6
   9893 else case e in #(
   9894   e) lt_cv_prog_compiler_c_o=no
   9895    $RM -r conftest 2>/dev/null
   9896    mkdir conftest
   9897    cd conftest
   9898    mkdir out
   9899    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9900 
   9901    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9902    # Insert the option either (1) after the last *FLAGS variable, or
   9903    # (2) before a word containing "conftest.", or (3) at the end.
   9904    # Note that $ac_compile itself does not contain backslashes and begins
   9905    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9906    lt_compile=`echo "$ac_compile" | $SED \
   9907    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9908    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9909    -e 's:$: $lt_compiler_flag:'`
   9910    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9911    (eval "$lt_compile" 2>out/conftest.err)
   9912    ac_status=$?
   9913    cat out/conftest.err >&5
   9914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9915    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9916    then
   9917      # The compiler can only warn and ignore the option if not recognized
   9918      # So say no if there are warnings
   9919      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9920      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9921      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9922        lt_cv_prog_compiler_c_o=yes
   9923      fi
   9924    fi
   9925    chmod u+w . 2>&5
   9926    $RM conftest*
   9927    # SGI C++ compiler will create directory out/ii_files/ for
   9928    # template instantiation
   9929    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9930    $RM out/* && rmdir out
   9931    cd ..
   9932    $RM -r conftest
   9933    $RM conftest*
   9934  ;;
   9935 esac
   9936 fi
   9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9938 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9939 
   9940 
   9941 
   9942 
   9943 hard_links=nottested
   9944 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9945   # do not overwrite the value of need_locks provided by the user
   9946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9947 printf %s "checking if we can lock with hard links... " >&6; }
   9948   hard_links=yes
   9949   $RM conftest*
   9950   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9951   touch conftest.a
   9952   ln conftest.a conftest.b 2>&5 || hard_links=no
   9953   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9955 printf "%s\n" "$hard_links" >&6; }
   9956   if test no = "$hard_links"; then
   9957     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9958 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9959     need_locks=warn
   9960   fi
   9961 else
   9962   need_locks=no
   9963 fi
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9971 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9972 
   9973   runpath_var=
   9974   allow_undefined_flag=
   9975   always_export_symbols=no
   9976   archive_cmds=
   9977   archive_expsym_cmds=
   9978   compiler_needs_object=no
   9979   enable_shared_with_static_runtimes=no
   9980   export_dynamic_flag_spec=
   9981   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9982   hardcode_automatic=no
   9983   hardcode_direct=no
   9984   hardcode_direct_absolute=no
   9985   hardcode_libdir_flag_spec=
   9986   hardcode_libdir_separator=
   9987   hardcode_minus_L=no
   9988   hardcode_shlibpath_var=unsupported
   9989   inherit_rpath=no
   9990   link_all_deplibs=unknown
   9991   module_cmds=
   9992   module_expsym_cmds=
   9993   old_archive_from_new_cmds=
   9994   old_archive_from_expsyms_cmds=
   9995   thread_safe_flag_spec=
   9996   whole_archive_flag_spec=
   9997   # include_expsyms should be a list of space-separated symbols to be *always*
   9998   # included in the symbol list
   9999   include_expsyms=
   10000   # exclude_expsyms can be an extended regexp of symbols to exclude
   10001   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10002   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10003   # as well as any symbol that contains 'd'.
   10004   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10005   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10006   # platforms (ab)use it in PIC code, but their linkers get confused if
   10007   # the symbol is explicitly referenced.  Since portable code cannot
   10008   # rely on this symbol name, it's probably fine to never include it in
   10009   # preloaded symbol tables.
   10010   # Exclude shared library initialization/finalization symbols.
   10011   extract_expsyms_cmds=
   10012 
   10013   case $host_os in
   10014   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10015     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10016     # When not using gcc, we currently assume that we are using
   10017     # Microsoft Visual C++ or Intel C++ Compiler.
   10018     if test yes != "$GCC"; then
   10019       with_gnu_ld=no
   10020     fi
   10021     ;;
   10022   interix*)
   10023     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10024     with_gnu_ld=yes
   10025     ;;
   10026   esac
   10027 
   10028   ld_shlibs=yes
   10029 
   10030   # On some targets, GNU ld is compatible enough with the native linker
   10031   # that we're better off using the native interface for both.
   10032   lt_use_gnu_ld_interface=no
   10033   if test yes = "$with_gnu_ld"; then
   10034     case $host_os in
   10035       aix*)
   10036 	# The AIX port of GNU ld has always aspired to compatibility
   10037 	# with the native linker.  However, as the warning in the GNU ld
   10038 	# block says, versions before 2.19.5* couldn't really create working
   10039 	# shared libraries, regardless of the interface used.
   10040 	case `$LD -v 2>&1` in
   10041 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10042 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10043 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10044 	  *)
   10045 	    lt_use_gnu_ld_interface=yes
   10046 	    ;;
   10047 	esac
   10048 	;;
   10049       *)
   10050 	lt_use_gnu_ld_interface=yes
   10051 	;;
   10052     esac
   10053   fi
   10054 
   10055   if test yes = "$lt_use_gnu_ld_interface"; then
   10056     # If archive_cmds runs LD, not CC, wlarc should be empty
   10057     wlarc='$wl'
   10058 
   10059     # Set some defaults for GNU ld with shared library support. These
   10060     # are reset later if shared libraries are not supported. Putting them
   10061     # here allows them to be overridden if necessary.
   10062     runpath_var=LD_RUN_PATH
   10063     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10064     export_dynamic_flag_spec='$wl--export-dynamic'
   10065     # ancient GNU ld didn't support --whole-archive et. al.
   10066     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10067       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10068     else
   10069       whole_archive_flag_spec=
   10070     fi
   10071     supports_anon_versioning=no
   10072     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10073       *GNU\ gold*) supports_anon_versioning=yes ;;
   10074       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10075       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10076       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10077       *\ 2.11.*) ;; # other 2.11 versions
   10078       *) supports_anon_versioning=yes ;;
   10079     esac
   10080 
   10081     # See if GNU ld supports shared libraries.
   10082     case $host_os in
   10083     aix[3-9]*)
   10084       # On AIX/PPC, the GNU linker is very broken
   10085       if test ia64 != "$host_cpu"; then
   10086 	ld_shlibs=no
   10087 	cat <<_LT_EOF 1>&2
   10088 
   10089 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10090 *** to be unable to reliably create shared libraries on AIX.
   10091 *** Therefore, libtool is disabling shared libraries support.  If you
   10092 *** really care for shared libraries, you may want to install binutils
   10093 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10094 *** You will then need to restart the configuration process.
   10095 
   10096 _LT_EOF
   10097       fi
   10098       ;;
   10099 
   10100     amigaos*)
   10101       case $host_cpu in
   10102       powerpc)
   10103             # see comment about AmigaOS4 .so support
   10104             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10105             archive_expsym_cmds=''
   10106         ;;
   10107       m68k)
   10108             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)'
   10109             hardcode_libdir_flag_spec='-L$libdir'
   10110             hardcode_minus_L=yes
   10111         ;;
   10112       esac
   10113       ;;
   10114 
   10115     beos*)
   10116       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10117 	allow_undefined_flag=unsupported
   10118 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10119 	# support --undefined.  This deserves some investigation.  FIXME
   10120 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10121       else
   10122 	ld_shlibs=no
   10123       fi
   10124       ;;
   10125 
   10126     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10127       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10128       # as there is no search path for DLLs.
   10129       hardcode_libdir_flag_spec='-L$libdir'
   10130       export_dynamic_flag_spec='$wl--export-all-symbols'
   10131       allow_undefined_flag=unsupported
   10132       always_export_symbols=no
   10133       enable_shared_with_static_runtimes=yes
   10134       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'
   10135       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10136       file_list_spec='@'
   10137 
   10138       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10139         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10140 	# If the export-symbols file already is a .def file, use it as
   10141 	# is; otherwise, prepend EXPORTS...
   10142 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10143           cp $export_symbols $output_objdir/$soname.def;
   10144         else
   10145           echo EXPORTS > $output_objdir/$soname.def;
   10146           cat $export_symbols >> $output_objdir/$soname.def;
   10147         fi~
   10148         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10149       else
   10150 	ld_shlibs=no
   10151       fi
   10152       ;;
   10153 
   10154     haiku*)
   10155       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10156       link_all_deplibs=no
   10157       ;;
   10158 
   10159     os2*)
   10160       hardcode_libdir_flag_spec='-L$libdir'
   10161       hardcode_minus_L=yes
   10162       allow_undefined_flag=unsupported
   10163       shrext_cmds=.dll
   10164       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10165 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10166 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10167 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10168 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10169 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10170 	emximp -o $lib $output_objdir/$libname.def'
   10171       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10172 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10173 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10174 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10175 	prefix_cmds="$SED"~
   10176 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10177 	  prefix_cmds="$prefix_cmds -e 1d";
   10178 	fi~
   10179 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10180 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10181 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10182 	emximp -o $lib $output_objdir/$libname.def'
   10183       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10184       enable_shared_with_static_runtimes=yes
   10185       file_list_spec='@'
   10186       ;;
   10187 
   10188     interix[3-9]*)
   10189       hardcode_direct=no
   10190       hardcode_shlibpath_var=no
   10191       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10192       export_dynamic_flag_spec='$wl-E'
   10193       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10194       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10195       # default) and relocated if they conflict, which is a slow very memory
   10196       # consuming and fragmenting process.  To avoid this, we pick a random,
   10197       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10198       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10199       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10200       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'
   10201       ;;
   10202 
   10203     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10204       tmp_diet=no
   10205       if test linux-dietlibc = "$host_os"; then
   10206 	case $cc_basename in
   10207 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10208 	esac
   10209       fi
   10210       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10211 	 && test no = "$tmp_diet"
   10212       then
   10213 	tmp_addflag=' $pic_flag'
   10214 	tmp_sharedflag='-shared'
   10215 	case $cc_basename,$host_cpu in
   10216         pgcc*)				# Portland Group C compiler
   10217 	  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'
   10218 	  tmp_addflag=' $pic_flag'
   10219 	  ;;
   10220 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10221 					# Portland Group f77 and f90 compilers
   10222 	  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'
   10223 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10224 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10225 	  tmp_addflag=' -i_dynamic' ;;
   10226 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10227 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10228 	ifc* | ifort*)			# Intel Fortran compiler
   10229 	  tmp_addflag=' -nofor_main' ;;
   10230 	lf95*)				# Lahey Fortran 8.1
   10231 	  whole_archive_flag_spec=
   10232 	  tmp_sharedflag='--shared' ;;
   10233         nagfor*)                        # NAGFOR 5.3
   10234           tmp_sharedflag='-Wl,-shared' ;;
   10235 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10236 	  tmp_sharedflag='-qmkshrobj'
   10237 	  tmp_addflag= ;;
   10238 	nvcc*)	# Cuda Compiler Driver 2.2
   10239 	  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'
   10240 	  compiler_needs_object=yes
   10241 	  ;;
   10242 	esac
   10243 	case `$CC -V 2>&1 | $SED 5q` in
   10244 	*Sun\ C*)			# Sun C 5.9
   10245 	  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'
   10246 	  compiler_needs_object=yes
   10247 	  tmp_sharedflag='-G' ;;
   10248 	*Sun\ F*)			# Sun Fortran 8.3
   10249 	  tmp_sharedflag='-G' ;;
   10250 	esac
   10251 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10252 
   10253         if test yes = "$supports_anon_versioning"; then
   10254           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10255             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10256             echo "local: *; };" >> $output_objdir/$libname.ver~
   10257             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10258         fi
   10259 
   10260 	case $cc_basename in
   10261 	tcc*)
   10262 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10263 	  export_dynamic_flag_spec='-rdynamic'
   10264 	  ;;
   10265 	xlf* | bgf* | bgxlf* | mpixlf*)
   10266 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10267 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10268 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10269 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10270 	  if test yes = "$supports_anon_versioning"; then
   10271 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10272               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10273               echo "local: *; };" >> $output_objdir/$libname.ver~
   10274               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10275 	  fi
   10276 	  ;;
   10277 	esac
   10278       else
   10279         ld_shlibs=no
   10280       fi
   10281       ;;
   10282 
   10283     *-mlibc)
   10284 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10285 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10286       ;;
   10287 
   10288     netbsd* | netbsdelf*-gnu)
   10289       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10290 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10291 	wlarc=
   10292       else
   10293 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10294 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10295       fi
   10296       ;;
   10297 
   10298     solaris*)
   10299       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10300 	ld_shlibs=no
   10301 	cat <<_LT_EOF 1>&2
   10302 
   10303 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10304 *** create shared libraries on Solaris systems.  Therefore, libtool
   10305 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10306 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10307 *** your PATH or compiler configuration so that the native linker is
   10308 *** used, and then restart.
   10309 
   10310 _LT_EOF
   10311       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10312 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10313 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10314       else
   10315 	ld_shlibs=no
   10316       fi
   10317       ;;
   10318 
   10319     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10320       case `$LD -v 2>&1` in
   10321         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10322 	ld_shlibs=no
   10323 	cat <<_LT_EOF 1>&2
   10324 
   10325 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10326 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10327 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10328 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10329 *** your PATH or compiler configuration so that the native linker is
   10330 *** used, and then restart.
   10331 
   10332 _LT_EOF
   10333 	;;
   10334 	*)
   10335 	  # For security reasons, it is highly recommended that you always
   10336 	  # use absolute paths for naming shared libraries, and exclude the
   10337 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10338 	  # requires that you compile everything twice, which is a pain.
   10339 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10340 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10341 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10342 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10343 	  else
   10344 	    ld_shlibs=no
   10345 	  fi
   10346 	;;
   10347       esac
   10348       ;;
   10349 
   10350     sunos4*)
   10351       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10352       wlarc=
   10353       hardcode_direct=yes
   10354       hardcode_shlibpath_var=no
   10355       ;;
   10356 
   10357     *)
   10358       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10359 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10360 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10361       else
   10362 	ld_shlibs=no
   10363       fi
   10364       ;;
   10365     esac
   10366 
   10367     if test no = "$ld_shlibs"; then
   10368       runpath_var=
   10369       hardcode_libdir_flag_spec=
   10370       export_dynamic_flag_spec=
   10371       whole_archive_flag_spec=
   10372     fi
   10373   else
   10374     # PORTME fill in a description of your system's linker (not GNU ld)
   10375     case $host_os in
   10376     aix3*)
   10377       allow_undefined_flag=unsupported
   10378       always_export_symbols=yes
   10379       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'
   10380       # Note: this linker hardcodes the directories in LIBPATH if there
   10381       # are no directories specified by -L.
   10382       hardcode_minus_L=yes
   10383       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10384 	# Neither direct hardcoding nor static linking is supported with a
   10385 	# broken collect2.
   10386 	hardcode_direct=unsupported
   10387       fi
   10388       ;;
   10389 
   10390     aix[4-9]*)
   10391       if test ia64 = "$host_cpu"; then
   10392 	# On IA64, the linker does run time linking by default, so we don't
   10393 	# have to do anything special.
   10394 	aix_use_runtimelinking=no
   10395 	exp_sym_flag='-Bexport'
   10396 	no_entry_flag=
   10397       else
   10398 	# If we're using GNU nm, then we don't want the "-C" option.
   10399 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10400 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10401 	# weak defined symbols like other global defined symbols, whereas
   10402 	# GNU nm marks them as "W".
   10403 	# While the 'weak' keyword is ignored in the Export File, we need
   10404 	# it in the Import File for the 'aix-soname' feature, so we have
   10405 	# to replace the "-B" option with "-P" for AIX nm.
   10406 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10407 	  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'
   10408 	else
   10409 	  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'
   10410 	fi
   10411 	aix_use_runtimelinking=no
   10412 
   10413 	# Test if we are trying to use run time linking or normal
   10414 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10415 	# have runtime linking enabled, and use it for executables.
   10416 	# For shared libraries, we enable/disable runtime linking
   10417 	# depending on the kind of the shared library created -
   10418 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10419 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10420 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10421 	#            lib.a           static archive
   10422 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10423 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10424 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10425 	#            lib.a(lib.so.V) shared, rtl:no
   10426 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10427 	#            lib.a           static archive
   10428 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10429 	  for ld_flag in $LDFLAGS; do
   10430 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10431 	    aix_use_runtimelinking=yes
   10432 	    break
   10433 	  fi
   10434 	  done
   10435 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10436 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10437 	    # so we don't have lib.a shared libs to link our executables.
   10438 	    # We have to force runtime linking in this case.
   10439 	    aix_use_runtimelinking=yes
   10440 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10441 	  fi
   10442 	  ;;
   10443 	esac
   10444 
   10445 	exp_sym_flag='-bexport'
   10446 	no_entry_flag='-bnoentry'
   10447       fi
   10448 
   10449       # When large executables or shared objects are built, AIX ld can
   10450       # have problems creating the table of contents.  If linking a library
   10451       # or program results in "error TOC overflow" add -mminimal-toc to
   10452       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10453       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10454 
   10455       archive_cmds=''
   10456       hardcode_direct=yes
   10457       hardcode_direct_absolute=yes
   10458       hardcode_libdir_separator=':'
   10459       link_all_deplibs=yes
   10460       file_list_spec='$wl-f,'
   10461       case $with_aix_soname,$aix_use_runtimelinking in
   10462       aix,*) ;; # traditional, no import file
   10463       svr4,* | *,yes) # use import file
   10464 	# The Import File defines what to hardcode.
   10465 	hardcode_direct=no
   10466 	hardcode_direct_absolute=no
   10467 	;;
   10468       esac
   10469 
   10470       if test yes = "$GCC"; then
   10471 	case $host_os in aix4.[012]|aix4.[012].*)
   10472 	# We only want to do this on AIX 4.2 and lower, the check
   10473 	# below for broken collect2 doesn't work under 4.3+
   10474 	  collect2name=`$CC -print-prog-name=collect2`
   10475 	  if test -f "$collect2name" &&
   10476 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10477 	  then
   10478 	  # We have reworked collect2
   10479 	  :
   10480 	  else
   10481 	  # We have old collect2
   10482 	  hardcode_direct=unsupported
   10483 	  # It fails to find uninstalled libraries when the uninstalled
   10484 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10485 	  # to unsupported forces relinking
   10486 	  hardcode_minus_L=yes
   10487 	  hardcode_libdir_flag_spec='-L$libdir'
   10488 	  hardcode_libdir_separator=
   10489 	  fi
   10490 	  ;;
   10491 	esac
   10492 	shared_flag='-shared'
   10493 	if test yes = "$aix_use_runtimelinking"; then
   10494 	  shared_flag="$shared_flag "'$wl-G'
   10495 	fi
   10496 	# Need to ensure runtime linking is disabled for the traditional
   10497 	# shared library, or the linker may eventually find shared libraries
   10498 	# /with/ Import File - we do not want to mix them.
   10499 	shared_flag_aix='-shared'
   10500 	shared_flag_svr4='-shared $wl-G'
   10501       else
   10502 	# not using gcc
   10503 	if test ia64 = "$host_cpu"; then
   10504 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10505 	# chokes on -Wl,-G. The following line is correct:
   10506 	  shared_flag='-G'
   10507 	else
   10508 	  if test yes = "$aix_use_runtimelinking"; then
   10509 	    shared_flag='$wl-G'
   10510 	  else
   10511 	    shared_flag='$wl-bM:SRE'
   10512 	  fi
   10513 	  shared_flag_aix='$wl-bM:SRE'
   10514 	  shared_flag_svr4='$wl-G'
   10515 	fi
   10516       fi
   10517 
   10518       export_dynamic_flag_spec='$wl-bexpall'
   10519       # It seems that -bexpall does not export symbols beginning with
   10520       # underscore (_), so it is better to generate a list of symbols to export.
   10521       always_export_symbols=yes
   10522       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10523 	# Warning - without using the other runtime loading flags (-brtl),
   10524 	# -berok will link without error, but may produce a broken library.
   10525 	allow_undefined_flag='-berok'
   10526         # Determine the default libpath from the value encoded in an
   10527         # empty executable.
   10528         if test set = "${lt_cv_aix_libpath+set}"; then
   10529   aix_libpath=$lt_cv_aix_libpath
   10530 else
   10531   if test ${lt_cv_aix_libpath_+y}
   10532 then :
   10533   printf %s "(cached) " >&6
   10534 else case e in #(
   10535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10536 /* end confdefs.h.  */
   10537 
   10538 int
   10539 main (void)
   10540 {
   10541 
   10542   ;
   10543   return 0;
   10544 }
   10545 _ACEOF
   10546 if ac_fn_c_try_link "$LINENO"
   10547 then :
   10548 
   10549   lt_aix_libpath_sed='
   10550       /Import File Strings/,/^$/ {
   10551 	  /^0/ {
   10552 	      s/^0  *\([^ ]*\) *$/\1/
   10553 	      p
   10554 	  }
   10555       }'
   10556   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10557   # Check for a 64-bit object if we didn't find anything.
   10558   if test -z "$lt_cv_aix_libpath_"; then
   10559     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10560   fi
   10561 fi
   10562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10563     conftest$ac_exeext conftest.$ac_ext
   10564   if test -z "$lt_cv_aix_libpath_"; then
   10565     lt_cv_aix_libpath_=/usr/lib:/lib
   10566   fi
   10567    ;;
   10568 esac
   10569 fi
   10570 
   10571   aix_libpath=$lt_cv_aix_libpath_
   10572 fi
   10573 
   10574         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10575         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
   10576       else
   10577 	if test ia64 = "$host_cpu"; then
   10578 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10579 	  allow_undefined_flag="-z nodefs"
   10580 	  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"
   10581 	else
   10582 	 # Determine the default libpath from the value encoded in an
   10583 	 # empty executable.
   10584 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10585   aix_libpath=$lt_cv_aix_libpath
   10586 else
   10587   if test ${lt_cv_aix_libpath_+y}
   10588 then :
   10589   printf %s "(cached) " >&6
   10590 else case e in #(
   10591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10592 /* end confdefs.h.  */
   10593 
   10594 int
   10595 main (void)
   10596 {
   10597 
   10598   ;
   10599   return 0;
   10600 }
   10601 _ACEOF
   10602 if ac_fn_c_try_link "$LINENO"
   10603 then :
   10604 
   10605   lt_aix_libpath_sed='
   10606       /Import File Strings/,/^$/ {
   10607 	  /^0/ {
   10608 	      s/^0  *\([^ ]*\) *$/\1/
   10609 	      p
   10610 	  }
   10611       }'
   10612   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10613   # Check for a 64-bit object if we didn't find anything.
   10614   if test -z "$lt_cv_aix_libpath_"; then
   10615     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10616   fi
   10617 fi
   10618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10619     conftest$ac_exeext conftest.$ac_ext
   10620   if test -z "$lt_cv_aix_libpath_"; then
   10621     lt_cv_aix_libpath_=/usr/lib:/lib
   10622   fi
   10623    ;;
   10624 esac
   10625 fi
   10626 
   10627   aix_libpath=$lt_cv_aix_libpath_
   10628 fi
   10629 
   10630 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10631 	  # Warning - without using the other run time loading flags,
   10632 	  # -berok will link without error, but may produce a broken library.
   10633 	  no_undefined_flag=' $wl-bernotok'
   10634 	  allow_undefined_flag=' $wl-berok'
   10635 	  if test yes = "$with_gnu_ld"; then
   10636 	    # We only use this code for GNU lds that support --whole-archive.
   10637 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10638 	  else
   10639 	    # Exported symbols can be pulled into shared objects from archives
   10640 	    whole_archive_flag_spec='$convenience'
   10641 	  fi
   10642 	  archive_cmds_need_lc=yes
   10643 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10644 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10645 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10646 	  if test svr4 != "$with_aix_soname"; then
   10647 	    # This is similar to how AIX traditionally builds its shared libraries.
   10648 	    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'
   10649 	  fi
   10650 	  if test aix != "$with_aix_soname"; then
   10651 	    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'
   10652 	  else
   10653 	    # used by -dlpreopen to get the symbols
   10654 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10655 	  fi
   10656 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10657 	fi
   10658       fi
   10659       ;;
   10660 
   10661     amigaos*)
   10662       case $host_cpu in
   10663       powerpc)
   10664             # see comment about AmigaOS4 .so support
   10665             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10666             archive_expsym_cmds=''
   10667         ;;
   10668       m68k)
   10669             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)'
   10670             hardcode_libdir_flag_spec='-L$libdir'
   10671             hardcode_minus_L=yes
   10672         ;;
   10673       esac
   10674       ;;
   10675 
   10676     bsdi[45]*)
   10677       export_dynamic_flag_spec=-rdynamic
   10678       ;;
   10679 
   10680     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10681       # When not using gcc, we currently assume that we are using
   10682       # Microsoft Visual C++ or Intel C++ Compiler.
   10683       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10684       # no search path for DLLs.
   10685       case $cc_basename in
   10686       cl* | icl*)
   10687 	# Native MSVC or ICC
   10688 	hardcode_libdir_flag_spec=' '
   10689 	allow_undefined_flag=unsupported
   10690 	always_export_symbols=yes
   10691 	file_list_spec='@'
   10692 	# Tell ltmain to make .lib files, not .a files.
   10693 	libext=lib
   10694 	# Tell ltmain to make .dll files, not .so files.
   10695 	shrext_cmds=.dll
   10696 	# FIXME: Setting linknames here is a bad hack.
   10697 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10698 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10699             cp "$export_symbols" "$output_objdir/$soname.def";
   10700             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10701           else
   10702             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10703           fi~
   10704           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10705           linknames='
   10706 	# The linker will not automatically build a static lib if we build a DLL.
   10707 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10708 	enable_shared_with_static_runtimes=yes
   10709 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10710 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10711 	# Don't use ranlib
   10712 	old_postinstall_cmds='chmod 644 $oldlib'
   10713 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10714           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10715           case $lt_outputfile in
   10716             *.exe|*.EXE) ;;
   10717             *)
   10718               lt_outputfile=$lt_outputfile.exe
   10719               lt_tool_outputfile=$lt_tool_outputfile.exe
   10720               ;;
   10721           esac~
   10722           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10723             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10724             $RM "$lt_outputfile.manifest";
   10725           fi'
   10726 	;;
   10727       *)
   10728 	# Assume MSVC and ICC wrapper
   10729 	hardcode_libdir_flag_spec=' '
   10730 	allow_undefined_flag=unsupported
   10731 	# Tell ltmain to make .lib files, not .a files.
   10732 	libext=lib
   10733 	# Tell ltmain to make .dll files, not .so files.
   10734 	shrext_cmds=.dll
   10735 	# FIXME: Setting linknames here is a bad hack.
   10736 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10737 	# The linker will automatically build a .lib file if we build a DLL.
   10738 	old_archive_from_new_cmds='true'
   10739 	# FIXME: Should let the user specify the lib program.
   10740 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10741 	enable_shared_with_static_runtimes=yes
   10742 	;;
   10743       esac
   10744       ;;
   10745 
   10746     darwin* | rhapsody*)
   10747 
   10748 
   10749   archive_cmds_need_lc=no
   10750   hardcode_direct=no
   10751   hardcode_automatic=yes
   10752   hardcode_shlibpath_var=unsupported
   10753   if test yes = "$lt_cv_ld_force_load"; then
   10754     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\"`'
   10755 
   10756   else
   10757     whole_archive_flag_spec=''
   10758   fi
   10759   link_all_deplibs=yes
   10760   allow_undefined_flag=$_lt_dar_allow_undefined
   10761   case $cc_basename in
   10762      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10763      *) _lt_dar_can_shared=$GCC ;;
   10764   esac
   10765   if test yes = "$_lt_dar_can_shared"; then
   10766     output_verbose_link_cmd=func_echo_all
   10767     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10768     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10769     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"
   10770     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"
   10771 
   10772   else
   10773   ld_shlibs=no
   10774   fi
   10775 
   10776       ;;
   10777 
   10778     dgux*)
   10779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10780       hardcode_libdir_flag_spec='-L$libdir'
   10781       hardcode_shlibpath_var=no
   10782       ;;
   10783 
   10784     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10785     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10786     # does not break anything, and helps significantly (at the cost of a little
   10787     # extra space).
   10788     freebsd2.2*)
   10789       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10790       hardcode_libdir_flag_spec='-R$libdir'
   10791       hardcode_direct=yes
   10792       hardcode_shlibpath_var=no
   10793       ;;
   10794 
   10795     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10796     freebsd2.*)
   10797       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10798       hardcode_direct=yes
   10799       hardcode_minus_L=yes
   10800       hardcode_shlibpath_var=no
   10801       ;;
   10802 
   10803     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10804     freebsd* | dragonfly* | midnightbsd*)
   10805       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10806       hardcode_libdir_flag_spec='-R$libdir'
   10807       hardcode_direct=yes
   10808       hardcode_shlibpath_var=no
   10809       ;;
   10810 
   10811     hpux9*)
   10812       if test yes = "$GCC"; then
   10813 	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'
   10814       else
   10815 	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'
   10816       fi
   10817       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10818       hardcode_libdir_separator=:
   10819       hardcode_direct=yes
   10820 
   10821       # hardcode_minus_L: Not really in the search PATH,
   10822       # but as the default location of the library.
   10823       hardcode_minus_L=yes
   10824       export_dynamic_flag_spec='$wl-E'
   10825       ;;
   10826 
   10827     hpux10*)
   10828       if test yes,no = "$GCC,$with_gnu_ld"; then
   10829 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10830       else
   10831 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10832       fi
   10833       if test no = "$with_gnu_ld"; then
   10834 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10835 	hardcode_libdir_separator=:
   10836 	hardcode_direct=yes
   10837 	hardcode_direct_absolute=yes
   10838 	export_dynamic_flag_spec='$wl-E'
   10839 	# hardcode_minus_L: Not really in the search PATH,
   10840 	# but as the default location of the library.
   10841 	hardcode_minus_L=yes
   10842       fi
   10843       ;;
   10844 
   10845     hpux11*)
   10846       if test yes,no = "$GCC,$with_gnu_ld"; then
   10847 	case $host_cpu in
   10848 	hppa*64*)
   10849 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10850 	  ;;
   10851 	ia64*)
   10852 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10853 	  ;;
   10854 	*)
   10855 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10856 	  ;;
   10857 	esac
   10858       else
   10859 	case $host_cpu in
   10860 	hppa*64*)
   10861 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10862 	  ;;
   10863 	ia64*)
   10864 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10865 	  ;;
   10866 	*)
   10867 
   10868 	  # Older versions of the 11.00 compiler do not understand -b yet
   10869 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10870 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10871 printf %s "checking if $CC understands -b... " >&6; }
   10872 if test ${lt_cv_prog_compiler__b+y}
   10873 then :
   10874   printf %s "(cached) " >&6
   10875 else case e in #(
   10876   e) lt_cv_prog_compiler__b=no
   10877    save_LDFLAGS=$LDFLAGS
   10878    LDFLAGS="$LDFLAGS -b"
   10879    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10880    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10881      # The linker can only warn and ignore the option if not recognized
   10882      # So say no if there are warnings
   10883      if test -s conftest.err; then
   10884        # Append any errors to the config.log.
   10885        cat conftest.err 1>&5
   10886        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10887        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10888        if diff conftest.exp conftest.er2 >/dev/null; then
   10889          lt_cv_prog_compiler__b=yes
   10890        fi
   10891      else
   10892        lt_cv_prog_compiler__b=yes
   10893      fi
   10894    fi
   10895    $RM -r conftest*
   10896    LDFLAGS=$save_LDFLAGS
   10897  ;;
   10898 esac
   10899 fi
   10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10901 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10902 
   10903 if test yes = "$lt_cv_prog_compiler__b"; then
   10904     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10905 else
   10906     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10907 fi
   10908 
   10909 	  ;;
   10910 	esac
   10911       fi
   10912       if test no = "$with_gnu_ld"; then
   10913 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10914 	hardcode_libdir_separator=:
   10915 
   10916 	case $host_cpu in
   10917 	hppa*64*|ia64*)
   10918 	  hardcode_direct=no
   10919 	  hardcode_shlibpath_var=no
   10920 	  ;;
   10921 	*)
   10922 	  hardcode_direct=yes
   10923 	  hardcode_direct_absolute=yes
   10924 	  export_dynamic_flag_spec='$wl-E'
   10925 
   10926 	  # hardcode_minus_L: Not really in the search PATH,
   10927 	  # but as the default location of the library.
   10928 	  hardcode_minus_L=yes
   10929 	  ;;
   10930 	esac
   10931       fi
   10932       ;;
   10933 
   10934     irix5* | irix6* | nonstopux*)
   10935       if test yes = "$GCC"; then
   10936 	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'
   10937 	# Try to use the -exported_symbol ld option, if it does not
   10938 	# work, assume that -exports_file does not work either and
   10939 	# implicitly export all symbols.
   10940 	# This should be the same for all languages, so no per-tag cache variable.
   10941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10942 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10943 if test ${lt_cv_irix_exported_symbol+y}
   10944 then :
   10945   printf %s "(cached) " >&6
   10946 else case e in #(
   10947   e) save_LDFLAGS=$LDFLAGS
   10948 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10949 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10950 /* end confdefs.h.  */
   10951 int foo (void) { return 0; }
   10952 _ACEOF
   10953 if ac_fn_c_try_link "$LINENO"
   10954 then :
   10955   lt_cv_irix_exported_symbol=yes
   10956 else case e in #(
   10957   e) lt_cv_irix_exported_symbol=no ;;
   10958 esac
   10959 fi
   10960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10961     conftest$ac_exeext conftest.$ac_ext
   10962            LDFLAGS=$save_LDFLAGS ;;
   10963 esac
   10964 fi
   10965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10966 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10967 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10968           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'
   10969 	fi
   10970       else
   10971 	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'
   10972 	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'
   10973       fi
   10974       archive_cmds_need_lc='no'
   10975       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10976       hardcode_libdir_separator=:
   10977       inherit_rpath=yes
   10978       link_all_deplibs=yes
   10979       ;;
   10980 
   10981     linux*)
   10982       case $cc_basename in
   10983       tcc*)
   10984 	# Fabrice Bellard et al's Tiny C Compiler
   10985 	ld_shlibs=yes
   10986 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10987 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10988 	;;
   10989       esac
   10990       ;;
   10991 
   10992     *-mlibc)
   10993       ;;
   10994 
   10995     netbsd* | netbsdelf*-gnu)
   10996       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10997 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10998       else
   10999 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11000       fi
   11001       hardcode_libdir_flag_spec='-R$libdir'
   11002       hardcode_direct=yes
   11003       hardcode_shlibpath_var=no
   11004       ;;
   11005 
   11006     newsos6)
   11007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11008       hardcode_direct=yes
   11009       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11010       hardcode_libdir_separator=:
   11011       hardcode_shlibpath_var=no
   11012       ;;
   11013 
   11014     *nto* | *qnx*)
   11015       ;;
   11016 
   11017     openbsd*)
   11018       if test -f /usr/libexec/ld.so; then
   11019 	hardcode_direct=yes
   11020 	hardcode_shlibpath_var=no
   11021 	hardcode_direct_absolute=yes
   11022 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11023 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11024 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11025 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11026 	  export_dynamic_flag_spec='$wl-E'
   11027 	else
   11028 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11029 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11030 	fi
   11031       else
   11032 	ld_shlibs=no
   11033       fi
   11034       ;;
   11035 
   11036     os2*)
   11037       hardcode_libdir_flag_spec='-L$libdir'
   11038       hardcode_minus_L=yes
   11039       allow_undefined_flag=unsupported
   11040       shrext_cmds=.dll
   11041       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11042 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11043 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11044 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11045 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11046 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11047 	emximp -o $lib $output_objdir/$libname.def'
   11048       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11049 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11050 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11051 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11052 	prefix_cmds="$SED"~
   11053 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11054 	  prefix_cmds="$prefix_cmds -e 1d";
   11055 	fi~
   11056 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11057 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11058 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11059 	emximp -o $lib $output_objdir/$libname.def'
   11060       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11061       enable_shared_with_static_runtimes=yes
   11062       file_list_spec='@'
   11063       ;;
   11064 
   11065     osf3*)
   11066       if test yes = "$GCC"; then
   11067 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11068 	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'
   11069       else
   11070 	allow_undefined_flag=' -expect_unresolved \*'
   11071 	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'
   11072       fi
   11073       archive_cmds_need_lc='no'
   11074       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11075       hardcode_libdir_separator=:
   11076       ;;
   11077 
   11078     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11079       if test yes = "$GCC"; then
   11080 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11081 	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'
   11082 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11083       else
   11084 	allow_undefined_flag=' -expect_unresolved \*'
   11085 	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'
   11086 	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~
   11087           $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'
   11088 
   11089 	# Both c and cxx compiler support -rpath directly
   11090 	hardcode_libdir_flag_spec='-rpath $libdir'
   11091       fi
   11092       archive_cmds_need_lc='no'
   11093       hardcode_libdir_separator=:
   11094       ;;
   11095 
   11096     serenity*)
   11097       ;;
   11098 
   11099     solaris*)
   11100       no_undefined_flag=' -z defs'
   11101       if test yes = "$GCC"; then
   11102 	wlarc='$wl'
   11103 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11104 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11105           $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'
   11106       else
   11107 	case `$CC -V 2>&1` in
   11108 	*"Compilers 5.0"*)
   11109 	  wlarc=''
   11110 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11111 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11112             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11113 	  ;;
   11114 	*)
   11115 	  wlarc='$wl'
   11116 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11117 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11118             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11119 	  ;;
   11120 	esac
   11121       fi
   11122       hardcode_libdir_flag_spec='-R$libdir'
   11123       hardcode_shlibpath_var=no
   11124       case $host_os in
   11125       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11126       *)
   11127 	# The compiler driver will combine and reorder linker options,
   11128 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11129 	# but is careful enough not to reorder.
   11130 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11131 	if test yes = "$GCC"; then
   11132 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11133 	else
   11134 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11135 	fi
   11136 	;;
   11137       esac
   11138       link_all_deplibs=yes
   11139       ;;
   11140 
   11141     sunos4*)
   11142       if test sequent = "$host_vendor"; then
   11143 	# Use $CC to link under sequent, because it throws in some extra .o
   11144 	# files that make .init and .fini sections work.
   11145 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11146       else
   11147 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11148       fi
   11149       hardcode_libdir_flag_spec='-L$libdir'
   11150       hardcode_direct=yes
   11151       hardcode_minus_L=yes
   11152       hardcode_shlibpath_var=no
   11153       ;;
   11154 
   11155     sysv4)
   11156       case $host_vendor in
   11157 	sni)
   11158 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11159 	  hardcode_direct=yes # is this really true???
   11160 	;;
   11161 	siemens)
   11162 	  ## LD is ld it makes a PLAMLIB
   11163 	  ## CC just makes a GrossModule.
   11164 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11165 	  reload_cmds='$CC -r -o $output$reload_objs'
   11166 	  hardcode_direct=no
   11167         ;;
   11168 	motorola)
   11169 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11170 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11171 	;;
   11172       esac
   11173       runpath_var='LD_RUN_PATH'
   11174       hardcode_shlibpath_var=no
   11175       ;;
   11176 
   11177     sysv4.3*)
   11178       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11179       hardcode_shlibpath_var=no
   11180       export_dynamic_flag_spec='-Bexport'
   11181       ;;
   11182 
   11183     sysv4*MP*)
   11184       if test -d /usr/nec; then
   11185 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11186 	hardcode_shlibpath_var=no
   11187 	runpath_var=LD_RUN_PATH
   11188 	hardcode_runpath_var=yes
   11189 	ld_shlibs=yes
   11190       fi
   11191       ;;
   11192 
   11193     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11194       no_undefined_flag='$wl-z,text'
   11195       archive_cmds_need_lc=no
   11196       hardcode_shlibpath_var=no
   11197       runpath_var='LD_RUN_PATH'
   11198 
   11199       if test yes = "$GCC"; then
   11200 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11201 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11202       else
   11203 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11204 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11205       fi
   11206       ;;
   11207 
   11208     sysv5* | sco3.2v5* | sco5v6*)
   11209       # Note: We CANNOT use -z defs as we might desire, because we do not
   11210       # link with -lc, and that would cause any symbols used from libc to
   11211       # always be unresolved, which means just about no library would
   11212       # ever link correctly.  If we're not using GNU ld we use -z text
   11213       # though, which does catch some bad symbols but isn't as heavy-handed
   11214       # as -z defs.
   11215       no_undefined_flag='$wl-z,text'
   11216       allow_undefined_flag='$wl-z,nodefs'
   11217       archive_cmds_need_lc=no
   11218       hardcode_shlibpath_var=no
   11219       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11220       hardcode_libdir_separator=':'
   11221       link_all_deplibs=yes
   11222       export_dynamic_flag_spec='$wl-Bexport'
   11223       runpath_var='LD_RUN_PATH'
   11224 
   11225       if test yes = "$GCC"; then
   11226 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11227 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11228       else
   11229 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11230 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11231       fi
   11232       ;;
   11233 
   11234     uts4*)
   11235       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11236       hardcode_libdir_flag_spec='-L$libdir'
   11237       hardcode_shlibpath_var=no
   11238       ;;
   11239 
   11240     *)
   11241       ld_shlibs=no
   11242       ;;
   11243     esac
   11244 
   11245     if test sni = "$host_vendor"; then
   11246       case $host in
   11247       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11248 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11249 	;;
   11250       esac
   11251     fi
   11252   fi
   11253 
   11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11255 printf "%s\n" "$ld_shlibs" >&6; }
   11256 test no = "$ld_shlibs" && can_build_shared=no
   11257 
   11258 with_gnu_ld=$with_gnu_ld
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 #
   11275 # Do we need to explicitly link libc?
   11276 #
   11277 case "x$archive_cmds_need_lc" in
   11278 x|xyes)
   11279   # Assume -lc should be added
   11280   archive_cmds_need_lc=yes
   11281 
   11282   if test yes,yes = "$GCC,$enable_shared"; then
   11283     case $archive_cmds in
   11284     *'~'*)
   11285       # FIXME: we may have to deal with multi-command sequences.
   11286       ;;
   11287     '$CC '*)
   11288       # Test whether the compiler implicitly links with -lc since on some
   11289       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11290       # to ld, don't add -lc before -lgcc.
   11291       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11292 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11293 if test ${lt_cv_archive_cmds_need_lc+y}
   11294 then :
   11295   printf %s "(cached) " >&6
   11296 else case e in #(
   11297   e) $RM conftest*
   11298 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11299 
   11300 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11301   (eval $ac_compile) 2>&5
   11302   ac_status=$?
   11303   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11304   test $ac_status = 0; } 2>conftest.err; then
   11305 	  soname=conftest
   11306 	  lib=conftest
   11307 	  libobjs=conftest.$ac_objext
   11308 	  deplibs=
   11309 	  wl=$lt_prog_compiler_wl
   11310 	  pic_flag=$lt_prog_compiler_pic
   11311 	  compiler_flags=-v
   11312 	  linker_flags=-v
   11313 	  verstring=
   11314 	  output_objdir=.
   11315 	  libname=conftest
   11316 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11317 	  allow_undefined_flag=
   11318 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11319   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11320   ac_status=$?
   11321   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11322   test $ac_status = 0; }
   11323 	  then
   11324 	    lt_cv_archive_cmds_need_lc=no
   11325 	  else
   11326 	    lt_cv_archive_cmds_need_lc=yes
   11327 	  fi
   11328 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11329 	else
   11330 	  cat conftest.err 1>&5
   11331 	fi
   11332 	$RM conftest*
   11333 	 ;;
   11334 esac
   11335 fi
   11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11337 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11338       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11339       ;;
   11340     esac
   11341   fi
   11342   ;;
   11343 esac
   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 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11497 printf %s "checking dynamic linker characteristics... " >&6; }
   11498 
   11499 if test yes = "$GCC"; then
   11500   case $host_os in
   11501     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11502     *) lt_awk_arg='/^libraries:/' ;;
   11503   esac
   11504   case $host_os in
   11505     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11506     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11507   esac
   11508   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11509   case $lt_search_path_spec in
   11510   *\;*)
   11511     # if the path contains ";" then we assume it to be the separator
   11512     # otherwise default to the standard path separator (i.e. ":") - it is
   11513     # assumed that no part of a normal pathname contains ";" but that should
   11514     # okay in the real world where ";" in dirpaths is itself problematic.
   11515     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11516     ;;
   11517   *)
   11518     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11519     ;;
   11520   esac
   11521   # Ok, now we have the path, separated by spaces, we can step through it
   11522   # and add multilib dir if necessary...
   11523   lt_tmp_lt_search_path_spec=
   11524   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11525   # ...but if some path component already ends with the multilib dir we assume
   11526   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11527   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11528   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11529     lt_multi_os_dir=
   11530     ;;
   11531   esac
   11532   for lt_sys_path in $lt_search_path_spec; do
   11533     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11534       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11535     elif test -n "$lt_multi_os_dir"; then
   11536       test -d "$lt_sys_path" && \
   11537 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11538     fi
   11539   done
   11540   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11541 BEGIN {RS = " "; FS = "/|\n";} {
   11542   lt_foo = "";
   11543   lt_count = 0;
   11544   for (lt_i = NF; lt_i > 0; lt_i--) {
   11545     if ($lt_i != "" && $lt_i != ".") {
   11546       if ($lt_i == "..") {
   11547         lt_count++;
   11548       } else {
   11549         if (lt_count == 0) {
   11550           lt_foo = "/" $lt_i lt_foo;
   11551         } else {
   11552           lt_count--;
   11553         }
   11554       }
   11555     }
   11556   }
   11557   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11558   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11559 }'`
   11560   # AWK program above erroneously prepends '/' to C:/dos/paths
   11561   # for these hosts.
   11562   case $host_os in
   11563     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11564       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11565   esac
   11566   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11567 else
   11568   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11569 fi
   11570 library_names_spec=
   11571 libname_spec='lib$name'
   11572 soname_spec=
   11573 shrext_cmds=.so
   11574 postinstall_cmds=
   11575 postuninstall_cmds=
   11576 finish_cmds=
   11577 finish_eval=
   11578 shlibpath_var=
   11579 shlibpath_overrides_runpath=unknown
   11580 version_type=none
   11581 dynamic_linker="$host_os ld.so"
   11582 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11583 need_lib_prefix=unknown
   11584 hardcode_into_libs=no
   11585 
   11586 # when you set need_version to no, make sure it does not cause -set_version
   11587 # flags to be left without arguments
   11588 need_version=unknown
   11589 
   11590 
   11591 
   11592 case $host_os in
   11593 aix3*)
   11594   version_type=linux # correct to gnu/linux during the next big refactor
   11595   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11596   shlibpath_var=LIBPATH
   11597 
   11598   # AIX 3 has no versioning support, so we append a major version to the name.
   11599   soname_spec='$libname$release$shared_ext$major'
   11600   ;;
   11601 
   11602 aix[4-9]*)
   11603   version_type=linux # correct to gnu/linux during the next big refactor
   11604   need_lib_prefix=no
   11605   need_version=no
   11606   hardcode_into_libs=yes
   11607   if test ia64 = "$host_cpu"; then
   11608     # AIX 5 supports IA64
   11609     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11610     shlibpath_var=LD_LIBRARY_PATH
   11611   else
   11612     # With GCC up to 2.95.x, collect2 would create an import file
   11613     # for dependence libraries.  The import file would start with
   11614     # the line '#! .'.  This would cause the generated library to
   11615     # depend on '.', always an invalid library.  This was fixed in
   11616     # development snapshots of GCC prior to 3.0.
   11617     case $host_os in
   11618       aix4 | aix4.[01] | aix4.[01].*)
   11619       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11620 	   echo ' yes '
   11621 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11622 	:
   11623       else
   11624 	can_build_shared=no
   11625       fi
   11626       ;;
   11627     esac
   11628     # Using Import Files as archive members, it is possible to support
   11629     # filename-based versioning of shared library archives on AIX. While
   11630     # this would work for both with and without runtime linking, it will
   11631     # prevent static linking of such archives. So we do filename-based
   11632     # shared library versioning with .so extension only, which is used
   11633     # when both runtime linking and shared linking is enabled.
   11634     # Unfortunately, runtime linking may impact performance, so we do
   11635     # not want this to be the default eventually. Also, we use the
   11636     # versioned .so libs for executables only if there is the -brtl
   11637     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11638     # To allow for filename-based versioning support, we need to create
   11639     # libNAME.so.V as an archive file, containing:
   11640     # *) an Import File, referring to the versioned filename of the
   11641     #    archive as well as the shared archive member, telling the
   11642     #    bitwidth (32 or 64) of that shared object, and providing the
   11643     #    list of exported symbols of that shared object, eventually
   11644     #    decorated with the 'weak' keyword
   11645     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11646     #    it being seen by the linker.
   11647     # At run time we better use the real file rather than another symlink,
   11648     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11649 
   11650     case $with_aix_soname,$aix_use_runtimelinking in
   11651     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11652     # soname into executable. Probably we can add versioning support to
   11653     # collect2, so additional links can be useful in future.
   11654     aix,yes) # traditional libtool
   11655       dynamic_linker='AIX unversionable lib.so'
   11656       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11657       # instead of lib<name>.a to let people know that these are not
   11658       # typical AIX shared libraries.
   11659       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11660       ;;
   11661     aix,no) # traditional AIX only
   11662       dynamic_linker='AIX lib.a(lib.so.V)'
   11663       # We preserve .a as extension for shared libraries through AIX4.2
   11664       # and later when we are not doing run time linking.
   11665       library_names_spec='$libname$release.a $libname.a'
   11666       soname_spec='$libname$release$shared_ext$major'
   11667       ;;
   11668     svr4,*) # full svr4 only
   11669       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11670       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11671       # We do not specify a path in Import Files, so LIBPATH fires.
   11672       shlibpath_overrides_runpath=yes
   11673       ;;
   11674     *,yes) # both, prefer svr4
   11675       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11676       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11677       # unpreferred sharedlib libNAME.a needs extra handling
   11678       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"'
   11679       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"'
   11680       # We do not specify a path in Import Files, so LIBPATH fires.
   11681       shlibpath_overrides_runpath=yes
   11682       ;;
   11683     *,no) # both, prefer aix
   11684       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11685       library_names_spec='$libname$release.a $libname.a'
   11686       soname_spec='$libname$release$shared_ext$major'
   11687       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11688       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)'
   11689       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"'
   11690       ;;
   11691     esac
   11692     shlibpath_var=LIBPATH
   11693   fi
   11694   ;;
   11695 
   11696 amigaos*)
   11697   case $host_cpu in
   11698   powerpc)
   11699     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11700     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11701     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11702     ;;
   11703   m68k)
   11704     library_names_spec='$libname.ixlibrary $libname.a'
   11705     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11706     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'
   11707     ;;
   11708   esac
   11709   ;;
   11710 
   11711 beos*)
   11712   library_names_spec='$libname$shared_ext'
   11713   dynamic_linker="$host_os ld.so"
   11714   shlibpath_var=LIBRARY_PATH
   11715   ;;
   11716 
   11717 bsdi[45]*)
   11718   version_type=linux # correct to gnu/linux during the next big refactor
   11719   need_version=no
   11720   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11721   soname_spec='$libname$release$shared_ext$major'
   11722   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11723   shlibpath_var=LD_LIBRARY_PATH
   11724   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11725   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11726   # the default ld.so.conf also contains /usr/contrib/lib and
   11727   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11728   # libtool to hard-code these into programs
   11729   ;;
   11730 
   11731 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11732   version_type=windows
   11733   shrext_cmds=.dll
   11734   need_version=no
   11735   need_lib_prefix=no
   11736 
   11737   case $GCC,$cc_basename in
   11738   yes,*)
   11739     # gcc
   11740     library_names_spec='$libname.dll.a'
   11741     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11742     # If user builds GCC with multilib enabled,
   11743     # it should just install on $(libdir)
   11744     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11745     if test xyes = x"$multilib"; then
   11746       postinstall_cmds='base_file=`basename \$file`~
   11747         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11748         dldir=$destdir/`dirname \$dlpath`~
   11749         $install_prog $dir/$dlname $destdir/$dlname~
   11750         chmod a+x $destdir/$dlname~
   11751         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11752           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11753         fi'
   11754     else
   11755       postinstall_cmds='base_file=`basename \$file`~
   11756         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11757         dldir=$destdir/`dirname \$dlpath`~
   11758         test -d \$dldir || mkdir -p \$dldir~
   11759         $install_prog $dir/$dlname \$dldir/$dlname~
   11760         chmod a+x \$dldir/$dlname~
   11761         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11762           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11763         fi'
   11764     fi
   11765     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11766       dlpath=$dir/\$dldll~
   11767        $RM \$dlpath'
   11768     shlibpath_overrides_runpath=yes
   11769 
   11770     case $host_os in
   11771     cygwin*)
   11772       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11773       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11774 
   11775       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11776       ;;
   11777     mingw* | windows* | cegcc*)
   11778       # MinGW DLLs use traditional 'lib' prefix
   11779       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11780       ;;
   11781     pw32*)
   11782       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11783       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11784       ;;
   11785     esac
   11786     dynamic_linker='Win32 ld.exe'
   11787     ;;
   11788 
   11789   *,cl* | *,icl*)
   11790     # Native MSVC or ICC
   11791     libname_spec='$name'
   11792     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11793     library_names_spec='$libname.dll.lib'
   11794 
   11795     case $build_os in
   11796     mingw* | windows*)
   11797       sys_lib_search_path_spec=
   11798       lt_save_ifs=$IFS
   11799       IFS=';'
   11800       for lt_path in $LIB
   11801       do
   11802         IFS=$lt_save_ifs
   11803         # Let DOS variable expansion print the short 8.3 style file name.
   11804         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11805         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11806       done
   11807       IFS=$lt_save_ifs
   11808       # Convert to MSYS style.
   11809       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11810       ;;
   11811     cygwin*)
   11812       # Convert to unix form, then to dos form, then back to unix form
   11813       # but this time dos style (no spaces!) so that the unix form looks
   11814       # like /cygdrive/c/PROGRA~1:/cygdr...
   11815       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11816       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11817       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11818       ;;
   11819     *)
   11820       sys_lib_search_path_spec=$LIB
   11821       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11822         # It is most probably a Windows format PATH.
   11823         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11824       else
   11825         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11826       fi
   11827       # FIXME: find the short name or the path components, as spaces are
   11828       # common. (e.g. "Program Files" -> "PROGRA~1")
   11829       ;;
   11830     esac
   11831 
   11832     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11833     postinstall_cmds='base_file=`basename \$file`~
   11834       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11835       dldir=$destdir/`dirname \$dlpath`~
   11836       test -d \$dldir || mkdir -p \$dldir~
   11837       $install_prog $dir/$dlname \$dldir/$dlname'
   11838     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11839       dlpath=$dir/\$dldll~
   11840        $RM \$dlpath'
   11841     shlibpath_overrides_runpath=yes
   11842     dynamic_linker='Win32 link.exe'
   11843     ;;
   11844 
   11845   *)
   11846     # Assume MSVC and ICC wrapper
   11847     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11848     dynamic_linker='Win32 ld.exe'
   11849     ;;
   11850   esac
   11851   # FIXME: first we should search . and the directory the executable is in
   11852   shlibpath_var=PATH
   11853   ;;
   11854 
   11855 darwin* | rhapsody*)
   11856   dynamic_linker="$host_os dyld"
   11857   version_type=darwin
   11858   need_lib_prefix=no
   11859   need_version=no
   11860   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11861   soname_spec='$libname$release$major$shared_ext'
   11862   shlibpath_overrides_runpath=yes
   11863   shlibpath_var=DYLD_LIBRARY_PATH
   11864   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11865 
   11866   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11867   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11868   ;;
   11869 
   11870 dgux*)
   11871   version_type=linux # correct to gnu/linux during the next big refactor
   11872   need_lib_prefix=no
   11873   need_version=no
   11874   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11875   soname_spec='$libname$release$shared_ext$major'
   11876   shlibpath_var=LD_LIBRARY_PATH
   11877   ;;
   11878 
   11879 freebsd* | dragonfly* | midnightbsd*)
   11880   # DragonFly does not have aout.  When/if they implement a new
   11881   # versioning mechanism, adjust this.
   11882   if test -x /usr/bin/objformat; then
   11883     objformat=`/usr/bin/objformat`
   11884   else
   11885     case $host_os in
   11886     freebsd[23].*) objformat=aout ;;
   11887     *) objformat=elf ;;
   11888     esac
   11889   fi
   11890   version_type=freebsd-$objformat
   11891   case $version_type in
   11892     freebsd-elf*)
   11893       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11894       soname_spec='$libname$release$shared_ext$major'
   11895       need_version=no
   11896       need_lib_prefix=no
   11897       ;;
   11898     freebsd-*)
   11899       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11900       need_version=yes
   11901       ;;
   11902   esac
   11903   case $host_cpu in
   11904     powerpc64)
   11905       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11906       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11908 /* end confdefs.h.  */
   11909 int test_pointer_size[sizeof (void *) - 5];
   11910 
   11911 _ACEOF
   11912 if ac_fn_c_try_compile "$LINENO"
   11913 then :
   11914   shlibpath_var=LD_LIBRARY_PATH
   11915 else case e in #(
   11916   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   11917 esac
   11918 fi
   11919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11920       ;;
   11921     *)
   11922       shlibpath_var=LD_LIBRARY_PATH
   11923       ;;
   11924   esac
   11925   case $host_os in
   11926   freebsd2.*)
   11927     shlibpath_overrides_runpath=yes
   11928     ;;
   11929   freebsd3.[01]* | freebsdelf3.[01]*)
   11930     shlibpath_overrides_runpath=yes
   11931     hardcode_into_libs=yes
   11932     ;;
   11933   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11934   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11935     shlibpath_overrides_runpath=no
   11936     hardcode_into_libs=yes
   11937     ;;
   11938   *) # from 4.6 on, and DragonFly
   11939     shlibpath_overrides_runpath=yes
   11940     hardcode_into_libs=yes
   11941     ;;
   11942   esac
   11943   ;;
   11944 
   11945 haiku*)
   11946   version_type=linux # correct to gnu/linux during the next big refactor
   11947   need_lib_prefix=no
   11948   need_version=no
   11949   dynamic_linker="$host_os runtime_loader"
   11950   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11951   soname_spec='$libname$release$shared_ext$major'
   11952   shlibpath_var=LIBRARY_PATH
   11953   shlibpath_overrides_runpath=no
   11954   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   11955   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   11956   hardcode_into_libs=no
   11957   ;;
   11958 
   11959 hpux9* | hpux10* | hpux11*)
   11960   # Give a soname corresponding to the major version so that dld.sl refuses to
   11961   # link against other versions.
   11962   version_type=sunos
   11963   need_lib_prefix=no
   11964   need_version=no
   11965   case $host_cpu in
   11966   ia64*)
   11967     shrext_cmds='.so'
   11968     hardcode_into_libs=yes
   11969     dynamic_linker="$host_os dld.so"
   11970     shlibpath_var=LD_LIBRARY_PATH
   11971     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11972     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11973     soname_spec='$libname$release$shared_ext$major'
   11974     if test 32 = "$HPUX_IA64_MODE"; then
   11975       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11976       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11977     else
   11978       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11979       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11980     fi
   11981     ;;
   11982   hppa*64*)
   11983     shrext_cmds='.sl'
   11984     hardcode_into_libs=yes
   11985     dynamic_linker="$host_os dld.sl"
   11986     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11987     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11988     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11989     soname_spec='$libname$release$shared_ext$major'
   11990     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11991     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11992     ;;
   11993   *)
   11994     shrext_cmds='.sl'
   11995     dynamic_linker="$host_os dld.sl"
   11996     shlibpath_var=SHLIB_PATH
   11997     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11998     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11999     soname_spec='$libname$release$shared_ext$major'
   12000     ;;
   12001   esac
   12002   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12003   postinstall_cmds='chmod 555 $lib'
   12004   # or fails outright, so override atomically:
   12005   install_override_mode=555
   12006   ;;
   12007 
   12008 interix[3-9]*)
   12009   version_type=linux # correct to gnu/linux during the next big refactor
   12010   need_lib_prefix=no
   12011   need_version=no
   12012   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12013   soname_spec='$libname$release$shared_ext$major'
   12014   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12015   shlibpath_var=LD_LIBRARY_PATH
   12016   shlibpath_overrides_runpath=no
   12017   hardcode_into_libs=yes
   12018   ;;
   12019 
   12020 irix5* | irix6* | nonstopux*)
   12021   case $host_os in
   12022     nonstopux*) version_type=nonstopux ;;
   12023     *)
   12024 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12025 		version_type=linux # correct to gnu/linux during the next big refactor
   12026 	else
   12027 		version_type=irix
   12028 	fi ;;
   12029   esac
   12030   need_lib_prefix=no
   12031   need_version=no
   12032   soname_spec='$libname$release$shared_ext$major'
   12033   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12034   case $host_os in
   12035   irix5* | nonstopux*)
   12036     libsuff= shlibsuff=
   12037     ;;
   12038   *)
   12039     case $LD in # libtool.m4 will add one of these switches to LD
   12040     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12041       libsuff= shlibsuff= libmagic=32-bit;;
   12042     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12043       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12044     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12045       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12046     *) libsuff= shlibsuff= libmagic=never-match;;
   12047     esac
   12048     ;;
   12049   esac
   12050   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12051   shlibpath_overrides_runpath=no
   12052   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12053   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12054   hardcode_into_libs=yes
   12055   ;;
   12056 
   12057 # No shared lib support for Linux oldld, aout, or coff.
   12058 linux*oldld* | linux*aout* | linux*coff*)
   12059   dynamic_linker=no
   12060   ;;
   12061 
   12062 linux*android*)
   12063   version_type=none # Android doesn't support versioned libraries.
   12064   need_lib_prefix=no
   12065   need_version=no
   12066   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12067   soname_spec='$libname$release$shared_ext'
   12068   finish_cmds=
   12069   shlibpath_var=LD_LIBRARY_PATH
   12070   shlibpath_overrides_runpath=yes
   12071 
   12072   # This implies no fast_install, which is unacceptable.
   12073   # Some rework will be needed to allow for fast_install
   12074   # before this can be enabled.
   12075   hardcode_into_libs=yes
   12076 
   12077   dynamic_linker='Android linker'
   12078   # -rpath works at least for libraries that are not overridden by
   12079   # libraries installed in system locations.
   12080   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12081   ;;
   12082 
   12083 # This must be glibc/ELF.
   12084 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12085   version_type=linux # correct to gnu/linux during the next big refactor
   12086   need_lib_prefix=no
   12087   need_version=no
   12088   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12089   soname_spec='$libname$release$shared_ext$major'
   12090   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12091   shlibpath_var=LD_LIBRARY_PATH
   12092   shlibpath_overrides_runpath=no
   12093 
   12094   # Some binutils ld are patched to set DT_RUNPATH
   12095   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12096 then :
   12097   printf %s "(cached) " >&6
   12098 else case e in #(
   12099   e) lt_cv_shlibpath_overrides_runpath=no
   12100     save_LDFLAGS=$LDFLAGS
   12101     save_libdir=$libdir
   12102     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12103 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12104     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12105 /* end confdefs.h.  */
   12106 
   12107 int
   12108 main (void)
   12109 {
   12110 
   12111   ;
   12112   return 0;
   12113 }
   12114 _ACEOF
   12115 if ac_fn_c_try_link "$LINENO"
   12116 then :
   12117   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12118 then :
   12119   lt_cv_shlibpath_overrides_runpath=yes
   12120 fi
   12121 fi
   12122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12123     conftest$ac_exeext conftest.$ac_ext
   12124     LDFLAGS=$save_LDFLAGS
   12125     libdir=$save_libdir
   12126      ;;
   12127 esac
   12128 fi
   12129 
   12130   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12131 
   12132   # This implies no fast_install, which is unacceptable.
   12133   # Some rework will be needed to allow for fast_install
   12134   # before this can be enabled.
   12135   hardcode_into_libs=yes
   12136 
   12137   # Ideally, we could use ldconfig to report *all* directories which are
   12138   # searched for libraries, however this is still not possible.  Aside from not
   12139   # being certain /sbin/ldconfig is available, command
   12140   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12141   # even though it is searched at run-time.  Try to do the best guess by
   12142   # appending ld.so.conf contents (and includes) to the search path.
   12143   if test -f /etc/ld.so.conf; then
   12144     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' ' '`
   12145     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12146   fi
   12147 
   12148   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12149   # powerpc, because MkLinux only supported shared libraries with the
   12150   # GNU dynamic linker.  Since this was broken with cross compilers,
   12151   # most powerpc-linux boxes support dynamic linking these days and
   12152   # people can always --disable-shared, the test was removed, and we
   12153   # assume the GNU/Linux dynamic linker is in use.
   12154   dynamic_linker='GNU/Linux ld.so'
   12155   ;;
   12156 
   12157 netbsdelf*-gnu)
   12158   version_type=linux
   12159   need_lib_prefix=no
   12160   need_version=no
   12161   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12162   soname_spec='$libname$release$shared_ext$major'
   12163   shlibpath_var=LD_LIBRARY_PATH
   12164   shlibpath_overrides_runpath=no
   12165   hardcode_into_libs=yes
   12166   dynamic_linker='NetBSD ld.elf_so'
   12167   ;;
   12168 
   12169 netbsd*)
   12170   version_type=sunos
   12171   need_lib_prefix=no
   12172   need_version=no
   12173   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12174     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12175     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12176     dynamic_linker='NetBSD (a.out) ld.so'
   12177   else
   12178     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12179     soname_spec='$libname$release$shared_ext$major'
   12180     dynamic_linker='NetBSD ld.elf_so'
   12181   fi
   12182   shlibpath_var=LD_LIBRARY_PATH
   12183   shlibpath_overrides_runpath=yes
   12184   hardcode_into_libs=yes
   12185   ;;
   12186 
   12187 *-mlibc)
   12188   version_type=linux # correct to gnu/linux during the next big refactor
   12189   need_lib_prefix=no
   12190   need_version=no
   12191   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12192   soname_spec='$libname$release$shared_ext$major'
   12193   dynamic_linker='mlibc ld.so'
   12194   shlibpath_var=LD_LIBRARY_PATH
   12195   shlibpath_overrides_runpath=no
   12196   hardcode_into_libs=yes
   12197   ;;
   12198 
   12199 newsos6)
   12200   version_type=linux # correct to gnu/linux during the next big refactor
   12201   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12202   shlibpath_var=LD_LIBRARY_PATH
   12203   shlibpath_overrides_runpath=yes
   12204   ;;
   12205 
   12206 *nto* | *qnx*)
   12207   version_type=qnx
   12208   need_lib_prefix=no
   12209   need_version=no
   12210   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12211   soname_spec='$libname$release$shared_ext$major'
   12212   shlibpath_var=LD_LIBRARY_PATH
   12213   shlibpath_overrides_runpath=no
   12214   hardcode_into_libs=yes
   12215   dynamic_linker='ldqnx.so'
   12216   ;;
   12217 
   12218 openbsd*)
   12219   version_type=sunos
   12220   sys_lib_dlsearch_path_spec=/usr/lib
   12221   need_lib_prefix=no
   12222   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12223     need_version=no
   12224   else
   12225     need_version=yes
   12226   fi
   12227   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12228   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12229   shlibpath_var=LD_LIBRARY_PATH
   12230   shlibpath_overrides_runpath=yes
   12231   ;;
   12232 
   12233 os2*)
   12234   libname_spec='$name'
   12235   version_type=windows
   12236   shrext_cmds=.dll
   12237   need_version=no
   12238   need_lib_prefix=no
   12239   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12240   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12241     v=$($ECHO $release$versuffix | tr -d .-);
   12242     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12243     $ECHO $n$v`$shared_ext'
   12244   library_names_spec='${libname}_dll.$libext'
   12245   dynamic_linker='OS/2 ld.exe'
   12246   shlibpath_var=BEGINLIBPATH
   12247   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12248   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12249   postinstall_cmds='base_file=`basename \$file`~
   12250     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12251     dldir=$destdir/`dirname \$dlpath`~
   12252     test -d \$dldir || mkdir -p \$dldir~
   12253     $install_prog $dir/$dlname \$dldir/$dlname~
   12254     chmod a+x \$dldir/$dlname~
   12255     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12256       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12257     fi'
   12258   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12259     dlpath=$dir/\$dldll~
   12260     $RM \$dlpath'
   12261   ;;
   12262 
   12263 osf3* | osf4* | osf5*)
   12264   version_type=osf
   12265   need_lib_prefix=no
   12266   need_version=no
   12267   soname_spec='$libname$release$shared_ext$major'
   12268   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12269   shlibpath_var=LD_LIBRARY_PATH
   12270   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12271   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12272   ;;
   12273 
   12274 rdos*)
   12275   dynamic_linker=no
   12276   ;;
   12277 
   12278 serenity*)
   12279   version_type=linux # correct to gnu/linux during the next big refactor
   12280   need_lib_prefix=no
   12281   need_version=no
   12282   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12283   soname_spec='$libname$release$shared_ext$major'
   12284   shlibpath_var=LD_LIBRARY_PATH
   12285   shlibpath_overrides_runpath=no
   12286   dynamic_linker='SerenityOS LibELF'
   12287   ;;
   12288 
   12289 solaris*)
   12290   version_type=linux # correct to gnu/linux during the next big refactor
   12291   need_lib_prefix=no
   12292   need_version=no
   12293   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12294   soname_spec='$libname$release$shared_ext$major'
   12295   shlibpath_var=LD_LIBRARY_PATH
   12296   shlibpath_overrides_runpath=yes
   12297   hardcode_into_libs=yes
   12298   # ldd complains unless libraries are executable
   12299   postinstall_cmds='chmod +x $lib'
   12300   ;;
   12301 
   12302 sunos4*)
   12303   version_type=sunos
   12304   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12305   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12306   shlibpath_var=LD_LIBRARY_PATH
   12307   shlibpath_overrides_runpath=yes
   12308   if test yes = "$with_gnu_ld"; then
   12309     need_lib_prefix=no
   12310   fi
   12311   need_version=yes
   12312   ;;
   12313 
   12314 sysv4 | sysv4.3*)
   12315   version_type=linux # correct to gnu/linux during the next big refactor
   12316   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12317   soname_spec='$libname$release$shared_ext$major'
   12318   shlibpath_var=LD_LIBRARY_PATH
   12319   case $host_vendor in
   12320     sni)
   12321       shlibpath_overrides_runpath=no
   12322       need_lib_prefix=no
   12323       runpath_var=LD_RUN_PATH
   12324       ;;
   12325     siemens)
   12326       need_lib_prefix=no
   12327       ;;
   12328     motorola)
   12329       need_lib_prefix=no
   12330       need_version=no
   12331       shlibpath_overrides_runpath=no
   12332       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12333       ;;
   12334   esac
   12335   ;;
   12336 
   12337 sysv4*MP*)
   12338   if test -d /usr/nec; then
   12339     version_type=linux # correct to gnu/linux during the next big refactor
   12340     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12341     soname_spec='$libname$shared_ext.$major'
   12342     shlibpath_var=LD_LIBRARY_PATH
   12343   fi
   12344   ;;
   12345 
   12346 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12347   version_type=sco
   12348   need_lib_prefix=no
   12349   need_version=no
   12350   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12351   soname_spec='$libname$release$shared_ext$major'
   12352   shlibpath_var=LD_LIBRARY_PATH
   12353   shlibpath_overrides_runpath=yes
   12354   hardcode_into_libs=yes
   12355   if test yes = "$with_gnu_ld"; then
   12356     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12357   else
   12358     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12359     case $host_os in
   12360       sco3.2v5*)
   12361         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12362 	;;
   12363     esac
   12364   fi
   12365   sys_lib_dlsearch_path_spec='/usr/lib'
   12366   ;;
   12367 
   12368 tpf*)
   12369   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12370   version_type=linux # correct to gnu/linux during the next big refactor
   12371   need_lib_prefix=no
   12372   need_version=no
   12373   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12374   shlibpath_var=LD_LIBRARY_PATH
   12375   shlibpath_overrides_runpath=no
   12376   hardcode_into_libs=yes
   12377   ;;
   12378 
   12379 uts4*)
   12380   version_type=linux # correct to gnu/linux during the next big refactor
   12381   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12382   soname_spec='$libname$release$shared_ext$major'
   12383   shlibpath_var=LD_LIBRARY_PATH
   12384   ;;
   12385 
   12386 emscripten*)
   12387   version_type=none
   12388   need_lib_prefix=no
   12389   need_version=no
   12390   library_names_spec='$libname$release$shared_ext'
   12391   soname_spec='$libname$release$shared_ext'
   12392   finish_cmds=
   12393   dynamic_linker="Emscripten linker"
   12394   lt_prog_compiler_wl=
   12395 lt_prog_compiler_pic=
   12396 lt_prog_compiler_static=
   12397 
   12398 
   12399   if test yes = "$GCC"; then
   12400     lt_prog_compiler_wl='-Wl,'
   12401     lt_prog_compiler_static='-static'
   12402 
   12403     case $host_os in
   12404       aix*)
   12405       # All AIX code is PIC.
   12406       if test ia64 = "$host_cpu"; then
   12407 	# AIX 5 now supports IA64 processor
   12408 	lt_prog_compiler_static='-Bstatic'
   12409       fi
   12410       lt_prog_compiler_pic='-fPIC'
   12411       ;;
   12412 
   12413     amigaos*)
   12414       case $host_cpu in
   12415       powerpc)
   12416             # see comment about AmigaOS4 .so support
   12417             lt_prog_compiler_pic='-fPIC'
   12418         ;;
   12419       m68k)
   12420             # FIXME: we need at least 68020 code to build shared libraries, but
   12421             # adding the '-m68020' flag to GCC prevents building anything better,
   12422             # like '-m68040'.
   12423             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12424         ;;
   12425       esac
   12426       ;;
   12427 
   12428     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12429       # PIC is the default for these OSes.
   12430       ;;
   12431 
   12432     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12433       # This hack is so that the source file can tell whether it is being
   12434       # built for inclusion in a dll (and should export symbols for example).
   12435       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12436       # (--disable-auto-import) libraries
   12437       lt_prog_compiler_pic='-DDLL_EXPORT'
   12438       case $host_os in
   12439       os2*)
   12440 	lt_prog_compiler_static='$wl-static'
   12441 	;;
   12442       esac
   12443       ;;
   12444 
   12445     darwin* | rhapsody*)
   12446       # PIC is the default on this platform
   12447       # Common symbols not allowed in MH_DYLIB files
   12448       lt_prog_compiler_pic='-fno-common'
   12449       ;;
   12450 
   12451     haiku*)
   12452       # PIC is the default for Haiku.
   12453       # The "-static" flag exists, but is broken.
   12454       lt_prog_compiler_static=
   12455       ;;
   12456 
   12457     hpux*)
   12458       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12459       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12460       # sets the default TLS model and affects inlining.
   12461       case $host_cpu in
   12462       hppa*64*)
   12463 	# +Z the default
   12464 	;;
   12465       *)
   12466 	lt_prog_compiler_pic='-fPIC'
   12467 	;;
   12468       esac
   12469       ;;
   12470 
   12471     interix[3-9]*)
   12472       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12473       # Instead, we relocate shared libraries at runtime.
   12474       ;;
   12475 
   12476     msdosdjgpp*)
   12477       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12478       # on systems that don't support them.
   12479       lt_prog_compiler_can_build_shared=no
   12480       enable_shared=no
   12481       ;;
   12482 
   12483     *nto* | *qnx*)
   12484       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12485       # it will coredump.
   12486       lt_prog_compiler_pic='-fPIC -shared'
   12487       ;;
   12488 
   12489     sysv4*MP*)
   12490       if test -d /usr/nec; then
   12491 	lt_prog_compiler_pic=-Kconform_pic
   12492       fi
   12493       ;;
   12494 
   12495     *)
   12496       lt_prog_compiler_pic='-fPIC'
   12497       ;;
   12498     esac
   12499 
   12500     case $cc_basename in
   12501     nvcc*) # Cuda Compiler Driver 2.2
   12502       lt_prog_compiler_wl='-Xlinker '
   12503       if test -n "$lt_prog_compiler_pic"; then
   12504         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12505       fi
   12506       ;;
   12507     esac
   12508   else
   12509     # PORTME Check for flag to pass linker flags through the system compiler.
   12510     case $host_os in
   12511     aix*)
   12512       lt_prog_compiler_wl='-Wl,'
   12513       if test ia64 = "$host_cpu"; then
   12514 	# AIX 5 now supports IA64 processor
   12515 	lt_prog_compiler_static='-Bstatic'
   12516       else
   12517 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12518       fi
   12519       ;;
   12520 
   12521     darwin* | rhapsody*)
   12522       # PIC is the default on this platform
   12523       # Common symbols not allowed in MH_DYLIB files
   12524       lt_prog_compiler_pic='-fno-common'
   12525       case $cc_basename in
   12526       nagfor*)
   12527         # NAG Fortran compiler
   12528         lt_prog_compiler_wl='-Wl,-Wl,,'
   12529         lt_prog_compiler_pic='-PIC'
   12530         lt_prog_compiler_static='-Bstatic'
   12531         ;;
   12532       esac
   12533       ;;
   12534 
   12535     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12536       # This hack is so that the source file can tell whether it is being
   12537       # built for inclusion in a dll (and should export symbols for example).
   12538       lt_prog_compiler_pic='-DDLL_EXPORT'
   12539       case $host_os in
   12540       os2*)
   12541 	lt_prog_compiler_static='$wl-static'
   12542 	;;
   12543       esac
   12544       ;;
   12545 
   12546     hpux9* | hpux10* | hpux11*)
   12547       lt_prog_compiler_wl='-Wl,'
   12548       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12549       # not for PA HP-UX.
   12550       case $host_cpu in
   12551       hppa*64*|ia64*)
   12552 	# +Z the default
   12553 	;;
   12554       *)
   12555 	lt_prog_compiler_pic='+Z'
   12556 	;;
   12557       esac
   12558       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12559       lt_prog_compiler_static='$wl-a ${wl}archive'
   12560       ;;
   12561 
   12562     irix5* | irix6* | nonstopux*)
   12563       lt_prog_compiler_wl='-Wl,'
   12564       # PIC (with -KPIC) is the default.
   12565       lt_prog_compiler_static='-non_shared'
   12566       ;;
   12567 
   12568     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12569       case $cc_basename in
   12570       # old Intel for x86_64, which still supported -KPIC.
   12571       ecc*)
   12572 	lt_prog_compiler_wl='-Wl,'
   12573 	lt_prog_compiler_pic='-KPIC'
   12574 	lt_prog_compiler_static='-static'
   12575         ;;
   12576       *flang* | ftn | f18* | f95*)
   12577         # Flang compiler.
   12578 	lt_prog_compiler_wl='-Wl,'
   12579 	lt_prog_compiler_pic='-fPIC'
   12580 	lt_prog_compiler_static='-static'
   12581         ;;
   12582       # icc used to be incompatible with GCC.
   12583       # ICC 10 doesn't accept -KPIC any more.
   12584       icc* | ifort*)
   12585 	lt_prog_compiler_wl='-Wl,'
   12586 	lt_prog_compiler_pic='-fPIC'
   12587 	lt_prog_compiler_static='-static'
   12588         ;;
   12589       # Lahey Fortran 8.1.
   12590       lf95*)
   12591 	lt_prog_compiler_wl='-Wl,'
   12592 	lt_prog_compiler_pic='--shared'
   12593 	lt_prog_compiler_static='--static'
   12594 	;;
   12595       nagfor*)
   12596 	# NAG Fortran compiler
   12597 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12598 	lt_prog_compiler_pic='-PIC'
   12599 	lt_prog_compiler_static='-Bstatic'
   12600 	;;
   12601       tcc*)
   12602 	# Fabrice Bellard et al's Tiny C Compiler
   12603 	lt_prog_compiler_wl='-Wl,'
   12604 	lt_prog_compiler_pic='-fPIC'
   12605 	lt_prog_compiler_static='-static'
   12606 	;;
   12607       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12608         # Portland Group compilers (*not* the Pentium gcc compiler,
   12609 	# which looks to be a dead project)
   12610 	lt_prog_compiler_wl='-Wl,'
   12611 	lt_prog_compiler_pic='-fpic'
   12612 	lt_prog_compiler_static='-Bstatic'
   12613         ;;
   12614       ccc*)
   12615         lt_prog_compiler_wl='-Wl,'
   12616         # All Alpha code is PIC.
   12617         lt_prog_compiler_static='-non_shared'
   12618         ;;
   12619       xl* | bgxl* | bgf* | mpixl*)
   12620 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12621 	lt_prog_compiler_wl='-Wl,'
   12622 	lt_prog_compiler_pic='-qpic'
   12623 	lt_prog_compiler_static='-qstaticlink'
   12624 	;;
   12625       *)
   12626 	case `$CC -V 2>&1 | $SED 5q` in
   12627 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12628 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12629 	  lt_prog_compiler_pic='-KPIC'
   12630 	  lt_prog_compiler_static='-Bstatic'
   12631 	  lt_prog_compiler_wl=''
   12632 	  ;;
   12633 	*Sun\ F* | *Sun*Fortran*)
   12634 	  lt_prog_compiler_pic='-KPIC'
   12635 	  lt_prog_compiler_static='-Bstatic'
   12636 	  lt_prog_compiler_wl='-Qoption ld '
   12637 	  ;;
   12638 	*Sun\ C*)
   12639 	  # Sun C 5.9
   12640 	  lt_prog_compiler_pic='-KPIC'
   12641 	  lt_prog_compiler_static='-Bstatic'
   12642 	  lt_prog_compiler_wl='-Wl,'
   12643 	  ;;
   12644         *Intel*\ [CF]*Compiler*)
   12645 	  lt_prog_compiler_wl='-Wl,'
   12646 	  lt_prog_compiler_pic='-fPIC'
   12647 	  lt_prog_compiler_static='-static'
   12648 	  ;;
   12649 	*Portland\ Group*)
   12650 	  lt_prog_compiler_wl='-Wl,'
   12651 	  lt_prog_compiler_pic='-fpic'
   12652 	  lt_prog_compiler_static='-Bstatic'
   12653 	  ;;
   12654 	esac
   12655 	;;
   12656       esac
   12657       ;;
   12658 
   12659     newsos6)
   12660       lt_prog_compiler_pic='-KPIC'
   12661       lt_prog_compiler_static='-Bstatic'
   12662       ;;
   12663 
   12664     *-mlibc)
   12665       lt_prog_compiler_wl='-Wl,'
   12666       lt_prog_compiler_pic='-fPIC'
   12667       lt_prog_compiler_static='-static'
   12668       ;;
   12669 
   12670     *nto* | *qnx*)
   12671       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12672       # it will coredump.
   12673       lt_prog_compiler_pic='-fPIC -shared'
   12674       ;;
   12675 
   12676     osf3* | osf4* | osf5*)
   12677       lt_prog_compiler_wl='-Wl,'
   12678       # All OSF/1 code is PIC.
   12679       lt_prog_compiler_static='-non_shared'
   12680       ;;
   12681 
   12682     rdos*)
   12683       lt_prog_compiler_static='-non_shared'
   12684       ;;
   12685 
   12686     serenity*)
   12687       ;;
   12688 
   12689     solaris*)
   12690       lt_prog_compiler_pic='-KPIC'
   12691       lt_prog_compiler_static='-Bstatic'
   12692       case $cc_basename in
   12693       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12694 	lt_prog_compiler_wl='-Qoption ld ';;
   12695       *)
   12696 	lt_prog_compiler_wl='-Wl,';;
   12697       esac
   12698       ;;
   12699 
   12700     sunos4*)
   12701       lt_prog_compiler_wl='-Qoption ld '
   12702       lt_prog_compiler_pic='-PIC'
   12703       lt_prog_compiler_static='-Bstatic'
   12704       ;;
   12705 
   12706     sysv4 | sysv4.2uw2* | sysv4.3*)
   12707       lt_prog_compiler_wl='-Wl,'
   12708       lt_prog_compiler_pic='-KPIC'
   12709       lt_prog_compiler_static='-Bstatic'
   12710       ;;
   12711 
   12712     sysv4*MP*)
   12713       if test -d /usr/nec; then
   12714 	lt_prog_compiler_pic='-Kconform_pic'
   12715 	lt_prog_compiler_static='-Bstatic'
   12716       fi
   12717       ;;
   12718 
   12719     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12720       lt_prog_compiler_wl='-Wl,'
   12721       lt_prog_compiler_pic='-KPIC'
   12722       lt_prog_compiler_static='-Bstatic'
   12723       ;;
   12724 
   12725     unicos*)
   12726       lt_prog_compiler_wl='-Wl,'
   12727       lt_prog_compiler_can_build_shared=no
   12728       ;;
   12729 
   12730     uts4*)
   12731       lt_prog_compiler_pic='-pic'
   12732       lt_prog_compiler_static='-Bstatic'
   12733       ;;
   12734 
   12735     *)
   12736       lt_prog_compiler_can_build_shared=no
   12737       ;;
   12738     esac
   12739   fi
   12740 
   12741 case $host_os in
   12742   # For platforms that do not support PIC, -DPIC is meaningless:
   12743   *djgpp*)
   12744     lt_prog_compiler_pic=
   12745     ;;
   12746   *)
   12747     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12748     ;;
   12749 esac
   12750 
   12751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12752 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12753 if test ${lt_cv_prog_compiler_pic+y}
   12754 then :
   12755   printf %s "(cached) " >&6
   12756 else case e in #(
   12757   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12758 esac
   12759 fi
   12760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12761 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12762 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12763 
   12764 #
   12765 # Check to make sure the PIC flag actually works.
   12766 #
   12767 if test -n "$lt_prog_compiler_pic"; then
   12768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12769 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12770 if test ${lt_cv_prog_compiler_pic_works+y}
   12771 then :
   12772   printf %s "(cached) " >&6
   12773 else case e in #(
   12774   e) lt_cv_prog_compiler_pic_works=no
   12775    ac_outfile=conftest.$ac_objext
   12776    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12777    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12778    # Insert the option either (1) after the last *FLAGS variable, or
   12779    # (2) before a word containing "conftest.", or (3) at the end.
   12780    # Note that $ac_compile itself does not contain backslashes and begins
   12781    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12782    # The option is referenced via a variable to avoid confusing sed.
   12783    lt_compile=`echo "$ac_compile" | $SED \
   12784    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12785    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12786    -e 's:$: $lt_compiler_flag:'`
   12787    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12788    (eval "$lt_compile" 2>conftest.err)
   12789    ac_status=$?
   12790    cat conftest.err >&5
   12791    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12792    if (exit $ac_status) && test -s "$ac_outfile"; then
   12793      # The compiler can only warn and ignore the option if not recognized
   12794      # So say no if there are warnings other than the usual output.
   12795      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12796      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12797      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12798        lt_cv_prog_compiler_pic_works=yes
   12799      fi
   12800    fi
   12801    $RM conftest*
   12802  ;;
   12803 esac
   12804 fi
   12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12806 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12807 
   12808 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12809     case $lt_prog_compiler_pic in
   12810      "" | " "*) ;;
   12811      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12812      esac
   12813 else
   12814     lt_prog_compiler_pic=
   12815      lt_prog_compiler_can_build_shared=no
   12816 fi
   12817 
   12818 fi
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 #
   12825 # Check to make sure the static flag actually works.
   12826 #
   12827 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12829 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12830 if test ${lt_cv_prog_compiler_static_works+y}
   12831 then :
   12832   printf %s "(cached) " >&6
   12833 else case e in #(
   12834   e) lt_cv_prog_compiler_static_works=no
   12835    save_LDFLAGS=$LDFLAGS
   12836    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12837    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12838    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12839      # The linker can only warn and ignore the option if not recognized
   12840      # So say no if there are warnings
   12841      if test -s conftest.err; then
   12842        # Append any errors to the config.log.
   12843        cat conftest.err 1>&5
   12844        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12845        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12846        if diff conftest.exp conftest.er2 >/dev/null; then
   12847          lt_cv_prog_compiler_static_works=yes
   12848        fi
   12849      else
   12850        lt_cv_prog_compiler_static_works=yes
   12851      fi
   12852    fi
   12853    $RM -r conftest*
   12854    LDFLAGS=$save_LDFLAGS
   12855  ;;
   12856 esac
   12857 fi
   12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12859 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12860 
   12861 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12862     :
   12863 else
   12864     lt_prog_compiler_static=
   12865 fi
   12866 
   12867 
   12868 
   12869 ='-fPIC'
   12870   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12871   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   12872   archive_cmds_need_lc=no
   12873   no_undefined_flag=
   12874   ;;
   12875 
   12876 *)
   12877   dynamic_linker=no
   12878   ;;
   12879 esac
   12880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12881 printf "%s\n" "$dynamic_linker" >&6; }
   12882 test no = "$dynamic_linker" && can_build_shared=no
   12883 
   12884 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12885 if test yes = "$GCC"; then
   12886   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12887 fi
   12888 
   12889 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12890   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12891 fi
   12892 
   12893 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12894   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12895 fi
   12896 
   12897 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12898 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12899 
   12900 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12901 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12902 
   12903 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12904 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13003 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13004 hardcode_action=
   13005 if test -n "$hardcode_libdir_flag_spec" ||
   13006    test -n "$runpath_var" ||
   13007    test yes = "$hardcode_automatic"; then
   13008 
   13009   # We can hardcode non-existent directories.
   13010   if test no != "$hardcode_direct" &&
   13011      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13012      # have to relink, otherwise we might link with an installed library
   13013      # when we should be linking with a yet-to-be-installed one
   13014      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13015      test no != "$hardcode_minus_L"; then
   13016     # Linking always hardcodes the temporary library directory.
   13017     hardcode_action=relink
   13018   else
   13019     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13020     hardcode_action=immediate
   13021   fi
   13022 else
   13023   # We cannot hardcode anything, or else we can only hardcode existing
   13024   # directories.
   13025   hardcode_action=unsupported
   13026 fi
   13027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13028 printf "%s\n" "$hardcode_action" >&6; }
   13029 
   13030 if test relink = "$hardcode_action" ||
   13031    test yes = "$inherit_rpath"; then
   13032   # Fast installation is not supported
   13033   enable_fast_install=no
   13034 elif test yes = "$shlibpath_overrides_runpath" ||
   13035      test no = "$enable_shared"; then
   13036   # Fast installation is not necessary
   13037   enable_fast_install=needless
   13038 fi
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045   if test yes != "$enable_dlopen"; then
   13046   enable_dlopen=unknown
   13047   enable_dlopen_self=unknown
   13048   enable_dlopen_self_static=unknown
   13049 else
   13050   lt_cv_dlopen=no
   13051   lt_cv_dlopen_libs=
   13052 
   13053   case $host_os in
   13054   beos*)
   13055     lt_cv_dlopen=load_add_on
   13056     lt_cv_dlopen_libs=
   13057     lt_cv_dlopen_self=yes
   13058     ;;
   13059 
   13060   mingw* | windows* | pw32* | cegcc*)
   13061     lt_cv_dlopen=LoadLibrary
   13062     lt_cv_dlopen_libs=
   13063     ;;
   13064 
   13065   cygwin*)
   13066     lt_cv_dlopen=dlopen
   13067     lt_cv_dlopen_libs=
   13068     ;;
   13069 
   13070   darwin*)
   13071     # if libdl is installed we need to link against it
   13072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13073 printf %s "checking for dlopen in -ldl... " >&6; }
   13074 if test ${ac_cv_lib_dl_dlopen+y}
   13075 then :
   13076   printf %s "(cached) " >&6
   13077 else case e in #(
   13078   e) ac_check_lib_save_LIBS=$LIBS
   13079 LIBS="-ldl  $LIBS"
   13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13081 /* end confdefs.h.  */
   13082 
   13083 /* Override any GCC internal prototype to avoid an error.
   13084    Use char because int might match the return type of a GCC
   13085    builtin and then its argument prototype would still apply.
   13086    The 'extern "C"' is for builds by C++ compilers;
   13087    although this is not generally supported in C code supporting it here
   13088    has little cost and some practical benefit (sr 110532).  */
   13089 #ifdef __cplusplus
   13090 extern "C"
   13091 #endif
   13092 char dlopen (void);
   13093 int
   13094 main (void)
   13095 {
   13096 return dlopen ();
   13097   ;
   13098   return 0;
   13099 }
   13100 _ACEOF
   13101 if ac_fn_c_try_link "$LINENO"
   13102 then :
   13103   ac_cv_lib_dl_dlopen=yes
   13104 else case e in #(
   13105   e) ac_cv_lib_dl_dlopen=no ;;
   13106 esac
   13107 fi
   13108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13109     conftest$ac_exeext conftest.$ac_ext
   13110 LIBS=$ac_check_lib_save_LIBS ;;
   13111 esac
   13112 fi
   13113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13114 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13115 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13116 then :
   13117   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13118 else case e in #(
   13119   e)
   13120     lt_cv_dlopen=dyld
   13121     lt_cv_dlopen_libs=
   13122     lt_cv_dlopen_self=yes
   13123      ;;
   13124 esac
   13125 fi
   13126 
   13127     ;;
   13128 
   13129   tpf*)
   13130     # Don't try to run any link tests for TPF.  We know it's impossible
   13131     # because TPF is a cross-compiler, and we know how we open DSOs.
   13132     lt_cv_dlopen=dlopen
   13133     lt_cv_dlopen_libs=
   13134     lt_cv_dlopen_self=no
   13135     ;;
   13136 
   13137   *)
   13138     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13139 if test "x$ac_cv_func_shl_load" = xyes
   13140 then :
   13141   lt_cv_dlopen=shl_load
   13142 else case e in #(
   13143   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13144 printf %s "checking for shl_load in -ldld... " >&6; }
   13145 if test ${ac_cv_lib_dld_shl_load+y}
   13146 then :
   13147   printf %s "(cached) " >&6
   13148 else case e in #(
   13149   e) ac_check_lib_save_LIBS=$LIBS
   13150 LIBS="-ldld  $LIBS"
   13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13152 /* end confdefs.h.  */
   13153 
   13154 /* Override any GCC internal prototype to avoid an error.
   13155    Use char because int might match the return type of a GCC
   13156    builtin and then its argument prototype would still apply.
   13157    The 'extern "C"' is for builds by C++ compilers;
   13158    although this is not generally supported in C code supporting it here
   13159    has little cost and some practical benefit (sr 110532).  */
   13160 #ifdef __cplusplus
   13161 extern "C"
   13162 #endif
   13163 char shl_load (void);
   13164 int
   13165 main (void)
   13166 {
   13167 return shl_load ();
   13168   ;
   13169   return 0;
   13170 }
   13171 _ACEOF
   13172 if ac_fn_c_try_link "$LINENO"
   13173 then :
   13174   ac_cv_lib_dld_shl_load=yes
   13175 else case e in #(
   13176   e) ac_cv_lib_dld_shl_load=no ;;
   13177 esac
   13178 fi
   13179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13180     conftest$ac_exeext conftest.$ac_ext
   13181 LIBS=$ac_check_lib_save_LIBS ;;
   13182 esac
   13183 fi
   13184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13185 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13186 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13187 then :
   13188   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13189 else case e in #(
   13190   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13191 if test "x$ac_cv_func_dlopen" = xyes
   13192 then :
   13193   lt_cv_dlopen=dlopen
   13194 else case e in #(
   13195   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13196 printf %s "checking for dlopen in -ldl... " >&6; }
   13197 if test ${ac_cv_lib_dl_dlopen+y}
   13198 then :
   13199   printf %s "(cached) " >&6
   13200 else case e in #(
   13201   e) ac_check_lib_save_LIBS=$LIBS
   13202 LIBS="-ldl  $LIBS"
   13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13204 /* end confdefs.h.  */
   13205 
   13206 /* Override any GCC internal prototype to avoid an error.
   13207    Use char because int might match the return type of a GCC
   13208    builtin and then its argument prototype would still apply.
   13209    The 'extern "C"' is for builds by C++ compilers;
   13210    although this is not generally supported in C code supporting it here
   13211    has little cost and some practical benefit (sr 110532).  */
   13212 #ifdef __cplusplus
   13213 extern "C"
   13214 #endif
   13215 char dlopen (void);
   13216 int
   13217 main (void)
   13218 {
   13219 return dlopen ();
   13220   ;
   13221   return 0;
   13222 }
   13223 _ACEOF
   13224 if ac_fn_c_try_link "$LINENO"
   13225 then :
   13226   ac_cv_lib_dl_dlopen=yes
   13227 else case e in #(
   13228   e) ac_cv_lib_dl_dlopen=no ;;
   13229 esac
   13230 fi
   13231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13232     conftest$ac_exeext conftest.$ac_ext
   13233 LIBS=$ac_check_lib_save_LIBS ;;
   13234 esac
   13235 fi
   13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13237 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13238 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13239 then :
   13240   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13241 else case e in #(
   13242   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13243 printf %s "checking for dlopen in -lsvld... " >&6; }
   13244 if test ${ac_cv_lib_svld_dlopen+y}
   13245 then :
   13246   printf %s "(cached) " >&6
   13247 else case e in #(
   13248   e) ac_check_lib_save_LIBS=$LIBS
   13249 LIBS="-lsvld  $LIBS"
   13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13251 /* end confdefs.h.  */
   13252 
   13253 /* Override any GCC internal prototype to avoid an error.
   13254    Use char because int might match the return type of a GCC
   13255    builtin and then its argument prototype would still apply.
   13256    The 'extern "C"' is for builds by C++ compilers;
   13257    although this is not generally supported in C code supporting it here
   13258    has little cost and some practical benefit (sr 110532).  */
   13259 #ifdef __cplusplus
   13260 extern "C"
   13261 #endif
   13262 char dlopen (void);
   13263 int
   13264 main (void)
   13265 {
   13266 return dlopen ();
   13267   ;
   13268   return 0;
   13269 }
   13270 _ACEOF
   13271 if ac_fn_c_try_link "$LINENO"
   13272 then :
   13273   ac_cv_lib_svld_dlopen=yes
   13274 else case e in #(
   13275   e) ac_cv_lib_svld_dlopen=no ;;
   13276 esac
   13277 fi
   13278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13279     conftest$ac_exeext conftest.$ac_ext
   13280 LIBS=$ac_check_lib_save_LIBS ;;
   13281 esac
   13282 fi
   13283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13284 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13285 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13286 then :
   13287   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13288 else case e in #(
   13289   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13290 printf %s "checking for dld_link in -ldld... " >&6; }
   13291 if test ${ac_cv_lib_dld_dld_link+y}
   13292 then :
   13293   printf %s "(cached) " >&6
   13294 else case e in #(
   13295   e) ac_check_lib_save_LIBS=$LIBS
   13296 LIBS="-ldld  $LIBS"
   13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13298 /* end confdefs.h.  */
   13299 
   13300 /* Override any GCC internal prototype to avoid an error.
   13301    Use char because int might match the return type of a GCC
   13302    builtin and then its argument prototype would still apply.
   13303    The 'extern "C"' is for builds by C++ compilers;
   13304    although this is not generally supported in C code supporting it here
   13305    has little cost and some practical benefit (sr 110532).  */
   13306 #ifdef __cplusplus
   13307 extern "C"
   13308 #endif
   13309 char dld_link (void);
   13310 int
   13311 main (void)
   13312 {
   13313 return dld_link ();
   13314   ;
   13315   return 0;
   13316 }
   13317 _ACEOF
   13318 if ac_fn_c_try_link "$LINENO"
   13319 then :
   13320   ac_cv_lib_dld_dld_link=yes
   13321 else case e in #(
   13322   e) ac_cv_lib_dld_dld_link=no ;;
   13323 esac
   13324 fi
   13325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13326     conftest$ac_exeext conftest.$ac_ext
   13327 LIBS=$ac_check_lib_save_LIBS ;;
   13328 esac
   13329 fi
   13330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13331 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13332 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13333 then :
   13334   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13335 fi
   13336 
   13337 	       ;;
   13338 esac
   13339 fi
   13340 
   13341 	     ;;
   13342 esac
   13343 fi
   13344 
   13345 	   ;;
   13346 esac
   13347 fi
   13348 
   13349 	 ;;
   13350 esac
   13351 fi
   13352 
   13353        ;;
   13354 esac
   13355 fi
   13356 
   13357     ;;
   13358   esac
   13359 
   13360   if test no = "$lt_cv_dlopen"; then
   13361     enable_dlopen=no
   13362   else
   13363     enable_dlopen=yes
   13364   fi
   13365 
   13366   case $lt_cv_dlopen in
   13367   dlopen)
   13368     save_CPPFLAGS=$CPPFLAGS
   13369     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13370 
   13371     save_LDFLAGS=$LDFLAGS
   13372     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13373 
   13374     save_LIBS=$LIBS
   13375     LIBS="$lt_cv_dlopen_libs $LIBS"
   13376 
   13377     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13378 printf %s "checking whether a program can dlopen itself... " >&6; }
   13379 if test ${lt_cv_dlopen_self+y}
   13380 then :
   13381   printf %s "(cached) " >&6
   13382 else case e in #(
   13383   e) 	  if test yes = "$cross_compiling"; then :
   13384   lt_cv_dlopen_self=cross
   13385 else
   13386   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13387   lt_status=$lt_dlunknown
   13388   cat > conftest.$ac_ext <<_LT_EOF
   13389 #line $LINENO "configure"
   13390 #include "confdefs.h"
   13391 
   13392 #if HAVE_DLFCN_H
   13393 #include <dlfcn.h>
   13394 #endif
   13395 
   13396 #include <stdio.h>
   13397 
   13398 #ifdef RTLD_GLOBAL
   13399 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13400 #else
   13401 #  ifdef DL_GLOBAL
   13402 #    define LT_DLGLOBAL		DL_GLOBAL
   13403 #  else
   13404 #    define LT_DLGLOBAL		0
   13405 #  endif
   13406 #endif
   13407 
   13408 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13409    find out it does not work in some platform. */
   13410 #ifndef LT_DLLAZY_OR_NOW
   13411 #  ifdef RTLD_LAZY
   13412 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13413 #  else
   13414 #    ifdef DL_LAZY
   13415 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13416 #    else
   13417 #      ifdef RTLD_NOW
   13418 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13419 #      else
   13420 #        ifdef DL_NOW
   13421 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13422 #        else
   13423 #          define LT_DLLAZY_OR_NOW	0
   13424 #        endif
   13425 #      endif
   13426 #    endif
   13427 #  endif
   13428 #endif
   13429 
   13430 /* When -fvisibility=hidden is used, assume the code has been annotated
   13431    correspondingly for the symbols needed.  */
   13432 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13433 int fnord (void) __attribute__((visibility("default")));
   13434 #endif
   13435 
   13436 int fnord (void) { return 42; }
   13437 int main (void)
   13438 {
   13439   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13440   int status = $lt_dlunknown;
   13441 
   13442   if (self)
   13443     {
   13444       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13445       else
   13446         {
   13447 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13448           else puts (dlerror ());
   13449 	}
   13450       /* dlclose (self); */
   13451     }
   13452   else
   13453     puts (dlerror ());
   13454 
   13455   return status;
   13456 }
   13457 _LT_EOF
   13458   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13459   (eval $ac_link) 2>&5
   13460   ac_status=$?
   13461   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13462   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13463     (./conftest; exit; ) >&5 2>/dev/null
   13464     lt_status=$?
   13465     case x$lt_status in
   13466       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13467       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13468       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13469     esac
   13470   else :
   13471     # compilation failed
   13472     lt_cv_dlopen_self=no
   13473   fi
   13474 fi
   13475 rm -fr conftest*
   13476 
   13477      ;;
   13478 esac
   13479 fi
   13480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13481 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13482 
   13483     if test yes = "$lt_cv_dlopen_self"; then
   13484       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13485       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13486 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13487 if test ${lt_cv_dlopen_self_static+y}
   13488 then :
   13489   printf %s "(cached) " >&6
   13490 else case e in #(
   13491   e) 	  if test yes = "$cross_compiling"; then :
   13492   lt_cv_dlopen_self_static=cross
   13493 else
   13494   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13495   lt_status=$lt_dlunknown
   13496   cat > conftest.$ac_ext <<_LT_EOF
   13497 #line $LINENO "configure"
   13498 #include "confdefs.h"
   13499 
   13500 #if HAVE_DLFCN_H
   13501 #include <dlfcn.h>
   13502 #endif
   13503 
   13504 #include <stdio.h>
   13505 
   13506 #ifdef RTLD_GLOBAL
   13507 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13508 #else
   13509 #  ifdef DL_GLOBAL
   13510 #    define LT_DLGLOBAL		DL_GLOBAL
   13511 #  else
   13512 #    define LT_DLGLOBAL		0
   13513 #  endif
   13514 #endif
   13515 
   13516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13517    find out it does not work in some platform. */
   13518 #ifndef LT_DLLAZY_OR_NOW
   13519 #  ifdef RTLD_LAZY
   13520 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13521 #  else
   13522 #    ifdef DL_LAZY
   13523 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13524 #    else
   13525 #      ifdef RTLD_NOW
   13526 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13527 #      else
   13528 #        ifdef DL_NOW
   13529 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13530 #        else
   13531 #          define LT_DLLAZY_OR_NOW	0
   13532 #        endif
   13533 #      endif
   13534 #    endif
   13535 #  endif
   13536 #endif
   13537 
   13538 /* When -fvisibility=hidden is used, assume the code has been annotated
   13539    correspondingly for the symbols needed.  */
   13540 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13541 int fnord (void) __attribute__((visibility("default")));
   13542 #endif
   13543 
   13544 int fnord (void) { return 42; }
   13545 int main (void)
   13546 {
   13547   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13548   int status = $lt_dlunknown;
   13549 
   13550   if (self)
   13551     {
   13552       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13553       else
   13554         {
   13555 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13556           else puts (dlerror ());
   13557 	}
   13558       /* dlclose (self); */
   13559     }
   13560   else
   13561     puts (dlerror ());
   13562 
   13563   return status;
   13564 }
   13565 _LT_EOF
   13566   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13567   (eval $ac_link) 2>&5
   13568   ac_status=$?
   13569   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13570   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13571     (./conftest; exit; ) >&5 2>/dev/null
   13572     lt_status=$?
   13573     case x$lt_status in
   13574       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13575       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13576       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13577     esac
   13578   else :
   13579     # compilation failed
   13580     lt_cv_dlopen_self_static=no
   13581   fi
   13582 fi
   13583 rm -fr conftest*
   13584 
   13585        ;;
   13586 esac
   13587 fi
   13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13589 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13590     fi
   13591 
   13592     CPPFLAGS=$save_CPPFLAGS
   13593     LDFLAGS=$save_LDFLAGS
   13594     LIBS=$save_LIBS
   13595     ;;
   13596   esac
   13597 
   13598   case $lt_cv_dlopen_self in
   13599   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13600   *) enable_dlopen_self=unknown ;;
   13601   esac
   13602 
   13603   case $lt_cv_dlopen_self_static in
   13604   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13605   *) enable_dlopen_self_static=unknown ;;
   13606   esac
   13607 fi
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 striplib=
   13626 old_striplib=
   13627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13628 printf %s "checking whether stripping libraries is possible... " >&6; }
   13629 if test -z "$STRIP"; then
   13630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13631 printf "%s\n" "no" >&6; }
   13632 else
   13633   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13634     old_striplib="$STRIP --strip-debug"
   13635     striplib="$STRIP --strip-unneeded"
   13636     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13637 printf "%s\n" "yes" >&6; }
   13638   else
   13639     case $host_os in
   13640     darwin*)
   13641       # FIXME - insert some real tests, host_os isn't really good enough
   13642       striplib="$STRIP -x"
   13643       old_striplib="$STRIP -S"
   13644       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13645 printf "%s\n" "yes" >&6; }
   13646       ;;
   13647     freebsd*)
   13648       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13649         old_striplib="$STRIP --strip-debug"
   13650         striplib="$STRIP --strip-unneeded"
   13651         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13652 printf "%s\n" "yes" >&6; }
   13653       else
   13654         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13655 printf "%s\n" "no" >&6; }
   13656       fi
   13657       ;;
   13658     *)
   13659       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13660 printf "%s\n" "no" >&6; }
   13661       ;;
   13662     esac
   13663   fi
   13664 fi
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 
   13677   # Report what library types will actually be built
   13678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13679 printf %s "checking if libtool supports shared libraries... " >&6; }
   13680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13681 printf "%s\n" "$can_build_shared" >&6; }
   13682 
   13683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13684 printf %s "checking whether to build shared libraries... " >&6; }
   13685   test no = "$can_build_shared" && enable_shared=no
   13686 
   13687   # On AIX, shared libraries and static libraries use the same namespace, and
   13688   # are all built from PIC.
   13689   case $host_os in
   13690   aix3*)
   13691     test yes = "$enable_shared" && enable_static=no
   13692     if test -n "$RANLIB"; then
   13693       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13694       postinstall_cmds='$RANLIB $lib'
   13695     fi
   13696     ;;
   13697 
   13698   aix[4-9]*)
   13699     if test ia64 != "$host_cpu"; then
   13700       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13701       yes,aix,yes) ;;			# shared object as lib.so file only
   13702       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13703       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13704       esac
   13705     fi
   13706     ;;
   13707   esac
   13708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13709 printf "%s\n" "$enable_shared" >&6; }
   13710 
   13711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13712 printf %s "checking whether to build static libraries... " >&6; }
   13713   # Make sure either enable_shared or enable_static is yes.
   13714   test yes = "$enable_shared" || enable_static=yes
   13715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13716 printf "%s\n" "$enable_static" >&6; }
   13717 
   13718 
   13719 
   13720 
   13721 fi
   13722 ac_ext=c
   13723 ac_cpp='$CPP $CPPFLAGS'
   13724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13727 
   13728 CC=$lt_save_CC
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744         ac_config_commands="$ac_config_commands libtool"
   13745 
   13746 
   13747 
   13748 
   13749 # Only expand once:
   13750 
   13751 
   13752 
   13753 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13766 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13767 if test ${ac_cv_c_undeclared_builtin_options+y}
   13768 then :
   13769   printf %s "(cached) " >&6
   13770 else case e in #(
   13771   e) ac_save_CFLAGS=$CFLAGS
   13772    ac_cv_c_undeclared_builtin_options='cannot detect'
   13773    for ac_arg in '' -fno-builtin; do
   13774      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13775      # This test program should *not* compile successfully.
   13776      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13777 /* end confdefs.h.  */
   13778 
   13779 int
   13780 main (void)
   13781 {
   13782 (void) strchr;
   13783   ;
   13784   return 0;
   13785 }
   13786 _ACEOF
   13787 if ac_fn_c_try_compile "$LINENO"
   13788 then :
   13789 
   13790 else case e in #(
   13791   e) # This test program should compile successfully.
   13792         # No library function is consistently available on
   13793         # freestanding implementations, so test against a dummy
   13794         # declaration.  Include always-available headers on the
   13795         # off chance that they somehow elicit warnings.
   13796         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13797 /* end confdefs.h.  */
   13798 #include <float.h>
   13799 #include <limits.h>
   13800 #include <stdarg.h>
   13801 #include <stddef.h>
   13802 extern void ac_decl (int, char *);
   13803 
   13804 int
   13805 main (void)
   13806 {
   13807 (void) ac_decl (0, (char *) 0);
   13808   (void) ac_decl;
   13809 
   13810   ;
   13811   return 0;
   13812 }
   13813 _ACEOF
   13814 if ac_fn_c_try_compile "$LINENO"
   13815 then :
   13816   if test x"$ac_arg" = x
   13817 then :
   13818   ac_cv_c_undeclared_builtin_options='none needed'
   13819 else case e in #(
   13820   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13821 esac
   13822 fi
   13823           break
   13824 fi
   13825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13826 esac
   13827 fi
   13828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13829     done
   13830     CFLAGS=$ac_save_CFLAGS
   13831    ;;
   13832 esac
   13833 fi
   13834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13835 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13836   case $ac_cv_c_undeclared_builtin_options in #(
   13837   'cannot detect') :
   13838     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13839 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13840 as_fn_error $? "cannot make $CC report undeclared builtins
   13841 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13842   'none needed') :
   13843     ac_c_undeclared_builtin_options='' ;; #(
   13844   *) :
   13845     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13846 esac
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13853 if test "x$ac_cv_have_decl___clang__" = xyes
   13854 then :
   13855   CLANGCC="yes"
   13856 else case e in #(
   13857   e) CLANGCC="no" ;;
   13858 esac
   13859 fi
   13860 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13861 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13862 then :
   13863   INTELCC="yes"
   13864 else case e in #(
   13865   e) INTELCC="no" ;;
   13866 esac
   13867 fi
   13868 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13869 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13870 then :
   13871   SUNCC="yes"
   13872 else case e in #(
   13873   e) SUNCC="no" ;;
   13874 esac
   13875 fi
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13885 	if test -n "$ac_tool_prefix"; then
   13886   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13887 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13889 printf %s "checking for $ac_word... " >&6; }
   13890 if test ${ac_cv_path_PKG_CONFIG+y}
   13891 then :
   13892   printf %s "(cached) " >&6
   13893 else case e in #(
   13894   e) case $PKG_CONFIG in
   13895   [\\/]* | ?:[\\/]*)
   13896   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13897   ;;
   13898   *)
   13899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13900 for as_dir in $PATH
   13901 do
   13902   IFS=$as_save_IFS
   13903   case $as_dir in #(((
   13904     '') as_dir=./ ;;
   13905     */) ;;
   13906     *) as_dir=$as_dir/ ;;
   13907   esac
   13908     for ac_exec_ext in '' $ac_executable_extensions; do
   13909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13910     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13912     break 2
   13913   fi
   13914 done
   13915   done
   13916 IFS=$as_save_IFS
   13917 
   13918   ;;
   13919 esac ;;
   13920 esac
   13921 fi
   13922 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13923 if test -n "$PKG_CONFIG"; then
   13924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13925 printf "%s\n" "$PKG_CONFIG" >&6; }
   13926 else
   13927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13928 printf "%s\n" "no" >&6; }
   13929 fi
   13930 
   13931 
   13932 fi
   13933 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13934   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13935   # Extract the first word of "pkg-config", so it can be a program name with args.
   13936 set dummy pkg-config; ac_word=$2
   13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13938 printf %s "checking for $ac_word... " >&6; }
   13939 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13940 then :
   13941   printf %s "(cached) " >&6
   13942 else case e in #(
   13943   e) case $ac_pt_PKG_CONFIG in
   13944   [\\/]* | ?:[\\/]*)
   13945   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13946   ;;
   13947   *)
   13948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13949 for as_dir in $PATH
   13950 do
   13951   IFS=$as_save_IFS
   13952   case $as_dir in #(((
   13953     '') as_dir=./ ;;
   13954     */) ;;
   13955     *) as_dir=$as_dir/ ;;
   13956   esac
   13957     for ac_exec_ext in '' $ac_executable_extensions; do
   13958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13959     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13960     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13961     break 2
   13962   fi
   13963 done
   13964   done
   13965 IFS=$as_save_IFS
   13966 
   13967   ;;
   13968 esac ;;
   13969 esac
   13970 fi
   13971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13972 if test -n "$ac_pt_PKG_CONFIG"; then
   13973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13974 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13975 else
   13976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13977 printf "%s\n" "no" >&6; }
   13978 fi
   13979 
   13980   if test "x$ac_pt_PKG_CONFIG" = x; then
   13981     PKG_CONFIG=""
   13982   else
   13983     case $cross_compiling:$ac_tool_warned in
   13984 yes:)
   13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13986 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13987 ac_tool_warned=yes ;;
   13988 esac
   13989     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13990   fi
   13991 else
   13992   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13993 fi
   13994 
   13995 fi
   13996 if test -n "$PKG_CONFIG"; then
   13997 	_pkg_min_version=0.9.0
   13998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13999 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14000 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14002 printf "%s\n" "yes" >&6; }
   14003 	else
   14004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14005 printf "%s\n" "no" >&6; }
   14006 		PKG_CONFIG=""
   14007 	fi
   14008 fi
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 # Check whether --enable-selective-werror was given.
   14015 if test ${enable_selective_werror+y}
   14016 then :
   14017   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14018 else case e in #(
   14019   e) SELECTIVE_WERROR=yes ;;
   14020 esac
   14021 fi
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14028 if test "x$SUNCC" = "xyes"; then
   14029     BASE_CFLAGS="-v"
   14030 else
   14031     BASE_CFLAGS=""
   14032 fi
   14033 
   14034 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 xorg_testset_save_CFLAGS="$CFLAGS"
   14049 
   14050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14053 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14054 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   14065 else case e in #(
   14066   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14073 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14075 	CFLAGS="$xorg_testset_save_CFLAGS"
   14076 fi
   14077 
   14078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14081 	fi
   14082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14086 then :
   14087   printf %s "(cached) " >&6
   14088 else case e in #(
   14089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14090 /* end confdefs.h.  */
   14091 int i;
   14092 _ACEOF
   14093 if ac_fn_c_try_compile "$LINENO"
   14094 then :
   14095   xorg_cv_cc_flag_unused_command_line_argument=yes
   14096 else case e in #(
   14097   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14098 esac
   14099 fi
   14100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14101 esac
   14102 fi
   14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14106 	CFLAGS="$xorg_testset_save_CFLAGS"
   14107 fi
   14108 
   14109 found="no"
   14110 
   14111 	if test $found = "no" ; then
   14112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14114 		fi
   14115 
   14116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14118 		fi
   14119 
   14120 		CFLAGS="$CFLAGS -Wall"
   14121 
   14122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14123 printf %s "checking if $CC supports -Wall... " >&6; }
   14124 		cacheid=xorg_cv_cc_flag__Wall
   14125 		if eval test \${$cacheid+y}
   14126 then :
   14127   printf %s "(cached) " >&6
   14128 else case e in #(
   14129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14130 /* end confdefs.h.  */
   14131 int i;
   14132 int
   14133 main (void)
   14134 {
   14135 
   14136   ;
   14137   return 0;
   14138 }
   14139 _ACEOF
   14140 if ac_fn_c_try_link "$LINENO"
   14141 then :
   14142   eval $cacheid=yes
   14143 else case e in #(
   14144   e) eval $cacheid=no ;;
   14145 esac
   14146 fi
   14147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14148     conftest$ac_exeext conftest.$ac_ext ;;
   14149 esac
   14150 fi
   14151 
   14152 
   14153 		CFLAGS="$xorg_testset_save_CFLAGS"
   14154 
   14155 		eval supported=\$$cacheid
   14156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14157 printf "%s\n" "$supported" >&6; }
   14158 		if test "$supported" = "yes" ; then
   14159 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14160 			found="yes"
   14161 		fi
   14162 	fi
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 xorg_testset_save_CFLAGS="$CFLAGS"
   14179 
   14180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14184 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   14195 else case e in #(
   14196   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14205 	CFLAGS="$xorg_testset_save_CFLAGS"
   14206 fi
   14207 
   14208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14211 	fi
   14212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14216 then :
   14217   printf %s "(cached) " >&6
   14218 else case e in #(
   14219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14220 /* end confdefs.h.  */
   14221 int i;
   14222 _ACEOF
   14223 if ac_fn_c_try_compile "$LINENO"
   14224 then :
   14225   xorg_cv_cc_flag_unused_command_line_argument=yes
   14226 else case e in #(
   14227   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14228 esac
   14229 fi
   14230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14231 esac
   14232 fi
   14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14234 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14236 	CFLAGS="$xorg_testset_save_CFLAGS"
   14237 fi
   14238 
   14239 found="no"
   14240 
   14241 	if test $found = "no" ; then
   14242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14244 		fi
   14245 
   14246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14248 		fi
   14249 
   14250 		CFLAGS="$CFLAGS -Wpointer-arith"
   14251 
   14252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14253 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14254 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14255 		if eval test \${$cacheid+y}
   14256 then :
   14257   printf %s "(cached) " >&6
   14258 else case e in #(
   14259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14260 /* end confdefs.h.  */
   14261 int i;
   14262 int
   14263 main (void)
   14264 {
   14265 
   14266   ;
   14267   return 0;
   14268 }
   14269 _ACEOF
   14270 if ac_fn_c_try_link "$LINENO"
   14271 then :
   14272   eval $cacheid=yes
   14273 else case e in #(
   14274   e) eval $cacheid=no ;;
   14275 esac
   14276 fi
   14277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14278     conftest$ac_exeext conftest.$ac_ext ;;
   14279 esac
   14280 fi
   14281 
   14282 
   14283 		CFLAGS="$xorg_testset_save_CFLAGS"
   14284 
   14285 		eval supported=\$$cacheid
   14286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14287 printf "%s\n" "$supported" >&6; }
   14288 		if test "$supported" = "yes" ; then
   14289 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14290 			found="yes"
   14291 		fi
   14292 	fi
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 xorg_testset_save_CFLAGS="$CFLAGS"
   14309 
   14310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14312 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14313 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14314 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   14325 else case e in #(
   14326   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14333 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14334 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14335 	CFLAGS="$xorg_testset_save_CFLAGS"
   14336 fi
   14337 
   14338 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14339 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14340 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14341 	fi
   14342 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14344 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14345 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14346 then :
   14347   printf %s "(cached) " >&6
   14348 else case e in #(
   14349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14350 /* end confdefs.h.  */
   14351 int i;
   14352 _ACEOF
   14353 if ac_fn_c_try_compile "$LINENO"
   14354 then :
   14355   xorg_cv_cc_flag_unused_command_line_argument=yes
   14356 else case e in #(
   14357   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14358 esac
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14361 esac
   14362 fi
   14363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14366 	CFLAGS="$xorg_testset_save_CFLAGS"
   14367 fi
   14368 
   14369 found="no"
   14370 
   14371 	if test $found = "no" ; then
   14372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14374 		fi
   14375 
   14376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14378 		fi
   14379 
   14380 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14381 
   14382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14383 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14384 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14385 		if eval test \${$cacheid+y}
   14386 then :
   14387   printf %s "(cached) " >&6
   14388 else case e in #(
   14389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14390 /* end confdefs.h.  */
   14391 int i;
   14392 int
   14393 main (void)
   14394 {
   14395 
   14396   ;
   14397   return 0;
   14398 }
   14399 _ACEOF
   14400 if ac_fn_c_try_link "$LINENO"
   14401 then :
   14402   eval $cacheid=yes
   14403 else case e in #(
   14404   e) eval $cacheid=no ;;
   14405 esac
   14406 fi
   14407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14408     conftest$ac_exeext conftest.$ac_ext ;;
   14409 esac
   14410 fi
   14411 
   14412 
   14413 		CFLAGS="$xorg_testset_save_CFLAGS"
   14414 
   14415 		eval supported=\$$cacheid
   14416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14417 printf "%s\n" "$supported" >&6; }
   14418 		if test "$supported" = "yes" ; then
   14419 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14420 			found="yes"
   14421 		fi
   14422 	fi
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 xorg_testset_save_CFLAGS="$CFLAGS"
   14439 
   14440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14443 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14444 if test ${xorg_cv_cc_flag_unknown_warning_option+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_unknown_warning_option=yes
   14455 else case e in #(
   14456   e) xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   14463 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14465 	CFLAGS="$xorg_testset_save_CFLAGS"
   14466 fi
   14467 
   14468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14471 	fi
   14472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14474 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14475 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14476 then :
   14477   printf %s "(cached) " >&6
   14478 else case e in #(
   14479   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 int i;
   14482 _ACEOF
   14483 if ac_fn_c_try_compile "$LINENO"
   14484 then :
   14485   xorg_cv_cc_flag_unused_command_line_argument=yes
   14486 else case e in #(
   14487   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14488 esac
   14489 fi
   14490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14491 esac
   14492 fi
   14493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14496 	CFLAGS="$xorg_testset_save_CFLAGS"
   14497 fi
   14498 
   14499 found="no"
   14500 
   14501 	if test $found = "no" ; then
   14502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14504 		fi
   14505 
   14506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14508 		fi
   14509 
   14510 		CFLAGS="$CFLAGS -Wformat=2"
   14511 
   14512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14513 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14514 		cacheid=xorg_cv_cc_flag__Wformat_2
   14515 		if eval test \${$cacheid+y}
   14516 then :
   14517   printf %s "(cached) " >&6
   14518 else case e in #(
   14519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 int i;
   14522 int
   14523 main (void)
   14524 {
   14525 
   14526   ;
   14527   return 0;
   14528 }
   14529 _ACEOF
   14530 if ac_fn_c_try_link "$LINENO"
   14531 then :
   14532   eval $cacheid=yes
   14533 else case e in #(
   14534   e) eval $cacheid=no ;;
   14535 esac
   14536 fi
   14537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14538     conftest$ac_exeext conftest.$ac_ext ;;
   14539 esac
   14540 fi
   14541 
   14542 
   14543 		CFLAGS="$xorg_testset_save_CFLAGS"
   14544 
   14545 		eval supported=\$$cacheid
   14546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14547 printf "%s\n" "$supported" >&6; }
   14548 		if test "$supported" = "yes" ; then
   14549 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14550 			found="yes"
   14551 		fi
   14552 	fi
   14553 
   14554 	if test $found = "no" ; then
   14555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14557 		fi
   14558 
   14559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14561 		fi
   14562 
   14563 		CFLAGS="$CFLAGS -Wformat"
   14564 
   14565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14566 printf %s "checking if $CC supports -Wformat... " >&6; }
   14567 		cacheid=xorg_cv_cc_flag__Wformat
   14568 		if eval test \${$cacheid+y}
   14569 then :
   14570   printf %s "(cached) " >&6
   14571 else case e in #(
   14572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14573 /* end confdefs.h.  */
   14574 int i;
   14575 int
   14576 main (void)
   14577 {
   14578 
   14579   ;
   14580   return 0;
   14581 }
   14582 _ACEOF
   14583 if ac_fn_c_try_link "$LINENO"
   14584 then :
   14585   eval $cacheid=yes
   14586 else case e in #(
   14587   e) eval $cacheid=no ;;
   14588 esac
   14589 fi
   14590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14591     conftest$ac_exeext conftest.$ac_ext ;;
   14592 esac
   14593 fi
   14594 
   14595 
   14596 		CFLAGS="$xorg_testset_save_CFLAGS"
   14597 
   14598 		eval supported=\$$cacheid
   14599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14600 printf "%s\n" "$supported" >&6; }
   14601 		if test "$supported" = "yes" ; then
   14602 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14603 			found="yes"
   14604 		fi
   14605 	fi
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 xorg_testset_save_CFLAGS="$CFLAGS"
   14624 
   14625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14630 then :
   14631   printf %s "(cached) " >&6
   14632 else case e in #(
   14633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14634 /* end confdefs.h.  */
   14635 int i;
   14636 _ACEOF
   14637 if ac_fn_c_try_compile "$LINENO"
   14638 then :
   14639   xorg_cv_cc_flag_unknown_warning_option=yes
   14640 else case e in #(
   14641   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14642 esac
   14643 fi
   14644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14645 esac
   14646 fi
   14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14650 	CFLAGS="$xorg_testset_save_CFLAGS"
   14651 fi
   14652 
   14653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14656 	fi
   14657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14661 then :
   14662   printf %s "(cached) " >&6
   14663 else case e in #(
   14664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14665 /* end confdefs.h.  */
   14666 int i;
   14667 _ACEOF
   14668 if ac_fn_c_try_compile "$LINENO"
   14669 then :
   14670   xorg_cv_cc_flag_unused_command_line_argument=yes
   14671 else case e in #(
   14672   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14673 esac
   14674 fi
   14675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14676 esac
   14677 fi
   14678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14679 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14681 	CFLAGS="$xorg_testset_save_CFLAGS"
   14682 fi
   14683 
   14684 found="no"
   14685 
   14686 	if test $found = "no" ; then
   14687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14689 		fi
   14690 
   14691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14693 		fi
   14694 
   14695 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14696 
   14697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14698 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14699 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14700 		if eval test \${$cacheid+y}
   14701 then :
   14702   printf %s "(cached) " >&6
   14703 else case e in #(
   14704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14705 /* end confdefs.h.  */
   14706 int i;
   14707 int
   14708 main (void)
   14709 {
   14710 
   14711   ;
   14712   return 0;
   14713 }
   14714 _ACEOF
   14715 if ac_fn_c_try_link "$LINENO"
   14716 then :
   14717   eval $cacheid=yes
   14718 else case e in #(
   14719   e) eval $cacheid=no ;;
   14720 esac
   14721 fi
   14722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14723     conftest$ac_exeext conftest.$ac_ext ;;
   14724 esac
   14725 fi
   14726 
   14727 
   14728 		CFLAGS="$xorg_testset_save_CFLAGS"
   14729 
   14730 		eval supported=\$$cacheid
   14731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14732 printf "%s\n" "$supported" >&6; }
   14733 		if test "$supported" = "yes" ; then
   14734 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14735 			found="yes"
   14736 		fi
   14737 	fi
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 xorg_testset_save_CFLAGS="$CFLAGS"
   14754 
   14755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14760 then :
   14761   printf %s "(cached) " >&6
   14762 else case e in #(
   14763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14764 /* end confdefs.h.  */
   14765 int i;
   14766 _ACEOF
   14767 if ac_fn_c_try_compile "$LINENO"
   14768 then :
   14769   xorg_cv_cc_flag_unknown_warning_option=yes
   14770 else case e in #(
   14771   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14772 esac
   14773 fi
   14774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14775 esac
   14776 fi
   14777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14780 	CFLAGS="$xorg_testset_save_CFLAGS"
   14781 fi
   14782 
   14783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14786 	fi
   14787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14791 then :
   14792   printf %s "(cached) " >&6
   14793 else case e in #(
   14794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 _ACEOF
   14798 if ac_fn_c_try_compile "$LINENO"
   14799 then :
   14800   xorg_cv_cc_flag_unused_command_line_argument=yes
   14801 else case e in #(
   14802   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14803 esac
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14806 esac
   14807 fi
   14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14811 	CFLAGS="$xorg_testset_save_CFLAGS"
   14812 fi
   14813 
   14814 found="no"
   14815 
   14816 	if test $found = "no" ; then
   14817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14819 		fi
   14820 
   14821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14823 		fi
   14824 
   14825 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14826 
   14827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14828 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14829 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14830 		if eval test \${$cacheid+y}
   14831 then :
   14832   printf %s "(cached) " >&6
   14833 else case e in #(
   14834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14835 /* end confdefs.h.  */
   14836 int i;
   14837 int
   14838 main (void)
   14839 {
   14840 
   14841   ;
   14842   return 0;
   14843 }
   14844 _ACEOF
   14845 if ac_fn_c_try_link "$LINENO"
   14846 then :
   14847   eval $cacheid=yes
   14848 else case e in #(
   14849   e) eval $cacheid=no ;;
   14850 esac
   14851 fi
   14852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14853     conftest$ac_exeext conftest.$ac_ext ;;
   14854 esac
   14855 fi
   14856 
   14857 
   14858 		CFLAGS="$xorg_testset_save_CFLAGS"
   14859 
   14860 		eval supported=\$$cacheid
   14861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14862 printf "%s\n" "$supported" >&6; }
   14863 		if test "$supported" = "yes" ; then
   14864 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14865 			found="yes"
   14866 		fi
   14867 	fi
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 xorg_testset_save_CFLAGS="$CFLAGS"
   14884 
   14885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14890 then :
   14891   printf %s "(cached) " >&6
   14892 else case e in #(
   14893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14894 /* end confdefs.h.  */
   14895 int i;
   14896 _ACEOF
   14897 if ac_fn_c_try_compile "$LINENO"
   14898 then :
   14899   xorg_cv_cc_flag_unknown_warning_option=yes
   14900 else case e in #(
   14901   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14902 esac
   14903 fi
   14904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14905 esac
   14906 fi
   14907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14908 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14910 	CFLAGS="$xorg_testset_save_CFLAGS"
   14911 fi
   14912 
   14913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14916 	fi
   14917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14919 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14920 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14921 then :
   14922   printf %s "(cached) " >&6
   14923 else case e in #(
   14924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14925 /* end confdefs.h.  */
   14926 int i;
   14927 _ACEOF
   14928 if ac_fn_c_try_compile "$LINENO"
   14929 then :
   14930   xorg_cv_cc_flag_unused_command_line_argument=yes
   14931 else case e in #(
   14932   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14933 esac
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14936 esac
   14937 fi
   14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14939 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14941 	CFLAGS="$xorg_testset_save_CFLAGS"
   14942 fi
   14943 
   14944 found="no"
   14945 
   14946 	if test $found = "no" ; then
   14947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14949 		fi
   14950 
   14951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14953 		fi
   14954 
   14955 		CFLAGS="$CFLAGS -Wnested-externs"
   14956 
   14957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14958 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14959 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14960 		if eval test \${$cacheid+y}
   14961 then :
   14962   printf %s "(cached) " >&6
   14963 else case e in #(
   14964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14965 /* end confdefs.h.  */
   14966 int i;
   14967 int
   14968 main (void)
   14969 {
   14970 
   14971   ;
   14972   return 0;
   14973 }
   14974 _ACEOF
   14975 if ac_fn_c_try_link "$LINENO"
   14976 then :
   14977   eval $cacheid=yes
   14978 else case e in #(
   14979   e) eval $cacheid=no ;;
   14980 esac
   14981 fi
   14982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14983     conftest$ac_exeext conftest.$ac_ext ;;
   14984 esac
   14985 fi
   14986 
   14987 
   14988 		CFLAGS="$xorg_testset_save_CFLAGS"
   14989 
   14990 		eval supported=\$$cacheid
   14991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14992 printf "%s\n" "$supported" >&6; }
   14993 		if test "$supported" = "yes" ; then
   14994 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14995 			found="yes"
   14996 		fi
   14997 	fi
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 xorg_testset_save_CFLAGS="$CFLAGS"
   15014 
   15015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15020 then :
   15021   printf %s "(cached) " >&6
   15022 else case e in #(
   15023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15024 /* end confdefs.h.  */
   15025 int i;
   15026 _ACEOF
   15027 if ac_fn_c_try_compile "$LINENO"
   15028 then :
   15029   xorg_cv_cc_flag_unknown_warning_option=yes
   15030 else case e in #(
   15031   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15032 esac
   15033 fi
   15034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15035 esac
   15036 fi
   15037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15040 	CFLAGS="$xorg_testset_save_CFLAGS"
   15041 fi
   15042 
   15043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15046 	fi
   15047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15051 then :
   15052   printf %s "(cached) " >&6
   15053 else case e in #(
   15054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15055 /* end confdefs.h.  */
   15056 int i;
   15057 _ACEOF
   15058 if ac_fn_c_try_compile "$LINENO"
   15059 then :
   15060   xorg_cv_cc_flag_unused_command_line_argument=yes
   15061 else case e in #(
   15062   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15063 esac
   15064 fi
   15065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15066 esac
   15067 fi
   15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15071 	CFLAGS="$xorg_testset_save_CFLAGS"
   15072 fi
   15073 
   15074 found="no"
   15075 
   15076 	if test $found = "no" ; then
   15077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15079 		fi
   15080 
   15081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15083 		fi
   15084 
   15085 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15086 
   15087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15088 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15089 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15090 		if eval test \${$cacheid+y}
   15091 then :
   15092   printf %s "(cached) " >&6
   15093 else case e in #(
   15094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15095 /* end confdefs.h.  */
   15096 int i;
   15097 int
   15098 main (void)
   15099 {
   15100 
   15101   ;
   15102   return 0;
   15103 }
   15104 _ACEOF
   15105 if ac_fn_c_try_link "$LINENO"
   15106 then :
   15107   eval $cacheid=yes
   15108 else case e in #(
   15109   e) eval $cacheid=no ;;
   15110 esac
   15111 fi
   15112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15113     conftest$ac_exeext conftest.$ac_ext ;;
   15114 esac
   15115 fi
   15116 
   15117 
   15118 		CFLAGS="$xorg_testset_save_CFLAGS"
   15119 
   15120 		eval supported=\$$cacheid
   15121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15122 printf "%s\n" "$supported" >&6; }
   15123 		if test "$supported" = "yes" ; then
   15124 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15125 			found="yes"
   15126 		fi
   15127 	fi
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 xorg_testset_save_CFLAGS="$CFLAGS"
   15144 
   15145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15148 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15149 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15150 then :
   15151   printf %s "(cached) " >&6
   15152 else case e in #(
   15153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15154 /* end confdefs.h.  */
   15155 int i;
   15156 _ACEOF
   15157 if ac_fn_c_try_compile "$LINENO"
   15158 then :
   15159   xorg_cv_cc_flag_unknown_warning_option=yes
   15160 else case e in #(
   15161   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15162 esac
   15163 fi
   15164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15165 esac
   15166 fi
   15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15170 	CFLAGS="$xorg_testset_save_CFLAGS"
   15171 fi
   15172 
   15173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15176 	fi
   15177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15181 then :
   15182   printf %s "(cached) " >&6
   15183 else case e in #(
   15184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15185 /* end confdefs.h.  */
   15186 int i;
   15187 _ACEOF
   15188 if ac_fn_c_try_compile "$LINENO"
   15189 then :
   15190   xorg_cv_cc_flag_unused_command_line_argument=yes
   15191 else case e in #(
   15192   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15193 esac
   15194 fi
   15195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15196 esac
   15197 fi
   15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15201 	CFLAGS="$xorg_testset_save_CFLAGS"
   15202 fi
   15203 
   15204 found="no"
   15205 
   15206 	if test $found = "no" ; then
   15207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15209 		fi
   15210 
   15211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15213 		fi
   15214 
   15215 		CFLAGS="$CFLAGS -Wold-style-definition"
   15216 
   15217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15218 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15219 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15220 		if eval test \${$cacheid+y}
   15221 then :
   15222   printf %s "(cached) " >&6
   15223 else case e in #(
   15224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15225 /* end confdefs.h.  */
   15226 int i;
   15227 int
   15228 main (void)
   15229 {
   15230 
   15231   ;
   15232   return 0;
   15233 }
   15234 _ACEOF
   15235 if ac_fn_c_try_link "$LINENO"
   15236 then :
   15237   eval $cacheid=yes
   15238 else case e in #(
   15239   e) eval $cacheid=no ;;
   15240 esac
   15241 fi
   15242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15243     conftest$ac_exeext conftest.$ac_ext ;;
   15244 esac
   15245 fi
   15246 
   15247 
   15248 		CFLAGS="$xorg_testset_save_CFLAGS"
   15249 
   15250 		eval supported=\$$cacheid
   15251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15252 printf "%s\n" "$supported" >&6; }
   15253 		if test "$supported" = "yes" ; then
   15254 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15255 			found="yes"
   15256 		fi
   15257 	fi
   15258 
   15259 	if test $found = "no" ; then
   15260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15262 		fi
   15263 
   15264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15266 		fi
   15267 
   15268 		CFLAGS="$CFLAGS -fd"
   15269 
   15270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15271 printf %s "checking if $CC supports -fd... " >&6; }
   15272 		cacheid=xorg_cv_cc_flag__fd
   15273 		if eval test \${$cacheid+y}
   15274 then :
   15275   printf %s "(cached) " >&6
   15276 else case e in #(
   15277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15278 /* end confdefs.h.  */
   15279 int i;
   15280 int
   15281 main (void)
   15282 {
   15283 
   15284   ;
   15285   return 0;
   15286 }
   15287 _ACEOF
   15288 if ac_fn_c_try_link "$LINENO"
   15289 then :
   15290   eval $cacheid=yes
   15291 else case e in #(
   15292   e) eval $cacheid=no ;;
   15293 esac
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15296     conftest$ac_exeext conftest.$ac_ext ;;
   15297 esac
   15298 fi
   15299 
   15300 
   15301 		CFLAGS="$xorg_testset_save_CFLAGS"
   15302 
   15303 		eval supported=\$$cacheid
   15304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15305 printf "%s\n" "$supported" >&6; }
   15306 		if test "$supported" = "yes" ; then
   15307 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15308 			found="yes"
   15309 		fi
   15310 	fi
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 # This chunk adds additional warnings that could catch undesired effects.
   15317 
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 xorg_testset_save_CFLAGS="$CFLAGS"
   15331 
   15332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15337 then :
   15338   printf %s "(cached) " >&6
   15339 else case e in #(
   15340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15341 /* end confdefs.h.  */
   15342 int i;
   15343 _ACEOF
   15344 if ac_fn_c_try_compile "$LINENO"
   15345 then :
   15346   xorg_cv_cc_flag_unknown_warning_option=yes
   15347 else case e in #(
   15348   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15349 esac
   15350 fi
   15351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15352 esac
   15353 fi
   15354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15355 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15356 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15357 	CFLAGS="$xorg_testset_save_CFLAGS"
   15358 fi
   15359 
   15360 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15361 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15363 	fi
   15364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15366 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15367 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15368 then :
   15369   printf %s "(cached) " >&6
   15370 else case e in #(
   15371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15372 /* end confdefs.h.  */
   15373 int i;
   15374 _ACEOF
   15375 if ac_fn_c_try_compile "$LINENO"
   15376 then :
   15377   xorg_cv_cc_flag_unused_command_line_argument=yes
   15378 else case e in #(
   15379   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15380 esac
   15381 fi
   15382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15383 esac
   15384 fi
   15385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15386 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15388 	CFLAGS="$xorg_testset_save_CFLAGS"
   15389 fi
   15390 
   15391 found="no"
   15392 
   15393 	if test $found = "no" ; then
   15394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15396 		fi
   15397 
   15398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15400 		fi
   15401 
   15402 		CFLAGS="$CFLAGS -Wunused"
   15403 
   15404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15405 printf %s "checking if $CC supports -Wunused... " >&6; }
   15406 		cacheid=xorg_cv_cc_flag__Wunused
   15407 		if eval test \${$cacheid+y}
   15408 then :
   15409   printf %s "(cached) " >&6
   15410 else case e in #(
   15411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15412 /* end confdefs.h.  */
   15413 int i;
   15414 int
   15415 main (void)
   15416 {
   15417 
   15418   ;
   15419   return 0;
   15420 }
   15421 _ACEOF
   15422 if ac_fn_c_try_link "$LINENO"
   15423 then :
   15424   eval $cacheid=yes
   15425 else case e in #(
   15426   e) eval $cacheid=no ;;
   15427 esac
   15428 fi
   15429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15430     conftest$ac_exeext conftest.$ac_ext ;;
   15431 esac
   15432 fi
   15433 
   15434 
   15435 		CFLAGS="$xorg_testset_save_CFLAGS"
   15436 
   15437 		eval supported=\$$cacheid
   15438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15439 printf "%s\n" "$supported" >&6; }
   15440 		if test "$supported" = "yes" ; then
   15441 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15442 			found="yes"
   15443 		fi
   15444 	fi
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 xorg_testset_save_CFLAGS="$CFLAGS"
   15461 
   15462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15464 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15465 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15466 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15467 then :
   15468   printf %s "(cached) " >&6
   15469 else case e in #(
   15470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15471 /* end confdefs.h.  */
   15472 int i;
   15473 _ACEOF
   15474 if ac_fn_c_try_compile "$LINENO"
   15475 then :
   15476   xorg_cv_cc_flag_unknown_warning_option=yes
   15477 else case e in #(
   15478   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15479 esac
   15480 fi
   15481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15482 esac
   15483 fi
   15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15485 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15487 	CFLAGS="$xorg_testset_save_CFLAGS"
   15488 fi
   15489 
   15490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15493 	fi
   15494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15498 then :
   15499   printf %s "(cached) " >&6
   15500 else case e in #(
   15501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15502 /* end confdefs.h.  */
   15503 int i;
   15504 _ACEOF
   15505 if ac_fn_c_try_compile "$LINENO"
   15506 then :
   15507   xorg_cv_cc_flag_unused_command_line_argument=yes
   15508 else case e in #(
   15509   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15510 esac
   15511 fi
   15512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15513 esac
   15514 fi
   15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15516 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15518 	CFLAGS="$xorg_testset_save_CFLAGS"
   15519 fi
   15520 
   15521 found="no"
   15522 
   15523 	if test $found = "no" ; then
   15524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15526 		fi
   15527 
   15528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15530 		fi
   15531 
   15532 		CFLAGS="$CFLAGS -Wuninitialized"
   15533 
   15534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15535 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15536 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15537 		if eval test \${$cacheid+y}
   15538 then :
   15539   printf %s "(cached) " >&6
   15540 else case e in #(
   15541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15542 /* end confdefs.h.  */
   15543 int i;
   15544 int
   15545 main (void)
   15546 {
   15547 
   15548   ;
   15549   return 0;
   15550 }
   15551 _ACEOF
   15552 if ac_fn_c_try_link "$LINENO"
   15553 then :
   15554   eval $cacheid=yes
   15555 else case e in #(
   15556   e) eval $cacheid=no ;;
   15557 esac
   15558 fi
   15559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15560     conftest$ac_exeext conftest.$ac_ext ;;
   15561 esac
   15562 fi
   15563 
   15564 
   15565 		CFLAGS="$xorg_testset_save_CFLAGS"
   15566 
   15567 		eval supported=\$$cacheid
   15568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15569 printf "%s\n" "$supported" >&6; }
   15570 		if test "$supported" = "yes" ; then
   15571 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15572 			found="yes"
   15573 		fi
   15574 	fi
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 xorg_testset_save_CFLAGS="$CFLAGS"
   15591 
   15592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15597 then :
   15598   printf %s "(cached) " >&6
   15599 else case e in #(
   15600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15601 /* end confdefs.h.  */
   15602 int i;
   15603 _ACEOF
   15604 if ac_fn_c_try_compile "$LINENO"
   15605 then :
   15606   xorg_cv_cc_flag_unknown_warning_option=yes
   15607 else case e in #(
   15608   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15609 esac
   15610 fi
   15611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15612 esac
   15613 fi
   15614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15615 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15617 	CFLAGS="$xorg_testset_save_CFLAGS"
   15618 fi
   15619 
   15620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15623 	fi
   15624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15626 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15627 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15628 then :
   15629   printf %s "(cached) " >&6
   15630 else case e in #(
   15631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15632 /* end confdefs.h.  */
   15633 int i;
   15634 _ACEOF
   15635 if ac_fn_c_try_compile "$LINENO"
   15636 then :
   15637   xorg_cv_cc_flag_unused_command_line_argument=yes
   15638 else case e in #(
   15639   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15640 esac
   15641 fi
   15642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15643 esac
   15644 fi
   15645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15648 	CFLAGS="$xorg_testset_save_CFLAGS"
   15649 fi
   15650 
   15651 found="no"
   15652 
   15653 	if test $found = "no" ; then
   15654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15656 		fi
   15657 
   15658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15660 		fi
   15661 
   15662 		CFLAGS="$CFLAGS -Wshadow"
   15663 
   15664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15665 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15666 		cacheid=xorg_cv_cc_flag__Wshadow
   15667 		if eval test \${$cacheid+y}
   15668 then :
   15669   printf %s "(cached) " >&6
   15670 else case e in #(
   15671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15672 /* end confdefs.h.  */
   15673 int i;
   15674 int
   15675 main (void)
   15676 {
   15677 
   15678   ;
   15679   return 0;
   15680 }
   15681 _ACEOF
   15682 if ac_fn_c_try_link "$LINENO"
   15683 then :
   15684   eval $cacheid=yes
   15685 else case e in #(
   15686   e) eval $cacheid=no ;;
   15687 esac
   15688 fi
   15689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15690     conftest$ac_exeext conftest.$ac_ext ;;
   15691 esac
   15692 fi
   15693 
   15694 
   15695 		CFLAGS="$xorg_testset_save_CFLAGS"
   15696 
   15697 		eval supported=\$$cacheid
   15698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15699 printf "%s\n" "$supported" >&6; }
   15700 		if test "$supported" = "yes" ; then
   15701 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15702 			found="yes"
   15703 		fi
   15704 	fi
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 xorg_testset_save_CFLAGS="$CFLAGS"
   15721 
   15722 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15725 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15726 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15727 then :
   15728   printf %s "(cached) " >&6
   15729 else case e in #(
   15730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15731 /* end confdefs.h.  */
   15732 int i;
   15733 _ACEOF
   15734 if ac_fn_c_try_compile "$LINENO"
   15735 then :
   15736   xorg_cv_cc_flag_unknown_warning_option=yes
   15737 else case e in #(
   15738   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15739 esac
   15740 fi
   15741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15742 esac
   15743 fi
   15744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15745 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15747 	CFLAGS="$xorg_testset_save_CFLAGS"
   15748 fi
   15749 
   15750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 	fi
   15754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15758 then :
   15759   printf %s "(cached) " >&6
   15760 else case e in #(
   15761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15762 /* end confdefs.h.  */
   15763 int i;
   15764 _ACEOF
   15765 if ac_fn_c_try_compile "$LINENO"
   15766 then :
   15767   xorg_cv_cc_flag_unused_command_line_argument=yes
   15768 else case e in #(
   15769   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15770 esac
   15771 fi
   15772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15773 esac
   15774 fi
   15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15776 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15778 	CFLAGS="$xorg_testset_save_CFLAGS"
   15779 fi
   15780 
   15781 found="no"
   15782 
   15783 	if test $found = "no" ; then
   15784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15786 		fi
   15787 
   15788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15790 		fi
   15791 
   15792 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15793 
   15794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15795 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15796 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15797 		if eval test \${$cacheid+y}
   15798 then :
   15799   printf %s "(cached) " >&6
   15800 else case e in #(
   15801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 int
   15805 main (void)
   15806 {
   15807 
   15808   ;
   15809   return 0;
   15810 }
   15811 _ACEOF
   15812 if ac_fn_c_try_link "$LINENO"
   15813 then :
   15814   eval $cacheid=yes
   15815 else case e in #(
   15816   e) eval $cacheid=no ;;
   15817 esac
   15818 fi
   15819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15820     conftest$ac_exeext conftest.$ac_ext ;;
   15821 esac
   15822 fi
   15823 
   15824 
   15825 		CFLAGS="$xorg_testset_save_CFLAGS"
   15826 
   15827 		eval supported=\$$cacheid
   15828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15829 printf "%s\n" "$supported" >&6; }
   15830 		if test "$supported" = "yes" ; then
   15831 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15832 			found="yes"
   15833 		fi
   15834 	fi
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 xorg_testset_save_CFLAGS="$CFLAGS"
   15851 
   15852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15855 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15856 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15857 then :
   15858   printf %s "(cached) " >&6
   15859 else case e in #(
   15860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15861 /* end confdefs.h.  */
   15862 int i;
   15863 _ACEOF
   15864 if ac_fn_c_try_compile "$LINENO"
   15865 then :
   15866   xorg_cv_cc_flag_unknown_warning_option=yes
   15867 else case e in #(
   15868   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15869 esac
   15870 fi
   15871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15872 esac
   15873 fi
   15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15875 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15877 	CFLAGS="$xorg_testset_save_CFLAGS"
   15878 fi
   15879 
   15880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15883 	fi
   15884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15885 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15886 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15887 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15888 then :
   15889   printf %s "(cached) " >&6
   15890 else case e in #(
   15891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15892 /* end confdefs.h.  */
   15893 int i;
   15894 _ACEOF
   15895 if ac_fn_c_try_compile "$LINENO"
   15896 then :
   15897   xorg_cv_cc_flag_unused_command_line_argument=yes
   15898 else case e in #(
   15899   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15900 esac
   15901 fi
   15902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15903 esac
   15904 fi
   15905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15906 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15908 	CFLAGS="$xorg_testset_save_CFLAGS"
   15909 fi
   15910 
   15911 found="no"
   15912 
   15913 	if test $found = "no" ; then
   15914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15916 		fi
   15917 
   15918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15920 		fi
   15921 
   15922 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15923 
   15924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15925 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15926 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15927 		if eval test \${$cacheid+y}
   15928 then :
   15929   printf %s "(cached) " >&6
   15930 else case e in #(
   15931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15932 /* end confdefs.h.  */
   15933 int i;
   15934 int
   15935 main (void)
   15936 {
   15937 
   15938   ;
   15939   return 0;
   15940 }
   15941 _ACEOF
   15942 if ac_fn_c_try_link "$LINENO"
   15943 then :
   15944   eval $cacheid=yes
   15945 else case e in #(
   15946   e) eval $cacheid=no ;;
   15947 esac
   15948 fi
   15949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15950     conftest$ac_exeext conftest.$ac_ext ;;
   15951 esac
   15952 fi
   15953 
   15954 
   15955 		CFLAGS="$xorg_testset_save_CFLAGS"
   15956 
   15957 		eval supported=\$$cacheid
   15958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15959 printf "%s\n" "$supported" >&6; }
   15960 		if test "$supported" = "yes" ; then
   15961 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15962 			found="yes"
   15963 		fi
   15964 	fi
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 xorg_testset_save_CFLAGS="$CFLAGS"
   15981 
   15982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15984 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15985 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15986 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15987 then :
   15988   printf %s "(cached) " >&6
   15989 else case e in #(
   15990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15991 /* end confdefs.h.  */
   15992 int i;
   15993 _ACEOF
   15994 if ac_fn_c_try_compile "$LINENO"
   15995 then :
   15996   xorg_cv_cc_flag_unknown_warning_option=yes
   15997 else case e in #(
   15998   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15999 esac
   16000 fi
   16001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16002 esac
   16003 fi
   16004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16005 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16007 	CFLAGS="$xorg_testset_save_CFLAGS"
   16008 fi
   16009 
   16010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16013 	fi
   16014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16016 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16017 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16018 then :
   16019   printf %s "(cached) " >&6
   16020 else case e in #(
   16021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16022 /* end confdefs.h.  */
   16023 int i;
   16024 _ACEOF
   16025 if ac_fn_c_try_compile "$LINENO"
   16026 then :
   16027   xorg_cv_cc_flag_unused_command_line_argument=yes
   16028 else case e in #(
   16029   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16030 esac
   16031 fi
   16032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16033 esac
   16034 fi
   16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16038 	CFLAGS="$xorg_testset_save_CFLAGS"
   16039 fi
   16040 
   16041 found="no"
   16042 
   16043 	if test $found = "no" ; then
   16044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16046 		fi
   16047 
   16048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16050 		fi
   16051 
   16052 		CFLAGS="$CFLAGS -Wredundant-decls"
   16053 
   16054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16055 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16056 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16057 		if eval test \${$cacheid+y}
   16058 then :
   16059   printf %s "(cached) " >&6
   16060 else case e in #(
   16061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16062 /* end confdefs.h.  */
   16063 int i;
   16064 int
   16065 main (void)
   16066 {
   16067 
   16068   ;
   16069   return 0;
   16070 }
   16071 _ACEOF
   16072 if ac_fn_c_try_link "$LINENO"
   16073 then :
   16074   eval $cacheid=yes
   16075 else case e in #(
   16076   e) eval $cacheid=no ;;
   16077 esac
   16078 fi
   16079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16080     conftest$ac_exeext conftest.$ac_ext ;;
   16081 esac
   16082 fi
   16083 
   16084 
   16085 		CFLAGS="$xorg_testset_save_CFLAGS"
   16086 
   16087 		eval supported=\$$cacheid
   16088 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16089 printf "%s\n" "$supported" >&6; }
   16090 		if test "$supported" = "yes" ; then
   16091 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16092 			found="yes"
   16093 		fi
   16094 	fi
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 xorg_testset_save_CFLAGS="$CFLAGS"
   16111 
   16112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16114 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16115 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16116 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16117 then :
   16118   printf %s "(cached) " >&6
   16119 else case e in #(
   16120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16121 /* end confdefs.h.  */
   16122 int i;
   16123 _ACEOF
   16124 if ac_fn_c_try_compile "$LINENO"
   16125 then :
   16126   xorg_cv_cc_flag_unknown_warning_option=yes
   16127 else case e in #(
   16128   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16129 esac
   16130 fi
   16131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16132 esac
   16133 fi
   16134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16135 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16137 	CFLAGS="$xorg_testset_save_CFLAGS"
   16138 fi
   16139 
   16140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16143 	fi
   16144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16146 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16147 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16148 then :
   16149   printf %s "(cached) " >&6
   16150 else case e in #(
   16151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16152 /* end confdefs.h.  */
   16153 int i;
   16154 _ACEOF
   16155 if ac_fn_c_try_compile "$LINENO"
   16156 then :
   16157   xorg_cv_cc_flag_unused_command_line_argument=yes
   16158 else case e in #(
   16159   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16160 esac
   16161 fi
   16162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16163 esac
   16164 fi
   16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16166 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16168 	CFLAGS="$xorg_testset_save_CFLAGS"
   16169 fi
   16170 
   16171 found="no"
   16172 
   16173 	if test $found = "no" ; then
   16174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16176 		fi
   16177 
   16178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16180 		fi
   16181 
   16182 		CFLAGS="$CFLAGS -Wlogical-op"
   16183 
   16184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16185 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16186 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16187 		if eval test \${$cacheid+y}
   16188 then :
   16189   printf %s "(cached) " >&6
   16190 else case e in #(
   16191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16192 /* end confdefs.h.  */
   16193 int i;
   16194 int
   16195 main (void)
   16196 {
   16197 
   16198   ;
   16199   return 0;
   16200 }
   16201 _ACEOF
   16202 if ac_fn_c_try_link "$LINENO"
   16203 then :
   16204   eval $cacheid=yes
   16205 else case e in #(
   16206   e) eval $cacheid=no ;;
   16207 esac
   16208 fi
   16209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16210     conftest$ac_exeext conftest.$ac_ext ;;
   16211 esac
   16212 fi
   16213 
   16214 
   16215 		CFLAGS="$xorg_testset_save_CFLAGS"
   16216 
   16217 		eval supported=\$$cacheid
   16218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16219 printf "%s\n" "$supported" >&6; }
   16220 		if test "$supported" = "yes" ; then
   16221 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16222 			found="yes"
   16223 		fi
   16224 	fi
   16225 
   16226 
   16227 
   16228 # These are currently disabled because they are noisy.  They will be enabled
   16229 # in the future once the codebase is sufficiently modernized to silence
   16230 # them.  For now, I don't want them to drown out the other warnings.
   16231 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16232 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16233 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16234 
   16235 # Turn some warnings into errors, so we don't accidentally get successful builds
   16236 # when there are problems that should be fixed.
   16237 
   16238 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 xorg_testset_save_CFLAGS="$CFLAGS"
   16253 
   16254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16257 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16258 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16259 then :
   16260   printf %s "(cached) " >&6
   16261 else case e in #(
   16262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16263 /* end confdefs.h.  */
   16264 int i;
   16265 _ACEOF
   16266 if ac_fn_c_try_compile "$LINENO"
   16267 then :
   16268   xorg_cv_cc_flag_unknown_warning_option=yes
   16269 else case e in #(
   16270   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16271 esac
   16272 fi
   16273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16274 esac
   16275 fi
   16276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16279 	CFLAGS="$xorg_testset_save_CFLAGS"
   16280 fi
   16281 
   16282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16285 	fi
   16286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16290 then :
   16291   printf %s "(cached) " >&6
   16292 else case e in #(
   16293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16294 /* end confdefs.h.  */
   16295 int i;
   16296 _ACEOF
   16297 if ac_fn_c_try_compile "$LINENO"
   16298 then :
   16299   xorg_cv_cc_flag_unused_command_line_argument=yes
   16300 else case e in #(
   16301   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16302 esac
   16303 fi
   16304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16305 esac
   16306 fi
   16307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16310 	CFLAGS="$xorg_testset_save_CFLAGS"
   16311 fi
   16312 
   16313 found="no"
   16314 
   16315 	if test $found = "no" ; then
   16316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16318 		fi
   16319 
   16320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16322 		fi
   16323 
   16324 		CFLAGS="$CFLAGS -Werror=implicit"
   16325 
   16326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16327 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16328 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16329 		if eval test \${$cacheid+y}
   16330 then :
   16331   printf %s "(cached) " >&6
   16332 else case e in #(
   16333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16334 /* end confdefs.h.  */
   16335 int i;
   16336 int
   16337 main (void)
   16338 {
   16339 
   16340   ;
   16341   return 0;
   16342 }
   16343 _ACEOF
   16344 if ac_fn_c_try_link "$LINENO"
   16345 then :
   16346   eval $cacheid=yes
   16347 else case e in #(
   16348   e) eval $cacheid=no ;;
   16349 esac
   16350 fi
   16351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16352     conftest$ac_exeext conftest.$ac_ext ;;
   16353 esac
   16354 fi
   16355 
   16356 
   16357 		CFLAGS="$xorg_testset_save_CFLAGS"
   16358 
   16359 		eval supported=\$$cacheid
   16360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16361 printf "%s\n" "$supported" >&6; }
   16362 		if test "$supported" = "yes" ; then
   16363 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16364 			found="yes"
   16365 		fi
   16366 	fi
   16367 
   16368 	if test $found = "no" ; then
   16369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16371 		fi
   16372 
   16373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16375 		fi
   16376 
   16377 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16378 
   16379 		{ 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
   16380 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16381 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16382 		if eval test \${$cacheid+y}
   16383 then :
   16384   printf %s "(cached) " >&6
   16385 else case e in #(
   16386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16387 /* end confdefs.h.  */
   16388 int i;
   16389 int
   16390 main (void)
   16391 {
   16392 
   16393   ;
   16394   return 0;
   16395 }
   16396 _ACEOF
   16397 if ac_fn_c_try_link "$LINENO"
   16398 then :
   16399   eval $cacheid=yes
   16400 else case e in #(
   16401   e) eval $cacheid=no ;;
   16402 esac
   16403 fi
   16404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16405     conftest$ac_exeext conftest.$ac_ext ;;
   16406 esac
   16407 fi
   16408 
   16409 
   16410 		CFLAGS="$xorg_testset_save_CFLAGS"
   16411 
   16412 		eval supported=\$$cacheid
   16413 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16414 printf "%s\n" "$supported" >&6; }
   16415 		if test "$supported" = "yes" ; then
   16416 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16417 			found="yes"
   16418 		fi
   16419 	fi
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 xorg_testset_save_CFLAGS="$CFLAGS"
   16436 
   16437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16440 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16441 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16442 then :
   16443   printf %s "(cached) " >&6
   16444 else case e in #(
   16445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16446 /* end confdefs.h.  */
   16447 int i;
   16448 _ACEOF
   16449 if ac_fn_c_try_compile "$LINENO"
   16450 then :
   16451   xorg_cv_cc_flag_unknown_warning_option=yes
   16452 else case e in #(
   16453   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16454 esac
   16455 fi
   16456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16457 esac
   16458 fi
   16459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16462 	CFLAGS="$xorg_testset_save_CFLAGS"
   16463 fi
   16464 
   16465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16468 	fi
   16469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16473 then :
   16474   printf %s "(cached) " >&6
   16475 else case e in #(
   16476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16477 /* end confdefs.h.  */
   16478 int i;
   16479 _ACEOF
   16480 if ac_fn_c_try_compile "$LINENO"
   16481 then :
   16482   xorg_cv_cc_flag_unused_command_line_argument=yes
   16483 else case e in #(
   16484   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16485 esac
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16488 esac
   16489 fi
   16490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16493 	CFLAGS="$xorg_testset_save_CFLAGS"
   16494 fi
   16495 
   16496 found="no"
   16497 
   16498 	if test $found = "no" ; then
   16499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16501 		fi
   16502 
   16503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16505 		fi
   16506 
   16507 		CFLAGS="$CFLAGS -Werror=nonnull"
   16508 
   16509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16510 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16511 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16512 		if eval test \${$cacheid+y}
   16513 then :
   16514   printf %s "(cached) " >&6
   16515 else case e in #(
   16516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16517 /* end confdefs.h.  */
   16518 int i;
   16519 int
   16520 main (void)
   16521 {
   16522 
   16523   ;
   16524   return 0;
   16525 }
   16526 _ACEOF
   16527 if ac_fn_c_try_link "$LINENO"
   16528 then :
   16529   eval $cacheid=yes
   16530 else case e in #(
   16531   e) eval $cacheid=no ;;
   16532 esac
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16535     conftest$ac_exeext conftest.$ac_ext ;;
   16536 esac
   16537 fi
   16538 
   16539 
   16540 		CFLAGS="$xorg_testset_save_CFLAGS"
   16541 
   16542 		eval supported=\$$cacheid
   16543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16544 printf "%s\n" "$supported" >&6; }
   16545 		if test "$supported" = "yes" ; then
   16546 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16547 			found="yes"
   16548 		fi
   16549 	fi
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 xorg_testset_save_CFLAGS="$CFLAGS"
   16566 
   16567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16572 then :
   16573   printf %s "(cached) " >&6
   16574 else case e in #(
   16575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16576 /* end confdefs.h.  */
   16577 int i;
   16578 _ACEOF
   16579 if ac_fn_c_try_compile "$LINENO"
   16580 then :
   16581   xorg_cv_cc_flag_unknown_warning_option=yes
   16582 else case e in #(
   16583   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16584 esac
   16585 fi
   16586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16587 esac
   16588 fi
   16589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16590 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16592 	CFLAGS="$xorg_testset_save_CFLAGS"
   16593 fi
   16594 
   16595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16598 	fi
   16599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16603 then :
   16604   printf %s "(cached) " >&6
   16605 else case e in #(
   16606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16607 /* end confdefs.h.  */
   16608 int i;
   16609 _ACEOF
   16610 if ac_fn_c_try_compile "$LINENO"
   16611 then :
   16612   xorg_cv_cc_flag_unused_command_line_argument=yes
   16613 else case e in #(
   16614   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16615 esac
   16616 fi
   16617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16618 esac
   16619 fi
   16620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16621 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16623 	CFLAGS="$xorg_testset_save_CFLAGS"
   16624 fi
   16625 
   16626 found="no"
   16627 
   16628 	if test $found = "no" ; then
   16629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16631 		fi
   16632 
   16633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16635 		fi
   16636 
   16637 		CFLAGS="$CFLAGS -Werror=init-self"
   16638 
   16639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16640 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16641 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16642 		if eval test \${$cacheid+y}
   16643 then :
   16644   printf %s "(cached) " >&6
   16645 else case e in #(
   16646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16647 /* end confdefs.h.  */
   16648 int i;
   16649 int
   16650 main (void)
   16651 {
   16652 
   16653   ;
   16654   return 0;
   16655 }
   16656 _ACEOF
   16657 if ac_fn_c_try_link "$LINENO"
   16658 then :
   16659   eval $cacheid=yes
   16660 else case e in #(
   16661   e) eval $cacheid=no ;;
   16662 esac
   16663 fi
   16664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16665     conftest$ac_exeext conftest.$ac_ext ;;
   16666 esac
   16667 fi
   16668 
   16669 
   16670 		CFLAGS="$xorg_testset_save_CFLAGS"
   16671 
   16672 		eval supported=\$$cacheid
   16673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16674 printf "%s\n" "$supported" >&6; }
   16675 		if test "$supported" = "yes" ; then
   16676 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16677 			found="yes"
   16678 		fi
   16679 	fi
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 xorg_testset_save_CFLAGS="$CFLAGS"
   16696 
   16697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16702 then :
   16703   printf %s "(cached) " >&6
   16704 else case e in #(
   16705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16706 /* end confdefs.h.  */
   16707 int i;
   16708 _ACEOF
   16709 if ac_fn_c_try_compile "$LINENO"
   16710 then :
   16711   xorg_cv_cc_flag_unknown_warning_option=yes
   16712 else case e in #(
   16713   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16714 esac
   16715 fi
   16716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16717 esac
   16718 fi
   16719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16720 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16722 	CFLAGS="$xorg_testset_save_CFLAGS"
   16723 fi
   16724 
   16725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16728 	fi
   16729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16733 then :
   16734   printf %s "(cached) " >&6
   16735 else case e in #(
   16736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16737 /* end confdefs.h.  */
   16738 int i;
   16739 _ACEOF
   16740 if ac_fn_c_try_compile "$LINENO"
   16741 then :
   16742   xorg_cv_cc_flag_unused_command_line_argument=yes
   16743 else case e in #(
   16744   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16745 esac
   16746 fi
   16747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16748 esac
   16749 fi
   16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16751 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16753 	CFLAGS="$xorg_testset_save_CFLAGS"
   16754 fi
   16755 
   16756 found="no"
   16757 
   16758 	if test $found = "no" ; then
   16759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16761 		fi
   16762 
   16763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16765 		fi
   16766 
   16767 		CFLAGS="$CFLAGS -Werror=main"
   16768 
   16769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16770 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16771 		cacheid=xorg_cv_cc_flag__Werror_main
   16772 		if eval test \${$cacheid+y}
   16773 then :
   16774   printf %s "(cached) " >&6
   16775 else case e in #(
   16776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16777 /* end confdefs.h.  */
   16778 int i;
   16779 int
   16780 main (void)
   16781 {
   16782 
   16783   ;
   16784   return 0;
   16785 }
   16786 _ACEOF
   16787 if ac_fn_c_try_link "$LINENO"
   16788 then :
   16789   eval $cacheid=yes
   16790 else case e in #(
   16791   e) eval $cacheid=no ;;
   16792 esac
   16793 fi
   16794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16795     conftest$ac_exeext conftest.$ac_ext ;;
   16796 esac
   16797 fi
   16798 
   16799 
   16800 		CFLAGS="$xorg_testset_save_CFLAGS"
   16801 
   16802 		eval supported=\$$cacheid
   16803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16804 printf "%s\n" "$supported" >&6; }
   16805 		if test "$supported" = "yes" ; then
   16806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16807 			found="yes"
   16808 		fi
   16809 	fi
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 xorg_testset_save_CFLAGS="$CFLAGS"
   16826 
   16827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16830 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16831 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16832 then :
   16833   printf %s "(cached) " >&6
   16834 else case e in #(
   16835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16836 /* end confdefs.h.  */
   16837 int i;
   16838 _ACEOF
   16839 if ac_fn_c_try_compile "$LINENO"
   16840 then :
   16841   xorg_cv_cc_flag_unknown_warning_option=yes
   16842 else case e in #(
   16843   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16844 esac
   16845 fi
   16846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16847 esac
   16848 fi
   16849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16850 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16852 	CFLAGS="$xorg_testset_save_CFLAGS"
   16853 fi
   16854 
   16855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16858 	fi
   16859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16861 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16862 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16863 then :
   16864   printf %s "(cached) " >&6
   16865 else case e in #(
   16866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16867 /* end confdefs.h.  */
   16868 int i;
   16869 _ACEOF
   16870 if ac_fn_c_try_compile "$LINENO"
   16871 then :
   16872   xorg_cv_cc_flag_unused_command_line_argument=yes
   16873 else case e in #(
   16874   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16875 esac
   16876 fi
   16877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16878 esac
   16879 fi
   16880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16881 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16883 	CFLAGS="$xorg_testset_save_CFLAGS"
   16884 fi
   16885 
   16886 found="no"
   16887 
   16888 	if test $found = "no" ; then
   16889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16891 		fi
   16892 
   16893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16895 		fi
   16896 
   16897 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16898 
   16899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16900 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16901 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16902 		if eval test \${$cacheid+y}
   16903 then :
   16904   printf %s "(cached) " >&6
   16905 else case e in #(
   16906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16907 /* end confdefs.h.  */
   16908 int i;
   16909 int
   16910 main (void)
   16911 {
   16912 
   16913   ;
   16914   return 0;
   16915 }
   16916 _ACEOF
   16917 if ac_fn_c_try_link "$LINENO"
   16918 then :
   16919   eval $cacheid=yes
   16920 else case e in #(
   16921   e) eval $cacheid=no ;;
   16922 esac
   16923 fi
   16924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16925     conftest$ac_exeext conftest.$ac_ext ;;
   16926 esac
   16927 fi
   16928 
   16929 
   16930 		CFLAGS="$xorg_testset_save_CFLAGS"
   16931 
   16932 		eval supported=\$$cacheid
   16933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16934 printf "%s\n" "$supported" >&6; }
   16935 		if test "$supported" = "yes" ; then
   16936 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16937 			found="yes"
   16938 		fi
   16939 	fi
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 xorg_testset_save_CFLAGS="$CFLAGS"
   16956 
   16957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16962 then :
   16963   printf %s "(cached) " >&6
   16964 else case e in #(
   16965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16966 /* end confdefs.h.  */
   16967 int i;
   16968 _ACEOF
   16969 if ac_fn_c_try_compile "$LINENO"
   16970 then :
   16971   xorg_cv_cc_flag_unknown_warning_option=yes
   16972 else case e in #(
   16973   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16974 esac
   16975 fi
   16976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16977 esac
   16978 fi
   16979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16980 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16982 	CFLAGS="$xorg_testset_save_CFLAGS"
   16983 fi
   16984 
   16985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16988 	fi
   16989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16993 then :
   16994   printf %s "(cached) " >&6
   16995 else case e in #(
   16996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16997 /* end confdefs.h.  */
   16998 int i;
   16999 _ACEOF
   17000 if ac_fn_c_try_compile "$LINENO"
   17001 then :
   17002   xorg_cv_cc_flag_unused_command_line_argument=yes
   17003 else case e in #(
   17004   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17005 esac
   17006 fi
   17007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17008 esac
   17009 fi
   17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17011 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17013 	CFLAGS="$xorg_testset_save_CFLAGS"
   17014 fi
   17015 
   17016 found="no"
   17017 
   17018 	if test $found = "no" ; then
   17019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17021 		fi
   17022 
   17023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17025 		fi
   17026 
   17027 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17028 
   17029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17030 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17031 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17032 		if eval test \${$cacheid+y}
   17033 then :
   17034   printf %s "(cached) " >&6
   17035 else case e in #(
   17036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17037 /* end confdefs.h.  */
   17038 int i;
   17039 int
   17040 main (void)
   17041 {
   17042 
   17043   ;
   17044   return 0;
   17045 }
   17046 _ACEOF
   17047 if ac_fn_c_try_link "$LINENO"
   17048 then :
   17049   eval $cacheid=yes
   17050 else case e in #(
   17051   e) eval $cacheid=no ;;
   17052 esac
   17053 fi
   17054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17055     conftest$ac_exeext conftest.$ac_ext ;;
   17056 esac
   17057 fi
   17058 
   17059 
   17060 		CFLAGS="$xorg_testset_save_CFLAGS"
   17061 
   17062 		eval supported=\$$cacheid
   17063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17064 printf "%s\n" "$supported" >&6; }
   17065 		if test "$supported" = "yes" ; then
   17066 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17067 			found="yes"
   17068 		fi
   17069 	fi
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 xorg_testset_save_CFLAGS="$CFLAGS"
   17086 
   17087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17092 then :
   17093   printf %s "(cached) " >&6
   17094 else case e in #(
   17095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 _ACEOF
   17099 if ac_fn_c_try_compile "$LINENO"
   17100 then :
   17101   xorg_cv_cc_flag_unknown_warning_option=yes
   17102 else case e in #(
   17103   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17104 esac
   17105 fi
   17106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17107 esac
   17108 fi
   17109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17112 	CFLAGS="$xorg_testset_save_CFLAGS"
   17113 fi
   17114 
   17115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17118 	fi
   17119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17123 then :
   17124   printf %s "(cached) " >&6
   17125 else case e in #(
   17126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17127 /* end confdefs.h.  */
   17128 int i;
   17129 _ACEOF
   17130 if ac_fn_c_try_compile "$LINENO"
   17131 then :
   17132   xorg_cv_cc_flag_unused_command_line_argument=yes
   17133 else case e in #(
   17134   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17135 esac
   17136 fi
   17137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17138 esac
   17139 fi
   17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17143 	CFLAGS="$xorg_testset_save_CFLAGS"
   17144 fi
   17145 
   17146 found="no"
   17147 
   17148 	if test $found = "no" ; then
   17149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17151 		fi
   17152 
   17153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17155 		fi
   17156 
   17157 		CFLAGS="$CFLAGS -Werror=return-type"
   17158 
   17159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17160 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17161 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17162 		if eval test \${$cacheid+y}
   17163 then :
   17164   printf %s "(cached) " >&6
   17165 else case e in #(
   17166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17167 /* end confdefs.h.  */
   17168 int i;
   17169 int
   17170 main (void)
   17171 {
   17172 
   17173   ;
   17174   return 0;
   17175 }
   17176 _ACEOF
   17177 if ac_fn_c_try_link "$LINENO"
   17178 then :
   17179   eval $cacheid=yes
   17180 else case e in #(
   17181   e) eval $cacheid=no ;;
   17182 esac
   17183 fi
   17184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17185     conftest$ac_exeext conftest.$ac_ext ;;
   17186 esac
   17187 fi
   17188 
   17189 
   17190 		CFLAGS="$xorg_testset_save_CFLAGS"
   17191 
   17192 		eval supported=\$$cacheid
   17193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17194 printf "%s\n" "$supported" >&6; }
   17195 		if test "$supported" = "yes" ; then
   17196 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17197 			found="yes"
   17198 		fi
   17199 	fi
   17200 
   17201 	if test $found = "no" ; then
   17202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 		fi
   17205 
   17206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17208 		fi
   17209 
   17210 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17211 
   17212 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17213 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17214 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17215 		if eval test \${$cacheid+y}
   17216 then :
   17217   printf %s "(cached) " >&6
   17218 else case e in #(
   17219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17220 /* end confdefs.h.  */
   17221 int i;
   17222 int
   17223 main (void)
   17224 {
   17225 
   17226   ;
   17227   return 0;
   17228 }
   17229 _ACEOF
   17230 if ac_fn_c_try_link "$LINENO"
   17231 then :
   17232   eval $cacheid=yes
   17233 else case e in #(
   17234   e) eval $cacheid=no ;;
   17235 esac
   17236 fi
   17237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17238     conftest$ac_exeext conftest.$ac_ext ;;
   17239 esac
   17240 fi
   17241 
   17242 
   17243 		CFLAGS="$xorg_testset_save_CFLAGS"
   17244 
   17245 		eval supported=\$$cacheid
   17246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17247 printf "%s\n" "$supported" >&6; }
   17248 		if test "$supported" = "yes" ; then
   17249 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17250 			found="yes"
   17251 		fi
   17252 	fi
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 xorg_testset_save_CFLAGS="$CFLAGS"
   17269 
   17270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17273 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17274 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17275 then :
   17276   printf %s "(cached) " >&6
   17277 else case e in #(
   17278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17279 /* end confdefs.h.  */
   17280 int i;
   17281 _ACEOF
   17282 if ac_fn_c_try_compile "$LINENO"
   17283 then :
   17284   xorg_cv_cc_flag_unknown_warning_option=yes
   17285 else case e in #(
   17286   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17287 esac
   17288 fi
   17289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17290 esac
   17291 fi
   17292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17295 	CFLAGS="$xorg_testset_save_CFLAGS"
   17296 fi
   17297 
   17298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17301 	fi
   17302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17306 then :
   17307   printf %s "(cached) " >&6
   17308 else case e in #(
   17309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17310 /* end confdefs.h.  */
   17311 int i;
   17312 _ACEOF
   17313 if ac_fn_c_try_compile "$LINENO"
   17314 then :
   17315   xorg_cv_cc_flag_unused_command_line_argument=yes
   17316 else case e in #(
   17317   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17318 esac
   17319 fi
   17320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17321 esac
   17322 fi
   17323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17324 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17326 	CFLAGS="$xorg_testset_save_CFLAGS"
   17327 fi
   17328 
   17329 found="no"
   17330 
   17331 	if test $found = "no" ; then
   17332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17334 		fi
   17335 
   17336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17338 		fi
   17339 
   17340 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17341 
   17342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17343 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17344 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17345 		if eval test \${$cacheid+y}
   17346 then :
   17347   printf %s "(cached) " >&6
   17348 else case e in #(
   17349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17350 /* end confdefs.h.  */
   17351 int i;
   17352 int
   17353 main (void)
   17354 {
   17355 
   17356   ;
   17357   return 0;
   17358 }
   17359 _ACEOF
   17360 if ac_fn_c_try_link "$LINENO"
   17361 then :
   17362   eval $cacheid=yes
   17363 else case e in #(
   17364   e) eval $cacheid=no ;;
   17365 esac
   17366 fi
   17367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17368     conftest$ac_exeext conftest.$ac_ext ;;
   17369 esac
   17370 fi
   17371 
   17372 
   17373 		CFLAGS="$xorg_testset_save_CFLAGS"
   17374 
   17375 		eval supported=\$$cacheid
   17376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17377 printf "%s\n" "$supported" >&6; }
   17378 		if test "$supported" = "yes" ; then
   17379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17380 			found="yes"
   17381 		fi
   17382 	fi
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 xorg_testset_save_CFLAGS="$CFLAGS"
   17399 
   17400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17403 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17404 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17405 then :
   17406   printf %s "(cached) " >&6
   17407 else case e in #(
   17408   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17409 /* end confdefs.h.  */
   17410 int i;
   17411 _ACEOF
   17412 if ac_fn_c_try_compile "$LINENO"
   17413 then :
   17414   xorg_cv_cc_flag_unknown_warning_option=yes
   17415 else case e in #(
   17416   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17417 esac
   17418 fi
   17419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17420 esac
   17421 fi
   17422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17423 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17425 	CFLAGS="$xorg_testset_save_CFLAGS"
   17426 fi
   17427 
   17428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17431 	fi
   17432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17434 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17435 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17436 then :
   17437   printf %s "(cached) " >&6
   17438 else case e in #(
   17439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17440 /* end confdefs.h.  */
   17441 int i;
   17442 _ACEOF
   17443 if ac_fn_c_try_compile "$LINENO"
   17444 then :
   17445   xorg_cv_cc_flag_unused_command_line_argument=yes
   17446 else case e in #(
   17447   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17448 esac
   17449 fi
   17450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17451 esac
   17452 fi
   17453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17454 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17456 	CFLAGS="$xorg_testset_save_CFLAGS"
   17457 fi
   17458 
   17459 found="no"
   17460 
   17461 	if test $found = "no" ; then
   17462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17464 		fi
   17465 
   17466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17468 		fi
   17469 
   17470 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17471 
   17472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17473 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17474 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17475 		if eval test \${$cacheid+y}
   17476 then :
   17477   printf %s "(cached) " >&6
   17478 else case e in #(
   17479   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17480 /* end confdefs.h.  */
   17481 int i;
   17482 int
   17483 main (void)
   17484 {
   17485 
   17486   ;
   17487   return 0;
   17488 }
   17489 _ACEOF
   17490 if ac_fn_c_try_link "$LINENO"
   17491 then :
   17492   eval $cacheid=yes
   17493 else case e in #(
   17494   e) eval $cacheid=no ;;
   17495 esac
   17496 fi
   17497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17498     conftest$ac_exeext conftest.$ac_ext ;;
   17499 esac
   17500 fi
   17501 
   17502 
   17503 		CFLAGS="$xorg_testset_save_CFLAGS"
   17504 
   17505 		eval supported=\$$cacheid
   17506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17507 printf "%s\n" "$supported" >&6; }
   17508 		if test "$supported" = "yes" ; then
   17509 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17510 			found="yes"
   17511 		fi
   17512 	fi
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 xorg_testset_save_CFLAGS="$CFLAGS"
   17529 
   17530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17533 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17534 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17535 then :
   17536   printf %s "(cached) " >&6
   17537 else case e in #(
   17538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17539 /* end confdefs.h.  */
   17540 int i;
   17541 _ACEOF
   17542 if ac_fn_c_try_compile "$LINENO"
   17543 then :
   17544   xorg_cv_cc_flag_unknown_warning_option=yes
   17545 else case e in #(
   17546   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17547 esac
   17548 fi
   17549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17550 esac
   17551 fi
   17552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17553 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17555 	CFLAGS="$xorg_testset_save_CFLAGS"
   17556 fi
   17557 
   17558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17561 	fi
   17562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17563 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17564 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17565 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17566 then :
   17567   printf %s "(cached) " >&6
   17568 else case e in #(
   17569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17570 /* end confdefs.h.  */
   17571 int i;
   17572 _ACEOF
   17573 if ac_fn_c_try_compile "$LINENO"
   17574 then :
   17575   xorg_cv_cc_flag_unused_command_line_argument=yes
   17576 else case e in #(
   17577   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17578 esac
   17579 fi
   17580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17581 esac
   17582 fi
   17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17584 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17586 	CFLAGS="$xorg_testset_save_CFLAGS"
   17587 fi
   17588 
   17589 found="no"
   17590 
   17591 	if test $found = "no" ; then
   17592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17594 		fi
   17595 
   17596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17598 		fi
   17599 
   17600 		CFLAGS="$CFLAGS -Werror=write-strings"
   17601 
   17602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17603 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17604 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17605 		if eval test \${$cacheid+y}
   17606 then :
   17607   printf %s "(cached) " >&6
   17608 else case e in #(
   17609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17610 /* end confdefs.h.  */
   17611 int i;
   17612 int
   17613 main (void)
   17614 {
   17615 
   17616   ;
   17617   return 0;
   17618 }
   17619 _ACEOF
   17620 if ac_fn_c_try_link "$LINENO"
   17621 then :
   17622   eval $cacheid=yes
   17623 else case e in #(
   17624   e) eval $cacheid=no ;;
   17625 esac
   17626 fi
   17627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17628     conftest$ac_exeext conftest.$ac_ext ;;
   17629 esac
   17630 fi
   17631 
   17632 
   17633 		CFLAGS="$xorg_testset_save_CFLAGS"
   17634 
   17635 		eval supported=\$$cacheid
   17636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17637 printf "%s\n" "$supported" >&6; }
   17638 		if test "$supported" = "yes" ; then
   17639 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17640 			found="yes"
   17641 		fi
   17642 	fi
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 xorg_testset_save_CFLAGS="$CFLAGS"
   17659 
   17660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17663 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17664 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17665 then :
   17666   printf %s "(cached) " >&6
   17667 else case e in #(
   17668   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17669 /* end confdefs.h.  */
   17670 int i;
   17671 _ACEOF
   17672 if ac_fn_c_try_compile "$LINENO"
   17673 then :
   17674   xorg_cv_cc_flag_unknown_warning_option=yes
   17675 else case e in #(
   17676   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17677 esac
   17678 fi
   17679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17680 esac
   17681 fi
   17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17683 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17685 	CFLAGS="$xorg_testset_save_CFLAGS"
   17686 fi
   17687 
   17688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17691 	fi
   17692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17694 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17695 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17696 then :
   17697   printf %s "(cached) " >&6
   17698 else case e in #(
   17699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17700 /* end confdefs.h.  */
   17701 int i;
   17702 _ACEOF
   17703 if ac_fn_c_try_compile "$LINENO"
   17704 then :
   17705   xorg_cv_cc_flag_unused_command_line_argument=yes
   17706 else case e in #(
   17707   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17708 esac
   17709 fi
   17710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17711 esac
   17712 fi
   17713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17714 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17716 	CFLAGS="$xorg_testset_save_CFLAGS"
   17717 fi
   17718 
   17719 found="no"
   17720 
   17721 	if test $found = "no" ; then
   17722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17724 		fi
   17725 
   17726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17728 		fi
   17729 
   17730 		CFLAGS="$CFLAGS -Werror=address"
   17731 
   17732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17733 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17734 		cacheid=xorg_cv_cc_flag__Werror_address
   17735 		if eval test \${$cacheid+y}
   17736 then :
   17737   printf %s "(cached) " >&6
   17738 else case e in #(
   17739   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17740 /* end confdefs.h.  */
   17741 int i;
   17742 int
   17743 main (void)
   17744 {
   17745 
   17746   ;
   17747   return 0;
   17748 }
   17749 _ACEOF
   17750 if ac_fn_c_try_link "$LINENO"
   17751 then :
   17752   eval $cacheid=yes
   17753 else case e in #(
   17754   e) eval $cacheid=no ;;
   17755 esac
   17756 fi
   17757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17758     conftest$ac_exeext conftest.$ac_ext ;;
   17759 esac
   17760 fi
   17761 
   17762 
   17763 		CFLAGS="$xorg_testset_save_CFLAGS"
   17764 
   17765 		eval supported=\$$cacheid
   17766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17767 printf "%s\n" "$supported" >&6; }
   17768 		if test "$supported" = "yes" ; then
   17769 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17770 			found="yes"
   17771 		fi
   17772 	fi
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 xorg_testset_save_CFLAGS="$CFLAGS"
   17789 
   17790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17792 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17793 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17794 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17795 then :
   17796   printf %s "(cached) " >&6
   17797 else case e in #(
   17798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17799 /* end confdefs.h.  */
   17800 int i;
   17801 _ACEOF
   17802 if ac_fn_c_try_compile "$LINENO"
   17803 then :
   17804   xorg_cv_cc_flag_unknown_warning_option=yes
   17805 else case e in #(
   17806   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17807 esac
   17808 fi
   17809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17810 esac
   17811 fi
   17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17815 	CFLAGS="$xorg_testset_save_CFLAGS"
   17816 fi
   17817 
   17818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17821 	fi
   17822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17826 then :
   17827   printf %s "(cached) " >&6
   17828 else case e in #(
   17829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17830 /* end confdefs.h.  */
   17831 int i;
   17832 _ACEOF
   17833 if ac_fn_c_try_compile "$LINENO"
   17834 then :
   17835   xorg_cv_cc_flag_unused_command_line_argument=yes
   17836 else case e in #(
   17837   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17838 esac
   17839 fi
   17840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17841 esac
   17842 fi
   17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17844 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17846 	CFLAGS="$xorg_testset_save_CFLAGS"
   17847 fi
   17848 
   17849 found="no"
   17850 
   17851 	if test $found = "no" ; then
   17852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17854 		fi
   17855 
   17856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17858 		fi
   17859 
   17860 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17861 
   17862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17863 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17864 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17865 		if eval test \${$cacheid+y}
   17866 then :
   17867   printf %s "(cached) " >&6
   17868 else case e in #(
   17869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17870 /* end confdefs.h.  */
   17871 int i;
   17872 int
   17873 main (void)
   17874 {
   17875 
   17876   ;
   17877   return 0;
   17878 }
   17879 _ACEOF
   17880 if ac_fn_c_try_link "$LINENO"
   17881 then :
   17882   eval $cacheid=yes
   17883 else case e in #(
   17884   e) eval $cacheid=no ;;
   17885 esac
   17886 fi
   17887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17888     conftest$ac_exeext conftest.$ac_ext ;;
   17889 esac
   17890 fi
   17891 
   17892 
   17893 		CFLAGS="$xorg_testset_save_CFLAGS"
   17894 
   17895 		eval supported=\$$cacheid
   17896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17897 printf "%s\n" "$supported" >&6; }
   17898 		if test "$supported" = "yes" ; then
   17899 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17900 			found="yes"
   17901 		fi
   17902 	fi
   17903 
   17904 	if test $found = "no" ; then
   17905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17907 		fi
   17908 
   17909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17911 		fi
   17912 
   17913 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17914 
   17915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17916 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17917 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17918 		if eval test \${$cacheid+y}
   17919 then :
   17920   printf %s "(cached) " >&6
   17921 else case e in #(
   17922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17923 /* end confdefs.h.  */
   17924 int i;
   17925 int
   17926 main (void)
   17927 {
   17928 
   17929   ;
   17930   return 0;
   17931 }
   17932 _ACEOF
   17933 if ac_fn_c_try_link "$LINENO"
   17934 then :
   17935   eval $cacheid=yes
   17936 else case e in #(
   17937   e) eval $cacheid=no ;;
   17938 esac
   17939 fi
   17940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17941     conftest$ac_exeext conftest.$ac_ext ;;
   17942 esac
   17943 fi
   17944 
   17945 
   17946 		CFLAGS="$xorg_testset_save_CFLAGS"
   17947 
   17948 		eval supported=\$$cacheid
   17949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17950 printf "%s\n" "$supported" >&6; }
   17951 		if test "$supported" = "yes" ; then
   17952 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17953 			found="yes"
   17954 		fi
   17955 	fi
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 xorg_testset_save_CFLAGS="$CFLAGS"
   17972 
   17973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17978 then :
   17979   printf %s "(cached) " >&6
   17980 else case e in #(
   17981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17982 /* end confdefs.h.  */
   17983 int i;
   17984 _ACEOF
   17985 if ac_fn_c_try_compile "$LINENO"
   17986 then :
   17987   xorg_cv_cc_flag_unknown_warning_option=yes
   17988 else case e in #(
   17989   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17990 esac
   17991 fi
   17992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17993 esac
   17994 fi
   17995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17998 	CFLAGS="$xorg_testset_save_CFLAGS"
   17999 fi
   18000 
   18001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18004 	fi
   18005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18009 then :
   18010   printf %s "(cached) " >&6
   18011 else case e in #(
   18012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18013 /* end confdefs.h.  */
   18014 int i;
   18015 _ACEOF
   18016 if ac_fn_c_try_compile "$LINENO"
   18017 then :
   18018   xorg_cv_cc_flag_unused_command_line_argument=yes
   18019 else case e in #(
   18020   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18021 esac
   18022 fi
   18023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18024 esac
   18025 fi
   18026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18029 	CFLAGS="$xorg_testset_save_CFLAGS"
   18030 fi
   18031 
   18032 found="no"
   18033 
   18034 	if test $found = "no" ; then
   18035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18037 		fi
   18038 
   18039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18041 		fi
   18042 
   18043 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18044 
   18045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18046 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18047 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18048 		if eval test \${$cacheid+y}
   18049 then :
   18050   printf %s "(cached) " >&6
   18051 else case e in #(
   18052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18053 /* end confdefs.h.  */
   18054 int i;
   18055 int
   18056 main (void)
   18057 {
   18058 
   18059   ;
   18060   return 0;
   18061 }
   18062 _ACEOF
   18063 if ac_fn_c_try_link "$LINENO"
   18064 then :
   18065   eval $cacheid=yes
   18066 else case e in #(
   18067   e) eval $cacheid=no ;;
   18068 esac
   18069 fi
   18070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18071     conftest$ac_exeext conftest.$ac_ext ;;
   18072 esac
   18073 fi
   18074 
   18075 
   18076 		CFLAGS="$xorg_testset_save_CFLAGS"
   18077 
   18078 		eval supported=\$$cacheid
   18079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18080 printf "%s\n" "$supported" >&6; }
   18081 		if test "$supported" = "yes" ; then
   18082 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18083 			found="yes"
   18084 		fi
   18085 	fi
   18086 
   18087  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18088 else
   18089 { 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
   18090 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;}
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 xorg_testset_save_CFLAGS="$CFLAGS"
   18105 
   18106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18109 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18110 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18111 then :
   18112   printf %s "(cached) " >&6
   18113 else case e in #(
   18114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18115 /* end confdefs.h.  */
   18116 int i;
   18117 _ACEOF
   18118 if ac_fn_c_try_compile "$LINENO"
   18119 then :
   18120   xorg_cv_cc_flag_unknown_warning_option=yes
   18121 else case e in #(
   18122   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18123 esac
   18124 fi
   18125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18126 esac
   18127 fi
   18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18129 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18131 	CFLAGS="$xorg_testset_save_CFLAGS"
   18132 fi
   18133 
   18134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18137 	fi
   18138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18139 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18140 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18141 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18142 then :
   18143   printf %s "(cached) " >&6
   18144 else case e in #(
   18145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18146 /* end confdefs.h.  */
   18147 int i;
   18148 _ACEOF
   18149 if ac_fn_c_try_compile "$LINENO"
   18150 then :
   18151   xorg_cv_cc_flag_unused_command_line_argument=yes
   18152 else case e in #(
   18153   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18154 esac
   18155 fi
   18156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18157 esac
   18158 fi
   18159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18160 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18162 	CFLAGS="$xorg_testset_save_CFLAGS"
   18163 fi
   18164 
   18165 found="no"
   18166 
   18167 	if test $found = "no" ; then
   18168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18170 		fi
   18171 
   18172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18174 		fi
   18175 
   18176 		CFLAGS="$CFLAGS -Wimplicit"
   18177 
   18178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18179 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18180 		cacheid=xorg_cv_cc_flag__Wimplicit
   18181 		if eval test \${$cacheid+y}
   18182 then :
   18183   printf %s "(cached) " >&6
   18184 else case e in #(
   18185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18186 /* end confdefs.h.  */
   18187 int i;
   18188 int
   18189 main (void)
   18190 {
   18191 
   18192   ;
   18193   return 0;
   18194 }
   18195 _ACEOF
   18196 if ac_fn_c_try_link "$LINENO"
   18197 then :
   18198   eval $cacheid=yes
   18199 else case e in #(
   18200   e) eval $cacheid=no ;;
   18201 esac
   18202 fi
   18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18204     conftest$ac_exeext conftest.$ac_ext ;;
   18205 esac
   18206 fi
   18207 
   18208 
   18209 		CFLAGS="$xorg_testset_save_CFLAGS"
   18210 
   18211 		eval supported=\$$cacheid
   18212 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18213 printf "%s\n" "$supported" >&6; }
   18214 		if test "$supported" = "yes" ; then
   18215 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18216 			found="yes"
   18217 		fi
   18218 	fi
   18219 
   18220 
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 
   18234 xorg_testset_save_CFLAGS="$CFLAGS"
   18235 
   18236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18239 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18240 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18241 then :
   18242   printf %s "(cached) " >&6
   18243 else case e in #(
   18244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18245 /* end confdefs.h.  */
   18246 int i;
   18247 _ACEOF
   18248 if ac_fn_c_try_compile "$LINENO"
   18249 then :
   18250   xorg_cv_cc_flag_unknown_warning_option=yes
   18251 else case e in #(
   18252   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18253 esac
   18254 fi
   18255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18256 esac
   18257 fi
   18258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18259 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18261 	CFLAGS="$xorg_testset_save_CFLAGS"
   18262 fi
   18263 
   18264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18267 	fi
   18268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18272 then :
   18273   printf %s "(cached) " >&6
   18274 else case e in #(
   18275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18276 /* end confdefs.h.  */
   18277 int i;
   18278 _ACEOF
   18279 if ac_fn_c_try_compile "$LINENO"
   18280 then :
   18281   xorg_cv_cc_flag_unused_command_line_argument=yes
   18282 else case e in #(
   18283   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18284 esac
   18285 fi
   18286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18287 esac
   18288 fi
   18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18290 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18292 	CFLAGS="$xorg_testset_save_CFLAGS"
   18293 fi
   18294 
   18295 found="no"
   18296 
   18297 	if test $found = "no" ; then
   18298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18300 		fi
   18301 
   18302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18304 		fi
   18305 
   18306 		CFLAGS="$CFLAGS -Wnonnull"
   18307 
   18308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18309 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18310 		cacheid=xorg_cv_cc_flag__Wnonnull
   18311 		if eval test \${$cacheid+y}
   18312 then :
   18313   printf %s "(cached) " >&6
   18314 else case e in #(
   18315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18316 /* end confdefs.h.  */
   18317 int i;
   18318 int
   18319 main (void)
   18320 {
   18321 
   18322   ;
   18323   return 0;
   18324 }
   18325 _ACEOF
   18326 if ac_fn_c_try_link "$LINENO"
   18327 then :
   18328   eval $cacheid=yes
   18329 else case e in #(
   18330   e) eval $cacheid=no ;;
   18331 esac
   18332 fi
   18333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18334     conftest$ac_exeext conftest.$ac_ext ;;
   18335 esac
   18336 fi
   18337 
   18338 
   18339 		CFLAGS="$xorg_testset_save_CFLAGS"
   18340 
   18341 		eval supported=\$$cacheid
   18342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18343 printf "%s\n" "$supported" >&6; }
   18344 		if test "$supported" = "yes" ; then
   18345 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18346 			found="yes"
   18347 		fi
   18348 	fi
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 xorg_testset_save_CFLAGS="$CFLAGS"
   18365 
   18366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18369 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18370 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18371 then :
   18372   printf %s "(cached) " >&6
   18373 else case e in #(
   18374   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18375 /* end confdefs.h.  */
   18376 int i;
   18377 _ACEOF
   18378 if ac_fn_c_try_compile "$LINENO"
   18379 then :
   18380   xorg_cv_cc_flag_unknown_warning_option=yes
   18381 else case e in #(
   18382   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18383 esac
   18384 fi
   18385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18386 esac
   18387 fi
   18388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18389 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18391 	CFLAGS="$xorg_testset_save_CFLAGS"
   18392 fi
   18393 
   18394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18397 	fi
   18398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18400 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18401 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18402 then :
   18403   printf %s "(cached) " >&6
   18404 else case e in #(
   18405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18406 /* end confdefs.h.  */
   18407 int i;
   18408 _ACEOF
   18409 if ac_fn_c_try_compile "$LINENO"
   18410 then :
   18411   xorg_cv_cc_flag_unused_command_line_argument=yes
   18412 else case e in #(
   18413   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18414 esac
   18415 fi
   18416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18417 esac
   18418 fi
   18419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18420 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18422 	CFLAGS="$xorg_testset_save_CFLAGS"
   18423 fi
   18424 
   18425 found="no"
   18426 
   18427 	if test $found = "no" ; then
   18428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18430 		fi
   18431 
   18432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18434 		fi
   18435 
   18436 		CFLAGS="$CFLAGS -Winit-self"
   18437 
   18438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18439 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18440 		cacheid=xorg_cv_cc_flag__Winit_self
   18441 		if eval test \${$cacheid+y}
   18442 then :
   18443   printf %s "(cached) " >&6
   18444 else case e in #(
   18445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18446 /* end confdefs.h.  */
   18447 int i;
   18448 int
   18449 main (void)
   18450 {
   18451 
   18452   ;
   18453   return 0;
   18454 }
   18455 _ACEOF
   18456 if ac_fn_c_try_link "$LINENO"
   18457 then :
   18458   eval $cacheid=yes
   18459 else case e in #(
   18460   e) eval $cacheid=no ;;
   18461 esac
   18462 fi
   18463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18464     conftest$ac_exeext conftest.$ac_ext ;;
   18465 esac
   18466 fi
   18467 
   18468 
   18469 		CFLAGS="$xorg_testset_save_CFLAGS"
   18470 
   18471 		eval supported=\$$cacheid
   18472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18473 printf "%s\n" "$supported" >&6; }
   18474 		if test "$supported" = "yes" ; then
   18475 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18476 			found="yes"
   18477 		fi
   18478 	fi
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 xorg_testset_save_CFLAGS="$CFLAGS"
   18495 
   18496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18499 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18500 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18501 then :
   18502   printf %s "(cached) " >&6
   18503 else case e in #(
   18504   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18505 /* end confdefs.h.  */
   18506 int i;
   18507 _ACEOF
   18508 if ac_fn_c_try_compile "$LINENO"
   18509 then :
   18510   xorg_cv_cc_flag_unknown_warning_option=yes
   18511 else case e in #(
   18512   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18513 esac
   18514 fi
   18515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18516 esac
   18517 fi
   18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18519 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18521 	CFLAGS="$xorg_testset_save_CFLAGS"
   18522 fi
   18523 
   18524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18527 	fi
   18528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18530 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18531 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18532 then :
   18533   printf %s "(cached) " >&6
   18534 else case e in #(
   18535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18536 /* end confdefs.h.  */
   18537 int i;
   18538 _ACEOF
   18539 if ac_fn_c_try_compile "$LINENO"
   18540 then :
   18541   xorg_cv_cc_flag_unused_command_line_argument=yes
   18542 else case e in #(
   18543   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18544 esac
   18545 fi
   18546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18547 esac
   18548 fi
   18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18550 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18552 	CFLAGS="$xorg_testset_save_CFLAGS"
   18553 fi
   18554 
   18555 found="no"
   18556 
   18557 	if test $found = "no" ; then
   18558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18560 		fi
   18561 
   18562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18564 		fi
   18565 
   18566 		CFLAGS="$CFLAGS -Wmain"
   18567 
   18568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18569 printf %s "checking if $CC supports -Wmain... " >&6; }
   18570 		cacheid=xorg_cv_cc_flag__Wmain
   18571 		if eval test \${$cacheid+y}
   18572 then :
   18573   printf %s "(cached) " >&6
   18574 else case e in #(
   18575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18576 /* end confdefs.h.  */
   18577 int i;
   18578 int
   18579 main (void)
   18580 {
   18581 
   18582   ;
   18583   return 0;
   18584 }
   18585 _ACEOF
   18586 if ac_fn_c_try_link "$LINENO"
   18587 then :
   18588   eval $cacheid=yes
   18589 else case e in #(
   18590   e) eval $cacheid=no ;;
   18591 esac
   18592 fi
   18593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18594     conftest$ac_exeext conftest.$ac_ext ;;
   18595 esac
   18596 fi
   18597 
   18598 
   18599 		CFLAGS="$xorg_testset_save_CFLAGS"
   18600 
   18601 		eval supported=\$$cacheid
   18602 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18603 printf "%s\n" "$supported" >&6; }
   18604 		if test "$supported" = "yes" ; then
   18605 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18606 			found="yes"
   18607 		fi
   18608 	fi
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 xorg_testset_save_CFLAGS="$CFLAGS"
   18625 
   18626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18628 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18629 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18630 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18631 then :
   18632   printf %s "(cached) " >&6
   18633 else case e in #(
   18634   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18635 /* end confdefs.h.  */
   18636 int i;
   18637 _ACEOF
   18638 if ac_fn_c_try_compile "$LINENO"
   18639 then :
   18640   xorg_cv_cc_flag_unknown_warning_option=yes
   18641 else case e in #(
   18642   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18643 esac
   18644 fi
   18645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18646 esac
   18647 fi
   18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18649 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18651 	CFLAGS="$xorg_testset_save_CFLAGS"
   18652 fi
   18653 
   18654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18657 	fi
   18658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18660 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18661 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18662 then :
   18663   printf %s "(cached) " >&6
   18664 else case e in #(
   18665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18666 /* end confdefs.h.  */
   18667 int i;
   18668 _ACEOF
   18669 if ac_fn_c_try_compile "$LINENO"
   18670 then :
   18671   xorg_cv_cc_flag_unused_command_line_argument=yes
   18672 else case e in #(
   18673   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18674 esac
   18675 fi
   18676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18677 esac
   18678 fi
   18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18680 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18682 	CFLAGS="$xorg_testset_save_CFLAGS"
   18683 fi
   18684 
   18685 found="no"
   18686 
   18687 	if test $found = "no" ; then
   18688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18690 		fi
   18691 
   18692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18694 		fi
   18695 
   18696 		CFLAGS="$CFLAGS -Wmissing-braces"
   18697 
   18698 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18699 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18700 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18701 		if eval test \${$cacheid+y}
   18702 then :
   18703   printf %s "(cached) " >&6
   18704 else case e in #(
   18705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18706 /* end confdefs.h.  */
   18707 int i;
   18708 int
   18709 main (void)
   18710 {
   18711 
   18712   ;
   18713   return 0;
   18714 }
   18715 _ACEOF
   18716 if ac_fn_c_try_link "$LINENO"
   18717 then :
   18718   eval $cacheid=yes
   18719 else case e in #(
   18720   e) eval $cacheid=no ;;
   18721 esac
   18722 fi
   18723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18724     conftest$ac_exeext conftest.$ac_ext ;;
   18725 esac
   18726 fi
   18727 
   18728 
   18729 		CFLAGS="$xorg_testset_save_CFLAGS"
   18730 
   18731 		eval supported=\$$cacheid
   18732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18733 printf "%s\n" "$supported" >&6; }
   18734 		if test "$supported" = "yes" ; then
   18735 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18736 			found="yes"
   18737 		fi
   18738 	fi
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 xorg_testset_save_CFLAGS="$CFLAGS"
   18755 
   18756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18758 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18759 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18760 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18761 then :
   18762   printf %s "(cached) " >&6
   18763 else case e in #(
   18764   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18765 /* end confdefs.h.  */
   18766 int i;
   18767 _ACEOF
   18768 if ac_fn_c_try_compile "$LINENO"
   18769 then :
   18770   xorg_cv_cc_flag_unknown_warning_option=yes
   18771 else case e in #(
   18772   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18773 esac
   18774 fi
   18775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18776 esac
   18777 fi
   18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18779 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18781 	CFLAGS="$xorg_testset_save_CFLAGS"
   18782 fi
   18783 
   18784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18787 	fi
   18788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18789 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18790 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18791 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18792 then :
   18793   printf %s "(cached) " >&6
   18794 else case e in #(
   18795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18796 /* end confdefs.h.  */
   18797 int i;
   18798 _ACEOF
   18799 if ac_fn_c_try_compile "$LINENO"
   18800 then :
   18801   xorg_cv_cc_flag_unused_command_line_argument=yes
   18802 else case e in #(
   18803   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18804 esac
   18805 fi
   18806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18807 esac
   18808 fi
   18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18810 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18812 	CFLAGS="$xorg_testset_save_CFLAGS"
   18813 fi
   18814 
   18815 found="no"
   18816 
   18817 	if test $found = "no" ; then
   18818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18820 		fi
   18821 
   18822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18824 		fi
   18825 
   18826 		CFLAGS="$CFLAGS -Wsequence-point"
   18827 
   18828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18829 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18830 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18831 		if eval test \${$cacheid+y}
   18832 then :
   18833   printf %s "(cached) " >&6
   18834 else case e in #(
   18835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18836 /* end confdefs.h.  */
   18837 int i;
   18838 int
   18839 main (void)
   18840 {
   18841 
   18842   ;
   18843   return 0;
   18844 }
   18845 _ACEOF
   18846 if ac_fn_c_try_link "$LINENO"
   18847 then :
   18848   eval $cacheid=yes
   18849 else case e in #(
   18850   e) eval $cacheid=no ;;
   18851 esac
   18852 fi
   18853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18854     conftest$ac_exeext conftest.$ac_ext ;;
   18855 esac
   18856 fi
   18857 
   18858 
   18859 		CFLAGS="$xorg_testset_save_CFLAGS"
   18860 
   18861 		eval supported=\$$cacheid
   18862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18863 printf "%s\n" "$supported" >&6; }
   18864 		if test "$supported" = "yes" ; then
   18865 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18866 			found="yes"
   18867 		fi
   18868 	fi
   18869 
   18870 
   18871 
   18872 
   18873 
   18874 
   18875 
   18876 
   18877 
   18878 
   18879 
   18880 
   18881 
   18882 
   18883 
   18884 xorg_testset_save_CFLAGS="$CFLAGS"
   18885 
   18886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18888 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18889 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18890 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18891 then :
   18892   printf %s "(cached) " >&6
   18893 else case e in #(
   18894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18895 /* end confdefs.h.  */
   18896 int i;
   18897 _ACEOF
   18898 if ac_fn_c_try_compile "$LINENO"
   18899 then :
   18900   xorg_cv_cc_flag_unknown_warning_option=yes
   18901 else case e in #(
   18902   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18903 esac
   18904 fi
   18905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18906 esac
   18907 fi
   18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18909 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18911 	CFLAGS="$xorg_testset_save_CFLAGS"
   18912 fi
   18913 
   18914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18917 	fi
   18918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18922 then :
   18923   printf %s "(cached) " >&6
   18924 else case e in #(
   18925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18926 /* end confdefs.h.  */
   18927 int i;
   18928 _ACEOF
   18929 if ac_fn_c_try_compile "$LINENO"
   18930 then :
   18931   xorg_cv_cc_flag_unused_command_line_argument=yes
   18932 else case e in #(
   18933   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18934 esac
   18935 fi
   18936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18937 esac
   18938 fi
   18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18940 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18942 	CFLAGS="$xorg_testset_save_CFLAGS"
   18943 fi
   18944 
   18945 found="no"
   18946 
   18947 	if test $found = "no" ; then
   18948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18950 		fi
   18951 
   18952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18954 		fi
   18955 
   18956 		CFLAGS="$CFLAGS -Wreturn-type"
   18957 
   18958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18959 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18960 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18961 		if eval test \${$cacheid+y}
   18962 then :
   18963   printf %s "(cached) " >&6
   18964 else case e in #(
   18965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18966 /* end confdefs.h.  */
   18967 int i;
   18968 int
   18969 main (void)
   18970 {
   18971 
   18972   ;
   18973   return 0;
   18974 }
   18975 _ACEOF
   18976 if ac_fn_c_try_link "$LINENO"
   18977 then :
   18978   eval $cacheid=yes
   18979 else case e in #(
   18980   e) eval $cacheid=no ;;
   18981 esac
   18982 fi
   18983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18984     conftest$ac_exeext conftest.$ac_ext ;;
   18985 esac
   18986 fi
   18987 
   18988 
   18989 		CFLAGS="$xorg_testset_save_CFLAGS"
   18990 
   18991 		eval supported=\$$cacheid
   18992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18993 printf "%s\n" "$supported" >&6; }
   18994 		if test "$supported" = "yes" ; then
   18995 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18996 			found="yes"
   18997 		fi
   18998 	fi
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 xorg_testset_save_CFLAGS="$CFLAGS"
   19015 
   19016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19020 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19021 then :
   19022   printf %s "(cached) " >&6
   19023 else case e in #(
   19024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19025 /* end confdefs.h.  */
   19026 int i;
   19027 _ACEOF
   19028 if ac_fn_c_try_compile "$LINENO"
   19029 then :
   19030   xorg_cv_cc_flag_unknown_warning_option=yes
   19031 else case e in #(
   19032   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19033 esac
   19034 fi
   19035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19036 esac
   19037 fi
   19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19039 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19041 	CFLAGS="$xorg_testset_save_CFLAGS"
   19042 fi
   19043 
   19044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19047 	fi
   19048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19052 then :
   19053   printf %s "(cached) " >&6
   19054 else case e in #(
   19055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19056 /* end confdefs.h.  */
   19057 int i;
   19058 _ACEOF
   19059 if ac_fn_c_try_compile "$LINENO"
   19060 then :
   19061   xorg_cv_cc_flag_unused_command_line_argument=yes
   19062 else case e in #(
   19063   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19064 esac
   19065 fi
   19066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19067 esac
   19068 fi
   19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19070 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19072 	CFLAGS="$xorg_testset_save_CFLAGS"
   19073 fi
   19074 
   19075 found="no"
   19076 
   19077 	if test $found = "no" ; then
   19078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19080 		fi
   19081 
   19082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19084 		fi
   19085 
   19086 		CFLAGS="$CFLAGS -Wtrigraphs"
   19087 
   19088 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19089 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19090 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19091 		if eval test \${$cacheid+y}
   19092 then :
   19093   printf %s "(cached) " >&6
   19094 else case e in #(
   19095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19096 /* end confdefs.h.  */
   19097 int i;
   19098 int
   19099 main (void)
   19100 {
   19101 
   19102   ;
   19103   return 0;
   19104 }
   19105 _ACEOF
   19106 if ac_fn_c_try_link "$LINENO"
   19107 then :
   19108   eval $cacheid=yes
   19109 else case e in #(
   19110   e) eval $cacheid=no ;;
   19111 esac
   19112 fi
   19113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19114     conftest$ac_exeext conftest.$ac_ext ;;
   19115 esac
   19116 fi
   19117 
   19118 
   19119 		CFLAGS="$xorg_testset_save_CFLAGS"
   19120 
   19121 		eval supported=\$$cacheid
   19122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19123 printf "%s\n" "$supported" >&6; }
   19124 		if test "$supported" = "yes" ; then
   19125 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19126 			found="yes"
   19127 		fi
   19128 	fi
   19129 
   19130 
   19131 
   19132 
   19133 
   19134 
   19135 
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 
   19143 
   19144 xorg_testset_save_CFLAGS="$CFLAGS"
   19145 
   19146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19150 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19151 then :
   19152   printf %s "(cached) " >&6
   19153 else case e in #(
   19154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19155 /* end confdefs.h.  */
   19156 int i;
   19157 _ACEOF
   19158 if ac_fn_c_try_compile "$LINENO"
   19159 then :
   19160   xorg_cv_cc_flag_unknown_warning_option=yes
   19161 else case e in #(
   19162   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19163 esac
   19164 fi
   19165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19166 esac
   19167 fi
   19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19171 	CFLAGS="$xorg_testset_save_CFLAGS"
   19172 fi
   19173 
   19174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19177 	fi
   19178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19182 then :
   19183   printf %s "(cached) " >&6
   19184 else case e in #(
   19185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19186 /* end confdefs.h.  */
   19187 int i;
   19188 _ACEOF
   19189 if ac_fn_c_try_compile "$LINENO"
   19190 then :
   19191   xorg_cv_cc_flag_unused_command_line_argument=yes
   19192 else case e in #(
   19193   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19194 esac
   19195 fi
   19196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19197 esac
   19198 fi
   19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19200 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19202 	CFLAGS="$xorg_testset_save_CFLAGS"
   19203 fi
   19204 
   19205 found="no"
   19206 
   19207 	if test $found = "no" ; then
   19208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19210 		fi
   19211 
   19212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19214 		fi
   19215 
   19216 		CFLAGS="$CFLAGS -Warray-bounds"
   19217 
   19218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19219 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19220 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19221 		if eval test \${$cacheid+y}
   19222 then :
   19223   printf %s "(cached) " >&6
   19224 else case e in #(
   19225   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19226 /* end confdefs.h.  */
   19227 int i;
   19228 int
   19229 main (void)
   19230 {
   19231 
   19232   ;
   19233   return 0;
   19234 }
   19235 _ACEOF
   19236 if ac_fn_c_try_link "$LINENO"
   19237 then :
   19238   eval $cacheid=yes
   19239 else case e in #(
   19240   e) eval $cacheid=no ;;
   19241 esac
   19242 fi
   19243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19244     conftest$ac_exeext conftest.$ac_ext ;;
   19245 esac
   19246 fi
   19247 
   19248 
   19249 		CFLAGS="$xorg_testset_save_CFLAGS"
   19250 
   19251 		eval supported=\$$cacheid
   19252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19253 printf "%s\n" "$supported" >&6; }
   19254 		if test "$supported" = "yes" ; then
   19255 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19256 			found="yes"
   19257 		fi
   19258 	fi
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 xorg_testset_save_CFLAGS="$CFLAGS"
   19275 
   19276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19281 then :
   19282   printf %s "(cached) " >&6
   19283 else case e in #(
   19284   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19285 /* end confdefs.h.  */
   19286 int i;
   19287 _ACEOF
   19288 if ac_fn_c_try_compile "$LINENO"
   19289 then :
   19290   xorg_cv_cc_flag_unknown_warning_option=yes
   19291 else case e in #(
   19292   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19293 esac
   19294 fi
   19295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19296 esac
   19297 fi
   19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19299 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19301 	CFLAGS="$xorg_testset_save_CFLAGS"
   19302 fi
   19303 
   19304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19307 	fi
   19308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19310 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19311 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19312 then :
   19313   printf %s "(cached) " >&6
   19314 else case e in #(
   19315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19316 /* end confdefs.h.  */
   19317 int i;
   19318 _ACEOF
   19319 if ac_fn_c_try_compile "$LINENO"
   19320 then :
   19321   xorg_cv_cc_flag_unused_command_line_argument=yes
   19322 else case e in #(
   19323   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19324 esac
   19325 fi
   19326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19327 esac
   19328 fi
   19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19330 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19332 	CFLAGS="$xorg_testset_save_CFLAGS"
   19333 fi
   19334 
   19335 found="no"
   19336 
   19337 	if test $found = "no" ; then
   19338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19340 		fi
   19341 
   19342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19344 		fi
   19345 
   19346 		CFLAGS="$CFLAGS -Wwrite-strings"
   19347 
   19348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19349 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19350 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19351 		if eval test \${$cacheid+y}
   19352 then :
   19353   printf %s "(cached) " >&6
   19354 else case e in #(
   19355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19356 /* end confdefs.h.  */
   19357 int i;
   19358 int
   19359 main (void)
   19360 {
   19361 
   19362   ;
   19363   return 0;
   19364 }
   19365 _ACEOF
   19366 if ac_fn_c_try_link "$LINENO"
   19367 then :
   19368   eval $cacheid=yes
   19369 else case e in #(
   19370   e) eval $cacheid=no ;;
   19371 esac
   19372 fi
   19373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19374     conftest$ac_exeext conftest.$ac_ext ;;
   19375 esac
   19376 fi
   19377 
   19378 
   19379 		CFLAGS="$xorg_testset_save_CFLAGS"
   19380 
   19381 		eval supported=\$$cacheid
   19382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19383 printf "%s\n" "$supported" >&6; }
   19384 		if test "$supported" = "yes" ; then
   19385 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19386 			found="yes"
   19387 		fi
   19388 	fi
   19389 
   19390 
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 
   19402 
   19403 
   19404 xorg_testset_save_CFLAGS="$CFLAGS"
   19405 
   19406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19409 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19410 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19411 then :
   19412   printf %s "(cached) " >&6
   19413 else case e in #(
   19414   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19415 /* end confdefs.h.  */
   19416 int i;
   19417 _ACEOF
   19418 if ac_fn_c_try_compile "$LINENO"
   19419 then :
   19420   xorg_cv_cc_flag_unknown_warning_option=yes
   19421 else case e in #(
   19422   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19423 esac
   19424 fi
   19425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19426 esac
   19427 fi
   19428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19429 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19431 	CFLAGS="$xorg_testset_save_CFLAGS"
   19432 fi
   19433 
   19434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19437 	fi
   19438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19440 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19441 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19442 then :
   19443   printf %s "(cached) " >&6
   19444 else case e in #(
   19445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19446 /* end confdefs.h.  */
   19447 int i;
   19448 _ACEOF
   19449 if ac_fn_c_try_compile "$LINENO"
   19450 then :
   19451   xorg_cv_cc_flag_unused_command_line_argument=yes
   19452 else case e in #(
   19453   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19454 esac
   19455 fi
   19456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19457 esac
   19458 fi
   19459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19460 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19462 	CFLAGS="$xorg_testset_save_CFLAGS"
   19463 fi
   19464 
   19465 found="no"
   19466 
   19467 	if test $found = "no" ; then
   19468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19470 		fi
   19471 
   19472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19474 		fi
   19475 
   19476 		CFLAGS="$CFLAGS -Waddress"
   19477 
   19478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19479 printf %s "checking if $CC supports -Waddress... " >&6; }
   19480 		cacheid=xorg_cv_cc_flag__Waddress
   19481 		if eval test \${$cacheid+y}
   19482 then :
   19483   printf %s "(cached) " >&6
   19484 else case e in #(
   19485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19486 /* end confdefs.h.  */
   19487 int i;
   19488 int
   19489 main (void)
   19490 {
   19491 
   19492   ;
   19493   return 0;
   19494 }
   19495 _ACEOF
   19496 if ac_fn_c_try_link "$LINENO"
   19497 then :
   19498   eval $cacheid=yes
   19499 else case e in #(
   19500   e) eval $cacheid=no ;;
   19501 esac
   19502 fi
   19503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19504     conftest$ac_exeext conftest.$ac_ext ;;
   19505 esac
   19506 fi
   19507 
   19508 
   19509 		CFLAGS="$xorg_testset_save_CFLAGS"
   19510 
   19511 		eval supported=\$$cacheid
   19512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19513 printf "%s\n" "$supported" >&6; }
   19514 		if test "$supported" = "yes" ; then
   19515 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19516 			found="yes"
   19517 		fi
   19518 	fi
   19519 
   19520 
   19521 
   19522 
   19523 
   19524 
   19525 
   19526 
   19527 
   19528 
   19529 
   19530 
   19531 
   19532 
   19533 
   19534 xorg_testset_save_CFLAGS="$CFLAGS"
   19535 
   19536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19539 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19540 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19541 then :
   19542   printf %s "(cached) " >&6
   19543 else case e in #(
   19544   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19545 /* end confdefs.h.  */
   19546 int i;
   19547 _ACEOF
   19548 if ac_fn_c_try_compile "$LINENO"
   19549 then :
   19550   xorg_cv_cc_flag_unknown_warning_option=yes
   19551 else case e in #(
   19552   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19553 esac
   19554 fi
   19555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19556 esac
   19557 fi
   19558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19559 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19561 	CFLAGS="$xorg_testset_save_CFLAGS"
   19562 fi
   19563 
   19564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19567 	fi
   19568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19570 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19571 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19572 then :
   19573   printf %s "(cached) " >&6
   19574 else case e in #(
   19575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19576 /* end confdefs.h.  */
   19577 int i;
   19578 _ACEOF
   19579 if ac_fn_c_try_compile "$LINENO"
   19580 then :
   19581   xorg_cv_cc_flag_unused_command_line_argument=yes
   19582 else case e in #(
   19583   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19584 esac
   19585 fi
   19586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19587 esac
   19588 fi
   19589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19590 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19592 	CFLAGS="$xorg_testset_save_CFLAGS"
   19593 fi
   19594 
   19595 found="no"
   19596 
   19597 	if test $found = "no" ; then
   19598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19600 		fi
   19601 
   19602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19604 		fi
   19605 
   19606 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19607 
   19608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19609 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19610 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19611 		if eval test \${$cacheid+y}
   19612 then :
   19613   printf %s "(cached) " >&6
   19614 else case e in #(
   19615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19616 /* end confdefs.h.  */
   19617 int i;
   19618 int
   19619 main (void)
   19620 {
   19621 
   19622   ;
   19623   return 0;
   19624 }
   19625 _ACEOF
   19626 if ac_fn_c_try_link "$LINENO"
   19627 then :
   19628   eval $cacheid=yes
   19629 else case e in #(
   19630   e) eval $cacheid=no ;;
   19631 esac
   19632 fi
   19633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19634     conftest$ac_exeext conftest.$ac_ext ;;
   19635 esac
   19636 fi
   19637 
   19638 
   19639 		CFLAGS="$xorg_testset_save_CFLAGS"
   19640 
   19641 		eval supported=\$$cacheid
   19642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19643 printf "%s\n" "$supported" >&6; }
   19644 		if test "$supported" = "yes" ; then
   19645 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19646 			found="yes"
   19647 		fi
   19648 	fi
   19649 
   19650 
   19651 
   19652 
   19653 
   19654 
   19655 
   19656 
   19657 
   19658 
   19659 
   19660 
   19661 
   19662 
   19663 
   19664 xorg_testset_save_CFLAGS="$CFLAGS"
   19665 
   19666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19668 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19669 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19670 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19671 then :
   19672   printf %s "(cached) " >&6
   19673 else case e in #(
   19674   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19675 /* end confdefs.h.  */
   19676 int i;
   19677 _ACEOF
   19678 if ac_fn_c_try_compile "$LINENO"
   19679 then :
   19680   xorg_cv_cc_flag_unknown_warning_option=yes
   19681 else case e in #(
   19682   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19683 esac
   19684 fi
   19685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19686 esac
   19687 fi
   19688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19689 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19691 	CFLAGS="$xorg_testset_save_CFLAGS"
   19692 fi
   19693 
   19694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19697 	fi
   19698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19700 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19701 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19702 then :
   19703   printf %s "(cached) " >&6
   19704 else case e in #(
   19705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19706 /* end confdefs.h.  */
   19707 int i;
   19708 _ACEOF
   19709 if ac_fn_c_try_compile "$LINENO"
   19710 then :
   19711   xorg_cv_cc_flag_unused_command_line_argument=yes
   19712 else case e in #(
   19713   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19714 esac
   19715 fi
   19716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19717 esac
   19718 fi
   19719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19720 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19722 	CFLAGS="$xorg_testset_save_CFLAGS"
   19723 fi
   19724 
   19725 found="no"
   19726 
   19727 	if test $found = "no" ; then
   19728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19730 		fi
   19731 
   19732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19734 		fi
   19735 
   19736 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19737 
   19738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19739 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19740 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19741 		if eval test \${$cacheid+y}
   19742 then :
   19743   printf %s "(cached) " >&6
   19744 else case e in #(
   19745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19746 /* end confdefs.h.  */
   19747 int i;
   19748 int
   19749 main (void)
   19750 {
   19751 
   19752   ;
   19753   return 0;
   19754 }
   19755 _ACEOF
   19756 if ac_fn_c_try_link "$LINENO"
   19757 then :
   19758   eval $cacheid=yes
   19759 else case e in #(
   19760   e) eval $cacheid=no ;;
   19761 esac
   19762 fi
   19763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19764     conftest$ac_exeext conftest.$ac_ext ;;
   19765 esac
   19766 fi
   19767 
   19768 
   19769 		CFLAGS="$xorg_testset_save_CFLAGS"
   19770 
   19771 		eval supported=\$$cacheid
   19772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19773 printf "%s\n" "$supported" >&6; }
   19774 		if test "$supported" = "yes" ; then
   19775 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19776 			found="yes"
   19777 		fi
   19778 	fi
   19779 
   19780 
   19781 fi
   19782 
   19783 
   19784 
   19785 
   19786 
   19787 
   19788 
   19789 		CWARNFLAGS="$BASE_CFLAGS"
   19790 		if  test "x$GCC" = xyes ; then
   19791 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19792 		fi
   19793 
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 
   19800 
   19801 # Check whether --enable-strict-compilation was given.
   19802 if test ${enable_strict_compilation+y}
   19803 then :
   19804   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19805 else case e in #(
   19806   e) STRICT_COMPILE=no ;;
   19807 esac
   19808 fi
   19809 
   19810 
   19811 
   19812 
   19813 
   19814 
   19815 STRICT_CFLAGS=""
   19816 
   19817 
   19818 
   19819 
   19820 
   19821 
   19822 
   19823 
   19824 
   19825 
   19826 
   19827 
   19828 
   19829 xorg_testset_save_CFLAGS="$CFLAGS"
   19830 
   19831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19834 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19835 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19836 then :
   19837   printf %s "(cached) " >&6
   19838 else case e in #(
   19839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19840 /* end confdefs.h.  */
   19841 int i;
   19842 _ACEOF
   19843 if ac_fn_c_try_compile "$LINENO"
   19844 then :
   19845   xorg_cv_cc_flag_unknown_warning_option=yes
   19846 else case e in #(
   19847   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19848 esac
   19849 fi
   19850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19851 esac
   19852 fi
   19853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19854 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19856 	CFLAGS="$xorg_testset_save_CFLAGS"
   19857 fi
   19858 
   19859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19862 	fi
   19863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19865 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19866 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19867 then :
   19868   printf %s "(cached) " >&6
   19869 else case e in #(
   19870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19871 /* end confdefs.h.  */
   19872 int i;
   19873 _ACEOF
   19874 if ac_fn_c_try_compile "$LINENO"
   19875 then :
   19876   xorg_cv_cc_flag_unused_command_line_argument=yes
   19877 else case e in #(
   19878   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19879 esac
   19880 fi
   19881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19882 esac
   19883 fi
   19884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19885 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19887 	CFLAGS="$xorg_testset_save_CFLAGS"
   19888 fi
   19889 
   19890 found="no"
   19891 
   19892 	if test $found = "no" ; then
   19893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19895 		fi
   19896 
   19897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19899 		fi
   19900 
   19901 		CFLAGS="$CFLAGS -pedantic"
   19902 
   19903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19904 printf %s "checking if $CC supports -pedantic... " >&6; }
   19905 		cacheid=xorg_cv_cc_flag__pedantic
   19906 		if eval test \${$cacheid+y}
   19907 then :
   19908   printf %s "(cached) " >&6
   19909 else case e in #(
   19910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19911 /* end confdefs.h.  */
   19912 int i;
   19913 int
   19914 main (void)
   19915 {
   19916 
   19917   ;
   19918   return 0;
   19919 }
   19920 _ACEOF
   19921 if ac_fn_c_try_link "$LINENO"
   19922 then :
   19923   eval $cacheid=yes
   19924 else case e in #(
   19925   e) eval $cacheid=no ;;
   19926 esac
   19927 fi
   19928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19929     conftest$ac_exeext conftest.$ac_ext ;;
   19930 esac
   19931 fi
   19932 
   19933 
   19934 		CFLAGS="$xorg_testset_save_CFLAGS"
   19935 
   19936 		eval supported=\$$cacheid
   19937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19938 printf "%s\n" "$supported" >&6; }
   19939 		if test "$supported" = "yes" ; then
   19940 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19941 			found="yes"
   19942 		fi
   19943 	fi
   19944 
   19945 
   19946 
   19947 
   19948 
   19949 
   19950 
   19951 
   19952 
   19953 
   19954 
   19955 
   19956 
   19957 
   19958 
   19959 xorg_testset_save_CFLAGS="$CFLAGS"
   19960 
   19961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19964 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19965 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19966 then :
   19967   printf %s "(cached) " >&6
   19968 else case e in #(
   19969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19970 /* end confdefs.h.  */
   19971 int i;
   19972 _ACEOF
   19973 if ac_fn_c_try_compile "$LINENO"
   19974 then :
   19975   xorg_cv_cc_flag_unknown_warning_option=yes
   19976 else case e in #(
   19977   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19978 esac
   19979 fi
   19980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19981 esac
   19982 fi
   19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19986 	CFLAGS="$xorg_testset_save_CFLAGS"
   19987 fi
   19988 
   19989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19992 	fi
   19993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19997 then :
   19998   printf %s "(cached) " >&6
   19999 else case e in #(
   20000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20001 /* end confdefs.h.  */
   20002 int i;
   20003 _ACEOF
   20004 if ac_fn_c_try_compile "$LINENO"
   20005 then :
   20006   xorg_cv_cc_flag_unused_command_line_argument=yes
   20007 else case e in #(
   20008   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20009 esac
   20010 fi
   20011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20012 esac
   20013 fi
   20014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20017 	CFLAGS="$xorg_testset_save_CFLAGS"
   20018 fi
   20019 
   20020 found="no"
   20021 
   20022 	if test $found = "no" ; then
   20023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20025 		fi
   20026 
   20027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20029 		fi
   20030 
   20031 		CFLAGS="$CFLAGS -Werror"
   20032 
   20033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20034 printf %s "checking if $CC supports -Werror... " >&6; }
   20035 		cacheid=xorg_cv_cc_flag__Werror
   20036 		if eval test \${$cacheid+y}
   20037 then :
   20038   printf %s "(cached) " >&6
   20039 else case e in #(
   20040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20041 /* end confdefs.h.  */
   20042 int i;
   20043 int
   20044 main (void)
   20045 {
   20046 
   20047   ;
   20048   return 0;
   20049 }
   20050 _ACEOF
   20051 if ac_fn_c_try_link "$LINENO"
   20052 then :
   20053   eval $cacheid=yes
   20054 else case e in #(
   20055   e) eval $cacheid=no ;;
   20056 esac
   20057 fi
   20058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20059     conftest$ac_exeext conftest.$ac_ext ;;
   20060 esac
   20061 fi
   20062 
   20063 
   20064 		CFLAGS="$xorg_testset_save_CFLAGS"
   20065 
   20066 		eval supported=\$$cacheid
   20067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20068 printf "%s\n" "$supported" >&6; }
   20069 		if test "$supported" = "yes" ; then
   20070 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20071 			found="yes"
   20072 		fi
   20073 	fi
   20074 
   20075 	if test $found = "no" ; then
   20076 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20078 		fi
   20079 
   20080 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20082 		fi
   20083 
   20084 		CFLAGS="$CFLAGS -errwarn"
   20085 
   20086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20087 printf %s "checking if $CC supports -errwarn... " >&6; }
   20088 		cacheid=xorg_cv_cc_flag__errwarn
   20089 		if eval test \${$cacheid+y}
   20090 then :
   20091   printf %s "(cached) " >&6
   20092 else case e in #(
   20093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20094 /* end confdefs.h.  */
   20095 int i;
   20096 int
   20097 main (void)
   20098 {
   20099 
   20100   ;
   20101   return 0;
   20102 }
   20103 _ACEOF
   20104 if ac_fn_c_try_link "$LINENO"
   20105 then :
   20106   eval $cacheid=yes
   20107 else case e in #(
   20108   e) eval $cacheid=no ;;
   20109 esac
   20110 fi
   20111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20112     conftest$ac_exeext conftest.$ac_ext ;;
   20113 esac
   20114 fi
   20115 
   20116 
   20117 		CFLAGS="$xorg_testset_save_CFLAGS"
   20118 
   20119 		eval supported=\$$cacheid
   20120 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20121 printf "%s\n" "$supported" >&6; }
   20122 		if test "$supported" = "yes" ; then
   20123 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20124 			found="yes"
   20125 		fi
   20126 	fi
   20127 
   20128 
   20129 
   20130 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20131 # activate it with -Werror, so we add it here explicitly.
   20132 
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 
   20139 
   20140 
   20141 
   20142 
   20143 
   20144 
   20145 xorg_testset_save_CFLAGS="$CFLAGS"
   20146 
   20147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20152 then :
   20153   printf %s "(cached) " >&6
   20154 else case e in #(
   20155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20156 /* end confdefs.h.  */
   20157 int i;
   20158 _ACEOF
   20159 if ac_fn_c_try_compile "$LINENO"
   20160 then :
   20161   xorg_cv_cc_flag_unknown_warning_option=yes
   20162 else case e in #(
   20163   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20164 esac
   20165 fi
   20166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20167 esac
   20168 fi
   20169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20170 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20172 	CFLAGS="$xorg_testset_save_CFLAGS"
   20173 fi
   20174 
   20175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20178 	fi
   20179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20181 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20182 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20183 then :
   20184   printf %s "(cached) " >&6
   20185 else case e in #(
   20186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20187 /* end confdefs.h.  */
   20188 int i;
   20189 _ACEOF
   20190 if ac_fn_c_try_compile "$LINENO"
   20191 then :
   20192   xorg_cv_cc_flag_unused_command_line_argument=yes
   20193 else case e in #(
   20194   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20195 esac
   20196 fi
   20197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20198 esac
   20199 fi
   20200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20203 	CFLAGS="$xorg_testset_save_CFLAGS"
   20204 fi
   20205 
   20206 found="no"
   20207 
   20208 	if test $found = "no" ; then
   20209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20211 		fi
   20212 
   20213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20215 		fi
   20216 
   20217 		CFLAGS="$CFLAGS -Werror=attributes"
   20218 
   20219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20220 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20221 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20222 		if eval test \${$cacheid+y}
   20223 then :
   20224   printf %s "(cached) " >&6
   20225 else case e in #(
   20226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20227 /* end confdefs.h.  */
   20228 int i;
   20229 int
   20230 main (void)
   20231 {
   20232 
   20233   ;
   20234   return 0;
   20235 }
   20236 _ACEOF
   20237 if ac_fn_c_try_link "$LINENO"
   20238 then :
   20239   eval $cacheid=yes
   20240 else case e in #(
   20241   e) eval $cacheid=no ;;
   20242 esac
   20243 fi
   20244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20245     conftest$ac_exeext conftest.$ac_ext ;;
   20246 esac
   20247 fi
   20248 
   20249 
   20250 		CFLAGS="$xorg_testset_save_CFLAGS"
   20251 
   20252 		eval supported=\$$cacheid
   20253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20254 printf "%s\n" "$supported" >&6; }
   20255 		if test "$supported" = "yes" ; then
   20256 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20257 			found="yes"
   20258 		fi
   20259 	fi
   20260 
   20261 
   20262 
   20263 if test "x$STRICT_COMPILE" = "xyes"; then
   20264     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20265     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20266 fi
   20267 
   20268 
   20269 
   20270 
   20271 
   20272 
   20273 
   20274 
   20275 cat >>confdefs.h <<_ACEOF
   20276 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20277 _ACEOF
   20278 
   20279 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20280 	if test "x$PVM" = "x"; then
   20281 		PVM="0"
   20282 	fi
   20283 
   20284 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20285 
   20286 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20287 	if test "x$PVP" = "x"; then
   20288 		PVP="0"
   20289 	fi
   20290 
   20291 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20292 
   20293 
   20294 
   20295 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20296 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20297 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20298 touch \$(top_srcdir)/ChangeLog; \
   20299 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20300 
   20301 
   20302 
   20303 
   20304 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20305 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20306 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20307 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20308 touch \$(top_srcdir)/INSTALL; \
   20309 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20310 
   20311 
   20312 
   20313 
   20314 
   20315 
   20316 case $host_os in
   20317     solaris*)
   20318         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20319         # check for a man page file found in later versions that use
   20320         # traditional section numbers instead
   20321         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20322 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20323 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20324 then :
   20325   printf %s "(cached) " >&6
   20326 else case e in #(
   20327   e) test "$cross_compiling" = yes &&
   20328   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20329 if test -r "/usr/share/man/man7/attributes.7"; then
   20330   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20331 else
   20332   ac_cv_file__usr_share_man_man7_attributes_7=no
   20333 fi ;;
   20334 esac
   20335 fi
   20336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20337 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20338 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20339 then :
   20340   SYSV_MAN_SECTIONS=false
   20341 else case e in #(
   20342   e) SYSV_MAN_SECTIONS=true ;;
   20343 esac
   20344 fi
   20345 
   20346         ;;
   20347     *) SYSV_MAN_SECTIONS=false ;;
   20348 esac
   20349 
   20350 if test x$APP_MAN_SUFFIX = x    ; then
   20351     APP_MAN_SUFFIX=1
   20352 fi
   20353 if test x$APP_MAN_DIR = x    ; then
   20354     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20355 fi
   20356 
   20357 if test x$LIB_MAN_SUFFIX = x    ; then
   20358     LIB_MAN_SUFFIX=3
   20359 fi
   20360 if test x$LIB_MAN_DIR = x    ; then
   20361     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20362 fi
   20363 
   20364 if test x$FILE_MAN_SUFFIX = x    ; then
   20365     case $SYSV_MAN_SECTIONS in
   20366 	true)				FILE_MAN_SUFFIX=4  ;;
   20367 	*)				FILE_MAN_SUFFIX=5  ;;
   20368     esac
   20369 fi
   20370 if test x$FILE_MAN_DIR = x    ; then
   20371     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20372 fi
   20373 
   20374 if test x$MISC_MAN_SUFFIX = x    ; then
   20375     case $SYSV_MAN_SECTIONS in
   20376 	true)				MISC_MAN_SUFFIX=5  ;;
   20377 	*)				MISC_MAN_SUFFIX=7  ;;
   20378     esac
   20379 fi
   20380 if test x$MISC_MAN_DIR = x    ; then
   20381     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20382 fi
   20383 
   20384 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20385     case $SYSV_MAN_SECTIONS in
   20386 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20387 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20388     esac
   20389 fi
   20390 if test x$DRIVER_MAN_DIR = x    ; then
   20391     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20392 fi
   20393 
   20394 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20395     case $SYSV_MAN_SECTIONS in
   20396 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20397 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20398     esac
   20399 fi
   20400 if test x$ADMIN_MAN_DIR = x    ; then
   20401     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20402 fi
   20403 
   20404 
   20405 
   20406 
   20407 
   20408 
   20409 
   20410 
   20411 
   20412 
   20413 
   20414 
   20415 
   20416 
   20417 
   20418 XORG_MAN_PAGE="X Version 11"
   20419 
   20420 MAN_SUBSTS="\
   20421 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20422 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20423 	-e 's|__xservername__|Xorg|g' \
   20424 	-e 's|__xconfigfile__|xorg.conf|g' \
   20425 	-e 's|__projectroot__|\$(prefix)|g' \
   20426 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20427 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20428 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20429 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20430 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20431 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20432 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20433 
   20434 
   20435 
   20436 
   20437 AM_DEFAULT_VERBOSITY=0
   20438 
   20439 
   20440 
   20441 
   20442 
   20443 # Check whether --enable-malloc0returnsnull was given.
   20444 if test ${enable_malloc0returnsnull+y}
   20445 then :
   20446   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20447 else case e in #(
   20448   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   20449 esac
   20450 fi
   20451 
   20452 
   20453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   20454 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   20455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20456 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20457 
   20458 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20459 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20460 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20461 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20462 else
   20463 	MALLOC_ZERO_CFLAGS=""
   20464 	XMALLOC_ZERO_CFLAGS=""
   20465 	XTMALLOC_ZERO_CFLAGS=""
   20466 fi
   20467 
   20468 
   20469 
   20470 
   20471 
   20472 
   20473 # Obtain compiler/linker options for dependencies
   20474 
   20475 pkg_failed=no
   20476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5
   20477 printf %s "checking for XINERAMA... " >&6; }
   20478 
   20479 if test -n "$XINERAMA_CFLAGS"; then
   20480     pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS"
   20481  elif test -n "$PKG_CONFIG"; then
   20482     if test -n "$PKG_CONFIG" && \
   20483     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1\""; } >&5
   20484   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1") 2>&5
   20485   ac_status=$?
   20486   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20487   test $ac_status = 0; }; then
   20488   pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1" 2>/dev/null`
   20489 		      test "x$?" != "x0" && pkg_failed=yes
   20490 else
   20491   pkg_failed=yes
   20492 fi
   20493  else
   20494     pkg_failed=untried
   20495 fi
   20496 if test -n "$XINERAMA_LIBS"; then
   20497     pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS"
   20498  elif test -n "$PKG_CONFIG"; then
   20499     if test -n "$PKG_CONFIG" && \
   20500     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1\""; } >&5
   20501   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1") 2>&5
   20502   ac_status=$?
   20503   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20504   test $ac_status = 0; }; then
   20505   pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1" 2>/dev/null`
   20506 		      test "x$?" != "x0" && pkg_failed=yes
   20507 else
   20508   pkg_failed=yes
   20509 fi
   20510  else
   20511     pkg_failed=untried
   20512 fi
   20513 
   20514 
   20515 
   20516 if test $pkg_failed = yes; then
   20517    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20518 printf "%s\n" "no" >&6; }
   20519 
   20520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20521         _pkg_short_errors_supported=yes
   20522 else
   20523         _pkg_short_errors_supported=no
   20524 fi
   20525         if test $_pkg_short_errors_supported = yes; then
   20526 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1" 2>&1`
   20527         else
   20528 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1" 2>&1`
   20529         fi
   20530 	# Put the nasty error message in config.log where it belongs
   20531 	echo "$XINERAMA_PKG_ERRORS" >&5
   20532 
   20533 	as_fn_error $? "Package requirements (x11 >= 1.6 xext xextproto xineramaproto >= 1.1.99.1) were not met:
   20534 
   20535 $XINERAMA_PKG_ERRORS
   20536 
   20537 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20538 installed software in a non-standard prefix.
   20539 
   20540 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   20541 and XINERAMA_LIBS to avoid the need to call pkg-config.
   20542 See the pkg-config man page for more details." "$LINENO" 5
   20543 elif test $pkg_failed = untried; then
   20544      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20545 printf "%s\n" "no" >&6; }
   20546 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20547 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20548 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20549 is in your PATH or set the PKG_CONFIG environment variable to the full
   20550 path to pkg-config.
   20551 
   20552 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   20553 and XINERAMA_LIBS to avoid the need to call pkg-config.
   20554 See the pkg-config man page for more details.
   20555 
   20556 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20557 See 'config.log' for more details" "$LINENO" 5; }
   20558 else
   20559 	XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
   20560 	XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
   20561         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20562 printf "%s\n" "yes" >&6; }
   20563 
   20564 fi
   20565 
   20566 # Allow checking code with lint, sparse, etc.
   20567 
   20568 
   20569 
   20570 
   20571 
   20572 # Check whether --with-lint was given.
   20573 if test ${with_lint+y}
   20574 then :
   20575   withval=$with_lint; use_lint=$withval
   20576 else case e in #(
   20577   e) use_lint=no ;;
   20578 esac
   20579 fi
   20580 
   20581 
   20582 # Obtain platform specific info like program name and options
   20583 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20584 case $host_os in
   20585   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20586 	lint_name=splint
   20587 	lint_options="-badflag"
   20588 	;;
   20589   *freebsd* | *netbsd*)
   20590 	lint_name=lint
   20591 	lint_options="-u -b"
   20592 	;;
   20593   *solaris*)
   20594 	lint_name=lint
   20595 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20596 	;;
   20597 esac
   20598 
   20599 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20600 if test "x$use_lint" = x"yes" ; then
   20601    # Extract the first word of "$lint_name", so it can be a program name with args.
   20602 set dummy $lint_name; ac_word=$2
   20603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20604 printf %s "checking for $ac_word... " >&6; }
   20605 if test ${ac_cv_path_LINT+y}
   20606 then :
   20607   printf %s "(cached) " >&6
   20608 else case e in #(
   20609   e) case $LINT in
   20610   [\\/]* | ?:[\\/]*)
   20611   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20612   ;;
   20613   *)
   20614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20615 for as_dir in $PATH
   20616 do
   20617   IFS=$as_save_IFS
   20618   case $as_dir in #(((
   20619     '') as_dir=./ ;;
   20620     */) ;;
   20621     *) as_dir=$as_dir/ ;;
   20622   esac
   20623     for ac_exec_ext in '' $ac_executable_extensions; do
   20624   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20625     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   20626     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20627     break 2
   20628   fi
   20629 done
   20630   done
   20631 IFS=$as_save_IFS
   20632 
   20633   ;;
   20634 esac ;;
   20635 esac
   20636 fi
   20637 LINT=$ac_cv_path_LINT
   20638 if test -n "$LINT"; then
   20639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20640 printf "%s\n" "$LINT" >&6; }
   20641 else
   20642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20643 printf "%s\n" "no" >&6; }
   20644 fi
   20645 
   20646 
   20647    if test "x$LINT" = "x"; then
   20648         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20649    fi
   20650 elif test "x$use_lint" = x"no" ; then
   20651    if test "x$LINT" != "x"; then
   20652       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20653 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20654    fi
   20655 else
   20656    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20657 fi
   20658 
   20659 # User supplied flags override default flags
   20660 if test "x$LINT_FLAGS" != "x"; then
   20661    lint_options=$LINT_FLAGS
   20662 fi
   20663 
   20664 LINT_FLAGS=$lint_options
   20665 
   20666  if test "x$LINT" != x; then
   20667   LINT_TRUE=
   20668   LINT_FALSE='#'
   20669 else
   20670   LINT_TRUE='#'
   20671   LINT_FALSE=
   20672 fi
   20673 
   20674 
   20675 
   20676 LINT_FLAGS="${LINT_FLAGS} ${XINERAMA_CFLAGS}"
   20677 
   20678 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xinerama.pc"
   20679 
   20680 cat >confcache <<\_ACEOF
   20681 # This file is a shell script that caches the results of configure
   20682 # tests run on this system so they can be shared between configure
   20683 # scripts and configure runs, see configure's option --config-cache.
   20684 # It is not useful on other systems.  If it contains results you don't
   20685 # want to keep, you may remove or edit it.
   20686 #
   20687 # config.status only pays attention to the cache file if you give it
   20688 # the --recheck option to rerun configure.
   20689 #
   20690 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20691 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20692 # following values.
   20693 
   20694 _ACEOF
   20695 
   20696 # The following way of writing the cache mishandles newlines in values,
   20697 # but we know of no workaround that is simple, portable, and efficient.
   20698 # So, we kill variables containing newlines.
   20699 # Ultrix sh set writes to stderr and can't be redirected directly,
   20700 # and sets the high bit in the cache file unless we assign to the vars.
   20701 (
   20702   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20703     eval ac_val=\$$ac_var
   20704     case $ac_val in #(
   20705     *${as_nl}*)
   20706       case $ac_var in #(
   20707       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20708 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20709       esac
   20710       case $ac_var in #(
   20711       _ | IFS | as_nl) ;; #(
   20712       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20713       *) { eval $ac_var=; unset $ac_var;} ;;
   20714       esac ;;
   20715     esac
   20716   done
   20717 
   20718   (set) 2>&1 |
   20719     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20720     *${as_nl}ac_space=\ *)
   20721       # 'set' does not quote correctly, so add quotes: double-quote
   20722       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20723       sed -n \
   20724 	"s/'/'\\\\''/g;
   20725 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20726       ;; #(
   20727     *)
   20728       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20729       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20730       ;;
   20731     esac |
   20732     sort
   20733 ) |
   20734   sed '
   20735      /^ac_cv_env_/b end
   20736      t clear
   20737      :clear
   20738      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20739      t end
   20740      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20741      :end' >>confcache
   20742 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20743   if test -w "$cache_file"; then
   20744     if test "x$cache_file" != "x/dev/null"; then
   20745       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20746 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20747       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20748 	cat confcache >"$cache_file"
   20749       else
   20750         case $cache_file in #(
   20751         */* | ?:*)
   20752 	  mv -f confcache "$cache_file"$$ &&
   20753 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20754         *)
   20755 	  mv -f confcache "$cache_file" ;;
   20756 	esac
   20757       fi
   20758     fi
   20759   else
   20760     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20761 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20762   fi
   20763 fi
   20764 rm -f confcache
   20765 
   20766 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20767 # Let make expand exec_prefix.
   20768 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20769 
   20770 DEFS=-DHAVE_CONFIG_H
   20771 
   20772 ac_libobjs=
   20773 ac_ltlibobjs=
   20774 U=
   20775 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20776   # 1. Remove the extension, and $U if already installed.
   20777   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20778   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20779   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20780   #    will be set to the directory where LIBOBJS objects are built.
   20781   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20782   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20783 done
   20784 LIBOBJS=$ac_libobjs
   20785 
   20786 LTLIBOBJS=$ac_ltlibobjs
   20787 
   20788 
   20789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20790 printf %s "checking that generated files are newer than configure... " >&6; }
   20791    if test -n "$am_sleep_pid"; then
   20792      # Hide warnings about reused PIDs.
   20793      wait $am_sleep_pid 2>/dev/null
   20794    fi
   20795    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20796 printf "%s\n" "done" >&6; }
   20797 case $enable_silent_rules in # (((
   20798   yes) AM_DEFAULT_VERBOSITY=0;;
   20799    no) AM_DEFAULT_VERBOSITY=1;;
   20800 esac
   20801 if test $am_cv_make_support_nested_variables = yes; then
   20802     AM_V='$(V)'
   20803   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20804 else
   20805   AM_V=$AM_DEFAULT_VERBOSITY
   20806   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20807 fi
   20808 
   20809  if test -n "$EXEEXT"; then
   20810   am__EXEEXT_TRUE=
   20811   am__EXEEXT_FALSE='#'
   20812 else
   20813   am__EXEEXT_TRUE='#'
   20814   am__EXEEXT_FALSE=
   20815 fi
   20816 
   20817 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20818   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20820 fi
   20821 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20822   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20824 fi
   20825 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20826   as_fn_error $? "conditional \"LINT\" was never defined.
   20827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20828 fi
   20829 
   20830 : "${CONFIG_STATUS=./config.status}"
   20831 ac_write_fail=0
   20832 ac_clean_files_save=$ac_clean_files
   20833 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20835 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20836 as_write_fail=0
   20837 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20838 #! $SHELL
   20839 # Generated by $as_me.
   20840 # Run this file to recreate the current configuration.
   20841 # Compiler output produced by configure, useful for debugging
   20842 # configure, is in config.log if it exists.
   20843 
   20844 debug=false
   20845 ac_cs_recheck=false
   20846 ac_cs_silent=false
   20847 
   20848 SHELL=\${CONFIG_SHELL-$SHELL}
   20849 export SHELL
   20850 _ASEOF
   20851 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20852 ## -------------------- ##
   20853 ## M4sh Initialization. ##
   20854 ## -------------------- ##
   20855 
   20856 # Be more Bourne compatible
   20857 DUALCASE=1; export DUALCASE # for MKS sh
   20858 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20859 then :
   20860   emulate sh
   20861   NULLCMD=:
   20862   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20863   # is contrary to our usage.  Disable this feature.
   20864   alias -g '${1+"$@"}'='"$@"'
   20865   setopt NO_GLOB_SUBST
   20866 else case e in #(
   20867   e) case `(set -o) 2>/dev/null` in #(
   20868   *posix*) :
   20869     set -o posix ;; #(
   20870   *) :
   20871      ;;
   20872 esac ;;
   20873 esac
   20874 fi
   20875 
   20876 
   20877 
   20878 # Reset variables that may have inherited troublesome values from
   20879 # the environment.
   20880 
   20881 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20882 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20883 # side effect of setting IFS to empty, thus disabling word splitting.)
   20884 # Quoting is to prevent editors from complaining about space-tab.
   20885 as_nl='
   20886 '
   20887 export as_nl
   20888 IFS=" ""	$as_nl"
   20889 
   20890 PS1='$ '
   20891 PS2='> '
   20892 PS4='+ '
   20893 
   20894 # Ensure predictable behavior from utilities with locale-dependent output.
   20895 LC_ALL=C
   20896 export LC_ALL
   20897 LANGUAGE=C
   20898 export LANGUAGE
   20899 
   20900 # We cannot yet rely on "unset" to work, but we need these variables
   20901 # to be unset--not just set to an empty or harmless value--now, to
   20902 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20903 # also avoids known problems related to "unset" and subshell syntax
   20904 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20905 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20906 do eval test \${$as_var+y} \
   20907   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20908 done
   20909 
   20910 # Ensure that fds 0, 1, and 2 are open.
   20911 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20912 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20913 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20914 
   20915 # The user is always right.
   20916 if ${PATH_SEPARATOR+false} :; then
   20917   PATH_SEPARATOR=:
   20918   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20919     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20920       PATH_SEPARATOR=';'
   20921   }
   20922 fi
   20923 
   20924 
   20925 # Find who we are.  Look in the path if we contain no directory separator.
   20926 as_myself=
   20927 case $0 in #((
   20928   *[\\/]* ) as_myself=$0 ;;
   20929   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20930 for as_dir in $PATH
   20931 do
   20932   IFS=$as_save_IFS
   20933   case $as_dir in #(((
   20934     '') as_dir=./ ;;
   20935     */) ;;
   20936     *) as_dir=$as_dir/ ;;
   20937   esac
   20938     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20939   done
   20940 IFS=$as_save_IFS
   20941 
   20942      ;;
   20943 esac
   20944 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20945 # in which case we are not to be found in the path.
   20946 if test "x$as_myself" = x; then
   20947   as_myself=$0
   20948 fi
   20949 if test ! -f "$as_myself"; then
   20950   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20951   exit 1
   20952 fi
   20953 
   20954 
   20955 
   20956 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20957 # ----------------------------------------
   20958 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20959 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20960 # script with STATUS, using 1 if that was 0.
   20961 as_fn_error ()
   20962 {
   20963   as_status=$1; test $as_status -eq 0 && as_status=1
   20964   if test "$4"; then
   20965     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20966     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20967   fi
   20968   printf "%s\n" "$as_me: error: $2" >&2
   20969   as_fn_exit $as_status
   20970 } # as_fn_error
   20971 
   20972 
   20973 # as_fn_set_status STATUS
   20974 # -----------------------
   20975 # Set $? to STATUS, without forking.
   20976 as_fn_set_status ()
   20977 {
   20978   return $1
   20979 } # as_fn_set_status
   20980 
   20981 # as_fn_exit STATUS
   20982 # -----------------
   20983 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20984 as_fn_exit ()
   20985 {
   20986   set +e
   20987   as_fn_set_status $1
   20988   exit $1
   20989 } # as_fn_exit
   20990 
   20991 # as_fn_unset VAR
   20992 # ---------------
   20993 # Portably unset VAR.
   20994 as_fn_unset ()
   20995 {
   20996   { eval $1=; unset $1;}
   20997 }
   20998 as_unset=as_fn_unset
   20999 
   21000 # as_fn_append VAR VALUE
   21001 # ----------------------
   21002 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21003 # advantage of any shell optimizations that allow amortized linear growth over
   21004 # repeated appends, instead of the typical quadratic growth present in naive
   21005 # implementations.
   21006 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21007 then :
   21008   eval 'as_fn_append ()
   21009   {
   21010     eval $1+=\$2
   21011   }'
   21012 else case e in #(
   21013   e) as_fn_append ()
   21014   {
   21015     eval $1=\$$1\$2
   21016   } ;;
   21017 esac
   21018 fi # as_fn_append
   21019 
   21020 # as_fn_arith ARG...
   21021 # ------------------
   21022 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21024 # must be portable across $(()) and expr.
   21025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21026 then :
   21027   eval 'as_fn_arith ()
   21028   {
   21029     as_val=$(( $* ))
   21030   }'
   21031 else case e in #(
   21032   e) as_fn_arith ()
   21033   {
   21034     as_val=`expr "$@" || test $? -eq 1`
   21035   } ;;
   21036 esac
   21037 fi # as_fn_arith
   21038 
   21039 
   21040 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21041    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21042   as_expr=expr
   21043 else
   21044   as_expr=false
   21045 fi
   21046 
   21047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21048   as_basename=basename
   21049 else
   21050   as_basename=false
   21051 fi
   21052 
   21053 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21054   as_dirname=dirname
   21055 else
   21056   as_dirname=false
   21057 fi
   21058 
   21059 as_me=`$as_basename -- "$0" ||
   21060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21061 	 X"$0" : 'X\(//\)$' \| \
   21062 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21063 printf "%s\n" X/"$0" |
   21064     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21065 	    s//\1/
   21066 	    q
   21067 	  }
   21068 	  /^X\/\(\/\/\)$/{
   21069 	    s//\1/
   21070 	    q
   21071 	  }
   21072 	  /^X\/\(\/\).*/{
   21073 	    s//\1/
   21074 	    q
   21075 	  }
   21076 	  s/.*/./; q'`
   21077 
   21078 # Avoid depending upon Character Ranges.
   21079 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21080 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21081 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21082 as_cr_digits='0123456789'
   21083 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21084 
   21085 
   21086 # Determine whether it's possible to make 'echo' print without a newline.
   21087 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21088 # for compatibility with existing Makefiles.
   21089 ECHO_C= ECHO_N= ECHO_T=
   21090 case `echo -n x` in #(((((
   21091 -n*)
   21092   case `echo 'xy\c'` in
   21093   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21094   xy)  ECHO_C='\c';;
   21095   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21096        ECHO_T='	';;
   21097   esac;;
   21098 *)
   21099   ECHO_N='-n';;
   21100 esac
   21101 
   21102 # For backward compatibility with old third-party macros, we provide
   21103 # the shell variables $as_echo and $as_echo_n.  New code should use
   21104 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21105 as_echo='printf %s\n'
   21106 as_echo_n='printf %s'
   21107 
   21108 rm -f conf$$ conf$$.exe conf$$.file
   21109 if test -d conf$$.dir; then
   21110   rm -f conf$$.dir/conf$$.file
   21111 else
   21112   rm -f conf$$.dir
   21113   mkdir conf$$.dir 2>/dev/null
   21114 fi
   21115 if (echo >conf$$.file) 2>/dev/null; then
   21116   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21117     as_ln_s='ln -s'
   21118     # ... but there are two gotchas:
   21119     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21120     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21121     # In both cases, we have to default to 'cp -pR'.
   21122     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21123       as_ln_s='cp -pR'
   21124   elif ln conf$$.file conf$$ 2>/dev/null; then
   21125     as_ln_s=ln
   21126   else
   21127     as_ln_s='cp -pR'
   21128   fi
   21129 else
   21130   as_ln_s='cp -pR'
   21131 fi
   21132 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21133 rmdir conf$$.dir 2>/dev/null
   21134 
   21135 
   21136 # as_fn_mkdir_p
   21137 # -------------
   21138 # Create "$as_dir" as a directory, including parents if necessary.
   21139 as_fn_mkdir_p ()
   21140 {
   21141 
   21142   case $as_dir in #(
   21143   -*) as_dir=./$as_dir;;
   21144   esac
   21145   test -d "$as_dir" || eval $as_mkdir_p || {
   21146     as_dirs=
   21147     while :; do
   21148       case $as_dir in #(
   21149       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21150       *) as_qdir=$as_dir;;
   21151       esac
   21152       as_dirs="'$as_qdir' $as_dirs"
   21153       as_dir=`$as_dirname -- "$as_dir" ||
   21154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21155 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21156 	 X"$as_dir" : 'X\(//\)$' \| \
   21157 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21158 printf "%s\n" X"$as_dir" |
   21159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21160 	    s//\1/
   21161 	    q
   21162 	  }
   21163 	  /^X\(\/\/\)[^/].*/{
   21164 	    s//\1/
   21165 	    q
   21166 	  }
   21167 	  /^X\(\/\/\)$/{
   21168 	    s//\1/
   21169 	    q
   21170 	  }
   21171 	  /^X\(\/\).*/{
   21172 	    s//\1/
   21173 	    q
   21174 	  }
   21175 	  s/.*/./; q'`
   21176       test -d "$as_dir" && break
   21177     done
   21178     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21179   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21180 
   21181 
   21182 } # as_fn_mkdir_p
   21183 if mkdir -p . 2>/dev/null; then
   21184   as_mkdir_p='mkdir -p "$as_dir"'
   21185 else
   21186   test -d ./-p && rmdir ./-p
   21187   as_mkdir_p=false
   21188 fi
   21189 
   21190 
   21191 # as_fn_executable_p FILE
   21192 # -----------------------
   21193 # Test if FILE is an executable regular file.
   21194 as_fn_executable_p ()
   21195 {
   21196   test -f "$1" && test -x "$1"
   21197 } # as_fn_executable_p
   21198 as_test_x='test -x'
   21199 as_executable_p=as_fn_executable_p
   21200 
   21201 # Sed expression to map a string onto a valid CPP name.
   21202 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21203 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21204 
   21205 # Sed expression to map a string onto a valid variable name.
   21206 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21207 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21208 
   21209 
   21210 exec 6>&1
   21211 ## ----------------------------------- ##
   21212 ## Main body of $CONFIG_STATUS script. ##
   21213 ## ----------------------------------- ##
   21214 _ASEOF
   21215 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21216 
   21217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21218 # Save the log message, to keep $0 and so on meaningful, and to
   21219 # report actual input values of CONFIG_FILES etc. instead of their
   21220 # values after options handling.
   21221 ac_log="
   21222 This file was extended by libXinerama $as_me 1.1.6, which was
   21223 generated by GNU Autoconf 2.72.  Invocation command line was
   21224 
   21225   CONFIG_FILES    = $CONFIG_FILES
   21226   CONFIG_HEADERS  = $CONFIG_HEADERS
   21227   CONFIG_LINKS    = $CONFIG_LINKS
   21228   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21229   $ $0 $@
   21230 
   21231 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21232 "
   21233 
   21234 _ACEOF
   21235 
   21236 case $ac_config_files in *"
   21237 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21238 esac
   21239 
   21240 case $ac_config_headers in *"
   21241 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21242 esac
   21243 
   21244 
   21245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21246 # Files that config.status was made for.
   21247 config_files="$ac_config_files"
   21248 config_headers="$ac_config_headers"
   21249 config_commands="$ac_config_commands"
   21250 
   21251 _ACEOF
   21252 
   21253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21254 ac_cs_usage="\
   21255 '$as_me' instantiates files and other configuration actions
   21256 from templates according to the current configuration.  Unless the files
   21257 and actions are specified as TAGs, all are instantiated by default.
   21258 
   21259 Usage: $0 [OPTION]... [TAG]...
   21260 
   21261   -h, --help       print this help, then exit
   21262   -V, --version    print version number and configuration settings, then exit
   21263       --config     print configuration, then exit
   21264   -q, --quiet, --silent
   21265                    do not print progress messages
   21266   -d, --debug      don't remove temporary files
   21267       --recheck    update $as_me by reconfiguring in the same conditions
   21268       --file=FILE[:TEMPLATE]
   21269                    instantiate the configuration file FILE
   21270       --header=FILE[:TEMPLATE]
   21271                    instantiate the configuration header FILE
   21272 
   21273 Configuration files:
   21274 $config_files
   21275 
   21276 Configuration headers:
   21277 $config_headers
   21278 
   21279 Configuration commands:
   21280 $config_commands
   21281 
   21282 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxinerama/-/issues>."
   21283 
   21284 _ACEOF
   21285 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21286 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21288 ac_cs_config='$ac_cs_config_escaped'
   21289 ac_cs_version="\\
   21290 libXinerama config.status 1.1.6
   21291 configured by $0, generated by GNU Autoconf 2.72,
   21292   with options \\"\$ac_cs_config\\"
   21293 
   21294 Copyright (C) 2023 Free Software Foundation, Inc.
   21295 This config.status script is free software; the Free Software Foundation
   21296 gives unlimited permission to copy, distribute and modify it."
   21297 
   21298 ac_pwd='$ac_pwd'
   21299 srcdir='$srcdir'
   21300 INSTALL='$INSTALL'
   21301 MKDIR_P='$MKDIR_P'
   21302 AWK='$AWK'
   21303 test -n "\$AWK" || AWK=awk
   21304 _ACEOF
   21305 
   21306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21307 # The default lists apply if the user does not specify any file.
   21308 ac_need_defaults=:
   21309 while test $# != 0
   21310 do
   21311   case $1 in
   21312   --*=?*)
   21313     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21314     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21315     ac_shift=:
   21316     ;;
   21317   --*=)
   21318     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21319     ac_optarg=
   21320     ac_shift=:
   21321     ;;
   21322   *)
   21323     ac_option=$1
   21324     ac_optarg=$2
   21325     ac_shift=shift
   21326     ;;
   21327   esac
   21328 
   21329   case $ac_option in
   21330   # Handling of the options.
   21331   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21332     ac_cs_recheck=: ;;
   21333   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21334     printf "%s\n" "$ac_cs_version"; exit ;;
   21335   --config | --confi | --conf | --con | --co | --c )
   21336     printf "%s\n" "$ac_cs_config"; exit ;;
   21337   --debug | --debu | --deb | --de | --d | -d )
   21338     debug=: ;;
   21339   --file | --fil | --fi | --f )
   21340     $ac_shift
   21341     case $ac_optarg in
   21342     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21343     '') as_fn_error $? "missing file argument" ;;
   21344     esac
   21345     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21346     ac_need_defaults=false;;
   21347   --header | --heade | --head | --hea )
   21348     $ac_shift
   21349     case $ac_optarg in
   21350     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21351     esac
   21352     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21353     ac_need_defaults=false;;
   21354   --he | --h)
   21355     # Conflict between --help and --header
   21356     as_fn_error $? "ambiguous option: '$1'
   21357 Try '$0 --help' for more information.";;
   21358   --help | --hel | -h )
   21359     printf "%s\n" "$ac_cs_usage"; exit ;;
   21360   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21361   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21362     ac_cs_silent=: ;;
   21363 
   21364   # This is an error.
   21365   -*) as_fn_error $? "unrecognized option: '$1'
   21366 Try '$0 --help' for more information." ;;
   21367 
   21368   *) as_fn_append ac_config_targets " $1"
   21369      ac_need_defaults=false ;;
   21370 
   21371   esac
   21372   shift
   21373 done
   21374 
   21375 ac_configure_extra_args=
   21376 
   21377 if $ac_cs_silent; then
   21378   exec 6>/dev/null
   21379   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21380 fi
   21381 
   21382 _ACEOF
   21383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21384 if \$ac_cs_recheck; then
   21385   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21386   shift
   21387   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21388   CONFIG_SHELL='$SHELL'
   21389   export CONFIG_SHELL
   21390   exec "\$@"
   21391 fi
   21392 
   21393 _ACEOF
   21394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21395 exec 5>>config.log
   21396 {
   21397   echo
   21398   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21399 ## Running $as_me. ##
   21400 _ASBOX
   21401   printf "%s\n" "$ac_log"
   21402 } >&5
   21403 
   21404 _ACEOF
   21405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21406 #
   21407 # INIT-COMMANDS
   21408 #
   21409 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21410 
   21411 
   21412 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21413 # if CDPATH is set.
   21414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21415 
   21416 sed_quote_subst='$sed_quote_subst'
   21417 double_quote_subst='$double_quote_subst'
   21418 delay_variable_subst='$delay_variable_subst'
   21419 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21420 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21421 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21422 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21423 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21424 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21425 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21426 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21427 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21428 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21429 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21430 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21431 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21432 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21433 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21434 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21435 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21436 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21437 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21438 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21439 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21440 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21441 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21442 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21443 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21444 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21445 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21446 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21447 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21448 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21449 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21450 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21451 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21452 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21453 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21454 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21455 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21456 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21457 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21458 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21459 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21460 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21461 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21462 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21463 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21464 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21465 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21466 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21467 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21468 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21469 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21470 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21471 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21472 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21473 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21474 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21475 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21476 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21477 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21478 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21479 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"`'
   21480 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21481 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21482 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21483 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21484 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21485 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21486 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21487 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21488 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21489 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21490 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21491 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21492 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21493 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21494 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21495 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21496 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21497 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21498 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21499 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21500 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21501 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21502 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21503 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21504 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21505 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21506 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21507 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21508 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21509 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21510 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21511 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21512 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21513 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21514 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21515 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21516 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21517 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21518 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21519 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21520 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21521 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21522 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21523 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21524 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21525 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21526 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21527 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21528 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21529 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21530 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21531 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21532 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21533 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21534 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21535 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21536 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21537 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21538 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21539 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21540 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21541 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21542 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21543 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21544 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21545 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21546 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21547 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21548 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21549 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21550 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21551 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21552 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21553 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21554 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21555 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21556 
   21557 LTCC='$LTCC'
   21558 LTCFLAGS='$LTCFLAGS'
   21559 compiler='$compiler_DEFAULT'
   21560 
   21561 # A function that is used when there is no print builtin or printf.
   21562 func_fallback_echo ()
   21563 {
   21564   eval 'cat <<_LTECHO_EOF
   21565 \$1
   21566 _LTECHO_EOF'
   21567 }
   21568 
   21569 # Quote evaled strings.
   21570 for var in SHELL \
   21571 ECHO \
   21572 PATH_SEPARATOR \
   21573 SED \
   21574 GREP \
   21575 EGREP \
   21576 FGREP \
   21577 LD \
   21578 NM \
   21579 LN_S \
   21580 lt_SP2NL \
   21581 lt_NL2SP \
   21582 reload_flag \
   21583 FILECMD \
   21584 OBJDUMP \
   21585 deplibs_check_method \
   21586 file_magic_cmd \
   21587 file_magic_glob \
   21588 want_nocaseglob \
   21589 DLLTOOL \
   21590 sharedlib_from_linklib_cmd \
   21591 AR \
   21592 archiver_list_spec \
   21593 STRIP \
   21594 RANLIB \
   21595 CC \
   21596 CFLAGS \
   21597 compiler \
   21598 lt_cv_sys_global_symbol_pipe \
   21599 lt_cv_sys_global_symbol_to_cdecl \
   21600 lt_cv_sys_global_symbol_to_import \
   21601 lt_cv_sys_global_symbol_to_c_name_address \
   21602 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21603 lt_cv_nm_interface \
   21604 nm_file_list_spec \
   21605 lt_cv_truncate_bin \
   21606 lt_prog_compiler_no_builtin_flag \
   21607 lt_prog_compiler_pic \
   21608 lt_prog_compiler_wl \
   21609 lt_prog_compiler_static \
   21610 lt_cv_prog_compiler_c_o \
   21611 need_locks \
   21612 MANIFEST_TOOL \
   21613 DSYMUTIL \
   21614 NMEDIT \
   21615 LIPO \
   21616 OTOOL \
   21617 OTOOL64 \
   21618 shrext_cmds \
   21619 export_dynamic_flag_spec \
   21620 whole_archive_flag_spec \
   21621 compiler_needs_object \
   21622 with_gnu_ld \
   21623 allow_undefined_flag \
   21624 no_undefined_flag \
   21625 hardcode_libdir_flag_spec \
   21626 hardcode_libdir_separator \
   21627 exclude_expsyms \
   21628 include_expsyms \
   21629 file_list_spec \
   21630 variables_saved_for_relink \
   21631 libname_spec \
   21632 library_names_spec \
   21633 soname_spec \
   21634 install_override_mode \
   21635 finish_eval \
   21636 old_striplib \
   21637 striplib; do
   21638     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21639     *[\\\\\\\`\\"\\\$]*)
   21640       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21641       ;;
   21642     *)
   21643       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21644       ;;
   21645     esac
   21646 done
   21647 
   21648 # Double-quote double-evaled strings.
   21649 for var in reload_cmds \
   21650 old_postinstall_cmds \
   21651 old_postuninstall_cmds \
   21652 old_archive_cmds \
   21653 extract_expsyms_cmds \
   21654 old_archive_from_new_cmds \
   21655 old_archive_from_expsyms_cmds \
   21656 archive_cmds \
   21657 archive_expsym_cmds \
   21658 module_cmds \
   21659 module_expsym_cmds \
   21660 export_symbols_cmds \
   21661 prelink_cmds \
   21662 postlink_cmds \
   21663 postinstall_cmds \
   21664 postuninstall_cmds \
   21665 finish_cmds \
   21666 sys_lib_search_path_spec \
   21667 configure_time_dlsearch_path \
   21668 configure_time_lt_sys_library_path; do
   21669     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21670     *[\\\\\\\`\\"\\\$]*)
   21671       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21672       ;;
   21673     *)
   21674       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21675       ;;
   21676     esac
   21677 done
   21678 
   21679 ac_aux_dir='$ac_aux_dir'
   21680 
   21681 # See if we are running on zsh, and set the options that allow our
   21682 # commands through without removal of \ escapes INIT.
   21683 if test -n "\${ZSH_VERSION+set}"; then
   21684    setopt NO_GLOB_SUBST
   21685 fi
   21686 
   21687 
   21688     PACKAGE='$PACKAGE'
   21689     VERSION='$VERSION'
   21690     RM='$RM'
   21691     ofile='$ofile'
   21692 
   21693 
   21694 
   21695 
   21696 _ACEOF
   21697 
   21698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21699 
   21700 # Handling of arguments.
   21701 for ac_config_target in $ac_config_targets
   21702 do
   21703   case $ac_config_target in
   21704     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21705     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21706     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21707     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21708     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21709     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21710     "xinerama.pc") CONFIG_FILES="$CONFIG_FILES xinerama.pc" ;;
   21711 
   21712   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21713   esac
   21714 done
   21715 
   21716 
   21717 # If the user did not use the arguments to specify the items to instantiate,
   21718 # then the envvar interface is used.  Set only those that are not.
   21719 # We use the long form for the default assignment because of an extremely
   21720 # bizarre bug on SunOS 4.1.3.
   21721 if $ac_need_defaults; then
   21722   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21723   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21724   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21725 fi
   21726 
   21727 # Have a temporary directory for convenience.  Make it in the build tree
   21728 # simply because there is no reason against having it here, and in addition,
   21729 # creating and moving files from /tmp can sometimes cause problems.
   21730 # Hook for its removal unless debugging.
   21731 # Note that there is a small window in which the directory will not be cleaned:
   21732 # after its creation but before its name has been assigned to '$tmp'.
   21733 $debug ||
   21734 {
   21735   tmp= ac_tmp=
   21736   trap 'exit_status=$?
   21737   : "${ac_tmp:=$tmp}"
   21738   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21739 ' 0
   21740   trap 'as_fn_exit 1' 1 2 13 15
   21741 }
   21742 # Create a (secure) tmp directory for tmp files.
   21743 
   21744 {
   21745   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21746   test -d "$tmp"
   21747 }  ||
   21748 {
   21749   tmp=./conf$$-$RANDOM
   21750   (umask 077 && mkdir "$tmp")
   21751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21752 ac_tmp=$tmp
   21753 
   21754 # Set up the scripts for CONFIG_FILES section.
   21755 # No need to generate them if there are no CONFIG_FILES.
   21756 # This happens for instance with './config.status config.h'.
   21757 if test -n "$CONFIG_FILES"; then
   21758 
   21759 
   21760 ac_cr=`echo X | tr X '\015'`
   21761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21762 # But we know of no other shell where ac_cr would be empty at this
   21763 # point, so we can use a bashism as a fallback.
   21764 if test "x$ac_cr" = x; then
   21765   eval ac_cr=\$\'\\r\'
   21766 fi
   21767 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21769   ac_cs_awk_cr='\\r'
   21770 else
   21771   ac_cs_awk_cr=$ac_cr
   21772 fi
   21773 
   21774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21775 _ACEOF
   21776 
   21777 
   21778 {
   21779   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21780   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21781   echo "_ACEOF"
   21782 } >conf$$subs.sh ||
   21783   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21785 ac_delim='%!_!# '
   21786 for ac_last_try in false false false false false :; do
   21787   . ./conf$$subs.sh ||
   21788     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21789 
   21790   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21791   if test $ac_delim_n = $ac_delim_num; then
   21792     break
   21793   elif $ac_last_try; then
   21794     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21795   else
   21796     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21797   fi
   21798 done
   21799 rm -f conf$$subs.sh
   21800 
   21801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21802 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21803 _ACEOF
   21804 sed -n '
   21805 h
   21806 s/^/S["/; s/!.*/"]=/
   21807 p
   21808 g
   21809 s/^[^!]*!//
   21810 :repl
   21811 t repl
   21812 s/'"$ac_delim"'$//
   21813 t delim
   21814 :nl
   21815 h
   21816 s/\(.\{148\}\)..*/\1/
   21817 t more1
   21818 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21819 p
   21820 n
   21821 b repl
   21822 :more1
   21823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21824 p
   21825 g
   21826 s/.\{148\}//
   21827 t nl
   21828 :delim
   21829 h
   21830 s/\(.\{148\}\)..*/\1/
   21831 t more2
   21832 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21833 p
   21834 b
   21835 :more2
   21836 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21837 p
   21838 g
   21839 s/.\{148\}//
   21840 t delim
   21841 ' <conf$$subs.awk | sed '
   21842 /^[^""]/{
   21843   N
   21844   s/\n//
   21845 }
   21846 ' >>$CONFIG_STATUS || ac_write_fail=1
   21847 rm -f conf$$subs.awk
   21848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21849 _ACAWK
   21850 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21851   for (key in S) S_is_set[key] = 1
   21852   FS = ""
   21853 
   21854 }
   21855 {
   21856   line = $ 0
   21857   nfields = split(line, field, "@")
   21858   substed = 0
   21859   len = length(field[1])
   21860   for (i = 2; i < nfields; i++) {
   21861     key = field[i]
   21862     keylen = length(key)
   21863     if (S_is_set[key]) {
   21864       value = S[key]
   21865       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21866       len += length(value) + length(field[++i])
   21867       substed = 1
   21868     } else
   21869       len += 1 + keylen
   21870   }
   21871 
   21872   print line
   21873 }
   21874 
   21875 _ACAWK
   21876 _ACEOF
   21877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21878 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21879   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21880 else
   21881   cat
   21882 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21883   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21884 _ACEOF
   21885 
   21886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21888 # trailing colons and then remove the whole line if VPATH becomes empty
   21889 # (actually we leave an empty line to preserve line numbers).
   21890 if test "x$srcdir" = x.; then
   21891   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21892 h
   21893 s///
   21894 s/^/:/
   21895 s/[	 ]*$/:/
   21896 s/:\$(srcdir):/:/g
   21897 s/:\${srcdir}:/:/g
   21898 s/:@srcdir@:/:/g
   21899 s/^:*//
   21900 s/:*$//
   21901 x
   21902 s/\(=[	 ]*\).*/\1/
   21903 G
   21904 s/\n//
   21905 s/^[^=]*=[	 ]*$//
   21906 }'
   21907 fi
   21908 
   21909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21910 fi # test -n "$CONFIG_FILES"
   21911 
   21912 # Set up the scripts for CONFIG_HEADERS section.
   21913 # No need to generate them if there are no CONFIG_HEADERS.
   21914 # This happens for instance with './config.status Makefile'.
   21915 if test -n "$CONFIG_HEADERS"; then
   21916 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21917 BEGIN {
   21918 _ACEOF
   21919 
   21920 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21921 # here-document in config.status, that substitutes the proper values into
   21922 # config.h.in to produce config.h.
   21923 
   21924 # Create a delimiter string that does not exist in confdefs.h, to ease
   21925 # handling of long lines.
   21926 ac_delim='%!_!# '
   21927 for ac_last_try in false false :; do
   21928   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21929   if test -z "$ac_tt"; then
   21930     break
   21931   elif $ac_last_try; then
   21932     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21933   else
   21934     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21935   fi
   21936 done
   21937 
   21938 # For the awk script, D is an array of macro values keyed by name,
   21939 # likewise P contains macro parameters if any.  Preserve backslash
   21940 # newline sequences.
   21941 
   21942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21943 sed -n '
   21944 s/.\{148\}/&'"$ac_delim"'/g
   21945 t rset
   21946 :rset
   21947 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21948 t def
   21949 d
   21950 :def
   21951 s/\\$//
   21952 t bsnl
   21953 s/["\\]/\\&/g
   21954 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21955 D["\1"]=" \3"/p
   21956 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21957 d
   21958 :bsnl
   21959 s/["\\]/\\&/g
   21960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21961 D["\1"]=" \3\\\\\\n"\\/p
   21962 t cont
   21963 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21964 t cont
   21965 d
   21966 :cont
   21967 n
   21968 s/.\{148\}/&'"$ac_delim"'/g
   21969 t clear
   21970 :clear
   21971 s/\\$//
   21972 t bsnlc
   21973 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21974 d
   21975 :bsnlc
   21976 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21977 b cont
   21978 ' <confdefs.h | sed '
   21979 s/'"$ac_delim"'/"\\\
   21980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21981 
   21982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21983   for (key in D) D_is_set[key] = 1
   21984   FS = ""
   21985 }
   21986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21987   line = \$ 0
   21988   split(line, arg, " ")
   21989   if (arg[1] == "#") {
   21990     defundef = arg[2]
   21991     mac1 = arg[3]
   21992   } else {
   21993     defundef = substr(arg[1], 2)
   21994     mac1 = arg[2]
   21995   }
   21996   split(mac1, mac2, "(") #)
   21997   macro = mac2[1]
   21998   prefix = substr(line, 1, index(line, defundef) - 1)
   21999   if (D_is_set[macro]) {
   22000     # Preserve the white space surrounding the "#".
   22001     print prefix "define", macro P[macro] D[macro]
   22002     next
   22003   } else {
   22004     # Replace #undef with comments.  This is necessary, for example,
   22005     # in the case of _POSIX_SOURCE, which is predefined and required
   22006     # on some systems where configure will not decide to define it.
   22007     if (defundef == "undef") {
   22008       print "/*", prefix defundef, macro, "*/"
   22009       next
   22010     }
   22011   }
   22012 }
   22013 { print }
   22014 _ACAWK
   22015 _ACEOF
   22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22017   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22018 fi # test -n "$CONFIG_HEADERS"
   22019 
   22020 
   22021 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22022 shift
   22023 for ac_tag
   22024 do
   22025   case $ac_tag in
   22026   :[FHLC]) ac_mode=$ac_tag; continue;;
   22027   esac
   22028   case $ac_mode$ac_tag in
   22029   :[FHL]*:*);;
   22030   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22031   :[FH]-) ac_tag=-:-;;
   22032   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22033   esac
   22034   ac_save_IFS=$IFS
   22035   IFS=:
   22036   set x $ac_tag
   22037   IFS=$ac_save_IFS
   22038   shift
   22039   ac_file=$1
   22040   shift
   22041 
   22042   case $ac_mode in
   22043   :L) ac_source=$1;;
   22044   :[FH])
   22045     ac_file_inputs=
   22046     for ac_f
   22047     do
   22048       case $ac_f in
   22049       -) ac_f="$ac_tmp/stdin";;
   22050       *) # Look for the file first in the build tree, then in the source tree
   22051 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22052 	 # because $ac_f cannot contain ':'.
   22053 	 test -f "$ac_f" ||
   22054 	   case $ac_f in
   22055 	   [\\/$]*) false;;
   22056 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22057 	   esac ||
   22058 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22059       esac
   22060       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22061       as_fn_append ac_file_inputs " '$ac_f'"
   22062     done
   22063 
   22064     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22065     # use $as_me), people would be surprised to read:
   22066     #    /* config.h.  Generated by config.status.  */
   22067     configure_input='Generated from '`
   22068 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22069 	`' by configure.'
   22070     if test x"$ac_file" != x-; then
   22071       configure_input="$ac_file.  $configure_input"
   22072       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22073 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22074     fi
   22075     # Neutralize special characters interpreted by sed in replacement strings.
   22076     case $configure_input in #(
   22077     *\&* | *\|* | *\\* )
   22078        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22079        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22080     *) ac_sed_conf_input=$configure_input;;
   22081     esac
   22082 
   22083     case $ac_tag in
   22084     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22085       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22086     esac
   22087     ;;
   22088   esac
   22089 
   22090   ac_dir=`$as_dirname -- "$ac_file" ||
   22091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22092 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22093 	 X"$ac_file" : 'X\(//\)$' \| \
   22094 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22095 printf "%s\n" X"$ac_file" |
   22096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22097 	    s//\1/
   22098 	    q
   22099 	  }
   22100 	  /^X\(\/\/\)[^/].*/{
   22101 	    s//\1/
   22102 	    q
   22103 	  }
   22104 	  /^X\(\/\/\)$/{
   22105 	    s//\1/
   22106 	    q
   22107 	  }
   22108 	  /^X\(\/\).*/{
   22109 	    s//\1/
   22110 	    q
   22111 	  }
   22112 	  s/.*/./; q'`
   22113   as_dir="$ac_dir"; as_fn_mkdir_p
   22114   ac_builddir=.
   22115 
   22116 case "$ac_dir" in
   22117 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22118 *)
   22119   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22120   # A ".." for each directory in $ac_dir_suffix.
   22121   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22122   case $ac_top_builddir_sub in
   22123   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22124   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22125   esac ;;
   22126 esac
   22127 ac_abs_top_builddir=$ac_pwd
   22128 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22129 # for backward compatibility:
   22130 ac_top_builddir=$ac_top_build_prefix
   22131 
   22132 case $srcdir in
   22133   .)  # We are building in place.
   22134     ac_srcdir=.
   22135     ac_top_srcdir=$ac_top_builddir_sub
   22136     ac_abs_top_srcdir=$ac_pwd ;;
   22137   [\\/]* | ?:[\\/]* )  # Absolute name.
   22138     ac_srcdir=$srcdir$ac_dir_suffix;
   22139     ac_top_srcdir=$srcdir
   22140     ac_abs_top_srcdir=$srcdir ;;
   22141   *) # Relative name.
   22142     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22143     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22144     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22145 esac
   22146 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22147 
   22148 
   22149   case $ac_mode in
   22150   :F)
   22151   #
   22152   # CONFIG_FILE
   22153   #
   22154 
   22155   case $INSTALL in
   22156   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22157   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22158   esac
   22159   ac_MKDIR_P=$MKDIR_P
   22160   case $MKDIR_P in
   22161   [\\/$]* | ?:[\\/]* ) ;;
   22162   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22163   esac
   22164 _ACEOF
   22165 
   22166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22167 # If the template does not know about datarootdir, expand it.
   22168 # FIXME: This hack should be removed a few years after 2.60.
   22169 ac_datarootdir_hack=; ac_datarootdir_seen=
   22170 ac_sed_dataroot='
   22171 /datarootdir/ {
   22172   p
   22173   q
   22174 }
   22175 /@datadir@/p
   22176 /@docdir@/p
   22177 /@infodir@/p
   22178 /@localedir@/p
   22179 /@mandir@/p'
   22180 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22181 *datarootdir*) ac_datarootdir_seen=yes;;
   22182 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22184 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22185 _ACEOF
   22186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22187   ac_datarootdir_hack='
   22188   s&@datadir@&$datadir&g
   22189   s&@docdir@&$docdir&g
   22190   s&@infodir@&$infodir&g
   22191   s&@localedir@&$localedir&g
   22192   s&@mandir@&$mandir&g
   22193   s&\\\${datarootdir}&$datarootdir&g' ;;
   22194 esac
   22195 _ACEOF
   22196 
   22197 # Neutralize VPATH when '$srcdir' = '.'.
   22198 # Shell code in configure.ac might set extrasub.
   22199 # FIXME: do we really want to maintain this feature?
   22200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22201 ac_sed_extra="$ac_vpsub
   22202 $extrasub
   22203 _ACEOF
   22204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22205 :t
   22206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22207 s|@configure_input@|$ac_sed_conf_input|;t t
   22208 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22209 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22210 s&@srcdir@&$ac_srcdir&;t t
   22211 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22212 s&@top_srcdir@&$ac_top_srcdir&;t t
   22213 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22214 s&@builddir@&$ac_builddir&;t t
   22215 s&@abs_builddir@&$ac_abs_builddir&;t t
   22216 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22217 s&@INSTALL@&$ac_INSTALL&;t t
   22218 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22219 $ac_datarootdir_hack
   22220 "
   22221 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22222   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22223 
   22224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22225   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22226   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22227       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22229 which seems to be undefined.  Please make sure it is defined" >&5
   22230 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22231 which seems to be undefined.  Please make sure it is defined" >&2;}
   22232 
   22233   rm -f "$ac_tmp/stdin"
   22234   case $ac_file in
   22235   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22236   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22237   esac \
   22238   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22239  ;;
   22240   :H)
   22241   #
   22242   # CONFIG_HEADER
   22243   #
   22244   if test x"$ac_file" != x-; then
   22245     {
   22246       printf "%s\n" "/* $configure_input  */" >&1 \
   22247       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22248     } >"$ac_tmp/config.h" \
   22249       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22250     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22251       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22252 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22253     else
   22254       rm -f "$ac_file"
   22255       mv "$ac_tmp/config.h" "$ac_file" \
   22256 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22257     fi
   22258   else
   22259     printf "%s\n" "/* $configure_input  */" >&1 \
   22260       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22261       || as_fn_error $? "could not create -" "$LINENO" 5
   22262   fi
   22263 # Compute "$ac_file"'s index in $config_headers.
   22264 _am_arg="$ac_file"
   22265 _am_stamp_count=1
   22266 for _am_header in $config_headers :; do
   22267   case $_am_header in
   22268     $_am_arg | $_am_arg:* )
   22269       break ;;
   22270     * )
   22271       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22272   esac
   22273 done
   22274 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22275 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22276 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22277 	 X"$_am_arg" : 'X\(//\)$' \| \
   22278 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22279 printf "%s\n" X"$_am_arg" |
   22280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22281 	    s//\1/
   22282 	    q
   22283 	  }
   22284 	  /^X\(\/\/\)[^/].*/{
   22285 	    s//\1/
   22286 	    q
   22287 	  }
   22288 	  /^X\(\/\/\)$/{
   22289 	    s//\1/
   22290 	    q
   22291 	  }
   22292 	  /^X\(\/\).*/{
   22293 	    s//\1/
   22294 	    q
   22295 	  }
   22296 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22297  ;;
   22298 
   22299   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22300 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22301  ;;
   22302   esac
   22303 
   22304 
   22305   case $ac_file$ac_mode in
   22306     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22307   # Older Autoconf quotes --file arguments for eval, but not when files
   22308   # are listed without --file.  Let's play safe and only enable the eval
   22309   # if we detect the quoting.
   22310   # TODO: see whether this extra hack can be removed once we start
   22311   # requiring Autoconf 2.70 or later.
   22312   case $CONFIG_FILES in #(
   22313   *\'*) :
   22314     eval set x "$CONFIG_FILES" ;; #(
   22315   *) :
   22316     set x $CONFIG_FILES ;; #(
   22317   *) :
   22318      ;;
   22319 esac
   22320   shift
   22321   # Used to flag and report bootstrapping failures.
   22322   am_rc=0
   22323   for am_mf
   22324   do
   22325     # Strip MF so we end up with the name of the file.
   22326     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22327     # Check whether this is an Automake generated Makefile which includes
   22328     # dependency-tracking related rules and includes.
   22329     # Grep'ing the whole file directly is not great: AIX grep has a line
   22330     # limit of 2048, but all sed's we know have understand at least 4000.
   22331     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22332       || continue
   22333     am_dirpart=`$as_dirname -- "$am_mf" ||
   22334 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22335 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22336 	 X"$am_mf" : 'X\(//\)$' \| \
   22337 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22338 printf "%s\n" X"$am_mf" |
   22339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22340 	    s//\1/
   22341 	    q
   22342 	  }
   22343 	  /^X\(\/\/\)[^/].*/{
   22344 	    s//\1/
   22345 	    q
   22346 	  }
   22347 	  /^X\(\/\/\)$/{
   22348 	    s//\1/
   22349 	    q
   22350 	  }
   22351 	  /^X\(\/\).*/{
   22352 	    s//\1/
   22353 	    q
   22354 	  }
   22355 	  s/.*/./; q'`
   22356     am_filepart=`$as_basename -- "$am_mf" ||
   22357 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22358 	 X"$am_mf" : 'X\(//\)$' \| \
   22359 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22360 printf "%s\n" X/"$am_mf" |
   22361     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22362 	    s//\1/
   22363 	    q
   22364 	  }
   22365 	  /^X\/\(\/\/\)$/{
   22366 	    s//\1/
   22367 	    q
   22368 	  }
   22369 	  /^X\/\(\/\).*/{
   22370 	    s//\1/
   22371 	    q
   22372 	  }
   22373 	  s/.*/./; q'`
   22374     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22375       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22376         | $MAKE -f - am--depfiles" >&5
   22377    (cd "$am_dirpart" \
   22378       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22379         | $MAKE -f - am--depfiles) >&5 2>&5
   22380    ac_status=$?
   22381    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22382    (exit $ac_status); } || am_rc=$?
   22383   done
   22384   if test $am_rc -ne 0; then
   22385     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22386 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22387 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22388     for automatic dependency tracking.  If GNU make was not used, consider
   22389     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22390     necessary).  You can also try re-running configure with the
   22391     '--disable-dependency-tracking' option to at least be able to build
   22392     the package (albeit without support for automatic dependency tracking).
   22393 See 'config.log' for more details" "$LINENO" 5; }
   22394   fi
   22395   { am_dirpart=; unset am_dirpart;}
   22396   { am_filepart=; unset am_filepart;}
   22397   { am_mf=; unset am_mf;}
   22398   { am_rc=; unset am_rc;}
   22399   rm -f conftest-deps.mk
   22400 }
   22401  ;;
   22402     "libtool":C)
   22403 
   22404     # See if we are running on zsh, and set the options that allow our
   22405     # commands through without removal of \ escapes.
   22406     if test -n "${ZSH_VERSION+set}"; then
   22407       setopt NO_GLOB_SUBST
   22408     fi
   22409 
   22410     cfgfile=${ofile}T
   22411     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22412     $RM "$cfgfile"
   22413 
   22414     cat <<_LT_EOF >> "$cfgfile"
   22415 #! $SHELL
   22416 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22417 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22418 
   22419 # Provide generalized library-building support services.
   22420 # Written by Gordon Matzigkeit, 1996
   22421 
   22422 # Copyright (C) 2024 Free Software Foundation, Inc.
   22423 # This is free software; see the source for copying conditions.  There is NO
   22424 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22425 
   22426 # GNU Libtool is free software; you can redistribute it and/or modify
   22427 # it under the terms of the GNU General Public License as published by
   22428 # the Free Software Foundation; either version 2 of the License, or
   22429 # (at your option) any later version.
   22430 #
   22431 # As a special exception to the GNU General Public License, if you
   22432 # distribute this file as part of a program or library that is built
   22433 # using GNU Libtool, you may include this file under the  same
   22434 # distribution terms that you use for the rest of that program.
   22435 #
   22436 # GNU Libtool is distributed in the hope that it will be useful, but
   22437 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22438 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22439 # GNU General Public License for more details.
   22440 #
   22441 # You should have received a copy of the GNU General Public License
   22442 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22443 
   22444 
   22445 # The names of the tagged configurations supported by this script.
   22446 available_tags=''
   22447 
   22448 # Configured defaults for sys_lib_dlsearch_path munging.
   22449 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22450 
   22451 # ### BEGIN LIBTOOL CONFIG
   22452 
   22453 # Which release of libtool.m4 was used?
   22454 macro_version=$macro_version
   22455 macro_revision=$macro_revision
   22456 
   22457 # Whether or not to build shared libraries.
   22458 build_libtool_libs=$enable_shared
   22459 
   22460 # Whether or not to build static libraries.
   22461 build_old_libs=$enable_static
   22462 
   22463 # What type of objects to build.
   22464 pic_mode=$pic_mode
   22465 
   22466 # Whether or not to optimize for fast installation.
   22467 fast_install=$enable_fast_install
   22468 
   22469 # Shared archive member basename,for filename based shared library versioning on AIX.
   22470 shared_archive_member_spec=$shared_archive_member_spec
   22471 
   22472 # Shell to use when invoking shell scripts.
   22473 SHELL=$lt_SHELL
   22474 
   22475 # An echo program that protects backslashes.
   22476 ECHO=$lt_ECHO
   22477 
   22478 # The PATH separator for the build system.
   22479 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22480 
   22481 # The host system.
   22482 host_alias=$host_alias
   22483 host=$host
   22484 host_os=$host_os
   22485 
   22486 # The build system.
   22487 build_alias=$build_alias
   22488 build=$build
   22489 build_os=$build_os
   22490 
   22491 # A sed program that does not truncate output.
   22492 SED=$lt_SED
   22493 
   22494 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22495 Xsed="\$SED -e 1s/^X//"
   22496 
   22497 # A grep program that handles long lines.
   22498 GREP=$lt_GREP
   22499 
   22500 # An ERE matcher.
   22501 EGREP=$lt_EGREP
   22502 
   22503 # A literal string matcher.
   22504 FGREP=$lt_FGREP
   22505 
   22506 # A BSD- or MS-compatible name lister.
   22507 NM=$lt_NM
   22508 
   22509 # Whether we need soft or hard links.
   22510 LN_S=$lt_LN_S
   22511 
   22512 # What is the maximum length of a command?
   22513 max_cmd_len=$max_cmd_len
   22514 
   22515 # Object file suffix (normally "o").
   22516 objext=$ac_objext
   22517 
   22518 # Executable file suffix (normally "").
   22519 exeext=$exeext
   22520 
   22521 # whether the shell understands "unset".
   22522 lt_unset=$lt_unset
   22523 
   22524 # turn spaces into newlines.
   22525 SP2NL=$lt_lt_SP2NL
   22526 
   22527 # turn newlines into spaces.
   22528 NL2SP=$lt_lt_NL2SP
   22529 
   22530 # convert \$build file names to \$host format.
   22531 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22532 
   22533 # convert \$build files to toolchain format.
   22534 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22535 
   22536 # A file(cmd) program that detects file types.
   22537 FILECMD=$lt_FILECMD
   22538 
   22539 # An object symbol dumper.
   22540 OBJDUMP=$lt_OBJDUMP
   22541 
   22542 # Method to check whether dependent libraries are shared objects.
   22543 deplibs_check_method=$lt_deplibs_check_method
   22544 
   22545 # Command to use when deplibs_check_method = "file_magic".
   22546 file_magic_cmd=$lt_file_magic_cmd
   22547 
   22548 # How to find potential files when deplibs_check_method = "file_magic".
   22549 file_magic_glob=$lt_file_magic_glob
   22550 
   22551 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22552 want_nocaseglob=$lt_want_nocaseglob
   22553 
   22554 # DLL creation program.
   22555 DLLTOOL=$lt_DLLTOOL
   22556 
   22557 # Command to associate shared and link libraries.
   22558 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22559 
   22560 # The archiver.
   22561 AR=$lt_AR
   22562 
   22563 # Flags to create an archive (by configure).
   22564 lt_ar_flags=$lt_ar_flags
   22565 
   22566 # Flags to create an archive.
   22567 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22568 
   22569 # How to feed a file listing to the archiver.
   22570 archiver_list_spec=$lt_archiver_list_spec
   22571 
   22572 # A symbol stripping program.
   22573 STRIP=$lt_STRIP
   22574 
   22575 # Commands used to install an old-style archive.
   22576 RANLIB=$lt_RANLIB
   22577 old_postinstall_cmds=$lt_old_postinstall_cmds
   22578 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22579 
   22580 # Whether to use a lock for old archive extraction.
   22581 lock_old_archive_extraction=$lock_old_archive_extraction
   22582 
   22583 # A C compiler.
   22584 LTCC=$lt_CC
   22585 
   22586 # LTCC compiler flags.
   22587 LTCFLAGS=$lt_CFLAGS
   22588 
   22589 # Take the output of nm and produce a listing of raw symbols and C names.
   22590 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22591 
   22592 # Transform the output of nm in a proper C declaration.
   22593 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22594 
   22595 # Transform the output of nm into a list of symbols to manually relocate.
   22596 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22597 
   22598 # Transform the output of nm in a C name address pair.
   22599 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22600 
   22601 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22602 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22603 
   22604 # The name lister interface.
   22605 nm_interface=$lt_lt_cv_nm_interface
   22606 
   22607 # Specify filename containing input files for \$NM.
   22608 nm_file_list_spec=$lt_nm_file_list_spec
   22609 
   22610 # The root where to search for dependent libraries,and where our libraries should be installed.
   22611 lt_sysroot=$lt_sysroot
   22612 
   22613 # Command to truncate a binary pipe.
   22614 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22615 
   22616 # The name of the directory that contains temporary libtool files.
   22617 objdir=$objdir
   22618 
   22619 # Used to examine libraries when file_magic_cmd begins with "file".
   22620 MAGIC_CMD=$MAGIC_CMD
   22621 
   22622 # Must we lock files when doing compilation?
   22623 need_locks=$lt_need_locks
   22624 
   22625 # Manifest tool.
   22626 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22627 
   22628 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22629 DSYMUTIL=$lt_DSYMUTIL
   22630 
   22631 # Tool to change global to local symbols on Mac OS X.
   22632 NMEDIT=$lt_NMEDIT
   22633 
   22634 # Tool to manipulate fat objects and archives on Mac OS X.
   22635 LIPO=$lt_LIPO
   22636 
   22637 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22638 OTOOL=$lt_OTOOL
   22639 
   22640 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22641 OTOOL64=$lt_OTOOL64
   22642 
   22643 # Old archive suffix (normally "a").
   22644 libext=$libext
   22645 
   22646 # Shared library suffix (normally ".so").
   22647 shrext_cmds=$lt_shrext_cmds
   22648 
   22649 # The commands to extract the exported symbol list from a shared archive.
   22650 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22651 
   22652 # Variables whose values should be saved in libtool wrapper scripts and
   22653 # restored at link time.
   22654 variables_saved_for_relink=$lt_variables_saved_for_relink
   22655 
   22656 # Do we need the "lib" prefix for modules?
   22657 need_lib_prefix=$need_lib_prefix
   22658 
   22659 # Do we need a version for libraries?
   22660 need_version=$need_version
   22661 
   22662 # Library versioning type.
   22663 version_type=$version_type
   22664 
   22665 # Shared library runtime path variable.
   22666 runpath_var=$runpath_var
   22667 
   22668 # Shared library path variable.
   22669 shlibpath_var=$shlibpath_var
   22670 
   22671 # Is shlibpath searched before the hard-coded library search path?
   22672 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22673 
   22674 # Format of library name prefix.
   22675 libname_spec=$lt_libname_spec
   22676 
   22677 # List of archive names.  First name is the real one, the rest are links.
   22678 # The last name is the one that the linker finds with -lNAME
   22679 library_names_spec=$lt_library_names_spec
   22680 
   22681 # The coded name of the library, if different from the real name.
   22682 soname_spec=$lt_soname_spec
   22683 
   22684 # Permission mode override for installation of shared libraries.
   22685 install_override_mode=$lt_install_override_mode
   22686 
   22687 # Command to use after installation of a shared archive.
   22688 postinstall_cmds=$lt_postinstall_cmds
   22689 
   22690 # Command to use after uninstallation of a shared archive.
   22691 postuninstall_cmds=$lt_postuninstall_cmds
   22692 
   22693 # Commands used to finish a libtool library installation in a directory.
   22694 finish_cmds=$lt_finish_cmds
   22695 
   22696 # As "finish_cmds", except a single script fragment to be evaled but
   22697 # not shown.
   22698 finish_eval=$lt_finish_eval
   22699 
   22700 # Whether we should hardcode library paths into libraries.
   22701 hardcode_into_libs=$hardcode_into_libs
   22702 
   22703 # Compile-time system search path for libraries.
   22704 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22705 
   22706 # Detected run-time system search path for libraries.
   22707 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22708 
   22709 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22710 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22711 
   22712 # Whether dlopen is supported.
   22713 dlopen_support=$enable_dlopen
   22714 
   22715 # Whether dlopen of programs is supported.
   22716 dlopen_self=$enable_dlopen_self
   22717 
   22718 # Whether dlopen of statically linked programs is supported.
   22719 dlopen_self_static=$enable_dlopen_self_static
   22720 
   22721 # Commands to strip libraries.
   22722 old_striplib=$lt_old_striplib
   22723 striplib=$lt_striplib
   22724 
   22725 
   22726 # The linker used to build libraries.
   22727 LD=$lt_LD
   22728 
   22729 # How to create reloadable object files.
   22730 reload_flag=$lt_reload_flag
   22731 reload_cmds=$lt_reload_cmds
   22732 
   22733 # Commands used to build an old-style archive.
   22734 old_archive_cmds=$lt_old_archive_cmds
   22735 
   22736 # A language specific compiler.
   22737 CC=$lt_compiler
   22738 
   22739 # Is the compiler the GNU compiler?
   22740 with_gcc=$GCC
   22741 
   22742 # Compiler flag to turn off builtin functions.
   22743 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22744 
   22745 # Additional compiler flags for building library objects.
   22746 pic_flag=$lt_lt_prog_compiler_pic
   22747 
   22748 # How to pass a linker flag through the compiler.
   22749 wl=$lt_lt_prog_compiler_wl
   22750 
   22751 # Compiler flag to prevent dynamic linking.
   22752 link_static_flag=$lt_lt_prog_compiler_static
   22753 
   22754 # Does compiler simultaneously support -c and -o options?
   22755 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22756 
   22757 # Whether or not to add -lc for building shared libraries.
   22758 build_libtool_need_lc=$archive_cmds_need_lc
   22759 
   22760 # Whether or not to disallow shared libs when runtime libs are static.
   22761 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22762 
   22763 # Compiler flag to allow reflexive dlopens.
   22764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22765 
   22766 # Compiler flag to generate shared objects directly from archives.
   22767 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22768 
   22769 # Whether the compiler copes with passing no objects directly.
   22770 compiler_needs_object=$lt_compiler_needs_object
   22771 
   22772 # Create an old-style archive from a shared archive.
   22773 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22774 
   22775 # Create a temporary old-style archive to link instead of a shared archive.
   22776 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22777 
   22778 # Commands used to build a shared archive.
   22779 archive_cmds=$lt_archive_cmds
   22780 archive_expsym_cmds=$lt_archive_expsym_cmds
   22781 
   22782 # Commands used to build a loadable module if different from building
   22783 # a shared archive.
   22784 module_cmds=$lt_module_cmds
   22785 module_expsym_cmds=$lt_module_expsym_cmds
   22786 
   22787 # Whether we are building with GNU ld or not.
   22788 with_gnu_ld=$lt_with_gnu_ld
   22789 
   22790 # Flag that allows shared libraries with undefined symbols to be built.
   22791 allow_undefined_flag=$lt_allow_undefined_flag
   22792 
   22793 # Flag that enforces no undefined symbols.
   22794 no_undefined_flag=$lt_no_undefined_flag
   22795 
   22796 # Flag to hardcode \$libdir into a binary during linking.
   22797 # This must work even if \$libdir does not exist
   22798 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22799 
   22800 # Whether we need a single "-rpath" flag with a separated argument.
   22801 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22802 
   22803 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22804 # DIR into the resulting binary.
   22805 hardcode_direct=$hardcode_direct
   22806 
   22807 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22808 # DIR into the resulting binary and the resulting library dependency is
   22809 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22810 # library is relocated.
   22811 hardcode_direct_absolute=$hardcode_direct_absolute
   22812 
   22813 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22814 # into the resulting binary.
   22815 hardcode_minus_L=$hardcode_minus_L
   22816 
   22817 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22818 # into the resulting binary.
   22819 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22820 
   22821 # Set to "yes" if building a shared library automatically hardcodes DIR
   22822 # into the library and all subsequent libraries and executables linked
   22823 # against it.
   22824 hardcode_automatic=$hardcode_automatic
   22825 
   22826 # Set to yes if linker adds runtime paths of dependent libraries
   22827 # to runtime path list.
   22828 inherit_rpath=$inherit_rpath
   22829 
   22830 # Whether libtool must link a program against all its dependency libraries.
   22831 link_all_deplibs=$link_all_deplibs
   22832 
   22833 # Set to "yes" if exported symbols are required.
   22834 always_export_symbols=$always_export_symbols
   22835 
   22836 # The commands to list exported symbols.
   22837 export_symbols_cmds=$lt_export_symbols_cmds
   22838 
   22839 # Symbols that should not be listed in the preloaded symbols.
   22840 exclude_expsyms=$lt_exclude_expsyms
   22841 
   22842 # Symbols that must always be exported.
   22843 include_expsyms=$lt_include_expsyms
   22844 
   22845 # Commands necessary for linking programs (against libraries) with templates.
   22846 prelink_cmds=$lt_prelink_cmds
   22847 
   22848 # Commands necessary for finishing linking programs.
   22849 postlink_cmds=$lt_postlink_cmds
   22850 
   22851 # Specify filename containing input files.
   22852 file_list_spec=$lt_file_list_spec
   22853 
   22854 # How to hardcode a shared library path into an executable.
   22855 hardcode_action=$hardcode_action
   22856 
   22857 # ### END LIBTOOL CONFIG
   22858 
   22859 _LT_EOF
   22860 
   22861     cat <<'_LT_EOF' >> "$cfgfile"
   22862 
   22863 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22864 
   22865 # func_munge_path_list VARIABLE PATH
   22866 # -----------------------------------
   22867 # VARIABLE is name of variable containing _space_ separated list of
   22868 # directories to be munged by the contents of PATH, which is string
   22869 # having a format:
   22870 # "DIR[:DIR]:"
   22871 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22872 # ":DIR[:DIR]"
   22873 #       string "DIR[ DIR]" will be appended to VARIABLE
   22874 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22875 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22876 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22877 # "DIR[:DIR]"
   22878 #       VARIABLE will be replaced by "DIR[ DIR]"
   22879 func_munge_path_list ()
   22880 {
   22881     case x$2 in
   22882     x)
   22883         ;;
   22884     *:)
   22885         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22886         ;;
   22887     x:*)
   22888         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22889         ;;
   22890     *::*)
   22891         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22892         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22893         ;;
   22894     *)
   22895         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22896         ;;
   22897     esac
   22898 }
   22899 
   22900 
   22901 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22902 func_cc_basename ()
   22903 {
   22904     for cc_temp in $*""; do
   22905       case $cc_temp in
   22906         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22907         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22908         \-*) ;;
   22909         *) break;;
   22910       esac
   22911     done
   22912     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22913 }
   22914 
   22915 
   22916 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22917 
   22918 _LT_EOF
   22919 
   22920   case $host_os in
   22921   aix3*)
   22922     cat <<\_LT_EOF >> "$cfgfile"
   22923 # AIX sometimes has problems with the GCC collect2 program.  For some
   22924 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22925 # vanish in a puff of smoke.
   22926 if test set != "${COLLECT_NAMES+set}"; then
   22927   COLLECT_NAMES=
   22928   export COLLECT_NAMES
   22929 fi
   22930 _LT_EOF
   22931     ;;
   22932   esac
   22933 
   22934 
   22935 
   22936 ltmain=$ac_aux_dir/ltmain.sh
   22937 
   22938 
   22939   # We use sed instead of cat because bash on DJGPP gets confused if
   22940   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22941   # text mode, it properly converts lines to CR/LF.  This bash problem
   22942   # is reportedly fixed, but why not run on old versions too?
   22943   $SED '$q' "$ltmain" >> "$cfgfile" \
   22944      || (rm -f "$cfgfile"; exit 1)
   22945 
   22946    mv -f "$cfgfile" "$ofile" ||
   22947     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22948   chmod +x "$ofile"
   22949 
   22950  ;;
   22951 
   22952   esac
   22953 done # for ac_tag
   22954 
   22955 
   22956 as_fn_exit 0
   22957 _ACEOF
   22958 ac_clean_files=$ac_clean_files_save
   22959 
   22960 test $ac_write_fail = 0 ||
   22961   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22962 
   22963 
   22964 # configure is writing to config.log, and then calls config.status.
   22965 # config.status does its own redirection, appending to config.log.
   22966 # Unfortunately, on DOS this fails, as config.log is still kept open
   22967 # by configure, so config.status won't be able to write to it; its
   22968 # output is simply discarded.  So we exec the FD to /dev/null,
   22969 # effectively closing config.log, so it can be properly (re)opened and
   22970 # appended to by config.status.  When coming back to configure, we
   22971 # need to make the FD available again.
   22972 if test "$no_create" != yes; then
   22973   ac_cs_success=:
   22974   ac_config_status_args=
   22975   test "$silent" = yes &&
   22976     ac_config_status_args="$ac_config_status_args --quiet"
   22977   exec 5>/dev/null
   22978   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22979   exec 5>>config.log
   22980   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22981   # would make configure fail if this is the last instruction.
   22982   $ac_cs_success || as_fn_exit 1
   22983 fi
   22984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22986 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22987 fi
   22988 
   22989 
   22990