Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXpresent 1.0.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpresent/-/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/libxpresent/-/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='libXpresent'
    617 PACKAGE_TARNAME='libXpresent'
    618 PACKAGE_VERSION='1.0.2'
    619 PACKAGE_STRING='libXpresent 1.0.2'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpresent/-/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 PRESENTEXT_LIBS
    661 PRESENTEXT_CFLAGS
    662 PRESENTEXT_VERSION
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 INSTALL_CMD
    678 PKG_CONFIG_LIBDIR
    679 PKG_CONFIG_PATH
    680 PKG_CONFIG
    681 CHANGELOG_CMD
    682 STRICT_CFLAGS
    683 CWARNFLAGS
    684 BASE_CFLAGS
    685 LT_SYS_LIBRARY_PATH
    686 OTOOL64
    687 OTOOL
    688 LIPO
    689 NMEDIT
    690 DSYMUTIL
    691 MANIFEST_TOOL
    692 RANLIB
    693 ac_ct_AR
    694 AR
    695 DLLTOOL
    696 OBJDUMP
    697 FILECMD
    698 LN_S
    699 NM
    700 ac_ct_DUMPBIN
    701 DUMPBIN
    702 LD
    703 FGREP
    704 EGREP
    705 GREP
    706 SED
    707 am__fastdepCC_FALSE
    708 am__fastdepCC_TRUE
    709 CCDEPMODE
    710 am__nodep
    711 AMDEPBACKSLASH
    712 AMDEP_FALSE
    713 AMDEP_TRUE
    714 am__include
    715 DEPDIR
    716 OBJEXT
    717 EXEEXT
    718 ac_ct_CC
    719 CPPFLAGS
    720 LDFLAGS
    721 CFLAGS
    722 CC
    723 host_os
    724 host_vendor
    725 host_cpu
    726 host
    727 build_os
    728 build_vendor
    729 build_cpu
    730 build
    731 LIBTOOL
    732 am__xargs_n
    733 am__rm_f_notfound
    734 AM_BACKSLASH
    735 AM_DEFAULT_VERBOSITY
    736 AM_DEFAULT_V
    737 AM_V
    738 CSCOPE
    739 ETAGS
    740 CTAGS
    741 am__untar
    742 am__tar
    743 AMTAR
    744 am__leading_dot
    745 SET_MAKE
    746 AWK
    747 mkdir_p
    748 MKDIR_P
    749 INSTALL_STRIP_PROGRAM
    750 STRIP
    751 install_sh
    752 MAKEINFO
    753 AUTOHEADER
    754 AUTOMAKE
    755 AUTOCONF
    756 ACLOCAL
    757 VERSION
    758 PACKAGE
    759 CYGPATH_W
    760 am__isrc
    761 INSTALL_DATA
    762 INSTALL_SCRIPT
    763 INSTALL_PROGRAM
    764 target_alias
    765 host_alias
    766 build_alias
    767 LIBS
    768 ECHO_T
    769 ECHO_N
    770 ECHO_C
    771 DEFS
    772 mandir
    773 localedir
    774 libdir
    775 psdir
    776 pdfdir
    777 dvidir
    778 htmldir
    779 infodir
    780 docdir
    781 oldincludedir
    782 includedir
    783 runstatedir
    784 localstatedir
    785 sharedstatedir
    786 sysconfdir
    787 datadir
    788 datarootdir
    789 libexecdir
    790 sbindir
    791 bindir
    792 program_transform_name
    793 prefix
    794 exec_prefix
    795 PACKAGE_URL
    796 PACKAGE_BUGREPORT
    797 PACKAGE_STRING
    798 PACKAGE_VERSION
    799 PACKAGE_TARNAME
    800 PACKAGE_NAME
    801 PATH_SEPARATOR
    802 SHELL
    803 am__quote'
    804 ac_subst_files=''
    805 ac_user_opts='
    806 enable_option_checking
    807 enable_silent_rules
    808 enable_shared
    809 enable_static
    810 enable_pic
    811 with_pic
    812 enable_fast_install
    813 enable_aix_soname
    814 with_aix_soname
    815 enable_dependency_tracking
    816 with_gnu_ld
    817 with_sysroot
    818 enable_libtool_lock
    819 enable_selective_werror
    820 enable_strict_compilation
    821 '
    822       ac_precious_vars='build_alias
    823 host_alias
    824 target_alias
    825 CC
    826 CFLAGS
    827 LDFLAGS
    828 LIBS
    829 CPPFLAGS
    830 LT_SYS_LIBRARY_PATH
    831 PKG_CONFIG
    832 PKG_CONFIG_PATH
    833 PKG_CONFIG_LIBDIR
    834 PRESENTEXT_CFLAGS
    835 PRESENTEXT_LIBS'
    836 
    837 
    838 # Initialize some variables set by options.
    839 ac_init_help=
    840 ac_init_version=false
    841 ac_unrecognized_opts=
    842 ac_unrecognized_sep=
    843 # The variables have the same names as the options, with
    844 # dashes changed to underlines.
    845 cache_file=/dev/null
    846 exec_prefix=NONE
    847 no_create=
    848 no_recursion=
    849 prefix=NONE
    850 program_prefix=NONE
    851 program_suffix=NONE
    852 program_transform_name=s,x,x,
    853 silent=
    854 site=
    855 srcdir=
    856 verbose=
    857 x_includes=NONE
    858 x_libraries=NONE
    859 
    860 # Installation directory options.
    861 # These are left unexpanded so users can "make install exec_prefix=/foo"
    862 # and all the variables that are supposed to be based on exec_prefix
    863 # by default will actually change.
    864 # Use braces instead of parens because sh, perl, etc. also accept them.
    865 # (The list follows the same order as the GNU Coding Standards.)
    866 bindir='${exec_prefix}/bin'
    867 sbindir='${exec_prefix}/sbin'
    868 libexecdir='${exec_prefix}/libexec'
    869 datarootdir='${prefix}/share'
    870 datadir='${datarootdir}'
    871 sysconfdir='${prefix}/etc'
    872 sharedstatedir='${prefix}/com'
    873 localstatedir='${prefix}/var'
    874 runstatedir='${localstatedir}/run'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   case $ac_dashdash$ac_option in
    905   --)
    906     ac_dashdash=yes ;;
    907 
    908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    909     ac_prev=bindir ;;
    910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    911     bindir=$ac_optarg ;;
    912 
    913   -build | --build | --buil | --bui | --bu)
    914     ac_prev=build_alias ;;
    915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    916     build_alias=$ac_optarg ;;
    917 
    918   -cache-file | --cache-file | --cache-fil | --cache-fi \
    919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    920     ac_prev=cache_file ;;
    921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    923     cache_file=$ac_optarg ;;
    924 
    925   --config-cache | -C)
    926     cache_file=config.cache ;;
    927 
    928   -datadir | --datadir | --datadi | --datad)
    929     ac_prev=datadir ;;
    930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    931     datadir=$ac_optarg ;;
    932 
    933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    934   | --dataroo | --dataro | --datar)
    935     ac_prev=datarootdir ;;
    936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    938     datarootdir=$ac_optarg ;;
    939 
    940   -disable-* | --disable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: '$ac_useropt'"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=no ;;
    955 
    956   -docdir | --docdir | --docdi | --doc | --do)
    957     ac_prev=docdir ;;
    958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    959     docdir=$ac_optarg ;;
    960 
    961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    962     ac_prev=dvidir ;;
    963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    964     dvidir=$ac_optarg ;;
    965 
    966   -enable-* | --enable-*)
    967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    968     # Reject names that are not valid shell variable names.
    969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    970       as_fn_error $? "invalid feature name: '$ac_useropt'"
    971     ac_useropt_orig=$ac_useropt
    972     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    973     case $ac_user_opts in
    974       *"
    975 "enable_$ac_useropt"
    976 "*) ;;
    977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    978 	 ac_unrecognized_sep=', ';;
    979     esac
    980     eval enable_$ac_useropt=\$ac_optarg ;;
    981 
    982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    984   | --exec | --exe | --ex)
    985     ac_prev=exec_prefix ;;
    986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    988   | --exec=* | --exe=* | --ex=*)
    989     exec_prefix=$ac_optarg ;;
    990 
    991   -gas | --gas | --ga | --g)
    992     # Obsolete; use --with-gas.
    993     with_gas=yes ;;
    994 
    995   -help | --help | --hel | --he | -h)
    996     ac_init_help=long ;;
    997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    998     ac_init_help=recursive ;;
    999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1000     ac_init_help=short ;;
   1001 
   1002   -host | --host | --hos | --ho)
   1003     ac_prev=host_alias ;;
   1004   -host=* | --host=* | --hos=* | --ho=*)
   1005     host_alias=$ac_optarg ;;
   1006 
   1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1008     ac_prev=htmldir ;;
   1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1010   | --ht=*)
   1011     htmldir=$ac_optarg ;;
   1012 
   1013   -includedir | --includedir | --includedi | --included | --include \
   1014   | --includ | --inclu | --incl | --inc)
   1015     ac_prev=includedir ;;
   1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1018     includedir=$ac_optarg ;;
   1019 
   1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1021     ac_prev=infodir ;;
   1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1023     infodir=$ac_optarg ;;
   1024 
   1025   -libdir | --libdir | --libdi | --libd)
   1026     ac_prev=libdir ;;
   1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1028     libdir=$ac_optarg ;;
   1029 
   1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1031   | --libexe | --libex | --libe)
   1032     ac_prev=libexecdir ;;
   1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1034   | --libexe=* | --libex=* | --libe=*)
   1035     libexecdir=$ac_optarg ;;
   1036 
   1037   -localedir | --localedir | --localedi | --localed | --locale)
   1038     ac_prev=localedir ;;
   1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1040     localedir=$ac_optarg ;;
   1041 
   1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1043   | --localstate | --localstat | --localsta | --localst | --locals)
   1044     ac_prev=localstatedir ;;
   1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1047     localstatedir=$ac_optarg ;;
   1048 
   1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1050     ac_prev=mandir ;;
   1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1052     mandir=$ac_optarg ;;
   1053 
   1054   -nfp | --nfp | --nf)
   1055     # Obsolete; use --without-fp.
   1056     with_fp=no ;;
   1057 
   1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1059   | --no-cr | --no-c | -n)
   1060     no_create=yes ;;
   1061 
   1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1064     no_recursion=yes ;;
   1065 
   1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1068   | --oldin | --oldi | --old | --ol | --o)
   1069     ac_prev=oldincludedir ;;
   1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1073     oldincludedir=$ac_optarg ;;
   1074 
   1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1076     ac_prev=prefix ;;
   1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1078     prefix=$ac_optarg ;;
   1079 
   1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1081   | --program-pre | --program-pr | --program-p)
   1082     ac_prev=program_prefix ;;
   1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1085     program_prefix=$ac_optarg ;;
   1086 
   1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1088   | --program-suf | --program-su | --program-s)
   1089     ac_prev=program_suffix ;;
   1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1092     program_suffix=$ac_optarg ;;
   1093 
   1094   -program-transform-name | --program-transform-name \
   1095   | --program-transform-nam | --program-transform-na \
   1096   | --program-transform-n | --program-transform- \
   1097   | --program-transform | --program-transfor \
   1098   | --program-transfo | --program-transf \
   1099   | --program-trans | --program-tran \
   1100   | --progr-tra | --program-tr | --program-t)
   1101     ac_prev=program_transform_name ;;
   1102   -program-transform-name=* | --program-transform-name=* \
   1103   | --program-transform-nam=* | --program-transform-na=* \
   1104   | --program-transform-n=* | --program-transform-=* \
   1105   | --program-transform=* | --program-transfor=* \
   1106   | --program-transfo=* | --program-transf=* \
   1107   | --program-trans=* | --program-tran=* \
   1108   | --progr-tra=* | --program-tr=* | --program-t=*)
   1109     program_transform_name=$ac_optarg ;;
   1110 
   1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1112     ac_prev=pdfdir ;;
   1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1114     pdfdir=$ac_optarg ;;
   1115 
   1116   -psdir | --psdir | --psdi | --psd | --ps)
   1117     ac_prev=psdir ;;
   1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1119     psdir=$ac_optarg ;;
   1120 
   1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1122   | -silent | --silent | --silen | --sile | --sil)
   1123     silent=yes ;;
   1124 
   1125   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1126   | --runstate | --runstat | --runsta | --runst | --runs \
   1127   | --run | --ru | --r)
   1128     ac_prev=runstatedir ;;
   1129   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1130   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1131   | --run=* | --ru=* | --r=*)
   1132     runstatedir=$ac_optarg ;;
   1133 
   1134   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1135     ac_prev=sbindir ;;
   1136   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1137   | --sbi=* | --sb=*)
   1138     sbindir=$ac_optarg ;;
   1139 
   1140   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1141   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1142   | --sharedst | --shareds | --shared | --share | --shar \
   1143   | --sha | --sh)
   1144     ac_prev=sharedstatedir ;;
   1145   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1146   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1147   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1148   | --sha=* | --sh=*)
   1149     sharedstatedir=$ac_optarg ;;
   1150 
   1151   -site | --site | --sit)
   1152     ac_prev=site ;;
   1153   -site=* | --site=* | --sit=*)
   1154     site=$ac_optarg ;;
   1155 
   1156   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1157     ac_prev=srcdir ;;
   1158   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1159     srcdir=$ac_optarg ;;
   1160 
   1161   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1162   | --syscon | --sysco | --sysc | --sys | --sy)
   1163     ac_prev=sysconfdir ;;
   1164   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1165   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1166     sysconfdir=$ac_optarg ;;
   1167 
   1168   -target | --target | --targe | --targ | --tar | --ta | --t)
   1169     ac_prev=target_alias ;;
   1170   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1171     target_alias=$ac_optarg ;;
   1172 
   1173   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1174     verbose=yes ;;
   1175 
   1176   -version | --version | --versio | --versi | --vers | -V)
   1177     ac_init_version=: ;;
   1178 
   1179   -with-* | --with-*)
   1180     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1181     # Reject names that are not valid shell variable names.
   1182     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1183       as_fn_error $? "invalid package name: '$ac_useropt'"
   1184     ac_useropt_orig=$ac_useropt
   1185     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1186     case $ac_user_opts in
   1187       *"
   1188 "with_$ac_useropt"
   1189 "*) ;;
   1190       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1191 	 ac_unrecognized_sep=', ';;
   1192     esac
   1193     eval with_$ac_useropt=\$ac_optarg ;;
   1194 
   1195   -without-* | --without-*)
   1196     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1197     # Reject names that are not valid shell variable names.
   1198     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1199       as_fn_error $? "invalid package name: '$ac_useropt'"
   1200     ac_useropt_orig=$ac_useropt
   1201     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1202     case $ac_user_opts in
   1203       *"
   1204 "with_$ac_useropt"
   1205 "*) ;;
   1206       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1207 	 ac_unrecognized_sep=', ';;
   1208     esac
   1209     eval with_$ac_useropt=no ;;
   1210 
   1211   --x)
   1212     # Obsolete; use --with-x.
   1213     with_x=yes ;;
   1214 
   1215   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1216   | --x-incl | --x-inc | --x-in | --x-i)
   1217     ac_prev=x_includes ;;
   1218   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1219   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1220     x_includes=$ac_optarg ;;
   1221 
   1222   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1223   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1224     ac_prev=x_libraries ;;
   1225   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1226   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1227     x_libraries=$ac_optarg ;;
   1228 
   1229   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1230 Try '$0 --help' for more information"
   1231     ;;
   1232 
   1233   *=*)
   1234     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1235     # Reject names that are not valid shell variable names.
   1236     case $ac_envvar in #(
   1237       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1238       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1239     esac
   1240     eval $ac_envvar=\$ac_optarg
   1241     export $ac_envvar ;;
   1242 
   1243   *)
   1244     # FIXME: should be removed in autoconf 3.0.
   1245     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1246     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1247       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1248     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1249     ;;
   1250 
   1251   esac
   1252 done
   1253 
   1254 if test -n "$ac_prev"; then
   1255   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1256   as_fn_error $? "missing argument to $ac_option"
   1257 fi
   1258 
   1259 if test -n "$ac_unrecognized_opts"; then
   1260   case $enable_option_checking in
   1261     no) ;;
   1262     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1263     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1264   esac
   1265 fi
   1266 
   1267 # Check all directory arguments for consistency.
   1268 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1269 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1270 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1271 		libdir localedir mandir runstatedir
   1272 do
   1273   eval ac_val=\$$ac_var
   1274   # Remove trailing slashes.
   1275   case $ac_val in
   1276     */ )
   1277       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1278       eval $ac_var=\$ac_val;;
   1279   esac
   1280   # Be sure to have absolute directory names.
   1281   case $ac_val in
   1282     [\\/$]* | ?:[\\/]* )  continue;;
   1283     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1284   esac
   1285   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1286 done
   1287 
   1288 # There might be people who depend on the old broken behavior: '$host'
   1289 # used to hold the argument of --host etc.
   1290 # FIXME: To remove some day.
   1291 build=$build_alias
   1292 host=$host_alias
   1293 target=$target_alias
   1294 
   1295 # FIXME: To remove some day.
   1296 if test "x$host_alias" != x; then
   1297   if test "x$build_alias" = x; then
   1298     cross_compiling=maybe
   1299   elif test "x$build_alias" != "x$host_alias"; then
   1300     cross_compiling=yes
   1301   fi
   1302 fi
   1303 
   1304 ac_tool_prefix=
   1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1306 
   1307 test "$silent" = yes && exec 6>/dev/null
   1308 
   1309 
   1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1311 ac_ls_di=`ls -di .` &&
   1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1313   as_fn_error $? "working directory cannot be determined"
   1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1315   as_fn_error $? "pwd does not report name of working directory"
   1316 
   1317 
   1318 # Find the source files, if location was not specified.
   1319 if test -z "$srcdir"; then
   1320   ac_srcdir_defaulted=yes
   1321   # Try the directory containing this script, then the parent directory.
   1322   ac_confdir=`$as_dirname -- "$as_myself" ||
   1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1324 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1325 	 X"$as_myself" : 'X\(//\)$' \| \
   1326 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1327 printf "%s\n" X"$as_myself" |
   1328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1329 	    s//\1/
   1330 	    q
   1331 	  }
   1332 	  /^X\(\/\/\)[^/].*/{
   1333 	    s//\1/
   1334 	    q
   1335 	  }
   1336 	  /^X\(\/\/\)$/{
   1337 	    s//\1/
   1338 	    q
   1339 	  }
   1340 	  /^X\(\/\).*/{
   1341 	    s//\1/
   1342 	    q
   1343 	  }
   1344 	  s/.*/./; q'`
   1345   srcdir=$ac_confdir
   1346   if test ! -r "$srcdir/$ac_unique_file"; then
   1347     srcdir=..
   1348   fi
   1349 else
   1350   ac_srcdir_defaulted=no
   1351 fi
   1352 if test ! -r "$srcdir/$ac_unique_file"; then
   1353   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1354   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1355 fi
   1356 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1357 ac_abs_confdir=`(
   1358 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1359 	pwd)`
   1360 # When building in place, set srcdir=.
   1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1362   srcdir=.
   1363 fi
   1364 # Remove unnecessary trailing slashes from srcdir.
   1365 # Double slashes in file names in object file debugging info
   1366 # mess up M-x gdb in Emacs.
   1367 case $srcdir in
   1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1369 esac
   1370 for ac_var in $ac_precious_vars; do
   1371   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1372   eval ac_env_${ac_var}_value=\$${ac_var}
   1373   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1374   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1375 done
   1376 
   1377 #
   1378 # Report the --help message.
   1379 #
   1380 if test "$ac_init_help" = "long"; then
   1381   # Omit some internal or obsolete options to make the list less imposing.
   1382   # This message is too long to be a string in the A/UX 3.1 sh.
   1383   cat <<_ACEOF
   1384 'configure' configures libXpresent 1.0.2 to adapt to many kinds of systems.
   1385 
   1386 Usage: $0 [OPTION]... [VAR=VALUE]...
   1387 
   1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1389 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1390 
   1391 Defaults for the options are specified in brackets.
   1392 
   1393 Configuration:
   1394   -h, --help              display this help and exit
   1395       --help=short        display options specific to this package
   1396       --help=recursive    display the short help of all the included packages
   1397   -V, --version           display version information and exit
   1398   -q, --quiet, --silent   do not print 'checking ...' messages
   1399       --cache-file=FILE   cache test results in FILE [disabled]
   1400   -C, --config-cache      alias for '--cache-file=config.cache'
   1401   -n, --no-create         do not create output files
   1402       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1403 
   1404 Installation directories:
   1405   --prefix=PREFIX         install architecture-independent files in PREFIX
   1406                           [$ac_default_prefix]
   1407   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1408                           [PREFIX]
   1409 
   1410 By default, 'make install' will install all the files in
   1411 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1412 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1413 for instance '--prefix=\$HOME'.
   1414 
   1415 For better control, use the options below.
   1416 
   1417 Fine tuning of the installation directories:
   1418   --bindir=DIR            user executables [EPREFIX/bin]
   1419   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1420   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1421   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1422   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1423   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1424   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1425   --libdir=DIR            object code libraries [EPREFIX/lib]
   1426   --includedir=DIR        C header files [PREFIX/include]
   1427   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1428   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1429   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1430   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1431   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1432   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1433   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpresent]
   1434   --htmldir=DIR           html documentation [DOCDIR]
   1435   --dvidir=DIR            dvi documentation [DOCDIR]
   1436   --pdfdir=DIR            pdf documentation [DOCDIR]
   1437   --psdir=DIR             ps documentation [DOCDIR]
   1438 _ACEOF
   1439 
   1440   cat <<\_ACEOF
   1441 
   1442 Program names:
   1443   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1444   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1445   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1446 
   1447 System types:
   1448   --build=BUILD     configure for building on BUILD [guessed]
   1449   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1450 _ACEOF
   1451 fi
   1452 
   1453 if test -n "$ac_init_help"; then
   1454   case $ac_init_help in
   1455      short | recursive ) echo "Configuration of libXpresent 1.0.2:";;
   1456    esac
   1457   cat <<\_ACEOF
   1458 
   1459 Optional Features:
   1460   --disable-option-checking  ignore unrecognized --enable/--with options
   1461   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1462   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1463   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1464   --disable-silent-rules  verbose build output (undo: "make V=0")
   1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1466   --enable-static[=PKGS]  build static libraries [default=yes]
   1467   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1468                           both]
   1469   --enable-fast-install[=PKGS]
   1470                           optimize for fast installation [default=yes]
   1471   --enable-aix-soname=aix|svr4|both
   1472                           shared library versioning (aka "SONAME") variant to
   1473                           provide on AIX, [default=aix].
   1474   --enable-dependency-tracking
   1475                           do not reject slow dependency extractors
   1476   --disable-dependency-tracking
   1477                           speeds up one-time build
   1478   --disable-libtool-lock  avoid locking (might break parallel builds)
   1479   --disable-selective-werror
   1480                           Turn off selective compiler errors. (default:
   1481                           enabled)
   1482   --enable-strict-compilation
   1483                           Enable all warnings from compiler and make them
   1484                           errors (default: disabled)
   1485 
   1486 Optional Packages:
   1487   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1488   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1490   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1491                           compiler's sysroot if not specified).
   1492 
   1493 Some influential environment variables:
   1494   CC          C compiler command
   1495   CFLAGS      C compiler flags
   1496   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1497               nonstandard directory <lib dir>
   1498   LIBS        libraries to pass to the linker, e.g. -l<library>
   1499   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1500               you have headers in a nonstandard directory <include dir>
   1501   LT_SYS_LIBRARY_PATH
   1502               User-defined run-time library search path.
   1503   PKG_CONFIG  path to pkg-config utility
   1504   PKG_CONFIG_PATH
   1505               directories to add to pkg-config's search path
   1506   PKG_CONFIG_LIBDIR
   1507               path overriding pkg-config's built-in search path
   1508   PRESENTEXT_CFLAGS
   1509               C compiler flags for PRESENTEXT, overriding pkg-config
   1510   PRESENTEXT_LIBS
   1511               linker flags for PRESENTEXT, overriding pkg-config
   1512 
   1513 Use these variables to override the choices made by 'configure' or to help
   1514 it to find libraries and programs with nonstandard names/locations.
   1515 
   1516 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpresent/-/issues>.
   1517 _ACEOF
   1518 ac_status=$?
   1519 fi
   1520 
   1521 if test "$ac_init_help" = "recursive"; then
   1522   # If there are subdirs, report their specific --help.
   1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1524     test -d "$ac_dir" ||
   1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1526       continue
   1527     ac_builddir=.
   1528 
   1529 case "$ac_dir" in
   1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1531 *)
   1532   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1533   # A ".." for each directory in $ac_dir_suffix.
   1534   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1535   case $ac_top_builddir_sub in
   1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1538   esac ;;
   1539 esac
   1540 ac_abs_top_builddir=$ac_pwd
   1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1542 # for backward compatibility:
   1543 ac_top_builddir=$ac_top_build_prefix
   1544 
   1545 case $srcdir in
   1546   .)  # We are building in place.
   1547     ac_srcdir=.
   1548     ac_top_srcdir=$ac_top_builddir_sub
   1549     ac_abs_top_srcdir=$ac_pwd ;;
   1550   [\\/]* | ?:[\\/]* )  # Absolute name.
   1551     ac_srcdir=$srcdir$ac_dir_suffix;
   1552     ac_top_srcdir=$srcdir
   1553     ac_abs_top_srcdir=$srcdir ;;
   1554   *) # Relative name.
   1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1558 esac
   1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1560 
   1561     cd "$ac_dir" || { ac_status=$?; continue; }
   1562     # Check for configure.gnu first; this name is used for a wrapper for
   1563     # Metaconfig's "Configure" on case-insensitive file systems.
   1564     if test -f "$ac_srcdir/configure.gnu"; then
   1565       echo &&
   1566       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1567     elif test -f "$ac_srcdir/configure"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure" --help=recursive
   1570     else
   1571       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1572     fi || ac_status=$?
   1573     cd "$ac_pwd" || { ac_status=$?; break; }
   1574   done
   1575 fi
   1576 
   1577 test -n "$ac_init_help" && exit $ac_status
   1578 if $ac_init_version; then
   1579   cat <<\_ACEOF
   1580 libXpresent configure 1.0.2
   1581 generated by GNU Autoconf 2.72
   1582 
   1583 Copyright (C) 2023 Free Software Foundation, Inc.
   1584 This configure script is free software; the Free Software Foundation
   1585 gives unlimited permission to copy, distribute and modify it.
   1586 _ACEOF
   1587   exit
   1588 fi
   1589 
   1590 ## ------------------------ ##
   1591 ## Autoconf initialization. ##
   1592 ## ------------------------ ##
   1593 
   1594 # ac_fn_c_try_compile LINENO
   1595 # --------------------------
   1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1597 ac_fn_c_try_compile ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   rm -f conftest.$ac_objext conftest.beam
   1601   if { { ac_try="$ac_compile"
   1602 case "(($ac_try" in
   1603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1604   *) ac_try_echo=$ac_try;;
   1605 esac
   1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1607 printf "%s\n" "$ac_try_echo"; } >&5
   1608   (eval "$ac_compile") 2>conftest.err
   1609   ac_status=$?
   1610   if test -s conftest.err; then
   1611     grep -v '^ *+' conftest.err >conftest.er1
   1612     cat conftest.er1 >&5
   1613     mv -f conftest.er1 conftest.err
   1614   fi
   1615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1616   test $ac_status = 0; } && {
   1617 	 test -z "$ac_c_werror_flag" ||
   1618 	 test ! -s conftest.err
   1619        } && test -s conftest.$ac_objext
   1620 then :
   1621   ac_retval=0
   1622 else case e in #(
   1623   e) printf "%s\n" "$as_me: failed program was:" >&5
   1624 sed 's/^/| /' conftest.$ac_ext >&5
   1625 
   1626 	ac_retval=1 ;;
   1627 esac
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_compile
   1633 
   1634 # ac_fn_c_try_link LINENO
   1635 # -----------------------
   1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1637 ac_fn_c_try_link ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1641   if { { ac_try="$ac_link"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 printf "%s\n" "$ac_try_echo"; } >&5
   1648   (eval "$ac_link") 2>conftest.err
   1649   ac_status=$?
   1650   if test -s conftest.err; then
   1651     grep -v '^ *+' conftest.err >conftest.er1
   1652     cat conftest.er1 >&5
   1653     mv -f conftest.er1 conftest.err
   1654   fi
   1655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1656   test $ac_status = 0; } && {
   1657 	 test -z "$ac_c_werror_flag" ||
   1658 	 test ! -s conftest.err
   1659        } && test -s conftest$ac_exeext && {
   1660 	 test "$cross_compiling" = yes ||
   1661 	 test -x conftest$ac_exeext
   1662        }
   1663 then :
   1664   ac_retval=0
   1665 else case e in #(
   1666   e) printf "%s\n" "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669 	ac_retval=1 ;;
   1670 esac
   1671 fi
   1672   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1673   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1674   # interfere with the next link command; also delete a directory that is
   1675   # left behind by Apple's compiler.  We do this before executing the actions.
   1676   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678   as_fn_set_status $ac_retval
   1679 
   1680 } # ac_fn_c_try_link
   1681 
   1682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1683 # -------------------------------------------------------
   1684 # Tests whether HEADER exists and can be compiled using the include files in
   1685 # INCLUDES, setting the cache variable VAR accordingly.
   1686 ac_fn_c_check_header_compile ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1690 printf %s "checking for $2... " >&6; }
   1691 if eval test \${$3+y}
   1692 then :
   1693   printf %s "(cached) " >&6
   1694 else case e in #(
   1695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"
   1701 then :
   1702   eval "$3=yes"
   1703 else case e in #(
   1704   e) eval "$3=no" ;;
   1705 esac
   1706 fi
   1707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1708 esac
   1709 fi
   1710 eval ac_res=\$$3
   1711 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1712 printf "%s\n" "$ac_res" >&6; }
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714 
   1715 } # ac_fn_c_check_header_compile
   1716 
   1717 # ac_fn_c_check_func LINENO FUNC VAR
   1718 # ----------------------------------
   1719 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1720 ac_fn_c_check_func ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 printf %s "checking for $2... " >&6; }
   1725 if eval test \${$3+y}
   1726 then :
   1727   printf %s "(cached) " >&6
   1728 else case e in #(
   1729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1733 #define $2 innocuous_$2
   1734 
   1735 /* System header to define __stub macros and hopefully few prototypes,
   1736    which can conflict with char $2 (void); below.  */
   1737 
   1738 #include <limits.h>
   1739 #undef $2
   1740 
   1741 /* Override any GCC internal prototype to avoid an error.
   1742    Use char because int might match the return type of a GCC
   1743    builtin and then its argument prototype would still apply.  */
   1744 #ifdef __cplusplus
   1745 extern "C"
   1746 #endif
   1747 char $2 (void);
   1748 /* The GNU C library defines this for functions which it implements
   1749     to always fail with ENOSYS.  Some functions are actually named
   1750     something starting with __ and the normal name is an alias.  */
   1751 #if defined __stub_$2 || defined __stub___$2
   1752 choke me
   1753 #endif
   1754 
   1755 int
   1756 main (void)
   1757 {
   1758 return $2 ();
   1759   ;
   1760   return 0;
   1761 }
   1762 _ACEOF
   1763 if ac_fn_c_try_link "$LINENO"
   1764 then :
   1765   eval "$3=yes"
   1766 else case e in #(
   1767   e) eval "$3=no" ;;
   1768 esac
   1769 fi
   1770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1771     conftest$ac_exeext conftest.$ac_ext ;;
   1772 esac
   1773 fi
   1774 eval ac_res=\$$3
   1775 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1776 printf "%s\n" "$ac_res" >&6; }
   1777   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1778 
   1779 } # ac_fn_c_check_func
   1780 
   1781 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1782 # ------------------------------------------------------------------
   1783 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1784 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1785 ac_fn_check_decl ()
   1786 {
   1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1788   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1790 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1791 if eval test \${$3+y}
   1792 then :
   1793   printf %s "(cached) " >&6
   1794 else case e in #(
   1795   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1796   eval ac_save_FLAGS=\$$6
   1797   as_fn_append $6 " $5"
   1798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 $4
   1801 int
   1802 main (void)
   1803 {
   1804 #ifndef $as_decl_name
   1805 #ifdef __cplusplus
   1806   (void) $as_decl_use;
   1807 #else
   1808   (void) $as_decl_name;
   1809 #endif
   1810 #endif
   1811 
   1812   ;
   1813   return 0;
   1814 }
   1815 _ACEOF
   1816 if ac_fn_c_try_compile "$LINENO"
   1817 then :
   1818   eval "$3=yes"
   1819 else case e in #(
   1820   e) eval "$3=no" ;;
   1821 esac
   1822 fi
   1823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1824   eval $6=\$ac_save_FLAGS
   1825  ;;
   1826 esac
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_check_decl
   1834 ac_configure_args_raw=
   1835 for ac_arg
   1836 do
   1837   case $ac_arg in
   1838   *\'*)
   1839     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1840   esac
   1841   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1842 done
   1843 
   1844 case $ac_configure_args_raw in
   1845   *$as_nl*)
   1846     ac_safe_unquote= ;;
   1847   *)
   1848     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1849     ac_unsafe_a="$ac_unsafe_z#~"
   1850     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1851     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1852 esac
   1853 
   1854 cat >config.log <<_ACEOF
   1855 This file contains any messages produced by compilers while
   1856 running configure, to aid debugging if configure makes a mistake.
   1857 
   1858 It was created by libXpresent $as_me 1.0.2, which was
   1859 generated by GNU Autoconf 2.72.  Invocation command line was
   1860 
   1861   $ $0$ac_configure_args_raw
   1862 
   1863 _ACEOF
   1864 exec 5>>config.log
   1865 {
   1866 cat <<_ASUNAME
   1867 ## --------- ##
   1868 ## Platform. ##
   1869 ## --------- ##
   1870 
   1871 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1872 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1873 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1874 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1875 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1876 
   1877 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1878 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1879 
   1880 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1881 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1882 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1883 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1884 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1885 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1886 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1887 
   1888 _ASUNAME
   1889 
   1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1891 for as_dir in $PATH
   1892 do
   1893   IFS=$as_save_IFS
   1894   case $as_dir in #(((
   1895     '') as_dir=./ ;;
   1896     */) ;;
   1897     *) as_dir=$as_dir/ ;;
   1898   esac
   1899     printf "%s\n" "PATH: $as_dir"
   1900   done
   1901 IFS=$as_save_IFS
   1902 
   1903 } >&5
   1904 
   1905 cat >&5 <<_ACEOF
   1906 
   1907 
   1908 ## ----------- ##
   1909 ## Core tests. ##
   1910 ## ----------- ##
   1911 
   1912 _ACEOF
   1913 
   1914 
   1915 # Keep a trace of the command line.
   1916 # Strip out --no-create and --no-recursion so they do not pile up.
   1917 # Strip out --silent because we don't want to record it for future runs.
   1918 # Also quote any args containing shell meta-characters.
   1919 # Make two passes to allow for proper duplicate-argument suppression.
   1920 ac_configure_args=
   1921 ac_configure_args0=
   1922 ac_configure_args1=
   1923 ac_must_keep_next=false
   1924 for ac_pass in 1 2
   1925 do
   1926   for ac_arg
   1927   do
   1928     case $ac_arg in
   1929     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1930     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1931     | -silent | --silent | --silen | --sile | --sil)
   1932       continue ;;
   1933     *\'*)
   1934       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1935     esac
   1936     case $ac_pass in
   1937     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1938     2)
   1939       as_fn_append ac_configure_args1 " '$ac_arg'"
   1940       if test $ac_must_keep_next = true; then
   1941 	ac_must_keep_next=false # Got value, back to normal.
   1942       else
   1943 	case $ac_arg in
   1944 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1945 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1946 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1947 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1948 	    case "$ac_configure_args0 " in
   1949 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1950 	    esac
   1951 	    ;;
   1952 	  -* ) ac_must_keep_next=true ;;
   1953 	esac
   1954       fi
   1955       as_fn_append ac_configure_args " '$ac_arg'"
   1956       ;;
   1957     esac
   1958   done
   1959 done
   1960 { ac_configure_args0=; unset ac_configure_args0;}
   1961 { ac_configure_args1=; unset ac_configure_args1;}
   1962 
   1963 # When interrupted or exit'd, cleanup temporary files, and complete
   1964 # config.log.  We remove comments because anyway the quotes in there
   1965 # would cause problems or look ugly.
   1966 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1967 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1968 trap 'exit_status=$?
   1969   # Sanitize IFS.
   1970   IFS=" ""	$as_nl"
   1971   # Save into config.log some information that might help in debugging.
   1972   {
   1973     echo
   1974 
   1975     printf "%s\n" "## ---------------- ##
   1976 ## Cache variables. ##
   1977 ## ---------------- ##"
   1978     echo
   1979     # The following way of writing the cache mishandles newlines in values,
   1980 (
   1981   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1982     eval ac_val=\$$ac_var
   1983     case $ac_val in #(
   1984     *${as_nl}*)
   1985       case $ac_var in #(
   1986       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1987 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1988       esac
   1989       case $ac_var in #(
   1990       _ | IFS | as_nl) ;; #(
   1991       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1992       *) { eval $ac_var=; unset $ac_var;} ;;
   1993       esac ;;
   1994     esac
   1995   done
   1996   (set) 2>&1 |
   1997     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1998     *${as_nl}ac_space=\ *)
   1999       sed -n \
   2000 	"s/'\''/'\''\\\\'\'''\''/g;
   2001 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2002       ;; #(
   2003     *)
   2004       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2005       ;;
   2006     esac |
   2007     sort
   2008 )
   2009     echo
   2010 
   2011     printf "%s\n" "## ----------------- ##
   2012 ## Output variables. ##
   2013 ## ----------------- ##"
   2014     echo
   2015     for ac_var in $ac_subst_vars
   2016     do
   2017       eval ac_val=\$$ac_var
   2018       case $ac_val in
   2019       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020       esac
   2021       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2022     done | sort
   2023     echo
   2024 
   2025     if test -n "$ac_subst_files"; then
   2026       printf "%s\n" "## ------------------- ##
   2027 ## File substitutions. ##
   2028 ## ------------------- ##"
   2029       echo
   2030       for ac_var in $ac_subst_files
   2031       do
   2032 	eval ac_val=\$$ac_var
   2033 	case $ac_val in
   2034 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2035 	esac
   2036 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2037       done | sort
   2038       echo
   2039     fi
   2040 
   2041     if test -s confdefs.h; then
   2042       printf "%s\n" "## ----------- ##
   2043 ## confdefs.h. ##
   2044 ## ----------- ##"
   2045       echo
   2046       cat confdefs.h
   2047       echo
   2048     fi
   2049     test "$ac_signal" != 0 &&
   2050       printf "%s\n" "$as_me: caught signal $ac_signal"
   2051     printf "%s\n" "$as_me: exit $exit_status"
   2052   } >&5
   2053   rm -f core *.core core.conftest.* &&
   2054     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2055     exit $exit_status
   2056 ' 0
   2057 for ac_signal in 1 2 13 15; do
   2058   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2059 done
   2060 ac_signal=0
   2061 
   2062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2063 rm -f -r conftest* confdefs.h
   2064 
   2065 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2066 
   2067 # Predefined preprocessor variables.
   2068 
   2069 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2070 
   2071 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2072 
   2073 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2074 
   2075 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2076 
   2077 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2078 
   2079 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2080 
   2081 
   2082 # Let the site file select an alternate cache file if it wants to.
   2083 # Prefer an explicitly selected file to automatically selected ones.
   2084 if test -n "$CONFIG_SITE"; then
   2085   ac_site_files="$CONFIG_SITE"
   2086 elif test "x$prefix" != xNONE; then
   2087   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2088 else
   2089   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2090 fi
   2091 
   2092 for ac_site_file in $ac_site_files
   2093 do
   2094   case $ac_site_file in #(
   2095   */*) :
   2096      ;; #(
   2097   *) :
   2098     ac_site_file=./$ac_site_file ;;
   2099 esac
   2100   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2106 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See 'config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Test code for whether the C compiler supports C89 (global declarations)
   2130 ac_c_conftest_c89_globals='
   2131 /* Does the compiler advertise C89 conformance?
   2132    Do not test the value of __STDC__, because some compilers set it to 0
   2133    while being otherwise adequately conformant. */
   2134 #if !defined __STDC__
   2135 # error "Compiler does not advertise C89 conformance"
   2136 #endif
   2137 
   2138 #include <stddef.h>
   2139 #include <stdarg.h>
   2140 struct stat;
   2141 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2142 struct buf { int x; };
   2143 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2144 static char *e (char **p, int i)
   2145 {
   2146   return p[i];
   2147 }
   2148 static char *f (char * (*g) (char **, int), char **p, ...)
   2149 {
   2150   char *s;
   2151   va_list v;
   2152   va_start (v,p);
   2153   s = g (p, va_arg (v,int));
   2154   va_end (v);
   2155   return s;
   2156 }
   2157 
   2158 /* C89 style stringification. */
   2159 #define noexpand_stringify(a) #a
   2160 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2161 
   2162 /* C89 style token pasting.  Exercises some of the corner cases that
   2163    e.g. old MSVC gets wrong, but not very hard. */
   2164 #define noexpand_concat(a,b) a##b
   2165 #define expand_concat(a,b) noexpand_concat(a,b)
   2166 extern int vA;
   2167 extern int vbee;
   2168 #define aye A
   2169 #define bee B
   2170 int *pvA = &expand_concat(v,aye);
   2171 int *pvbee = &noexpand_concat(v,bee);
   2172 
   2173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2174    function prototypes and stuff, but not \xHH hex character constants.
   2175    These do not provoke an error unfortunately, instead are silently treated
   2176    as an "x".  The following induces an error, until -std is added to get
   2177    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2178    array size at least.  It is necessary to write \x00 == 0 to get something
   2179    that is true only with -std.  */
   2180 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2181 
   2182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2183    inside strings and character constants.  */
   2184 #define FOO(x) '\''x'\''
   2185 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2186 
   2187 int test (int i, double x);
   2188 struct s1 {int (*f) (int a);};
   2189 struct s2 {int (*f) (double a);};
   2190 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2191                int, int);'
   2192 
   2193 # Test code for whether the C compiler supports C89 (body of main).
   2194 ac_c_conftest_c89_main='
   2195 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2196 '
   2197 
   2198 # Test code for whether the C compiler supports C99 (global declarations)
   2199 ac_c_conftest_c99_globals='
   2200 /* Does the compiler advertise C99 conformance? */
   2201 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2202 # error "Compiler does not advertise C99 conformance"
   2203 #endif
   2204 
   2205 // See if C++-style comments work.
   2206 
   2207 #include <stdbool.h>
   2208 extern int puts (const char *);
   2209 extern int printf (const char *, ...);
   2210 extern int dprintf (int, const char *, ...);
   2211 extern void *malloc (size_t);
   2212 extern void free (void *);
   2213 
   2214 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2215 // dprintf is used instead of fprintf to avoid needing to declare
   2216 // FILE and stderr.
   2217 #define debug(...) dprintf (2, __VA_ARGS__)
   2218 #define showlist(...) puts (#__VA_ARGS__)
   2219 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2220 static void
   2221 test_varargs_macros (void)
   2222 {
   2223   int x = 1234;
   2224   int y = 5678;
   2225   debug ("Flag");
   2226   debug ("X = %d\n", x);
   2227   showlist (The first, second, and third items.);
   2228   report (x>y, "x is %d but y is %d", x, y);
   2229 }
   2230 
   2231 // Check long long types.
   2232 #define BIG64 18446744073709551615ull
   2233 #define BIG32 4294967295ul
   2234 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2235 #if !BIG_OK
   2236   #error "your preprocessor is broken"
   2237 #endif
   2238 #if BIG_OK
   2239 #else
   2240   #error "your preprocessor is broken"
   2241 #endif
   2242 static long long int bignum = -9223372036854775807LL;
   2243 static unsigned long long int ubignum = BIG64;
   2244 
   2245 struct incomplete_array
   2246 {
   2247   int datasize;
   2248   double data[];
   2249 };
   2250 
   2251 struct named_init {
   2252   int number;
   2253   const wchar_t *name;
   2254   double average;
   2255 };
   2256 
   2257 typedef const char *ccp;
   2258 
   2259 static inline int
   2260 test_restrict (ccp restrict text)
   2261 {
   2262   // Iterate through items via the restricted pointer.
   2263   // Also check for declarations in for loops.
   2264   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2265     continue;
   2266   return 0;
   2267 }
   2268 
   2269 // Check varargs and va_copy.
   2270 static bool
   2271 test_varargs (const char *format, ...)
   2272 {
   2273   va_list args;
   2274   va_start (args, format);
   2275   va_list args_copy;
   2276   va_copy (args_copy, args);
   2277 
   2278   const char *str = "";
   2279   int number = 0;
   2280   float fnumber = 0;
   2281 
   2282   while (*format)
   2283     {
   2284       switch (*format++)
   2285 	{
   2286 	case '\''s'\'': // string
   2287 	  str = va_arg (args_copy, const char *);
   2288 	  break;
   2289 	case '\''d'\'': // int
   2290 	  number = va_arg (args_copy, int);
   2291 	  break;
   2292 	case '\''f'\'': // float
   2293 	  fnumber = va_arg (args_copy, double);
   2294 	  break;
   2295 	default:
   2296 	  break;
   2297 	}
   2298     }
   2299   va_end (args_copy);
   2300   va_end (args);
   2301 
   2302   return *str && number && fnumber;
   2303 }
   2304 '
   2305 
   2306 # Test code for whether the C compiler supports C99 (body of main).
   2307 ac_c_conftest_c99_main='
   2308   // Check bool.
   2309   _Bool success = false;
   2310   success |= (argc != 0);
   2311 
   2312   // Check restrict.
   2313   if (test_restrict ("String literal") == 0)
   2314     success = true;
   2315   char *restrict newvar = "Another string";
   2316 
   2317   // Check varargs.
   2318   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2319   test_varargs_macros ();
   2320 
   2321   // Check flexible array members.
   2322   struct incomplete_array *ia =
   2323     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2324   ia->datasize = 10;
   2325   for (int i = 0; i < ia->datasize; ++i)
   2326     ia->data[i] = i * 1.234;
   2327   // Work around memory leak warnings.
   2328   free (ia);
   2329 
   2330   // Check named initializers.
   2331   struct named_init ni = {
   2332     .number = 34,
   2333     .name = L"Test wide string",
   2334     .average = 543.34343,
   2335   };
   2336 
   2337   ni.number = 58;
   2338 
   2339   int dynamic_array[ni.number];
   2340   dynamic_array[0] = argv[0][0];
   2341   dynamic_array[ni.number - 1] = 543;
   2342 
   2343   // work around unused variable warnings
   2344   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2345 	 || dynamic_array[ni.number - 1] != 543);
   2346 '
   2347 
   2348 # Test code for whether the C compiler supports C11 (global declarations)
   2349 ac_c_conftest_c11_globals='
   2350 /* Does the compiler advertise C11 conformance? */
   2351 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2352 # error "Compiler does not advertise C11 conformance"
   2353 #endif
   2354 
   2355 // Check _Alignas.
   2356 char _Alignas (double) aligned_as_double;
   2357 char _Alignas (0) no_special_alignment;
   2358 extern char aligned_as_int;
   2359 char _Alignas (0) _Alignas (int) aligned_as_int;
   2360 
   2361 // Check _Alignof.
   2362 enum
   2363 {
   2364   int_alignment = _Alignof (int),
   2365   int_array_alignment = _Alignof (int[100]),
   2366   char_alignment = _Alignof (char)
   2367 };
   2368 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2369 
   2370 // Check _Noreturn.
   2371 int _Noreturn does_not_return (void) { for (;;) continue; }
   2372 
   2373 // Check _Static_assert.
   2374 struct test_static_assert
   2375 {
   2376   int x;
   2377   _Static_assert (sizeof (int) <= sizeof (long int),
   2378                   "_Static_assert does not work in struct");
   2379   long int y;
   2380 };
   2381 
   2382 // Check UTF-8 literals.
   2383 #define u8 syntax error!
   2384 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2385 
   2386 // Check duplicate typedefs.
   2387 typedef long *long_ptr;
   2388 typedef long int *long_ptr;
   2389 typedef long_ptr long_ptr;
   2390 
   2391 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2392 struct anonymous
   2393 {
   2394   union {
   2395     struct { int i; int j; };
   2396     struct { int k; long int l; } w;
   2397   };
   2398   int m;
   2399 } v1;
   2400 '
   2401 
   2402 # Test code for whether the C compiler supports C11 (body of main).
   2403 ac_c_conftest_c11_main='
   2404   _Static_assert ((offsetof (struct anonymous, i)
   2405 		   == offsetof (struct anonymous, w.k)),
   2406 		  "Anonymous union alignment botch");
   2407   v1.i = 2;
   2408   v1.w.k = 5;
   2409   ok |= v1.i != 5;
   2410 '
   2411 
   2412 # Test code for whether the C compiler supports C11 (complete).
   2413 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2414 ${ac_c_conftest_c99_globals}
   2415 ${ac_c_conftest_c11_globals}
   2416 
   2417 int
   2418 main (int argc, char **argv)
   2419 {
   2420   int ok = 0;
   2421   ${ac_c_conftest_c89_main}
   2422   ${ac_c_conftest_c99_main}
   2423   ${ac_c_conftest_c11_main}
   2424   return ok;
   2425 }
   2426 "
   2427 
   2428 # Test code for whether the C compiler supports C99 (complete).
   2429 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2430 ${ac_c_conftest_c99_globals}
   2431 
   2432 int
   2433 main (int argc, char **argv)
   2434 {
   2435   int ok = 0;
   2436   ${ac_c_conftest_c89_main}
   2437   ${ac_c_conftest_c99_main}
   2438   return ok;
   2439 }
   2440 "
   2441 
   2442 # Test code for whether the C compiler supports C89 (complete).
   2443 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2444 
   2445 int
   2446 main (int argc, char **argv)
   2447 {
   2448   int ok = 0;
   2449   ${ac_c_conftest_c89_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2455 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2456 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2457 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2458 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2459 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2460 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2461 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2462 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2463 
   2464 # Auxiliary files required by this configure script.
   2465 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2466 
   2467 # Locations in which to look for auxiliary files.
   2468 ac_aux_dir_candidates="${srcdir}/."
   2469 
   2470 # Search for a directory containing all of the required auxiliary files,
   2471 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2472 # If we don't find one directory that contains all the files we need,
   2473 # we report the set of missing files from the *first* directory in
   2474 # $ac_aux_dir_candidates and give up.
   2475 ac_missing_aux_files=""
   2476 ac_first_candidate=:
   2477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 as_found=false
   2480 for as_dir in $ac_aux_dir_candidates
   2481 do
   2482   IFS=$as_save_IFS
   2483   case $as_dir in #(((
   2484     '') as_dir=./ ;;
   2485     */) ;;
   2486     *) as_dir=$as_dir/ ;;
   2487   esac
   2488   as_found=:
   2489 
   2490   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2491   ac_aux_dir_found=yes
   2492   ac_install_sh=
   2493   for ac_aux in $ac_aux_files
   2494   do
   2495     # As a special case, if "install-sh" is required, that requirement
   2496     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2497     # and $ac_install_sh is set appropriately for whichever one is found.
   2498     if test x"$ac_aux" = x"install-sh"
   2499     then
   2500       if test -f "${as_dir}install-sh"; then
   2501         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2502         ac_install_sh="${as_dir}install-sh -c"
   2503       elif test -f "${as_dir}install.sh"; then
   2504         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2505         ac_install_sh="${as_dir}install.sh -c"
   2506       elif test -f "${as_dir}shtool"; then
   2507         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2508         ac_install_sh="${as_dir}shtool install -c"
   2509       else
   2510         ac_aux_dir_found=no
   2511         if $ac_first_candidate; then
   2512           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2513         else
   2514           break
   2515         fi
   2516       fi
   2517     else
   2518       if test -f "${as_dir}${ac_aux}"; then
   2519         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2520       else
   2521         ac_aux_dir_found=no
   2522         if $ac_first_candidate; then
   2523           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2524         else
   2525           break
   2526         fi
   2527       fi
   2528     fi
   2529   done
   2530   if test "$ac_aux_dir_found" = yes; then
   2531     ac_aux_dir="$as_dir"
   2532     break
   2533   fi
   2534   ac_first_candidate=false
   2535 
   2536   as_found=false
   2537 done
   2538 IFS=$as_save_IFS
   2539 if $as_found
   2540 then :
   2541 
   2542 else case e in #(
   2543   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2544 esac
   2545 fi
   2546 
   2547 
   2548 # These three variables are undocumented and unsupported,
   2549 # and are intended to be withdrawn in a future Autoconf release.
   2550 # They can cause serious problems if a builder's source tree is in a directory
   2551 # whose full name contains unusual characters.
   2552 if test -f "${ac_aux_dir}config.guess"; then
   2553   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2554 fi
   2555 if test -f "${ac_aux_dir}config.sub"; then
   2556   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2557 fi
   2558 if test -f "$ac_aux_dir/configure"; then
   2559   ac_configure="$SHELL ${ac_aux_dir}configure"
   2560 fi
   2561 
   2562 # Check that the precious variables saved in the cache have kept the same
   2563 # value.
   2564 ac_cache_corrupted=false
   2565 for ac_var in $ac_precious_vars; do
   2566   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2567   eval ac_new_set=\$ac_env_${ac_var}_set
   2568   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2569   eval ac_new_val=\$ac_env_${ac_var}_value
   2570   case $ac_old_set,$ac_new_set in
   2571     set,)
   2572       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2573 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2574       ac_cache_corrupted=: ;;
   2575     ,set)
   2576       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2577 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2578       ac_cache_corrupted=: ;;
   2579     ,);;
   2580     *)
   2581       if test "x$ac_old_val" != "x$ac_new_val"; then
   2582 	# differences in whitespace do not lead to failure.
   2583 	ac_old_val_w=`echo x $ac_old_val`
   2584 	ac_new_val_w=`echo x $ac_new_val`
   2585 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2586 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2587 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2588 	  ac_cache_corrupted=:
   2589 	else
   2590 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2591 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2592 	  eval $ac_var=\$ac_old_val
   2593 	fi
   2594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2595 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2597 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2598       fi;;
   2599   esac
   2600   # Pass precious variables to config.status.
   2601   if test "$ac_new_set" = set; then
   2602     case $ac_new_val in
   2603     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2604     *) ac_arg=$ac_var=$ac_new_val ;;
   2605     esac
   2606     case " $ac_configure_args " in
   2607       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2608       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2609     esac
   2610   fi
   2611 done
   2612 if $ac_cache_corrupted; then
   2613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2614 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2616 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2617   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2618 	    and start over" "$LINENO" 5
   2619 fi
   2620 ## -------------------- ##
   2621 ## Main body of script. ##
   2622 ## -------------------- ##
   2623 
   2624 ac_ext=c
   2625 ac_cpp='$CPP $CPPFLAGS'
   2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2629 
   2630 
   2631 
   2632 ac_config_headers="$ac_config_headers config.h"
   2633 
   2634 
   2635 
   2636 
   2637 # Initialize Automake
   2638 am__api_version='1.18'
   2639 
   2640 
   2641 
   2642   # Find a good install program.  We prefer a C program (faster),
   2643 # so one script is as good as another.  But avoid the broken or
   2644 # incompatible versions:
   2645 # SysV /etc/install, /usr/sbin/install
   2646 # SunOS /usr/etc/install
   2647 # IRIX /sbin/install
   2648 # AIX /bin/install
   2649 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2653 # OS/2's system install, which has a completely different semantic
   2654 # ./install, which can be erroneously created by make from ./install.sh.
   2655 # Reject install programs that cannot install multiple files.
   2656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2657 printf %s "checking for a BSD-compatible install... " >&6; }
   2658 if test -z "$INSTALL"; then
   2659 if test ${ac_cv_path_install+y}
   2660 then :
   2661   printf %s "(cached) " >&6
   2662 else case e in #(
   2663   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2664 for as_dir in $PATH
   2665 do
   2666   IFS=$as_save_IFS
   2667   case $as_dir in #(((
   2668     '') as_dir=./ ;;
   2669     */) ;;
   2670     *) as_dir=$as_dir/ ;;
   2671   esac
   2672     # Account for fact that we put trailing slashes in our PATH walk.
   2673 case $as_dir in #((
   2674   ./ | /[cC]/* | \
   2675   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2676   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2677   /usr/ucb/* ) ;;
   2678   *)
   2679     # OSF1 and SCO ODT 3.0 have their own names for install.
   2680     # Don't use installbsd from OSF since it installs stuff as root
   2681     # by default.
   2682     for ac_prog in ginstall scoinst install; do
   2683       for ac_exec_ext in '' $ac_executable_extensions; do
   2684 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2685 	  if test $ac_prog = install &&
   2686 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2687 	    # AIX install.  It has an incompatible calling convention.
   2688 	    :
   2689 	  elif test $ac_prog = install &&
   2690 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2691 	    # program-specific install script used by HP pwplus--don't use.
   2692 	    :
   2693 	  else
   2694 	    rm -rf conftest.one conftest.two conftest.dir
   2695 	    echo one > conftest.one
   2696 	    echo two > conftest.two
   2697 	    mkdir conftest.dir
   2698 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2699 	      test -s conftest.one && test -s conftest.two &&
   2700 	      test -s conftest.dir/conftest.one &&
   2701 	      test -s conftest.dir/conftest.two
   2702 	    then
   2703 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2704 	      break 3
   2705 	    fi
   2706 	  fi
   2707 	fi
   2708       done
   2709     done
   2710     ;;
   2711 esac
   2712 
   2713   done
   2714 IFS=$as_save_IFS
   2715 
   2716 rm -rf conftest.one conftest.two conftest.dir
   2717  ;;
   2718 esac
   2719 fi
   2720   if test ${ac_cv_path_install+y}; then
   2721     INSTALL=$ac_cv_path_install
   2722   else
   2723     # As a last resort, use the slow shell script.  Don't cache a
   2724     # value for INSTALL within a source directory, because that will
   2725     # break other packages using the cache if that directory is
   2726     # removed, or if the value is a relative name.
   2727     INSTALL=$ac_install_sh
   2728   fi
   2729 fi
   2730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2731 printf "%s\n" "$INSTALL" >&6; }
   2732 
   2733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2734 # It thinks the first close brace ends the variable substitution.
   2735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2736 
   2737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2738 
   2739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2740 
   2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2742 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2743 if test ${am_cv_sleep_fractional_seconds+y}
   2744 then :
   2745   printf %s "(cached) " >&6
   2746 else case e in #(
   2747   e) if sleep 0.001 2>/dev/null
   2748 then :
   2749   am_cv_sleep_fractional_seconds=yes
   2750 else case e in #(
   2751   e) am_cv_sleep_fractional_seconds=no ;;
   2752 esac
   2753 fi
   2754  ;;
   2755 esac
   2756 fi
   2757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2758 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2759 
   2760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2761 printf %s "checking filesystem timestamp resolution... " >&6; }
   2762 if test ${am_cv_filesystem_timestamp_resolution+y}
   2763 then :
   2764   printf %s "(cached) " >&6
   2765 else case e in #(
   2766   e) # Default to the worst case.
   2767 am_cv_filesystem_timestamp_resolution=2
   2768 
   2769 # Only try to go finer than 1 sec if sleep can do it.
   2770 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2771 # - 1 sec is not much of a win compared to 2 sec, and
   2772 # - it takes 2 seconds to perform the test whether 1 sec works.
   2773 #
   2774 # Instead, just use the default 2s on platforms that have 1s resolution,
   2775 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2776 # exchange for not incurring the 2s delay for running the test for all
   2777 # packages.
   2778 #
   2779 am_try_resolutions=
   2780 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2781   # Even a millisecond often causes a bunch of false positives,
   2782   # so just try a hundredth of a second. The time saved between .001 and
   2783   # .01 is not terribly consequential.
   2784   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2785 fi
   2786 
   2787 # In order to catch current-generation FAT out, we must *modify* files
   2788 # that already exist; the *creation* timestamp is finer.  Use names
   2789 # that make ls -t sort them differently when they have equal
   2790 # timestamps than when they have distinct timestamps, keeping
   2791 # in mind that ls -t prints the *newest* file first.
   2792 rm -f conftest.ts?
   2793 : > conftest.ts1
   2794 : > conftest.ts2
   2795 : > conftest.ts3
   2796 
   2797 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2798 # clobber the current shell's arguments. (Outer-level square brackets
   2799 # are removed by m4; they're present so that m4 does not expand
   2800 # <dollar><star>; be careful, easy to get confused.)
   2801 if (
   2802      set X `ls -t conftest.ts[12]` &&
   2803      {
   2804        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2805        test "$*" != "X conftest.ts2 conftest.ts1";
   2806      }
   2807 ); then :; else
   2808   # If neither matched, then we have a broken ls.  This can happen
   2809   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2810   # broken ls alias from the environment.  This has actually
   2811   # happened.  Such a system could not be considered "sane".
   2812   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2813   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2814 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2815 as_fn_error $? "ls -t produces unexpected output.
   2816 Make sure there is not a broken ls alias in your environment.
   2817 See 'config.log' for more details" "$LINENO" 5; }
   2818 fi
   2819 
   2820 for am_try_res in $am_try_resolutions; do
   2821   # Any one fine-grained sleep might happen to cross the boundary
   2822   # between two values of a coarser actual resolution, but if we do
   2823   # two fine-grained sleeps in a row, at least one of them will fall
   2824   # entirely within a coarse interval.
   2825   echo alpha > conftest.ts1
   2826   sleep $am_try_res
   2827   echo beta > conftest.ts2
   2828   sleep $am_try_res
   2829   echo gamma > conftest.ts3
   2830 
   2831   # We assume that 'ls -t' will make use of high-resolution
   2832   # timestamps if the operating system supports them at all.
   2833   if (set X `ls -t conftest.ts?` &&
   2834       test "$2" = conftest.ts3 &&
   2835       test "$3" = conftest.ts2 &&
   2836       test "$4" = conftest.ts1); then
   2837     #
   2838     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2839     # because we don't need to test make.
   2840     make_ok=true
   2841     if test $am_try_res != 1; then
   2842       # But if we've succeeded so far with a subsecond resolution, we
   2843       # have one more thing to check: make. It can happen that
   2844       # everything else supports the subsecond mtimes, but make doesn't;
   2845       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2846       # released under GPLv2). https://bugs.gnu.org/68808
   2847       #
   2848       # We test $MAKE if it is defined in the environment, else "make".
   2849       # It might get overridden later, but our hope is that in practice
   2850       # it does not matter: it is the system "make" which is (by far)
   2851       # the most likely to be broken, whereas if the user overrides it,
   2852       # probably they did so with a better, or at least not worse, make.
   2853       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2854       #
   2855       # Create a Makefile (real tab character here):
   2856       rm -f conftest.mk
   2857       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2858       echo '	touch conftest.ts2' >>conftest.mk
   2859       #
   2860       # Now, running
   2861       #   touch conftest.ts1; touch conftest.ts2; make
   2862       # should touch ts1 because ts2 is newer. This could happen by luck,
   2863       # but most often, it will fail if make's support is insufficient. So
   2864       # test for several consecutive successes.
   2865       #
   2866       # (We reuse conftest.ts[12] because we still want to modify existing
   2867       # files, not create new ones, per above.)
   2868       n=0
   2869       make=${MAKE-make}
   2870       until test $n -eq 3; do
   2871         echo one > conftest.ts1
   2872         sleep $am_try_res
   2873         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2874         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2875           make_ok=false
   2876           break # out of $n loop
   2877         fi
   2878         n=`expr $n + 1`
   2879       done
   2880     fi
   2881     #
   2882     if $make_ok; then
   2883       # Everything we know to check worked out, so call this resolution good.
   2884       am_cv_filesystem_timestamp_resolution=$am_try_res
   2885       break # out of $am_try_res loop
   2886     fi
   2887     # Otherwise, we'll go on to check the next resolution.
   2888   fi
   2889 done
   2890 rm -f conftest.ts?
   2891 # (end _am_filesystem_timestamp_resolution)
   2892  ;;
   2893 esac
   2894 fi
   2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2896 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2897 
   2898 # This check should not be cached, as it may vary across builds of
   2899 # different projects.
   2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2901 printf %s "checking whether build environment is sane... " >&6; }
   2902 # Reject unsafe characters in $srcdir or the absolute working directory
   2903 # name.  Accept space and tab only in the latter.
   2904 am_lf='
   2905 '
   2906 case `pwd` in
   2907   *[\\\"\#\$\&\'\`$am_lf]*)
   2908     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 printf "%s\n" "no" >&6; }
   2910     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2911 esac
   2912 case $srcdir in
   2913   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2914     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2915 printf "%s\n" "no" >&6; }
   2916     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2917 esac
   2918 
   2919 # Do 'set' in a subshell so we don't clobber the current shell's
   2920 # arguments.  Must try -L first in case configure is actually a
   2921 # symlink; some systems play weird games with the mod time of symlinks
   2922 # (eg FreeBSD returns the mod time of the symlink's containing
   2923 # directory).
   2924 am_build_env_is_sane=no
   2925 am_has_slept=no
   2926 rm -f conftest.file
   2927 for am_try in 1 2; do
   2928   echo "timestamp, slept: $am_has_slept" > conftest.file
   2929   if (
   2930     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2931     if test "$*" = "X"; then
   2932       # -L didn't work.
   2933       set X `ls -t "$srcdir/configure" conftest.file`
   2934     fi
   2935     test "$2" = conftest.file
   2936   ); then
   2937     am_build_env_is_sane=yes
   2938     break
   2939   fi
   2940   # Just in case.
   2941   sleep "$am_cv_filesystem_timestamp_resolution"
   2942   am_has_slept=yes
   2943 done
   2944 
   2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2946 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2947 if test "$am_build_env_is_sane" = no; then
   2948   as_fn_error $? "newly created file is older than distributed files!
   2949 Check your system clock" "$LINENO" 5
   2950 fi
   2951 
   2952 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2953 # generated files are strictly newer.
   2954 am_sleep_pid=
   2955 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2956 then :
   2957 
   2958 else case e in #(
   2959   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2960   am_sleep_pid=$!
   2961  ;;
   2962 esac
   2963 fi
   2964 
   2965 rm -f conftest.file
   2966 
   2967 test "$program_prefix" != NONE &&
   2968   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2969 # Use a double $ so make ignores it.
   2970 test "$program_suffix" != NONE &&
   2971   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2972 # Double any \ or $.
   2973 # By default was 's,x,x', remove it if useless.
   2974 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2975 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2976 
   2977 
   2978 # Expand $ac_aux_dir to an absolute path.
   2979 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2980 
   2981 
   2982   if test x"${MISSING+set}" != xset; then
   2983   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2984 fi
   2985 # Use eval to expand $SHELL
   2986 if eval "$MISSING --is-lightweight"; then
   2987   am_missing_run="$MISSING "
   2988 else
   2989   am_missing_run=
   2990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2991 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2992 fi
   2993 
   2994 if test x"${install_sh+set}" != xset; then
   2995   case $am_aux_dir in
   2996   *\ * | *\	*)
   2997     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2998   *)
   2999     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3000   esac
   3001 fi
   3002 
   3003 # Installed binaries are usually stripped using 'strip' when the user
   3004 # run "make install-strip".  However 'strip' might not be the right
   3005 # tool to use in cross-compilation environments, therefore Automake
   3006 # will honor the 'STRIP' environment variable to overrule this program.
   3007 if test "$cross_compiling" != no; then
   3008   if test -n "$ac_tool_prefix"; then
   3009   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3010 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 printf %s "checking for $ac_word... " >&6; }
   3013 if test ${ac_cv_prog_STRIP+y}
   3014 then :
   3015   printf %s "(cached) " >&6
   3016 else case e in #(
   3017   e) if test -n "$STRIP"; then
   3018   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3019 else
   3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3021 for as_dir in $PATH
   3022 do
   3023   IFS=$as_save_IFS
   3024   case $as_dir in #(((
   3025     '') as_dir=./ ;;
   3026     */) ;;
   3027     *) as_dir=$as_dir/ ;;
   3028   esac
   3029     for ac_exec_ext in '' $ac_executable_extensions; do
   3030   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3031     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3032     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 fi ;;
   3040 esac
   3041 fi
   3042 STRIP=$ac_cv_prog_STRIP
   3043 if test -n "$STRIP"; then
   3044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3045 printf "%s\n" "$STRIP" >&6; }
   3046 else
   3047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3048 printf "%s\n" "no" >&6; }
   3049 fi
   3050 
   3051 
   3052 fi
   3053 if test -z "$ac_cv_prog_STRIP"; then
   3054   ac_ct_STRIP=$STRIP
   3055   # Extract the first word of "strip", so it can be a program name with args.
   3056 set dummy strip; ac_word=$2
   3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3058 printf %s "checking for $ac_word... " >&6; }
   3059 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3060 then :
   3061   printf %s "(cached) " >&6
   3062 else case e in #(
   3063   e) if test -n "$ac_ct_STRIP"; then
   3064   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3065 else
   3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3067 for as_dir in $PATH
   3068 do
   3069   IFS=$as_save_IFS
   3070   case $as_dir in #(((
   3071     '') as_dir=./ ;;
   3072     */) ;;
   3073     *) as_dir=$as_dir/ ;;
   3074   esac
   3075     for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3077     ac_cv_prog_ac_ct_STRIP="strip"
   3078     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082   done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi ;;
   3086 esac
   3087 fi
   3088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3089 if test -n "$ac_ct_STRIP"; then
   3090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3091 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3092 else
   3093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3094 printf "%s\n" "no" >&6; }
   3095 fi
   3096 
   3097   if test "x$ac_ct_STRIP" = x; then
   3098     STRIP=":"
   3099   else
   3100     case $cross_compiling:$ac_tool_warned in
   3101 yes:)
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3103 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3104 ac_tool_warned=yes ;;
   3105 esac
   3106     STRIP=$ac_ct_STRIP
   3107   fi
   3108 else
   3109   STRIP="$ac_cv_prog_STRIP"
   3110 fi
   3111 
   3112 fi
   3113 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3114 
   3115 
   3116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3117 printf %s "checking for a race-free mkdir -p... " >&6; }
   3118 if test -z "$MKDIR_P"; then
   3119   if test ${ac_cv_path_mkdir+y}
   3120 then :
   3121   printf %s "(cached) " >&6
   3122 else case e in #(
   3123   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3124 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3125 do
   3126   IFS=$as_save_IFS
   3127   case $as_dir in #(((
   3128     '') as_dir=./ ;;
   3129     */) ;;
   3130     *) as_dir=$as_dir/ ;;
   3131   esac
   3132     for ac_prog in mkdir gmkdir; do
   3133 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3134 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3135 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3136 	     'mkdir ('*'coreutils) '* | \
   3137 	     *'BusyBox '* | \
   3138 	     'mkdir (fileutils) '4.1*)
   3139 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3140 	       break 3;;
   3141 	   esac
   3142 	 done
   3143        done
   3144   done
   3145 IFS=$as_save_IFS
   3146  ;;
   3147 esac
   3148 fi
   3149 
   3150   test -d ./--version && rmdir ./--version
   3151   if test ${ac_cv_path_mkdir+y}; then
   3152     MKDIR_P="$ac_cv_path_mkdir -p"
   3153   else
   3154     # As a last resort, use plain mkdir -p,
   3155     # in the hope it doesn't have the bugs of ancient mkdir.
   3156     MKDIR_P='mkdir -p'
   3157   fi
   3158 fi
   3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3160 printf "%s\n" "$MKDIR_P" >&6; }
   3161 
   3162 for ac_prog in gawk mawk nawk awk
   3163 do
   3164   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3165 set dummy $ac_prog; ac_word=$2
   3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3167 printf %s "checking for $ac_word... " >&6; }
   3168 if test ${ac_cv_prog_AWK+y}
   3169 then :
   3170   printf %s "(cached) " >&6
   3171 else case e in #(
   3172   e) if test -n "$AWK"; then
   3173   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3174 else
   3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3176 for as_dir in $PATH
   3177 do
   3178   IFS=$as_save_IFS
   3179   case $as_dir in #(((
   3180     '') as_dir=./ ;;
   3181     */) ;;
   3182     *) as_dir=$as_dir/ ;;
   3183   esac
   3184     for ac_exec_ext in '' $ac_executable_extensions; do
   3185   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3186     ac_cv_prog_AWK="$ac_prog"
   3187     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3188     break 2
   3189   fi
   3190 done
   3191   done
   3192 IFS=$as_save_IFS
   3193 
   3194 fi ;;
   3195 esac
   3196 fi
   3197 AWK=$ac_cv_prog_AWK
   3198 if test -n "$AWK"; then
   3199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3200 printf "%s\n" "$AWK" >&6; }
   3201 else
   3202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3203 printf "%s\n" "no" >&6; }
   3204 fi
   3205 
   3206 
   3207   test -n "$AWK" && break
   3208 done
   3209 
   3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3211 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3212 set x ${MAKE-make}
   3213 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3214 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3215 then :
   3216   printf %s "(cached) " >&6
   3217 else case e in #(
   3218   e) cat >conftest.make <<\_ACEOF
   3219 SHELL = /bin/sh
   3220 all:
   3221 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3222 _ACEOF
   3223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3225   *@@@%%%=?*=@@@%%%*)
   3226     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3227   *)
   3228     eval ac_cv_prog_make_${ac_make}_set=no;;
   3229 esac
   3230 rm -f conftest.make ;;
   3231 esac
   3232 fi
   3233 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3235 printf "%s\n" "yes" >&6; }
   3236   SET_MAKE=
   3237 else
   3238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3239 printf "%s\n" "no" >&6; }
   3240   SET_MAKE="MAKE=${MAKE-make}"
   3241 fi
   3242 
   3243 rm -rf .tst 2>/dev/null
   3244 mkdir .tst 2>/dev/null
   3245 if test -d .tst; then
   3246   am__leading_dot=.
   3247 else
   3248   am__leading_dot=_
   3249 fi
   3250 rmdir .tst 2>/dev/null
   3251 
   3252 AM_DEFAULT_VERBOSITY=1
   3253 # Check whether --enable-silent-rules was given.
   3254 if test ${enable_silent_rules+y}
   3255 then :
   3256   enableval=$enable_silent_rules;
   3257 fi
   3258 
   3259 am_make=${MAKE-make}
   3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3261 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3262 if test ${am_cv_make_support_nested_variables+y}
   3263 then :
   3264   printf %s "(cached) " >&6
   3265 else case e in #(
   3266   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3267 BAR0=false
   3268 BAR1=true
   3269 V=1
   3270 am__doit:
   3271 	@$(TRUE)
   3272 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3273   am_cv_make_support_nested_variables=yes
   3274 else
   3275   am_cv_make_support_nested_variables=no
   3276 fi ;;
   3277 esac
   3278 fi
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3280 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3281 AM_BACKSLASH='\'
   3282 
   3283 am__rm_f_notfound=
   3284 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3285 then :
   3286 
   3287 else case e in #(
   3288   e) am__rm_f_notfound='""' ;;
   3289 esac
   3290 fi
   3291 
   3292 
   3293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3294 printf %s "checking xargs -n works... " >&6; }
   3295 if test ${am_cv_xargs_n_works+y}
   3296 then :
   3297   printf %s "(cached) " >&6
   3298 else case e in #(
   3299   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3300 3"
   3301 then :
   3302   am_cv_xargs_n_works=yes
   3303 else case e in #(
   3304   e) am_cv_xargs_n_works=no ;;
   3305 esac
   3306 fi ;;
   3307 esac
   3308 fi
   3309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3310 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3311 if test "$am_cv_xargs_n_works" = yes
   3312 then :
   3313   am__xargs_n='xargs -n'
   3314 else case e in #(
   3315   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3316  ;;
   3317 esac
   3318 fi
   3319 
   3320 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3321   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3322   # is not polluted with repeated "-I."
   3323   am__isrc=' -I$(srcdir)'
   3324   # test to see if srcdir already configured
   3325   if test -f $srcdir/config.status; then
   3326     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3327   fi
   3328 fi
   3329 
   3330 # test whether we have cygpath
   3331 if test -z "$CYGPATH_W"; then
   3332   if (cygpath --version) >/dev/null 2>/dev/null; then
   3333     CYGPATH_W='cygpath -w'
   3334   else
   3335     CYGPATH_W=echo
   3336   fi
   3337 fi
   3338 
   3339 
   3340 # Define the identity of the package.
   3341  PACKAGE='libXpresent'
   3342  VERSION='1.0.2'
   3343 
   3344 
   3345 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3346 
   3347 
   3348 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3349 
   3350 # Some tools Automake needs.
   3351 
   3352 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3353 
   3354 
   3355 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3356 
   3357 
   3358 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3359 
   3360 
   3361 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3362 
   3363 
   3364 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3365 
   3366 # For better backward compatibility.  To be removed once Automake 1.9.x
   3367 # dies out for good.  For more background, see:
   3368 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3369 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3370 mkdir_p='$(MKDIR_P)'
   3371 
   3372 # We need awk for the "check" target (and possibly the TAP driver).  The
   3373 # system "awk" is bad on some platforms.
   3374 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3375 # in the wild :-(  We should find a proper way to deprecate it ...
   3376 AMTAR='$${TAR-tar}'
   3377 
   3378 
   3379 # We'll loop over all known methods to create a tar archive until one works.
   3380 _am_tools='gnutar plaintar pax cpio none'
   3381 
   3382 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3383       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3384       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3385       # and bug#13588).
   3386       am_max_uid=2097151 # 2^21 - 1
   3387       am_max_gid=$am_max_uid
   3388       # The $UID and $GID variables are not portable, so we need to resort
   3389       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3390       # below are definitely unexpected, so allow the users to see them
   3391       # (that is, avoid stderr redirection).
   3392       am_uid=`id -u || echo unknown`
   3393       am_gid=`id -g || echo unknown`
   3394       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3395 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3396       if test x$am_uid = xunknown; then
   3397         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3398 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3399       elif test $am_uid -le $am_max_uid; then
   3400         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3401 printf "%s\n" "yes" >&6; }
   3402       else
   3403         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3404 printf "%s\n" "no" >&6; }
   3405         _am_tools=none
   3406       fi
   3407       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3408 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3409       if test x$gm_gid = xunknown; then
   3410         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3411 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3412       elif test $am_gid -le $am_max_gid; then
   3413         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3414 printf "%s\n" "yes" >&6; }
   3415       else
   3416         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3417 printf "%s\n" "no" >&6; }
   3418         _am_tools=none
   3419       fi
   3420 
   3421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3422 printf %s "checking how to create a ustar tar archive... " >&6; }
   3423 
   3424   # Go ahead even if we have the value already cached.  We do so because we
   3425   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3426   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3427 
   3428   for _am_tool in $_am_tools; do
   3429     case $_am_tool in
   3430     gnutar)
   3431       for _am_tar in tar gnutar gtar; do
   3432         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3433    ($_am_tar --version) >&5 2>&5
   3434    ac_status=$?
   3435    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3436    (exit $ac_status); } && break
   3437       done
   3438       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3439       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3440       am__untar="$_am_tar -xf -"
   3441       ;;
   3442     plaintar)
   3443       # Must skip GNU tar: if it does not support --format= it doesn't create
   3444       # ustar tarball either.
   3445       (tar --version) >/dev/null 2>&1 && continue
   3446       am__tar='tar chf - "$$tardir"'
   3447       am__tar_='tar chf - "$tardir"'
   3448       am__untar='tar xf -'
   3449       ;;
   3450     pax)
   3451       am__tar='pax -L -x ustar -w "$$tardir"'
   3452       am__tar_='pax -L -x ustar -w "$tardir"'
   3453       am__untar='pax -r'
   3454       ;;
   3455     cpio)
   3456       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3457       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3458       am__untar='cpio -i -H ustar -d'
   3459       ;;
   3460     none)
   3461       am__tar=false
   3462       am__tar_=false
   3463       am__untar=false
   3464       ;;
   3465     esac
   3466 
   3467     # If the value was cached, stop now.  We just wanted to have am__tar
   3468     # and am__untar set.
   3469     test -n "${am_cv_prog_tar_ustar}" && break
   3470 
   3471     # tar/untar a dummy directory, and stop if the command works.
   3472     rm -rf conftest.dir
   3473     mkdir conftest.dir
   3474     echo GrepMe > conftest.dir/file
   3475     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3476    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3477    ac_status=$?
   3478    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3479    (exit $ac_status); }
   3480     rm -rf conftest.dir
   3481     if test -s conftest.tar; then
   3482       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3483    ($am__untar <conftest.tar) >&5 2>&5
   3484    ac_status=$?
   3485    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3486    (exit $ac_status); }
   3487       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3488    (cat conftest.dir/file) >&5 2>&5
   3489    ac_status=$?
   3490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3491    (exit $ac_status); }
   3492       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3493     fi
   3494   done
   3495   rm -rf conftest.dir
   3496 
   3497   if test ${am_cv_prog_tar_ustar+y}
   3498 then :
   3499   printf %s "(cached) " >&6
   3500 else case e in #(
   3501   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3502 esac
   3503 fi
   3504 
   3505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3506 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3507 
   3508 
   3509 
   3510 
   3511 
   3512 # Variables for tags utilities; see am/tags.am
   3513 if test -z "$CTAGS"; then
   3514   CTAGS=ctags
   3515 fi
   3516 
   3517 if test -z "$ETAGS"; then
   3518   ETAGS=etags
   3519 fi
   3520 
   3521 if test -z "$CSCOPE"; then
   3522   CSCOPE=cscope
   3523 fi
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 # Initialize libtool
   3533 case `pwd` in
   3534   *\ * | *\	*)
   3535     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3536 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3537 esac
   3538 
   3539 
   3540 
   3541 macro_version='2.5.4'
   3542 macro_revision='2.5.4'
   3543 
   3544 
   3545 
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 
   3557 ltmain=$ac_aux_dir/ltmain.sh
   3558 
   3559 
   3560 
   3561   # Make sure we can run config.sub.
   3562 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3563   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3564 
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3566 printf %s "checking build system type... " >&6; }
   3567 if test ${ac_cv_build+y}
   3568 then :
   3569   printf %s "(cached) " >&6
   3570 else case e in #(
   3571   e) ac_build_alias=$build_alias
   3572 test "x$ac_build_alias" = x &&
   3573   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3574 test "x$ac_build_alias" = x &&
   3575   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3576 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3577   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3578  ;;
   3579 esac
   3580 fi
   3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3582 printf "%s\n" "$ac_cv_build" >&6; }
   3583 case $ac_cv_build in
   3584 *-*-*) ;;
   3585 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3586 esac
   3587 build=$ac_cv_build
   3588 ac_save_IFS=$IFS; IFS='-'
   3589 set x $ac_cv_build
   3590 shift
   3591 build_cpu=$1
   3592 build_vendor=$2
   3593 shift; shift
   3594 # Remember, the first character of IFS is used to create $*,
   3595 # except with old shells:
   3596 build_os=$*
   3597 IFS=$ac_save_IFS
   3598 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3599 
   3600 
   3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3602 printf %s "checking host system type... " >&6; }
   3603 if test ${ac_cv_host+y}
   3604 then :
   3605   printf %s "(cached) " >&6
   3606 else case e in #(
   3607   e) if test "x$host_alias" = x; then
   3608   ac_cv_host=$ac_cv_build
   3609 else
   3610   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3611     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3612 fi
   3613  ;;
   3614 esac
   3615 fi
   3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3617 printf "%s\n" "$ac_cv_host" >&6; }
   3618 case $ac_cv_host in
   3619 *-*-*) ;;
   3620 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3621 esac
   3622 host=$ac_cv_host
   3623 ac_save_IFS=$IFS; IFS='-'
   3624 set x $ac_cv_host
   3625 shift
   3626 host_cpu=$1
   3627 host_vendor=$2
   3628 shift; shift
   3629 # Remember, the first character of IFS is used to create $*,
   3630 # except with old shells:
   3631 host_os=$*
   3632 IFS=$ac_save_IFS
   3633 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3634 
   3635 
   3636 # Backslashify metacharacters that are still active within
   3637 # double-quoted strings.
   3638 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3639 
   3640 # Same as above, but do not quote variable references.
   3641 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3642 
   3643 # Sed substitution to delay expansion of an escaped shell variable in a
   3644 # double_quote_subst'ed string.
   3645 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3646 
   3647 # Sed substitution to delay expansion of an escaped single quote.
   3648 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3649 
   3650 # Sed substitution to avoid accidental globbing in evaled expressions
   3651 no_glob_subst='s/\*/\\\*/g'
   3652 
   3653 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3654 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3655 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3656 
   3657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3658 printf %s "checking how to print strings... " >&6; }
   3659 # Test print first, because it will be a builtin if present.
   3660 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3661    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3662   ECHO='print -r --'
   3663 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3664   ECHO='printf %s\n'
   3665 else
   3666   # Use this function as a fallback that always works.
   3667   func_fallback_echo ()
   3668   {
   3669     eval 'cat <<_LTECHO_EOF
   3670 $1
   3671 _LTECHO_EOF'
   3672   }
   3673   ECHO='func_fallback_echo'
   3674 fi
   3675 
   3676 # func_echo_all arg...
   3677 # Invoke $ECHO with all args, space-separated.
   3678 func_echo_all ()
   3679 {
   3680     $ECHO ""
   3681 }
   3682 
   3683 case $ECHO in
   3684   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3685 printf "%s\n" "printf" >&6; } ;;
   3686   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3687 printf "%s\n" "print -r" >&6; } ;;
   3688   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3689 printf "%s\n" "cat" >&6; } ;;
   3690 esac
   3691 
   3692 
   3693 
   3694 
   3695 
   3696 
   3697 
   3698 
   3699 
   3700 
   3701 
   3702 
   3703 
   3704 
   3705 
   3706 
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 
   3714 DEPDIR="${am__leading_dot}deps"
   3715 
   3716 ac_config_commands="$ac_config_commands depfiles"
   3717 
   3718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3719 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3720 cat > confinc.mk << 'END'
   3721 am__doit:
   3722 	@echo this is the am__doit target >confinc.out
   3723 .PHONY: am__doit
   3724 END
   3725 am__include="#"
   3726 am__quote=
   3727 # BSD make does it like this.
   3728 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3729 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3730 echo 'include confinc.mk # ignored' > confmf.GNU
   3731 _am_result=no
   3732 for s in GNU BSD; do
   3733   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3734    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3735    ac_status=$?
   3736    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3737    (exit $ac_status); }
   3738   case $?:`cat confinc.out 2>/dev/null` in #(
   3739   '0:this is the am__doit target') :
   3740     case $s in #(
   3741   BSD) :
   3742     am__include='.include' am__quote='"' ;; #(
   3743   *) :
   3744     am__include='include' am__quote='' ;;
   3745 esac ;; #(
   3746   *) :
   3747      ;;
   3748 esac
   3749   if test "$am__include" != "#"; then
   3750     _am_result="yes ($s style)"
   3751     break
   3752   fi
   3753 done
   3754 rm -f confinc.* confmf.*
   3755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3756 printf "%s\n" "${_am_result}" >&6; }
   3757 
   3758 # Check whether --enable-dependency-tracking was given.
   3759 if test ${enable_dependency_tracking+y}
   3760 then :
   3761   enableval=$enable_dependency_tracking;
   3762 fi
   3763 
   3764 if test "x$enable_dependency_tracking" != xno; then
   3765   am_depcomp="$ac_aux_dir/depcomp"
   3766   AMDEPBACKSLASH='\'
   3767   am__nodep='_no'
   3768 fi
   3769  if test "x$enable_dependency_tracking" != xno; then
   3770   AMDEP_TRUE=
   3771   AMDEP_FALSE='#'
   3772 else
   3773   AMDEP_TRUE='#'
   3774   AMDEP_FALSE=
   3775 fi
   3776 
   3777 
   3778 ac_ext=c
   3779 ac_cpp='$CPP $CPPFLAGS'
   3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3783 if test -n "$ac_tool_prefix"; then
   3784   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3785 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3787 printf %s "checking for $ac_word... " >&6; }
   3788 if test ${ac_cv_prog_CC+y}
   3789 then :
   3790   printf %s "(cached) " >&6
   3791 else case e in #(
   3792   e) if test -n "$CC"; then
   3793   ac_cv_prog_CC="$CC" # Let the user override the test.
   3794 else
   3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3796 for as_dir in $PATH
   3797 do
   3798   IFS=$as_save_IFS
   3799   case $as_dir in #(((
   3800     '') as_dir=./ ;;
   3801     */) ;;
   3802     *) as_dir=$as_dir/ ;;
   3803   esac
   3804     for ac_exec_ext in '' $ac_executable_extensions; do
   3805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3806     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3807     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3808     break 2
   3809   fi
   3810 done
   3811   done
   3812 IFS=$as_save_IFS
   3813 
   3814 fi ;;
   3815 esac
   3816 fi
   3817 CC=$ac_cv_prog_CC
   3818 if test -n "$CC"; then
   3819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3820 printf "%s\n" "$CC" >&6; }
   3821 else
   3822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3823 printf "%s\n" "no" >&6; }
   3824 fi
   3825 
   3826 
   3827 fi
   3828 if test -z "$ac_cv_prog_CC"; then
   3829   ac_ct_CC=$CC
   3830   # Extract the first word of "gcc", so it can be a program name with args.
   3831 set dummy gcc; ac_word=$2
   3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3833 printf %s "checking for $ac_word... " >&6; }
   3834 if test ${ac_cv_prog_ac_ct_CC+y}
   3835 then :
   3836   printf %s "(cached) " >&6
   3837 else case e in #(
   3838   e) if test -n "$ac_ct_CC"; then
   3839   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3840 else
   3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3842 for as_dir in $PATH
   3843 do
   3844   IFS=$as_save_IFS
   3845   case $as_dir in #(((
   3846     '') as_dir=./ ;;
   3847     */) ;;
   3848     *) as_dir=$as_dir/ ;;
   3849   esac
   3850     for ac_exec_ext in '' $ac_executable_extensions; do
   3851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3852     ac_cv_prog_ac_ct_CC="gcc"
   3853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3854     break 2
   3855   fi
   3856 done
   3857   done
   3858 IFS=$as_save_IFS
   3859 
   3860 fi ;;
   3861 esac
   3862 fi
   3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3864 if test -n "$ac_ct_CC"; then
   3865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3866 printf "%s\n" "$ac_ct_CC" >&6; }
   3867 else
   3868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3869 printf "%s\n" "no" >&6; }
   3870 fi
   3871 
   3872   if test "x$ac_ct_CC" = x; then
   3873     CC=""
   3874   else
   3875     case $cross_compiling:$ac_tool_warned in
   3876 yes:)
   3877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3879 ac_tool_warned=yes ;;
   3880 esac
   3881     CC=$ac_ct_CC
   3882   fi
   3883 else
   3884   CC="$ac_cv_prog_CC"
   3885 fi
   3886 
   3887 if test -z "$CC"; then
   3888           if test -n "$ac_tool_prefix"; then
   3889     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3890 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3892 printf %s "checking for $ac_word... " >&6; }
   3893 if test ${ac_cv_prog_CC+y}
   3894 then :
   3895   printf %s "(cached) " >&6
   3896 else case e in #(
   3897   e) if test -n "$CC"; then
   3898   ac_cv_prog_CC="$CC" # Let the user override the test.
   3899 else
   3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3901 for as_dir in $PATH
   3902 do
   3903   IFS=$as_save_IFS
   3904   case $as_dir in #(((
   3905     '') as_dir=./ ;;
   3906     */) ;;
   3907     *) as_dir=$as_dir/ ;;
   3908   esac
   3909     for ac_exec_ext in '' $ac_executable_extensions; do
   3910   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3911     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3912     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3913     break 2
   3914   fi
   3915 done
   3916   done
   3917 IFS=$as_save_IFS
   3918 
   3919 fi ;;
   3920 esac
   3921 fi
   3922 CC=$ac_cv_prog_CC
   3923 if test -n "$CC"; then
   3924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3925 printf "%s\n" "$CC" >&6; }
   3926 else
   3927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3928 printf "%s\n" "no" >&6; }
   3929 fi
   3930 
   3931 
   3932   fi
   3933 fi
   3934 if test -z "$CC"; then
   3935   # Extract the first word of "cc", so it can be a program name with args.
   3936 set dummy cc; ac_word=$2
   3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3938 printf %s "checking for $ac_word... " >&6; }
   3939 if test ${ac_cv_prog_CC+y}
   3940 then :
   3941   printf %s "(cached) " >&6
   3942 else case e in #(
   3943   e) if test -n "$CC"; then
   3944   ac_cv_prog_CC="$CC" # Let the user override the test.
   3945 else
   3946   ac_prog_rejected=no
   3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3948 for as_dir in $PATH
   3949 do
   3950   IFS=$as_save_IFS
   3951   case $as_dir in #(((
   3952     '') as_dir=./ ;;
   3953     */) ;;
   3954     *) as_dir=$as_dir/ ;;
   3955   esac
   3956     for ac_exec_ext in '' $ac_executable_extensions; do
   3957   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3958     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3959        ac_prog_rejected=yes
   3960        continue
   3961      fi
   3962     ac_cv_prog_CC="cc"
   3963     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3964     break 2
   3965   fi
   3966 done
   3967   done
   3968 IFS=$as_save_IFS
   3969 
   3970 if test $ac_prog_rejected = yes; then
   3971   # We found a bogon in the path, so make sure we never use it.
   3972   set dummy $ac_cv_prog_CC
   3973   shift
   3974   if test $# != 0; then
   3975     # We chose a different compiler from the bogus one.
   3976     # However, it has the same basename, so the bogon will be chosen
   3977     # first if we set CC to just the basename; use the full file name.
   3978     shift
   3979     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3980   fi
   3981 fi
   3982 fi ;;
   3983 esac
   3984 fi
   3985 CC=$ac_cv_prog_CC
   3986 if test -n "$CC"; then
   3987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3988 printf "%s\n" "$CC" >&6; }
   3989 else
   3990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3991 printf "%s\n" "no" >&6; }
   3992 fi
   3993 
   3994 
   3995 fi
   3996 if test -z "$CC"; then
   3997   if test -n "$ac_tool_prefix"; then
   3998   for ac_prog in cl.exe
   3999   do
   4000     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4003 printf %s "checking for $ac_word... " >&6; }
   4004 if test ${ac_cv_prog_CC+y}
   4005 then :
   4006   printf %s "(cached) " >&6
   4007 else case e in #(
   4008   e) if test -n "$CC"; then
   4009   ac_cv_prog_CC="$CC" # Let the user override the test.
   4010 else
   4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4012 for as_dir in $PATH
   4013 do
   4014   IFS=$as_save_IFS
   4015   case $as_dir in #(((
   4016     '') as_dir=./ ;;
   4017     */) ;;
   4018     *) as_dir=$as_dir/ ;;
   4019   esac
   4020     for ac_exec_ext in '' $ac_executable_extensions; do
   4021   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4022     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4023     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4024     break 2
   4025   fi
   4026 done
   4027   done
   4028 IFS=$as_save_IFS
   4029 
   4030 fi ;;
   4031 esac
   4032 fi
   4033 CC=$ac_cv_prog_CC
   4034 if test -n "$CC"; then
   4035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4036 printf "%s\n" "$CC" >&6; }
   4037 else
   4038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4039 printf "%s\n" "no" >&6; }
   4040 fi
   4041 
   4042 
   4043     test -n "$CC" && break
   4044   done
   4045 fi
   4046 if test -z "$CC"; then
   4047   ac_ct_CC=$CC
   4048   for ac_prog in cl.exe
   4049 do
   4050   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4051 set dummy $ac_prog; ac_word=$2
   4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4053 printf %s "checking for $ac_word... " >&6; }
   4054 if test ${ac_cv_prog_ac_ct_CC+y}
   4055 then :
   4056   printf %s "(cached) " >&6
   4057 else case e in #(
   4058   e) if test -n "$ac_ct_CC"; then
   4059   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4060 else
   4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4062 for as_dir in $PATH
   4063 do
   4064   IFS=$as_save_IFS
   4065   case $as_dir in #(((
   4066     '') as_dir=./ ;;
   4067     */) ;;
   4068     *) as_dir=$as_dir/ ;;
   4069   esac
   4070     for ac_exec_ext in '' $ac_executable_extensions; do
   4071   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4072     ac_cv_prog_ac_ct_CC="$ac_prog"
   4073     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4074     break 2
   4075   fi
   4076 done
   4077   done
   4078 IFS=$as_save_IFS
   4079 
   4080 fi ;;
   4081 esac
   4082 fi
   4083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4084 if test -n "$ac_ct_CC"; then
   4085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4086 printf "%s\n" "$ac_ct_CC" >&6; }
   4087 else
   4088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4089 printf "%s\n" "no" >&6; }
   4090 fi
   4091 
   4092 
   4093   test -n "$ac_ct_CC" && break
   4094 done
   4095 
   4096   if test "x$ac_ct_CC" = x; then
   4097     CC=""
   4098   else
   4099     case $cross_compiling:$ac_tool_warned in
   4100 yes:)
   4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4103 ac_tool_warned=yes ;;
   4104 esac
   4105     CC=$ac_ct_CC
   4106   fi
   4107 fi
   4108 
   4109 fi
   4110 if test -z "$CC"; then
   4111   if test -n "$ac_tool_prefix"; then
   4112   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4113 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4115 printf %s "checking for $ac_word... " >&6; }
   4116 if test ${ac_cv_prog_CC+y}
   4117 then :
   4118   printf %s "(cached) " >&6
   4119 else case e in #(
   4120   e) if test -n "$CC"; then
   4121   ac_cv_prog_CC="$CC" # Let the user override the test.
   4122 else
   4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4124 for as_dir in $PATH
   4125 do
   4126   IFS=$as_save_IFS
   4127   case $as_dir in #(((
   4128     '') as_dir=./ ;;
   4129     */) ;;
   4130     *) as_dir=$as_dir/ ;;
   4131   esac
   4132     for ac_exec_ext in '' $ac_executable_extensions; do
   4133   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4134     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4135     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4136     break 2
   4137   fi
   4138 done
   4139   done
   4140 IFS=$as_save_IFS
   4141 
   4142 fi ;;
   4143 esac
   4144 fi
   4145 CC=$ac_cv_prog_CC
   4146 if test -n "$CC"; then
   4147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4148 printf "%s\n" "$CC" >&6; }
   4149 else
   4150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4151 printf "%s\n" "no" >&6; }
   4152 fi
   4153 
   4154 
   4155 fi
   4156 if test -z "$ac_cv_prog_CC"; then
   4157   ac_ct_CC=$CC
   4158   # Extract the first word of "clang", so it can be a program name with args.
   4159 set dummy clang; ac_word=$2
   4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4161 printf %s "checking for $ac_word... " >&6; }
   4162 if test ${ac_cv_prog_ac_ct_CC+y}
   4163 then :
   4164   printf %s "(cached) " >&6
   4165 else case e in #(
   4166   e) if test -n "$ac_ct_CC"; then
   4167   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4168 else
   4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4170 for as_dir in $PATH
   4171 do
   4172   IFS=$as_save_IFS
   4173   case $as_dir in #(((
   4174     '') as_dir=./ ;;
   4175     */) ;;
   4176     *) as_dir=$as_dir/ ;;
   4177   esac
   4178     for ac_exec_ext in '' $ac_executable_extensions; do
   4179   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4180     ac_cv_prog_ac_ct_CC="clang"
   4181     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4182     break 2
   4183   fi
   4184 done
   4185   done
   4186 IFS=$as_save_IFS
   4187 
   4188 fi ;;
   4189 esac
   4190 fi
   4191 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4192 if test -n "$ac_ct_CC"; then
   4193   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4194 printf "%s\n" "$ac_ct_CC" >&6; }
   4195 else
   4196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4197 printf "%s\n" "no" >&6; }
   4198 fi
   4199 
   4200   if test "x$ac_ct_CC" = x; then
   4201     CC=""
   4202   else
   4203     case $cross_compiling:$ac_tool_warned in
   4204 yes:)
   4205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4207 ac_tool_warned=yes ;;
   4208 esac
   4209     CC=$ac_ct_CC
   4210   fi
   4211 else
   4212   CC="$ac_cv_prog_CC"
   4213 fi
   4214 
   4215 fi
   4216 
   4217 
   4218 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4219 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4220 as_fn_error $? "no acceptable C compiler found in \$PATH
   4221 See 'config.log' for more details" "$LINENO" 5; }
   4222 
   4223 # Provide some information about the compiler.
   4224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4225 set X $ac_compile
   4226 ac_compiler=$2
   4227 for ac_option in --version -v -V -qversion -version; do
   4228   { { ac_try="$ac_compiler $ac_option >&5"
   4229 case "(($ac_try" in
   4230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4231   *) ac_try_echo=$ac_try;;
   4232 esac
   4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4234 printf "%s\n" "$ac_try_echo"; } >&5
   4235   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4236   ac_status=$?
   4237   if test -s conftest.err; then
   4238     sed '10a\
   4239 ... rest of stderr output deleted ...
   4240          10q' conftest.err >conftest.er1
   4241     cat conftest.er1 >&5
   4242   fi
   4243   rm -f conftest.er1 conftest.err
   4244   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4245   test $ac_status = 0; }
   4246 done
   4247 
   4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4249 /* end confdefs.h.  */
   4250 
   4251 int
   4252 main (void)
   4253 {
   4254 
   4255   ;
   4256   return 0;
   4257 }
   4258 _ACEOF
   4259 ac_clean_files_save=$ac_clean_files
   4260 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4261 # Try to create an executable without -o first, disregard a.out.
   4262 # It will help us diagnose broken compilers, and finding out an intuition
   4263 # of exeext.
   4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4265 printf %s "checking whether the C compiler works... " >&6; }
   4266 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4267 
   4268 # The possible output files:
   4269 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4270 
   4271 ac_rmfiles=
   4272 for ac_file in $ac_files
   4273 do
   4274   case $ac_file in
   4275     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4276     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4277   esac
   4278 done
   4279 rm -f $ac_rmfiles
   4280 
   4281 if { { ac_try="$ac_link_default"
   4282 case "(($ac_try" in
   4283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4284   *) ac_try_echo=$ac_try;;
   4285 esac
   4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4287 printf "%s\n" "$ac_try_echo"; } >&5
   4288   (eval "$ac_link_default") 2>&5
   4289   ac_status=$?
   4290   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4291   test $ac_status = 0; }
   4292 then :
   4293   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4294 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4295 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4296 # so that the user can short-circuit this test for compilers unknown to
   4297 # Autoconf.
   4298 for ac_file in $ac_files ''
   4299 do
   4300   test -f "$ac_file" || continue
   4301   case $ac_file in
   4302     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4303 	;;
   4304     [ab].out )
   4305 	# We found the default executable, but exeext='' is most
   4306 	# certainly right.
   4307 	break;;
   4308     *.* )
   4309 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4310 	then :; else
   4311 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4312 	fi
   4313 	# We set ac_cv_exeext here because the later test for it is not
   4314 	# safe: cross compilers may not add the suffix if given an '-o'
   4315 	# argument, so we may need to know it at that point already.
   4316 	# Even if this section looks crufty: it has the advantage of
   4317 	# actually working.
   4318 	break;;
   4319     * )
   4320 	break;;
   4321   esac
   4322 done
   4323 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4324 
   4325 else case e in #(
   4326   e) ac_file='' ;;
   4327 esac
   4328 fi
   4329 if test -z "$ac_file"
   4330 then :
   4331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4332 printf "%s\n" "no" >&6; }
   4333 printf "%s\n" "$as_me: failed program was:" >&5
   4334 sed 's/^/| /' conftest.$ac_ext >&5
   4335 
   4336 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4337 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4338 as_fn_error 77 "C compiler cannot create executables
   4339 See 'config.log' for more details" "$LINENO" 5; }
   4340 else case e in #(
   4341   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4342 printf "%s\n" "yes" >&6; } ;;
   4343 esac
   4344 fi
   4345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4346 printf %s "checking for C compiler default output file name... " >&6; }
   4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4348 printf "%s\n" "$ac_file" >&6; }
   4349 ac_exeext=$ac_cv_exeext
   4350 
   4351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4352 ac_clean_files=$ac_clean_files_save
   4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4354 printf %s "checking for suffix of executables... " >&6; }
   4355 if { { ac_try="$ac_link"
   4356 case "(($ac_try" in
   4357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4358   *) ac_try_echo=$ac_try;;
   4359 esac
   4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4361 printf "%s\n" "$ac_try_echo"; } >&5
   4362   (eval "$ac_link") 2>&5
   4363   ac_status=$?
   4364   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4365   test $ac_status = 0; }
   4366 then :
   4367   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4368 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4369 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4370 # 'rm'.
   4371 for ac_file in conftest.exe conftest conftest.*; do
   4372   test -f "$ac_file" || continue
   4373   case $ac_file in
   4374     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4375     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4376 	  break;;
   4377     * ) break;;
   4378   esac
   4379 done
   4380 else case e in #(
   4381   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4382 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4383 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4384 See 'config.log' for more details" "$LINENO" 5; } ;;
   4385 esac
   4386 fi
   4387 rm -f conftest conftest$ac_cv_exeext
   4388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4389 printf "%s\n" "$ac_cv_exeext" >&6; }
   4390 
   4391 rm -f conftest.$ac_ext
   4392 EXEEXT=$ac_cv_exeext
   4393 ac_exeext=$EXEEXT
   4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4395 /* end confdefs.h.  */
   4396 #include <stdio.h>
   4397 int
   4398 main (void)
   4399 {
   4400 FILE *f = fopen ("conftest.out", "w");
   4401  if (!f)
   4402   return 1;
   4403  return ferror (f) || fclose (f) != 0;
   4404 
   4405   ;
   4406   return 0;
   4407 }
   4408 _ACEOF
   4409 ac_clean_files="$ac_clean_files conftest.out"
   4410 # Check that the compiler produces executables we can run.  If not, either
   4411 # the compiler is broken, or we cross compile.
   4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4413 printf %s "checking whether we are cross compiling... " >&6; }
   4414 if test "$cross_compiling" != yes; then
   4415   { { ac_try="$ac_link"
   4416 case "(($ac_try" in
   4417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4418   *) ac_try_echo=$ac_try;;
   4419 esac
   4420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4421 printf "%s\n" "$ac_try_echo"; } >&5
   4422   (eval "$ac_link") 2>&5
   4423   ac_status=$?
   4424   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4425   test $ac_status = 0; }
   4426   if { ac_try='./conftest$ac_cv_exeext'
   4427   { { case "(($ac_try" in
   4428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4429   *) ac_try_echo=$ac_try;;
   4430 esac
   4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4432 printf "%s\n" "$ac_try_echo"; } >&5
   4433   (eval "$ac_try") 2>&5
   4434   ac_status=$?
   4435   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4436   test $ac_status = 0; }; }; then
   4437     cross_compiling=no
   4438   else
   4439     if test "$cross_compiling" = maybe; then
   4440 	cross_compiling=yes
   4441     else
   4442 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4443 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4444 as_fn_error 77 "cannot run C compiled programs.
   4445 If you meant to cross compile, use '--host'.
   4446 See 'config.log' for more details" "$LINENO" 5; }
   4447     fi
   4448   fi
   4449 fi
   4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4451 printf "%s\n" "$cross_compiling" >&6; }
   4452 
   4453 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4454   conftest.o conftest.obj conftest.out
   4455 ac_clean_files=$ac_clean_files_save
   4456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4457 printf %s "checking for suffix of object files... " >&6; }
   4458 if test ${ac_cv_objext+y}
   4459 then :
   4460   printf %s "(cached) " >&6
   4461 else case e in #(
   4462   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4463 /* end confdefs.h.  */
   4464 
   4465 int
   4466 main (void)
   4467 {
   4468 
   4469   ;
   4470   return 0;
   4471 }
   4472 _ACEOF
   4473 rm -f conftest.o conftest.obj
   4474 if { { ac_try="$ac_compile"
   4475 case "(($ac_try" in
   4476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4477   *) ac_try_echo=$ac_try;;
   4478 esac
   4479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4480 printf "%s\n" "$ac_try_echo"; } >&5
   4481   (eval "$ac_compile") 2>&5
   4482   ac_status=$?
   4483   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4484   test $ac_status = 0; }
   4485 then :
   4486   for ac_file in conftest.o conftest.obj conftest.*; do
   4487   test -f "$ac_file" || continue;
   4488   case $ac_file in
   4489     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4490     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4491        break;;
   4492   esac
   4493 done
   4494 else case e in #(
   4495   e) printf "%s\n" "$as_me: failed program was:" >&5
   4496 sed 's/^/| /' conftest.$ac_ext >&5
   4497 
   4498 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4499 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4500 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4501 See 'config.log' for more details" "$LINENO" 5; } ;;
   4502 esac
   4503 fi
   4504 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4505 esac
   4506 fi
   4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4508 printf "%s\n" "$ac_cv_objext" >&6; }
   4509 OBJEXT=$ac_cv_objext
   4510 ac_objext=$OBJEXT
   4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4512 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4513 if test ${ac_cv_c_compiler_gnu+y}
   4514 then :
   4515   printf %s "(cached) " >&6
   4516 else case e in #(
   4517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4518 /* end confdefs.h.  */
   4519 
   4520 int
   4521 main (void)
   4522 {
   4523 #ifndef __GNUC__
   4524        choke me
   4525 #endif
   4526 
   4527   ;
   4528   return 0;
   4529 }
   4530 _ACEOF
   4531 if ac_fn_c_try_compile "$LINENO"
   4532 then :
   4533   ac_compiler_gnu=yes
   4534 else case e in #(
   4535   e) ac_compiler_gnu=no ;;
   4536 esac
   4537 fi
   4538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4539 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4540  ;;
   4541 esac
   4542 fi
   4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4544 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4546 
   4547 if test $ac_compiler_gnu = yes; then
   4548   GCC=yes
   4549 else
   4550   GCC=
   4551 fi
   4552 ac_test_CFLAGS=${CFLAGS+y}
   4553 ac_save_CFLAGS=$CFLAGS
   4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4555 printf %s "checking whether $CC accepts -g... " >&6; }
   4556 if test ${ac_cv_prog_cc_g+y}
   4557 then :
   4558   printf %s "(cached) " >&6
   4559 else case e in #(
   4560   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4561    ac_c_werror_flag=yes
   4562    ac_cv_prog_cc_g=no
   4563    CFLAGS="-g"
   4564    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4565 /* end confdefs.h.  */
   4566 
   4567 int
   4568 main (void)
   4569 {
   4570 
   4571   ;
   4572   return 0;
   4573 }
   4574 _ACEOF
   4575 if ac_fn_c_try_compile "$LINENO"
   4576 then :
   4577   ac_cv_prog_cc_g=yes
   4578 else case e in #(
   4579   e) CFLAGS=""
   4580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4581 /* end confdefs.h.  */
   4582 
   4583 int
   4584 main (void)
   4585 {
   4586 
   4587   ;
   4588   return 0;
   4589 }
   4590 _ACEOF
   4591 if ac_fn_c_try_compile "$LINENO"
   4592 then :
   4593 
   4594 else case e in #(
   4595   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4596 	 CFLAGS="-g"
   4597 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 
   4600 int
   4601 main (void)
   4602 {
   4603 
   4604   ;
   4605   return 0;
   4606 }
   4607 _ACEOF
   4608 if ac_fn_c_try_compile "$LINENO"
   4609 then :
   4610   ac_cv_prog_cc_g=yes
   4611 fi
   4612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4613 esac
   4614 fi
   4615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4616 esac
   4617 fi
   4618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4619    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4620 esac
   4621 fi
   4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4623 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4624 if test $ac_test_CFLAGS; then
   4625   CFLAGS=$ac_save_CFLAGS
   4626 elif test $ac_cv_prog_cc_g = yes; then
   4627   if test "$GCC" = yes; then
   4628     CFLAGS="-g -O2"
   4629   else
   4630     CFLAGS="-g"
   4631   fi
   4632 else
   4633   if test "$GCC" = yes; then
   4634     CFLAGS="-O2"
   4635   else
   4636     CFLAGS=
   4637   fi
   4638 fi
   4639 ac_prog_cc_stdc=no
   4640 if test x$ac_prog_cc_stdc = xno
   4641 then :
   4642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4643 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4644 if test ${ac_cv_prog_cc_c11+y}
   4645 then :
   4646   printf %s "(cached) " >&6
   4647 else case e in #(
   4648   e) ac_cv_prog_cc_c11=no
   4649 ac_save_CC=$CC
   4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4651 /* end confdefs.h.  */
   4652 $ac_c_conftest_c11_program
   4653 _ACEOF
   4654 for ac_arg in '' -std=gnu11
   4655 do
   4656   CC="$ac_save_CC $ac_arg"
   4657   if ac_fn_c_try_compile "$LINENO"
   4658 then :
   4659   ac_cv_prog_cc_c11=$ac_arg
   4660 fi
   4661 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4662   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4663 done
   4664 rm -f conftest.$ac_ext
   4665 CC=$ac_save_CC ;;
   4666 esac
   4667 fi
   4668 
   4669 if test "x$ac_cv_prog_cc_c11" = xno
   4670 then :
   4671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4672 printf "%s\n" "unsupported" >&6; }
   4673 else case e in #(
   4674   e) if test "x$ac_cv_prog_cc_c11" = x
   4675 then :
   4676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4677 printf "%s\n" "none needed" >&6; }
   4678 else case e in #(
   4679   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4680 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4681      CC="$CC $ac_cv_prog_cc_c11" ;;
   4682 esac
   4683 fi
   4684   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4685   ac_prog_cc_stdc=c11 ;;
   4686 esac
   4687 fi
   4688 fi
   4689 if test x$ac_prog_cc_stdc = xno
   4690 then :
   4691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4692 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4693 if test ${ac_cv_prog_cc_c99+y}
   4694 then :
   4695   printf %s "(cached) " >&6
   4696 else case e in #(
   4697   e) ac_cv_prog_cc_c99=no
   4698 ac_save_CC=$CC
   4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4700 /* end confdefs.h.  */
   4701 $ac_c_conftest_c99_program
   4702 _ACEOF
   4703 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4704 do
   4705   CC="$ac_save_CC $ac_arg"
   4706   if ac_fn_c_try_compile "$LINENO"
   4707 then :
   4708   ac_cv_prog_cc_c99=$ac_arg
   4709 fi
   4710 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4711   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4712 done
   4713 rm -f conftest.$ac_ext
   4714 CC=$ac_save_CC ;;
   4715 esac
   4716 fi
   4717 
   4718 if test "x$ac_cv_prog_cc_c99" = xno
   4719 then :
   4720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4721 printf "%s\n" "unsupported" >&6; }
   4722 else case e in #(
   4723   e) if test "x$ac_cv_prog_cc_c99" = x
   4724 then :
   4725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4726 printf "%s\n" "none needed" >&6; }
   4727 else case e in #(
   4728   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4729 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4730      CC="$CC $ac_cv_prog_cc_c99" ;;
   4731 esac
   4732 fi
   4733   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4734   ac_prog_cc_stdc=c99 ;;
   4735 esac
   4736 fi
   4737 fi
   4738 if test x$ac_prog_cc_stdc = xno
   4739 then :
   4740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4741 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4742 if test ${ac_cv_prog_cc_c89+y}
   4743 then :
   4744   printf %s "(cached) " >&6
   4745 else case e in #(
   4746   e) ac_cv_prog_cc_c89=no
   4747 ac_save_CC=$CC
   4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4749 /* end confdefs.h.  */
   4750 $ac_c_conftest_c89_program
   4751 _ACEOF
   4752 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4753 do
   4754   CC="$ac_save_CC $ac_arg"
   4755   if ac_fn_c_try_compile "$LINENO"
   4756 then :
   4757   ac_cv_prog_cc_c89=$ac_arg
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4760   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4761 done
   4762 rm -f conftest.$ac_ext
   4763 CC=$ac_save_CC ;;
   4764 esac
   4765 fi
   4766 
   4767 if test "x$ac_cv_prog_cc_c89" = xno
   4768 then :
   4769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4770 printf "%s\n" "unsupported" >&6; }
   4771 else case e in #(
   4772   e) if test "x$ac_cv_prog_cc_c89" = x
   4773 then :
   4774   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4775 printf "%s\n" "none needed" >&6; }
   4776 else case e in #(
   4777   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4778 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4779      CC="$CC $ac_cv_prog_cc_c89" ;;
   4780 esac
   4781 fi
   4782   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4783   ac_prog_cc_stdc=c89 ;;
   4784 esac
   4785 fi
   4786 fi
   4787 
   4788 ac_ext=c
   4789 ac_cpp='$CPP $CPPFLAGS'
   4790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4793 
   4794 
   4795   ac_ext=c
   4796 ac_cpp='$CPP $CPPFLAGS'
   4797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4801 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4802 if test ${am_cv_prog_cc_c_o+y}
   4803 then :
   4804   printf %s "(cached) " >&6
   4805 else case e in #(
   4806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4807 /* end confdefs.h.  */
   4808 
   4809 int
   4810 main (void)
   4811 {
   4812 
   4813   ;
   4814   return 0;
   4815 }
   4816 _ACEOF
   4817   # Make sure it works both with $CC and with simple cc.
   4818   # Following AC_PROG_CC_C_O, we do the test twice because some
   4819   # compilers refuse to overwrite an existing .o file with -o,
   4820   # though they will create one.
   4821   am_cv_prog_cc_c_o=yes
   4822   for am_i in 1 2; do
   4823     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4824    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4825    ac_status=$?
   4826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4827    (exit $ac_status); } \
   4828          && test -f conftest2.$ac_objext; then
   4829       : OK
   4830     else
   4831       am_cv_prog_cc_c_o=no
   4832       break
   4833     fi
   4834   done
   4835   # aligned with autoconf, so not including core; see bug#72225.
   4836   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4837     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4838     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4839   unset am_i ;;
   4840 esac
   4841 fi
   4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4843 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4844 if test "$am_cv_prog_cc_c_o" != yes; then
   4845    # Losing compiler, so override with the script.
   4846    # FIXME: It is wrong to rewrite CC.
   4847    # But if we don't then we get into trouble of one sort or another.
   4848    # A longer-term fix would be to have automake use am__CC in this case,
   4849    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4850    CC="$am_aux_dir/compile $CC"
   4851 fi
   4852 ac_ext=c
   4853 ac_cpp='$CPP $CPPFLAGS'
   4854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4857 
   4858 
   4859 depcc="$CC"   am_compiler_list=
   4860 
   4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4862 printf %s "checking dependency style of $depcc... " >&6; }
   4863 if test ${am_cv_CC_dependencies_compiler_type+y}
   4864 then :
   4865   printf %s "(cached) " >&6
   4866 else case e in #(
   4867   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4868   # We make a subdir and do the tests there.  Otherwise we can end up
   4869   # making bogus files that we don't know about and never remove.  For
   4870   # instance it was reported that on HP-UX the gcc test will end up
   4871   # making a dummy file named 'D' -- because '-MD' means "put the output
   4872   # in D".
   4873   rm -rf conftest.dir
   4874   mkdir conftest.dir
   4875   # Copy depcomp to subdir because otherwise we won't find it if we're
   4876   # using a relative directory.
   4877   cp "$am_depcomp" conftest.dir
   4878   cd conftest.dir
   4879   # We will build objects and dependencies in a subdirectory because
   4880   # it helps to detect inapplicable dependency modes.  For instance
   4881   # both Tru64's cc and ICC support -MD to output dependencies as a
   4882   # side effect of compilation, but ICC will put the dependencies in
   4883   # the current directory while Tru64 will put them in the object
   4884   # directory.
   4885   mkdir sub
   4886 
   4887   am_cv_CC_dependencies_compiler_type=none
   4888   if test "$am_compiler_list" = ""; then
   4889      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4890   fi
   4891   am__universal=false
   4892   case " $depcc " in #(
   4893      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4894      esac
   4895 
   4896   for depmode in $am_compiler_list; do
   4897     # Setup a source with many dependencies, because some compilers
   4898     # like to wrap large dependency lists on column 80 (with \), and
   4899     # we should not choose a depcomp mode which is confused by this.
   4900     #
   4901     # We need to recreate these files for each test, as the compiler may
   4902     # overwrite some of them when testing with obscure command lines.
   4903     # This happens at least with the AIX C compiler.
   4904     : > sub/conftest.c
   4905     for i in 1 2 3 4 5 6; do
   4906       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4907       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4908       # Solaris 10 /bin/sh.
   4909       echo '/* dummy */' > sub/conftst$i.h
   4910     done
   4911     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4912 
   4913     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4914     # mode.  It turns out that the SunPro C++ compiler does not properly
   4915     # handle '-M -o', and we need to detect this.  Also, some Intel
   4916     # versions had trouble with output in subdirs.
   4917     am__obj=sub/conftest.${OBJEXT-o}
   4918     am__minus_obj="-o $am__obj"
   4919     case $depmode in
   4920     gcc)
   4921       # This depmode causes a compiler race in universal mode.
   4922       test "$am__universal" = false || continue
   4923       ;;
   4924     nosideeffect)
   4925       # After this tag, mechanisms are not by side-effect, so they'll
   4926       # only be used when explicitly requested.
   4927       if test "x$enable_dependency_tracking" = xyes; then
   4928 	continue
   4929       else
   4930 	break
   4931       fi
   4932       ;;
   4933     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4934       # This compiler won't grok '-c -o', but also, the minuso test has
   4935       # not run yet.  These depmodes are late enough in the game, and
   4936       # so weak that their functioning should not be impacted.
   4937       am__obj=conftest.${OBJEXT-o}
   4938       am__minus_obj=
   4939       ;;
   4940     none) break ;;
   4941     esac
   4942     if depmode=$depmode \
   4943        source=sub/conftest.c object=$am__obj \
   4944        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4945        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4946          >/dev/null 2>conftest.err &&
   4947        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4948        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4949        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4950        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4951       # icc doesn't choke on unknown options, it will just issue warnings
   4952       # or remarks (even with -Werror).  So we grep stderr for any message
   4953       # that says an option was ignored or not supported.
   4954       # When given -MP, icc 7.0 and 7.1 complain thus:
   4955       #   icc: Command line warning: ignoring option '-M'; no argument required
   4956       # The diagnosis changed in icc 8.0:
   4957       #   icc: Command line remark: option '-MP' not supported
   4958       if (grep 'ignoring option' conftest.err ||
   4959           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4960         am_cv_CC_dependencies_compiler_type=$depmode
   4961         break
   4962       fi
   4963     fi
   4964   done
   4965 
   4966   cd ..
   4967   rm -rf conftest.dir
   4968 else
   4969   am_cv_CC_dependencies_compiler_type=none
   4970 fi
   4971  ;;
   4972 esac
   4973 fi
   4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4975 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4976 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4977 
   4978  if
   4979   test "x$enable_dependency_tracking" != xno \
   4980   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4981   am__fastdepCC_TRUE=
   4982   am__fastdepCC_FALSE='#'
   4983 else
   4984   am__fastdepCC_TRUE='#'
   4985   am__fastdepCC_FALSE=
   4986 fi
   4987 
   4988 
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4990 printf %s "checking for a sed that does not truncate output... " >&6; }
   4991 if test ${ac_cv_path_SED+y}
   4992 then :
   4993   printf %s "(cached) " >&6
   4994 else case e in #(
   4995   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4996      for ac_i in 1 2 3 4 5 6 7; do
   4997        ac_script="$ac_script$as_nl$ac_script"
   4998      done
   4999      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5000      { ac_script=; unset ac_script;}
   5001      if test -z "$SED"; then
   5002   ac_path_SED_found=false
   5003   # Loop through the user's path and test for each of PROGNAME-LIST
   5004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5005 for as_dir in $PATH
   5006 do
   5007   IFS=$as_save_IFS
   5008   case $as_dir in #(((
   5009     '') as_dir=./ ;;
   5010     */) ;;
   5011     *) as_dir=$as_dir/ ;;
   5012   esac
   5013     for ac_prog in sed gsed
   5014    do
   5015     for ac_exec_ext in '' $ac_executable_extensions; do
   5016       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5017       as_fn_executable_p "$ac_path_SED" || continue
   5018 # Check for GNU ac_path_SED and select it if it is found.
   5019   # Check for GNU $ac_path_SED
   5020 case `"$ac_path_SED" --version 2>&1` in #(
   5021 *GNU*)
   5022   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5023 #(
   5024 *)
   5025   ac_count=0
   5026   printf %s 0123456789 >"conftest.in"
   5027   while :
   5028   do
   5029     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5030     mv "conftest.tmp" "conftest.in"
   5031     cp "conftest.in" "conftest.nl"
   5032     printf "%s\n" '' >> "conftest.nl"
   5033     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5034     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5035     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5036     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5037       # Best one so far, save it but keep looking for a better one
   5038       ac_cv_path_SED="$ac_path_SED"
   5039       ac_path_SED_max=$ac_count
   5040     fi
   5041     # 10*(2^10) chars as input seems more than enough
   5042     test $ac_count -gt 10 && break
   5043   done
   5044   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5045 esac
   5046 
   5047       $ac_path_SED_found && break 3
   5048     done
   5049   done
   5050   done
   5051 IFS=$as_save_IFS
   5052   if test -z "$ac_cv_path_SED"; then
   5053     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5054   fi
   5055 else
   5056   ac_cv_path_SED=$SED
   5057 fi
   5058  ;;
   5059 esac
   5060 fi
   5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5062 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5063  SED="$ac_cv_path_SED"
   5064   rm -f conftest.sed
   5065 
   5066 test -z "$SED" && SED=sed
   5067 Xsed="$SED -e 1s/^X//"
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5080 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5081 if test ${ac_cv_path_GREP+y}
   5082 then :
   5083   printf %s "(cached) " >&6
   5084 else case e in #(
   5085   e) if test -z "$GREP"; then
   5086   ac_path_GREP_found=false
   5087   # Loop through the user's path and test for each of PROGNAME-LIST
   5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5090 do
   5091   IFS=$as_save_IFS
   5092   case $as_dir in #(((
   5093     '') as_dir=./ ;;
   5094     */) ;;
   5095     *) as_dir=$as_dir/ ;;
   5096   esac
   5097     for ac_prog in grep ggrep
   5098    do
   5099     for ac_exec_ext in '' $ac_executable_extensions; do
   5100       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5101       as_fn_executable_p "$ac_path_GREP" || continue
   5102 # Check for GNU ac_path_GREP and select it if it is found.
   5103   # Check for GNU $ac_path_GREP
   5104 case `"$ac_path_GREP" --version 2>&1` in #(
   5105 *GNU*)
   5106   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5107 #(
   5108 *)
   5109   ac_count=0
   5110   printf %s 0123456789 >"conftest.in"
   5111   while :
   5112   do
   5113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5114     mv "conftest.tmp" "conftest.in"
   5115     cp "conftest.in" "conftest.nl"
   5116     printf "%s\n" 'GREP' >> "conftest.nl"
   5117     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5119     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5120     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5121       # Best one so far, save it but keep looking for a better one
   5122       ac_cv_path_GREP="$ac_path_GREP"
   5123       ac_path_GREP_max=$ac_count
   5124     fi
   5125     # 10*(2^10) chars as input seems more than enough
   5126     test $ac_count -gt 10 && break
   5127   done
   5128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5129 esac
   5130 
   5131       $ac_path_GREP_found && break 3
   5132     done
   5133   done
   5134   done
   5135 IFS=$as_save_IFS
   5136   if test -z "$ac_cv_path_GREP"; then
   5137     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5138   fi
   5139 else
   5140   ac_cv_path_GREP=$GREP
   5141 fi
   5142  ;;
   5143 esac
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5146 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5147  GREP="$ac_cv_path_GREP"
   5148 
   5149 
   5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5151 printf %s "checking for egrep... " >&6; }
   5152 if test ${ac_cv_path_EGREP+y}
   5153 then :
   5154   printf %s "(cached) " >&6
   5155 else case e in #(
   5156   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5157    then ac_cv_path_EGREP="$GREP -E"
   5158    else
   5159      if test -z "$EGREP"; then
   5160   ac_path_EGREP_found=false
   5161   # Loop through the user's path and test for each of PROGNAME-LIST
   5162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5164 do
   5165   IFS=$as_save_IFS
   5166   case $as_dir in #(((
   5167     '') as_dir=./ ;;
   5168     */) ;;
   5169     *) as_dir=$as_dir/ ;;
   5170   esac
   5171     for ac_prog in egrep
   5172    do
   5173     for ac_exec_ext in '' $ac_executable_extensions; do
   5174       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5175       as_fn_executable_p "$ac_path_EGREP" || continue
   5176 # Check for GNU ac_path_EGREP and select it if it is found.
   5177   # Check for GNU $ac_path_EGREP
   5178 case `"$ac_path_EGREP" --version 2>&1` in #(
   5179 *GNU*)
   5180   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5181 #(
   5182 *)
   5183   ac_count=0
   5184   printf %s 0123456789 >"conftest.in"
   5185   while :
   5186   do
   5187     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5188     mv "conftest.tmp" "conftest.in"
   5189     cp "conftest.in" "conftest.nl"
   5190     printf "%s\n" 'EGREP' >> "conftest.nl"
   5191     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5192     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5193     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5194     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5195       # Best one so far, save it but keep looking for a better one
   5196       ac_cv_path_EGREP="$ac_path_EGREP"
   5197       ac_path_EGREP_max=$ac_count
   5198     fi
   5199     # 10*(2^10) chars as input seems more than enough
   5200     test $ac_count -gt 10 && break
   5201   done
   5202   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5203 esac
   5204 
   5205       $ac_path_EGREP_found && break 3
   5206     done
   5207   done
   5208   done
   5209 IFS=$as_save_IFS
   5210   if test -z "$ac_cv_path_EGREP"; then
   5211     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5212   fi
   5213 else
   5214   ac_cv_path_EGREP=$EGREP
   5215 fi
   5216 
   5217    fi ;;
   5218 esac
   5219 fi
   5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5221 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5222  EGREP="$ac_cv_path_EGREP"
   5223 
   5224          EGREP_TRADITIONAL=$EGREP
   5225  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5226 
   5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5228 printf %s "checking for fgrep... " >&6; }
   5229 if test ${ac_cv_path_FGREP+y}
   5230 then :
   5231   printf %s "(cached) " >&6
   5232 else case e in #(
   5233   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5234    then ac_cv_path_FGREP="$GREP -F"
   5235    else
   5236      if test -z "$FGREP"; then
   5237   ac_path_FGREP_found=false
   5238   # Loop through the user's path and test for each of PROGNAME-LIST
   5239   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5241 do
   5242   IFS=$as_save_IFS
   5243   case $as_dir in #(((
   5244     '') as_dir=./ ;;
   5245     */) ;;
   5246     *) as_dir=$as_dir/ ;;
   5247   esac
   5248     for ac_prog in fgrep
   5249    do
   5250     for ac_exec_ext in '' $ac_executable_extensions; do
   5251       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5252       as_fn_executable_p "$ac_path_FGREP" || continue
   5253 # Check for GNU ac_path_FGREP and select it if it is found.
   5254   # Check for GNU $ac_path_FGREP
   5255 case `"$ac_path_FGREP" --version 2>&1` in #(
   5256 *GNU*)
   5257   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5258 #(
   5259 *)
   5260   ac_count=0
   5261   printf %s 0123456789 >"conftest.in"
   5262   while :
   5263   do
   5264     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5265     mv "conftest.tmp" "conftest.in"
   5266     cp "conftest.in" "conftest.nl"
   5267     printf "%s\n" 'FGREP' >> "conftest.nl"
   5268     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5269     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5270     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5271     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5272       # Best one so far, save it but keep looking for a better one
   5273       ac_cv_path_FGREP="$ac_path_FGREP"
   5274       ac_path_FGREP_max=$ac_count
   5275     fi
   5276     # 10*(2^10) chars as input seems more than enough
   5277     test $ac_count -gt 10 && break
   5278   done
   5279   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5280 esac
   5281 
   5282       $ac_path_FGREP_found && break 3
   5283     done
   5284   done
   5285   done
   5286 IFS=$as_save_IFS
   5287   if test -z "$ac_cv_path_FGREP"; then
   5288     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5289   fi
   5290 else
   5291   ac_cv_path_FGREP=$FGREP
   5292 fi
   5293 
   5294    fi ;;
   5295 esac
   5296 fi
   5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5298 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5299  FGREP="$ac_cv_path_FGREP"
   5300 
   5301 
   5302 test -z "$GREP" && GREP=grep
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 # Check whether --with-gnu-ld was given.
   5323 if test ${with_gnu_ld+y}
   5324 then :
   5325   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5326 else case e in #(
   5327   e) with_gnu_ld=no ;;
   5328 esac
   5329 fi
   5330 
   5331 ac_prog=ld
   5332 if test yes = "$GCC"; then
   5333   # Check if gcc -print-prog-name=ld gives a path.
   5334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5335 printf %s "checking for ld used by $CC... " >&6; }
   5336   case $host in
   5337   *-*-mingw* | *-*-windows*)
   5338     # gcc leaves a trailing carriage return, which upsets mingw
   5339     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5340   *)
   5341     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5342   esac
   5343   case $ac_prog in
   5344     # Accept absolute paths.
   5345     [\\/]* | ?:[\\/]*)
   5346       re_direlt='/[^/][^/]*/\.\./'
   5347       # Canonicalize the pathname of ld
   5348       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5349       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5350 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5351       done
   5352       test -z "$LD" && LD=$ac_prog
   5353       ;;
   5354   "")
   5355     # If it fails, then pretend we aren't using GCC.
   5356     ac_prog=ld
   5357     ;;
   5358   *)
   5359     # If it is relative, then search for the first ld in PATH.
   5360     with_gnu_ld=unknown
   5361     ;;
   5362   esac
   5363 elif test yes = "$with_gnu_ld"; then
   5364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5365 printf %s "checking for GNU ld... " >&6; }
   5366 else
   5367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5368 printf %s "checking for non-GNU ld... " >&6; }
   5369 fi
   5370 if test ${lt_cv_path_LD+y}
   5371 then :
   5372   printf %s "(cached) " >&6
   5373 else case e in #(
   5374   e) if test -z "$LD"; then
   5375   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5376   for ac_dir in $PATH; do
   5377     IFS=$lt_save_ifs
   5378     test -z "$ac_dir" && ac_dir=.
   5379     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5380       lt_cv_path_LD=$ac_dir/$ac_prog
   5381       # Check to see if the program is GNU ld.  I'd rather use --version,
   5382       # but apparently some variants of GNU ld only accept -v.
   5383       # Break only if it was the GNU/non-GNU ld that we prefer.
   5384       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5385       *GNU* | *'with BFD'*)
   5386 	test no != "$with_gnu_ld" && break
   5387 	;;
   5388       *)
   5389 	test yes != "$with_gnu_ld" && break
   5390 	;;
   5391       esac
   5392     fi
   5393   done
   5394   IFS=$lt_save_ifs
   5395 else
   5396   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5397 fi ;;
   5398 esac
   5399 fi
   5400 
   5401 LD=$lt_cv_path_LD
   5402 if test -n "$LD"; then
   5403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5404 printf "%s\n" "$LD" >&6; }
   5405 else
   5406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5407 printf "%s\n" "no" >&6; }
   5408 fi
   5409 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5411 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5412 if test ${lt_cv_prog_gnu_ld+y}
   5413 then :
   5414   printf %s "(cached) " >&6
   5415 else case e in #(
   5416   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5417 case `$LD -v 2>&1 </dev/null` in
   5418 *GNU* | *'with BFD'*)
   5419   lt_cv_prog_gnu_ld=yes
   5420   ;;
   5421 *)
   5422   lt_cv_prog_gnu_ld=no
   5423   ;;
   5424 esac ;;
   5425 esac
   5426 fi
   5427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5428 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5429 with_gnu_ld=$lt_cv_prog_gnu_ld
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5440 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5441 if test ${lt_cv_path_NM+y}
   5442 then :
   5443   printf %s "(cached) " >&6
   5444 else case e in #(
   5445   e) if test -n "$NM"; then
   5446   # Let the user override the test.
   5447   lt_cv_path_NM=$NM
   5448 else
   5449   lt_nm_to_check=${ac_tool_prefix}nm
   5450   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5451     lt_nm_to_check="$lt_nm_to_check nm"
   5452   fi
   5453   for lt_tmp_nm in $lt_nm_to_check; do
   5454     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5455     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5456       IFS=$lt_save_ifs
   5457       test -z "$ac_dir" && ac_dir=.
   5458       tmp_nm=$ac_dir/$lt_tmp_nm
   5459       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5460 	# Check to see if the nm accepts a BSD-compat flag.
   5461 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5462 	#   nm: unknown option "B" ignored
   5463 	# Tru64's nm complains that /dev/null is an invalid object file
   5464 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5465 	case $build_os in
   5466 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5467 	*) lt_bad_file=/dev/null ;;
   5468 	esac
   5469 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5470 	*$lt_bad_file* | *'Invalid file or object type'*)
   5471 	  lt_cv_path_NM="$tmp_nm -B"
   5472 	  break 2
   5473 	  ;;
   5474 	*)
   5475 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5476 	  */dev/null*)
   5477 	    lt_cv_path_NM="$tmp_nm -p"
   5478 	    break 2
   5479 	    ;;
   5480 	  *)
   5481 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5482 	    continue # so that we can try to find one that supports BSD flags
   5483 	    ;;
   5484 	  esac
   5485 	  ;;
   5486 	esac
   5487       fi
   5488     done
   5489     IFS=$lt_save_ifs
   5490   done
   5491   : ${lt_cv_path_NM=no}
   5492 fi ;;
   5493 esac
   5494 fi
   5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5496 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5497 if test no != "$lt_cv_path_NM"; then
   5498   NM=$lt_cv_path_NM
   5499 else
   5500   # Didn't find any BSD compatible name lister, look for dumpbin.
   5501   if test -n "$DUMPBIN"; then :
   5502     # Let the user override the test.
   5503   else
   5504     if test -n "$ac_tool_prefix"; then
   5505   for ac_prog in dumpbin "link -dump"
   5506   do
   5507     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5510 printf %s "checking for $ac_word... " >&6; }
   5511 if test ${ac_cv_prog_DUMPBIN+y}
   5512 then :
   5513   printf %s "(cached) " >&6
   5514 else case e in #(
   5515   e) if test -n "$DUMPBIN"; then
   5516   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5517 else
   5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5519 for as_dir in $PATH
   5520 do
   5521   IFS=$as_save_IFS
   5522   case $as_dir in #(((
   5523     '') as_dir=./ ;;
   5524     */) ;;
   5525     *) as_dir=$as_dir/ ;;
   5526   esac
   5527     for ac_exec_ext in '' $ac_executable_extensions; do
   5528   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5529     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5530     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5531     break 2
   5532   fi
   5533 done
   5534   done
   5535 IFS=$as_save_IFS
   5536 
   5537 fi ;;
   5538 esac
   5539 fi
   5540 DUMPBIN=$ac_cv_prog_DUMPBIN
   5541 if test -n "$DUMPBIN"; then
   5542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5543 printf "%s\n" "$DUMPBIN" >&6; }
   5544 else
   5545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5546 printf "%s\n" "no" >&6; }
   5547 fi
   5548 
   5549 
   5550     test -n "$DUMPBIN" && break
   5551   done
   5552 fi
   5553 if test -z "$DUMPBIN"; then
   5554   ac_ct_DUMPBIN=$DUMPBIN
   5555   for ac_prog in dumpbin "link -dump"
   5556 do
   5557   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5558 set dummy $ac_prog; ac_word=$2
   5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5560 printf %s "checking for $ac_word... " >&6; }
   5561 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5562 then :
   5563   printf %s "(cached) " >&6
   5564 else case e in #(
   5565   e) if test -n "$ac_ct_DUMPBIN"; then
   5566   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5567 else
   5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5569 for as_dir in $PATH
   5570 do
   5571   IFS=$as_save_IFS
   5572   case $as_dir in #(((
   5573     '') as_dir=./ ;;
   5574     */) ;;
   5575     *) as_dir=$as_dir/ ;;
   5576   esac
   5577     for ac_exec_ext in '' $ac_executable_extensions; do
   5578   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5579     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5580     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5581     break 2
   5582   fi
   5583 done
   5584   done
   5585 IFS=$as_save_IFS
   5586 
   5587 fi ;;
   5588 esac
   5589 fi
   5590 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5591 if test -n "$ac_ct_DUMPBIN"; then
   5592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5593 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5594 else
   5595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5596 printf "%s\n" "no" >&6; }
   5597 fi
   5598 
   5599 
   5600   test -n "$ac_ct_DUMPBIN" && break
   5601 done
   5602 
   5603   if test "x$ac_ct_DUMPBIN" = x; then
   5604     DUMPBIN=":"
   5605   else
   5606     case $cross_compiling:$ac_tool_warned in
   5607 yes:)
   5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5609 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5610 ac_tool_warned=yes ;;
   5611 esac
   5612     DUMPBIN=$ac_ct_DUMPBIN
   5613   fi
   5614 fi
   5615 
   5616     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5617     *COFF*)
   5618       DUMPBIN="$DUMPBIN -symbols -headers"
   5619       ;;
   5620     *)
   5621       DUMPBIN=:
   5622       ;;
   5623     esac
   5624   fi
   5625 
   5626   if test : != "$DUMPBIN"; then
   5627     NM=$DUMPBIN
   5628   fi
   5629 fi
   5630 test -z "$NM" && NM=nm
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5638 printf %s "checking the name lister ($NM) interface... " >&6; }
   5639 if test ${lt_cv_nm_interface+y}
   5640 then :
   5641   printf %s "(cached) " >&6
   5642 else case e in #(
   5643   e) lt_cv_nm_interface="BSD nm"
   5644   echo "int some_variable = 0;" > conftest.$ac_ext
   5645   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5646   (eval "$ac_compile" 2>conftest.err)
   5647   cat conftest.err >&5
   5648   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5649   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5650   cat conftest.err >&5
   5651   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5652   cat conftest.out >&5
   5653   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5654     lt_cv_nm_interface="MS dumpbin"
   5655   fi
   5656   rm -f conftest* ;;
   5657 esac
   5658 fi
   5659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5660 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5661 
   5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5663 printf %s "checking whether ln -s works... " >&6; }
   5664 LN_S=$as_ln_s
   5665 if test "$LN_S" = "ln -s"; then
   5666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5667 printf "%s\n" "yes" >&6; }
   5668 else
   5669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5670 printf "%s\n" "no, using $LN_S" >&6; }
   5671 fi
   5672 
   5673 # find the maximum length of command line arguments
   5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5675 printf %s "checking the maximum length of command line arguments... " >&6; }
   5676 if test ${lt_cv_sys_max_cmd_len+y}
   5677 then :
   5678   printf %s "(cached) " >&6
   5679 else case e in #(
   5680   e)   i=0
   5681   teststring=ABCD
   5682 
   5683   case $build_os in
   5684   msdosdjgpp*)
   5685     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5686     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5687     # during glob expansion).  Even if it were fixed, the result of this
   5688     # check would be larger than it should be.
   5689     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5690     ;;
   5691 
   5692   gnu* | ironclad*)
   5693     # Under GNU Hurd and Ironclad, this test is not required because there
   5694     # is no limit to the length of command line arguments.
   5695     # Libtool will interpret -1 as no limit whatsoever
   5696     lt_cv_sys_max_cmd_len=-1;
   5697     ;;
   5698 
   5699   cygwin* | mingw* | windows* | cegcc*)
   5700     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5701     # about 5 minutes as the teststring grows exponentially.
   5702     # Worse, since 9x/ME are not pre-emptively multitasking,
   5703     # you end up with a "frozen" computer, even though with patience
   5704     # the test eventually succeeds (with a max line length of 256k).
   5705     # Instead, let's just punt: use the minimum linelength reported by
   5706     # all of the supported platforms: 8192 (on NT/2K/XP).
   5707     lt_cv_sys_max_cmd_len=8192;
   5708     ;;
   5709 
   5710   mint*)
   5711     # On MiNT this can take a long time and run out of memory.
   5712     lt_cv_sys_max_cmd_len=8192;
   5713     ;;
   5714 
   5715   amigaos*)
   5716     # On AmigaOS with pdksh, this test takes hours, literally.
   5717     # So we just punt and use a minimum line length of 8192.
   5718     lt_cv_sys_max_cmd_len=8192;
   5719     ;;
   5720 
   5721   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5722     # This has been around since 386BSD, at least.  Likely further.
   5723     if test -x /sbin/sysctl; then
   5724       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5725     elif test -x /usr/sbin/sysctl; then
   5726       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5727     else
   5728       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5729     fi
   5730     # And add a safety zone
   5731     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5732     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5733     ;;
   5734 
   5735   interix*)
   5736     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5737     lt_cv_sys_max_cmd_len=196608
   5738     ;;
   5739 
   5740   os2*)
   5741     # The test takes a long time on OS/2.
   5742     lt_cv_sys_max_cmd_len=8192
   5743     ;;
   5744 
   5745   osf*)
   5746     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5747     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5748     # nice to cause kernel panics so lets avoid the loop below.
   5749     # First set a reasonable default.
   5750     lt_cv_sys_max_cmd_len=16384
   5751     #
   5752     if test -x /sbin/sysconfig; then
   5753       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5754         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5755       esac
   5756     fi
   5757     ;;
   5758   sco3.2v5*)
   5759     lt_cv_sys_max_cmd_len=102400
   5760     ;;
   5761   sysv5* | sco5v6* | sysv4.2uw2*)
   5762     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5763     if test -n "$kargmax"; then
   5764       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5765     else
   5766       lt_cv_sys_max_cmd_len=32768
   5767     fi
   5768     ;;
   5769   *)
   5770     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5771     if test -n "$lt_cv_sys_max_cmd_len" && \
   5772        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5773       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5774       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5775     else
   5776       # Make teststring a little bigger before we do anything with it.
   5777       # a 1K string should be a reasonable start.
   5778       for i in 1 2 3 4 5 6 7 8; do
   5779         teststring=$teststring$teststring
   5780       done
   5781       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5782       # If test is not a shell built-in, we'll probably end up computing a
   5783       # maximum length that is only half of the actual maximum length, but
   5784       # we can't tell.
   5785       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5786 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5787 	      test 17 != "$i" # 1/2 MB should be enough
   5788       do
   5789         i=`expr $i + 1`
   5790         teststring=$teststring$teststring
   5791       done
   5792       # Only check the string length outside the loop.
   5793       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5794       teststring=
   5795       # Add a significant safety factor because C++ compilers can tack on
   5796       # massive amounts of additional arguments before passing them to the
   5797       # linker.  It appears as though 1/2 is a usable value.
   5798       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5799     fi
   5800     ;;
   5801   esac
   5802  ;;
   5803 esac
   5804 fi
   5805 
   5806 if test -n "$lt_cv_sys_max_cmd_len"; then
   5807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5808 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5809 else
   5810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5811 printf "%s\n" "none" >&6; }
   5812 fi
   5813 max_cmd_len=$lt_cv_sys_max_cmd_len
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 : ${CP="cp -f"}
   5821 : ${MV="mv -f"}
   5822 : ${RM="rm -f"}
   5823 
   5824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5825   lt_unset=unset
   5826 else
   5827   lt_unset=false
   5828 fi
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 # test EBCDIC or ASCII
   5835 case `echo X|tr X '\101'` in
   5836  A) # ASCII based system
   5837     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5838   lt_SP2NL='tr \040 \012'
   5839   lt_NL2SP='tr \015\012 \040\040'
   5840   ;;
   5841  *) # EBCDIC based system
   5842   lt_SP2NL='tr \100 \n'
   5843   lt_NL2SP='tr \r\n \100\100'
   5844   ;;
   5845 esac
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5856 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5857 if test ${lt_cv_to_host_file_cmd+y}
   5858 then :
   5859   printf %s "(cached) " >&6
   5860 else case e in #(
   5861   e) case $host in
   5862   *-*-mingw* )
   5863     case $build in
   5864       *-*-mingw* | *-*-windows* ) # actually msys
   5865         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5866         ;;
   5867       *-*-cygwin* )
   5868         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5869         ;;
   5870       * ) # otherwise, assume *nix
   5871         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5872         ;;
   5873     esac
   5874     ;;
   5875   *-*-cygwin* )
   5876     case $build in
   5877       *-*-mingw* | *-*-windows* ) # actually msys
   5878         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5879         ;;
   5880       *-*-cygwin* )
   5881         lt_cv_to_host_file_cmd=func_convert_file_noop
   5882         ;;
   5883       * ) # otherwise, assume *nix
   5884         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5885         ;;
   5886     esac
   5887     ;;
   5888   * ) # unhandled hosts (and "normal" native builds)
   5889     lt_cv_to_host_file_cmd=func_convert_file_noop
   5890     ;;
   5891 esac
   5892  ;;
   5893 esac
   5894 fi
   5895 
   5896 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5898 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5905 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5906 if test ${lt_cv_to_tool_file_cmd+y}
   5907 then :
   5908   printf %s "(cached) " >&6
   5909 else case e in #(
   5910   e) #assume ordinary cross tools, or native build.
   5911 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5912 case $host in
   5913   *-*-mingw* | *-*-windows* )
   5914     case $build in
   5915       *-*-mingw* | *-*-windows* ) # actually msys
   5916         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5917         ;;
   5918     esac
   5919     ;;
   5920 esac
   5921  ;;
   5922 esac
   5923 fi
   5924 
   5925 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5927 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5934 printf %s "checking for $LD option to reload object files... " >&6; }
   5935 if test ${lt_cv_ld_reload_flag+y}
   5936 then :
   5937   printf %s "(cached) " >&6
   5938 else case e in #(
   5939   e) lt_cv_ld_reload_flag='-r' ;;
   5940 esac
   5941 fi
   5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5943 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5944 reload_flag=$lt_cv_ld_reload_flag
   5945 case $reload_flag in
   5946 "" | " "*) ;;
   5947 *) reload_flag=" $reload_flag" ;;
   5948 esac
   5949 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5950 case $host_os in
   5951   cygwin* | mingw* | windows* | pw32* | cegcc*)
   5952     if test yes != "$GCC"; then
   5953       reload_cmds=false
   5954     fi
   5955     ;;
   5956   darwin*)
   5957     if test yes = "$GCC"; then
   5958       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5959     else
   5960       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5961     fi
   5962     ;;
   5963 esac
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 # Extract the first word of "file", so it can be a program name with args.
   5974 set dummy file; ac_word=$2
   5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5976 printf %s "checking for $ac_word... " >&6; }
   5977 if test ${ac_cv_prog_FILECMD+y}
   5978 then :
   5979   printf %s "(cached) " >&6
   5980 else case e in #(
   5981   e) if test -n "$FILECMD"; then
   5982   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5983 else
   5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5985 for as_dir in $PATH
   5986 do
   5987   IFS=$as_save_IFS
   5988   case $as_dir in #(((
   5989     '') as_dir=./ ;;
   5990     */) ;;
   5991     *) as_dir=$as_dir/ ;;
   5992   esac
   5993     for ac_exec_ext in '' $ac_executable_extensions; do
   5994   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5995     ac_cv_prog_FILECMD="file"
   5996     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5997     break 2
   5998   fi
   5999 done
   6000   done
   6001 IFS=$as_save_IFS
   6002 
   6003   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6004 fi ;;
   6005 esac
   6006 fi
   6007 FILECMD=$ac_cv_prog_FILECMD
   6008 if test -n "$FILECMD"; then
   6009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6010 printf "%s\n" "$FILECMD" >&6; }
   6011 else
   6012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6013 printf "%s\n" "no" >&6; }
   6014 fi
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 if test -n "$ac_tool_prefix"; then
   6024   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6025 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6027 printf %s "checking for $ac_word... " >&6; }
   6028 if test ${ac_cv_prog_OBJDUMP+y}
   6029 then :
   6030   printf %s "(cached) " >&6
   6031 else case e in #(
   6032   e) if test -n "$OBJDUMP"; then
   6033   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6034 else
   6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6036 for as_dir in $PATH
   6037 do
   6038   IFS=$as_save_IFS
   6039   case $as_dir in #(((
   6040     '') as_dir=./ ;;
   6041     */) ;;
   6042     *) as_dir=$as_dir/ ;;
   6043   esac
   6044     for ac_exec_ext in '' $ac_executable_extensions; do
   6045   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6046     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6048     break 2
   6049   fi
   6050 done
   6051   done
   6052 IFS=$as_save_IFS
   6053 
   6054 fi ;;
   6055 esac
   6056 fi
   6057 OBJDUMP=$ac_cv_prog_OBJDUMP
   6058 if test -n "$OBJDUMP"; then
   6059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6060 printf "%s\n" "$OBJDUMP" >&6; }
   6061 else
   6062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6063 printf "%s\n" "no" >&6; }
   6064 fi
   6065 
   6066 
   6067 fi
   6068 if test -z "$ac_cv_prog_OBJDUMP"; then
   6069   ac_ct_OBJDUMP=$OBJDUMP
   6070   # Extract the first word of "objdump", so it can be a program name with args.
   6071 set dummy objdump; ac_word=$2
   6072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6073 printf %s "checking for $ac_word... " >&6; }
   6074 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6075 then :
   6076   printf %s "(cached) " >&6
   6077 else case e in #(
   6078   e) if test -n "$ac_ct_OBJDUMP"; then
   6079   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6080 else
   6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6082 for as_dir in $PATH
   6083 do
   6084   IFS=$as_save_IFS
   6085   case $as_dir in #(((
   6086     '') as_dir=./ ;;
   6087     */) ;;
   6088     *) as_dir=$as_dir/ ;;
   6089   esac
   6090     for ac_exec_ext in '' $ac_executable_extensions; do
   6091   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6092     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6093     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6094     break 2
   6095   fi
   6096 done
   6097   done
   6098 IFS=$as_save_IFS
   6099 
   6100 fi ;;
   6101 esac
   6102 fi
   6103 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6104 if test -n "$ac_ct_OBJDUMP"; then
   6105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6106 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6107 else
   6108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6109 printf "%s\n" "no" >&6; }
   6110 fi
   6111 
   6112   if test "x$ac_ct_OBJDUMP" = x; then
   6113     OBJDUMP="false"
   6114   else
   6115     case $cross_compiling:$ac_tool_warned in
   6116 yes:)
   6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6118 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6119 ac_tool_warned=yes ;;
   6120 esac
   6121     OBJDUMP=$ac_ct_OBJDUMP
   6122   fi
   6123 else
   6124   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6125 fi
   6126 
   6127 test -z "$OBJDUMP" && OBJDUMP=objdump
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6138 printf %s "checking how to recognize dependent libraries... " >&6; }
   6139 if test ${lt_cv_deplibs_check_method+y}
   6140 then :
   6141   printf %s "(cached) " >&6
   6142 else case e in #(
   6143   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6144 lt_cv_file_magic_test_file=
   6145 lt_cv_deplibs_check_method='unknown'
   6146 # Need to set the preceding variable on all platforms that support
   6147 # interlibrary dependencies.
   6148 # 'none' -- dependencies not supported.
   6149 # 'unknown' -- same as none, but documents that we really don't know.
   6150 # 'pass_all' -- all dependencies passed with no checks.
   6151 # 'file_magic [[regex]]' -- check by looking for files in library path
   6152 # that responds to the $file_magic_cmd with a given extended regex.
   6153 # If you have 'file' or equivalent on your system and you're not sure
   6154 # whether 'pass_all' will *always* work, you probably want this one.
   6155 
   6156 case $host_os in
   6157 aix[4-9]*)
   6158   lt_cv_deplibs_check_method=pass_all
   6159   ;;
   6160 
   6161 beos*)
   6162   lt_cv_deplibs_check_method=pass_all
   6163   ;;
   6164 
   6165 bsdi[45]*)
   6166   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6167   lt_cv_file_magic_cmd='$FILECMD -L'
   6168   lt_cv_file_magic_test_file=/shlib/libc.so
   6169   ;;
   6170 
   6171 cygwin*)
   6172   # func_win32_libid is a shell function defined in ltmain.sh
   6173   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6174   lt_cv_file_magic_cmd='func_win32_libid'
   6175   ;;
   6176 
   6177 mingw* | windows* | pw32*)
   6178   # Base MSYS/MinGW do not provide the 'file' command needed by
   6179   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6180   # unless we find 'file', for example because we are cross-compiling.
   6181   if ( file / ) >/dev/null 2>&1; then
   6182     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6183     lt_cv_file_magic_cmd='func_win32_libid'
   6184   else
   6185     # Keep this pattern in sync with the one in func_win32_libid.
   6186     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6187     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6188   fi
   6189   ;;
   6190 
   6191 cegcc*)
   6192   # use the weaker test based on 'objdump'. See mingw*.
   6193   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6194   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6195   ;;
   6196 
   6197 darwin* | rhapsody*)
   6198   lt_cv_deplibs_check_method=pass_all
   6199   ;;
   6200 
   6201 freebsd* | dragonfly* | midnightbsd*)
   6202   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6203     case $host_cpu in
   6204     i*86 )
   6205       # Not sure whether the presence of OpenBSD here was a mistake.
   6206       # Let's accept both of them until this is cleared up.
   6207       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6208       lt_cv_file_magic_cmd=$FILECMD
   6209       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6210       ;;
   6211     esac
   6212   else
   6213     lt_cv_deplibs_check_method=pass_all
   6214   fi
   6215   ;;
   6216 
   6217 haiku*)
   6218   lt_cv_deplibs_check_method=pass_all
   6219   ;;
   6220 
   6221 hpux10.20* | hpux11*)
   6222   lt_cv_file_magic_cmd=$FILECMD
   6223   case $host_cpu in
   6224   ia64*)
   6225     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6226     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6227     ;;
   6228   hppa*64*)
   6229     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]'
   6230     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6231     ;;
   6232   *)
   6233     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6234     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6235     ;;
   6236   esac
   6237   ;;
   6238 
   6239 interix[3-9]*)
   6240   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6241   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6242   ;;
   6243 
   6244 irix5* | irix6* | nonstopux*)
   6245   case $LD in
   6246   *-32|*"-32 ") libmagic=32-bit;;
   6247   *-n32|*"-n32 ") libmagic=N32;;
   6248   *-64|*"-64 ") libmagic=64-bit;;
   6249   *) libmagic=never-match;;
   6250   esac
   6251   lt_cv_deplibs_check_method=pass_all
   6252   ;;
   6253 
   6254 # This must be glibc/ELF.
   6255 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6256   lt_cv_deplibs_check_method=pass_all
   6257   ;;
   6258 
   6259 *-mlibc)
   6260   lt_cv_deplibs_check_method=pass_all
   6261   ;;
   6262 
   6263 netbsd* | netbsdelf*-gnu)
   6264   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6265     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6266   else
   6267     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6268   fi
   6269   ;;
   6270 
   6271 newos6*)
   6272   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6273   lt_cv_file_magic_cmd=$FILECMD
   6274   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6275   ;;
   6276 
   6277 *nto* | *qnx*)
   6278   lt_cv_deplibs_check_method=pass_all
   6279   ;;
   6280 
   6281 openbsd*)
   6282   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6283     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6284   else
   6285     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6286   fi
   6287   ;;
   6288 
   6289 osf3* | osf4* | osf5*)
   6290   lt_cv_deplibs_check_method=pass_all
   6291   ;;
   6292 
   6293 rdos*)
   6294   lt_cv_deplibs_check_method=pass_all
   6295   ;;
   6296 
   6297 serenity*)
   6298   lt_cv_deplibs_check_method=pass_all
   6299   ;;
   6300 
   6301 solaris*)
   6302   lt_cv_deplibs_check_method=pass_all
   6303   ;;
   6304 
   6305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6306   lt_cv_deplibs_check_method=pass_all
   6307   ;;
   6308 
   6309 sysv4 | sysv4.3*)
   6310   case $host_vendor in
   6311   motorola)
   6312     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]'
   6313     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6314     ;;
   6315   ncr)
   6316     lt_cv_deplibs_check_method=pass_all
   6317     ;;
   6318   sequent)
   6319     lt_cv_file_magic_cmd='/bin/file'
   6320     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6321     ;;
   6322   sni)
   6323     lt_cv_file_magic_cmd='/bin/file'
   6324     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6325     lt_cv_file_magic_test_file=/lib/libc.so
   6326     ;;
   6327   siemens)
   6328     lt_cv_deplibs_check_method=pass_all
   6329     ;;
   6330   pc)
   6331     lt_cv_deplibs_check_method=pass_all
   6332     ;;
   6333   esac
   6334   ;;
   6335 
   6336 tpf*)
   6337   lt_cv_deplibs_check_method=pass_all
   6338   ;;
   6339 os2*)
   6340   lt_cv_deplibs_check_method=pass_all
   6341   ;;
   6342 esac
   6343  ;;
   6344 esac
   6345 fi
   6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6347 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6348 
   6349 file_magic_glob=
   6350 want_nocaseglob=no
   6351 if test "$build" = "$host"; then
   6352   case $host_os in
   6353   mingw* | windows* | pw32*)
   6354     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6355       want_nocaseglob=yes
   6356     else
   6357       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6358     fi
   6359     ;;
   6360   esac
   6361 fi
   6362 
   6363 file_magic_cmd=$lt_cv_file_magic_cmd
   6364 deplibs_check_method=$lt_cv_deplibs_check_method
   6365 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 if test -n "$ac_tool_prefix"; then
   6389   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6390 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6392 printf %s "checking for $ac_word... " >&6; }
   6393 if test ${ac_cv_prog_DLLTOOL+y}
   6394 then :
   6395   printf %s "(cached) " >&6
   6396 else case e in #(
   6397   e) if test -n "$DLLTOOL"; then
   6398   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6399 else
   6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6401 for as_dir in $PATH
   6402 do
   6403   IFS=$as_save_IFS
   6404   case $as_dir in #(((
   6405     '') as_dir=./ ;;
   6406     */) ;;
   6407     *) as_dir=$as_dir/ ;;
   6408   esac
   6409     for ac_exec_ext in '' $ac_executable_extensions; do
   6410   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6411     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6412     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6413     break 2
   6414   fi
   6415 done
   6416   done
   6417 IFS=$as_save_IFS
   6418 
   6419 fi ;;
   6420 esac
   6421 fi
   6422 DLLTOOL=$ac_cv_prog_DLLTOOL
   6423 if test -n "$DLLTOOL"; then
   6424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6425 printf "%s\n" "$DLLTOOL" >&6; }
   6426 else
   6427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6428 printf "%s\n" "no" >&6; }
   6429 fi
   6430 
   6431 
   6432 fi
   6433 if test -z "$ac_cv_prog_DLLTOOL"; then
   6434   ac_ct_DLLTOOL=$DLLTOOL
   6435   # Extract the first word of "dlltool", so it can be a program name with args.
   6436 set dummy dlltool; ac_word=$2
   6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6438 printf %s "checking for $ac_word... " >&6; }
   6439 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6440 then :
   6441   printf %s "(cached) " >&6
   6442 else case e in #(
   6443   e) if test -n "$ac_ct_DLLTOOL"; then
   6444   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6445 else
   6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6447 for as_dir in $PATH
   6448 do
   6449   IFS=$as_save_IFS
   6450   case $as_dir in #(((
   6451     '') as_dir=./ ;;
   6452     */) ;;
   6453     *) as_dir=$as_dir/ ;;
   6454   esac
   6455     for ac_exec_ext in '' $ac_executable_extensions; do
   6456   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6457     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6458     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6459     break 2
   6460   fi
   6461 done
   6462   done
   6463 IFS=$as_save_IFS
   6464 
   6465 fi ;;
   6466 esac
   6467 fi
   6468 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6469 if test -n "$ac_ct_DLLTOOL"; then
   6470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6471 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6472 else
   6473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6474 printf "%s\n" "no" >&6; }
   6475 fi
   6476 
   6477   if test "x$ac_ct_DLLTOOL" = x; then
   6478     DLLTOOL="false"
   6479   else
   6480     case $cross_compiling:$ac_tool_warned in
   6481 yes:)
   6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6483 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6484 ac_tool_warned=yes ;;
   6485 esac
   6486     DLLTOOL=$ac_ct_DLLTOOL
   6487   fi
   6488 else
   6489   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6490 fi
   6491 
   6492 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6504 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6505 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6506 then :
   6507   printf %s "(cached) " >&6
   6508 else case e in #(
   6509   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6510 
   6511 case $host_os in
   6512 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6513   # two different shell functions defined in ltmain.sh;
   6514   # decide which one to use based on capabilities of $DLLTOOL
   6515   case `$DLLTOOL --help 2>&1` in
   6516   *--identify-strict*)
   6517     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6518     ;;
   6519   *)
   6520     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6521     ;;
   6522   esac
   6523   ;;
   6524 *)
   6525   # fallback: assume linklib IS sharedlib
   6526   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6527   ;;
   6528 esac
   6529  ;;
   6530 esac
   6531 fi
   6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6533 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6534 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6535 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 if test -n "$ac_tool_prefix"; then
   6545   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6546 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6548 printf %s "checking for $ac_word... " >&6; }
   6549 if test ${ac_cv_prog_RANLIB+y}
   6550 then :
   6551   printf %s "(cached) " >&6
   6552 else case e in #(
   6553   e) if test -n "$RANLIB"; then
   6554   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6555 else
   6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6557 for as_dir in $PATH
   6558 do
   6559   IFS=$as_save_IFS
   6560   case $as_dir in #(((
   6561     '') as_dir=./ ;;
   6562     */) ;;
   6563     *) as_dir=$as_dir/ ;;
   6564   esac
   6565     for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6567     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572   done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi ;;
   6576 esac
   6577 fi
   6578 RANLIB=$ac_cv_prog_RANLIB
   6579 if test -n "$RANLIB"; then
   6580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6581 printf "%s\n" "$RANLIB" >&6; }
   6582 else
   6583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6584 printf "%s\n" "no" >&6; }
   6585 fi
   6586 
   6587 
   6588 fi
   6589 if test -z "$ac_cv_prog_RANLIB"; then
   6590   ac_ct_RANLIB=$RANLIB
   6591   # Extract the first word of "ranlib", so it can be a program name with args.
   6592 set dummy ranlib; ac_word=$2
   6593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6594 printf %s "checking for $ac_word... " >&6; }
   6595 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6596 then :
   6597   printf %s "(cached) " >&6
   6598 else case e in #(
   6599   e) if test -n "$ac_ct_RANLIB"; then
   6600   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6601 else
   6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6603 for as_dir in $PATH
   6604 do
   6605   IFS=$as_save_IFS
   6606   case $as_dir in #(((
   6607     '') as_dir=./ ;;
   6608     */) ;;
   6609     *) as_dir=$as_dir/ ;;
   6610   esac
   6611     for ac_exec_ext in '' $ac_executable_extensions; do
   6612   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6613     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6614     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6615     break 2
   6616   fi
   6617 done
   6618   done
   6619 IFS=$as_save_IFS
   6620 
   6621 fi ;;
   6622 esac
   6623 fi
   6624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6625 if test -n "$ac_ct_RANLIB"; then
   6626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6627 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6628 else
   6629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6630 printf "%s\n" "no" >&6; }
   6631 fi
   6632 
   6633   if test "x$ac_ct_RANLIB" = x; then
   6634     RANLIB=":"
   6635   else
   6636     case $cross_compiling:$ac_tool_warned in
   6637 yes:)
   6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6640 ac_tool_warned=yes ;;
   6641 esac
   6642     RANLIB=$ac_ct_RANLIB
   6643   fi
   6644 else
   6645   RANLIB="$ac_cv_prog_RANLIB"
   6646 fi
   6647 
   6648 if test -n "$ac_tool_prefix"; then
   6649   for ac_prog in ar
   6650   do
   6651     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6654 printf %s "checking for $ac_word... " >&6; }
   6655 if test ${ac_cv_prog_AR+y}
   6656 then :
   6657   printf %s "(cached) " >&6
   6658 else case e in #(
   6659   e) if test -n "$AR"; then
   6660   ac_cv_prog_AR="$AR" # Let the user override the test.
   6661 else
   6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6663 for as_dir in $PATH
   6664 do
   6665   IFS=$as_save_IFS
   6666   case $as_dir in #(((
   6667     '') as_dir=./ ;;
   6668     */) ;;
   6669     *) as_dir=$as_dir/ ;;
   6670   esac
   6671     for ac_exec_ext in '' $ac_executable_extensions; do
   6672   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6673     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6674     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6675     break 2
   6676   fi
   6677 done
   6678   done
   6679 IFS=$as_save_IFS
   6680 
   6681 fi ;;
   6682 esac
   6683 fi
   6684 AR=$ac_cv_prog_AR
   6685 if test -n "$AR"; then
   6686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6687 printf "%s\n" "$AR" >&6; }
   6688 else
   6689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6690 printf "%s\n" "no" >&6; }
   6691 fi
   6692 
   6693 
   6694     test -n "$AR" && break
   6695   done
   6696 fi
   6697 if test -z "$AR"; then
   6698   ac_ct_AR=$AR
   6699   for ac_prog in ar
   6700 do
   6701   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6702 set dummy $ac_prog; ac_word=$2
   6703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6704 printf %s "checking for $ac_word... " >&6; }
   6705 if test ${ac_cv_prog_ac_ct_AR+y}
   6706 then :
   6707   printf %s "(cached) " >&6
   6708 else case e in #(
   6709   e) if test -n "$ac_ct_AR"; then
   6710   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6711 else
   6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6713 for as_dir in $PATH
   6714 do
   6715   IFS=$as_save_IFS
   6716   case $as_dir in #(((
   6717     '') as_dir=./ ;;
   6718     */) ;;
   6719     *) as_dir=$as_dir/ ;;
   6720   esac
   6721     for ac_exec_ext in '' $ac_executable_extensions; do
   6722   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6723     ac_cv_prog_ac_ct_AR="$ac_prog"
   6724     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6725     break 2
   6726   fi
   6727 done
   6728   done
   6729 IFS=$as_save_IFS
   6730 
   6731 fi ;;
   6732 esac
   6733 fi
   6734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6735 if test -n "$ac_ct_AR"; then
   6736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6737 printf "%s\n" "$ac_ct_AR" >&6; }
   6738 else
   6739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6740 printf "%s\n" "no" >&6; }
   6741 fi
   6742 
   6743 
   6744   test -n "$ac_ct_AR" && break
   6745 done
   6746 
   6747   if test "x$ac_ct_AR" = x; then
   6748     AR="false"
   6749   else
   6750     case $cross_compiling:$ac_tool_warned in
   6751 yes:)
   6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6754 ac_tool_warned=yes ;;
   6755 esac
   6756     AR=$ac_ct_AR
   6757   fi
   6758 fi
   6759 
   6760 : ${AR=ar}
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6768 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6769 # higher priority because that's what people were doing historically (setting
   6770 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6771 # variable obsoleted/removed.
   6772 
   6773 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6774 lt_ar_flags=$AR_FLAGS
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6782 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6790 printf %s "checking for archiver @FILE support... " >&6; }
   6791 if test ${lt_cv_ar_at_file+y}
   6792 then :
   6793   printf %s "(cached) " >&6
   6794 else case e in #(
   6795   e) lt_cv_ar_at_file=no
   6796    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6797 /* end confdefs.h.  */
   6798 
   6799 int
   6800 main (void)
   6801 {
   6802 
   6803   ;
   6804   return 0;
   6805 }
   6806 _ACEOF
   6807 if ac_fn_c_try_compile "$LINENO"
   6808 then :
   6809   echo conftest.$ac_objext > conftest.lst
   6810       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6811       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6812   (eval $lt_ar_try) 2>&5
   6813   ac_status=$?
   6814   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6815   test $ac_status = 0; }
   6816       if test 0 -eq "$ac_status"; then
   6817 	# Ensure the archiver fails upon bogus file names.
   6818 	rm -f conftest.$ac_objext libconftest.a
   6819 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6820   (eval $lt_ar_try) 2>&5
   6821   ac_status=$?
   6822   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6823   test $ac_status = 0; }
   6824 	if test 0 -ne "$ac_status"; then
   6825           lt_cv_ar_at_file=@
   6826         fi
   6827       fi
   6828       rm -f conftest.* libconftest.a
   6829 
   6830 fi
   6831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6832    ;;
   6833 esac
   6834 fi
   6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6836 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6837 
   6838 if test no = "$lt_cv_ar_at_file"; then
   6839   archiver_list_spec=
   6840 else
   6841   archiver_list_spec=$lt_cv_ar_at_file
   6842 fi
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 if test -n "$ac_tool_prefix"; then
   6851   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6852 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6854 printf %s "checking for $ac_word... " >&6; }
   6855 if test ${ac_cv_prog_STRIP+y}
   6856 then :
   6857   printf %s "(cached) " >&6
   6858 else case e in #(
   6859   e) if test -n "$STRIP"; then
   6860   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6861 else
   6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6863 for as_dir in $PATH
   6864 do
   6865   IFS=$as_save_IFS
   6866   case $as_dir in #(((
   6867     '') as_dir=./ ;;
   6868     */) ;;
   6869     *) as_dir=$as_dir/ ;;
   6870   esac
   6871     for ac_exec_ext in '' $ac_executable_extensions; do
   6872   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6873     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6874     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6875     break 2
   6876   fi
   6877 done
   6878   done
   6879 IFS=$as_save_IFS
   6880 
   6881 fi ;;
   6882 esac
   6883 fi
   6884 STRIP=$ac_cv_prog_STRIP
   6885 if test -n "$STRIP"; then
   6886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6887 printf "%s\n" "$STRIP" >&6; }
   6888 else
   6889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6890 printf "%s\n" "no" >&6; }
   6891 fi
   6892 
   6893 
   6894 fi
   6895 if test -z "$ac_cv_prog_STRIP"; then
   6896   ac_ct_STRIP=$STRIP
   6897   # Extract the first word of "strip", so it can be a program name with args.
   6898 set dummy strip; ac_word=$2
   6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6900 printf %s "checking for $ac_word... " >&6; }
   6901 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6902 then :
   6903   printf %s "(cached) " >&6
   6904 else case e in #(
   6905   e) if test -n "$ac_ct_STRIP"; then
   6906   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6907 else
   6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6909 for as_dir in $PATH
   6910 do
   6911   IFS=$as_save_IFS
   6912   case $as_dir in #(((
   6913     '') as_dir=./ ;;
   6914     */) ;;
   6915     *) as_dir=$as_dir/ ;;
   6916   esac
   6917     for ac_exec_ext in '' $ac_executable_extensions; do
   6918   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6919     ac_cv_prog_ac_ct_STRIP="strip"
   6920     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6921     break 2
   6922   fi
   6923 done
   6924   done
   6925 IFS=$as_save_IFS
   6926 
   6927 fi ;;
   6928 esac
   6929 fi
   6930 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6931 if test -n "$ac_ct_STRIP"; then
   6932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6933 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6934 else
   6935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6936 printf "%s\n" "no" >&6; }
   6937 fi
   6938 
   6939   if test "x$ac_ct_STRIP" = x; then
   6940     STRIP=":"
   6941   else
   6942     case $cross_compiling:$ac_tool_warned in
   6943 yes:)
   6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6945 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6946 ac_tool_warned=yes ;;
   6947 esac
   6948     STRIP=$ac_ct_STRIP
   6949   fi
   6950 else
   6951   STRIP="$ac_cv_prog_STRIP"
   6952 fi
   6953 
   6954 test -z "$STRIP" && STRIP=:
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 test -z "$RANLIB" && RANLIB=:
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 # Determine commands to create old-style static archives.
   6970 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6971 old_postinstall_cmds='chmod 644 $oldlib'
   6972 old_postuninstall_cmds=
   6973 
   6974 if test -n "$RANLIB"; then
   6975   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6976   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6977 fi
   6978 
   6979 case $host_os in
   6980   darwin*)
   6981     lock_old_archive_extraction=yes ;;
   6982   *)
   6983     lock_old_archive_extraction=no ;;
   6984 esac
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   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 # If no C compiler was specified, use CC.
   7025 LTCC=${LTCC-"$CC"}
   7026 
   7027 # If no C compiler flags were specified, use CFLAGS.
   7028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7029 
   7030 # Allow CC to be a program name with arguments.
   7031 compiler=$CC
   7032 
   7033 
   7034 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7036 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7037 if test ${lt_cv_sys_global_symbol_pipe+y}
   7038 then :
   7039   printf %s "(cached) " >&6
   7040 else case e in #(
   7041   e)
   7042 # These are sane defaults that work on at least a few old systems.
   7043 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7044 
   7045 # Character class describing NM global symbol codes.
   7046 symcode='[BCDEGRST]'
   7047 
   7048 # Regexp to match symbols that can be accessed directly from C.
   7049 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7050 
   7051 # Define system-specific variables.
   7052 case $host_os in
   7053 aix*)
   7054   symcode='[BCDT]'
   7055   ;;
   7056 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7057   symcode='[ABCDGISTW]'
   7058   ;;
   7059 hpux*)
   7060   if test ia64 = "$host_cpu"; then
   7061     symcode='[ABCDEGRST]'
   7062   fi
   7063   ;;
   7064 irix* | nonstopux*)
   7065   symcode='[BCDEGRST]'
   7066   ;;
   7067 osf*)
   7068   symcode='[BCDEGQRST]'
   7069   ;;
   7070 solaris*)
   7071   symcode='[BCDRT]'
   7072   ;;
   7073 sco3.2v5*)
   7074   symcode='[DT]'
   7075   ;;
   7076 sysv4.2uw2*)
   7077   symcode='[DT]'
   7078   ;;
   7079 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7080   symcode='[ABDT]'
   7081   ;;
   7082 sysv4)
   7083   symcode='[DFNSTU]'
   7084   ;;
   7085 esac
   7086 
   7087 # If we're using GNU nm, then use its standard symbol codes.
   7088 case `$NM -V 2>&1` in
   7089 *GNU* | *'with BFD'*)
   7090   symcode='[ABCDGIRSTW]' ;;
   7091 esac
   7092 
   7093 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7094   # Gets list of data symbols to import.
   7095   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7096   # Adjust the below global symbol transforms to fixup imported variables.
   7097   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7098   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7099   lt_c_name_lib_hook="\
   7100   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7101   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7102 else
   7103   # Disable hooks by default.
   7104   lt_cv_sys_global_symbol_to_import=
   7105   lt_cdecl_hook=
   7106   lt_c_name_hook=
   7107   lt_c_name_lib_hook=
   7108 fi
   7109 
   7110 # Transform an extracted symbol line into a proper C declaration.
   7111 # Some systems (esp. on ia64) link data and code symbols differently,
   7112 # so use this general approach.
   7113 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7114 $lt_cdecl_hook\
   7115 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7116 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7117 
   7118 # Transform an extracted symbol line into symbol name and symbol address
   7119 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7120 $lt_c_name_hook\
   7121 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7122 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7123 
   7124 # Transform an extracted symbol line into symbol name with lib prefix and
   7125 # symbol address.
   7126 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7127 $lt_c_name_lib_hook\
   7128 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7129 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7130 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7131 
   7132 # Handle CRLF in mingw tool chain
   7133 opt_cr=
   7134 case $build_os in
   7135 mingw* | windows*)
   7136   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7137   ;;
   7138 esac
   7139 
   7140 # Try without a prefix underscore, then with it.
   7141 for ac_symprfx in "" "_"; do
   7142 
   7143   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7144   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7145 
   7146   # Write the raw and C identifiers.
   7147   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7148     # Fake it for dumpbin and say T for any non-static function,
   7149     # D for any global variable and I for any imported variable.
   7150     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7151     # which start with @ or ?.
   7152     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7153 "     {last_section=section; section=\$ 3};"\
   7154 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7155 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7156 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7157 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7158 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7159 "     \$ 0!~/External *\|/{next};"\
   7160 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7161 "     {if(hide[section]) next};"\
   7162 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7163 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7164 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7165 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7166 "     ' prfx=^$ac_symprfx"
   7167   else
   7168     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7169   fi
   7170   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7171 
   7172   # Check to see that the pipe works correctly.
   7173   pipe_works=no
   7174 
   7175   rm -f conftest*
   7176   cat > conftest.$ac_ext <<_LT_EOF
   7177 #ifdef __cplusplus
   7178 extern "C" {
   7179 #endif
   7180 char nm_test_var;
   7181 void nm_test_func(void);
   7182 void nm_test_func(void){}
   7183 #ifdef __cplusplus
   7184 }
   7185 #endif
   7186 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7187 _LT_EOF
   7188 
   7189   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7190   (eval $ac_compile) 2>&5
   7191   ac_status=$?
   7192   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7193   test $ac_status = 0; }; then
   7194     # Now try to grab the symbols.
   7195     nlist=conftest.nm
   7196     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7197     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7198       # Try sorting and uniquifying the output.
   7199       if sort "$nlist" | uniq > "$nlist"T; then
   7200 	mv -f "$nlist"T "$nlist"
   7201       else
   7202 	rm -f "$nlist"T
   7203       fi
   7204 
   7205       # Make sure that we snagged all the symbols we need.
   7206       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7207 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7208 	  cat <<_LT_EOF > conftest.$ac_ext
   7209 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7210 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7211 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7212    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7213 # define LT_DLSYM_CONST
   7214 #elif defined __osf__
   7215 /* This system does not cope well with relocations in const data.  */
   7216 # define LT_DLSYM_CONST
   7217 #else
   7218 # define LT_DLSYM_CONST const
   7219 #endif
   7220 
   7221 #ifdef __cplusplus
   7222 extern "C" {
   7223 #endif
   7224 
   7225 _LT_EOF
   7226 	  # Now generate the symbol file.
   7227 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7228 
   7229 	  cat <<_LT_EOF >> conftest.$ac_ext
   7230 
   7231 /* The mapping between symbol names and symbols.  */
   7232 LT_DLSYM_CONST struct {
   7233   const char *name;
   7234   void       *address;
   7235 }
   7236 lt__PROGRAM__LTX_preloaded_symbols[] =
   7237 {
   7238   { "@PROGRAM@", (void *) 0 },
   7239 _LT_EOF
   7240 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7241 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7242   {0, (void *) 0}
   7243 };
   7244 
   7245 /* This works around a problem in FreeBSD linker */
   7246 #ifdef FREEBSD_WORKAROUND
   7247 static const void *lt_preloaded_setup() {
   7248   return lt__PROGRAM__LTX_preloaded_symbols;
   7249 }
   7250 #endif
   7251 
   7252 #ifdef __cplusplus
   7253 }
   7254 #endif
   7255 _LT_EOF
   7256 	  # Now try linking the two files.
   7257 	  mv conftest.$ac_objext conftstm.$ac_objext
   7258 	  lt_globsym_save_LIBS=$LIBS
   7259 	  lt_globsym_save_CFLAGS=$CFLAGS
   7260 	  LIBS=conftstm.$ac_objext
   7261 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7262 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7263   (eval $ac_link) 2>&5
   7264   ac_status=$?
   7265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7266   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7267 	    pipe_works=yes
   7268 	  fi
   7269 	  LIBS=$lt_globsym_save_LIBS
   7270 	  CFLAGS=$lt_globsym_save_CFLAGS
   7271 	else
   7272 	  echo "cannot find nm_test_func in $nlist" >&5
   7273 	fi
   7274       else
   7275 	echo "cannot find nm_test_var in $nlist" >&5
   7276       fi
   7277     else
   7278       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7279     fi
   7280   else
   7281     echo "$progname: failed program was:" >&5
   7282     cat conftest.$ac_ext >&5
   7283   fi
   7284   rm -rf conftest* conftst*
   7285 
   7286   # Do not use the global_symbol_pipe unless it works.
   7287   if test yes = "$pipe_works"; then
   7288     break
   7289   else
   7290     lt_cv_sys_global_symbol_pipe=
   7291   fi
   7292 done
   7293  ;;
   7294 esac
   7295 fi
   7296 
   7297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7298   lt_cv_sys_global_symbol_to_cdecl=
   7299 fi
   7300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7302 printf "%s\n" "failed" >&6; }
   7303 else
   7304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7305 printf "%s\n" "ok" >&6; }
   7306 fi
   7307 
   7308 # Response file support.
   7309 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7310   nm_file_list_spec='@'
   7311 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7312   nm_file_list_spec='@'
   7313 fi
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7352 printf %s "checking for sysroot... " >&6; }
   7353 
   7354 # Check whether --with-sysroot was given.
   7355 if test ${with_sysroot+y}
   7356 then :
   7357   withval=$with_sysroot;
   7358 else case e in #(
   7359   e) with_sysroot=no ;;
   7360 esac
   7361 fi
   7362 
   7363 
   7364 lt_sysroot=
   7365 case $with_sysroot in #(
   7366  yes)
   7367    if test yes = "$GCC"; then
   7368      # Trim trailing / since we'll always append absolute paths and we want
   7369      # to avoid //, if only for less confusing output for the user.
   7370      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7371    fi
   7372    ;; #(
   7373  /*)
   7374    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7375    ;; #(
   7376  no|'')
   7377    ;; #(
   7378  *)
   7379    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7380 printf "%s\n" "$with_sysroot" >&6; }
   7381    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7382    ;;
   7383 esac
   7384 
   7385  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7386 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7393 printf %s "checking for a working dd... " >&6; }
   7394 if test ${ac_cv_path_lt_DD+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else case e in #(
   7398   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7399 cat conftest.i conftest.i >conftest2.i
   7400 : ${lt_DD:=$DD}
   7401 if test -z "$lt_DD"; then
   7402   ac_path_lt_DD_found=false
   7403   # Loop through the user's path and test for each of PROGNAME-LIST
   7404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7405 for as_dir in $PATH
   7406 do
   7407   IFS=$as_save_IFS
   7408   case $as_dir in #(((
   7409     '') as_dir=./ ;;
   7410     */) ;;
   7411     *) as_dir=$as_dir/ ;;
   7412   esac
   7413     for ac_prog in dd
   7414    do
   7415     for ac_exec_ext in '' $ac_executable_extensions; do
   7416       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7417       as_fn_executable_p "$ac_path_lt_DD" || continue
   7418 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7419   cmp -s conftest.i conftest.out \
   7420   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7421 fi
   7422       $ac_path_lt_DD_found && break 3
   7423     done
   7424   done
   7425   done
   7426 IFS=$as_save_IFS
   7427   if test -z "$ac_cv_path_lt_DD"; then
   7428     :
   7429   fi
   7430 else
   7431   ac_cv_path_lt_DD=$lt_DD
   7432 fi
   7433 
   7434 rm -f conftest.i conftest2.i conftest.out ;;
   7435 esac
   7436 fi
   7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7438 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7439 
   7440 
   7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7442 printf %s "checking how to truncate binary pipes... " >&6; }
   7443 if test ${lt_cv_truncate_bin+y}
   7444 then :
   7445   printf %s "(cached) " >&6
   7446 else case e in #(
   7447   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7448 cat conftest.i conftest.i >conftest2.i
   7449 lt_cv_truncate_bin=
   7450 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7451   cmp -s conftest.i conftest.out \
   7452   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7453 fi
   7454 rm -f conftest.i conftest2.i conftest.out
   7455 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7456 esac
   7457 fi
   7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7459 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7468 func_cc_basename ()
   7469 {
   7470     for cc_temp in $*""; do
   7471       case $cc_temp in
   7472         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7473         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7474         \-*) ;;
   7475         *) break;;
   7476       esac
   7477     done
   7478     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7479 }
   7480 
   7481 # Check whether --enable-libtool-lock was given.
   7482 if test ${enable_libtool_lock+y}
   7483 then :
   7484   enableval=$enable_libtool_lock;
   7485 fi
   7486 
   7487 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7488 
   7489 # Some flags need to be propagated to the compiler or linker for good
   7490 # libtool support.
   7491 case $host in
   7492 ia64-*-hpux*)
   7493   # Find out what ABI is being produced by ac_compile, and set mode
   7494   # options accordingly.
   7495   echo 'int i;' > conftest.$ac_ext
   7496   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7497   (eval $ac_compile) 2>&5
   7498   ac_status=$?
   7499   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7500   test $ac_status = 0; }; then
   7501     case `$FILECMD conftest.$ac_objext` in
   7502       *ELF-32*)
   7503 	HPUX_IA64_MODE=32
   7504 	;;
   7505       *ELF-64*)
   7506 	HPUX_IA64_MODE=64
   7507 	;;
   7508     esac
   7509   fi
   7510   rm -rf conftest*
   7511   ;;
   7512 *-*-irix6*)
   7513   # Find out what ABI is being produced by ac_compile, and set linker
   7514   # options accordingly.
   7515   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7516   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7517   (eval $ac_compile) 2>&5
   7518   ac_status=$?
   7519   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7520   test $ac_status = 0; }; then
   7521     if test yes = "$lt_cv_prog_gnu_ld"; then
   7522       case `$FILECMD conftest.$ac_objext` in
   7523 	*32-bit*)
   7524 	  LD="${LD-ld} -melf32bsmip"
   7525 	  ;;
   7526 	*N32*)
   7527 	  LD="${LD-ld} -melf32bmipn32"
   7528 	  ;;
   7529 	*64-bit*)
   7530 	  LD="${LD-ld} -melf64bmip"
   7531 	;;
   7532       esac
   7533     else
   7534       case `$FILECMD conftest.$ac_objext` in
   7535 	*32-bit*)
   7536 	  LD="${LD-ld} -32"
   7537 	  ;;
   7538 	*N32*)
   7539 	  LD="${LD-ld} -n32"
   7540 	  ;;
   7541 	*64-bit*)
   7542 	  LD="${LD-ld} -64"
   7543 	  ;;
   7544       esac
   7545     fi
   7546   fi
   7547   rm -rf conftest*
   7548   ;;
   7549 
   7550 mips64*-*linux*)
   7551   # Find out what ABI is being produced by ac_compile, and set linker
   7552   # options accordingly.
   7553   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7554   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7555   (eval $ac_compile) 2>&5
   7556   ac_status=$?
   7557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7558   test $ac_status = 0; }; then
   7559     emul=elf
   7560     case `$FILECMD conftest.$ac_objext` in
   7561       *32-bit*)
   7562 	emul="${emul}32"
   7563 	;;
   7564       *64-bit*)
   7565 	emul="${emul}64"
   7566 	;;
   7567     esac
   7568     case `$FILECMD conftest.$ac_objext` in
   7569       *MSB*)
   7570 	emul="${emul}btsmip"
   7571 	;;
   7572       *LSB*)
   7573 	emul="${emul}ltsmip"
   7574 	;;
   7575     esac
   7576     case `$FILECMD conftest.$ac_objext` in
   7577       *N32*)
   7578 	emul="${emul}n32"
   7579 	;;
   7580     esac
   7581     LD="${LD-ld} -m $emul"
   7582   fi
   7583   rm -rf conftest*
   7584   ;;
   7585 
   7586 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7587 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7588   # Find out what ABI is being produced by ac_compile, and set linker
   7589   # options accordingly.  Note that the listed cases only cover the
   7590   # situations where additional linker options are needed (such as when
   7591   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7592   # vice versa); the common cases where no linker options are needed do
   7593   # not appear in the list.
   7594   echo 'int i;' > conftest.$ac_ext
   7595   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7596   (eval $ac_compile) 2>&5
   7597   ac_status=$?
   7598   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7599   test $ac_status = 0; }; then
   7600     case `$FILECMD conftest.o` in
   7601       *32-bit*)
   7602 	case $host in
   7603 	  x86_64-*kfreebsd*-gnu)
   7604 	    LD="${LD-ld} -m elf_i386_fbsd"
   7605 	    ;;
   7606 	  x86_64-*linux*|x86_64-gnu*)
   7607 	    case `$FILECMD conftest.o` in
   7608 	      *x86-64*)
   7609 		LD="${LD-ld} -m elf32_x86_64"
   7610 		;;
   7611 	      *)
   7612 		LD="${LD-ld} -m elf_i386"
   7613 		;;
   7614 	    esac
   7615 	    ;;
   7616 	  powerpc64le-*linux*)
   7617 	    LD="${LD-ld} -m elf32lppclinux"
   7618 	    ;;
   7619 	  powerpc64-*linux*)
   7620 	    LD="${LD-ld} -m elf32ppclinux"
   7621 	    ;;
   7622 	  s390x-*linux*)
   7623 	    LD="${LD-ld} -m elf_s390"
   7624 	    ;;
   7625 	  sparc64-*linux*)
   7626 	    LD="${LD-ld} -m elf32_sparc"
   7627 	    ;;
   7628 	esac
   7629 	;;
   7630       *64-bit*)
   7631 	case $host in
   7632 	  x86_64-*kfreebsd*-gnu)
   7633 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7634 	    ;;
   7635 	  x86_64-*linux*|x86_64-gnu*)
   7636 	    LD="${LD-ld} -m elf_x86_64"
   7637 	    ;;
   7638 	  powerpcle-*linux*)
   7639 	    LD="${LD-ld} -m elf64lppc"
   7640 	    ;;
   7641 	  powerpc-*linux*)
   7642 	    LD="${LD-ld} -m elf64ppc"
   7643 	    ;;
   7644 	  s390*-*linux*|s390*-*tpf*)
   7645 	    LD="${LD-ld} -m elf64_s390"
   7646 	    ;;
   7647 	  sparc*-*linux*)
   7648 	    LD="${LD-ld} -m elf64_sparc"
   7649 	    ;;
   7650 	esac
   7651 	;;
   7652     esac
   7653   fi
   7654   rm -rf conftest*
   7655   ;;
   7656 
   7657 *-*-sco3.2v5*)
   7658   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7659   SAVE_CFLAGS=$CFLAGS
   7660   CFLAGS="$CFLAGS -belf"
   7661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7662 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7663 if test ${lt_cv_cc_needs_belf+y}
   7664 then :
   7665   printf %s "(cached) " >&6
   7666 else case e in #(
   7667   e) ac_ext=c
   7668 ac_cpp='$CPP $CPPFLAGS'
   7669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7672 
   7673      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7674 /* end confdefs.h.  */
   7675 
   7676 int
   7677 main (void)
   7678 {
   7679 
   7680   ;
   7681   return 0;
   7682 }
   7683 _ACEOF
   7684 if ac_fn_c_try_link "$LINENO"
   7685 then :
   7686   lt_cv_cc_needs_belf=yes
   7687 else case e in #(
   7688   e) lt_cv_cc_needs_belf=no ;;
   7689 esac
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7692     conftest$ac_exeext conftest.$ac_ext
   7693      ac_ext=c
   7694 ac_cpp='$CPP $CPPFLAGS'
   7695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7698  ;;
   7699 esac
   7700 fi
   7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7702 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7703   if test yes != "$lt_cv_cc_needs_belf"; then
   7704     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7705     CFLAGS=$SAVE_CFLAGS
   7706   fi
   7707   ;;
   7708 *-*solaris*)
   7709   # Find out what ABI is being produced by ac_compile, and set linker
   7710   # options accordingly.
   7711   echo 'int i;' > conftest.$ac_ext
   7712   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7713   (eval $ac_compile) 2>&5
   7714   ac_status=$?
   7715   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7716   test $ac_status = 0; }; then
   7717     case `$FILECMD conftest.o` in
   7718     *64-bit*)
   7719       case $lt_cv_prog_gnu_ld in
   7720       yes*)
   7721         case $host in
   7722         i?86-*-solaris*|x86_64-*-solaris*)
   7723           LD="${LD-ld} -m elf_x86_64"
   7724           ;;
   7725         sparc*-*-solaris*)
   7726           LD="${LD-ld} -m elf64_sparc"
   7727           ;;
   7728         esac
   7729         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7730         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7731           LD=${LD-ld}_sol2
   7732         fi
   7733         ;;
   7734       *)
   7735 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7736 	  LD="${LD-ld} -64"
   7737 	fi
   7738 	;;
   7739       esac
   7740       ;;
   7741     esac
   7742   fi
   7743   rm -rf conftest*
   7744   ;;
   7745 esac
   7746 
   7747 need_locks=$enable_libtool_lock
   7748 
   7749 if test -n "$ac_tool_prefix"; then
   7750   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7751 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7753 printf %s "checking for $ac_word... " >&6; }
   7754 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7755 then :
   7756   printf %s "(cached) " >&6
   7757 else case e in #(
   7758   e) if test -n "$MANIFEST_TOOL"; then
   7759   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7760 else
   7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7762 for as_dir in $PATH
   7763 do
   7764   IFS=$as_save_IFS
   7765   case $as_dir in #(((
   7766     '') as_dir=./ ;;
   7767     */) ;;
   7768     *) as_dir=$as_dir/ ;;
   7769   esac
   7770     for ac_exec_ext in '' $ac_executable_extensions; do
   7771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7772     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7774     break 2
   7775   fi
   7776 done
   7777   done
   7778 IFS=$as_save_IFS
   7779 
   7780 fi ;;
   7781 esac
   7782 fi
   7783 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7784 if test -n "$MANIFEST_TOOL"; then
   7785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7786 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7787 else
   7788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7789 printf "%s\n" "no" >&6; }
   7790 fi
   7791 
   7792 
   7793 fi
   7794 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7795   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7796   # Extract the first word of "mt", so it can be a program name with args.
   7797 set dummy mt; ac_word=$2
   7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7799 printf %s "checking for $ac_word... " >&6; }
   7800 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7801 then :
   7802   printf %s "(cached) " >&6
   7803 else case e in #(
   7804   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7805   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7806 else
   7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7808 for as_dir in $PATH
   7809 do
   7810   IFS=$as_save_IFS
   7811   case $as_dir in #(((
   7812     '') as_dir=./ ;;
   7813     */) ;;
   7814     *) as_dir=$as_dir/ ;;
   7815   esac
   7816     for ac_exec_ext in '' $ac_executable_extensions; do
   7817   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7818     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7819     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7820     break 2
   7821   fi
   7822 done
   7823   done
   7824 IFS=$as_save_IFS
   7825 
   7826 fi ;;
   7827 esac
   7828 fi
   7829 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7830 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7832 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7833 else
   7834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7835 printf "%s\n" "no" >&6; }
   7836 fi
   7837 
   7838   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7839     MANIFEST_TOOL=":"
   7840   else
   7841     case $cross_compiling:$ac_tool_warned in
   7842 yes:)
   7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7844 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7845 ac_tool_warned=yes ;;
   7846 esac
   7847     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7848   fi
   7849 else
   7850   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7851 fi
   7852 
   7853 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7855 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7856 if test ${lt_cv_path_manifest_tool+y}
   7857 then :
   7858   printf %s "(cached) " >&6
   7859 else case e in #(
   7860   e) lt_cv_path_manifest_tool=no
   7861   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7862   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7863   cat conftest.err >&5
   7864   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7865     lt_cv_path_manifest_tool=yes
   7866   fi
   7867   rm -f conftest* ;;
   7868 esac
   7869 fi
   7870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7871 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7872 if test yes != "$lt_cv_path_manifest_tool"; then
   7873   MANIFEST_TOOL=:
   7874 fi
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881   case $host_os in
   7882     rhapsody* | darwin*)
   7883     if test -n "$ac_tool_prefix"; then
   7884   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7885 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7887 printf %s "checking for $ac_word... " >&6; }
   7888 if test ${ac_cv_prog_DSYMUTIL+y}
   7889 then :
   7890   printf %s "(cached) " >&6
   7891 else case e in #(
   7892   e) if test -n "$DSYMUTIL"; then
   7893   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7894 else
   7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7896 for as_dir in $PATH
   7897 do
   7898   IFS=$as_save_IFS
   7899   case $as_dir in #(((
   7900     '') as_dir=./ ;;
   7901     */) ;;
   7902     *) as_dir=$as_dir/ ;;
   7903   esac
   7904     for ac_exec_ext in '' $ac_executable_extensions; do
   7905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7906     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7908     break 2
   7909   fi
   7910 done
   7911   done
   7912 IFS=$as_save_IFS
   7913 
   7914 fi ;;
   7915 esac
   7916 fi
   7917 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7918 if test -n "$DSYMUTIL"; then
   7919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7920 printf "%s\n" "$DSYMUTIL" >&6; }
   7921 else
   7922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7923 printf "%s\n" "no" >&6; }
   7924 fi
   7925 
   7926 
   7927 fi
   7928 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7929   ac_ct_DSYMUTIL=$DSYMUTIL
   7930   # Extract the first word of "dsymutil", so it can be a program name with args.
   7931 set dummy dsymutil; ac_word=$2
   7932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7933 printf %s "checking for $ac_word... " >&6; }
   7934 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else case e in #(
   7938   e) if test -n "$ac_ct_DSYMUTIL"; then
   7939   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7940 else
   7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7942 for as_dir in $PATH
   7943 do
   7944   IFS=$as_save_IFS
   7945   case $as_dir in #(((
   7946     '') as_dir=./ ;;
   7947     */) ;;
   7948     *) as_dir=$as_dir/ ;;
   7949   esac
   7950     for ac_exec_ext in '' $ac_executable_extensions; do
   7951   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7952     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7953     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7954     break 2
   7955   fi
   7956 done
   7957   done
   7958 IFS=$as_save_IFS
   7959 
   7960 fi ;;
   7961 esac
   7962 fi
   7963 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7964 if test -n "$ac_ct_DSYMUTIL"; then
   7965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7966 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7967 else
   7968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7969 printf "%s\n" "no" >&6; }
   7970 fi
   7971 
   7972   if test "x$ac_ct_DSYMUTIL" = x; then
   7973     DSYMUTIL=":"
   7974   else
   7975     case $cross_compiling:$ac_tool_warned in
   7976 yes:)
   7977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7978 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7979 ac_tool_warned=yes ;;
   7980 esac
   7981     DSYMUTIL=$ac_ct_DSYMUTIL
   7982   fi
   7983 else
   7984   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7985 fi
   7986 
   7987     if test -n "$ac_tool_prefix"; then
   7988   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7989 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7991 printf %s "checking for $ac_word... " >&6; }
   7992 if test ${ac_cv_prog_NMEDIT+y}
   7993 then :
   7994   printf %s "(cached) " >&6
   7995 else case e in #(
   7996   e) if test -n "$NMEDIT"; then
   7997   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7998 else
   7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8000 for as_dir in $PATH
   8001 do
   8002   IFS=$as_save_IFS
   8003   case $as_dir in #(((
   8004     '') as_dir=./ ;;
   8005     */) ;;
   8006     *) as_dir=$as_dir/ ;;
   8007   esac
   8008     for ac_exec_ext in '' $ac_executable_extensions; do
   8009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8010     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8012     break 2
   8013   fi
   8014 done
   8015   done
   8016 IFS=$as_save_IFS
   8017 
   8018 fi ;;
   8019 esac
   8020 fi
   8021 NMEDIT=$ac_cv_prog_NMEDIT
   8022 if test -n "$NMEDIT"; then
   8023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8024 printf "%s\n" "$NMEDIT" >&6; }
   8025 else
   8026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8027 printf "%s\n" "no" >&6; }
   8028 fi
   8029 
   8030 
   8031 fi
   8032 if test -z "$ac_cv_prog_NMEDIT"; then
   8033   ac_ct_NMEDIT=$NMEDIT
   8034   # Extract the first word of "nmedit", so it can be a program name with args.
   8035 set dummy nmedit; ac_word=$2
   8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8037 printf %s "checking for $ac_word... " >&6; }
   8038 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8039 then :
   8040   printf %s "(cached) " >&6
   8041 else case e in #(
   8042   e) if test -n "$ac_ct_NMEDIT"; then
   8043   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8044 else
   8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8046 for as_dir in $PATH
   8047 do
   8048   IFS=$as_save_IFS
   8049   case $as_dir in #(((
   8050     '') as_dir=./ ;;
   8051     */) ;;
   8052     *) as_dir=$as_dir/ ;;
   8053   esac
   8054     for ac_exec_ext in '' $ac_executable_extensions; do
   8055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8056     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8058     break 2
   8059   fi
   8060 done
   8061   done
   8062 IFS=$as_save_IFS
   8063 
   8064 fi ;;
   8065 esac
   8066 fi
   8067 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8068 if test -n "$ac_ct_NMEDIT"; then
   8069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8070 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8071 else
   8072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8073 printf "%s\n" "no" >&6; }
   8074 fi
   8075 
   8076   if test "x$ac_ct_NMEDIT" = x; then
   8077     NMEDIT=":"
   8078   else
   8079     case $cross_compiling:$ac_tool_warned in
   8080 yes:)
   8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8083 ac_tool_warned=yes ;;
   8084 esac
   8085     NMEDIT=$ac_ct_NMEDIT
   8086   fi
   8087 else
   8088   NMEDIT="$ac_cv_prog_NMEDIT"
   8089 fi
   8090 
   8091     if test -n "$ac_tool_prefix"; then
   8092   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8093 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8095 printf %s "checking for $ac_word... " >&6; }
   8096 if test ${ac_cv_prog_LIPO+y}
   8097 then :
   8098   printf %s "(cached) " >&6
   8099 else case e in #(
   8100   e) if test -n "$LIPO"; then
   8101   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8102 else
   8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8104 for as_dir in $PATH
   8105 do
   8106   IFS=$as_save_IFS
   8107   case $as_dir in #(((
   8108     '') as_dir=./ ;;
   8109     */) ;;
   8110     *) as_dir=$as_dir/ ;;
   8111   esac
   8112     for ac_exec_ext in '' $ac_executable_extensions; do
   8113   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8114     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8115     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8116     break 2
   8117   fi
   8118 done
   8119   done
   8120 IFS=$as_save_IFS
   8121 
   8122 fi ;;
   8123 esac
   8124 fi
   8125 LIPO=$ac_cv_prog_LIPO
   8126 if test -n "$LIPO"; then
   8127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8128 printf "%s\n" "$LIPO" >&6; }
   8129 else
   8130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8131 printf "%s\n" "no" >&6; }
   8132 fi
   8133 
   8134 
   8135 fi
   8136 if test -z "$ac_cv_prog_LIPO"; then
   8137   ac_ct_LIPO=$LIPO
   8138   # Extract the first word of "lipo", so it can be a program name with args.
   8139 set dummy lipo; ac_word=$2
   8140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8141 printf %s "checking for $ac_word... " >&6; }
   8142 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8143 then :
   8144   printf %s "(cached) " >&6
   8145 else case e in #(
   8146   e) if test -n "$ac_ct_LIPO"; then
   8147   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8148 else
   8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8150 for as_dir in $PATH
   8151 do
   8152   IFS=$as_save_IFS
   8153   case $as_dir in #(((
   8154     '') as_dir=./ ;;
   8155     */) ;;
   8156     *) as_dir=$as_dir/ ;;
   8157   esac
   8158     for ac_exec_ext in '' $ac_executable_extensions; do
   8159   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8160     ac_cv_prog_ac_ct_LIPO="lipo"
   8161     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8162     break 2
   8163   fi
   8164 done
   8165   done
   8166 IFS=$as_save_IFS
   8167 
   8168 fi ;;
   8169 esac
   8170 fi
   8171 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8172 if test -n "$ac_ct_LIPO"; then
   8173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8174 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8175 else
   8176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8177 printf "%s\n" "no" >&6; }
   8178 fi
   8179 
   8180   if test "x$ac_ct_LIPO" = x; then
   8181     LIPO=":"
   8182   else
   8183     case $cross_compiling:$ac_tool_warned in
   8184 yes:)
   8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8186 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8187 ac_tool_warned=yes ;;
   8188 esac
   8189     LIPO=$ac_ct_LIPO
   8190   fi
   8191 else
   8192   LIPO="$ac_cv_prog_LIPO"
   8193 fi
   8194 
   8195     if test -n "$ac_tool_prefix"; then
   8196   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8197 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8199 printf %s "checking for $ac_word... " >&6; }
   8200 if test ${ac_cv_prog_OTOOL+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else case e in #(
   8204   e) if test -n "$OTOOL"; then
   8205   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8206 else
   8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8208 for as_dir in $PATH
   8209 do
   8210   IFS=$as_save_IFS
   8211   case $as_dir in #(((
   8212     '') as_dir=./ ;;
   8213     */) ;;
   8214     *) as_dir=$as_dir/ ;;
   8215   esac
   8216     for ac_exec_ext in '' $ac_executable_extensions; do
   8217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8218     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8219     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8220     break 2
   8221   fi
   8222 done
   8223   done
   8224 IFS=$as_save_IFS
   8225 
   8226 fi ;;
   8227 esac
   8228 fi
   8229 OTOOL=$ac_cv_prog_OTOOL
   8230 if test -n "$OTOOL"; then
   8231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8232 printf "%s\n" "$OTOOL" >&6; }
   8233 else
   8234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8235 printf "%s\n" "no" >&6; }
   8236 fi
   8237 
   8238 
   8239 fi
   8240 if test -z "$ac_cv_prog_OTOOL"; then
   8241   ac_ct_OTOOL=$OTOOL
   8242   # Extract the first word of "otool", so it can be a program name with args.
   8243 set dummy otool; ac_word=$2
   8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8245 printf %s "checking for $ac_word... " >&6; }
   8246 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8247 then :
   8248   printf %s "(cached) " >&6
   8249 else case e in #(
   8250   e) if test -n "$ac_ct_OTOOL"; then
   8251   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8252 else
   8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8254 for as_dir in $PATH
   8255 do
   8256   IFS=$as_save_IFS
   8257   case $as_dir in #(((
   8258     '') as_dir=./ ;;
   8259     */) ;;
   8260     *) as_dir=$as_dir/ ;;
   8261   esac
   8262     for ac_exec_ext in '' $ac_executable_extensions; do
   8263   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8264     ac_cv_prog_ac_ct_OTOOL="otool"
   8265     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8266     break 2
   8267   fi
   8268 done
   8269   done
   8270 IFS=$as_save_IFS
   8271 
   8272 fi ;;
   8273 esac
   8274 fi
   8275 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8276 if test -n "$ac_ct_OTOOL"; then
   8277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8278 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8279 else
   8280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8281 printf "%s\n" "no" >&6; }
   8282 fi
   8283 
   8284   if test "x$ac_ct_OTOOL" = x; then
   8285     OTOOL=":"
   8286   else
   8287     case $cross_compiling:$ac_tool_warned in
   8288 yes:)
   8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8290 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8291 ac_tool_warned=yes ;;
   8292 esac
   8293     OTOOL=$ac_ct_OTOOL
   8294   fi
   8295 else
   8296   OTOOL="$ac_cv_prog_OTOOL"
   8297 fi
   8298 
   8299     if test -n "$ac_tool_prefix"; then
   8300   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8301 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8303 printf %s "checking for $ac_word... " >&6; }
   8304 if test ${ac_cv_prog_OTOOL64+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) if test -n "$OTOOL64"; then
   8309   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8310 else
   8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8312 for as_dir in $PATH
   8313 do
   8314   IFS=$as_save_IFS
   8315   case $as_dir in #(((
   8316     '') as_dir=./ ;;
   8317     */) ;;
   8318     *) as_dir=$as_dir/ ;;
   8319   esac
   8320     for ac_exec_ext in '' $ac_executable_extensions; do
   8321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8322     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8323     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8324     break 2
   8325   fi
   8326 done
   8327   done
   8328 IFS=$as_save_IFS
   8329 
   8330 fi ;;
   8331 esac
   8332 fi
   8333 OTOOL64=$ac_cv_prog_OTOOL64
   8334 if test -n "$OTOOL64"; then
   8335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8336 printf "%s\n" "$OTOOL64" >&6; }
   8337 else
   8338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8339 printf "%s\n" "no" >&6; }
   8340 fi
   8341 
   8342 
   8343 fi
   8344 if test -z "$ac_cv_prog_OTOOL64"; then
   8345   ac_ct_OTOOL64=$OTOOL64
   8346   # Extract the first word of "otool64", so it can be a program name with args.
   8347 set dummy otool64; ac_word=$2
   8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8349 printf %s "checking for $ac_word... " >&6; }
   8350 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8351 then :
   8352   printf %s "(cached) " >&6
   8353 else case e in #(
   8354   e) if test -n "$ac_ct_OTOOL64"; then
   8355   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8356 else
   8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8358 for as_dir in $PATH
   8359 do
   8360   IFS=$as_save_IFS
   8361   case $as_dir in #(((
   8362     '') as_dir=./ ;;
   8363     */) ;;
   8364     *) as_dir=$as_dir/ ;;
   8365   esac
   8366     for ac_exec_ext in '' $ac_executable_extensions; do
   8367   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8368     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8369     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8370     break 2
   8371   fi
   8372 done
   8373   done
   8374 IFS=$as_save_IFS
   8375 
   8376 fi ;;
   8377 esac
   8378 fi
   8379 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8380 if test -n "$ac_ct_OTOOL64"; then
   8381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8382 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8383 else
   8384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8385 printf "%s\n" "no" >&6; }
   8386 fi
   8387 
   8388   if test "x$ac_ct_OTOOL64" = x; then
   8389     OTOOL64=":"
   8390   else
   8391     case $cross_compiling:$ac_tool_warned in
   8392 yes:)
   8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8394 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8395 ac_tool_warned=yes ;;
   8396 esac
   8397     OTOOL64=$ac_ct_OTOOL64
   8398   fi
   8399 else
   8400   OTOOL64="$ac_cv_prog_OTOOL64"
   8401 fi
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8430 printf %s "checking for -single_module linker flag... " >&6; }
   8431 if test ${lt_cv_apple_cc_single_mod+y}
   8432 then :
   8433   printf %s "(cached) " >&6
   8434 else case e in #(
   8435   e) lt_cv_apple_cc_single_mod=no
   8436       if test -z "$LT_MULTI_MODULE"; then
   8437 	# By default we will add the -single_module flag. You can override
   8438 	# by either setting the environment variable LT_MULTI_MODULE
   8439 	# non-empty at configure time, or by adding -multi_module to the
   8440 	# link flags.
   8441 	rm -rf libconftest.dylib*
   8442 	echo "int foo(void){return 1;}" > conftest.c
   8443 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8444 -dynamiclib -Wl,-single_module conftest.c" >&5
   8445 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8446 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8447         _lt_result=$?
   8448 	# If there is a non-empty error log, and "single_module"
   8449 	# appears in it, assume the flag caused a linker warning
   8450         if test -s conftest.err && $GREP single_module conftest.err; then
   8451 	  cat conftest.err >&5
   8452 	# Otherwise, if the output was created with a 0 exit code from
   8453 	# the compiler, it worked.
   8454 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8455 	  lt_cv_apple_cc_single_mod=yes
   8456 	else
   8457 	  cat conftest.err >&5
   8458 	fi
   8459 	rm -rf libconftest.dylib*
   8460 	rm -f conftest.*
   8461       fi ;;
   8462 esac
   8463 fi
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8465 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8466 
   8467     # Feature test to disable chained fixups since it is not
   8468     # compatible with '-undefined dynamic_lookup'
   8469     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8470 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8471 if test ${lt_cv_support_no_fixup_chains+y}
   8472 then :
   8473   printf %s "(cached) " >&6
   8474 else case e in #(
   8475   e)  save_LDFLAGS=$LDFLAGS
   8476         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8477         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8478 /* end confdefs.h.  */
   8479 
   8480 int
   8481 main (void)
   8482 {
   8483 
   8484   ;
   8485   return 0;
   8486 }
   8487 _ACEOF
   8488 if ac_fn_c_try_link "$LINENO"
   8489 then :
   8490   lt_cv_support_no_fixup_chains=yes
   8491 else case e in #(
   8492   e) lt_cv_support_no_fixup_chains=no
   8493          ;;
   8494 esac
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8497     conftest$ac_exeext conftest.$ac_ext
   8498         LDFLAGS=$save_LDFLAGS
   8499 
   8500      ;;
   8501 esac
   8502 fi
   8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8504 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8505 
   8506     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8507 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8508 if test ${lt_cv_ld_exported_symbols_list+y}
   8509 then :
   8510   printf %s "(cached) " >&6
   8511 else case e in #(
   8512   e) lt_cv_ld_exported_symbols_list=no
   8513       save_LDFLAGS=$LDFLAGS
   8514       echo "_main" > conftest.sym
   8515       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 
   8519 int
   8520 main (void)
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"
   8528 then :
   8529   lt_cv_ld_exported_symbols_list=yes
   8530 else case e in #(
   8531   e) lt_cv_ld_exported_symbols_list=no ;;
   8532 esac
   8533 fi
   8534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8535     conftest$ac_exeext conftest.$ac_ext
   8536 	LDFLAGS=$save_LDFLAGS
   8537      ;;
   8538 esac
   8539 fi
   8540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8541 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8542 
   8543     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8544 printf %s "checking for -force_load linker flag... " >&6; }
   8545 if test ${lt_cv_ld_force_load+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else case e in #(
   8549   e) lt_cv_ld_force_load=no
   8550       cat > conftest.c << _LT_EOF
   8551 int forced_loaded() { return 2;}
   8552 _LT_EOF
   8553       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8554       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8555       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8556       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8557       echo "$RANLIB libconftest.a" >&5
   8558       $RANLIB libconftest.a 2>&5
   8559       cat > conftest.c << _LT_EOF
   8560 int main(void) { return 0;}
   8561 _LT_EOF
   8562       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8563       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8564       _lt_result=$?
   8565       if test -s conftest.err && $GREP force_load conftest.err; then
   8566 	cat conftest.err >&5
   8567       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8568 	lt_cv_ld_force_load=yes
   8569       else
   8570 	cat conftest.err >&5
   8571       fi
   8572         rm -f conftest.err libconftest.a conftest conftest.c
   8573         rm -rf conftest.dSYM
   8574      ;;
   8575 esac
   8576 fi
   8577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8578 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8579     case $host_os in
   8580     rhapsody* | darwin1.[012])
   8581       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8582     darwin1.*)
   8583       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8584     darwin*)
   8585       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8586         10.[012],*|,*powerpc*-darwin[5-8]*)
   8587           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8588         *)
   8589           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8590           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8591             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8592           fi
   8593         ;;
   8594       esac
   8595     ;;
   8596   esac
   8597     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8598       _lt_dar_single_mod='$single_module'
   8599     fi
   8600     _lt_dar_needs_single_mod=no
   8601     case $host_os in
   8602     rhapsody* | darwin1.*)
   8603       _lt_dar_needs_single_mod=yes ;;
   8604     darwin*)
   8605       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8606       # -single_module is the default and -multi_module is unsupported.
   8607       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8608       # target any OS version that needs -single_module.
   8609       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8610       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8611         _lt_dar_needs_single_mod=yes ;;
   8612       esac
   8613     ;;
   8614     esac
   8615     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8616       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8617     else
   8618       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8619     fi
   8620     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8621       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8622     else
   8623       _lt_dsymutil=
   8624     fi
   8625     ;;
   8626   esac
   8627 
   8628 # func_munge_path_list VARIABLE PATH
   8629 # -----------------------------------
   8630 # VARIABLE is name of variable containing _space_ separated list of
   8631 # directories to be munged by the contents of PATH, which is string
   8632 # having a format:
   8633 # "DIR[:DIR]:"
   8634 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8635 # ":DIR[:DIR]"
   8636 #       string "DIR[ DIR]" will be appended to VARIABLE
   8637 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8638 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8639 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8640 # "DIR[:DIR]"
   8641 #       VARIABLE will be replaced by "DIR[ DIR]"
   8642 func_munge_path_list ()
   8643 {
   8644     case x$2 in
   8645     x)
   8646         ;;
   8647     *:)
   8648         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8649         ;;
   8650     x:*)
   8651         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8652         ;;
   8653     *::*)
   8654         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8655         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8656         ;;
   8657     *)
   8658         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8659         ;;
   8660     esac
   8661 }
   8662 
   8663 ac_header= ac_cache=
   8664 for ac_item in $ac_header_c_list
   8665 do
   8666   if test $ac_cache; then
   8667     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8668     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8669       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8670     fi
   8671     ac_header= ac_cache=
   8672   elif test $ac_header; then
   8673     ac_cache=$ac_item
   8674   else
   8675     ac_header=$ac_item
   8676   fi
   8677 done
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8687 then :
   8688 
   8689 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8690 
   8691 fi
   8692 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8693 "
   8694 if test "x$ac_cv_header_dlfcn_h" = xyes
   8695 then :
   8696   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8697 
   8698 fi
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 # Set options
   8705 
   8706 
   8707 
   8708         enable_dlopen=no
   8709 
   8710 
   8711   enable_win32_dll=no
   8712 
   8713 
   8714             # Check whether --enable-shared was given.
   8715 if test ${enable_shared+y}
   8716 then :
   8717   enableval=$enable_shared; p=${PACKAGE-default}
   8718     case $enableval in
   8719     yes) enable_shared=yes ;;
   8720     no) enable_shared=no ;;
   8721     *)
   8722       enable_shared=no
   8723       # Look at the argument we got.  We use all the common list separators.
   8724       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8725       for pkg in $enableval; do
   8726 	IFS=$lt_save_ifs
   8727 	if test "X$pkg" = "X$p"; then
   8728 	  enable_shared=yes
   8729 	fi
   8730       done
   8731       IFS=$lt_save_ifs
   8732       ;;
   8733     esac
   8734 else case e in #(
   8735   e) enable_shared=yes ;;
   8736 esac
   8737 fi
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747   # Check whether --enable-static was given.
   8748 if test ${enable_static+y}
   8749 then :
   8750   enableval=$enable_static; p=${PACKAGE-default}
   8751     case $enableval in
   8752     yes) enable_static=yes ;;
   8753     no) enable_static=no ;;
   8754     *)
   8755      enable_static=no
   8756       # Look at the argument we got.  We use all the common list separators.
   8757       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8758       for pkg in $enableval; do
   8759 	IFS=$lt_save_ifs
   8760 	if test "X$pkg" = "X$p"; then
   8761 	  enable_static=yes
   8762 	fi
   8763       done
   8764       IFS=$lt_save_ifs
   8765       ;;
   8766     esac
   8767 else case e in #(
   8768   e) enable_static=yes ;;
   8769 esac
   8770 fi
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780   # Check whether --enable-pic was given.
   8781 if test ${enable_pic+y}
   8782 then :
   8783   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8784      case $enableval in
   8785      yes|no) pic_mode=$enableval ;;
   8786      *)
   8787        pic_mode=default
   8788        # Look at the argument we got.  We use all the common list separators.
   8789        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8790        for lt_pkg in $enableval; do
   8791 	 IFS=$lt_save_ifs
   8792 	 if test "X$lt_pkg" = "X$lt_p"; then
   8793 	   pic_mode=yes
   8794 	 fi
   8795        done
   8796        IFS=$lt_save_ifs
   8797        ;;
   8798      esac
   8799 else case e in #(
   8800   e)           # Check whether --with-pic was given.
   8801 if test ${with_pic+y}
   8802 then :
   8803   withval=$with_pic; lt_p=${PACKAGE-default}
   8804 	 case $withval in
   8805 	 yes|no) pic_mode=$withval ;;
   8806 	 *)
   8807 	   pic_mode=default
   8808 	   # Look at the argument we got.  We use all the common list separators.
   8809 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8810 	   for lt_pkg in $withval; do
   8811 	     IFS=$lt_save_ifs
   8812 	     if test "X$lt_pkg" = "X$lt_p"; then
   8813 	       pic_mode=yes
   8814 	     fi
   8815 	   done
   8816 	   IFS=$lt_save_ifs
   8817 	   ;;
   8818 	 esac
   8819 else case e in #(
   8820   e) pic_mode=default ;;
   8821 esac
   8822 fi
   8823 
   8824      ;;
   8825 esac
   8826 fi
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835   # Check whether --enable-fast-install was given.
   8836 if test ${enable_fast_install+y}
   8837 then :
   8838   enableval=$enable_fast_install; p=${PACKAGE-default}
   8839     case $enableval in
   8840     yes) enable_fast_install=yes ;;
   8841     no) enable_fast_install=no ;;
   8842     *)
   8843       enable_fast_install=no
   8844       # Look at the argument we got.  We use all the common list separators.
   8845       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8846       for pkg in $enableval; do
   8847 	IFS=$lt_save_ifs
   8848 	if test "X$pkg" = "X$p"; then
   8849 	  enable_fast_install=yes
   8850 	fi
   8851       done
   8852       IFS=$lt_save_ifs
   8853       ;;
   8854     esac
   8855 else case e in #(
   8856   e) enable_fast_install=yes ;;
   8857 esac
   8858 fi
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867   shared_archive_member_spec=
   8868 case $host,$enable_shared in
   8869 power*-*-aix[5-9]*,yes)
   8870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8871 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8872   # Check whether --enable-aix-soname was given.
   8873 if test ${enable_aix_soname+y}
   8874 then :
   8875   enableval=$enable_aix_soname; case $enableval in
   8876      aix|svr4|both)
   8877        ;;
   8878      *)
   8879        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8880        ;;
   8881      esac
   8882      lt_cv_with_aix_soname=$enable_aix_soname
   8883 else case e in #(
   8884   e) # Check whether --with-aix-soname was given.
   8885 if test ${with_aix_soname+y}
   8886 then :
   8887   withval=$with_aix_soname; case $withval in
   8888          aix|svr4|both)
   8889            ;;
   8890          *)
   8891            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8892            ;;
   8893          esac
   8894          lt_cv_with_aix_soname=$with_aix_soname
   8895 else case e in #(
   8896   e) if test ${lt_cv_with_aix_soname+y}
   8897 then :
   8898   printf %s "(cached) " >&6
   8899 else case e in #(
   8900   e) lt_cv_with_aix_soname=aix ;;
   8901 esac
   8902 fi
   8903  ;;
   8904 esac
   8905 fi
   8906 
   8907      enable_aix_soname=$lt_cv_with_aix_soname ;;
   8908 esac
   8909 fi
   8910 
   8911   with_aix_soname=$enable_aix_soname
   8912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8913 printf "%s\n" "$with_aix_soname" >&6; }
   8914   if test aix != "$with_aix_soname"; then
   8915     # For the AIX way of multilib, we name the shared archive member
   8916     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8917     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8918     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8919     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8920     if test 64 = "${OBJECT_MODE-32}"; then
   8921       shared_archive_member_spec=shr_64
   8922     else
   8923       shared_archive_member_spec=shr
   8924     fi
   8925   fi
   8926   ;;
   8927 *)
   8928   with_aix_soname=aix
   8929   ;;
   8930 esac
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 # This can be used to rebuild libtool when needed
   8942 LIBTOOL_DEPS=$ltmain
   8943 
   8944 # Always use our own libtool.
   8945 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 test -z "$LN_S" && LN_S="ln -s"
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 if test -n "${ZSH_VERSION+set}"; then
   8992    setopt NO_GLOB_SUBST
   8993 fi
   8994 
   8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8996 printf %s "checking for objdir... " >&6; }
   8997 if test ${lt_cv_objdir+y}
   8998 then :
   8999   printf %s "(cached) " >&6
   9000 else case e in #(
   9001   e) rm -f .libs 2>/dev/null
   9002 mkdir .libs 2>/dev/null
   9003 if test -d .libs; then
   9004   lt_cv_objdir=.libs
   9005 else
   9006   # MS-DOS does not allow filenames that begin with a dot.
   9007   lt_cv_objdir=_libs
   9008 fi
   9009 rmdir .libs 2>/dev/null ;;
   9010 esac
   9011 fi
   9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9013 printf "%s\n" "$lt_cv_objdir" >&6; }
   9014 objdir=$lt_cv_objdir
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9021 
   9022 
   9023 
   9024 
   9025 case $host_os in
   9026 aix3*)
   9027   # AIX sometimes has problems with the GCC collect2 program.  For some
   9028   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9029   # vanish in a puff of smoke.
   9030   if test set != "${COLLECT_NAMES+set}"; then
   9031     COLLECT_NAMES=
   9032     export COLLECT_NAMES
   9033   fi
   9034   ;;
   9035 esac
   9036 
   9037 # Global variables:
   9038 ofile=libtool
   9039 can_build_shared=yes
   9040 
   9041 # All known linkers require a '.a' archive for static linking (except MSVC and
   9042 # ICC, which need '.lib').
   9043 libext=a
   9044 
   9045 with_gnu_ld=$lt_cv_prog_gnu_ld
   9046 
   9047 old_CC=$CC
   9048 old_CFLAGS=$CFLAGS
   9049 
   9050 # Set sane defaults for various variables
   9051 test -z "$CC" && CC=cc
   9052 test -z "$LTCC" && LTCC=$CC
   9053 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9054 test -z "$LD" && LD=ld
   9055 test -z "$ac_objext" && ac_objext=o
   9056 
   9057 func_cc_basename $compiler
   9058 cc_basename=$func_cc_basename_result
   9059 
   9060 
   9061 # Only perform the check for file, if the check method requires it
   9062 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9063 case $deplibs_check_method in
   9064 file_magic*)
   9065   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9066     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9067 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9068 if test ${lt_cv_path_MAGIC_CMD+y}
   9069 then :
   9070   printf %s "(cached) " >&6
   9071 else case e in #(
   9072   e) case $MAGIC_CMD in
   9073 [\\/*] |  ?:[\\/]*)
   9074   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9075   ;;
   9076 *)
   9077   lt_save_MAGIC_CMD=$MAGIC_CMD
   9078   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9079   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9080   for ac_dir in $ac_dummy; do
   9081     IFS=$lt_save_ifs
   9082     test -z "$ac_dir" && ac_dir=.
   9083     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9084       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9085       if test -n "$file_magic_test_file"; then
   9086 	case $deplibs_check_method in
   9087 	"file_magic "*)
   9088 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9089 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9090 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9091 	    $EGREP "$file_magic_regex" > /dev/null; then
   9092 	    :
   9093 	  else
   9094 	    cat <<_LT_EOF 1>&2
   9095 
   9096 *** Warning: the command libtool uses to detect shared libraries,
   9097 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9098 *** The result is that libtool may fail to recognize shared libraries
   9099 *** as such.  This will affect the creation of libtool libraries that
   9100 *** depend on shared libraries, but programs linked with such libtool
   9101 *** libraries will work regardless of this problem.  Nevertheless, you
   9102 *** may want to report the problem to your system manager and/or to
   9103 *** bug-libtool@gnu.org
   9104 
   9105 _LT_EOF
   9106 	  fi ;;
   9107 	esac
   9108       fi
   9109       break
   9110     fi
   9111   done
   9112   IFS=$lt_save_ifs
   9113   MAGIC_CMD=$lt_save_MAGIC_CMD
   9114   ;;
   9115 esac ;;
   9116 esac
   9117 fi
   9118 
   9119 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9120 if test -n "$MAGIC_CMD"; then
   9121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9122 printf "%s\n" "$MAGIC_CMD" >&6; }
   9123 else
   9124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9125 printf "%s\n" "no" >&6; }
   9126 fi
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9133   if test -n "$ac_tool_prefix"; then
   9134     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9135 printf %s "checking for file... " >&6; }
   9136 if test ${lt_cv_path_MAGIC_CMD+y}
   9137 then :
   9138   printf %s "(cached) " >&6
   9139 else case e in #(
   9140   e) case $MAGIC_CMD in
   9141 [\\/*] |  ?:[\\/]*)
   9142   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9143   ;;
   9144 *)
   9145   lt_save_MAGIC_CMD=$MAGIC_CMD
   9146   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9147   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9148   for ac_dir in $ac_dummy; do
   9149     IFS=$lt_save_ifs
   9150     test -z "$ac_dir" && ac_dir=.
   9151     if test -f "$ac_dir/file"; then
   9152       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9153       if test -n "$file_magic_test_file"; then
   9154 	case $deplibs_check_method in
   9155 	"file_magic "*)
   9156 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9157 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9158 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9159 	    $EGREP "$file_magic_regex" > /dev/null; then
   9160 	    :
   9161 	  else
   9162 	    cat <<_LT_EOF 1>&2
   9163 
   9164 *** Warning: the command libtool uses to detect shared libraries,
   9165 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9166 *** The result is that libtool may fail to recognize shared libraries
   9167 *** as such.  This will affect the creation of libtool libraries that
   9168 *** depend on shared libraries, but programs linked with such libtool
   9169 *** libraries will work regardless of this problem.  Nevertheless, you
   9170 *** may want to report the problem to your system manager and/or to
   9171 *** bug-libtool@gnu.org
   9172 
   9173 _LT_EOF
   9174 	  fi ;;
   9175 	esac
   9176       fi
   9177       break
   9178     fi
   9179   done
   9180   IFS=$lt_save_ifs
   9181   MAGIC_CMD=$lt_save_MAGIC_CMD
   9182   ;;
   9183 esac ;;
   9184 esac
   9185 fi
   9186 
   9187 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9188 if test -n "$MAGIC_CMD"; then
   9189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9190 printf "%s\n" "$MAGIC_CMD" >&6; }
   9191 else
   9192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9193 printf "%s\n" "no" >&6; }
   9194 fi
   9195 
   9196 
   9197   else
   9198     MAGIC_CMD=:
   9199   fi
   9200 fi
   9201 
   9202   fi
   9203   ;;
   9204 esac
   9205 
   9206 # Use C for the default configuration in the libtool script
   9207 
   9208 lt_save_CC=$CC
   9209 ac_ext=c
   9210 ac_cpp='$CPP $CPPFLAGS'
   9211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9214 
   9215 
   9216 # Source file extension for C test sources.
   9217 ac_ext=c
   9218 
   9219 # Object file extension for compiled C test sources.
   9220 objext=o
   9221 objext=$objext
   9222 
   9223 # Code to be used in simple compile tests
   9224 lt_simple_compile_test_code="int some_variable = 0;"
   9225 
   9226 # Code to be used in simple link tests
   9227 lt_simple_link_test_code='int main(void){return(0);}'
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 # If no C compiler was specified, use CC.
   9236 LTCC=${LTCC-"$CC"}
   9237 
   9238 # If no C compiler flags were specified, use CFLAGS.
   9239 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9240 
   9241 # Allow CC to be a program name with arguments.
   9242 compiler=$CC
   9243 
   9244 # Save the default compiler, since it gets overwritten when the other
   9245 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9246 compiler_DEFAULT=$CC
   9247 
   9248 # save warnings/boilerplate of simple test code
   9249 ac_outfile=conftest.$ac_objext
   9250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9252 _lt_compiler_boilerplate=`cat conftest.err`
   9253 $RM conftest*
   9254 
   9255 ac_outfile=conftest.$ac_objext
   9256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9258 _lt_linker_boilerplate=`cat conftest.err`
   9259 $RM -r conftest*
   9260 
   9261 
   9262 ## CAVEAT EMPTOR:
   9263 ## There is no encapsulation within the following macros, do not change
   9264 ## the running order or otherwise move them around unless you know exactly
   9265 ## what you are doing...
   9266 if test -n "$compiler"; then
   9267 
   9268 lt_prog_compiler_no_builtin_flag=
   9269 
   9270 if test yes = "$GCC"; then
   9271   case $cc_basename in
   9272   nvcc*)
   9273     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9274   *)
   9275     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9276   esac
   9277 
   9278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9279 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9280 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9281 then :
   9282   printf %s "(cached) " >&6
   9283 else case e in #(
   9284   e) lt_cv_prog_compiler_rtti_exceptions=no
   9285    ac_outfile=conftest.$ac_objext
   9286    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9287    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9288    # Insert the option either (1) after the last *FLAGS variable, or
   9289    # (2) before a word containing "conftest.", or (3) at the end.
   9290    # Note that $ac_compile itself does not contain backslashes and begins
   9291    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9292    # The option is referenced via a variable to avoid confusing sed.
   9293    lt_compile=`echo "$ac_compile" | $SED \
   9294    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9295    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9296    -e 's:$: $lt_compiler_flag:'`
   9297    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9298    (eval "$lt_compile" 2>conftest.err)
   9299    ac_status=$?
   9300    cat conftest.err >&5
   9301    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9302    if (exit $ac_status) && test -s "$ac_outfile"; then
   9303      # The compiler can only warn and ignore the option if not recognized
   9304      # So say no if there are warnings other than the usual output.
   9305      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9306      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9307      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9308        lt_cv_prog_compiler_rtti_exceptions=yes
   9309      fi
   9310    fi
   9311    $RM conftest*
   9312  ;;
   9313 esac
   9314 fi
   9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9316 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9317 
   9318 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9319     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9320 else
   9321     :
   9322 fi
   9323 
   9324 fi
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331   lt_prog_compiler_wl=
   9332 lt_prog_compiler_pic=
   9333 lt_prog_compiler_static=
   9334 
   9335 
   9336   if test yes = "$GCC"; then
   9337     lt_prog_compiler_wl='-Wl,'
   9338     lt_prog_compiler_static='-static'
   9339 
   9340     case $host_os in
   9341       aix*)
   9342       # All AIX code is PIC.
   9343       if test ia64 = "$host_cpu"; then
   9344 	# AIX 5 now supports IA64 processor
   9345 	lt_prog_compiler_static='-Bstatic'
   9346       fi
   9347       lt_prog_compiler_pic='-fPIC'
   9348       ;;
   9349 
   9350     amigaos*)
   9351       case $host_cpu in
   9352       powerpc)
   9353             # see comment about AmigaOS4 .so support
   9354             lt_prog_compiler_pic='-fPIC'
   9355         ;;
   9356       m68k)
   9357             # FIXME: we need at least 68020 code to build shared libraries, but
   9358             # adding the '-m68020' flag to GCC prevents building anything better,
   9359             # like '-m68040'.
   9360             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9361         ;;
   9362       esac
   9363       ;;
   9364 
   9365     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9366       # PIC is the default for these OSes.
   9367       ;;
   9368 
   9369     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9370       # This hack is so that the source file can tell whether it is being
   9371       # built for inclusion in a dll (and should export symbols for example).
   9372       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9373       # (--disable-auto-import) libraries
   9374       lt_prog_compiler_pic='-DDLL_EXPORT'
   9375       case $host_os in
   9376       os2*)
   9377 	lt_prog_compiler_static='$wl-static'
   9378 	;;
   9379       esac
   9380       ;;
   9381 
   9382     darwin* | rhapsody*)
   9383       # PIC is the default on this platform
   9384       # Common symbols not allowed in MH_DYLIB files
   9385       lt_prog_compiler_pic='-fno-common'
   9386       ;;
   9387 
   9388     haiku*)
   9389       # PIC is the default for Haiku.
   9390       # The "-static" flag exists, but is broken.
   9391       lt_prog_compiler_static=
   9392       ;;
   9393 
   9394     hpux*)
   9395       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9396       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9397       # sets the default TLS model and affects inlining.
   9398       case $host_cpu in
   9399       hppa*64*)
   9400 	# +Z the default
   9401 	;;
   9402       *)
   9403 	lt_prog_compiler_pic='-fPIC'
   9404 	;;
   9405       esac
   9406       ;;
   9407 
   9408     interix[3-9]*)
   9409       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9410       # Instead, we relocate shared libraries at runtime.
   9411       ;;
   9412 
   9413     msdosdjgpp*)
   9414       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9415       # on systems that don't support them.
   9416       lt_prog_compiler_can_build_shared=no
   9417       enable_shared=no
   9418       ;;
   9419 
   9420     *nto* | *qnx*)
   9421       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9422       # it will coredump.
   9423       lt_prog_compiler_pic='-fPIC -shared'
   9424       ;;
   9425 
   9426     sysv4*MP*)
   9427       if test -d /usr/nec; then
   9428 	lt_prog_compiler_pic=-Kconform_pic
   9429       fi
   9430       ;;
   9431 
   9432     *)
   9433       lt_prog_compiler_pic='-fPIC'
   9434       ;;
   9435     esac
   9436 
   9437     case $cc_basename in
   9438     nvcc*) # Cuda Compiler Driver 2.2
   9439       lt_prog_compiler_wl='-Xlinker '
   9440       if test -n "$lt_prog_compiler_pic"; then
   9441         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9442       fi
   9443       ;;
   9444     esac
   9445   else
   9446     # PORTME Check for flag to pass linker flags through the system compiler.
   9447     case $host_os in
   9448     aix*)
   9449       lt_prog_compiler_wl='-Wl,'
   9450       if test ia64 = "$host_cpu"; then
   9451 	# AIX 5 now supports IA64 processor
   9452 	lt_prog_compiler_static='-Bstatic'
   9453       else
   9454 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9455       fi
   9456       ;;
   9457 
   9458     darwin* | rhapsody*)
   9459       # PIC is the default on this platform
   9460       # Common symbols not allowed in MH_DYLIB files
   9461       lt_prog_compiler_pic='-fno-common'
   9462       case $cc_basename in
   9463       nagfor*)
   9464         # NAG Fortran compiler
   9465         lt_prog_compiler_wl='-Wl,-Wl,,'
   9466         lt_prog_compiler_pic='-PIC'
   9467         lt_prog_compiler_static='-Bstatic'
   9468         ;;
   9469       esac
   9470       ;;
   9471 
   9472     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9473       # This hack is so that the source file can tell whether it is being
   9474       # built for inclusion in a dll (and should export symbols for example).
   9475       lt_prog_compiler_pic='-DDLL_EXPORT'
   9476       case $host_os in
   9477       os2*)
   9478 	lt_prog_compiler_static='$wl-static'
   9479 	;;
   9480       esac
   9481       ;;
   9482 
   9483     hpux9* | hpux10* | hpux11*)
   9484       lt_prog_compiler_wl='-Wl,'
   9485       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9486       # not for PA HP-UX.
   9487       case $host_cpu in
   9488       hppa*64*|ia64*)
   9489 	# +Z the default
   9490 	;;
   9491       *)
   9492 	lt_prog_compiler_pic='+Z'
   9493 	;;
   9494       esac
   9495       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9496       lt_prog_compiler_static='$wl-a ${wl}archive'
   9497       ;;
   9498 
   9499     irix5* | irix6* | nonstopux*)
   9500       lt_prog_compiler_wl='-Wl,'
   9501       # PIC (with -KPIC) is the default.
   9502       lt_prog_compiler_static='-non_shared'
   9503       ;;
   9504 
   9505     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9506       case $cc_basename in
   9507       # old Intel for x86_64, which still supported -KPIC.
   9508       ecc*)
   9509 	lt_prog_compiler_wl='-Wl,'
   9510 	lt_prog_compiler_pic='-KPIC'
   9511 	lt_prog_compiler_static='-static'
   9512         ;;
   9513       *flang* | ftn | f18* | f95*)
   9514         # Flang compiler.
   9515 	lt_prog_compiler_wl='-Wl,'
   9516 	lt_prog_compiler_pic='-fPIC'
   9517 	lt_prog_compiler_static='-static'
   9518         ;;
   9519       # icc used to be incompatible with GCC.
   9520       # ICC 10 doesn't accept -KPIC any more.
   9521       icc* | ifort*)
   9522 	lt_prog_compiler_wl='-Wl,'
   9523 	lt_prog_compiler_pic='-fPIC'
   9524 	lt_prog_compiler_static='-static'
   9525         ;;
   9526       # Lahey Fortran 8.1.
   9527       lf95*)
   9528 	lt_prog_compiler_wl='-Wl,'
   9529 	lt_prog_compiler_pic='--shared'
   9530 	lt_prog_compiler_static='--static'
   9531 	;;
   9532       nagfor*)
   9533 	# NAG Fortran compiler
   9534 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9535 	lt_prog_compiler_pic='-PIC'
   9536 	lt_prog_compiler_static='-Bstatic'
   9537 	;;
   9538       tcc*)
   9539 	# Fabrice Bellard et al's Tiny C Compiler
   9540 	lt_prog_compiler_wl='-Wl,'
   9541 	lt_prog_compiler_pic='-fPIC'
   9542 	lt_prog_compiler_static='-static'
   9543 	;;
   9544       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9545         # Portland Group compilers (*not* the Pentium gcc compiler,
   9546 	# which looks to be a dead project)
   9547 	lt_prog_compiler_wl='-Wl,'
   9548 	lt_prog_compiler_pic='-fpic'
   9549 	lt_prog_compiler_static='-Bstatic'
   9550         ;;
   9551       ccc*)
   9552         lt_prog_compiler_wl='-Wl,'
   9553         # All Alpha code is PIC.
   9554         lt_prog_compiler_static='-non_shared'
   9555         ;;
   9556       xl* | bgxl* | bgf* | mpixl*)
   9557 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9558 	lt_prog_compiler_wl='-Wl,'
   9559 	lt_prog_compiler_pic='-qpic'
   9560 	lt_prog_compiler_static='-qstaticlink'
   9561 	;;
   9562       *)
   9563 	case `$CC -V 2>&1 | $SED 5q` in
   9564 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9565 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9566 	  lt_prog_compiler_pic='-KPIC'
   9567 	  lt_prog_compiler_static='-Bstatic'
   9568 	  lt_prog_compiler_wl=''
   9569 	  ;;
   9570 	*Sun\ F* | *Sun*Fortran*)
   9571 	  lt_prog_compiler_pic='-KPIC'
   9572 	  lt_prog_compiler_static='-Bstatic'
   9573 	  lt_prog_compiler_wl='-Qoption ld '
   9574 	  ;;
   9575 	*Sun\ C*)
   9576 	  # Sun C 5.9
   9577 	  lt_prog_compiler_pic='-KPIC'
   9578 	  lt_prog_compiler_static='-Bstatic'
   9579 	  lt_prog_compiler_wl='-Wl,'
   9580 	  ;;
   9581         *Intel*\ [CF]*Compiler*)
   9582 	  lt_prog_compiler_wl='-Wl,'
   9583 	  lt_prog_compiler_pic='-fPIC'
   9584 	  lt_prog_compiler_static='-static'
   9585 	  ;;
   9586 	*Portland\ Group*)
   9587 	  lt_prog_compiler_wl='-Wl,'
   9588 	  lt_prog_compiler_pic='-fpic'
   9589 	  lt_prog_compiler_static='-Bstatic'
   9590 	  ;;
   9591 	esac
   9592 	;;
   9593       esac
   9594       ;;
   9595 
   9596     newsos6)
   9597       lt_prog_compiler_pic='-KPIC'
   9598       lt_prog_compiler_static='-Bstatic'
   9599       ;;
   9600 
   9601     *-mlibc)
   9602       lt_prog_compiler_wl='-Wl,'
   9603       lt_prog_compiler_pic='-fPIC'
   9604       lt_prog_compiler_static='-static'
   9605       ;;
   9606 
   9607     *nto* | *qnx*)
   9608       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9609       # it will coredump.
   9610       lt_prog_compiler_pic='-fPIC -shared'
   9611       ;;
   9612 
   9613     osf3* | osf4* | osf5*)
   9614       lt_prog_compiler_wl='-Wl,'
   9615       # All OSF/1 code is PIC.
   9616       lt_prog_compiler_static='-non_shared'
   9617       ;;
   9618 
   9619     rdos*)
   9620       lt_prog_compiler_static='-non_shared'
   9621       ;;
   9622 
   9623     serenity*)
   9624       ;;
   9625 
   9626     solaris*)
   9627       lt_prog_compiler_pic='-KPIC'
   9628       lt_prog_compiler_static='-Bstatic'
   9629       case $cc_basename in
   9630       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9631 	lt_prog_compiler_wl='-Qoption ld ';;
   9632       *)
   9633 	lt_prog_compiler_wl='-Wl,';;
   9634       esac
   9635       ;;
   9636 
   9637     sunos4*)
   9638       lt_prog_compiler_wl='-Qoption ld '
   9639       lt_prog_compiler_pic='-PIC'
   9640       lt_prog_compiler_static='-Bstatic'
   9641       ;;
   9642 
   9643     sysv4 | sysv4.2uw2* | sysv4.3*)
   9644       lt_prog_compiler_wl='-Wl,'
   9645       lt_prog_compiler_pic='-KPIC'
   9646       lt_prog_compiler_static='-Bstatic'
   9647       ;;
   9648 
   9649     sysv4*MP*)
   9650       if test -d /usr/nec; then
   9651 	lt_prog_compiler_pic='-Kconform_pic'
   9652 	lt_prog_compiler_static='-Bstatic'
   9653       fi
   9654       ;;
   9655 
   9656     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9657       lt_prog_compiler_wl='-Wl,'
   9658       lt_prog_compiler_pic='-KPIC'
   9659       lt_prog_compiler_static='-Bstatic'
   9660       ;;
   9661 
   9662     unicos*)
   9663       lt_prog_compiler_wl='-Wl,'
   9664       lt_prog_compiler_can_build_shared=no
   9665       ;;
   9666 
   9667     uts4*)
   9668       lt_prog_compiler_pic='-pic'
   9669       lt_prog_compiler_static='-Bstatic'
   9670       ;;
   9671 
   9672     *)
   9673       lt_prog_compiler_can_build_shared=no
   9674       ;;
   9675     esac
   9676   fi
   9677 
   9678 case $host_os in
   9679   # For platforms that do not support PIC, -DPIC is meaningless:
   9680   *djgpp*)
   9681     lt_prog_compiler_pic=
   9682     ;;
   9683   *)
   9684     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9685     ;;
   9686 esac
   9687 
   9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9689 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9690 if test ${lt_cv_prog_compiler_pic+y}
   9691 then :
   9692   printf %s "(cached) " >&6
   9693 else case e in #(
   9694   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9695 esac
   9696 fi
   9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9698 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9699 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9700 
   9701 #
   9702 # Check to make sure the PIC flag actually works.
   9703 #
   9704 if test -n "$lt_prog_compiler_pic"; then
   9705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9706 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9707 if test ${lt_cv_prog_compiler_pic_works+y}
   9708 then :
   9709   printf %s "(cached) " >&6
   9710 else case e in #(
   9711   e) lt_cv_prog_compiler_pic_works=no
   9712    ac_outfile=conftest.$ac_objext
   9713    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9714    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9715    # Insert the option either (1) after the last *FLAGS variable, or
   9716    # (2) before a word containing "conftest.", or (3) at the end.
   9717    # Note that $ac_compile itself does not contain backslashes and begins
   9718    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9719    # The option is referenced via a variable to avoid confusing sed.
   9720    lt_compile=`echo "$ac_compile" | $SED \
   9721    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9722    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9723    -e 's:$: $lt_compiler_flag:'`
   9724    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9725    (eval "$lt_compile" 2>conftest.err)
   9726    ac_status=$?
   9727    cat conftest.err >&5
   9728    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9729    if (exit $ac_status) && test -s "$ac_outfile"; then
   9730      # The compiler can only warn and ignore the option if not recognized
   9731      # So say no if there are warnings other than the usual output.
   9732      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9733      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9734      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9735        lt_cv_prog_compiler_pic_works=yes
   9736      fi
   9737    fi
   9738    $RM conftest*
   9739  ;;
   9740 esac
   9741 fi
   9742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9743 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9744 
   9745 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9746     case $lt_prog_compiler_pic in
   9747      "" | " "*) ;;
   9748      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9749      esac
   9750 else
   9751     lt_prog_compiler_pic=
   9752      lt_prog_compiler_can_build_shared=no
   9753 fi
   9754 
   9755 fi
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 #
   9768 # Check to make sure the static flag actually works.
   9769 #
   9770 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9772 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9773 if test ${lt_cv_prog_compiler_static_works+y}
   9774 then :
   9775   printf %s "(cached) " >&6
   9776 else case e in #(
   9777   e) lt_cv_prog_compiler_static_works=no
   9778    save_LDFLAGS=$LDFLAGS
   9779    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9780    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9781    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9782      # The linker can only warn and ignore the option if not recognized
   9783      # So say no if there are warnings
   9784      if test -s conftest.err; then
   9785        # Append any errors to the config.log.
   9786        cat conftest.err 1>&5
   9787        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9788        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9789        if diff conftest.exp conftest.er2 >/dev/null; then
   9790          lt_cv_prog_compiler_static_works=yes
   9791        fi
   9792      else
   9793        lt_cv_prog_compiler_static_works=yes
   9794      fi
   9795    fi
   9796    $RM -r conftest*
   9797    LDFLAGS=$save_LDFLAGS
   9798  ;;
   9799 esac
   9800 fi
   9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9802 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9803 
   9804 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9805     :
   9806 else
   9807     lt_prog_compiler_static=
   9808 fi
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9817 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9818 if test ${lt_cv_prog_compiler_c_o+y}
   9819 then :
   9820   printf %s "(cached) " >&6
   9821 else case e in #(
   9822   e) lt_cv_prog_compiler_c_o=no
   9823    $RM -r conftest 2>/dev/null
   9824    mkdir conftest
   9825    cd conftest
   9826    mkdir out
   9827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9828 
   9829    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9830    # Insert the option either (1) after the last *FLAGS variable, or
   9831    # (2) before a word containing "conftest.", or (3) at the end.
   9832    # Note that $ac_compile itself does not contain backslashes and begins
   9833    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9834    lt_compile=`echo "$ac_compile" | $SED \
   9835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9837    -e 's:$: $lt_compiler_flag:'`
   9838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9839    (eval "$lt_compile" 2>out/conftest.err)
   9840    ac_status=$?
   9841    cat out/conftest.err >&5
   9842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9844    then
   9845      # The compiler can only warn and ignore the option if not recognized
   9846      # So say no if there are warnings
   9847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9850        lt_cv_prog_compiler_c_o=yes
   9851      fi
   9852    fi
   9853    chmod u+w . 2>&5
   9854    $RM conftest*
   9855    # SGI C++ compiler will create directory out/ii_files/ for
   9856    # template instantiation
   9857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9858    $RM out/* && rmdir out
   9859    cd ..
   9860    $RM -r conftest
   9861    $RM conftest*
   9862  ;;
   9863 esac
   9864 fi
   9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9866 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9874 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9875 if test ${lt_cv_prog_compiler_c_o+y}
   9876 then :
   9877   printf %s "(cached) " >&6
   9878 else case e in #(
   9879   e) lt_cv_prog_compiler_c_o=no
   9880    $RM -r conftest 2>/dev/null
   9881    mkdir conftest
   9882    cd conftest
   9883    mkdir out
   9884    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9885 
   9886    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9887    # Insert the option either (1) after the last *FLAGS variable, or
   9888    # (2) before a word containing "conftest.", or (3) at the end.
   9889    # Note that $ac_compile itself does not contain backslashes and begins
   9890    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9891    lt_compile=`echo "$ac_compile" | $SED \
   9892    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9893    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9894    -e 's:$: $lt_compiler_flag:'`
   9895    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9896    (eval "$lt_compile" 2>out/conftest.err)
   9897    ac_status=$?
   9898    cat out/conftest.err >&5
   9899    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9900    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9901    then
   9902      # The compiler can only warn and ignore the option if not recognized
   9903      # So say no if there are warnings
   9904      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9905      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9906      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9907        lt_cv_prog_compiler_c_o=yes
   9908      fi
   9909    fi
   9910    chmod u+w . 2>&5
   9911    $RM conftest*
   9912    # SGI C++ compiler will create directory out/ii_files/ for
   9913    # template instantiation
   9914    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9915    $RM out/* && rmdir out
   9916    cd ..
   9917    $RM -r conftest
   9918    $RM conftest*
   9919  ;;
   9920 esac
   9921 fi
   9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9923 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9924 
   9925 
   9926 
   9927 
   9928 hard_links=nottested
   9929 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9930   # do not overwrite the value of need_locks provided by the user
   9931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9932 printf %s "checking if we can lock with hard links... " >&6; }
   9933   hard_links=yes
   9934   $RM conftest*
   9935   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9936   touch conftest.a
   9937   ln conftest.a conftest.b 2>&5 || hard_links=no
   9938   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9940 printf "%s\n" "$hard_links" >&6; }
   9941   if test no = "$hard_links"; then
   9942     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9943 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9944     need_locks=warn
   9945   fi
   9946 else
   9947   need_locks=no
   9948 fi
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9956 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9957 
   9958   runpath_var=
   9959   allow_undefined_flag=
   9960   always_export_symbols=no
   9961   archive_cmds=
   9962   archive_expsym_cmds=
   9963   compiler_needs_object=no
   9964   enable_shared_with_static_runtimes=no
   9965   export_dynamic_flag_spec=
   9966   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9967   hardcode_automatic=no
   9968   hardcode_direct=no
   9969   hardcode_direct_absolute=no
   9970   hardcode_libdir_flag_spec=
   9971   hardcode_libdir_separator=
   9972   hardcode_minus_L=no
   9973   hardcode_shlibpath_var=unsupported
   9974   inherit_rpath=no
   9975   link_all_deplibs=unknown
   9976   module_cmds=
   9977   module_expsym_cmds=
   9978   old_archive_from_new_cmds=
   9979   old_archive_from_expsyms_cmds=
   9980   thread_safe_flag_spec=
   9981   whole_archive_flag_spec=
   9982   # include_expsyms should be a list of space-separated symbols to be *always*
   9983   # included in the symbol list
   9984   include_expsyms=
   9985   # exclude_expsyms can be an extended regexp of symbols to exclude
   9986   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9987   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9988   # as well as any symbol that contains 'd'.
   9989   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9990   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9991   # platforms (ab)use it in PIC code, but their linkers get confused if
   9992   # the symbol is explicitly referenced.  Since portable code cannot
   9993   # rely on this symbol name, it's probably fine to never include it in
   9994   # preloaded symbol tables.
   9995   # Exclude shared library initialization/finalization symbols.
   9996   extract_expsyms_cmds=
   9997 
   9998   case $host_os in
   9999   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10000     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10001     # When not using gcc, we currently assume that we are using
   10002     # Microsoft Visual C++ or Intel C++ Compiler.
   10003     if test yes != "$GCC"; then
   10004       with_gnu_ld=no
   10005     fi
   10006     ;;
   10007   interix*)
   10008     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10009     with_gnu_ld=yes
   10010     ;;
   10011   esac
   10012 
   10013   ld_shlibs=yes
   10014 
   10015   # On some targets, GNU ld is compatible enough with the native linker
   10016   # that we're better off using the native interface for both.
   10017   lt_use_gnu_ld_interface=no
   10018   if test yes = "$with_gnu_ld"; then
   10019     case $host_os in
   10020       aix*)
   10021 	# The AIX port of GNU ld has always aspired to compatibility
   10022 	# with the native linker.  However, as the warning in the GNU ld
   10023 	# block says, versions before 2.19.5* couldn't really create working
   10024 	# shared libraries, regardless of the interface used.
   10025 	case `$LD -v 2>&1` in
   10026 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10027 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10028 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10029 	  *)
   10030 	    lt_use_gnu_ld_interface=yes
   10031 	    ;;
   10032 	esac
   10033 	;;
   10034       *)
   10035 	lt_use_gnu_ld_interface=yes
   10036 	;;
   10037     esac
   10038   fi
   10039 
   10040   if test yes = "$lt_use_gnu_ld_interface"; then
   10041     # If archive_cmds runs LD, not CC, wlarc should be empty
   10042     wlarc='$wl'
   10043 
   10044     # Set some defaults for GNU ld with shared library support. These
   10045     # are reset later if shared libraries are not supported. Putting them
   10046     # here allows them to be overridden if necessary.
   10047     runpath_var=LD_RUN_PATH
   10048     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10049     export_dynamic_flag_spec='$wl--export-dynamic'
   10050     # ancient GNU ld didn't support --whole-archive et. al.
   10051     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10052       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10053     else
   10054       whole_archive_flag_spec=
   10055     fi
   10056     supports_anon_versioning=no
   10057     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10058       *GNU\ gold*) supports_anon_versioning=yes ;;
   10059       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10060       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10061       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10062       *\ 2.11.*) ;; # other 2.11 versions
   10063       *) supports_anon_versioning=yes ;;
   10064     esac
   10065 
   10066     # See if GNU ld supports shared libraries.
   10067     case $host_os in
   10068     aix[3-9]*)
   10069       # On AIX/PPC, the GNU linker is very broken
   10070       if test ia64 != "$host_cpu"; then
   10071 	ld_shlibs=no
   10072 	cat <<_LT_EOF 1>&2
   10073 
   10074 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10075 *** to be unable to reliably create shared libraries on AIX.
   10076 *** Therefore, libtool is disabling shared libraries support.  If you
   10077 *** really care for shared libraries, you may want to install binutils
   10078 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10079 *** You will then need to restart the configuration process.
   10080 
   10081 _LT_EOF
   10082       fi
   10083       ;;
   10084 
   10085     amigaos*)
   10086       case $host_cpu in
   10087       powerpc)
   10088             # see comment about AmigaOS4 .so support
   10089             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10090             archive_expsym_cmds=''
   10091         ;;
   10092       m68k)
   10093             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)'
   10094             hardcode_libdir_flag_spec='-L$libdir'
   10095             hardcode_minus_L=yes
   10096         ;;
   10097       esac
   10098       ;;
   10099 
   10100     beos*)
   10101       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10102 	allow_undefined_flag=unsupported
   10103 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10104 	# support --undefined.  This deserves some investigation.  FIXME
   10105 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10106       else
   10107 	ld_shlibs=no
   10108       fi
   10109       ;;
   10110 
   10111     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10112       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10113       # as there is no search path for DLLs.
   10114       hardcode_libdir_flag_spec='-L$libdir'
   10115       export_dynamic_flag_spec='$wl--export-all-symbols'
   10116       allow_undefined_flag=unsupported
   10117       always_export_symbols=no
   10118       enable_shared_with_static_runtimes=yes
   10119       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'
   10120       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10121       file_list_spec='@'
   10122 
   10123       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10124         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10125 	# If the export-symbols file already is a .def file, use it as
   10126 	# is; otherwise, prepend EXPORTS...
   10127 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10128           cp $export_symbols $output_objdir/$soname.def;
   10129         else
   10130           echo EXPORTS > $output_objdir/$soname.def;
   10131           cat $export_symbols >> $output_objdir/$soname.def;
   10132         fi~
   10133         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10134       else
   10135 	ld_shlibs=no
   10136       fi
   10137       ;;
   10138 
   10139     haiku*)
   10140       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10141       link_all_deplibs=no
   10142       ;;
   10143 
   10144     os2*)
   10145       hardcode_libdir_flag_spec='-L$libdir'
   10146       hardcode_minus_L=yes
   10147       allow_undefined_flag=unsupported
   10148       shrext_cmds=.dll
   10149       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10150 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10151 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10152 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10153 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10154 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10155 	emximp -o $lib $output_objdir/$libname.def'
   10156       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10157 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10158 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10159 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10160 	prefix_cmds="$SED"~
   10161 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10162 	  prefix_cmds="$prefix_cmds -e 1d";
   10163 	fi~
   10164 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10165 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10166 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10167 	emximp -o $lib $output_objdir/$libname.def'
   10168       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10169       enable_shared_with_static_runtimes=yes
   10170       file_list_spec='@'
   10171       ;;
   10172 
   10173     interix[3-9]*)
   10174       hardcode_direct=no
   10175       hardcode_shlibpath_var=no
   10176       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10177       export_dynamic_flag_spec='$wl-E'
   10178       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10179       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10180       # default) and relocated if they conflict, which is a slow very memory
   10181       # consuming and fragmenting process.  To avoid this, we pick a random,
   10182       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10183       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10184       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10185       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'
   10186       ;;
   10187 
   10188     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10189       tmp_diet=no
   10190       if test linux-dietlibc = "$host_os"; then
   10191 	case $cc_basename in
   10192 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10193 	esac
   10194       fi
   10195       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10196 	 && test no = "$tmp_diet"
   10197       then
   10198 	tmp_addflag=' $pic_flag'
   10199 	tmp_sharedflag='-shared'
   10200 	case $cc_basename,$host_cpu in
   10201         pgcc*)				# Portland Group C compiler
   10202 	  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'
   10203 	  tmp_addflag=' $pic_flag'
   10204 	  ;;
   10205 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10206 					# Portland Group f77 and f90 compilers
   10207 	  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'
   10208 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10209 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10210 	  tmp_addflag=' -i_dynamic' ;;
   10211 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10212 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10213 	ifc* | ifort*)			# Intel Fortran compiler
   10214 	  tmp_addflag=' -nofor_main' ;;
   10215 	lf95*)				# Lahey Fortran 8.1
   10216 	  whole_archive_flag_spec=
   10217 	  tmp_sharedflag='--shared' ;;
   10218         nagfor*)                        # NAGFOR 5.3
   10219           tmp_sharedflag='-Wl,-shared' ;;
   10220 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10221 	  tmp_sharedflag='-qmkshrobj'
   10222 	  tmp_addflag= ;;
   10223 	nvcc*)	# Cuda Compiler Driver 2.2
   10224 	  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'
   10225 	  compiler_needs_object=yes
   10226 	  ;;
   10227 	esac
   10228 	case `$CC -V 2>&1 | $SED 5q` in
   10229 	*Sun\ C*)			# Sun C 5.9
   10230 	  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'
   10231 	  compiler_needs_object=yes
   10232 	  tmp_sharedflag='-G' ;;
   10233 	*Sun\ F*)			# Sun Fortran 8.3
   10234 	  tmp_sharedflag='-G' ;;
   10235 	esac
   10236 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10237 
   10238         if test yes = "$supports_anon_versioning"; then
   10239           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10240             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10241             echo "local: *; };" >> $output_objdir/$libname.ver~
   10242             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10243         fi
   10244 
   10245 	case $cc_basename in
   10246 	tcc*)
   10247 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10248 	  export_dynamic_flag_spec='-rdynamic'
   10249 	  ;;
   10250 	xlf* | bgf* | bgxlf* | mpixlf*)
   10251 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10252 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10253 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10254 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10255 	  if test yes = "$supports_anon_versioning"; then
   10256 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10257               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10258               echo "local: *; };" >> $output_objdir/$libname.ver~
   10259               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10260 	  fi
   10261 	  ;;
   10262 	esac
   10263       else
   10264         ld_shlibs=no
   10265       fi
   10266       ;;
   10267 
   10268     *-mlibc)
   10269 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10270 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10271       ;;
   10272 
   10273     netbsd* | netbsdelf*-gnu)
   10274       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10275 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10276 	wlarc=
   10277       else
   10278 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10279 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10280       fi
   10281       ;;
   10282 
   10283     solaris*)
   10284       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10285 	ld_shlibs=no
   10286 	cat <<_LT_EOF 1>&2
   10287 
   10288 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10289 *** create shared libraries on Solaris systems.  Therefore, libtool
   10290 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10291 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10292 *** your PATH or compiler configuration so that the native linker is
   10293 *** used, and then restart.
   10294 
   10295 _LT_EOF
   10296       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10297 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10298 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10299       else
   10300 	ld_shlibs=no
   10301       fi
   10302       ;;
   10303 
   10304     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10305       case `$LD -v 2>&1` in
   10306         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10307 	ld_shlibs=no
   10308 	cat <<_LT_EOF 1>&2
   10309 
   10310 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10311 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10312 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10313 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10314 *** your PATH or compiler configuration so that the native linker is
   10315 *** used, and then restart.
   10316 
   10317 _LT_EOF
   10318 	;;
   10319 	*)
   10320 	  # For security reasons, it is highly recommended that you always
   10321 	  # use absolute paths for naming shared libraries, and exclude the
   10322 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10323 	  # requires that you compile everything twice, which is a pain.
   10324 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10325 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10326 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10327 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10328 	  else
   10329 	    ld_shlibs=no
   10330 	  fi
   10331 	;;
   10332       esac
   10333       ;;
   10334 
   10335     sunos4*)
   10336       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10337       wlarc=
   10338       hardcode_direct=yes
   10339       hardcode_shlibpath_var=no
   10340       ;;
   10341 
   10342     *)
   10343       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10344 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10345 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10346       else
   10347 	ld_shlibs=no
   10348       fi
   10349       ;;
   10350     esac
   10351 
   10352     if test no = "$ld_shlibs"; then
   10353       runpath_var=
   10354       hardcode_libdir_flag_spec=
   10355       export_dynamic_flag_spec=
   10356       whole_archive_flag_spec=
   10357     fi
   10358   else
   10359     # PORTME fill in a description of your system's linker (not GNU ld)
   10360     case $host_os in
   10361     aix3*)
   10362       allow_undefined_flag=unsupported
   10363       always_export_symbols=yes
   10364       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'
   10365       # Note: this linker hardcodes the directories in LIBPATH if there
   10366       # are no directories specified by -L.
   10367       hardcode_minus_L=yes
   10368       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10369 	# Neither direct hardcoding nor static linking is supported with a
   10370 	# broken collect2.
   10371 	hardcode_direct=unsupported
   10372       fi
   10373       ;;
   10374 
   10375     aix[4-9]*)
   10376       if test ia64 = "$host_cpu"; then
   10377 	# On IA64, the linker does run time linking by default, so we don't
   10378 	# have to do anything special.
   10379 	aix_use_runtimelinking=no
   10380 	exp_sym_flag='-Bexport'
   10381 	no_entry_flag=
   10382       else
   10383 	# If we're using GNU nm, then we don't want the "-C" option.
   10384 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10385 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10386 	# weak defined symbols like other global defined symbols, whereas
   10387 	# GNU nm marks them as "W".
   10388 	# While the 'weak' keyword is ignored in the Export File, we need
   10389 	# it in the Import File for the 'aix-soname' feature, so we have
   10390 	# to replace the "-B" option with "-P" for AIX nm.
   10391 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10392 	  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'
   10393 	else
   10394 	  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'
   10395 	fi
   10396 	aix_use_runtimelinking=no
   10397 
   10398 	# Test if we are trying to use run time linking or normal
   10399 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10400 	# have runtime linking enabled, and use it for executables.
   10401 	# For shared libraries, we enable/disable runtime linking
   10402 	# depending on the kind of the shared library created -
   10403 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10404 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10405 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10406 	#            lib.a           static archive
   10407 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10408 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10409 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10410 	#            lib.a(lib.so.V) shared, rtl:no
   10411 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10412 	#            lib.a           static archive
   10413 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10414 	  for ld_flag in $LDFLAGS; do
   10415 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10416 	    aix_use_runtimelinking=yes
   10417 	    break
   10418 	  fi
   10419 	  done
   10420 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10421 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10422 	    # so we don't have lib.a shared libs to link our executables.
   10423 	    # We have to force runtime linking in this case.
   10424 	    aix_use_runtimelinking=yes
   10425 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10426 	  fi
   10427 	  ;;
   10428 	esac
   10429 
   10430 	exp_sym_flag='-bexport'
   10431 	no_entry_flag='-bnoentry'
   10432       fi
   10433 
   10434       # When large executables or shared objects are built, AIX ld can
   10435       # have problems creating the table of contents.  If linking a library
   10436       # or program results in "error TOC overflow" add -mminimal-toc to
   10437       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10438       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10439 
   10440       archive_cmds=''
   10441       hardcode_direct=yes
   10442       hardcode_direct_absolute=yes
   10443       hardcode_libdir_separator=':'
   10444       link_all_deplibs=yes
   10445       file_list_spec='$wl-f,'
   10446       case $with_aix_soname,$aix_use_runtimelinking in
   10447       aix,*) ;; # traditional, no import file
   10448       svr4,* | *,yes) # use import file
   10449 	# The Import File defines what to hardcode.
   10450 	hardcode_direct=no
   10451 	hardcode_direct_absolute=no
   10452 	;;
   10453       esac
   10454 
   10455       if test yes = "$GCC"; then
   10456 	case $host_os in aix4.[012]|aix4.[012].*)
   10457 	# We only want to do this on AIX 4.2 and lower, the check
   10458 	# below for broken collect2 doesn't work under 4.3+
   10459 	  collect2name=`$CC -print-prog-name=collect2`
   10460 	  if test -f "$collect2name" &&
   10461 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10462 	  then
   10463 	  # We have reworked collect2
   10464 	  :
   10465 	  else
   10466 	  # We have old collect2
   10467 	  hardcode_direct=unsupported
   10468 	  # It fails to find uninstalled libraries when the uninstalled
   10469 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10470 	  # to unsupported forces relinking
   10471 	  hardcode_minus_L=yes
   10472 	  hardcode_libdir_flag_spec='-L$libdir'
   10473 	  hardcode_libdir_separator=
   10474 	  fi
   10475 	  ;;
   10476 	esac
   10477 	shared_flag='-shared'
   10478 	if test yes = "$aix_use_runtimelinking"; then
   10479 	  shared_flag="$shared_flag "'$wl-G'
   10480 	fi
   10481 	# Need to ensure runtime linking is disabled for the traditional
   10482 	# shared library, or the linker may eventually find shared libraries
   10483 	# /with/ Import File - we do not want to mix them.
   10484 	shared_flag_aix='-shared'
   10485 	shared_flag_svr4='-shared $wl-G'
   10486       else
   10487 	# not using gcc
   10488 	if test ia64 = "$host_cpu"; then
   10489 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10490 	# chokes on -Wl,-G. The following line is correct:
   10491 	  shared_flag='-G'
   10492 	else
   10493 	  if test yes = "$aix_use_runtimelinking"; then
   10494 	    shared_flag='$wl-G'
   10495 	  else
   10496 	    shared_flag='$wl-bM:SRE'
   10497 	  fi
   10498 	  shared_flag_aix='$wl-bM:SRE'
   10499 	  shared_flag_svr4='$wl-G'
   10500 	fi
   10501       fi
   10502 
   10503       export_dynamic_flag_spec='$wl-bexpall'
   10504       # It seems that -bexpall does not export symbols beginning with
   10505       # underscore (_), so it is better to generate a list of symbols to export.
   10506       always_export_symbols=yes
   10507       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10508 	# Warning - without using the other runtime loading flags (-brtl),
   10509 	# -berok will link without error, but may produce a broken library.
   10510 	allow_undefined_flag='-berok'
   10511         # Determine the default libpath from the value encoded in an
   10512         # empty executable.
   10513         if test set = "${lt_cv_aix_libpath+set}"; then
   10514   aix_libpath=$lt_cv_aix_libpath
   10515 else
   10516   if test ${lt_cv_aix_libpath_+y}
   10517 then :
   10518   printf %s "(cached) " >&6
   10519 else case e in #(
   10520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10521 /* end confdefs.h.  */
   10522 
   10523 int
   10524 main (void)
   10525 {
   10526 
   10527   ;
   10528   return 0;
   10529 }
   10530 _ACEOF
   10531 if ac_fn_c_try_link "$LINENO"
   10532 then :
   10533 
   10534   lt_aix_libpath_sed='
   10535       /Import File Strings/,/^$/ {
   10536 	  /^0/ {
   10537 	      s/^0  *\([^ ]*\) *$/\1/
   10538 	      p
   10539 	  }
   10540       }'
   10541   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10542   # Check for a 64-bit object if we didn't find anything.
   10543   if test -z "$lt_cv_aix_libpath_"; then
   10544     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10545   fi
   10546 fi
   10547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10548     conftest$ac_exeext conftest.$ac_ext
   10549   if test -z "$lt_cv_aix_libpath_"; then
   10550     lt_cv_aix_libpath_=/usr/lib:/lib
   10551   fi
   10552    ;;
   10553 esac
   10554 fi
   10555 
   10556   aix_libpath=$lt_cv_aix_libpath_
   10557 fi
   10558 
   10559         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10560         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
   10561       else
   10562 	if test ia64 = "$host_cpu"; then
   10563 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10564 	  allow_undefined_flag="-z nodefs"
   10565 	  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"
   10566 	else
   10567 	 # Determine the default libpath from the value encoded in an
   10568 	 # empty executable.
   10569 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10570   aix_libpath=$lt_cv_aix_libpath
   10571 else
   10572   if test ${lt_cv_aix_libpath_+y}
   10573 then :
   10574   printf %s "(cached) " >&6
   10575 else case e in #(
   10576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10577 /* end confdefs.h.  */
   10578 
   10579 int
   10580 main (void)
   10581 {
   10582 
   10583   ;
   10584   return 0;
   10585 }
   10586 _ACEOF
   10587 if ac_fn_c_try_link "$LINENO"
   10588 then :
   10589 
   10590   lt_aix_libpath_sed='
   10591       /Import File Strings/,/^$/ {
   10592 	  /^0/ {
   10593 	      s/^0  *\([^ ]*\) *$/\1/
   10594 	      p
   10595 	  }
   10596       }'
   10597   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10598   # Check for a 64-bit object if we didn't find anything.
   10599   if test -z "$lt_cv_aix_libpath_"; then
   10600     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10601   fi
   10602 fi
   10603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10604     conftest$ac_exeext conftest.$ac_ext
   10605   if test -z "$lt_cv_aix_libpath_"; then
   10606     lt_cv_aix_libpath_=/usr/lib:/lib
   10607   fi
   10608    ;;
   10609 esac
   10610 fi
   10611 
   10612   aix_libpath=$lt_cv_aix_libpath_
   10613 fi
   10614 
   10615 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10616 	  # Warning - without using the other run time loading flags,
   10617 	  # -berok will link without error, but may produce a broken library.
   10618 	  no_undefined_flag=' $wl-bernotok'
   10619 	  allow_undefined_flag=' $wl-berok'
   10620 	  if test yes = "$with_gnu_ld"; then
   10621 	    # We only use this code for GNU lds that support --whole-archive.
   10622 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10623 	  else
   10624 	    # Exported symbols can be pulled into shared objects from archives
   10625 	    whole_archive_flag_spec='$convenience'
   10626 	  fi
   10627 	  archive_cmds_need_lc=yes
   10628 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10629 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10630 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10631 	  if test svr4 != "$with_aix_soname"; then
   10632 	    # This is similar to how AIX traditionally builds its shared libraries.
   10633 	    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'
   10634 	  fi
   10635 	  if test aix != "$with_aix_soname"; then
   10636 	    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'
   10637 	  else
   10638 	    # used by -dlpreopen to get the symbols
   10639 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10640 	  fi
   10641 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10642 	fi
   10643       fi
   10644       ;;
   10645 
   10646     amigaos*)
   10647       case $host_cpu in
   10648       powerpc)
   10649             # see comment about AmigaOS4 .so support
   10650             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10651             archive_expsym_cmds=''
   10652         ;;
   10653       m68k)
   10654             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)'
   10655             hardcode_libdir_flag_spec='-L$libdir'
   10656             hardcode_minus_L=yes
   10657         ;;
   10658       esac
   10659       ;;
   10660 
   10661     bsdi[45]*)
   10662       export_dynamic_flag_spec=-rdynamic
   10663       ;;
   10664 
   10665     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10666       # When not using gcc, we currently assume that we are using
   10667       # Microsoft Visual C++ or Intel C++ Compiler.
   10668       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10669       # no search path for DLLs.
   10670       case $cc_basename in
   10671       cl* | icl*)
   10672 	# Native MSVC or ICC
   10673 	hardcode_libdir_flag_spec=' '
   10674 	allow_undefined_flag=unsupported
   10675 	always_export_symbols=yes
   10676 	file_list_spec='@'
   10677 	# Tell ltmain to make .lib files, not .a files.
   10678 	libext=lib
   10679 	# Tell ltmain to make .dll files, not .so files.
   10680 	shrext_cmds=.dll
   10681 	# FIXME: Setting linknames here is a bad hack.
   10682 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10683 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10684             cp "$export_symbols" "$output_objdir/$soname.def";
   10685             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10686           else
   10687             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10688           fi~
   10689           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10690           linknames='
   10691 	# The linker will not automatically build a static lib if we build a DLL.
   10692 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10693 	enable_shared_with_static_runtimes=yes
   10694 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10695 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10696 	# Don't use ranlib
   10697 	old_postinstall_cmds='chmod 644 $oldlib'
   10698 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10699           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10700           case $lt_outputfile in
   10701             *.exe|*.EXE) ;;
   10702             *)
   10703               lt_outputfile=$lt_outputfile.exe
   10704               lt_tool_outputfile=$lt_tool_outputfile.exe
   10705               ;;
   10706           esac~
   10707           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10708             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10709             $RM "$lt_outputfile.manifest";
   10710           fi'
   10711 	;;
   10712       *)
   10713 	# Assume MSVC and ICC wrapper
   10714 	hardcode_libdir_flag_spec=' '
   10715 	allow_undefined_flag=unsupported
   10716 	# Tell ltmain to make .lib files, not .a files.
   10717 	libext=lib
   10718 	# Tell ltmain to make .dll files, not .so files.
   10719 	shrext_cmds=.dll
   10720 	# FIXME: Setting linknames here is a bad hack.
   10721 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10722 	# The linker will automatically build a .lib file if we build a DLL.
   10723 	old_archive_from_new_cmds='true'
   10724 	# FIXME: Should let the user specify the lib program.
   10725 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10726 	enable_shared_with_static_runtimes=yes
   10727 	;;
   10728       esac
   10729       ;;
   10730 
   10731     darwin* | rhapsody*)
   10732 
   10733 
   10734   archive_cmds_need_lc=no
   10735   hardcode_direct=no
   10736   hardcode_automatic=yes
   10737   hardcode_shlibpath_var=unsupported
   10738   if test yes = "$lt_cv_ld_force_load"; then
   10739     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\"`'
   10740 
   10741   else
   10742     whole_archive_flag_spec=''
   10743   fi
   10744   link_all_deplibs=yes
   10745   allow_undefined_flag=$_lt_dar_allow_undefined
   10746   case $cc_basename in
   10747      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10748      *) _lt_dar_can_shared=$GCC ;;
   10749   esac
   10750   if test yes = "$_lt_dar_can_shared"; then
   10751     output_verbose_link_cmd=func_echo_all
   10752     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10753     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10754     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"
   10755     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"
   10756 
   10757   else
   10758   ld_shlibs=no
   10759   fi
   10760 
   10761       ;;
   10762 
   10763     dgux*)
   10764       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10765       hardcode_libdir_flag_spec='-L$libdir'
   10766       hardcode_shlibpath_var=no
   10767       ;;
   10768 
   10769     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10770     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10771     # does not break anything, and helps significantly (at the cost of a little
   10772     # extra space).
   10773     freebsd2.2*)
   10774       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10775       hardcode_libdir_flag_spec='-R$libdir'
   10776       hardcode_direct=yes
   10777       hardcode_shlibpath_var=no
   10778       ;;
   10779 
   10780     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10781     freebsd2.*)
   10782       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10783       hardcode_direct=yes
   10784       hardcode_minus_L=yes
   10785       hardcode_shlibpath_var=no
   10786       ;;
   10787 
   10788     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10789     freebsd* | dragonfly* | midnightbsd*)
   10790       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10791       hardcode_libdir_flag_spec='-R$libdir'
   10792       hardcode_direct=yes
   10793       hardcode_shlibpath_var=no
   10794       ;;
   10795 
   10796     hpux9*)
   10797       if test yes = "$GCC"; then
   10798 	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'
   10799       else
   10800 	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'
   10801       fi
   10802       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10803       hardcode_libdir_separator=:
   10804       hardcode_direct=yes
   10805 
   10806       # hardcode_minus_L: Not really in the search PATH,
   10807       # but as the default location of the library.
   10808       hardcode_minus_L=yes
   10809       export_dynamic_flag_spec='$wl-E'
   10810       ;;
   10811 
   10812     hpux10*)
   10813       if test yes,no = "$GCC,$with_gnu_ld"; then
   10814 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10815       else
   10816 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10817       fi
   10818       if test no = "$with_gnu_ld"; then
   10819 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10820 	hardcode_libdir_separator=:
   10821 	hardcode_direct=yes
   10822 	hardcode_direct_absolute=yes
   10823 	export_dynamic_flag_spec='$wl-E'
   10824 	# hardcode_minus_L: Not really in the search PATH,
   10825 	# but as the default location of the library.
   10826 	hardcode_minus_L=yes
   10827       fi
   10828       ;;
   10829 
   10830     hpux11*)
   10831       if test yes,no = "$GCC,$with_gnu_ld"; then
   10832 	case $host_cpu in
   10833 	hppa*64*)
   10834 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10835 	  ;;
   10836 	ia64*)
   10837 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10838 	  ;;
   10839 	*)
   10840 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10841 	  ;;
   10842 	esac
   10843       else
   10844 	case $host_cpu in
   10845 	hppa*64*)
   10846 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10847 	  ;;
   10848 	ia64*)
   10849 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10850 	  ;;
   10851 	*)
   10852 
   10853 	  # Older versions of the 11.00 compiler do not understand -b yet
   10854 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10855 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10856 printf %s "checking if $CC understands -b... " >&6; }
   10857 if test ${lt_cv_prog_compiler__b+y}
   10858 then :
   10859   printf %s "(cached) " >&6
   10860 else case e in #(
   10861   e) lt_cv_prog_compiler__b=no
   10862    save_LDFLAGS=$LDFLAGS
   10863    LDFLAGS="$LDFLAGS -b"
   10864    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10865    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10866      # The linker can only warn and ignore the option if not recognized
   10867      # So say no if there are warnings
   10868      if test -s conftest.err; then
   10869        # Append any errors to the config.log.
   10870        cat conftest.err 1>&5
   10871        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10872        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10873        if diff conftest.exp conftest.er2 >/dev/null; then
   10874          lt_cv_prog_compiler__b=yes
   10875        fi
   10876      else
   10877        lt_cv_prog_compiler__b=yes
   10878      fi
   10879    fi
   10880    $RM -r conftest*
   10881    LDFLAGS=$save_LDFLAGS
   10882  ;;
   10883 esac
   10884 fi
   10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10886 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10887 
   10888 if test yes = "$lt_cv_prog_compiler__b"; then
   10889     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10890 else
   10891     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10892 fi
   10893 
   10894 	  ;;
   10895 	esac
   10896       fi
   10897       if test no = "$with_gnu_ld"; then
   10898 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10899 	hardcode_libdir_separator=:
   10900 
   10901 	case $host_cpu in
   10902 	hppa*64*|ia64*)
   10903 	  hardcode_direct=no
   10904 	  hardcode_shlibpath_var=no
   10905 	  ;;
   10906 	*)
   10907 	  hardcode_direct=yes
   10908 	  hardcode_direct_absolute=yes
   10909 	  export_dynamic_flag_spec='$wl-E'
   10910 
   10911 	  # hardcode_minus_L: Not really in the search PATH,
   10912 	  # but as the default location of the library.
   10913 	  hardcode_minus_L=yes
   10914 	  ;;
   10915 	esac
   10916       fi
   10917       ;;
   10918 
   10919     irix5* | irix6* | nonstopux*)
   10920       if test yes = "$GCC"; then
   10921 	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'
   10922 	# Try to use the -exported_symbol ld option, if it does not
   10923 	# work, assume that -exports_file does not work either and
   10924 	# implicitly export all symbols.
   10925 	# This should be the same for all languages, so no per-tag cache variable.
   10926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10927 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10928 if test ${lt_cv_irix_exported_symbol+y}
   10929 then :
   10930   printf %s "(cached) " >&6
   10931 else case e in #(
   10932   e) save_LDFLAGS=$LDFLAGS
   10933 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10934 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10935 /* end confdefs.h.  */
   10936 int foo (void) { return 0; }
   10937 _ACEOF
   10938 if ac_fn_c_try_link "$LINENO"
   10939 then :
   10940   lt_cv_irix_exported_symbol=yes
   10941 else case e in #(
   10942   e) lt_cv_irix_exported_symbol=no ;;
   10943 esac
   10944 fi
   10945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10946     conftest$ac_exeext conftest.$ac_ext
   10947            LDFLAGS=$save_LDFLAGS ;;
   10948 esac
   10949 fi
   10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10951 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10952 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10953           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'
   10954 	fi
   10955       else
   10956 	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'
   10957 	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'
   10958       fi
   10959       archive_cmds_need_lc='no'
   10960       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10961       hardcode_libdir_separator=:
   10962       inherit_rpath=yes
   10963       link_all_deplibs=yes
   10964       ;;
   10965 
   10966     linux*)
   10967       case $cc_basename in
   10968       tcc*)
   10969 	# Fabrice Bellard et al's Tiny C Compiler
   10970 	ld_shlibs=yes
   10971 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10972 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10973 	;;
   10974       esac
   10975       ;;
   10976 
   10977     *-mlibc)
   10978       ;;
   10979 
   10980     netbsd* | netbsdelf*-gnu)
   10981       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10982 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10983       else
   10984 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10985       fi
   10986       hardcode_libdir_flag_spec='-R$libdir'
   10987       hardcode_direct=yes
   10988       hardcode_shlibpath_var=no
   10989       ;;
   10990 
   10991     newsos6)
   10992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10993       hardcode_direct=yes
   10994       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10995       hardcode_libdir_separator=:
   10996       hardcode_shlibpath_var=no
   10997       ;;
   10998 
   10999     *nto* | *qnx*)
   11000       ;;
   11001 
   11002     openbsd*)
   11003       if test -f /usr/libexec/ld.so; then
   11004 	hardcode_direct=yes
   11005 	hardcode_shlibpath_var=no
   11006 	hardcode_direct_absolute=yes
   11007 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11008 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11009 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11010 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11011 	  export_dynamic_flag_spec='$wl-E'
   11012 	else
   11013 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11014 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11015 	fi
   11016       else
   11017 	ld_shlibs=no
   11018       fi
   11019       ;;
   11020 
   11021     os2*)
   11022       hardcode_libdir_flag_spec='-L$libdir'
   11023       hardcode_minus_L=yes
   11024       allow_undefined_flag=unsupported
   11025       shrext_cmds=.dll
   11026       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11027 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11028 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11029 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11030 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11031 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11032 	emximp -o $lib $output_objdir/$libname.def'
   11033       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11034 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11035 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11036 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11037 	prefix_cmds="$SED"~
   11038 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11039 	  prefix_cmds="$prefix_cmds -e 1d";
   11040 	fi~
   11041 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11042 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11043 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11044 	emximp -o $lib $output_objdir/$libname.def'
   11045       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11046       enable_shared_with_static_runtimes=yes
   11047       file_list_spec='@'
   11048       ;;
   11049 
   11050     osf3*)
   11051       if test yes = "$GCC"; then
   11052 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11053 	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'
   11054       else
   11055 	allow_undefined_flag=' -expect_unresolved \*'
   11056 	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'
   11057       fi
   11058       archive_cmds_need_lc='no'
   11059       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11060       hardcode_libdir_separator=:
   11061       ;;
   11062 
   11063     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11064       if test yes = "$GCC"; then
   11065 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11066 	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'
   11067 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11068       else
   11069 	allow_undefined_flag=' -expect_unresolved \*'
   11070 	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'
   11071 	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~
   11072           $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'
   11073 
   11074 	# Both c and cxx compiler support -rpath directly
   11075 	hardcode_libdir_flag_spec='-rpath $libdir'
   11076       fi
   11077       archive_cmds_need_lc='no'
   11078       hardcode_libdir_separator=:
   11079       ;;
   11080 
   11081     serenity*)
   11082       ;;
   11083 
   11084     solaris*)
   11085       no_undefined_flag=' -z defs'
   11086       if test yes = "$GCC"; then
   11087 	wlarc='$wl'
   11088 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11089 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11090           $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'
   11091       else
   11092 	case `$CC -V 2>&1` in
   11093 	*"Compilers 5.0"*)
   11094 	  wlarc=''
   11095 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11096 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11097             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11098 	  ;;
   11099 	*)
   11100 	  wlarc='$wl'
   11101 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11102 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11103             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11104 	  ;;
   11105 	esac
   11106       fi
   11107       hardcode_libdir_flag_spec='-R$libdir'
   11108       hardcode_shlibpath_var=no
   11109       case $host_os in
   11110       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11111       *)
   11112 	# The compiler driver will combine and reorder linker options,
   11113 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11114 	# but is careful enough not to reorder.
   11115 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11116 	if test yes = "$GCC"; then
   11117 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11118 	else
   11119 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11120 	fi
   11121 	;;
   11122       esac
   11123       link_all_deplibs=yes
   11124       ;;
   11125 
   11126     sunos4*)
   11127       if test sequent = "$host_vendor"; then
   11128 	# Use $CC to link under sequent, because it throws in some extra .o
   11129 	# files that make .init and .fini sections work.
   11130 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11131       else
   11132 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11133       fi
   11134       hardcode_libdir_flag_spec='-L$libdir'
   11135       hardcode_direct=yes
   11136       hardcode_minus_L=yes
   11137       hardcode_shlibpath_var=no
   11138       ;;
   11139 
   11140     sysv4)
   11141       case $host_vendor in
   11142 	sni)
   11143 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11144 	  hardcode_direct=yes # is this really true???
   11145 	;;
   11146 	siemens)
   11147 	  ## LD is ld it makes a PLAMLIB
   11148 	  ## CC just makes a GrossModule.
   11149 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11150 	  reload_cmds='$CC -r -o $output$reload_objs'
   11151 	  hardcode_direct=no
   11152         ;;
   11153 	motorola)
   11154 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11155 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11156 	;;
   11157       esac
   11158       runpath_var='LD_RUN_PATH'
   11159       hardcode_shlibpath_var=no
   11160       ;;
   11161 
   11162     sysv4.3*)
   11163       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11164       hardcode_shlibpath_var=no
   11165       export_dynamic_flag_spec='-Bexport'
   11166       ;;
   11167 
   11168     sysv4*MP*)
   11169       if test -d /usr/nec; then
   11170 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11171 	hardcode_shlibpath_var=no
   11172 	runpath_var=LD_RUN_PATH
   11173 	hardcode_runpath_var=yes
   11174 	ld_shlibs=yes
   11175       fi
   11176       ;;
   11177 
   11178     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11179       no_undefined_flag='$wl-z,text'
   11180       archive_cmds_need_lc=no
   11181       hardcode_shlibpath_var=no
   11182       runpath_var='LD_RUN_PATH'
   11183 
   11184       if test yes = "$GCC"; then
   11185 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11186 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11187       else
   11188 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11189 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11190       fi
   11191       ;;
   11192 
   11193     sysv5* | sco3.2v5* | sco5v6*)
   11194       # Note: We CANNOT use -z defs as we might desire, because we do not
   11195       # link with -lc, and that would cause any symbols used from libc to
   11196       # always be unresolved, which means just about no library would
   11197       # ever link correctly.  If we're not using GNU ld we use -z text
   11198       # though, which does catch some bad symbols but isn't as heavy-handed
   11199       # as -z defs.
   11200       no_undefined_flag='$wl-z,text'
   11201       allow_undefined_flag='$wl-z,nodefs'
   11202       archive_cmds_need_lc=no
   11203       hardcode_shlibpath_var=no
   11204       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11205       hardcode_libdir_separator=':'
   11206       link_all_deplibs=yes
   11207       export_dynamic_flag_spec='$wl-Bexport'
   11208       runpath_var='LD_RUN_PATH'
   11209 
   11210       if test yes = "$GCC"; then
   11211 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11212 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11213       else
   11214 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11215 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11216       fi
   11217       ;;
   11218 
   11219     uts4*)
   11220       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11221       hardcode_libdir_flag_spec='-L$libdir'
   11222       hardcode_shlibpath_var=no
   11223       ;;
   11224 
   11225     *)
   11226       ld_shlibs=no
   11227       ;;
   11228     esac
   11229 
   11230     if test sni = "$host_vendor"; then
   11231       case $host in
   11232       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11233 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11234 	;;
   11235       esac
   11236     fi
   11237   fi
   11238 
   11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11240 printf "%s\n" "$ld_shlibs" >&6; }
   11241 test no = "$ld_shlibs" && can_build_shared=no
   11242 
   11243 with_gnu_ld=$with_gnu_ld
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 #
   11260 # Do we need to explicitly link libc?
   11261 #
   11262 case "x$archive_cmds_need_lc" in
   11263 x|xyes)
   11264   # Assume -lc should be added
   11265   archive_cmds_need_lc=yes
   11266 
   11267   if test yes,yes = "$GCC,$enable_shared"; then
   11268     case $archive_cmds in
   11269     *'~'*)
   11270       # FIXME: we may have to deal with multi-command sequences.
   11271       ;;
   11272     '$CC '*)
   11273       # Test whether the compiler implicitly links with -lc since on some
   11274       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11275       # to ld, don't add -lc before -lgcc.
   11276       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11277 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11278 if test ${lt_cv_archive_cmds_need_lc+y}
   11279 then :
   11280   printf %s "(cached) " >&6
   11281 else case e in #(
   11282   e) $RM conftest*
   11283 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11284 
   11285 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11286   (eval $ac_compile) 2>&5
   11287   ac_status=$?
   11288   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11289   test $ac_status = 0; } 2>conftest.err; then
   11290 	  soname=conftest
   11291 	  lib=conftest
   11292 	  libobjs=conftest.$ac_objext
   11293 	  deplibs=
   11294 	  wl=$lt_prog_compiler_wl
   11295 	  pic_flag=$lt_prog_compiler_pic
   11296 	  compiler_flags=-v
   11297 	  linker_flags=-v
   11298 	  verstring=
   11299 	  output_objdir=.
   11300 	  libname=conftest
   11301 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11302 	  allow_undefined_flag=
   11303 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11304   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11305   ac_status=$?
   11306   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11307   test $ac_status = 0; }
   11308 	  then
   11309 	    lt_cv_archive_cmds_need_lc=no
   11310 	  else
   11311 	    lt_cv_archive_cmds_need_lc=yes
   11312 	  fi
   11313 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11314 	else
   11315 	  cat conftest.err 1>&5
   11316 	fi
   11317 	$RM conftest*
   11318 	 ;;
   11319 esac
   11320 fi
   11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11322 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11323       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11324       ;;
   11325     esac
   11326   fi
   11327   ;;
   11328 esac
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11482 printf %s "checking dynamic linker characteristics... " >&6; }
   11483 
   11484 if test yes = "$GCC"; then
   11485   case $host_os in
   11486     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11487     *) lt_awk_arg='/^libraries:/' ;;
   11488   esac
   11489   case $host_os in
   11490     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11491     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11492   esac
   11493   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11494   case $lt_search_path_spec in
   11495   *\;*)
   11496     # if the path contains ";" then we assume it to be the separator
   11497     # otherwise default to the standard path separator (i.e. ":") - it is
   11498     # assumed that no part of a normal pathname contains ";" but that should
   11499     # okay in the real world where ";" in dirpaths is itself problematic.
   11500     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11501     ;;
   11502   *)
   11503     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11504     ;;
   11505   esac
   11506   # Ok, now we have the path, separated by spaces, we can step through it
   11507   # and add multilib dir if necessary...
   11508   lt_tmp_lt_search_path_spec=
   11509   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11510   # ...but if some path component already ends with the multilib dir we assume
   11511   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11512   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11513   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11514     lt_multi_os_dir=
   11515     ;;
   11516   esac
   11517   for lt_sys_path in $lt_search_path_spec; do
   11518     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11519       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11520     elif test -n "$lt_multi_os_dir"; then
   11521       test -d "$lt_sys_path" && \
   11522 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11523     fi
   11524   done
   11525   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11526 BEGIN {RS = " "; FS = "/|\n";} {
   11527   lt_foo = "";
   11528   lt_count = 0;
   11529   for (lt_i = NF; lt_i > 0; lt_i--) {
   11530     if ($lt_i != "" && $lt_i != ".") {
   11531       if ($lt_i == "..") {
   11532         lt_count++;
   11533       } else {
   11534         if (lt_count == 0) {
   11535           lt_foo = "/" $lt_i lt_foo;
   11536         } else {
   11537           lt_count--;
   11538         }
   11539       }
   11540     }
   11541   }
   11542   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11543   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11544 }'`
   11545   # AWK program above erroneously prepends '/' to C:/dos/paths
   11546   # for these hosts.
   11547   case $host_os in
   11548     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11549       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11550   esac
   11551   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11552 else
   11553   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11554 fi
   11555 library_names_spec=
   11556 libname_spec='lib$name'
   11557 soname_spec=
   11558 shrext_cmds=.so
   11559 postinstall_cmds=
   11560 postuninstall_cmds=
   11561 finish_cmds=
   11562 finish_eval=
   11563 shlibpath_var=
   11564 shlibpath_overrides_runpath=unknown
   11565 version_type=none
   11566 dynamic_linker="$host_os ld.so"
   11567 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11568 need_lib_prefix=unknown
   11569 hardcode_into_libs=no
   11570 
   11571 # when you set need_version to no, make sure it does not cause -set_version
   11572 # flags to be left without arguments
   11573 need_version=unknown
   11574 
   11575 
   11576 
   11577 case $host_os in
   11578 aix3*)
   11579   version_type=linux # correct to gnu/linux during the next big refactor
   11580   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11581   shlibpath_var=LIBPATH
   11582 
   11583   # AIX 3 has no versioning support, so we append a major version to the name.
   11584   soname_spec='$libname$release$shared_ext$major'
   11585   ;;
   11586 
   11587 aix[4-9]*)
   11588   version_type=linux # correct to gnu/linux during the next big refactor
   11589   need_lib_prefix=no
   11590   need_version=no
   11591   hardcode_into_libs=yes
   11592   if test ia64 = "$host_cpu"; then
   11593     # AIX 5 supports IA64
   11594     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11595     shlibpath_var=LD_LIBRARY_PATH
   11596   else
   11597     # With GCC up to 2.95.x, collect2 would create an import file
   11598     # for dependence libraries.  The import file would start with
   11599     # the line '#! .'.  This would cause the generated library to
   11600     # depend on '.', always an invalid library.  This was fixed in
   11601     # development snapshots of GCC prior to 3.0.
   11602     case $host_os in
   11603       aix4 | aix4.[01] | aix4.[01].*)
   11604       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11605 	   echo ' yes '
   11606 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11607 	:
   11608       else
   11609 	can_build_shared=no
   11610       fi
   11611       ;;
   11612     esac
   11613     # Using Import Files as archive members, it is possible to support
   11614     # filename-based versioning of shared library archives on AIX. While
   11615     # this would work for both with and without runtime linking, it will
   11616     # prevent static linking of such archives. So we do filename-based
   11617     # shared library versioning with .so extension only, which is used
   11618     # when both runtime linking and shared linking is enabled.
   11619     # Unfortunately, runtime linking may impact performance, so we do
   11620     # not want this to be the default eventually. Also, we use the
   11621     # versioned .so libs for executables only if there is the -brtl
   11622     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11623     # To allow for filename-based versioning support, we need to create
   11624     # libNAME.so.V as an archive file, containing:
   11625     # *) an Import File, referring to the versioned filename of the
   11626     #    archive as well as the shared archive member, telling the
   11627     #    bitwidth (32 or 64) of that shared object, and providing the
   11628     #    list of exported symbols of that shared object, eventually
   11629     #    decorated with the 'weak' keyword
   11630     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11631     #    it being seen by the linker.
   11632     # At run time we better use the real file rather than another symlink,
   11633     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11634 
   11635     case $with_aix_soname,$aix_use_runtimelinking in
   11636     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11637     # soname into executable. Probably we can add versioning support to
   11638     # collect2, so additional links can be useful in future.
   11639     aix,yes) # traditional libtool
   11640       dynamic_linker='AIX unversionable lib.so'
   11641       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11642       # instead of lib<name>.a to let people know that these are not
   11643       # typical AIX shared libraries.
   11644       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11645       ;;
   11646     aix,no) # traditional AIX only
   11647       dynamic_linker='AIX lib.a(lib.so.V)'
   11648       # We preserve .a as extension for shared libraries through AIX4.2
   11649       # and later when we are not doing run time linking.
   11650       library_names_spec='$libname$release.a $libname.a'
   11651       soname_spec='$libname$release$shared_ext$major'
   11652       ;;
   11653     svr4,*) # full svr4 only
   11654       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11655       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11656       # We do not specify a path in Import Files, so LIBPATH fires.
   11657       shlibpath_overrides_runpath=yes
   11658       ;;
   11659     *,yes) # both, prefer svr4
   11660       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11661       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11662       # unpreferred sharedlib libNAME.a needs extra handling
   11663       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"'
   11664       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"'
   11665       # We do not specify a path in Import Files, so LIBPATH fires.
   11666       shlibpath_overrides_runpath=yes
   11667       ;;
   11668     *,no) # both, prefer aix
   11669       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11670       library_names_spec='$libname$release.a $libname.a'
   11671       soname_spec='$libname$release$shared_ext$major'
   11672       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11673       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)'
   11674       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"'
   11675       ;;
   11676     esac
   11677     shlibpath_var=LIBPATH
   11678   fi
   11679   ;;
   11680 
   11681 amigaos*)
   11682   case $host_cpu in
   11683   powerpc)
   11684     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11685     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11686     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11687     ;;
   11688   m68k)
   11689     library_names_spec='$libname.ixlibrary $libname.a'
   11690     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11691     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'
   11692     ;;
   11693   esac
   11694   ;;
   11695 
   11696 beos*)
   11697   library_names_spec='$libname$shared_ext'
   11698   dynamic_linker="$host_os ld.so"
   11699   shlibpath_var=LIBRARY_PATH
   11700   ;;
   11701 
   11702 bsdi[45]*)
   11703   version_type=linux # correct to gnu/linux during the next big refactor
   11704   need_version=no
   11705   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11706   soname_spec='$libname$release$shared_ext$major'
   11707   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11708   shlibpath_var=LD_LIBRARY_PATH
   11709   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11710   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11711   # the default ld.so.conf also contains /usr/contrib/lib and
   11712   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11713   # libtool to hard-code these into programs
   11714   ;;
   11715 
   11716 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11717   version_type=windows
   11718   shrext_cmds=.dll
   11719   need_version=no
   11720   need_lib_prefix=no
   11721 
   11722   case $GCC,$cc_basename in
   11723   yes,*)
   11724     # gcc
   11725     library_names_spec='$libname.dll.a'
   11726     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11727     # If user builds GCC with multilib enabled,
   11728     # it should just install on $(libdir)
   11729     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11730     if test xyes = x"$multilib"; then
   11731       postinstall_cmds='base_file=`basename \$file`~
   11732         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11733         dldir=$destdir/`dirname \$dlpath`~
   11734         $install_prog $dir/$dlname $destdir/$dlname~
   11735         chmod a+x $destdir/$dlname~
   11736         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11737           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11738         fi'
   11739     else
   11740       postinstall_cmds='base_file=`basename \$file`~
   11741         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11742         dldir=$destdir/`dirname \$dlpath`~
   11743         test -d \$dldir || mkdir -p \$dldir~
   11744         $install_prog $dir/$dlname \$dldir/$dlname~
   11745         chmod a+x \$dldir/$dlname~
   11746         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11747           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11748         fi'
   11749     fi
   11750     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11751       dlpath=$dir/\$dldll~
   11752        $RM \$dlpath'
   11753     shlibpath_overrides_runpath=yes
   11754 
   11755     case $host_os in
   11756     cygwin*)
   11757       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11758       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11759 
   11760       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11761       ;;
   11762     mingw* | windows* | cegcc*)
   11763       # MinGW DLLs use traditional 'lib' prefix
   11764       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11765       ;;
   11766     pw32*)
   11767       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11768       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11769       ;;
   11770     esac
   11771     dynamic_linker='Win32 ld.exe'
   11772     ;;
   11773 
   11774   *,cl* | *,icl*)
   11775     # Native MSVC or ICC
   11776     libname_spec='$name'
   11777     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11778     library_names_spec='$libname.dll.lib'
   11779 
   11780     case $build_os in
   11781     mingw* | windows*)
   11782       sys_lib_search_path_spec=
   11783       lt_save_ifs=$IFS
   11784       IFS=';'
   11785       for lt_path in $LIB
   11786       do
   11787         IFS=$lt_save_ifs
   11788         # Let DOS variable expansion print the short 8.3 style file name.
   11789         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11790         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11791       done
   11792       IFS=$lt_save_ifs
   11793       # Convert to MSYS style.
   11794       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11795       ;;
   11796     cygwin*)
   11797       # Convert to unix form, then to dos form, then back to unix form
   11798       # but this time dos style (no spaces!) so that the unix form looks
   11799       # like /cygdrive/c/PROGRA~1:/cygdr...
   11800       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11801       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11802       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11803       ;;
   11804     *)
   11805       sys_lib_search_path_spec=$LIB
   11806       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11807         # It is most probably a Windows format PATH.
   11808         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11809       else
   11810         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11811       fi
   11812       # FIXME: find the short name or the path components, as spaces are
   11813       # common. (e.g. "Program Files" -> "PROGRA~1")
   11814       ;;
   11815     esac
   11816 
   11817     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11818     postinstall_cmds='base_file=`basename \$file`~
   11819       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11820       dldir=$destdir/`dirname \$dlpath`~
   11821       test -d \$dldir || mkdir -p \$dldir~
   11822       $install_prog $dir/$dlname \$dldir/$dlname'
   11823     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11824       dlpath=$dir/\$dldll~
   11825        $RM \$dlpath'
   11826     shlibpath_overrides_runpath=yes
   11827     dynamic_linker='Win32 link.exe'
   11828     ;;
   11829 
   11830   *)
   11831     # Assume MSVC and ICC wrapper
   11832     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11833     dynamic_linker='Win32 ld.exe'
   11834     ;;
   11835   esac
   11836   # FIXME: first we should search . and the directory the executable is in
   11837   shlibpath_var=PATH
   11838   ;;
   11839 
   11840 darwin* | rhapsody*)
   11841   dynamic_linker="$host_os dyld"
   11842   version_type=darwin
   11843   need_lib_prefix=no
   11844   need_version=no
   11845   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11846   soname_spec='$libname$release$major$shared_ext'
   11847   shlibpath_overrides_runpath=yes
   11848   shlibpath_var=DYLD_LIBRARY_PATH
   11849   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11850 
   11851   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11852   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11853   ;;
   11854 
   11855 dgux*)
   11856   version_type=linux # correct to gnu/linux during the next big refactor
   11857   need_lib_prefix=no
   11858   need_version=no
   11859   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11860   soname_spec='$libname$release$shared_ext$major'
   11861   shlibpath_var=LD_LIBRARY_PATH
   11862   ;;
   11863 
   11864 freebsd* | dragonfly* | midnightbsd*)
   11865   # DragonFly does not have aout.  When/if they implement a new
   11866   # versioning mechanism, adjust this.
   11867   if test -x /usr/bin/objformat; then
   11868     objformat=`/usr/bin/objformat`
   11869   else
   11870     case $host_os in
   11871     freebsd[23].*) objformat=aout ;;
   11872     *) objformat=elf ;;
   11873     esac
   11874   fi
   11875   version_type=freebsd-$objformat
   11876   case $version_type in
   11877     freebsd-elf*)
   11878       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11879       soname_spec='$libname$release$shared_ext$major'
   11880       need_version=no
   11881       need_lib_prefix=no
   11882       ;;
   11883     freebsd-*)
   11884       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11885       need_version=yes
   11886       ;;
   11887   esac
   11888   case $host_cpu in
   11889     powerpc64)
   11890       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11891       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11893 /* end confdefs.h.  */
   11894 int test_pointer_size[sizeof (void *) - 5];
   11895 
   11896 _ACEOF
   11897 if ac_fn_c_try_compile "$LINENO"
   11898 then :
   11899   shlibpath_var=LD_LIBRARY_PATH
   11900 else case e in #(
   11901   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   11902 esac
   11903 fi
   11904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11905       ;;
   11906     *)
   11907       shlibpath_var=LD_LIBRARY_PATH
   11908       ;;
   11909   esac
   11910   case $host_os in
   11911   freebsd2.*)
   11912     shlibpath_overrides_runpath=yes
   11913     ;;
   11914   freebsd3.[01]* | freebsdelf3.[01]*)
   11915     shlibpath_overrides_runpath=yes
   11916     hardcode_into_libs=yes
   11917     ;;
   11918   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11919   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11920     shlibpath_overrides_runpath=no
   11921     hardcode_into_libs=yes
   11922     ;;
   11923   *) # from 4.6 on, and DragonFly
   11924     shlibpath_overrides_runpath=yes
   11925     hardcode_into_libs=yes
   11926     ;;
   11927   esac
   11928   ;;
   11929 
   11930 haiku*)
   11931   version_type=linux # correct to gnu/linux during the next big refactor
   11932   need_lib_prefix=no
   11933   need_version=no
   11934   dynamic_linker="$host_os runtime_loader"
   11935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11936   soname_spec='$libname$release$shared_ext$major'
   11937   shlibpath_var=LIBRARY_PATH
   11938   shlibpath_overrides_runpath=no
   11939   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   11940   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   11941   hardcode_into_libs=no
   11942   ;;
   11943 
   11944 hpux9* | hpux10* | hpux11*)
   11945   # Give a soname corresponding to the major version so that dld.sl refuses to
   11946   # link against other versions.
   11947   version_type=sunos
   11948   need_lib_prefix=no
   11949   need_version=no
   11950   case $host_cpu in
   11951   ia64*)
   11952     shrext_cmds='.so'
   11953     hardcode_into_libs=yes
   11954     dynamic_linker="$host_os dld.so"
   11955     shlibpath_var=LD_LIBRARY_PATH
   11956     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11957     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11958     soname_spec='$libname$release$shared_ext$major'
   11959     if test 32 = "$HPUX_IA64_MODE"; then
   11960       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11961       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11962     else
   11963       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11964       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11965     fi
   11966     ;;
   11967   hppa*64*)
   11968     shrext_cmds='.sl'
   11969     hardcode_into_libs=yes
   11970     dynamic_linker="$host_os dld.sl"
   11971     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11972     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11973     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11974     soname_spec='$libname$release$shared_ext$major'
   11975     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11976     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11977     ;;
   11978   *)
   11979     shrext_cmds='.sl'
   11980     dynamic_linker="$host_os dld.sl"
   11981     shlibpath_var=SHLIB_PATH
   11982     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11983     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11984     soname_spec='$libname$release$shared_ext$major'
   11985     ;;
   11986   esac
   11987   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11988   postinstall_cmds='chmod 555 $lib'
   11989   # or fails outright, so override atomically:
   11990   install_override_mode=555
   11991   ;;
   11992 
   11993 interix[3-9]*)
   11994   version_type=linux # correct to gnu/linux during the next big refactor
   11995   need_lib_prefix=no
   11996   need_version=no
   11997   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11998   soname_spec='$libname$release$shared_ext$major'
   11999   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12000   shlibpath_var=LD_LIBRARY_PATH
   12001   shlibpath_overrides_runpath=no
   12002   hardcode_into_libs=yes
   12003   ;;
   12004 
   12005 irix5* | irix6* | nonstopux*)
   12006   case $host_os in
   12007     nonstopux*) version_type=nonstopux ;;
   12008     *)
   12009 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12010 		version_type=linux # correct to gnu/linux during the next big refactor
   12011 	else
   12012 		version_type=irix
   12013 	fi ;;
   12014   esac
   12015   need_lib_prefix=no
   12016   need_version=no
   12017   soname_spec='$libname$release$shared_ext$major'
   12018   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12019   case $host_os in
   12020   irix5* | nonstopux*)
   12021     libsuff= shlibsuff=
   12022     ;;
   12023   *)
   12024     case $LD in # libtool.m4 will add one of these switches to LD
   12025     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12026       libsuff= shlibsuff= libmagic=32-bit;;
   12027     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12028       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12029     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12030       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12031     *) libsuff= shlibsuff= libmagic=never-match;;
   12032     esac
   12033     ;;
   12034   esac
   12035   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12036   shlibpath_overrides_runpath=no
   12037   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12038   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12039   hardcode_into_libs=yes
   12040   ;;
   12041 
   12042 # No shared lib support for Linux oldld, aout, or coff.
   12043 linux*oldld* | linux*aout* | linux*coff*)
   12044   dynamic_linker=no
   12045   ;;
   12046 
   12047 linux*android*)
   12048   version_type=none # Android doesn't support versioned libraries.
   12049   need_lib_prefix=no
   12050   need_version=no
   12051   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12052   soname_spec='$libname$release$shared_ext'
   12053   finish_cmds=
   12054   shlibpath_var=LD_LIBRARY_PATH
   12055   shlibpath_overrides_runpath=yes
   12056 
   12057   # This implies no fast_install, which is unacceptable.
   12058   # Some rework will be needed to allow for fast_install
   12059   # before this can be enabled.
   12060   hardcode_into_libs=yes
   12061 
   12062   dynamic_linker='Android linker'
   12063   # -rpath works at least for libraries that are not overridden by
   12064   # libraries installed in system locations.
   12065   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12066   ;;
   12067 
   12068 # This must be glibc/ELF.
   12069 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12070   version_type=linux # correct to gnu/linux during the next big refactor
   12071   need_lib_prefix=no
   12072   need_version=no
   12073   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12074   soname_spec='$libname$release$shared_ext$major'
   12075   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12076   shlibpath_var=LD_LIBRARY_PATH
   12077   shlibpath_overrides_runpath=no
   12078 
   12079   # Some binutils ld are patched to set DT_RUNPATH
   12080   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12081 then :
   12082   printf %s "(cached) " >&6
   12083 else case e in #(
   12084   e) lt_cv_shlibpath_overrides_runpath=no
   12085     save_LDFLAGS=$LDFLAGS
   12086     save_libdir=$libdir
   12087     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12088 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12090 /* end confdefs.h.  */
   12091 
   12092 int
   12093 main (void)
   12094 {
   12095 
   12096   ;
   12097   return 0;
   12098 }
   12099 _ACEOF
   12100 if ac_fn_c_try_link "$LINENO"
   12101 then :
   12102   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12103 then :
   12104   lt_cv_shlibpath_overrides_runpath=yes
   12105 fi
   12106 fi
   12107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12108     conftest$ac_exeext conftest.$ac_ext
   12109     LDFLAGS=$save_LDFLAGS
   12110     libdir=$save_libdir
   12111      ;;
   12112 esac
   12113 fi
   12114 
   12115   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12116 
   12117   # This implies no fast_install, which is unacceptable.
   12118   # Some rework will be needed to allow for fast_install
   12119   # before this can be enabled.
   12120   hardcode_into_libs=yes
   12121 
   12122   # Ideally, we could use ldconfig to report *all* directories which are
   12123   # searched for libraries, however this is still not possible.  Aside from not
   12124   # being certain /sbin/ldconfig is available, command
   12125   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12126   # even though it is searched at run-time.  Try to do the best guess by
   12127   # appending ld.so.conf contents (and includes) to the search path.
   12128   if test -f /etc/ld.so.conf; then
   12129     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' ' '`
   12130     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12131   fi
   12132 
   12133   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12134   # powerpc, because MkLinux only supported shared libraries with the
   12135   # GNU dynamic linker.  Since this was broken with cross compilers,
   12136   # most powerpc-linux boxes support dynamic linking these days and
   12137   # people can always --disable-shared, the test was removed, and we
   12138   # assume the GNU/Linux dynamic linker is in use.
   12139   dynamic_linker='GNU/Linux ld.so'
   12140   ;;
   12141 
   12142 netbsdelf*-gnu)
   12143   version_type=linux
   12144   need_lib_prefix=no
   12145   need_version=no
   12146   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12147   soname_spec='$libname$release$shared_ext$major'
   12148   shlibpath_var=LD_LIBRARY_PATH
   12149   shlibpath_overrides_runpath=no
   12150   hardcode_into_libs=yes
   12151   dynamic_linker='NetBSD ld.elf_so'
   12152   ;;
   12153 
   12154 netbsd*)
   12155   version_type=sunos
   12156   need_lib_prefix=no
   12157   need_version=no
   12158   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12159     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12160     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12161     dynamic_linker='NetBSD (a.out) ld.so'
   12162   else
   12163     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12164     soname_spec='$libname$release$shared_ext$major'
   12165     dynamic_linker='NetBSD ld.elf_so'
   12166   fi
   12167   shlibpath_var=LD_LIBRARY_PATH
   12168   shlibpath_overrides_runpath=yes
   12169   hardcode_into_libs=yes
   12170   ;;
   12171 
   12172 *-mlibc)
   12173   version_type=linux # correct to gnu/linux during the next big refactor
   12174   need_lib_prefix=no
   12175   need_version=no
   12176   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12177   soname_spec='$libname$release$shared_ext$major'
   12178   dynamic_linker='mlibc ld.so'
   12179   shlibpath_var=LD_LIBRARY_PATH
   12180   shlibpath_overrides_runpath=no
   12181   hardcode_into_libs=yes
   12182   ;;
   12183 
   12184 newsos6)
   12185   version_type=linux # correct to gnu/linux during the next big refactor
   12186   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12187   shlibpath_var=LD_LIBRARY_PATH
   12188   shlibpath_overrides_runpath=yes
   12189   ;;
   12190 
   12191 *nto* | *qnx*)
   12192   version_type=qnx
   12193   need_lib_prefix=no
   12194   need_version=no
   12195   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12196   soname_spec='$libname$release$shared_ext$major'
   12197   shlibpath_var=LD_LIBRARY_PATH
   12198   shlibpath_overrides_runpath=no
   12199   hardcode_into_libs=yes
   12200   dynamic_linker='ldqnx.so'
   12201   ;;
   12202 
   12203 openbsd*)
   12204   version_type=sunos
   12205   sys_lib_dlsearch_path_spec=/usr/lib
   12206   need_lib_prefix=no
   12207   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12208     need_version=no
   12209   else
   12210     need_version=yes
   12211   fi
   12212   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12213   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12214   shlibpath_var=LD_LIBRARY_PATH
   12215   shlibpath_overrides_runpath=yes
   12216   ;;
   12217 
   12218 os2*)
   12219   libname_spec='$name'
   12220   version_type=windows
   12221   shrext_cmds=.dll
   12222   need_version=no
   12223   need_lib_prefix=no
   12224   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12225   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12226     v=$($ECHO $release$versuffix | tr -d .-);
   12227     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12228     $ECHO $n$v`$shared_ext'
   12229   library_names_spec='${libname}_dll.$libext'
   12230   dynamic_linker='OS/2 ld.exe'
   12231   shlibpath_var=BEGINLIBPATH
   12232   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12233   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12234   postinstall_cmds='base_file=`basename \$file`~
   12235     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12236     dldir=$destdir/`dirname \$dlpath`~
   12237     test -d \$dldir || mkdir -p \$dldir~
   12238     $install_prog $dir/$dlname \$dldir/$dlname~
   12239     chmod a+x \$dldir/$dlname~
   12240     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12241       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12242     fi'
   12243   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12244     dlpath=$dir/\$dldll~
   12245     $RM \$dlpath'
   12246   ;;
   12247 
   12248 osf3* | osf4* | osf5*)
   12249   version_type=osf
   12250   need_lib_prefix=no
   12251   need_version=no
   12252   soname_spec='$libname$release$shared_ext$major'
   12253   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12254   shlibpath_var=LD_LIBRARY_PATH
   12255   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12256   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12257   ;;
   12258 
   12259 rdos*)
   12260   dynamic_linker=no
   12261   ;;
   12262 
   12263 serenity*)
   12264   version_type=linux # correct to gnu/linux during the next big refactor
   12265   need_lib_prefix=no
   12266   need_version=no
   12267   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12268   soname_spec='$libname$release$shared_ext$major'
   12269   shlibpath_var=LD_LIBRARY_PATH
   12270   shlibpath_overrides_runpath=no
   12271   dynamic_linker='SerenityOS LibELF'
   12272   ;;
   12273 
   12274 solaris*)
   12275   version_type=linux # correct to gnu/linux during the next big refactor
   12276   need_lib_prefix=no
   12277   need_version=no
   12278   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12279   soname_spec='$libname$release$shared_ext$major'
   12280   shlibpath_var=LD_LIBRARY_PATH
   12281   shlibpath_overrides_runpath=yes
   12282   hardcode_into_libs=yes
   12283   # ldd complains unless libraries are executable
   12284   postinstall_cmds='chmod +x $lib'
   12285   ;;
   12286 
   12287 sunos4*)
   12288   version_type=sunos
   12289   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12290   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12291   shlibpath_var=LD_LIBRARY_PATH
   12292   shlibpath_overrides_runpath=yes
   12293   if test yes = "$with_gnu_ld"; then
   12294     need_lib_prefix=no
   12295   fi
   12296   need_version=yes
   12297   ;;
   12298 
   12299 sysv4 | sysv4.3*)
   12300   version_type=linux # correct to gnu/linux during the next big refactor
   12301   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12302   soname_spec='$libname$release$shared_ext$major'
   12303   shlibpath_var=LD_LIBRARY_PATH
   12304   case $host_vendor in
   12305     sni)
   12306       shlibpath_overrides_runpath=no
   12307       need_lib_prefix=no
   12308       runpath_var=LD_RUN_PATH
   12309       ;;
   12310     siemens)
   12311       need_lib_prefix=no
   12312       ;;
   12313     motorola)
   12314       need_lib_prefix=no
   12315       need_version=no
   12316       shlibpath_overrides_runpath=no
   12317       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12318       ;;
   12319   esac
   12320   ;;
   12321 
   12322 sysv4*MP*)
   12323   if test -d /usr/nec; then
   12324     version_type=linux # correct to gnu/linux during the next big refactor
   12325     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12326     soname_spec='$libname$shared_ext.$major'
   12327     shlibpath_var=LD_LIBRARY_PATH
   12328   fi
   12329   ;;
   12330 
   12331 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12332   version_type=sco
   12333   need_lib_prefix=no
   12334   need_version=no
   12335   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12336   soname_spec='$libname$release$shared_ext$major'
   12337   shlibpath_var=LD_LIBRARY_PATH
   12338   shlibpath_overrides_runpath=yes
   12339   hardcode_into_libs=yes
   12340   if test yes = "$with_gnu_ld"; then
   12341     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12342   else
   12343     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12344     case $host_os in
   12345       sco3.2v5*)
   12346         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12347 	;;
   12348     esac
   12349   fi
   12350   sys_lib_dlsearch_path_spec='/usr/lib'
   12351   ;;
   12352 
   12353 tpf*)
   12354   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12355   version_type=linux # correct to gnu/linux during the next big refactor
   12356   need_lib_prefix=no
   12357   need_version=no
   12358   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12359   shlibpath_var=LD_LIBRARY_PATH
   12360   shlibpath_overrides_runpath=no
   12361   hardcode_into_libs=yes
   12362   ;;
   12363 
   12364 uts4*)
   12365   version_type=linux # correct to gnu/linux during the next big refactor
   12366   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12367   soname_spec='$libname$release$shared_ext$major'
   12368   shlibpath_var=LD_LIBRARY_PATH
   12369   ;;
   12370 
   12371 emscripten*)
   12372   version_type=none
   12373   need_lib_prefix=no
   12374   need_version=no
   12375   library_names_spec='$libname$release$shared_ext'
   12376   soname_spec='$libname$release$shared_ext'
   12377   finish_cmds=
   12378   dynamic_linker="Emscripten linker"
   12379   lt_prog_compiler_wl=
   12380 lt_prog_compiler_pic=
   12381 lt_prog_compiler_static=
   12382 
   12383 
   12384   if test yes = "$GCC"; then
   12385     lt_prog_compiler_wl='-Wl,'
   12386     lt_prog_compiler_static='-static'
   12387 
   12388     case $host_os in
   12389       aix*)
   12390       # All AIX code is PIC.
   12391       if test ia64 = "$host_cpu"; then
   12392 	# AIX 5 now supports IA64 processor
   12393 	lt_prog_compiler_static='-Bstatic'
   12394       fi
   12395       lt_prog_compiler_pic='-fPIC'
   12396       ;;
   12397 
   12398     amigaos*)
   12399       case $host_cpu in
   12400       powerpc)
   12401             # see comment about AmigaOS4 .so support
   12402             lt_prog_compiler_pic='-fPIC'
   12403         ;;
   12404       m68k)
   12405             # FIXME: we need at least 68020 code to build shared libraries, but
   12406             # adding the '-m68020' flag to GCC prevents building anything better,
   12407             # like '-m68040'.
   12408             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12409         ;;
   12410       esac
   12411       ;;
   12412 
   12413     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12414       # PIC is the default for these OSes.
   12415       ;;
   12416 
   12417     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12418       # This hack is so that the source file can tell whether it is being
   12419       # built for inclusion in a dll (and should export symbols for example).
   12420       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12421       # (--disable-auto-import) libraries
   12422       lt_prog_compiler_pic='-DDLL_EXPORT'
   12423       case $host_os in
   12424       os2*)
   12425 	lt_prog_compiler_static='$wl-static'
   12426 	;;
   12427       esac
   12428       ;;
   12429 
   12430     darwin* | rhapsody*)
   12431       # PIC is the default on this platform
   12432       # Common symbols not allowed in MH_DYLIB files
   12433       lt_prog_compiler_pic='-fno-common'
   12434       ;;
   12435 
   12436     haiku*)
   12437       # PIC is the default for Haiku.
   12438       # The "-static" flag exists, but is broken.
   12439       lt_prog_compiler_static=
   12440       ;;
   12441 
   12442     hpux*)
   12443       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12444       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12445       # sets the default TLS model and affects inlining.
   12446       case $host_cpu in
   12447       hppa*64*)
   12448 	# +Z the default
   12449 	;;
   12450       *)
   12451 	lt_prog_compiler_pic='-fPIC'
   12452 	;;
   12453       esac
   12454       ;;
   12455 
   12456     interix[3-9]*)
   12457       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12458       # Instead, we relocate shared libraries at runtime.
   12459       ;;
   12460 
   12461     msdosdjgpp*)
   12462       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12463       # on systems that don't support them.
   12464       lt_prog_compiler_can_build_shared=no
   12465       enable_shared=no
   12466       ;;
   12467 
   12468     *nto* | *qnx*)
   12469       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12470       # it will coredump.
   12471       lt_prog_compiler_pic='-fPIC -shared'
   12472       ;;
   12473 
   12474     sysv4*MP*)
   12475       if test -d /usr/nec; then
   12476 	lt_prog_compiler_pic=-Kconform_pic
   12477       fi
   12478       ;;
   12479 
   12480     *)
   12481       lt_prog_compiler_pic='-fPIC'
   12482       ;;
   12483     esac
   12484 
   12485     case $cc_basename in
   12486     nvcc*) # Cuda Compiler Driver 2.2
   12487       lt_prog_compiler_wl='-Xlinker '
   12488       if test -n "$lt_prog_compiler_pic"; then
   12489         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12490       fi
   12491       ;;
   12492     esac
   12493   else
   12494     # PORTME Check for flag to pass linker flags through the system compiler.
   12495     case $host_os in
   12496     aix*)
   12497       lt_prog_compiler_wl='-Wl,'
   12498       if test ia64 = "$host_cpu"; then
   12499 	# AIX 5 now supports IA64 processor
   12500 	lt_prog_compiler_static='-Bstatic'
   12501       else
   12502 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12503       fi
   12504       ;;
   12505 
   12506     darwin* | rhapsody*)
   12507       # PIC is the default on this platform
   12508       # Common symbols not allowed in MH_DYLIB files
   12509       lt_prog_compiler_pic='-fno-common'
   12510       case $cc_basename in
   12511       nagfor*)
   12512         # NAG Fortran compiler
   12513         lt_prog_compiler_wl='-Wl,-Wl,,'
   12514         lt_prog_compiler_pic='-PIC'
   12515         lt_prog_compiler_static='-Bstatic'
   12516         ;;
   12517       esac
   12518       ;;
   12519 
   12520     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12521       # This hack is so that the source file can tell whether it is being
   12522       # built for inclusion in a dll (and should export symbols for example).
   12523       lt_prog_compiler_pic='-DDLL_EXPORT'
   12524       case $host_os in
   12525       os2*)
   12526 	lt_prog_compiler_static='$wl-static'
   12527 	;;
   12528       esac
   12529       ;;
   12530 
   12531     hpux9* | hpux10* | hpux11*)
   12532       lt_prog_compiler_wl='-Wl,'
   12533       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12534       # not for PA HP-UX.
   12535       case $host_cpu in
   12536       hppa*64*|ia64*)
   12537 	# +Z the default
   12538 	;;
   12539       *)
   12540 	lt_prog_compiler_pic='+Z'
   12541 	;;
   12542       esac
   12543       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12544       lt_prog_compiler_static='$wl-a ${wl}archive'
   12545       ;;
   12546 
   12547     irix5* | irix6* | nonstopux*)
   12548       lt_prog_compiler_wl='-Wl,'
   12549       # PIC (with -KPIC) is the default.
   12550       lt_prog_compiler_static='-non_shared'
   12551       ;;
   12552 
   12553     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12554       case $cc_basename in
   12555       # old Intel for x86_64, which still supported -KPIC.
   12556       ecc*)
   12557 	lt_prog_compiler_wl='-Wl,'
   12558 	lt_prog_compiler_pic='-KPIC'
   12559 	lt_prog_compiler_static='-static'
   12560         ;;
   12561       *flang* | ftn | f18* | f95*)
   12562         # Flang compiler.
   12563 	lt_prog_compiler_wl='-Wl,'
   12564 	lt_prog_compiler_pic='-fPIC'
   12565 	lt_prog_compiler_static='-static'
   12566         ;;
   12567       # icc used to be incompatible with GCC.
   12568       # ICC 10 doesn't accept -KPIC any more.
   12569       icc* | ifort*)
   12570 	lt_prog_compiler_wl='-Wl,'
   12571 	lt_prog_compiler_pic='-fPIC'
   12572 	lt_prog_compiler_static='-static'
   12573         ;;
   12574       # Lahey Fortran 8.1.
   12575       lf95*)
   12576 	lt_prog_compiler_wl='-Wl,'
   12577 	lt_prog_compiler_pic='--shared'
   12578 	lt_prog_compiler_static='--static'
   12579 	;;
   12580       nagfor*)
   12581 	# NAG Fortran compiler
   12582 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12583 	lt_prog_compiler_pic='-PIC'
   12584 	lt_prog_compiler_static='-Bstatic'
   12585 	;;
   12586       tcc*)
   12587 	# Fabrice Bellard et al's Tiny C Compiler
   12588 	lt_prog_compiler_wl='-Wl,'
   12589 	lt_prog_compiler_pic='-fPIC'
   12590 	lt_prog_compiler_static='-static'
   12591 	;;
   12592       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12593         # Portland Group compilers (*not* the Pentium gcc compiler,
   12594 	# which looks to be a dead project)
   12595 	lt_prog_compiler_wl='-Wl,'
   12596 	lt_prog_compiler_pic='-fpic'
   12597 	lt_prog_compiler_static='-Bstatic'
   12598         ;;
   12599       ccc*)
   12600         lt_prog_compiler_wl='-Wl,'
   12601         # All Alpha code is PIC.
   12602         lt_prog_compiler_static='-non_shared'
   12603         ;;
   12604       xl* | bgxl* | bgf* | mpixl*)
   12605 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12606 	lt_prog_compiler_wl='-Wl,'
   12607 	lt_prog_compiler_pic='-qpic'
   12608 	lt_prog_compiler_static='-qstaticlink'
   12609 	;;
   12610       *)
   12611 	case `$CC -V 2>&1 | $SED 5q` in
   12612 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12613 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12614 	  lt_prog_compiler_pic='-KPIC'
   12615 	  lt_prog_compiler_static='-Bstatic'
   12616 	  lt_prog_compiler_wl=''
   12617 	  ;;
   12618 	*Sun\ F* | *Sun*Fortran*)
   12619 	  lt_prog_compiler_pic='-KPIC'
   12620 	  lt_prog_compiler_static='-Bstatic'
   12621 	  lt_prog_compiler_wl='-Qoption ld '
   12622 	  ;;
   12623 	*Sun\ C*)
   12624 	  # Sun C 5.9
   12625 	  lt_prog_compiler_pic='-KPIC'
   12626 	  lt_prog_compiler_static='-Bstatic'
   12627 	  lt_prog_compiler_wl='-Wl,'
   12628 	  ;;
   12629         *Intel*\ [CF]*Compiler*)
   12630 	  lt_prog_compiler_wl='-Wl,'
   12631 	  lt_prog_compiler_pic='-fPIC'
   12632 	  lt_prog_compiler_static='-static'
   12633 	  ;;
   12634 	*Portland\ Group*)
   12635 	  lt_prog_compiler_wl='-Wl,'
   12636 	  lt_prog_compiler_pic='-fpic'
   12637 	  lt_prog_compiler_static='-Bstatic'
   12638 	  ;;
   12639 	esac
   12640 	;;
   12641       esac
   12642       ;;
   12643 
   12644     newsos6)
   12645       lt_prog_compiler_pic='-KPIC'
   12646       lt_prog_compiler_static='-Bstatic'
   12647       ;;
   12648 
   12649     *-mlibc)
   12650       lt_prog_compiler_wl='-Wl,'
   12651       lt_prog_compiler_pic='-fPIC'
   12652       lt_prog_compiler_static='-static'
   12653       ;;
   12654 
   12655     *nto* | *qnx*)
   12656       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12657       # it will coredump.
   12658       lt_prog_compiler_pic='-fPIC -shared'
   12659       ;;
   12660 
   12661     osf3* | osf4* | osf5*)
   12662       lt_prog_compiler_wl='-Wl,'
   12663       # All OSF/1 code is PIC.
   12664       lt_prog_compiler_static='-non_shared'
   12665       ;;
   12666 
   12667     rdos*)
   12668       lt_prog_compiler_static='-non_shared'
   12669       ;;
   12670 
   12671     serenity*)
   12672       ;;
   12673 
   12674     solaris*)
   12675       lt_prog_compiler_pic='-KPIC'
   12676       lt_prog_compiler_static='-Bstatic'
   12677       case $cc_basename in
   12678       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12679 	lt_prog_compiler_wl='-Qoption ld ';;
   12680       *)
   12681 	lt_prog_compiler_wl='-Wl,';;
   12682       esac
   12683       ;;
   12684 
   12685     sunos4*)
   12686       lt_prog_compiler_wl='-Qoption ld '
   12687       lt_prog_compiler_pic='-PIC'
   12688       lt_prog_compiler_static='-Bstatic'
   12689       ;;
   12690 
   12691     sysv4 | sysv4.2uw2* | sysv4.3*)
   12692       lt_prog_compiler_wl='-Wl,'
   12693       lt_prog_compiler_pic='-KPIC'
   12694       lt_prog_compiler_static='-Bstatic'
   12695       ;;
   12696 
   12697     sysv4*MP*)
   12698       if test -d /usr/nec; then
   12699 	lt_prog_compiler_pic='-Kconform_pic'
   12700 	lt_prog_compiler_static='-Bstatic'
   12701       fi
   12702       ;;
   12703 
   12704     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12705       lt_prog_compiler_wl='-Wl,'
   12706       lt_prog_compiler_pic='-KPIC'
   12707       lt_prog_compiler_static='-Bstatic'
   12708       ;;
   12709 
   12710     unicos*)
   12711       lt_prog_compiler_wl='-Wl,'
   12712       lt_prog_compiler_can_build_shared=no
   12713       ;;
   12714 
   12715     uts4*)
   12716       lt_prog_compiler_pic='-pic'
   12717       lt_prog_compiler_static='-Bstatic'
   12718       ;;
   12719 
   12720     *)
   12721       lt_prog_compiler_can_build_shared=no
   12722       ;;
   12723     esac
   12724   fi
   12725 
   12726 case $host_os in
   12727   # For platforms that do not support PIC, -DPIC is meaningless:
   12728   *djgpp*)
   12729     lt_prog_compiler_pic=
   12730     ;;
   12731   *)
   12732     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12733     ;;
   12734 esac
   12735 
   12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12737 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12738 if test ${lt_cv_prog_compiler_pic+y}
   12739 then :
   12740   printf %s "(cached) " >&6
   12741 else case e in #(
   12742   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12743 esac
   12744 fi
   12745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12746 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12747 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12748 
   12749 #
   12750 # Check to make sure the PIC flag actually works.
   12751 #
   12752 if test -n "$lt_prog_compiler_pic"; then
   12753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12754 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12755 if test ${lt_cv_prog_compiler_pic_works+y}
   12756 then :
   12757   printf %s "(cached) " >&6
   12758 else case e in #(
   12759   e) lt_cv_prog_compiler_pic_works=no
   12760    ac_outfile=conftest.$ac_objext
   12761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12762    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12763    # Insert the option either (1) after the last *FLAGS variable, or
   12764    # (2) before a word containing "conftest.", or (3) at the end.
   12765    # Note that $ac_compile itself does not contain backslashes and begins
   12766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12767    # The option is referenced via a variable to avoid confusing sed.
   12768    lt_compile=`echo "$ac_compile" | $SED \
   12769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12771    -e 's:$: $lt_compiler_flag:'`
   12772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12773    (eval "$lt_compile" 2>conftest.err)
   12774    ac_status=$?
   12775    cat conftest.err >&5
   12776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12777    if (exit $ac_status) && test -s "$ac_outfile"; then
   12778      # The compiler can only warn and ignore the option if not recognized
   12779      # So say no if there are warnings other than the usual output.
   12780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12783        lt_cv_prog_compiler_pic_works=yes
   12784      fi
   12785    fi
   12786    $RM conftest*
   12787  ;;
   12788 esac
   12789 fi
   12790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12791 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12792 
   12793 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12794     case $lt_prog_compiler_pic in
   12795      "" | " "*) ;;
   12796      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12797      esac
   12798 else
   12799     lt_prog_compiler_pic=
   12800      lt_prog_compiler_can_build_shared=no
   12801 fi
   12802 
   12803 fi
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 #
   12810 # Check to make sure the static flag actually works.
   12811 #
   12812 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12814 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12815 if test ${lt_cv_prog_compiler_static_works+y}
   12816 then :
   12817   printf %s "(cached) " >&6
   12818 else case e in #(
   12819   e) lt_cv_prog_compiler_static_works=no
   12820    save_LDFLAGS=$LDFLAGS
   12821    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12822    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12823    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12824      # The linker can only warn and ignore the option if not recognized
   12825      # So say no if there are warnings
   12826      if test -s conftest.err; then
   12827        # Append any errors to the config.log.
   12828        cat conftest.err 1>&5
   12829        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12830        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12831        if diff conftest.exp conftest.er2 >/dev/null; then
   12832          lt_cv_prog_compiler_static_works=yes
   12833        fi
   12834      else
   12835        lt_cv_prog_compiler_static_works=yes
   12836      fi
   12837    fi
   12838    $RM -r conftest*
   12839    LDFLAGS=$save_LDFLAGS
   12840  ;;
   12841 esac
   12842 fi
   12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12844 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12845 
   12846 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12847     :
   12848 else
   12849     lt_prog_compiler_static=
   12850 fi
   12851 
   12852 
   12853 
   12854 ='-fPIC'
   12855   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12856   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'
   12857   archive_cmds_need_lc=no
   12858   no_undefined_flag=
   12859   ;;
   12860 
   12861 *)
   12862   dynamic_linker=no
   12863   ;;
   12864 esac
   12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12866 printf "%s\n" "$dynamic_linker" >&6; }
   12867 test no = "$dynamic_linker" && can_build_shared=no
   12868 
   12869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12870 if test yes = "$GCC"; then
   12871   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12872 fi
   12873 
   12874 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12875   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12876 fi
   12877 
   12878 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12879   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12880 fi
   12881 
   12882 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12883 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12884 
   12885 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12886 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12887 
   12888 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12889 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12988 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12989 hardcode_action=
   12990 if test -n "$hardcode_libdir_flag_spec" ||
   12991    test -n "$runpath_var" ||
   12992    test yes = "$hardcode_automatic"; then
   12993 
   12994   # We can hardcode non-existent directories.
   12995   if test no != "$hardcode_direct" &&
   12996      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12997      # have to relink, otherwise we might link with an installed library
   12998      # when we should be linking with a yet-to-be-installed one
   12999      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13000      test no != "$hardcode_minus_L"; then
   13001     # Linking always hardcodes the temporary library directory.
   13002     hardcode_action=relink
   13003   else
   13004     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13005     hardcode_action=immediate
   13006   fi
   13007 else
   13008   # We cannot hardcode anything, or else we can only hardcode existing
   13009   # directories.
   13010   hardcode_action=unsupported
   13011 fi
   13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13013 printf "%s\n" "$hardcode_action" >&6; }
   13014 
   13015 if test relink = "$hardcode_action" ||
   13016    test yes = "$inherit_rpath"; then
   13017   # Fast installation is not supported
   13018   enable_fast_install=no
   13019 elif test yes = "$shlibpath_overrides_runpath" ||
   13020      test no = "$enable_shared"; then
   13021   # Fast installation is not necessary
   13022   enable_fast_install=needless
   13023 fi
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030   if test yes != "$enable_dlopen"; then
   13031   enable_dlopen=unknown
   13032   enable_dlopen_self=unknown
   13033   enable_dlopen_self_static=unknown
   13034 else
   13035   lt_cv_dlopen=no
   13036   lt_cv_dlopen_libs=
   13037 
   13038   case $host_os in
   13039   beos*)
   13040     lt_cv_dlopen=load_add_on
   13041     lt_cv_dlopen_libs=
   13042     lt_cv_dlopen_self=yes
   13043     ;;
   13044 
   13045   mingw* | windows* | pw32* | cegcc*)
   13046     lt_cv_dlopen=LoadLibrary
   13047     lt_cv_dlopen_libs=
   13048     ;;
   13049 
   13050   cygwin*)
   13051     lt_cv_dlopen=dlopen
   13052     lt_cv_dlopen_libs=
   13053     ;;
   13054 
   13055   darwin*)
   13056     # if libdl is installed we need to link against it
   13057     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13058 printf %s "checking for dlopen in -ldl... " >&6; }
   13059 if test ${ac_cv_lib_dl_dlopen+y}
   13060 then :
   13061   printf %s "(cached) " >&6
   13062 else case e in #(
   13063   e) ac_check_lib_save_LIBS=$LIBS
   13064 LIBS="-ldl  $LIBS"
   13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13066 /* end confdefs.h.  */
   13067 
   13068 /* Override any GCC internal prototype to avoid an error.
   13069    Use char because int might match the return type of a GCC
   13070    builtin and then its argument prototype would still apply.
   13071    The 'extern "C"' is for builds by C++ compilers;
   13072    although this is not generally supported in C code supporting it here
   13073    has little cost and some practical benefit (sr 110532).  */
   13074 #ifdef __cplusplus
   13075 extern "C"
   13076 #endif
   13077 char dlopen (void);
   13078 int
   13079 main (void)
   13080 {
   13081 return dlopen ();
   13082   ;
   13083   return 0;
   13084 }
   13085 _ACEOF
   13086 if ac_fn_c_try_link "$LINENO"
   13087 then :
   13088   ac_cv_lib_dl_dlopen=yes
   13089 else case e in #(
   13090   e) ac_cv_lib_dl_dlopen=no ;;
   13091 esac
   13092 fi
   13093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13094     conftest$ac_exeext conftest.$ac_ext
   13095 LIBS=$ac_check_lib_save_LIBS ;;
   13096 esac
   13097 fi
   13098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13099 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13100 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13101 then :
   13102   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13103 else case e in #(
   13104   e)
   13105     lt_cv_dlopen=dyld
   13106     lt_cv_dlopen_libs=
   13107     lt_cv_dlopen_self=yes
   13108      ;;
   13109 esac
   13110 fi
   13111 
   13112     ;;
   13113 
   13114   tpf*)
   13115     # Don't try to run any link tests for TPF.  We know it's impossible
   13116     # because TPF is a cross-compiler, and we know how we open DSOs.
   13117     lt_cv_dlopen=dlopen
   13118     lt_cv_dlopen_libs=
   13119     lt_cv_dlopen_self=no
   13120     ;;
   13121 
   13122   *)
   13123     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13124 if test "x$ac_cv_func_shl_load" = xyes
   13125 then :
   13126   lt_cv_dlopen=shl_load
   13127 else case e in #(
   13128   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13129 printf %s "checking for shl_load in -ldld... " >&6; }
   13130 if test ${ac_cv_lib_dld_shl_load+y}
   13131 then :
   13132   printf %s "(cached) " >&6
   13133 else case e in #(
   13134   e) ac_check_lib_save_LIBS=$LIBS
   13135 LIBS="-ldld  $LIBS"
   13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13137 /* end confdefs.h.  */
   13138 
   13139 /* Override any GCC internal prototype to avoid an error.
   13140    Use char because int might match the return type of a GCC
   13141    builtin and then its argument prototype would still apply.
   13142    The 'extern "C"' is for builds by C++ compilers;
   13143    although this is not generally supported in C code supporting it here
   13144    has little cost and some practical benefit (sr 110532).  */
   13145 #ifdef __cplusplus
   13146 extern "C"
   13147 #endif
   13148 char shl_load (void);
   13149 int
   13150 main (void)
   13151 {
   13152 return shl_load ();
   13153   ;
   13154   return 0;
   13155 }
   13156 _ACEOF
   13157 if ac_fn_c_try_link "$LINENO"
   13158 then :
   13159   ac_cv_lib_dld_shl_load=yes
   13160 else case e in #(
   13161   e) ac_cv_lib_dld_shl_load=no ;;
   13162 esac
   13163 fi
   13164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13165     conftest$ac_exeext conftest.$ac_ext
   13166 LIBS=$ac_check_lib_save_LIBS ;;
   13167 esac
   13168 fi
   13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13170 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13171 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13172 then :
   13173   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13174 else case e in #(
   13175   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13176 if test "x$ac_cv_func_dlopen" = xyes
   13177 then :
   13178   lt_cv_dlopen=dlopen
   13179 else case e in #(
   13180   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13181 printf %s "checking for dlopen in -ldl... " >&6; }
   13182 if test ${ac_cv_lib_dl_dlopen+y}
   13183 then :
   13184   printf %s "(cached) " >&6
   13185 else case e in #(
   13186   e) ac_check_lib_save_LIBS=$LIBS
   13187 LIBS="-ldl  $LIBS"
   13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13189 /* end confdefs.h.  */
   13190 
   13191 /* Override any GCC internal prototype to avoid an error.
   13192    Use char because int might match the return type of a GCC
   13193    builtin and then its argument prototype would still apply.
   13194    The 'extern "C"' is for builds by C++ compilers;
   13195    although this is not generally supported in C code supporting it here
   13196    has little cost and some practical benefit (sr 110532).  */
   13197 #ifdef __cplusplus
   13198 extern "C"
   13199 #endif
   13200 char dlopen (void);
   13201 int
   13202 main (void)
   13203 {
   13204 return dlopen ();
   13205   ;
   13206   return 0;
   13207 }
   13208 _ACEOF
   13209 if ac_fn_c_try_link "$LINENO"
   13210 then :
   13211   ac_cv_lib_dl_dlopen=yes
   13212 else case e in #(
   13213   e) ac_cv_lib_dl_dlopen=no ;;
   13214 esac
   13215 fi
   13216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13217     conftest$ac_exeext conftest.$ac_ext
   13218 LIBS=$ac_check_lib_save_LIBS ;;
   13219 esac
   13220 fi
   13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13222 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13223 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13224 then :
   13225   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13226 else case e in #(
   13227   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13228 printf %s "checking for dlopen in -lsvld... " >&6; }
   13229 if test ${ac_cv_lib_svld_dlopen+y}
   13230 then :
   13231   printf %s "(cached) " >&6
   13232 else case e in #(
   13233   e) ac_check_lib_save_LIBS=$LIBS
   13234 LIBS="-lsvld  $LIBS"
   13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 
   13238 /* Override any GCC internal prototype to avoid an error.
   13239    Use char because int might match the return type of a GCC
   13240    builtin and then its argument prototype would still apply.
   13241    The 'extern "C"' is for builds by C++ compilers;
   13242    although this is not generally supported in C code supporting it here
   13243    has little cost and some practical benefit (sr 110532).  */
   13244 #ifdef __cplusplus
   13245 extern "C"
   13246 #endif
   13247 char dlopen (void);
   13248 int
   13249 main (void)
   13250 {
   13251 return dlopen ();
   13252   ;
   13253   return 0;
   13254 }
   13255 _ACEOF
   13256 if ac_fn_c_try_link "$LINENO"
   13257 then :
   13258   ac_cv_lib_svld_dlopen=yes
   13259 else case e in #(
   13260   e) ac_cv_lib_svld_dlopen=no ;;
   13261 esac
   13262 fi
   13263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13264     conftest$ac_exeext conftest.$ac_ext
   13265 LIBS=$ac_check_lib_save_LIBS ;;
   13266 esac
   13267 fi
   13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13269 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13270 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13271 then :
   13272   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13273 else case e in #(
   13274   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13275 printf %s "checking for dld_link in -ldld... " >&6; }
   13276 if test ${ac_cv_lib_dld_dld_link+y}
   13277 then :
   13278   printf %s "(cached) " >&6
   13279 else case e in #(
   13280   e) ac_check_lib_save_LIBS=$LIBS
   13281 LIBS="-ldld  $LIBS"
   13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13283 /* end confdefs.h.  */
   13284 
   13285 /* Override any GCC internal prototype to avoid an error.
   13286    Use char because int might match the return type of a GCC
   13287    builtin and then its argument prototype would still apply.
   13288    The 'extern "C"' is for builds by C++ compilers;
   13289    although this is not generally supported in C code supporting it here
   13290    has little cost and some practical benefit (sr 110532).  */
   13291 #ifdef __cplusplus
   13292 extern "C"
   13293 #endif
   13294 char dld_link (void);
   13295 int
   13296 main (void)
   13297 {
   13298 return dld_link ();
   13299   ;
   13300   return 0;
   13301 }
   13302 _ACEOF
   13303 if ac_fn_c_try_link "$LINENO"
   13304 then :
   13305   ac_cv_lib_dld_dld_link=yes
   13306 else case e in #(
   13307   e) ac_cv_lib_dld_dld_link=no ;;
   13308 esac
   13309 fi
   13310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13311     conftest$ac_exeext conftest.$ac_ext
   13312 LIBS=$ac_check_lib_save_LIBS ;;
   13313 esac
   13314 fi
   13315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13316 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13317 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13318 then :
   13319   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13320 fi
   13321 
   13322 	       ;;
   13323 esac
   13324 fi
   13325 
   13326 	     ;;
   13327 esac
   13328 fi
   13329 
   13330 	   ;;
   13331 esac
   13332 fi
   13333 
   13334 	 ;;
   13335 esac
   13336 fi
   13337 
   13338        ;;
   13339 esac
   13340 fi
   13341 
   13342     ;;
   13343   esac
   13344 
   13345   if test no = "$lt_cv_dlopen"; then
   13346     enable_dlopen=no
   13347   else
   13348     enable_dlopen=yes
   13349   fi
   13350 
   13351   case $lt_cv_dlopen in
   13352   dlopen)
   13353     save_CPPFLAGS=$CPPFLAGS
   13354     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13355 
   13356     save_LDFLAGS=$LDFLAGS
   13357     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13358 
   13359     save_LIBS=$LIBS
   13360     LIBS="$lt_cv_dlopen_libs $LIBS"
   13361 
   13362     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13363 printf %s "checking whether a program can dlopen itself... " >&6; }
   13364 if test ${lt_cv_dlopen_self+y}
   13365 then :
   13366   printf %s "(cached) " >&6
   13367 else case e in #(
   13368   e) 	  if test yes = "$cross_compiling"; then :
   13369   lt_cv_dlopen_self=cross
   13370 else
   13371   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13372   lt_status=$lt_dlunknown
   13373   cat > conftest.$ac_ext <<_LT_EOF
   13374 #line $LINENO "configure"
   13375 #include "confdefs.h"
   13376 
   13377 #if HAVE_DLFCN_H
   13378 #include <dlfcn.h>
   13379 #endif
   13380 
   13381 #include <stdio.h>
   13382 
   13383 #ifdef RTLD_GLOBAL
   13384 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13385 #else
   13386 #  ifdef DL_GLOBAL
   13387 #    define LT_DLGLOBAL		DL_GLOBAL
   13388 #  else
   13389 #    define LT_DLGLOBAL		0
   13390 #  endif
   13391 #endif
   13392 
   13393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13394    find out it does not work in some platform. */
   13395 #ifndef LT_DLLAZY_OR_NOW
   13396 #  ifdef RTLD_LAZY
   13397 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13398 #  else
   13399 #    ifdef DL_LAZY
   13400 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13401 #    else
   13402 #      ifdef RTLD_NOW
   13403 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13404 #      else
   13405 #        ifdef DL_NOW
   13406 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13407 #        else
   13408 #          define LT_DLLAZY_OR_NOW	0
   13409 #        endif
   13410 #      endif
   13411 #    endif
   13412 #  endif
   13413 #endif
   13414 
   13415 /* When -fvisibility=hidden is used, assume the code has been annotated
   13416    correspondingly for the symbols needed.  */
   13417 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13418 int fnord (void) __attribute__((visibility("default")));
   13419 #endif
   13420 
   13421 int fnord (void) { return 42; }
   13422 int main (void)
   13423 {
   13424   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13425   int status = $lt_dlunknown;
   13426 
   13427   if (self)
   13428     {
   13429       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13430       else
   13431         {
   13432 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13433           else puts (dlerror ());
   13434 	}
   13435       /* dlclose (self); */
   13436     }
   13437   else
   13438     puts (dlerror ());
   13439 
   13440   return status;
   13441 }
   13442 _LT_EOF
   13443   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13444   (eval $ac_link) 2>&5
   13445   ac_status=$?
   13446   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13447   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13448     (./conftest; exit; ) >&5 2>/dev/null
   13449     lt_status=$?
   13450     case x$lt_status in
   13451       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13452       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13453       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13454     esac
   13455   else :
   13456     # compilation failed
   13457     lt_cv_dlopen_self=no
   13458   fi
   13459 fi
   13460 rm -fr conftest*
   13461 
   13462      ;;
   13463 esac
   13464 fi
   13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13466 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13467 
   13468     if test yes = "$lt_cv_dlopen_self"; then
   13469       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13470       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13471 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13472 if test ${lt_cv_dlopen_self_static+y}
   13473 then :
   13474   printf %s "(cached) " >&6
   13475 else case e in #(
   13476   e) 	  if test yes = "$cross_compiling"; then :
   13477   lt_cv_dlopen_self_static=cross
   13478 else
   13479   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13480   lt_status=$lt_dlunknown
   13481   cat > conftest.$ac_ext <<_LT_EOF
   13482 #line $LINENO "configure"
   13483 #include "confdefs.h"
   13484 
   13485 #if HAVE_DLFCN_H
   13486 #include <dlfcn.h>
   13487 #endif
   13488 
   13489 #include <stdio.h>
   13490 
   13491 #ifdef RTLD_GLOBAL
   13492 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13493 #else
   13494 #  ifdef DL_GLOBAL
   13495 #    define LT_DLGLOBAL		DL_GLOBAL
   13496 #  else
   13497 #    define LT_DLGLOBAL		0
   13498 #  endif
   13499 #endif
   13500 
   13501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13502    find out it does not work in some platform. */
   13503 #ifndef LT_DLLAZY_OR_NOW
   13504 #  ifdef RTLD_LAZY
   13505 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13506 #  else
   13507 #    ifdef DL_LAZY
   13508 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13509 #    else
   13510 #      ifdef RTLD_NOW
   13511 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13512 #      else
   13513 #        ifdef DL_NOW
   13514 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13515 #        else
   13516 #          define LT_DLLAZY_OR_NOW	0
   13517 #        endif
   13518 #      endif
   13519 #    endif
   13520 #  endif
   13521 #endif
   13522 
   13523 /* When -fvisibility=hidden is used, assume the code has been annotated
   13524    correspondingly for the symbols needed.  */
   13525 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13526 int fnord (void) __attribute__((visibility("default")));
   13527 #endif
   13528 
   13529 int fnord (void) { return 42; }
   13530 int main (void)
   13531 {
   13532   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13533   int status = $lt_dlunknown;
   13534 
   13535   if (self)
   13536     {
   13537       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13538       else
   13539         {
   13540 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13541           else puts (dlerror ());
   13542 	}
   13543       /* dlclose (self); */
   13544     }
   13545   else
   13546     puts (dlerror ());
   13547 
   13548   return status;
   13549 }
   13550 _LT_EOF
   13551   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13552   (eval $ac_link) 2>&5
   13553   ac_status=$?
   13554   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13555   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13556     (./conftest; exit; ) >&5 2>/dev/null
   13557     lt_status=$?
   13558     case x$lt_status in
   13559       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13560       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13561       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13562     esac
   13563   else :
   13564     # compilation failed
   13565     lt_cv_dlopen_self_static=no
   13566   fi
   13567 fi
   13568 rm -fr conftest*
   13569 
   13570        ;;
   13571 esac
   13572 fi
   13573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13574 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13575     fi
   13576 
   13577     CPPFLAGS=$save_CPPFLAGS
   13578     LDFLAGS=$save_LDFLAGS
   13579     LIBS=$save_LIBS
   13580     ;;
   13581   esac
   13582 
   13583   case $lt_cv_dlopen_self in
   13584   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13585   *) enable_dlopen_self=unknown ;;
   13586   esac
   13587 
   13588   case $lt_cv_dlopen_self_static in
   13589   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13590   *) enable_dlopen_self_static=unknown ;;
   13591   esac
   13592 fi
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 striplib=
   13611 old_striplib=
   13612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13613 printf %s "checking whether stripping libraries is possible... " >&6; }
   13614 if test -z "$STRIP"; then
   13615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13616 printf "%s\n" "no" >&6; }
   13617 else
   13618   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13619     old_striplib="$STRIP --strip-debug"
   13620     striplib="$STRIP --strip-unneeded"
   13621     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13622 printf "%s\n" "yes" >&6; }
   13623   else
   13624     case $host_os in
   13625     darwin*)
   13626       # FIXME - insert some real tests, host_os isn't really good enough
   13627       striplib="$STRIP -x"
   13628       old_striplib="$STRIP -S"
   13629       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13630 printf "%s\n" "yes" >&6; }
   13631       ;;
   13632     freebsd*)
   13633       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/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         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13640 printf "%s\n" "no" >&6; }
   13641       fi
   13642       ;;
   13643     *)
   13644       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13645 printf "%s\n" "no" >&6; }
   13646       ;;
   13647     esac
   13648   fi
   13649 fi
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662   # Report what library types will actually be built
   13663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13664 printf %s "checking if libtool supports shared libraries... " >&6; }
   13665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13666 printf "%s\n" "$can_build_shared" >&6; }
   13667 
   13668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13669 printf %s "checking whether to build shared libraries... " >&6; }
   13670   test no = "$can_build_shared" && enable_shared=no
   13671 
   13672   # On AIX, shared libraries and static libraries use the same namespace, and
   13673   # are all built from PIC.
   13674   case $host_os in
   13675   aix3*)
   13676     test yes = "$enable_shared" && enable_static=no
   13677     if test -n "$RANLIB"; then
   13678       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13679       postinstall_cmds='$RANLIB $lib'
   13680     fi
   13681     ;;
   13682 
   13683   aix[4-9]*)
   13684     if test ia64 != "$host_cpu"; then
   13685       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13686       yes,aix,yes) ;;			# shared object as lib.so file only
   13687       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13688       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13689       esac
   13690     fi
   13691     ;;
   13692   esac
   13693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13694 printf "%s\n" "$enable_shared" >&6; }
   13695 
   13696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13697 printf %s "checking whether to build static libraries... " >&6; }
   13698   # Make sure either enable_shared or enable_static is yes.
   13699   test yes = "$enable_shared" || enable_static=yes
   13700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13701 printf "%s\n" "$enable_static" >&6; }
   13702 
   13703 
   13704 
   13705 
   13706 fi
   13707 ac_ext=c
   13708 ac_cpp='$CPP $CPPFLAGS'
   13709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13712 
   13713 CC=$lt_save_CC
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729         ac_config_commands="$ac_config_commands libtool"
   13730 
   13731 
   13732 
   13733 
   13734 # Only expand once:
   13735 
   13736 
   13737 
   13738 # Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13751 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13752 if test ${ac_cv_c_undeclared_builtin_options+y}
   13753 then :
   13754   printf %s "(cached) " >&6
   13755 else case e in #(
   13756   e) ac_save_CFLAGS=$CFLAGS
   13757    ac_cv_c_undeclared_builtin_options='cannot detect'
   13758    for ac_arg in '' -fno-builtin; do
   13759      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13760      # This test program should *not* compile successfully.
   13761      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13762 /* end confdefs.h.  */
   13763 
   13764 int
   13765 main (void)
   13766 {
   13767 (void) strchr;
   13768   ;
   13769   return 0;
   13770 }
   13771 _ACEOF
   13772 if ac_fn_c_try_compile "$LINENO"
   13773 then :
   13774 
   13775 else case e in #(
   13776   e) # This test program should compile successfully.
   13777         # No library function is consistently available on
   13778         # freestanding implementations, so test against a dummy
   13779         # declaration.  Include always-available headers on the
   13780         # off chance that they somehow elicit warnings.
   13781         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13782 /* end confdefs.h.  */
   13783 #include <float.h>
   13784 #include <limits.h>
   13785 #include <stdarg.h>
   13786 #include <stddef.h>
   13787 extern void ac_decl (int, char *);
   13788 
   13789 int
   13790 main (void)
   13791 {
   13792 (void) ac_decl (0, (char *) 0);
   13793   (void) ac_decl;
   13794 
   13795   ;
   13796   return 0;
   13797 }
   13798 _ACEOF
   13799 if ac_fn_c_try_compile "$LINENO"
   13800 then :
   13801   if test x"$ac_arg" = x
   13802 then :
   13803   ac_cv_c_undeclared_builtin_options='none needed'
   13804 else case e in #(
   13805   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13806 esac
   13807 fi
   13808           break
   13809 fi
   13810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13811 esac
   13812 fi
   13813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13814     done
   13815     CFLAGS=$ac_save_CFLAGS
   13816    ;;
   13817 esac
   13818 fi
   13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13820 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13821   case $ac_cv_c_undeclared_builtin_options in #(
   13822   'cannot detect') :
   13823     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13824 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13825 as_fn_error $? "cannot make $CC report undeclared builtins
   13826 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13827   'none needed') :
   13828     ac_c_undeclared_builtin_options='' ;; #(
   13829   *) :
   13830     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13831 esac
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13838 if test "x$ac_cv_have_decl___clang__" = xyes
   13839 then :
   13840   CLANGCC="yes"
   13841 else case e in #(
   13842   e) CLANGCC="no" ;;
   13843 esac
   13844 fi
   13845 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13846 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13847 then :
   13848   INTELCC="yes"
   13849 else case e in #(
   13850   e) INTELCC="no" ;;
   13851 esac
   13852 fi
   13853 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13854 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13855 then :
   13856   SUNCC="yes"
   13857 else case e in #(
   13858   e) SUNCC="no" ;;
   13859 esac
   13860 fi
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13870 	if test -n "$ac_tool_prefix"; then
   13871   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13874 printf %s "checking for $ac_word... " >&6; }
   13875 if test ${ac_cv_path_PKG_CONFIG+y}
   13876 then :
   13877   printf %s "(cached) " >&6
   13878 else case e in #(
   13879   e) case $PKG_CONFIG in
   13880   [\\/]* | ?:[\\/]*)
   13881   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13882   ;;
   13883   *)
   13884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13885 for as_dir in $PATH
   13886 do
   13887   IFS=$as_save_IFS
   13888   case $as_dir in #(((
   13889     '') as_dir=./ ;;
   13890     */) ;;
   13891     *) as_dir=$as_dir/ ;;
   13892   esac
   13893     for ac_exec_ext in '' $ac_executable_extensions; do
   13894   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13895     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13896     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13897     break 2
   13898   fi
   13899 done
   13900   done
   13901 IFS=$as_save_IFS
   13902 
   13903   ;;
   13904 esac ;;
   13905 esac
   13906 fi
   13907 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13908 if test -n "$PKG_CONFIG"; then
   13909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13910 printf "%s\n" "$PKG_CONFIG" >&6; }
   13911 else
   13912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13913 printf "%s\n" "no" >&6; }
   13914 fi
   13915 
   13916 
   13917 fi
   13918 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13919   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13920   # Extract the first word of "pkg-config", so it can be a program name with args.
   13921 set dummy pkg-config; ac_word=$2
   13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13923 printf %s "checking for $ac_word... " >&6; }
   13924 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13925 then :
   13926   printf %s "(cached) " >&6
   13927 else case e in #(
   13928   e) case $ac_pt_PKG_CONFIG in
   13929   [\\/]* | ?:[\\/]*)
   13930   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13931   ;;
   13932   *)
   13933   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13934 for as_dir in $PATH
   13935 do
   13936   IFS=$as_save_IFS
   13937   case $as_dir in #(((
   13938     '') as_dir=./ ;;
   13939     */) ;;
   13940     *) as_dir=$as_dir/ ;;
   13941   esac
   13942     for ac_exec_ext in '' $ac_executable_extensions; do
   13943   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13944     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13945     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13946     break 2
   13947   fi
   13948 done
   13949   done
   13950 IFS=$as_save_IFS
   13951 
   13952   ;;
   13953 esac ;;
   13954 esac
   13955 fi
   13956 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13957 if test -n "$ac_pt_PKG_CONFIG"; then
   13958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13959 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13960 else
   13961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13962 printf "%s\n" "no" >&6; }
   13963 fi
   13964 
   13965   if test "x$ac_pt_PKG_CONFIG" = x; then
   13966     PKG_CONFIG=""
   13967   else
   13968     case $cross_compiling:$ac_tool_warned in
   13969 yes:)
   13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13971 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13972 ac_tool_warned=yes ;;
   13973 esac
   13974     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13975   fi
   13976 else
   13977   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13978 fi
   13979 
   13980 fi
   13981 if test -n "$PKG_CONFIG"; then
   13982 	_pkg_min_version=0.9.0
   13983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13984 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13985 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13987 printf "%s\n" "yes" >&6; }
   13988 	else
   13989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13990 printf "%s\n" "no" >&6; }
   13991 		PKG_CONFIG=""
   13992 	fi
   13993 fi
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 # Check whether --enable-selective-werror was given.
   14000 if test ${enable_selective_werror+y}
   14001 then :
   14002   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14003 else case e in #(
   14004   e) SELECTIVE_WERROR=yes ;;
   14005 esac
   14006 fi
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14013 if test "x$SUNCC" = "xyes"; then
   14014     BASE_CFLAGS="-v"
   14015 else
   14016     BASE_CFLAGS=""
   14017 fi
   14018 
   14019 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 xorg_testset_save_CFLAGS="$CFLAGS"
   14034 
   14035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14038 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14039 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14040 then :
   14041   printf %s "(cached) " >&6
   14042 else case e in #(
   14043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14044 /* end confdefs.h.  */
   14045 int i;
   14046 _ACEOF
   14047 if ac_fn_c_try_compile "$LINENO"
   14048 then :
   14049   xorg_cv_cc_flag_unknown_warning_option=yes
   14050 else case e in #(
   14051   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14052 esac
   14053 fi
   14054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14055 esac
   14056 fi
   14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14058 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14060 	CFLAGS="$xorg_testset_save_CFLAGS"
   14061 fi
   14062 
   14063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14066 	fi
   14067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14069 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14070 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14071 then :
   14072   printf %s "(cached) " >&6
   14073 else case e in #(
   14074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14075 /* end confdefs.h.  */
   14076 int i;
   14077 _ACEOF
   14078 if ac_fn_c_try_compile "$LINENO"
   14079 then :
   14080   xorg_cv_cc_flag_unused_command_line_argument=yes
   14081 else case e in #(
   14082   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14083 esac
   14084 fi
   14085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14086 esac
   14087 fi
   14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14089 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14091 	CFLAGS="$xorg_testset_save_CFLAGS"
   14092 fi
   14093 
   14094 found="no"
   14095 
   14096 	if test $found = "no" ; then
   14097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14099 		fi
   14100 
   14101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14103 		fi
   14104 
   14105 		CFLAGS="$CFLAGS -Wall"
   14106 
   14107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14108 printf %s "checking if $CC supports -Wall... " >&6; }
   14109 		cacheid=xorg_cv_cc_flag__Wall
   14110 		if eval test \${$cacheid+y}
   14111 then :
   14112   printf %s "(cached) " >&6
   14113 else case e in #(
   14114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14115 /* end confdefs.h.  */
   14116 int i;
   14117 int
   14118 main (void)
   14119 {
   14120 
   14121   ;
   14122   return 0;
   14123 }
   14124 _ACEOF
   14125 if ac_fn_c_try_link "$LINENO"
   14126 then :
   14127   eval $cacheid=yes
   14128 else case e in #(
   14129   e) eval $cacheid=no ;;
   14130 esac
   14131 fi
   14132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14133     conftest$ac_exeext conftest.$ac_ext ;;
   14134 esac
   14135 fi
   14136 
   14137 
   14138 		CFLAGS="$xorg_testset_save_CFLAGS"
   14139 
   14140 		eval supported=\$$cacheid
   14141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14142 printf "%s\n" "$supported" >&6; }
   14143 		if test "$supported" = "yes" ; then
   14144 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14145 			found="yes"
   14146 		fi
   14147 	fi
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 xorg_testset_save_CFLAGS="$CFLAGS"
   14164 
   14165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14168 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14169 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14170 then :
   14171   printf %s "(cached) " >&6
   14172 else case e in #(
   14173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14174 /* end confdefs.h.  */
   14175 int i;
   14176 _ACEOF
   14177 if ac_fn_c_try_compile "$LINENO"
   14178 then :
   14179   xorg_cv_cc_flag_unknown_warning_option=yes
   14180 else case e in #(
   14181   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14182 esac
   14183 fi
   14184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14185 esac
   14186 fi
   14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14190 	CFLAGS="$xorg_testset_save_CFLAGS"
   14191 fi
   14192 
   14193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14196 	fi
   14197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14201 then :
   14202   printf %s "(cached) " >&6
   14203 else case e in #(
   14204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14205 /* end confdefs.h.  */
   14206 int i;
   14207 _ACEOF
   14208 if ac_fn_c_try_compile "$LINENO"
   14209 then :
   14210   xorg_cv_cc_flag_unused_command_line_argument=yes
   14211 else case e in #(
   14212   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14213 esac
   14214 fi
   14215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14216 esac
   14217 fi
   14218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14219 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14221 	CFLAGS="$xorg_testset_save_CFLAGS"
   14222 fi
   14223 
   14224 found="no"
   14225 
   14226 	if test $found = "no" ; then
   14227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14229 		fi
   14230 
   14231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14233 		fi
   14234 
   14235 		CFLAGS="$CFLAGS -Wpointer-arith"
   14236 
   14237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14238 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14239 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14240 		if eval test \${$cacheid+y}
   14241 then :
   14242   printf %s "(cached) " >&6
   14243 else case e in #(
   14244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14245 /* end confdefs.h.  */
   14246 int i;
   14247 int
   14248 main (void)
   14249 {
   14250 
   14251   ;
   14252   return 0;
   14253 }
   14254 _ACEOF
   14255 if ac_fn_c_try_link "$LINENO"
   14256 then :
   14257   eval $cacheid=yes
   14258 else case e in #(
   14259   e) eval $cacheid=no ;;
   14260 esac
   14261 fi
   14262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14263     conftest$ac_exeext conftest.$ac_ext ;;
   14264 esac
   14265 fi
   14266 
   14267 
   14268 		CFLAGS="$xorg_testset_save_CFLAGS"
   14269 
   14270 		eval supported=\$$cacheid
   14271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14272 printf "%s\n" "$supported" >&6; }
   14273 		if test "$supported" = "yes" ; then
   14274 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14275 			found="yes"
   14276 		fi
   14277 	fi
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 xorg_testset_save_CFLAGS="$CFLAGS"
   14294 
   14295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14298 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14299 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14300 then :
   14301   printf %s "(cached) " >&6
   14302 else case e in #(
   14303   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14304 /* end confdefs.h.  */
   14305 int i;
   14306 _ACEOF
   14307 if ac_fn_c_try_compile "$LINENO"
   14308 then :
   14309   xorg_cv_cc_flag_unknown_warning_option=yes
   14310 else case e in #(
   14311   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14312 esac
   14313 fi
   14314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14315 esac
   14316 fi
   14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14318 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14320 	CFLAGS="$xorg_testset_save_CFLAGS"
   14321 fi
   14322 
   14323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14326 	fi
   14327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14329 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14330 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14331 then :
   14332   printf %s "(cached) " >&6
   14333 else case e in #(
   14334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14335 /* end confdefs.h.  */
   14336 int i;
   14337 _ACEOF
   14338 if ac_fn_c_try_compile "$LINENO"
   14339 then :
   14340   xorg_cv_cc_flag_unused_command_line_argument=yes
   14341 else case e in #(
   14342   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14343 esac
   14344 fi
   14345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14346 esac
   14347 fi
   14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14351 	CFLAGS="$xorg_testset_save_CFLAGS"
   14352 fi
   14353 
   14354 found="no"
   14355 
   14356 	if test $found = "no" ; then
   14357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14359 		fi
   14360 
   14361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14363 		fi
   14364 
   14365 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14366 
   14367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14368 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14369 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14370 		if eval test \${$cacheid+y}
   14371 then :
   14372   printf %s "(cached) " >&6
   14373 else case e in #(
   14374   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14375 /* end confdefs.h.  */
   14376 int i;
   14377 int
   14378 main (void)
   14379 {
   14380 
   14381   ;
   14382   return 0;
   14383 }
   14384 _ACEOF
   14385 if ac_fn_c_try_link "$LINENO"
   14386 then :
   14387   eval $cacheid=yes
   14388 else case e in #(
   14389   e) eval $cacheid=no ;;
   14390 esac
   14391 fi
   14392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14393     conftest$ac_exeext conftest.$ac_ext ;;
   14394 esac
   14395 fi
   14396 
   14397 
   14398 		CFLAGS="$xorg_testset_save_CFLAGS"
   14399 
   14400 		eval supported=\$$cacheid
   14401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14402 printf "%s\n" "$supported" >&6; }
   14403 		if test "$supported" = "yes" ; then
   14404 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14405 			found="yes"
   14406 		fi
   14407 	fi
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 xorg_testset_save_CFLAGS="$CFLAGS"
   14424 
   14425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14428 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14429 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14430 then :
   14431   printf %s "(cached) " >&6
   14432 else case e in #(
   14433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14434 /* end confdefs.h.  */
   14435 int i;
   14436 _ACEOF
   14437 if ac_fn_c_try_compile "$LINENO"
   14438 then :
   14439   xorg_cv_cc_flag_unknown_warning_option=yes
   14440 else case e in #(
   14441   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14442 esac
   14443 fi
   14444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14445 esac
   14446 fi
   14447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14448 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14450 	CFLAGS="$xorg_testset_save_CFLAGS"
   14451 fi
   14452 
   14453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14456 	fi
   14457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14459 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14460 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14461 then :
   14462   printf %s "(cached) " >&6
   14463 else case e in #(
   14464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14465 /* end confdefs.h.  */
   14466 int i;
   14467 _ACEOF
   14468 if ac_fn_c_try_compile "$LINENO"
   14469 then :
   14470   xorg_cv_cc_flag_unused_command_line_argument=yes
   14471 else case e in #(
   14472   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14473 esac
   14474 fi
   14475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14476 esac
   14477 fi
   14478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14479 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14481 	CFLAGS="$xorg_testset_save_CFLAGS"
   14482 fi
   14483 
   14484 found="no"
   14485 
   14486 	if test $found = "no" ; then
   14487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14489 		fi
   14490 
   14491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14493 		fi
   14494 
   14495 		CFLAGS="$CFLAGS -Wformat=2"
   14496 
   14497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14498 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14499 		cacheid=xorg_cv_cc_flag__Wformat_2
   14500 		if eval test \${$cacheid+y}
   14501 then :
   14502   printf %s "(cached) " >&6
   14503 else case e in #(
   14504   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14505 /* end confdefs.h.  */
   14506 int i;
   14507 int
   14508 main (void)
   14509 {
   14510 
   14511   ;
   14512   return 0;
   14513 }
   14514 _ACEOF
   14515 if ac_fn_c_try_link "$LINENO"
   14516 then :
   14517   eval $cacheid=yes
   14518 else case e in #(
   14519   e) eval $cacheid=no ;;
   14520 esac
   14521 fi
   14522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14523     conftest$ac_exeext conftest.$ac_ext ;;
   14524 esac
   14525 fi
   14526 
   14527 
   14528 		CFLAGS="$xorg_testset_save_CFLAGS"
   14529 
   14530 		eval supported=\$$cacheid
   14531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14532 printf "%s\n" "$supported" >&6; }
   14533 		if test "$supported" = "yes" ; then
   14534 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14535 			found="yes"
   14536 		fi
   14537 	fi
   14538 
   14539 	if test $found = "no" ; then
   14540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14542 		fi
   14543 
   14544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14546 		fi
   14547 
   14548 		CFLAGS="$CFLAGS -Wformat"
   14549 
   14550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14551 printf %s "checking if $CC supports -Wformat... " >&6; }
   14552 		cacheid=xorg_cv_cc_flag__Wformat
   14553 		if eval test \${$cacheid+y}
   14554 then :
   14555   printf %s "(cached) " >&6
   14556 else case e in #(
   14557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14558 /* end confdefs.h.  */
   14559 int i;
   14560 int
   14561 main (void)
   14562 {
   14563 
   14564   ;
   14565   return 0;
   14566 }
   14567 _ACEOF
   14568 if ac_fn_c_try_link "$LINENO"
   14569 then :
   14570   eval $cacheid=yes
   14571 else case e in #(
   14572   e) eval $cacheid=no ;;
   14573 esac
   14574 fi
   14575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14576     conftest$ac_exeext conftest.$ac_ext ;;
   14577 esac
   14578 fi
   14579 
   14580 
   14581 		CFLAGS="$xorg_testset_save_CFLAGS"
   14582 
   14583 		eval supported=\$$cacheid
   14584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14585 printf "%s\n" "$supported" >&6; }
   14586 		if test "$supported" = "yes" ; then
   14587 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14588 			found="yes"
   14589 		fi
   14590 	fi
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 xorg_testset_save_CFLAGS="$CFLAGS"
   14609 
   14610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14615 then :
   14616   printf %s "(cached) " >&6
   14617 else case e in #(
   14618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14619 /* end confdefs.h.  */
   14620 int i;
   14621 _ACEOF
   14622 if ac_fn_c_try_compile "$LINENO"
   14623 then :
   14624   xorg_cv_cc_flag_unknown_warning_option=yes
   14625 else case e in #(
   14626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14627 esac
   14628 fi
   14629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14630 esac
   14631 fi
   14632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14635 	CFLAGS="$xorg_testset_save_CFLAGS"
   14636 fi
   14637 
   14638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14641 	fi
   14642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14646 then :
   14647   printf %s "(cached) " >&6
   14648 else case e in #(
   14649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14650 /* end confdefs.h.  */
   14651 int i;
   14652 _ACEOF
   14653 if ac_fn_c_try_compile "$LINENO"
   14654 then :
   14655   xorg_cv_cc_flag_unused_command_line_argument=yes
   14656 else case e in #(
   14657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14658 esac
   14659 fi
   14660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14661 esac
   14662 fi
   14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14666 	CFLAGS="$xorg_testset_save_CFLAGS"
   14667 fi
   14668 
   14669 found="no"
   14670 
   14671 	if test $found = "no" ; then
   14672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14674 		fi
   14675 
   14676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14678 		fi
   14679 
   14680 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14681 
   14682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14683 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14684 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14685 		if eval test \${$cacheid+y}
   14686 then :
   14687   printf %s "(cached) " >&6
   14688 else case e in #(
   14689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14690 /* end confdefs.h.  */
   14691 int i;
   14692 int
   14693 main (void)
   14694 {
   14695 
   14696   ;
   14697   return 0;
   14698 }
   14699 _ACEOF
   14700 if ac_fn_c_try_link "$LINENO"
   14701 then :
   14702   eval $cacheid=yes
   14703 else case e in #(
   14704   e) eval $cacheid=no ;;
   14705 esac
   14706 fi
   14707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14708     conftest$ac_exeext conftest.$ac_ext ;;
   14709 esac
   14710 fi
   14711 
   14712 
   14713 		CFLAGS="$xorg_testset_save_CFLAGS"
   14714 
   14715 		eval supported=\$$cacheid
   14716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14717 printf "%s\n" "$supported" >&6; }
   14718 		if test "$supported" = "yes" ; then
   14719 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14720 			found="yes"
   14721 		fi
   14722 	fi
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 xorg_testset_save_CFLAGS="$CFLAGS"
   14739 
   14740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14743 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14744 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14745 then :
   14746   printf %s "(cached) " >&6
   14747 else case e in #(
   14748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14749 /* end confdefs.h.  */
   14750 int i;
   14751 _ACEOF
   14752 if ac_fn_c_try_compile "$LINENO"
   14753 then :
   14754   xorg_cv_cc_flag_unknown_warning_option=yes
   14755 else case e in #(
   14756   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14757 esac
   14758 fi
   14759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14760 esac
   14761 fi
   14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14765 	CFLAGS="$xorg_testset_save_CFLAGS"
   14766 fi
   14767 
   14768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14771 	fi
   14772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14776 then :
   14777   printf %s "(cached) " >&6
   14778 else case e in #(
   14779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14780 /* end confdefs.h.  */
   14781 int i;
   14782 _ACEOF
   14783 if ac_fn_c_try_compile "$LINENO"
   14784 then :
   14785   xorg_cv_cc_flag_unused_command_line_argument=yes
   14786 else case e in #(
   14787   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14788 esac
   14789 fi
   14790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14791 esac
   14792 fi
   14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14796 	CFLAGS="$xorg_testset_save_CFLAGS"
   14797 fi
   14798 
   14799 found="no"
   14800 
   14801 	if test $found = "no" ; then
   14802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14804 		fi
   14805 
   14806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14808 		fi
   14809 
   14810 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14811 
   14812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14813 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14814 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14815 		if eval test \${$cacheid+y}
   14816 then :
   14817   printf %s "(cached) " >&6
   14818 else case e in #(
   14819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14820 /* end confdefs.h.  */
   14821 int i;
   14822 int
   14823 main (void)
   14824 {
   14825 
   14826   ;
   14827   return 0;
   14828 }
   14829 _ACEOF
   14830 if ac_fn_c_try_link "$LINENO"
   14831 then :
   14832   eval $cacheid=yes
   14833 else case e in #(
   14834   e) eval $cacheid=no ;;
   14835 esac
   14836 fi
   14837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14838     conftest$ac_exeext conftest.$ac_ext ;;
   14839 esac
   14840 fi
   14841 
   14842 
   14843 		CFLAGS="$xorg_testset_save_CFLAGS"
   14844 
   14845 		eval supported=\$$cacheid
   14846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14847 printf "%s\n" "$supported" >&6; }
   14848 		if test "$supported" = "yes" ; then
   14849 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14850 			found="yes"
   14851 		fi
   14852 	fi
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 xorg_testset_save_CFLAGS="$CFLAGS"
   14869 
   14870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14873 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14874 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14875 then :
   14876   printf %s "(cached) " >&6
   14877 else case e in #(
   14878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14879 /* end confdefs.h.  */
   14880 int i;
   14881 _ACEOF
   14882 if ac_fn_c_try_compile "$LINENO"
   14883 then :
   14884   xorg_cv_cc_flag_unknown_warning_option=yes
   14885 else case e in #(
   14886   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14887 esac
   14888 fi
   14889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14890 esac
   14891 fi
   14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14895 	CFLAGS="$xorg_testset_save_CFLAGS"
   14896 fi
   14897 
   14898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14901 	fi
   14902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14906 then :
   14907   printf %s "(cached) " >&6
   14908 else case e in #(
   14909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14910 /* end confdefs.h.  */
   14911 int i;
   14912 _ACEOF
   14913 if ac_fn_c_try_compile "$LINENO"
   14914 then :
   14915   xorg_cv_cc_flag_unused_command_line_argument=yes
   14916 else case e in #(
   14917   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14918 esac
   14919 fi
   14920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14921 esac
   14922 fi
   14923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14924 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14926 	CFLAGS="$xorg_testset_save_CFLAGS"
   14927 fi
   14928 
   14929 found="no"
   14930 
   14931 	if test $found = "no" ; then
   14932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14934 		fi
   14935 
   14936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14938 		fi
   14939 
   14940 		CFLAGS="$CFLAGS -Wnested-externs"
   14941 
   14942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14943 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14944 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14945 		if eval test \${$cacheid+y}
   14946 then :
   14947   printf %s "(cached) " >&6
   14948 else case e in #(
   14949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14950 /* end confdefs.h.  */
   14951 int i;
   14952 int
   14953 main (void)
   14954 {
   14955 
   14956   ;
   14957   return 0;
   14958 }
   14959 _ACEOF
   14960 if ac_fn_c_try_link "$LINENO"
   14961 then :
   14962   eval $cacheid=yes
   14963 else case e in #(
   14964   e) eval $cacheid=no ;;
   14965 esac
   14966 fi
   14967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14968     conftest$ac_exeext conftest.$ac_ext ;;
   14969 esac
   14970 fi
   14971 
   14972 
   14973 		CFLAGS="$xorg_testset_save_CFLAGS"
   14974 
   14975 		eval supported=\$$cacheid
   14976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14977 printf "%s\n" "$supported" >&6; }
   14978 		if test "$supported" = "yes" ; then
   14979 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14980 			found="yes"
   14981 		fi
   14982 	fi
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 xorg_testset_save_CFLAGS="$CFLAGS"
   14999 
   15000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15003 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15004 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15005 then :
   15006   printf %s "(cached) " >&6
   15007 else case e in #(
   15008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15009 /* end confdefs.h.  */
   15010 int i;
   15011 _ACEOF
   15012 if ac_fn_c_try_compile "$LINENO"
   15013 then :
   15014   xorg_cv_cc_flag_unknown_warning_option=yes
   15015 else case e in #(
   15016   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15017 esac
   15018 fi
   15019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15020 esac
   15021 fi
   15022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15023 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15025 	CFLAGS="$xorg_testset_save_CFLAGS"
   15026 fi
   15027 
   15028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15031 	fi
   15032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15034 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15035 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15036 then :
   15037   printf %s "(cached) " >&6
   15038 else case e in #(
   15039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15040 /* end confdefs.h.  */
   15041 int i;
   15042 _ACEOF
   15043 if ac_fn_c_try_compile "$LINENO"
   15044 then :
   15045   xorg_cv_cc_flag_unused_command_line_argument=yes
   15046 else case e in #(
   15047   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15048 esac
   15049 fi
   15050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15051 esac
   15052 fi
   15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15054 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15056 	CFLAGS="$xorg_testset_save_CFLAGS"
   15057 fi
   15058 
   15059 found="no"
   15060 
   15061 	if test $found = "no" ; then
   15062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15064 		fi
   15065 
   15066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15068 		fi
   15069 
   15070 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15071 
   15072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15073 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15074 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15075 		if eval test \${$cacheid+y}
   15076 then :
   15077   printf %s "(cached) " >&6
   15078 else case e in #(
   15079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15080 /* end confdefs.h.  */
   15081 int i;
   15082 int
   15083 main (void)
   15084 {
   15085 
   15086   ;
   15087   return 0;
   15088 }
   15089 _ACEOF
   15090 if ac_fn_c_try_link "$LINENO"
   15091 then :
   15092   eval $cacheid=yes
   15093 else case e in #(
   15094   e) eval $cacheid=no ;;
   15095 esac
   15096 fi
   15097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15098     conftest$ac_exeext conftest.$ac_ext ;;
   15099 esac
   15100 fi
   15101 
   15102 
   15103 		CFLAGS="$xorg_testset_save_CFLAGS"
   15104 
   15105 		eval supported=\$$cacheid
   15106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15107 printf "%s\n" "$supported" >&6; }
   15108 		if test "$supported" = "yes" ; then
   15109 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15110 			found="yes"
   15111 		fi
   15112 	fi
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 xorg_testset_save_CFLAGS="$CFLAGS"
   15129 
   15130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15133 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15134 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15135 then :
   15136   printf %s "(cached) " >&6
   15137 else case e in #(
   15138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15139 /* end confdefs.h.  */
   15140 int i;
   15141 _ACEOF
   15142 if ac_fn_c_try_compile "$LINENO"
   15143 then :
   15144   xorg_cv_cc_flag_unknown_warning_option=yes
   15145 else case e in #(
   15146   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15147 esac
   15148 fi
   15149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15150 esac
   15151 fi
   15152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15155 	CFLAGS="$xorg_testset_save_CFLAGS"
   15156 fi
   15157 
   15158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15161 	fi
   15162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15166 then :
   15167   printf %s "(cached) " >&6
   15168 else case e in #(
   15169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 int i;
   15172 _ACEOF
   15173 if ac_fn_c_try_compile "$LINENO"
   15174 then :
   15175   xorg_cv_cc_flag_unused_command_line_argument=yes
   15176 else case e in #(
   15177   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15178 esac
   15179 fi
   15180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15181 esac
   15182 fi
   15183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15184 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15186 	CFLAGS="$xorg_testset_save_CFLAGS"
   15187 fi
   15188 
   15189 found="no"
   15190 
   15191 	if test $found = "no" ; then
   15192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15194 		fi
   15195 
   15196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15198 		fi
   15199 
   15200 		CFLAGS="$CFLAGS -Wold-style-definition"
   15201 
   15202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15203 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15204 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15205 		if eval test \${$cacheid+y}
   15206 then :
   15207   printf %s "(cached) " >&6
   15208 else case e in #(
   15209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15210 /* end confdefs.h.  */
   15211 int i;
   15212 int
   15213 main (void)
   15214 {
   15215 
   15216   ;
   15217   return 0;
   15218 }
   15219 _ACEOF
   15220 if ac_fn_c_try_link "$LINENO"
   15221 then :
   15222   eval $cacheid=yes
   15223 else case e in #(
   15224   e) eval $cacheid=no ;;
   15225 esac
   15226 fi
   15227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15228     conftest$ac_exeext conftest.$ac_ext ;;
   15229 esac
   15230 fi
   15231 
   15232 
   15233 		CFLAGS="$xorg_testset_save_CFLAGS"
   15234 
   15235 		eval supported=\$$cacheid
   15236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15237 printf "%s\n" "$supported" >&6; }
   15238 		if test "$supported" = "yes" ; then
   15239 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15240 			found="yes"
   15241 		fi
   15242 	fi
   15243 
   15244 	if test $found = "no" ; then
   15245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15247 		fi
   15248 
   15249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15251 		fi
   15252 
   15253 		CFLAGS="$CFLAGS -fd"
   15254 
   15255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15256 printf %s "checking if $CC supports -fd... " >&6; }
   15257 		cacheid=xorg_cv_cc_flag__fd
   15258 		if eval test \${$cacheid+y}
   15259 then :
   15260   printf %s "(cached) " >&6
   15261 else case e in #(
   15262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15263 /* end confdefs.h.  */
   15264 int i;
   15265 int
   15266 main (void)
   15267 {
   15268 
   15269   ;
   15270   return 0;
   15271 }
   15272 _ACEOF
   15273 if ac_fn_c_try_link "$LINENO"
   15274 then :
   15275   eval $cacheid=yes
   15276 else case e in #(
   15277   e) eval $cacheid=no ;;
   15278 esac
   15279 fi
   15280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15281     conftest$ac_exeext conftest.$ac_ext ;;
   15282 esac
   15283 fi
   15284 
   15285 
   15286 		CFLAGS="$xorg_testset_save_CFLAGS"
   15287 
   15288 		eval supported=\$$cacheid
   15289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15290 printf "%s\n" "$supported" >&6; }
   15291 		if test "$supported" = "yes" ; then
   15292 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15293 			found="yes"
   15294 		fi
   15295 	fi
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 # This chunk adds additional warnings that could catch undesired effects.
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 xorg_testset_save_CFLAGS="$CFLAGS"
   15316 
   15317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15322 then :
   15323   printf %s "(cached) " >&6
   15324 else case e in #(
   15325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15326 /* end confdefs.h.  */
   15327 int i;
   15328 _ACEOF
   15329 if ac_fn_c_try_compile "$LINENO"
   15330 then :
   15331   xorg_cv_cc_flag_unknown_warning_option=yes
   15332 else case e in #(
   15333   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15334 esac
   15335 fi
   15336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15337 esac
   15338 fi
   15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15342 	CFLAGS="$xorg_testset_save_CFLAGS"
   15343 fi
   15344 
   15345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15348 	fi
   15349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15353 then :
   15354   printf %s "(cached) " >&6
   15355 else case e in #(
   15356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15357 /* end confdefs.h.  */
   15358 int i;
   15359 _ACEOF
   15360 if ac_fn_c_try_compile "$LINENO"
   15361 then :
   15362   xorg_cv_cc_flag_unused_command_line_argument=yes
   15363 else case e in #(
   15364   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15365 esac
   15366 fi
   15367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15368 esac
   15369 fi
   15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15373 	CFLAGS="$xorg_testset_save_CFLAGS"
   15374 fi
   15375 
   15376 found="no"
   15377 
   15378 	if test $found = "no" ; then
   15379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15381 		fi
   15382 
   15383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15385 		fi
   15386 
   15387 		CFLAGS="$CFLAGS -Wunused"
   15388 
   15389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15390 printf %s "checking if $CC supports -Wunused... " >&6; }
   15391 		cacheid=xorg_cv_cc_flag__Wunused
   15392 		if eval test \${$cacheid+y}
   15393 then :
   15394   printf %s "(cached) " >&6
   15395 else case e in #(
   15396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15397 /* end confdefs.h.  */
   15398 int i;
   15399 int
   15400 main (void)
   15401 {
   15402 
   15403   ;
   15404   return 0;
   15405 }
   15406 _ACEOF
   15407 if ac_fn_c_try_link "$LINENO"
   15408 then :
   15409   eval $cacheid=yes
   15410 else case e in #(
   15411   e) eval $cacheid=no ;;
   15412 esac
   15413 fi
   15414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15415     conftest$ac_exeext conftest.$ac_ext ;;
   15416 esac
   15417 fi
   15418 
   15419 
   15420 		CFLAGS="$xorg_testset_save_CFLAGS"
   15421 
   15422 		eval supported=\$$cacheid
   15423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15424 printf "%s\n" "$supported" >&6; }
   15425 		if test "$supported" = "yes" ; then
   15426 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15427 			found="yes"
   15428 		fi
   15429 	fi
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 
   15445 xorg_testset_save_CFLAGS="$CFLAGS"
   15446 
   15447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15450 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15451 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15452 then :
   15453   printf %s "(cached) " >&6
   15454 else case e in #(
   15455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15456 /* end confdefs.h.  */
   15457 int i;
   15458 _ACEOF
   15459 if ac_fn_c_try_compile "$LINENO"
   15460 then :
   15461   xorg_cv_cc_flag_unknown_warning_option=yes
   15462 else case e in #(
   15463   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15464 esac
   15465 fi
   15466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15467 esac
   15468 fi
   15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15470 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15472 	CFLAGS="$xorg_testset_save_CFLAGS"
   15473 fi
   15474 
   15475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15478 	fi
   15479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15481 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15482 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15483 then :
   15484   printf %s "(cached) " >&6
   15485 else case e in #(
   15486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15487 /* end confdefs.h.  */
   15488 int i;
   15489 _ACEOF
   15490 if ac_fn_c_try_compile "$LINENO"
   15491 then :
   15492   xorg_cv_cc_flag_unused_command_line_argument=yes
   15493 else case e in #(
   15494   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15495 esac
   15496 fi
   15497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15498 esac
   15499 fi
   15500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15501 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15503 	CFLAGS="$xorg_testset_save_CFLAGS"
   15504 fi
   15505 
   15506 found="no"
   15507 
   15508 	if test $found = "no" ; then
   15509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 		fi
   15512 
   15513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15515 		fi
   15516 
   15517 		CFLAGS="$CFLAGS -Wuninitialized"
   15518 
   15519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15520 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15521 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15522 		if eval test \${$cacheid+y}
   15523 then :
   15524   printf %s "(cached) " >&6
   15525 else case e in #(
   15526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15527 /* end confdefs.h.  */
   15528 int i;
   15529 int
   15530 main (void)
   15531 {
   15532 
   15533   ;
   15534   return 0;
   15535 }
   15536 _ACEOF
   15537 if ac_fn_c_try_link "$LINENO"
   15538 then :
   15539   eval $cacheid=yes
   15540 else case e in #(
   15541   e) eval $cacheid=no ;;
   15542 esac
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15545     conftest$ac_exeext conftest.$ac_ext ;;
   15546 esac
   15547 fi
   15548 
   15549 
   15550 		CFLAGS="$xorg_testset_save_CFLAGS"
   15551 
   15552 		eval supported=\$$cacheid
   15553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15554 printf "%s\n" "$supported" >&6; }
   15555 		if test "$supported" = "yes" ; then
   15556 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15557 			found="yes"
   15558 		fi
   15559 	fi
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 xorg_testset_save_CFLAGS="$CFLAGS"
   15576 
   15577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15580 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15581 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15582 then :
   15583   printf %s "(cached) " >&6
   15584 else case e in #(
   15585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15586 /* end confdefs.h.  */
   15587 int i;
   15588 _ACEOF
   15589 if ac_fn_c_try_compile "$LINENO"
   15590 then :
   15591   xorg_cv_cc_flag_unknown_warning_option=yes
   15592 else case e in #(
   15593   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15594 esac
   15595 fi
   15596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15597 esac
   15598 fi
   15599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15600 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15602 	CFLAGS="$xorg_testset_save_CFLAGS"
   15603 fi
   15604 
   15605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15608 	fi
   15609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15611 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15612 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15613 then :
   15614   printf %s "(cached) " >&6
   15615 else case e in #(
   15616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15617 /* end confdefs.h.  */
   15618 int i;
   15619 _ACEOF
   15620 if ac_fn_c_try_compile "$LINENO"
   15621 then :
   15622   xorg_cv_cc_flag_unused_command_line_argument=yes
   15623 else case e in #(
   15624   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15625 esac
   15626 fi
   15627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15628 esac
   15629 fi
   15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15631 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15633 	CFLAGS="$xorg_testset_save_CFLAGS"
   15634 fi
   15635 
   15636 found="no"
   15637 
   15638 	if test $found = "no" ; then
   15639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15641 		fi
   15642 
   15643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15645 		fi
   15646 
   15647 		CFLAGS="$CFLAGS -Wshadow"
   15648 
   15649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15650 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15651 		cacheid=xorg_cv_cc_flag__Wshadow
   15652 		if eval test \${$cacheid+y}
   15653 then :
   15654   printf %s "(cached) " >&6
   15655 else case e in #(
   15656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15657 /* end confdefs.h.  */
   15658 int i;
   15659 int
   15660 main (void)
   15661 {
   15662 
   15663   ;
   15664   return 0;
   15665 }
   15666 _ACEOF
   15667 if ac_fn_c_try_link "$LINENO"
   15668 then :
   15669   eval $cacheid=yes
   15670 else case e in #(
   15671   e) eval $cacheid=no ;;
   15672 esac
   15673 fi
   15674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15675     conftest$ac_exeext conftest.$ac_ext ;;
   15676 esac
   15677 fi
   15678 
   15679 
   15680 		CFLAGS="$xorg_testset_save_CFLAGS"
   15681 
   15682 		eval supported=\$$cacheid
   15683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15684 printf "%s\n" "$supported" >&6; }
   15685 		if test "$supported" = "yes" ; then
   15686 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15687 			found="yes"
   15688 		fi
   15689 	fi
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 xorg_testset_save_CFLAGS="$CFLAGS"
   15706 
   15707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15710 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15711 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15712 then :
   15713   printf %s "(cached) " >&6
   15714 else case e in #(
   15715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15716 /* end confdefs.h.  */
   15717 int i;
   15718 _ACEOF
   15719 if ac_fn_c_try_compile "$LINENO"
   15720 then :
   15721   xorg_cv_cc_flag_unknown_warning_option=yes
   15722 else case e in #(
   15723   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15724 esac
   15725 fi
   15726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15727 esac
   15728 fi
   15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15730 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15732 	CFLAGS="$xorg_testset_save_CFLAGS"
   15733 fi
   15734 
   15735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15738 	fi
   15739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15741 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15742 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15743 then :
   15744   printf %s "(cached) " >&6
   15745 else case e in #(
   15746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15747 /* end confdefs.h.  */
   15748 int i;
   15749 _ACEOF
   15750 if ac_fn_c_try_compile "$LINENO"
   15751 then :
   15752   xorg_cv_cc_flag_unused_command_line_argument=yes
   15753 else case e in #(
   15754   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15755 esac
   15756 fi
   15757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15758 esac
   15759 fi
   15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15761 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15763 	CFLAGS="$xorg_testset_save_CFLAGS"
   15764 fi
   15765 
   15766 found="no"
   15767 
   15768 	if test $found = "no" ; then
   15769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15771 		fi
   15772 
   15773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15775 		fi
   15776 
   15777 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15778 
   15779 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15780 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15781 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15782 		if eval test \${$cacheid+y}
   15783 then :
   15784   printf %s "(cached) " >&6
   15785 else case e in #(
   15786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15787 /* end confdefs.h.  */
   15788 int i;
   15789 int
   15790 main (void)
   15791 {
   15792 
   15793   ;
   15794   return 0;
   15795 }
   15796 _ACEOF
   15797 if ac_fn_c_try_link "$LINENO"
   15798 then :
   15799   eval $cacheid=yes
   15800 else case e in #(
   15801   e) eval $cacheid=no ;;
   15802 esac
   15803 fi
   15804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15805     conftest$ac_exeext conftest.$ac_ext ;;
   15806 esac
   15807 fi
   15808 
   15809 
   15810 		CFLAGS="$xorg_testset_save_CFLAGS"
   15811 
   15812 		eval supported=\$$cacheid
   15813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15814 printf "%s\n" "$supported" >&6; }
   15815 		if test "$supported" = "yes" ; then
   15816 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15817 			found="yes"
   15818 		fi
   15819 	fi
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 xorg_testset_save_CFLAGS="$CFLAGS"
   15836 
   15837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15840 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15841 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15842 then :
   15843   printf %s "(cached) " >&6
   15844 else case e in #(
   15845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15846 /* end confdefs.h.  */
   15847 int i;
   15848 _ACEOF
   15849 if ac_fn_c_try_compile "$LINENO"
   15850 then :
   15851   xorg_cv_cc_flag_unknown_warning_option=yes
   15852 else case e in #(
   15853   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15854 esac
   15855 fi
   15856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15857 esac
   15858 fi
   15859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15860 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15862 	CFLAGS="$xorg_testset_save_CFLAGS"
   15863 fi
   15864 
   15865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 	fi
   15869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15871 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15872 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15873 then :
   15874   printf %s "(cached) " >&6
   15875 else case e in #(
   15876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 _ACEOF
   15880 if ac_fn_c_try_compile "$LINENO"
   15881 then :
   15882   xorg_cv_cc_flag_unused_command_line_argument=yes
   15883 else case e in #(
   15884   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15885 esac
   15886 fi
   15887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15888 esac
   15889 fi
   15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15891 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15893 	CFLAGS="$xorg_testset_save_CFLAGS"
   15894 fi
   15895 
   15896 found="no"
   15897 
   15898 	if test $found = "no" ; then
   15899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15901 		fi
   15902 
   15903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15905 		fi
   15906 
   15907 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15908 
   15909 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15910 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15911 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15912 		if eval test \${$cacheid+y}
   15913 then :
   15914   printf %s "(cached) " >&6
   15915 else case e in #(
   15916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15917 /* end confdefs.h.  */
   15918 int i;
   15919 int
   15920 main (void)
   15921 {
   15922 
   15923   ;
   15924   return 0;
   15925 }
   15926 _ACEOF
   15927 if ac_fn_c_try_link "$LINENO"
   15928 then :
   15929   eval $cacheid=yes
   15930 else case e in #(
   15931   e) eval $cacheid=no ;;
   15932 esac
   15933 fi
   15934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15935     conftest$ac_exeext conftest.$ac_ext ;;
   15936 esac
   15937 fi
   15938 
   15939 
   15940 		CFLAGS="$xorg_testset_save_CFLAGS"
   15941 
   15942 		eval supported=\$$cacheid
   15943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15944 printf "%s\n" "$supported" >&6; }
   15945 		if test "$supported" = "yes" ; then
   15946 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15947 			found="yes"
   15948 		fi
   15949 	fi
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 xorg_testset_save_CFLAGS="$CFLAGS"
   15966 
   15967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15972 then :
   15973   printf %s "(cached) " >&6
   15974 else case e in #(
   15975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15976 /* end confdefs.h.  */
   15977 int i;
   15978 _ACEOF
   15979 if ac_fn_c_try_compile "$LINENO"
   15980 then :
   15981   xorg_cv_cc_flag_unknown_warning_option=yes
   15982 else case e in #(
   15983   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15984 esac
   15985 fi
   15986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15987 esac
   15988 fi
   15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15990 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15991 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15992 	CFLAGS="$xorg_testset_save_CFLAGS"
   15993 fi
   15994 
   15995 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15996 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15998 	fi
   15999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16001 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16002 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16003 then :
   16004   printf %s "(cached) " >&6
   16005 else case e in #(
   16006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16007 /* end confdefs.h.  */
   16008 int i;
   16009 _ACEOF
   16010 if ac_fn_c_try_compile "$LINENO"
   16011 then :
   16012   xorg_cv_cc_flag_unused_command_line_argument=yes
   16013 else case e in #(
   16014   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16015 esac
   16016 fi
   16017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16018 esac
   16019 fi
   16020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16021 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16023 	CFLAGS="$xorg_testset_save_CFLAGS"
   16024 fi
   16025 
   16026 found="no"
   16027 
   16028 	if test $found = "no" ; then
   16029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16031 		fi
   16032 
   16033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16035 		fi
   16036 
   16037 		CFLAGS="$CFLAGS -Wredundant-decls"
   16038 
   16039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16040 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16041 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16042 		if eval test \${$cacheid+y}
   16043 then :
   16044   printf %s "(cached) " >&6
   16045 else case e in #(
   16046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16047 /* end confdefs.h.  */
   16048 int i;
   16049 int
   16050 main (void)
   16051 {
   16052 
   16053   ;
   16054   return 0;
   16055 }
   16056 _ACEOF
   16057 if ac_fn_c_try_link "$LINENO"
   16058 then :
   16059   eval $cacheid=yes
   16060 else case e in #(
   16061   e) eval $cacheid=no ;;
   16062 esac
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16065     conftest$ac_exeext conftest.$ac_ext ;;
   16066 esac
   16067 fi
   16068 
   16069 
   16070 		CFLAGS="$xorg_testset_save_CFLAGS"
   16071 
   16072 		eval supported=\$$cacheid
   16073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16074 printf "%s\n" "$supported" >&6; }
   16075 		if test "$supported" = "yes" ; then
   16076 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16077 			found="yes"
   16078 		fi
   16079 	fi
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 xorg_testset_save_CFLAGS="$CFLAGS"
   16096 
   16097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16102 then :
   16103   printf %s "(cached) " >&6
   16104 else case e in #(
   16105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16106 /* end confdefs.h.  */
   16107 int i;
   16108 _ACEOF
   16109 if ac_fn_c_try_compile "$LINENO"
   16110 then :
   16111   xorg_cv_cc_flag_unknown_warning_option=yes
   16112 else case e in #(
   16113   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16114 esac
   16115 fi
   16116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16117 esac
   16118 fi
   16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16120 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16122 	CFLAGS="$xorg_testset_save_CFLAGS"
   16123 fi
   16124 
   16125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16128 	fi
   16129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16133 then :
   16134   printf %s "(cached) " >&6
   16135 else case e in #(
   16136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16137 /* end confdefs.h.  */
   16138 int i;
   16139 _ACEOF
   16140 if ac_fn_c_try_compile "$LINENO"
   16141 then :
   16142   xorg_cv_cc_flag_unused_command_line_argument=yes
   16143 else case e in #(
   16144   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16145 esac
   16146 fi
   16147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16148 esac
   16149 fi
   16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16153 	CFLAGS="$xorg_testset_save_CFLAGS"
   16154 fi
   16155 
   16156 found="no"
   16157 
   16158 	if test $found = "no" ; then
   16159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16161 		fi
   16162 
   16163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16165 		fi
   16166 
   16167 		CFLAGS="$CFLAGS -Wlogical-op"
   16168 
   16169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16170 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16171 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16172 		if eval test \${$cacheid+y}
   16173 then :
   16174   printf %s "(cached) " >&6
   16175 else case e in #(
   16176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16177 /* end confdefs.h.  */
   16178 int i;
   16179 int
   16180 main (void)
   16181 {
   16182 
   16183   ;
   16184   return 0;
   16185 }
   16186 _ACEOF
   16187 if ac_fn_c_try_link "$LINENO"
   16188 then :
   16189   eval $cacheid=yes
   16190 else case e in #(
   16191   e) eval $cacheid=no ;;
   16192 esac
   16193 fi
   16194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16195     conftest$ac_exeext conftest.$ac_ext ;;
   16196 esac
   16197 fi
   16198 
   16199 
   16200 		CFLAGS="$xorg_testset_save_CFLAGS"
   16201 
   16202 		eval supported=\$$cacheid
   16203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16204 printf "%s\n" "$supported" >&6; }
   16205 		if test "$supported" = "yes" ; then
   16206 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16207 			found="yes"
   16208 		fi
   16209 	fi
   16210 
   16211 
   16212 
   16213 # These are currently disabled because they are noisy.  They will be enabled
   16214 # in the future once the codebase is sufficiently modernized to silence
   16215 # them.  For now, I don't want them to drown out the other warnings.
   16216 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16217 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16218 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16219 
   16220 # Turn some warnings into errors, so we don't accidentally get successful builds
   16221 # when there are problems that should be fixed.
   16222 
   16223 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 xorg_testset_save_CFLAGS="$CFLAGS"
   16238 
   16239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16242 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16243 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16244 then :
   16245   printf %s "(cached) " >&6
   16246 else case e in #(
   16247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16248 /* end confdefs.h.  */
   16249 int i;
   16250 _ACEOF
   16251 if ac_fn_c_try_compile "$LINENO"
   16252 then :
   16253   xorg_cv_cc_flag_unknown_warning_option=yes
   16254 else case e in #(
   16255   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16256 esac
   16257 fi
   16258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16259 esac
   16260 fi
   16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16262 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16264 	CFLAGS="$xorg_testset_save_CFLAGS"
   16265 fi
   16266 
   16267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16270 	fi
   16271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16273 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16274 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16275 then :
   16276   printf %s "(cached) " >&6
   16277 else case e in #(
   16278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16279 /* end confdefs.h.  */
   16280 int i;
   16281 _ACEOF
   16282 if ac_fn_c_try_compile "$LINENO"
   16283 then :
   16284   xorg_cv_cc_flag_unused_command_line_argument=yes
   16285 else case e in #(
   16286   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16287 esac
   16288 fi
   16289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16290 esac
   16291 fi
   16292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16295 	CFLAGS="$xorg_testset_save_CFLAGS"
   16296 fi
   16297 
   16298 found="no"
   16299 
   16300 	if test $found = "no" ; then
   16301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16303 		fi
   16304 
   16305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16307 		fi
   16308 
   16309 		CFLAGS="$CFLAGS -Werror=implicit"
   16310 
   16311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16312 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16313 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16314 		if eval test \${$cacheid+y}
   16315 then :
   16316   printf %s "(cached) " >&6
   16317 else case e in #(
   16318   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16319 /* end confdefs.h.  */
   16320 int i;
   16321 int
   16322 main (void)
   16323 {
   16324 
   16325   ;
   16326   return 0;
   16327 }
   16328 _ACEOF
   16329 if ac_fn_c_try_link "$LINENO"
   16330 then :
   16331   eval $cacheid=yes
   16332 else case e in #(
   16333   e) eval $cacheid=no ;;
   16334 esac
   16335 fi
   16336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16337     conftest$ac_exeext conftest.$ac_ext ;;
   16338 esac
   16339 fi
   16340 
   16341 
   16342 		CFLAGS="$xorg_testset_save_CFLAGS"
   16343 
   16344 		eval supported=\$$cacheid
   16345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16346 printf "%s\n" "$supported" >&6; }
   16347 		if test "$supported" = "yes" ; then
   16348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16349 			found="yes"
   16350 		fi
   16351 	fi
   16352 
   16353 	if test $found = "no" ; then
   16354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16356 		fi
   16357 
   16358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16360 		fi
   16361 
   16362 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16363 
   16364 		{ 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
   16365 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16366 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16367 		if eval test \${$cacheid+y}
   16368 then :
   16369   printf %s "(cached) " >&6
   16370 else case e in #(
   16371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16372 /* end confdefs.h.  */
   16373 int i;
   16374 int
   16375 main (void)
   16376 {
   16377 
   16378   ;
   16379   return 0;
   16380 }
   16381 _ACEOF
   16382 if ac_fn_c_try_link "$LINENO"
   16383 then :
   16384   eval $cacheid=yes
   16385 else case e in #(
   16386   e) eval $cacheid=no ;;
   16387 esac
   16388 fi
   16389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16390     conftest$ac_exeext conftest.$ac_ext ;;
   16391 esac
   16392 fi
   16393 
   16394 
   16395 		CFLAGS="$xorg_testset_save_CFLAGS"
   16396 
   16397 		eval supported=\$$cacheid
   16398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16399 printf "%s\n" "$supported" >&6; }
   16400 		if test "$supported" = "yes" ; then
   16401 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16402 			found="yes"
   16403 		fi
   16404 	fi
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 xorg_testset_save_CFLAGS="$CFLAGS"
   16421 
   16422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16425 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16426 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16427 then :
   16428   printf %s "(cached) " >&6
   16429 else case e in #(
   16430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16431 /* end confdefs.h.  */
   16432 int i;
   16433 _ACEOF
   16434 if ac_fn_c_try_compile "$LINENO"
   16435 then :
   16436   xorg_cv_cc_flag_unknown_warning_option=yes
   16437 else case e in #(
   16438   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16439 esac
   16440 fi
   16441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16442 esac
   16443 fi
   16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16445 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16447 	CFLAGS="$xorg_testset_save_CFLAGS"
   16448 fi
   16449 
   16450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16453 	fi
   16454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16456 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16457 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16458 then :
   16459   printf %s "(cached) " >&6
   16460 else case e in #(
   16461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16462 /* end confdefs.h.  */
   16463 int i;
   16464 _ACEOF
   16465 if ac_fn_c_try_compile "$LINENO"
   16466 then :
   16467   xorg_cv_cc_flag_unused_command_line_argument=yes
   16468 else case e in #(
   16469   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16470 esac
   16471 fi
   16472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16473 esac
   16474 fi
   16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16478 	CFLAGS="$xorg_testset_save_CFLAGS"
   16479 fi
   16480 
   16481 found="no"
   16482 
   16483 	if test $found = "no" ; then
   16484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16486 		fi
   16487 
   16488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16490 		fi
   16491 
   16492 		CFLAGS="$CFLAGS -Werror=nonnull"
   16493 
   16494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16495 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16496 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16497 		if eval test \${$cacheid+y}
   16498 then :
   16499   printf %s "(cached) " >&6
   16500 else case e in #(
   16501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16502 /* end confdefs.h.  */
   16503 int i;
   16504 int
   16505 main (void)
   16506 {
   16507 
   16508   ;
   16509   return 0;
   16510 }
   16511 _ACEOF
   16512 if ac_fn_c_try_link "$LINENO"
   16513 then :
   16514   eval $cacheid=yes
   16515 else case e in #(
   16516   e) eval $cacheid=no ;;
   16517 esac
   16518 fi
   16519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16520     conftest$ac_exeext conftest.$ac_ext ;;
   16521 esac
   16522 fi
   16523 
   16524 
   16525 		CFLAGS="$xorg_testset_save_CFLAGS"
   16526 
   16527 		eval supported=\$$cacheid
   16528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16529 printf "%s\n" "$supported" >&6; }
   16530 		if test "$supported" = "yes" ; then
   16531 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16532 			found="yes"
   16533 		fi
   16534 	fi
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 xorg_testset_save_CFLAGS="$CFLAGS"
   16551 
   16552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16555 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16556 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16557 then :
   16558   printf %s "(cached) " >&6
   16559 else case e in #(
   16560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 _ACEOF
   16564 if ac_fn_c_try_compile "$LINENO"
   16565 then :
   16566   xorg_cv_cc_flag_unknown_warning_option=yes
   16567 else case e in #(
   16568   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16569 esac
   16570 fi
   16571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16572 esac
   16573 fi
   16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16575 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16577 	CFLAGS="$xorg_testset_save_CFLAGS"
   16578 fi
   16579 
   16580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 	fi
   16584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16586 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16587 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16588 then :
   16589   printf %s "(cached) " >&6
   16590 else case e in #(
   16591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16592 /* end confdefs.h.  */
   16593 int i;
   16594 _ACEOF
   16595 if ac_fn_c_try_compile "$LINENO"
   16596 then :
   16597   xorg_cv_cc_flag_unused_command_line_argument=yes
   16598 else case e in #(
   16599   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16600 esac
   16601 fi
   16602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16603 esac
   16604 fi
   16605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16606 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16608 	CFLAGS="$xorg_testset_save_CFLAGS"
   16609 fi
   16610 
   16611 found="no"
   16612 
   16613 	if test $found = "no" ; then
   16614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16616 		fi
   16617 
   16618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16620 		fi
   16621 
   16622 		CFLAGS="$CFLAGS -Werror=init-self"
   16623 
   16624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16625 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16626 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16627 		if eval test \${$cacheid+y}
   16628 then :
   16629   printf %s "(cached) " >&6
   16630 else case e in #(
   16631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16632 /* end confdefs.h.  */
   16633 int i;
   16634 int
   16635 main (void)
   16636 {
   16637 
   16638   ;
   16639   return 0;
   16640 }
   16641 _ACEOF
   16642 if ac_fn_c_try_link "$LINENO"
   16643 then :
   16644   eval $cacheid=yes
   16645 else case e in #(
   16646   e) eval $cacheid=no ;;
   16647 esac
   16648 fi
   16649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16650     conftest$ac_exeext conftest.$ac_ext ;;
   16651 esac
   16652 fi
   16653 
   16654 
   16655 		CFLAGS="$xorg_testset_save_CFLAGS"
   16656 
   16657 		eval supported=\$$cacheid
   16658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16659 printf "%s\n" "$supported" >&6; }
   16660 		if test "$supported" = "yes" ; then
   16661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16662 			found="yes"
   16663 		fi
   16664 	fi
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 xorg_testset_save_CFLAGS="$CFLAGS"
   16681 
   16682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16685 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16686 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16687 then :
   16688   printf %s "(cached) " >&6
   16689 else case e in #(
   16690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16691 /* end confdefs.h.  */
   16692 int i;
   16693 _ACEOF
   16694 if ac_fn_c_try_compile "$LINENO"
   16695 then :
   16696   xorg_cv_cc_flag_unknown_warning_option=yes
   16697 else case e in #(
   16698   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16699 esac
   16700 fi
   16701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16702 esac
   16703 fi
   16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16705 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16707 	CFLAGS="$xorg_testset_save_CFLAGS"
   16708 fi
   16709 
   16710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16713 	fi
   16714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16716 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16717 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16718 then :
   16719   printf %s "(cached) " >&6
   16720 else case e in #(
   16721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16722 /* end confdefs.h.  */
   16723 int i;
   16724 _ACEOF
   16725 if ac_fn_c_try_compile "$LINENO"
   16726 then :
   16727   xorg_cv_cc_flag_unused_command_line_argument=yes
   16728 else case e in #(
   16729   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16730 esac
   16731 fi
   16732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16733 esac
   16734 fi
   16735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16736 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16738 	CFLAGS="$xorg_testset_save_CFLAGS"
   16739 fi
   16740 
   16741 found="no"
   16742 
   16743 	if test $found = "no" ; then
   16744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16746 		fi
   16747 
   16748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16750 		fi
   16751 
   16752 		CFLAGS="$CFLAGS -Werror=main"
   16753 
   16754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16755 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16756 		cacheid=xorg_cv_cc_flag__Werror_main
   16757 		if eval test \${$cacheid+y}
   16758 then :
   16759   printf %s "(cached) " >&6
   16760 else case e in #(
   16761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 int
   16765 main (void)
   16766 {
   16767 
   16768   ;
   16769   return 0;
   16770 }
   16771 _ACEOF
   16772 if ac_fn_c_try_link "$LINENO"
   16773 then :
   16774   eval $cacheid=yes
   16775 else case e in #(
   16776   e) eval $cacheid=no ;;
   16777 esac
   16778 fi
   16779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16780     conftest$ac_exeext conftest.$ac_ext ;;
   16781 esac
   16782 fi
   16783 
   16784 
   16785 		CFLAGS="$xorg_testset_save_CFLAGS"
   16786 
   16787 		eval supported=\$$cacheid
   16788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16789 printf "%s\n" "$supported" >&6; }
   16790 		if test "$supported" = "yes" ; then
   16791 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16792 			found="yes"
   16793 		fi
   16794 	fi
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 xorg_testset_save_CFLAGS="$CFLAGS"
   16811 
   16812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16815 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16816 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16817 then :
   16818   printf %s "(cached) " >&6
   16819 else case e in #(
   16820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16821 /* end confdefs.h.  */
   16822 int i;
   16823 _ACEOF
   16824 if ac_fn_c_try_compile "$LINENO"
   16825 then :
   16826   xorg_cv_cc_flag_unknown_warning_option=yes
   16827 else case e in #(
   16828   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16829 esac
   16830 fi
   16831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16832 esac
   16833 fi
   16834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16835 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16837 	CFLAGS="$xorg_testset_save_CFLAGS"
   16838 fi
   16839 
   16840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16843 	fi
   16844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16848 then :
   16849   printf %s "(cached) " >&6
   16850 else case e in #(
   16851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16852 /* end confdefs.h.  */
   16853 int i;
   16854 _ACEOF
   16855 if ac_fn_c_try_compile "$LINENO"
   16856 then :
   16857   xorg_cv_cc_flag_unused_command_line_argument=yes
   16858 else case e in #(
   16859   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16860 esac
   16861 fi
   16862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16863 esac
   16864 fi
   16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16868 	CFLAGS="$xorg_testset_save_CFLAGS"
   16869 fi
   16870 
   16871 found="no"
   16872 
   16873 	if test $found = "no" ; then
   16874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16876 		fi
   16877 
   16878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16880 		fi
   16881 
   16882 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16883 
   16884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16885 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16886 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16887 		if eval test \${$cacheid+y}
   16888 then :
   16889   printf %s "(cached) " >&6
   16890 else case e in #(
   16891   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16892 /* end confdefs.h.  */
   16893 int i;
   16894 int
   16895 main (void)
   16896 {
   16897 
   16898   ;
   16899   return 0;
   16900 }
   16901 _ACEOF
   16902 if ac_fn_c_try_link "$LINENO"
   16903 then :
   16904   eval $cacheid=yes
   16905 else case e in #(
   16906   e) eval $cacheid=no ;;
   16907 esac
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16910     conftest$ac_exeext conftest.$ac_ext ;;
   16911 esac
   16912 fi
   16913 
   16914 
   16915 		CFLAGS="$xorg_testset_save_CFLAGS"
   16916 
   16917 		eval supported=\$$cacheid
   16918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16919 printf "%s\n" "$supported" >&6; }
   16920 		if test "$supported" = "yes" ; then
   16921 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16922 			found="yes"
   16923 		fi
   16924 	fi
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 xorg_testset_save_CFLAGS="$CFLAGS"
   16941 
   16942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16947 then :
   16948   printf %s "(cached) " >&6
   16949 else case e in #(
   16950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16951 /* end confdefs.h.  */
   16952 int i;
   16953 _ACEOF
   16954 if ac_fn_c_try_compile "$LINENO"
   16955 then :
   16956   xorg_cv_cc_flag_unknown_warning_option=yes
   16957 else case e in #(
   16958   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16959 esac
   16960 fi
   16961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16962 esac
   16963 fi
   16964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16965 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16967 	CFLAGS="$xorg_testset_save_CFLAGS"
   16968 fi
   16969 
   16970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16973 	fi
   16974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16976 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16977 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16978 then :
   16979   printf %s "(cached) " >&6
   16980 else case e in #(
   16981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16982 /* end confdefs.h.  */
   16983 int i;
   16984 _ACEOF
   16985 if ac_fn_c_try_compile "$LINENO"
   16986 then :
   16987   xorg_cv_cc_flag_unused_command_line_argument=yes
   16988 else case e in #(
   16989   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16990 esac
   16991 fi
   16992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16993 esac
   16994 fi
   16995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16996 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16998 	CFLAGS="$xorg_testset_save_CFLAGS"
   16999 fi
   17000 
   17001 found="no"
   17002 
   17003 	if test $found = "no" ; then
   17004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17006 		fi
   17007 
   17008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17010 		fi
   17011 
   17012 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17013 
   17014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17015 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17016 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17017 		if eval test \${$cacheid+y}
   17018 then :
   17019   printf %s "(cached) " >&6
   17020 else case e in #(
   17021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 int
   17025 main (void)
   17026 {
   17027 
   17028   ;
   17029   return 0;
   17030 }
   17031 _ACEOF
   17032 if ac_fn_c_try_link "$LINENO"
   17033 then :
   17034   eval $cacheid=yes
   17035 else case e in #(
   17036   e) eval $cacheid=no ;;
   17037 esac
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17040     conftest$ac_exeext conftest.$ac_ext ;;
   17041 esac
   17042 fi
   17043 
   17044 
   17045 		CFLAGS="$xorg_testset_save_CFLAGS"
   17046 
   17047 		eval supported=\$$cacheid
   17048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17049 printf "%s\n" "$supported" >&6; }
   17050 		if test "$supported" = "yes" ; then
   17051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17052 			found="yes"
   17053 		fi
   17054 	fi
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 xorg_testset_save_CFLAGS="$CFLAGS"
   17071 
   17072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17077 then :
   17078   printf %s "(cached) " >&6
   17079 else case e in #(
   17080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17081 /* end confdefs.h.  */
   17082 int i;
   17083 _ACEOF
   17084 if ac_fn_c_try_compile "$LINENO"
   17085 then :
   17086   xorg_cv_cc_flag_unknown_warning_option=yes
   17087 else case e in #(
   17088   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17089 esac
   17090 fi
   17091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17092 esac
   17093 fi
   17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17097 	CFLAGS="$xorg_testset_save_CFLAGS"
   17098 fi
   17099 
   17100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17103 	fi
   17104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17108 then :
   17109   printf %s "(cached) " >&6
   17110 else case e in #(
   17111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 int i;
   17114 _ACEOF
   17115 if ac_fn_c_try_compile "$LINENO"
   17116 then :
   17117   xorg_cv_cc_flag_unused_command_line_argument=yes
   17118 else case e in #(
   17119   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17120 esac
   17121 fi
   17122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17123 esac
   17124 fi
   17125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17128 	CFLAGS="$xorg_testset_save_CFLAGS"
   17129 fi
   17130 
   17131 found="no"
   17132 
   17133 	if test $found = "no" ; then
   17134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17136 		fi
   17137 
   17138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17140 		fi
   17141 
   17142 		CFLAGS="$CFLAGS -Werror=return-type"
   17143 
   17144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17145 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17146 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17147 		if eval test \${$cacheid+y}
   17148 then :
   17149   printf %s "(cached) " >&6
   17150 else case e in #(
   17151   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17152 /* end confdefs.h.  */
   17153 int i;
   17154 int
   17155 main (void)
   17156 {
   17157 
   17158   ;
   17159   return 0;
   17160 }
   17161 _ACEOF
   17162 if ac_fn_c_try_link "$LINENO"
   17163 then :
   17164   eval $cacheid=yes
   17165 else case e in #(
   17166   e) eval $cacheid=no ;;
   17167 esac
   17168 fi
   17169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17170     conftest$ac_exeext conftest.$ac_ext ;;
   17171 esac
   17172 fi
   17173 
   17174 
   17175 		CFLAGS="$xorg_testset_save_CFLAGS"
   17176 
   17177 		eval supported=\$$cacheid
   17178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17179 printf "%s\n" "$supported" >&6; }
   17180 		if test "$supported" = "yes" ; then
   17181 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17182 			found="yes"
   17183 		fi
   17184 	fi
   17185 
   17186 	if test $found = "no" ; then
   17187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17189 		fi
   17190 
   17191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17193 		fi
   17194 
   17195 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17196 
   17197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17198 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17199 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17200 		if eval test \${$cacheid+y}
   17201 then :
   17202   printf %s "(cached) " >&6
   17203 else case e in #(
   17204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17205 /* end confdefs.h.  */
   17206 int i;
   17207 int
   17208 main (void)
   17209 {
   17210 
   17211   ;
   17212   return 0;
   17213 }
   17214 _ACEOF
   17215 if ac_fn_c_try_link "$LINENO"
   17216 then :
   17217   eval $cacheid=yes
   17218 else case e in #(
   17219   e) eval $cacheid=no ;;
   17220 esac
   17221 fi
   17222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17223     conftest$ac_exeext conftest.$ac_ext ;;
   17224 esac
   17225 fi
   17226 
   17227 
   17228 		CFLAGS="$xorg_testset_save_CFLAGS"
   17229 
   17230 		eval supported=\$$cacheid
   17231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17232 printf "%s\n" "$supported" >&6; }
   17233 		if test "$supported" = "yes" ; then
   17234 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17235 			found="yes"
   17236 		fi
   17237 	fi
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 xorg_testset_save_CFLAGS="$CFLAGS"
   17254 
   17255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17260 then :
   17261   printf %s "(cached) " >&6
   17262 else case e in #(
   17263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17264 /* end confdefs.h.  */
   17265 int i;
   17266 _ACEOF
   17267 if ac_fn_c_try_compile "$LINENO"
   17268 then :
   17269   xorg_cv_cc_flag_unknown_warning_option=yes
   17270 else case e in #(
   17271   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17272 esac
   17273 fi
   17274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17275 esac
   17276 fi
   17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17278 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17280 	CFLAGS="$xorg_testset_save_CFLAGS"
   17281 fi
   17282 
   17283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17286 	fi
   17287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17289 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17290 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17291 then :
   17292   printf %s "(cached) " >&6
   17293 else case e in #(
   17294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17295 /* end confdefs.h.  */
   17296 int i;
   17297 _ACEOF
   17298 if ac_fn_c_try_compile "$LINENO"
   17299 then :
   17300   xorg_cv_cc_flag_unused_command_line_argument=yes
   17301 else case e in #(
   17302   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17303 esac
   17304 fi
   17305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17306 esac
   17307 fi
   17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17311 	CFLAGS="$xorg_testset_save_CFLAGS"
   17312 fi
   17313 
   17314 found="no"
   17315 
   17316 	if test $found = "no" ; then
   17317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17319 		fi
   17320 
   17321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17323 		fi
   17324 
   17325 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17326 
   17327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17328 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17329 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17330 		if eval test \${$cacheid+y}
   17331 then :
   17332   printf %s "(cached) " >&6
   17333 else case e in #(
   17334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17335 /* end confdefs.h.  */
   17336 int i;
   17337 int
   17338 main (void)
   17339 {
   17340 
   17341   ;
   17342   return 0;
   17343 }
   17344 _ACEOF
   17345 if ac_fn_c_try_link "$LINENO"
   17346 then :
   17347   eval $cacheid=yes
   17348 else case e in #(
   17349   e) eval $cacheid=no ;;
   17350 esac
   17351 fi
   17352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17353     conftest$ac_exeext conftest.$ac_ext ;;
   17354 esac
   17355 fi
   17356 
   17357 
   17358 		CFLAGS="$xorg_testset_save_CFLAGS"
   17359 
   17360 		eval supported=\$$cacheid
   17361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17362 printf "%s\n" "$supported" >&6; }
   17363 		if test "$supported" = "yes" ; then
   17364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17365 			found="yes"
   17366 		fi
   17367 	fi
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 xorg_testset_save_CFLAGS="$CFLAGS"
   17384 
   17385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17388 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17389 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17390 then :
   17391   printf %s "(cached) " >&6
   17392 else case e in #(
   17393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17394 /* end confdefs.h.  */
   17395 int i;
   17396 _ACEOF
   17397 if ac_fn_c_try_compile "$LINENO"
   17398 then :
   17399   xorg_cv_cc_flag_unknown_warning_option=yes
   17400 else case e in #(
   17401   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17402 esac
   17403 fi
   17404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17405 esac
   17406 fi
   17407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17410 	CFLAGS="$xorg_testset_save_CFLAGS"
   17411 fi
   17412 
   17413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17416 	fi
   17417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17421 then :
   17422   printf %s "(cached) " >&6
   17423 else case e in #(
   17424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17425 /* end confdefs.h.  */
   17426 int i;
   17427 _ACEOF
   17428 if ac_fn_c_try_compile "$LINENO"
   17429 then :
   17430   xorg_cv_cc_flag_unused_command_line_argument=yes
   17431 else case e in #(
   17432   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17433 esac
   17434 fi
   17435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17436 esac
   17437 fi
   17438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17439 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17441 	CFLAGS="$xorg_testset_save_CFLAGS"
   17442 fi
   17443 
   17444 found="no"
   17445 
   17446 	if test $found = "no" ; then
   17447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17449 		fi
   17450 
   17451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17453 		fi
   17454 
   17455 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17456 
   17457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17458 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17459 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17460 		if eval test \${$cacheid+y}
   17461 then :
   17462   printf %s "(cached) " >&6
   17463 else case e in #(
   17464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17465 /* end confdefs.h.  */
   17466 int i;
   17467 int
   17468 main (void)
   17469 {
   17470 
   17471   ;
   17472   return 0;
   17473 }
   17474 _ACEOF
   17475 if ac_fn_c_try_link "$LINENO"
   17476 then :
   17477   eval $cacheid=yes
   17478 else case e in #(
   17479   e) eval $cacheid=no ;;
   17480 esac
   17481 fi
   17482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17483     conftest$ac_exeext conftest.$ac_ext ;;
   17484 esac
   17485 fi
   17486 
   17487 
   17488 		CFLAGS="$xorg_testset_save_CFLAGS"
   17489 
   17490 		eval supported=\$$cacheid
   17491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17492 printf "%s\n" "$supported" >&6; }
   17493 		if test "$supported" = "yes" ; then
   17494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17495 			found="yes"
   17496 		fi
   17497 	fi
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 xorg_testset_save_CFLAGS="$CFLAGS"
   17514 
   17515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17520 then :
   17521   printf %s "(cached) " >&6
   17522 else case e in #(
   17523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17524 /* end confdefs.h.  */
   17525 int i;
   17526 _ACEOF
   17527 if ac_fn_c_try_compile "$LINENO"
   17528 then :
   17529   xorg_cv_cc_flag_unknown_warning_option=yes
   17530 else case e in #(
   17531   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17532 esac
   17533 fi
   17534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17535 esac
   17536 fi
   17537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17540 	CFLAGS="$xorg_testset_save_CFLAGS"
   17541 fi
   17542 
   17543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17546 	fi
   17547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17551 then :
   17552   printf %s "(cached) " >&6
   17553 else case e in #(
   17554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17555 /* end confdefs.h.  */
   17556 int i;
   17557 _ACEOF
   17558 if ac_fn_c_try_compile "$LINENO"
   17559 then :
   17560   xorg_cv_cc_flag_unused_command_line_argument=yes
   17561 else case e in #(
   17562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17563 esac
   17564 fi
   17565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17566 esac
   17567 fi
   17568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17571 	CFLAGS="$xorg_testset_save_CFLAGS"
   17572 fi
   17573 
   17574 found="no"
   17575 
   17576 	if test $found = "no" ; then
   17577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17579 		fi
   17580 
   17581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17583 		fi
   17584 
   17585 		CFLAGS="$CFLAGS -Werror=write-strings"
   17586 
   17587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17588 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17589 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17590 		if eval test \${$cacheid+y}
   17591 then :
   17592   printf %s "(cached) " >&6
   17593 else case e in #(
   17594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17595 /* end confdefs.h.  */
   17596 int i;
   17597 int
   17598 main (void)
   17599 {
   17600 
   17601   ;
   17602   return 0;
   17603 }
   17604 _ACEOF
   17605 if ac_fn_c_try_link "$LINENO"
   17606 then :
   17607   eval $cacheid=yes
   17608 else case e in #(
   17609   e) eval $cacheid=no ;;
   17610 esac
   17611 fi
   17612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17613     conftest$ac_exeext conftest.$ac_ext ;;
   17614 esac
   17615 fi
   17616 
   17617 
   17618 		CFLAGS="$xorg_testset_save_CFLAGS"
   17619 
   17620 		eval supported=\$$cacheid
   17621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17622 printf "%s\n" "$supported" >&6; }
   17623 		if test "$supported" = "yes" ; then
   17624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17625 			found="yes"
   17626 		fi
   17627 	fi
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 xorg_testset_save_CFLAGS="$CFLAGS"
   17644 
   17645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17650 then :
   17651   printf %s "(cached) " >&6
   17652 else case e in #(
   17653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17654 /* end confdefs.h.  */
   17655 int i;
   17656 _ACEOF
   17657 if ac_fn_c_try_compile "$LINENO"
   17658 then :
   17659   xorg_cv_cc_flag_unknown_warning_option=yes
   17660 else case e in #(
   17661   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17662 esac
   17663 fi
   17664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17665 esac
   17666 fi
   17667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17670 	CFLAGS="$xorg_testset_save_CFLAGS"
   17671 fi
   17672 
   17673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17676 	fi
   17677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17681 then :
   17682   printf %s "(cached) " >&6
   17683 else case e in #(
   17684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17685 /* end confdefs.h.  */
   17686 int i;
   17687 _ACEOF
   17688 if ac_fn_c_try_compile "$LINENO"
   17689 then :
   17690   xorg_cv_cc_flag_unused_command_line_argument=yes
   17691 else case e in #(
   17692   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17693 esac
   17694 fi
   17695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17696 esac
   17697 fi
   17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17701 	CFLAGS="$xorg_testset_save_CFLAGS"
   17702 fi
   17703 
   17704 found="no"
   17705 
   17706 	if test $found = "no" ; then
   17707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17709 		fi
   17710 
   17711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17713 		fi
   17714 
   17715 		CFLAGS="$CFLAGS -Werror=address"
   17716 
   17717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17718 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17719 		cacheid=xorg_cv_cc_flag__Werror_address
   17720 		if eval test \${$cacheid+y}
   17721 then :
   17722   printf %s "(cached) " >&6
   17723 else case e in #(
   17724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17725 /* end confdefs.h.  */
   17726 int i;
   17727 int
   17728 main (void)
   17729 {
   17730 
   17731   ;
   17732   return 0;
   17733 }
   17734 _ACEOF
   17735 if ac_fn_c_try_link "$LINENO"
   17736 then :
   17737   eval $cacheid=yes
   17738 else case e in #(
   17739   e) eval $cacheid=no ;;
   17740 esac
   17741 fi
   17742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17743     conftest$ac_exeext conftest.$ac_ext ;;
   17744 esac
   17745 fi
   17746 
   17747 
   17748 		CFLAGS="$xorg_testset_save_CFLAGS"
   17749 
   17750 		eval supported=\$$cacheid
   17751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17752 printf "%s\n" "$supported" >&6; }
   17753 		if test "$supported" = "yes" ; then
   17754 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17755 			found="yes"
   17756 		fi
   17757 	fi
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 xorg_testset_save_CFLAGS="$CFLAGS"
   17774 
   17775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17780 then :
   17781   printf %s "(cached) " >&6
   17782 else case e in #(
   17783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17784 /* end confdefs.h.  */
   17785 int i;
   17786 _ACEOF
   17787 if ac_fn_c_try_compile "$LINENO"
   17788 then :
   17789   xorg_cv_cc_flag_unknown_warning_option=yes
   17790 else case e in #(
   17791   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17792 esac
   17793 fi
   17794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17795 esac
   17796 fi
   17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17800 	CFLAGS="$xorg_testset_save_CFLAGS"
   17801 fi
   17802 
   17803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17806 	fi
   17807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17811 then :
   17812   printf %s "(cached) " >&6
   17813 else case e in #(
   17814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 _ACEOF
   17818 if ac_fn_c_try_compile "$LINENO"
   17819 then :
   17820   xorg_cv_cc_flag_unused_command_line_argument=yes
   17821 else case e in #(
   17822   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17823 esac
   17824 fi
   17825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17826 esac
   17827 fi
   17828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17829 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17831 	CFLAGS="$xorg_testset_save_CFLAGS"
   17832 fi
   17833 
   17834 found="no"
   17835 
   17836 	if test $found = "no" ; then
   17837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17839 		fi
   17840 
   17841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17843 		fi
   17844 
   17845 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17846 
   17847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17848 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17849 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17850 		if eval test \${$cacheid+y}
   17851 then :
   17852   printf %s "(cached) " >&6
   17853 else case e in #(
   17854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17855 /* end confdefs.h.  */
   17856 int i;
   17857 int
   17858 main (void)
   17859 {
   17860 
   17861   ;
   17862   return 0;
   17863 }
   17864 _ACEOF
   17865 if ac_fn_c_try_link "$LINENO"
   17866 then :
   17867   eval $cacheid=yes
   17868 else case e in #(
   17869   e) eval $cacheid=no ;;
   17870 esac
   17871 fi
   17872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17873     conftest$ac_exeext conftest.$ac_ext ;;
   17874 esac
   17875 fi
   17876 
   17877 
   17878 		CFLAGS="$xorg_testset_save_CFLAGS"
   17879 
   17880 		eval supported=\$$cacheid
   17881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17882 printf "%s\n" "$supported" >&6; }
   17883 		if test "$supported" = "yes" ; then
   17884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17885 			found="yes"
   17886 		fi
   17887 	fi
   17888 
   17889 	if test $found = "no" ; then
   17890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17892 		fi
   17893 
   17894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17896 		fi
   17897 
   17898 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17899 
   17900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17901 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17902 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17903 		if eval test \${$cacheid+y}
   17904 then :
   17905   printf %s "(cached) " >&6
   17906 else case e in #(
   17907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17908 /* end confdefs.h.  */
   17909 int i;
   17910 int
   17911 main (void)
   17912 {
   17913 
   17914   ;
   17915   return 0;
   17916 }
   17917 _ACEOF
   17918 if ac_fn_c_try_link "$LINENO"
   17919 then :
   17920   eval $cacheid=yes
   17921 else case e in #(
   17922   e) eval $cacheid=no ;;
   17923 esac
   17924 fi
   17925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17926     conftest$ac_exeext conftest.$ac_ext ;;
   17927 esac
   17928 fi
   17929 
   17930 
   17931 		CFLAGS="$xorg_testset_save_CFLAGS"
   17932 
   17933 		eval supported=\$$cacheid
   17934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17935 printf "%s\n" "$supported" >&6; }
   17936 		if test "$supported" = "yes" ; then
   17937 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17938 			found="yes"
   17939 		fi
   17940 	fi
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 xorg_testset_save_CFLAGS="$CFLAGS"
   17957 
   17958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17963 then :
   17964   printf %s "(cached) " >&6
   17965 else case e in #(
   17966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17967 /* end confdefs.h.  */
   17968 int i;
   17969 _ACEOF
   17970 if ac_fn_c_try_compile "$LINENO"
   17971 then :
   17972   xorg_cv_cc_flag_unknown_warning_option=yes
   17973 else case e in #(
   17974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17975 esac
   17976 fi
   17977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17978 esac
   17979 fi
   17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17983 	CFLAGS="$xorg_testset_save_CFLAGS"
   17984 fi
   17985 
   17986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17989 	fi
   17990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17994 then :
   17995   printf %s "(cached) " >&6
   17996 else case e in #(
   17997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17998 /* end confdefs.h.  */
   17999 int i;
   18000 _ACEOF
   18001 if ac_fn_c_try_compile "$LINENO"
   18002 then :
   18003   xorg_cv_cc_flag_unused_command_line_argument=yes
   18004 else case e in #(
   18005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18006 esac
   18007 fi
   18008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18009 esac
   18010 fi
   18011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18014 	CFLAGS="$xorg_testset_save_CFLAGS"
   18015 fi
   18016 
   18017 found="no"
   18018 
   18019 	if test $found = "no" ; then
   18020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18022 		fi
   18023 
   18024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18026 		fi
   18027 
   18028 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18029 
   18030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18031 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18032 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18033 		if eval test \${$cacheid+y}
   18034 then :
   18035   printf %s "(cached) " >&6
   18036 else case e in #(
   18037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18038 /* end confdefs.h.  */
   18039 int i;
   18040 int
   18041 main (void)
   18042 {
   18043 
   18044   ;
   18045   return 0;
   18046 }
   18047 _ACEOF
   18048 if ac_fn_c_try_link "$LINENO"
   18049 then :
   18050   eval $cacheid=yes
   18051 else case e in #(
   18052   e) eval $cacheid=no ;;
   18053 esac
   18054 fi
   18055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18056     conftest$ac_exeext conftest.$ac_ext ;;
   18057 esac
   18058 fi
   18059 
   18060 
   18061 		CFLAGS="$xorg_testset_save_CFLAGS"
   18062 
   18063 		eval supported=\$$cacheid
   18064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18065 printf "%s\n" "$supported" >&6; }
   18066 		if test "$supported" = "yes" ; then
   18067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18068 			found="yes"
   18069 		fi
   18070 	fi
   18071 
   18072  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18073 else
   18074 { 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
   18075 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;}
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 xorg_testset_save_CFLAGS="$CFLAGS"
   18090 
   18091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18096 then :
   18097   printf %s "(cached) " >&6
   18098 else case e in #(
   18099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18100 /* end confdefs.h.  */
   18101 int i;
   18102 _ACEOF
   18103 if ac_fn_c_try_compile "$LINENO"
   18104 then :
   18105   xorg_cv_cc_flag_unknown_warning_option=yes
   18106 else case e in #(
   18107   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18108 esac
   18109 fi
   18110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18111 esac
   18112 fi
   18113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18116 	CFLAGS="$xorg_testset_save_CFLAGS"
   18117 fi
   18118 
   18119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18122 	fi
   18123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18127 then :
   18128   printf %s "(cached) " >&6
   18129 else case e in #(
   18130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18131 /* end confdefs.h.  */
   18132 int i;
   18133 _ACEOF
   18134 if ac_fn_c_try_compile "$LINENO"
   18135 then :
   18136   xorg_cv_cc_flag_unused_command_line_argument=yes
   18137 else case e in #(
   18138   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18139 esac
   18140 fi
   18141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18142 esac
   18143 fi
   18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18147 	CFLAGS="$xorg_testset_save_CFLAGS"
   18148 fi
   18149 
   18150 found="no"
   18151 
   18152 	if test $found = "no" ; then
   18153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18155 		fi
   18156 
   18157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18159 		fi
   18160 
   18161 		CFLAGS="$CFLAGS -Wimplicit"
   18162 
   18163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18164 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18165 		cacheid=xorg_cv_cc_flag__Wimplicit
   18166 		if eval test \${$cacheid+y}
   18167 then :
   18168   printf %s "(cached) " >&6
   18169 else case e in #(
   18170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18171 /* end confdefs.h.  */
   18172 int i;
   18173 int
   18174 main (void)
   18175 {
   18176 
   18177   ;
   18178   return 0;
   18179 }
   18180 _ACEOF
   18181 if ac_fn_c_try_link "$LINENO"
   18182 then :
   18183   eval $cacheid=yes
   18184 else case e in #(
   18185   e) eval $cacheid=no ;;
   18186 esac
   18187 fi
   18188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18189     conftest$ac_exeext conftest.$ac_ext ;;
   18190 esac
   18191 fi
   18192 
   18193 
   18194 		CFLAGS="$xorg_testset_save_CFLAGS"
   18195 
   18196 		eval supported=\$$cacheid
   18197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18198 printf "%s\n" "$supported" >&6; }
   18199 		if test "$supported" = "yes" ; then
   18200 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18201 			found="yes"
   18202 		fi
   18203 	fi
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 
   18217 
   18218 
   18219 xorg_testset_save_CFLAGS="$CFLAGS"
   18220 
   18221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18226 then :
   18227   printf %s "(cached) " >&6
   18228 else case e in #(
   18229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18230 /* end confdefs.h.  */
   18231 int i;
   18232 _ACEOF
   18233 if ac_fn_c_try_compile "$LINENO"
   18234 then :
   18235   xorg_cv_cc_flag_unknown_warning_option=yes
   18236 else case e in #(
   18237   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18238 esac
   18239 fi
   18240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18241 esac
   18242 fi
   18243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18246 	CFLAGS="$xorg_testset_save_CFLAGS"
   18247 fi
   18248 
   18249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18252 	fi
   18253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18257 then :
   18258   printf %s "(cached) " >&6
   18259 else case e in #(
   18260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18261 /* end confdefs.h.  */
   18262 int i;
   18263 _ACEOF
   18264 if ac_fn_c_try_compile "$LINENO"
   18265 then :
   18266   xorg_cv_cc_flag_unused_command_line_argument=yes
   18267 else case e in #(
   18268   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18269 esac
   18270 fi
   18271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18272 esac
   18273 fi
   18274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18277 	CFLAGS="$xorg_testset_save_CFLAGS"
   18278 fi
   18279 
   18280 found="no"
   18281 
   18282 	if test $found = "no" ; then
   18283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18285 		fi
   18286 
   18287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18289 		fi
   18290 
   18291 		CFLAGS="$CFLAGS -Wnonnull"
   18292 
   18293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18294 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18295 		cacheid=xorg_cv_cc_flag__Wnonnull
   18296 		if eval test \${$cacheid+y}
   18297 then :
   18298   printf %s "(cached) " >&6
   18299 else case e in #(
   18300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18301 /* end confdefs.h.  */
   18302 int i;
   18303 int
   18304 main (void)
   18305 {
   18306 
   18307   ;
   18308   return 0;
   18309 }
   18310 _ACEOF
   18311 if ac_fn_c_try_link "$LINENO"
   18312 then :
   18313   eval $cacheid=yes
   18314 else case e in #(
   18315   e) eval $cacheid=no ;;
   18316 esac
   18317 fi
   18318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18319     conftest$ac_exeext conftest.$ac_ext ;;
   18320 esac
   18321 fi
   18322 
   18323 
   18324 		CFLAGS="$xorg_testset_save_CFLAGS"
   18325 
   18326 		eval supported=\$$cacheid
   18327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18328 printf "%s\n" "$supported" >&6; }
   18329 		if test "$supported" = "yes" ; then
   18330 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18331 			found="yes"
   18332 		fi
   18333 	fi
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 xorg_testset_save_CFLAGS="$CFLAGS"
   18350 
   18351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18356 then :
   18357   printf %s "(cached) " >&6
   18358 else case e in #(
   18359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18360 /* end confdefs.h.  */
   18361 int i;
   18362 _ACEOF
   18363 if ac_fn_c_try_compile "$LINENO"
   18364 then :
   18365   xorg_cv_cc_flag_unknown_warning_option=yes
   18366 else case e in #(
   18367   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18368 esac
   18369 fi
   18370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18371 esac
   18372 fi
   18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18376 	CFLAGS="$xorg_testset_save_CFLAGS"
   18377 fi
   18378 
   18379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18382 	fi
   18383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18387 then :
   18388   printf %s "(cached) " >&6
   18389 else case e in #(
   18390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18391 /* end confdefs.h.  */
   18392 int i;
   18393 _ACEOF
   18394 if ac_fn_c_try_compile "$LINENO"
   18395 then :
   18396   xorg_cv_cc_flag_unused_command_line_argument=yes
   18397 else case e in #(
   18398   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18399 esac
   18400 fi
   18401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18402 esac
   18403 fi
   18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18407 	CFLAGS="$xorg_testset_save_CFLAGS"
   18408 fi
   18409 
   18410 found="no"
   18411 
   18412 	if test $found = "no" ; then
   18413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18415 		fi
   18416 
   18417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18419 		fi
   18420 
   18421 		CFLAGS="$CFLAGS -Winit-self"
   18422 
   18423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18424 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18425 		cacheid=xorg_cv_cc_flag__Winit_self
   18426 		if eval test \${$cacheid+y}
   18427 then :
   18428   printf %s "(cached) " >&6
   18429 else case e in #(
   18430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18431 /* end confdefs.h.  */
   18432 int i;
   18433 int
   18434 main (void)
   18435 {
   18436 
   18437   ;
   18438   return 0;
   18439 }
   18440 _ACEOF
   18441 if ac_fn_c_try_link "$LINENO"
   18442 then :
   18443   eval $cacheid=yes
   18444 else case e in #(
   18445   e) eval $cacheid=no ;;
   18446 esac
   18447 fi
   18448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18449     conftest$ac_exeext conftest.$ac_ext ;;
   18450 esac
   18451 fi
   18452 
   18453 
   18454 		CFLAGS="$xorg_testset_save_CFLAGS"
   18455 
   18456 		eval supported=\$$cacheid
   18457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18458 printf "%s\n" "$supported" >&6; }
   18459 		if test "$supported" = "yes" ; then
   18460 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18461 			found="yes"
   18462 		fi
   18463 	fi
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 xorg_testset_save_CFLAGS="$CFLAGS"
   18480 
   18481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18486 then :
   18487   printf %s "(cached) " >&6
   18488 else case e in #(
   18489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18490 /* end confdefs.h.  */
   18491 int i;
   18492 _ACEOF
   18493 if ac_fn_c_try_compile "$LINENO"
   18494 then :
   18495   xorg_cv_cc_flag_unknown_warning_option=yes
   18496 else case e in #(
   18497   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18498 esac
   18499 fi
   18500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18501 esac
   18502 fi
   18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18506 	CFLAGS="$xorg_testset_save_CFLAGS"
   18507 fi
   18508 
   18509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18512 	fi
   18513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18517 then :
   18518   printf %s "(cached) " >&6
   18519 else case e in #(
   18520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18521 /* end confdefs.h.  */
   18522 int i;
   18523 _ACEOF
   18524 if ac_fn_c_try_compile "$LINENO"
   18525 then :
   18526   xorg_cv_cc_flag_unused_command_line_argument=yes
   18527 else case e in #(
   18528   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18529 esac
   18530 fi
   18531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18532 esac
   18533 fi
   18534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18537 	CFLAGS="$xorg_testset_save_CFLAGS"
   18538 fi
   18539 
   18540 found="no"
   18541 
   18542 	if test $found = "no" ; then
   18543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18545 		fi
   18546 
   18547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18549 		fi
   18550 
   18551 		CFLAGS="$CFLAGS -Wmain"
   18552 
   18553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18554 printf %s "checking if $CC supports -Wmain... " >&6; }
   18555 		cacheid=xorg_cv_cc_flag__Wmain
   18556 		if eval test \${$cacheid+y}
   18557 then :
   18558   printf %s "(cached) " >&6
   18559 else case e in #(
   18560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18561 /* end confdefs.h.  */
   18562 int i;
   18563 int
   18564 main (void)
   18565 {
   18566 
   18567   ;
   18568   return 0;
   18569 }
   18570 _ACEOF
   18571 if ac_fn_c_try_link "$LINENO"
   18572 then :
   18573   eval $cacheid=yes
   18574 else case e in #(
   18575   e) eval $cacheid=no ;;
   18576 esac
   18577 fi
   18578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18579     conftest$ac_exeext conftest.$ac_ext ;;
   18580 esac
   18581 fi
   18582 
   18583 
   18584 		CFLAGS="$xorg_testset_save_CFLAGS"
   18585 
   18586 		eval supported=\$$cacheid
   18587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18588 printf "%s\n" "$supported" >&6; }
   18589 		if test "$supported" = "yes" ; then
   18590 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18591 			found="yes"
   18592 		fi
   18593 	fi
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 xorg_testset_save_CFLAGS="$CFLAGS"
   18610 
   18611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18616 then :
   18617   printf %s "(cached) " >&6
   18618 else case e in #(
   18619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18620 /* end confdefs.h.  */
   18621 int i;
   18622 _ACEOF
   18623 if ac_fn_c_try_compile "$LINENO"
   18624 then :
   18625   xorg_cv_cc_flag_unknown_warning_option=yes
   18626 else case e in #(
   18627   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18628 esac
   18629 fi
   18630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18631 esac
   18632 fi
   18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18636 	CFLAGS="$xorg_testset_save_CFLAGS"
   18637 fi
   18638 
   18639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18642 	fi
   18643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18647 then :
   18648   printf %s "(cached) " >&6
   18649 else case e in #(
   18650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18651 /* end confdefs.h.  */
   18652 int i;
   18653 _ACEOF
   18654 if ac_fn_c_try_compile "$LINENO"
   18655 then :
   18656   xorg_cv_cc_flag_unused_command_line_argument=yes
   18657 else case e in #(
   18658   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18659 esac
   18660 fi
   18661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18662 esac
   18663 fi
   18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18667 	CFLAGS="$xorg_testset_save_CFLAGS"
   18668 fi
   18669 
   18670 found="no"
   18671 
   18672 	if test $found = "no" ; then
   18673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18675 		fi
   18676 
   18677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18679 		fi
   18680 
   18681 		CFLAGS="$CFLAGS -Wmissing-braces"
   18682 
   18683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18684 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18685 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18686 		if eval test \${$cacheid+y}
   18687 then :
   18688   printf %s "(cached) " >&6
   18689 else case e in #(
   18690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18691 /* end confdefs.h.  */
   18692 int i;
   18693 int
   18694 main (void)
   18695 {
   18696 
   18697   ;
   18698   return 0;
   18699 }
   18700 _ACEOF
   18701 if ac_fn_c_try_link "$LINENO"
   18702 then :
   18703   eval $cacheid=yes
   18704 else case e in #(
   18705   e) eval $cacheid=no ;;
   18706 esac
   18707 fi
   18708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18709     conftest$ac_exeext conftest.$ac_ext ;;
   18710 esac
   18711 fi
   18712 
   18713 
   18714 		CFLAGS="$xorg_testset_save_CFLAGS"
   18715 
   18716 		eval supported=\$$cacheid
   18717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18718 printf "%s\n" "$supported" >&6; }
   18719 		if test "$supported" = "yes" ; then
   18720 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18721 			found="yes"
   18722 		fi
   18723 	fi
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 xorg_testset_save_CFLAGS="$CFLAGS"
   18740 
   18741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18744 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18745 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18746 then :
   18747   printf %s "(cached) " >&6
   18748 else case e in #(
   18749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18750 /* end confdefs.h.  */
   18751 int i;
   18752 _ACEOF
   18753 if ac_fn_c_try_compile "$LINENO"
   18754 then :
   18755   xorg_cv_cc_flag_unknown_warning_option=yes
   18756 else case e in #(
   18757   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18758 esac
   18759 fi
   18760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18761 esac
   18762 fi
   18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18766 	CFLAGS="$xorg_testset_save_CFLAGS"
   18767 fi
   18768 
   18769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18772 	fi
   18773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18777 then :
   18778   printf %s "(cached) " >&6
   18779 else case e in #(
   18780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18781 /* end confdefs.h.  */
   18782 int i;
   18783 _ACEOF
   18784 if ac_fn_c_try_compile "$LINENO"
   18785 then :
   18786   xorg_cv_cc_flag_unused_command_line_argument=yes
   18787 else case e in #(
   18788   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18789 esac
   18790 fi
   18791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18792 esac
   18793 fi
   18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18797 	CFLAGS="$xorg_testset_save_CFLAGS"
   18798 fi
   18799 
   18800 found="no"
   18801 
   18802 	if test $found = "no" ; then
   18803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18805 		fi
   18806 
   18807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18809 		fi
   18810 
   18811 		CFLAGS="$CFLAGS -Wsequence-point"
   18812 
   18813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18814 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18815 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18816 		if eval test \${$cacheid+y}
   18817 then :
   18818   printf %s "(cached) " >&6
   18819 else case e in #(
   18820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18821 /* end confdefs.h.  */
   18822 int i;
   18823 int
   18824 main (void)
   18825 {
   18826 
   18827   ;
   18828   return 0;
   18829 }
   18830 _ACEOF
   18831 if ac_fn_c_try_link "$LINENO"
   18832 then :
   18833   eval $cacheid=yes
   18834 else case e in #(
   18835   e) eval $cacheid=no ;;
   18836 esac
   18837 fi
   18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18839     conftest$ac_exeext conftest.$ac_ext ;;
   18840 esac
   18841 fi
   18842 
   18843 
   18844 		CFLAGS="$xorg_testset_save_CFLAGS"
   18845 
   18846 		eval supported=\$$cacheid
   18847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18848 printf "%s\n" "$supported" >&6; }
   18849 		if test "$supported" = "yes" ; then
   18850 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18851 			found="yes"
   18852 		fi
   18853 	fi
   18854 
   18855 
   18856 
   18857 
   18858 
   18859 
   18860 
   18861 
   18862 
   18863 
   18864 
   18865 
   18866 
   18867 
   18868 
   18869 xorg_testset_save_CFLAGS="$CFLAGS"
   18870 
   18871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18876 then :
   18877   printf %s "(cached) " >&6
   18878 else case e in #(
   18879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18880 /* end confdefs.h.  */
   18881 int i;
   18882 _ACEOF
   18883 if ac_fn_c_try_compile "$LINENO"
   18884 then :
   18885   xorg_cv_cc_flag_unknown_warning_option=yes
   18886 else case e in #(
   18887   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18888 esac
   18889 fi
   18890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18891 esac
   18892 fi
   18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18896 	CFLAGS="$xorg_testset_save_CFLAGS"
   18897 fi
   18898 
   18899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18902 	fi
   18903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18907 then :
   18908   printf %s "(cached) " >&6
   18909 else case e in #(
   18910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18911 /* end confdefs.h.  */
   18912 int i;
   18913 _ACEOF
   18914 if ac_fn_c_try_compile "$LINENO"
   18915 then :
   18916   xorg_cv_cc_flag_unused_command_line_argument=yes
   18917 else case e in #(
   18918   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18919 esac
   18920 fi
   18921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18922 esac
   18923 fi
   18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18927 	CFLAGS="$xorg_testset_save_CFLAGS"
   18928 fi
   18929 
   18930 found="no"
   18931 
   18932 	if test $found = "no" ; then
   18933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18935 		fi
   18936 
   18937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18939 		fi
   18940 
   18941 		CFLAGS="$CFLAGS -Wreturn-type"
   18942 
   18943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18944 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18945 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18946 		if eval test \${$cacheid+y}
   18947 then :
   18948   printf %s "(cached) " >&6
   18949 else case e in #(
   18950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18951 /* end confdefs.h.  */
   18952 int i;
   18953 int
   18954 main (void)
   18955 {
   18956 
   18957   ;
   18958   return 0;
   18959 }
   18960 _ACEOF
   18961 if ac_fn_c_try_link "$LINENO"
   18962 then :
   18963   eval $cacheid=yes
   18964 else case e in #(
   18965   e) eval $cacheid=no ;;
   18966 esac
   18967 fi
   18968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18969     conftest$ac_exeext conftest.$ac_ext ;;
   18970 esac
   18971 fi
   18972 
   18973 
   18974 		CFLAGS="$xorg_testset_save_CFLAGS"
   18975 
   18976 		eval supported=\$$cacheid
   18977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18978 printf "%s\n" "$supported" >&6; }
   18979 		if test "$supported" = "yes" ; then
   18980 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18981 			found="yes"
   18982 		fi
   18983 	fi
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 xorg_testset_save_CFLAGS="$CFLAGS"
   19000 
   19001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19004 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19005 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19006 then :
   19007   printf %s "(cached) " >&6
   19008 else case e in #(
   19009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19010 /* end confdefs.h.  */
   19011 int i;
   19012 _ACEOF
   19013 if ac_fn_c_try_compile "$LINENO"
   19014 then :
   19015   xorg_cv_cc_flag_unknown_warning_option=yes
   19016 else case e in #(
   19017   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19018 esac
   19019 fi
   19020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19021 esac
   19022 fi
   19023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19024 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19026 	CFLAGS="$xorg_testset_save_CFLAGS"
   19027 fi
   19028 
   19029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19032 	fi
   19033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19035 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19036 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19037 then :
   19038   printf %s "(cached) " >&6
   19039 else case e in #(
   19040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19041 /* end confdefs.h.  */
   19042 int i;
   19043 _ACEOF
   19044 if ac_fn_c_try_compile "$LINENO"
   19045 then :
   19046   xorg_cv_cc_flag_unused_command_line_argument=yes
   19047 else case e in #(
   19048   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19049 esac
   19050 fi
   19051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19052 esac
   19053 fi
   19054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19055 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19057 	CFLAGS="$xorg_testset_save_CFLAGS"
   19058 fi
   19059 
   19060 found="no"
   19061 
   19062 	if test $found = "no" ; then
   19063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19065 		fi
   19066 
   19067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19069 		fi
   19070 
   19071 		CFLAGS="$CFLAGS -Wtrigraphs"
   19072 
   19073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19074 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19075 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19076 		if eval test \${$cacheid+y}
   19077 then :
   19078   printf %s "(cached) " >&6
   19079 else case e in #(
   19080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19081 /* end confdefs.h.  */
   19082 int i;
   19083 int
   19084 main (void)
   19085 {
   19086 
   19087   ;
   19088   return 0;
   19089 }
   19090 _ACEOF
   19091 if ac_fn_c_try_link "$LINENO"
   19092 then :
   19093   eval $cacheid=yes
   19094 else case e in #(
   19095   e) eval $cacheid=no ;;
   19096 esac
   19097 fi
   19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19099     conftest$ac_exeext conftest.$ac_ext ;;
   19100 esac
   19101 fi
   19102 
   19103 
   19104 		CFLAGS="$xorg_testset_save_CFLAGS"
   19105 
   19106 		eval supported=\$$cacheid
   19107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19108 printf "%s\n" "$supported" >&6; }
   19109 		if test "$supported" = "yes" ; then
   19110 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19111 			found="yes"
   19112 		fi
   19113 	fi
   19114 
   19115 
   19116 
   19117 
   19118 
   19119 
   19120 
   19121 
   19122 
   19123 
   19124 
   19125 
   19126 
   19127 
   19128 
   19129 xorg_testset_save_CFLAGS="$CFLAGS"
   19130 
   19131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19136 then :
   19137   printf %s "(cached) " >&6
   19138 else case e in #(
   19139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19140 /* end confdefs.h.  */
   19141 int i;
   19142 _ACEOF
   19143 if ac_fn_c_try_compile "$LINENO"
   19144 then :
   19145   xorg_cv_cc_flag_unknown_warning_option=yes
   19146 else case e in #(
   19147   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19148 esac
   19149 fi
   19150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19151 esac
   19152 fi
   19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19156 	CFLAGS="$xorg_testset_save_CFLAGS"
   19157 fi
   19158 
   19159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19162 	fi
   19163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19167 then :
   19168   printf %s "(cached) " >&6
   19169 else case e in #(
   19170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19171 /* end confdefs.h.  */
   19172 int i;
   19173 _ACEOF
   19174 if ac_fn_c_try_compile "$LINENO"
   19175 then :
   19176   xorg_cv_cc_flag_unused_command_line_argument=yes
   19177 else case e in #(
   19178   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19179 esac
   19180 fi
   19181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19182 esac
   19183 fi
   19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19187 	CFLAGS="$xorg_testset_save_CFLAGS"
   19188 fi
   19189 
   19190 found="no"
   19191 
   19192 	if test $found = "no" ; then
   19193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19195 		fi
   19196 
   19197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19199 		fi
   19200 
   19201 		CFLAGS="$CFLAGS -Warray-bounds"
   19202 
   19203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19204 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19205 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19206 		if eval test \${$cacheid+y}
   19207 then :
   19208   printf %s "(cached) " >&6
   19209 else case e in #(
   19210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19211 /* end confdefs.h.  */
   19212 int i;
   19213 int
   19214 main (void)
   19215 {
   19216 
   19217   ;
   19218   return 0;
   19219 }
   19220 _ACEOF
   19221 if ac_fn_c_try_link "$LINENO"
   19222 then :
   19223   eval $cacheid=yes
   19224 else case e in #(
   19225   e) eval $cacheid=no ;;
   19226 esac
   19227 fi
   19228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19229     conftest$ac_exeext conftest.$ac_ext ;;
   19230 esac
   19231 fi
   19232 
   19233 
   19234 		CFLAGS="$xorg_testset_save_CFLAGS"
   19235 
   19236 		eval supported=\$$cacheid
   19237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19238 printf "%s\n" "$supported" >&6; }
   19239 		if test "$supported" = "yes" ; then
   19240 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19241 			found="yes"
   19242 		fi
   19243 	fi
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258 
   19259 xorg_testset_save_CFLAGS="$CFLAGS"
   19260 
   19261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19266 then :
   19267   printf %s "(cached) " >&6
   19268 else case e in #(
   19269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19270 /* end confdefs.h.  */
   19271 int i;
   19272 _ACEOF
   19273 if ac_fn_c_try_compile "$LINENO"
   19274 then :
   19275   xorg_cv_cc_flag_unknown_warning_option=yes
   19276 else case e in #(
   19277   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19278 esac
   19279 fi
   19280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19281 esac
   19282 fi
   19283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19286 	CFLAGS="$xorg_testset_save_CFLAGS"
   19287 fi
   19288 
   19289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19292 	fi
   19293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19297 then :
   19298   printf %s "(cached) " >&6
   19299 else case e in #(
   19300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19301 /* end confdefs.h.  */
   19302 int i;
   19303 _ACEOF
   19304 if ac_fn_c_try_compile "$LINENO"
   19305 then :
   19306   xorg_cv_cc_flag_unused_command_line_argument=yes
   19307 else case e in #(
   19308   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19309 esac
   19310 fi
   19311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19312 esac
   19313 fi
   19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19315 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19317 	CFLAGS="$xorg_testset_save_CFLAGS"
   19318 fi
   19319 
   19320 found="no"
   19321 
   19322 	if test $found = "no" ; then
   19323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19325 		fi
   19326 
   19327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19329 		fi
   19330 
   19331 		CFLAGS="$CFLAGS -Wwrite-strings"
   19332 
   19333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19334 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19335 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19336 		if eval test \${$cacheid+y}
   19337 then :
   19338   printf %s "(cached) " >&6
   19339 else case e in #(
   19340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19341 /* end confdefs.h.  */
   19342 int i;
   19343 int
   19344 main (void)
   19345 {
   19346 
   19347   ;
   19348   return 0;
   19349 }
   19350 _ACEOF
   19351 if ac_fn_c_try_link "$LINENO"
   19352 then :
   19353   eval $cacheid=yes
   19354 else case e in #(
   19355   e) eval $cacheid=no ;;
   19356 esac
   19357 fi
   19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19359     conftest$ac_exeext conftest.$ac_ext ;;
   19360 esac
   19361 fi
   19362 
   19363 
   19364 		CFLAGS="$xorg_testset_save_CFLAGS"
   19365 
   19366 		eval supported=\$$cacheid
   19367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19368 printf "%s\n" "$supported" >&6; }
   19369 		if test "$supported" = "yes" ; then
   19370 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19371 			found="yes"
   19372 		fi
   19373 	fi
   19374 
   19375 
   19376 
   19377 
   19378 
   19379 
   19380 
   19381 
   19382 
   19383 
   19384 
   19385 
   19386 
   19387 
   19388 
   19389 xorg_testset_save_CFLAGS="$CFLAGS"
   19390 
   19391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19396 then :
   19397   printf %s "(cached) " >&6
   19398 else case e in #(
   19399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19400 /* end confdefs.h.  */
   19401 int i;
   19402 _ACEOF
   19403 if ac_fn_c_try_compile "$LINENO"
   19404 then :
   19405   xorg_cv_cc_flag_unknown_warning_option=yes
   19406 else case e in #(
   19407   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19408 esac
   19409 fi
   19410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19411 esac
   19412 fi
   19413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19414 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19416 	CFLAGS="$xorg_testset_save_CFLAGS"
   19417 fi
   19418 
   19419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19422 	fi
   19423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19425 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19426 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19427 then :
   19428   printf %s "(cached) " >&6
   19429 else case e in #(
   19430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19431 /* end confdefs.h.  */
   19432 int i;
   19433 _ACEOF
   19434 if ac_fn_c_try_compile "$LINENO"
   19435 then :
   19436   xorg_cv_cc_flag_unused_command_line_argument=yes
   19437 else case e in #(
   19438   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19439 esac
   19440 fi
   19441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19442 esac
   19443 fi
   19444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19447 	CFLAGS="$xorg_testset_save_CFLAGS"
   19448 fi
   19449 
   19450 found="no"
   19451 
   19452 	if test $found = "no" ; then
   19453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19455 		fi
   19456 
   19457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19459 		fi
   19460 
   19461 		CFLAGS="$CFLAGS -Waddress"
   19462 
   19463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19464 printf %s "checking if $CC supports -Waddress... " >&6; }
   19465 		cacheid=xorg_cv_cc_flag__Waddress
   19466 		if eval test \${$cacheid+y}
   19467 then :
   19468   printf %s "(cached) " >&6
   19469 else case e in #(
   19470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19471 /* end confdefs.h.  */
   19472 int i;
   19473 int
   19474 main (void)
   19475 {
   19476 
   19477   ;
   19478   return 0;
   19479 }
   19480 _ACEOF
   19481 if ac_fn_c_try_link "$LINENO"
   19482 then :
   19483   eval $cacheid=yes
   19484 else case e in #(
   19485   e) eval $cacheid=no ;;
   19486 esac
   19487 fi
   19488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19489     conftest$ac_exeext conftest.$ac_ext ;;
   19490 esac
   19491 fi
   19492 
   19493 
   19494 		CFLAGS="$xorg_testset_save_CFLAGS"
   19495 
   19496 		eval supported=\$$cacheid
   19497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19498 printf "%s\n" "$supported" >&6; }
   19499 		if test "$supported" = "yes" ; then
   19500 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19501 			found="yes"
   19502 		fi
   19503 	fi
   19504 
   19505 
   19506 
   19507 
   19508 
   19509 
   19510 
   19511 
   19512 
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 
   19519 xorg_testset_save_CFLAGS="$CFLAGS"
   19520 
   19521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19526 then :
   19527   printf %s "(cached) " >&6
   19528 else case e in #(
   19529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19530 /* end confdefs.h.  */
   19531 int i;
   19532 _ACEOF
   19533 if ac_fn_c_try_compile "$LINENO"
   19534 then :
   19535   xorg_cv_cc_flag_unknown_warning_option=yes
   19536 else case e in #(
   19537   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19538 esac
   19539 fi
   19540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19541 esac
   19542 fi
   19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19546 	CFLAGS="$xorg_testset_save_CFLAGS"
   19547 fi
   19548 
   19549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19552 	fi
   19553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19557 then :
   19558   printf %s "(cached) " >&6
   19559 else case e in #(
   19560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19561 /* end confdefs.h.  */
   19562 int i;
   19563 _ACEOF
   19564 if ac_fn_c_try_compile "$LINENO"
   19565 then :
   19566   xorg_cv_cc_flag_unused_command_line_argument=yes
   19567 else case e in #(
   19568   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19569 esac
   19570 fi
   19571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19572 esac
   19573 fi
   19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19577 	CFLAGS="$xorg_testset_save_CFLAGS"
   19578 fi
   19579 
   19580 found="no"
   19581 
   19582 	if test $found = "no" ; then
   19583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19585 		fi
   19586 
   19587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19589 		fi
   19590 
   19591 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19592 
   19593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19594 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19595 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19596 		if eval test \${$cacheid+y}
   19597 then :
   19598   printf %s "(cached) " >&6
   19599 else case e in #(
   19600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19601 /* end confdefs.h.  */
   19602 int i;
   19603 int
   19604 main (void)
   19605 {
   19606 
   19607   ;
   19608   return 0;
   19609 }
   19610 _ACEOF
   19611 if ac_fn_c_try_link "$LINENO"
   19612 then :
   19613   eval $cacheid=yes
   19614 else case e in #(
   19615   e) eval $cacheid=no ;;
   19616 esac
   19617 fi
   19618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19619     conftest$ac_exeext conftest.$ac_ext ;;
   19620 esac
   19621 fi
   19622 
   19623 
   19624 		CFLAGS="$xorg_testset_save_CFLAGS"
   19625 
   19626 		eval supported=\$$cacheid
   19627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19628 printf "%s\n" "$supported" >&6; }
   19629 		if test "$supported" = "yes" ; then
   19630 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19631 			found="yes"
   19632 		fi
   19633 	fi
   19634 
   19635 
   19636 
   19637 
   19638 
   19639 
   19640 
   19641 
   19642 
   19643 
   19644 
   19645 
   19646 
   19647 
   19648 
   19649 xorg_testset_save_CFLAGS="$CFLAGS"
   19650 
   19651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19656 then :
   19657   printf %s "(cached) " >&6
   19658 else case e in #(
   19659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19660 /* end confdefs.h.  */
   19661 int i;
   19662 _ACEOF
   19663 if ac_fn_c_try_compile "$LINENO"
   19664 then :
   19665   xorg_cv_cc_flag_unknown_warning_option=yes
   19666 else case e in #(
   19667   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19668 esac
   19669 fi
   19670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19671 esac
   19672 fi
   19673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19676 	CFLAGS="$xorg_testset_save_CFLAGS"
   19677 fi
   19678 
   19679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19682 	fi
   19683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19687 then :
   19688   printf %s "(cached) " >&6
   19689 else case e in #(
   19690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19691 /* end confdefs.h.  */
   19692 int i;
   19693 _ACEOF
   19694 if ac_fn_c_try_compile "$LINENO"
   19695 then :
   19696   xorg_cv_cc_flag_unused_command_line_argument=yes
   19697 else case e in #(
   19698   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19699 esac
   19700 fi
   19701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19702 esac
   19703 fi
   19704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19705 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19707 	CFLAGS="$xorg_testset_save_CFLAGS"
   19708 fi
   19709 
   19710 found="no"
   19711 
   19712 	if test $found = "no" ; then
   19713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19715 		fi
   19716 
   19717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19719 		fi
   19720 
   19721 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19722 
   19723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19724 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19725 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19726 		if eval test \${$cacheid+y}
   19727 then :
   19728   printf %s "(cached) " >&6
   19729 else case e in #(
   19730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19731 /* end confdefs.h.  */
   19732 int i;
   19733 int
   19734 main (void)
   19735 {
   19736 
   19737   ;
   19738   return 0;
   19739 }
   19740 _ACEOF
   19741 if ac_fn_c_try_link "$LINENO"
   19742 then :
   19743   eval $cacheid=yes
   19744 else case e in #(
   19745   e) eval $cacheid=no ;;
   19746 esac
   19747 fi
   19748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19749     conftest$ac_exeext conftest.$ac_ext ;;
   19750 esac
   19751 fi
   19752 
   19753 
   19754 		CFLAGS="$xorg_testset_save_CFLAGS"
   19755 
   19756 		eval supported=\$$cacheid
   19757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19758 printf "%s\n" "$supported" >&6; }
   19759 		if test "$supported" = "yes" ; then
   19760 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19761 			found="yes"
   19762 		fi
   19763 	fi
   19764 
   19765 
   19766 fi
   19767 
   19768 
   19769 
   19770 
   19771 
   19772 
   19773 
   19774 		CWARNFLAGS="$BASE_CFLAGS"
   19775 		if  test "x$GCC" = xyes ; then
   19776 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19777 		fi
   19778 
   19779 
   19780 
   19781 
   19782 
   19783 
   19784 
   19785 
   19786 # Check whether --enable-strict-compilation was given.
   19787 if test ${enable_strict_compilation+y}
   19788 then :
   19789   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19790 else case e in #(
   19791   e) STRICT_COMPILE=no ;;
   19792 esac
   19793 fi
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 
   19800 STRICT_CFLAGS=""
   19801 
   19802 
   19803 
   19804 
   19805 
   19806 
   19807 
   19808 
   19809 
   19810 
   19811 
   19812 
   19813 
   19814 xorg_testset_save_CFLAGS="$CFLAGS"
   19815 
   19816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19821 then :
   19822   printf %s "(cached) " >&6
   19823 else case e in #(
   19824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19825 /* end confdefs.h.  */
   19826 int i;
   19827 _ACEOF
   19828 if ac_fn_c_try_compile "$LINENO"
   19829 then :
   19830   xorg_cv_cc_flag_unknown_warning_option=yes
   19831 else case e in #(
   19832   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19833 esac
   19834 fi
   19835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19836 esac
   19837 fi
   19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19841 	CFLAGS="$xorg_testset_save_CFLAGS"
   19842 fi
   19843 
   19844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19847 	fi
   19848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19852 then :
   19853   printf %s "(cached) " >&6
   19854 else case e in #(
   19855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19856 /* end confdefs.h.  */
   19857 int i;
   19858 _ACEOF
   19859 if ac_fn_c_try_compile "$LINENO"
   19860 then :
   19861   xorg_cv_cc_flag_unused_command_line_argument=yes
   19862 else case e in #(
   19863   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19864 esac
   19865 fi
   19866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19867 esac
   19868 fi
   19869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19872 	CFLAGS="$xorg_testset_save_CFLAGS"
   19873 fi
   19874 
   19875 found="no"
   19876 
   19877 	if test $found = "no" ; then
   19878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19880 		fi
   19881 
   19882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19884 		fi
   19885 
   19886 		CFLAGS="$CFLAGS -pedantic"
   19887 
   19888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19889 printf %s "checking if $CC supports -pedantic... " >&6; }
   19890 		cacheid=xorg_cv_cc_flag__pedantic
   19891 		if eval test \${$cacheid+y}
   19892 then :
   19893   printf %s "(cached) " >&6
   19894 else case e in #(
   19895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19896 /* end confdefs.h.  */
   19897 int i;
   19898 int
   19899 main (void)
   19900 {
   19901 
   19902   ;
   19903   return 0;
   19904 }
   19905 _ACEOF
   19906 if ac_fn_c_try_link "$LINENO"
   19907 then :
   19908   eval $cacheid=yes
   19909 else case e in #(
   19910   e) eval $cacheid=no ;;
   19911 esac
   19912 fi
   19913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19914     conftest$ac_exeext conftest.$ac_ext ;;
   19915 esac
   19916 fi
   19917 
   19918 
   19919 		CFLAGS="$xorg_testset_save_CFLAGS"
   19920 
   19921 		eval supported=\$$cacheid
   19922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19923 printf "%s\n" "$supported" >&6; }
   19924 		if test "$supported" = "yes" ; then
   19925 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19926 			found="yes"
   19927 		fi
   19928 	fi
   19929 
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 
   19943 
   19944 xorg_testset_save_CFLAGS="$CFLAGS"
   19945 
   19946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19951 then :
   19952   printf %s "(cached) " >&6
   19953 else case e in #(
   19954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19955 /* end confdefs.h.  */
   19956 int i;
   19957 _ACEOF
   19958 if ac_fn_c_try_compile "$LINENO"
   19959 then :
   19960   xorg_cv_cc_flag_unknown_warning_option=yes
   19961 else case e in #(
   19962   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19963 esac
   19964 fi
   19965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19966 esac
   19967 fi
   19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19971 	CFLAGS="$xorg_testset_save_CFLAGS"
   19972 fi
   19973 
   19974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19977 	fi
   19978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19982 then :
   19983   printf %s "(cached) " >&6
   19984 else case e in #(
   19985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19986 /* end confdefs.h.  */
   19987 int i;
   19988 _ACEOF
   19989 if ac_fn_c_try_compile "$LINENO"
   19990 then :
   19991   xorg_cv_cc_flag_unused_command_line_argument=yes
   19992 else case e in #(
   19993   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19994 esac
   19995 fi
   19996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19997 esac
   19998 fi
   19999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20002 	CFLAGS="$xorg_testset_save_CFLAGS"
   20003 fi
   20004 
   20005 found="no"
   20006 
   20007 	if test $found = "no" ; then
   20008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20010 		fi
   20011 
   20012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20014 		fi
   20015 
   20016 		CFLAGS="$CFLAGS -Werror"
   20017 
   20018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20019 printf %s "checking if $CC supports -Werror... " >&6; }
   20020 		cacheid=xorg_cv_cc_flag__Werror
   20021 		if eval test \${$cacheid+y}
   20022 then :
   20023   printf %s "(cached) " >&6
   20024 else case e in #(
   20025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20026 /* end confdefs.h.  */
   20027 int i;
   20028 int
   20029 main (void)
   20030 {
   20031 
   20032   ;
   20033   return 0;
   20034 }
   20035 _ACEOF
   20036 if ac_fn_c_try_link "$LINENO"
   20037 then :
   20038   eval $cacheid=yes
   20039 else case e in #(
   20040   e) eval $cacheid=no ;;
   20041 esac
   20042 fi
   20043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20044     conftest$ac_exeext conftest.$ac_ext ;;
   20045 esac
   20046 fi
   20047 
   20048 
   20049 		CFLAGS="$xorg_testset_save_CFLAGS"
   20050 
   20051 		eval supported=\$$cacheid
   20052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20053 printf "%s\n" "$supported" >&6; }
   20054 		if test "$supported" = "yes" ; then
   20055 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20056 			found="yes"
   20057 		fi
   20058 	fi
   20059 
   20060 	if test $found = "no" ; then
   20061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20063 		fi
   20064 
   20065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20067 		fi
   20068 
   20069 		CFLAGS="$CFLAGS -errwarn"
   20070 
   20071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20072 printf %s "checking if $CC supports -errwarn... " >&6; }
   20073 		cacheid=xorg_cv_cc_flag__errwarn
   20074 		if eval test \${$cacheid+y}
   20075 then :
   20076   printf %s "(cached) " >&6
   20077 else case e in #(
   20078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20079 /* end confdefs.h.  */
   20080 int i;
   20081 int
   20082 main (void)
   20083 {
   20084 
   20085   ;
   20086   return 0;
   20087 }
   20088 _ACEOF
   20089 if ac_fn_c_try_link "$LINENO"
   20090 then :
   20091   eval $cacheid=yes
   20092 else case e in #(
   20093   e) eval $cacheid=no ;;
   20094 esac
   20095 fi
   20096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20097     conftest$ac_exeext conftest.$ac_ext ;;
   20098 esac
   20099 fi
   20100 
   20101 
   20102 		CFLAGS="$xorg_testset_save_CFLAGS"
   20103 
   20104 		eval supported=\$$cacheid
   20105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20106 printf "%s\n" "$supported" >&6; }
   20107 		if test "$supported" = "yes" ; then
   20108 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20109 			found="yes"
   20110 		fi
   20111 	fi
   20112 
   20113 
   20114 
   20115 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20116 # activate it with -Werror, so we add it here explicitly.
   20117 
   20118 
   20119 
   20120 
   20121 
   20122 
   20123 
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 
   20130 xorg_testset_save_CFLAGS="$CFLAGS"
   20131 
   20132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20135 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20136 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20137 then :
   20138   printf %s "(cached) " >&6
   20139 else case e in #(
   20140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20141 /* end confdefs.h.  */
   20142 int i;
   20143 _ACEOF
   20144 if ac_fn_c_try_compile "$LINENO"
   20145 then :
   20146   xorg_cv_cc_flag_unknown_warning_option=yes
   20147 else case e in #(
   20148   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20149 esac
   20150 fi
   20151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20152 esac
   20153 fi
   20154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20155 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20157 	CFLAGS="$xorg_testset_save_CFLAGS"
   20158 fi
   20159 
   20160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20163 	fi
   20164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20166 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20167 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20168 then :
   20169   printf %s "(cached) " >&6
   20170 else case e in #(
   20171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20172 /* end confdefs.h.  */
   20173 int i;
   20174 _ACEOF
   20175 if ac_fn_c_try_compile "$LINENO"
   20176 then :
   20177   xorg_cv_cc_flag_unused_command_line_argument=yes
   20178 else case e in #(
   20179   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20180 esac
   20181 fi
   20182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20183 esac
   20184 fi
   20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20186 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20188 	CFLAGS="$xorg_testset_save_CFLAGS"
   20189 fi
   20190 
   20191 found="no"
   20192 
   20193 	if test $found = "no" ; then
   20194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20196 		fi
   20197 
   20198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20200 		fi
   20201 
   20202 		CFLAGS="$CFLAGS -Werror=attributes"
   20203 
   20204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20205 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20206 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20207 		if eval test \${$cacheid+y}
   20208 then :
   20209   printf %s "(cached) " >&6
   20210 else case e in #(
   20211   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20212 /* end confdefs.h.  */
   20213 int i;
   20214 int
   20215 main (void)
   20216 {
   20217 
   20218   ;
   20219   return 0;
   20220 }
   20221 _ACEOF
   20222 if ac_fn_c_try_link "$LINENO"
   20223 then :
   20224   eval $cacheid=yes
   20225 else case e in #(
   20226   e) eval $cacheid=no ;;
   20227 esac
   20228 fi
   20229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20230     conftest$ac_exeext conftest.$ac_ext ;;
   20231 esac
   20232 fi
   20233 
   20234 
   20235 		CFLAGS="$xorg_testset_save_CFLAGS"
   20236 
   20237 		eval supported=\$$cacheid
   20238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20239 printf "%s\n" "$supported" >&6; }
   20240 		if test "$supported" = "yes" ; then
   20241 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20242 			found="yes"
   20243 		fi
   20244 	fi
   20245 
   20246 
   20247 
   20248 if test "x$STRICT_COMPILE" = "xyes"; then
   20249     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20250     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20251 fi
   20252 
   20253 
   20254 
   20255 
   20256 
   20257 
   20258 
   20259 
   20260 cat >>confdefs.h <<_ACEOF
   20261 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20262 _ACEOF
   20263 
   20264 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20265 	if test "x$PVM" = "x"; then
   20266 		PVM="0"
   20267 	fi
   20268 
   20269 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20270 
   20271 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20272 	if test "x$PVP" = "x"; then
   20273 		PVP="0"
   20274 	fi
   20275 
   20276 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20277 
   20278 
   20279 
   20280 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20281 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20282 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20283 touch \$(top_srcdir)/ChangeLog; \
   20284 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20285 
   20286 
   20287 
   20288 
   20289 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20290 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20291 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20292 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20293 touch \$(top_srcdir)/INSTALL; \
   20294 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20295 
   20296 
   20297 
   20298 
   20299 
   20300 
   20301 case $host_os in
   20302     solaris*)
   20303         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20304         # check for a man page file found in later versions that use
   20305         # traditional section numbers instead
   20306         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20307 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20308 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20309 then :
   20310   printf %s "(cached) " >&6
   20311 else case e in #(
   20312   e) test "$cross_compiling" = yes &&
   20313   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20314 if test -r "/usr/share/man/man7/attributes.7"; then
   20315   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20316 else
   20317   ac_cv_file__usr_share_man_man7_attributes_7=no
   20318 fi ;;
   20319 esac
   20320 fi
   20321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20322 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20323 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20324 then :
   20325   SYSV_MAN_SECTIONS=false
   20326 else case e in #(
   20327   e) SYSV_MAN_SECTIONS=true ;;
   20328 esac
   20329 fi
   20330 
   20331         ;;
   20332     *) SYSV_MAN_SECTIONS=false ;;
   20333 esac
   20334 
   20335 if test x$APP_MAN_SUFFIX = x    ; then
   20336     APP_MAN_SUFFIX=1
   20337 fi
   20338 if test x$APP_MAN_DIR = x    ; then
   20339     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20340 fi
   20341 
   20342 if test x$LIB_MAN_SUFFIX = x    ; then
   20343     LIB_MAN_SUFFIX=3
   20344 fi
   20345 if test x$LIB_MAN_DIR = x    ; then
   20346     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20347 fi
   20348 
   20349 if test x$FILE_MAN_SUFFIX = x    ; then
   20350     case $SYSV_MAN_SECTIONS in
   20351 	true)				FILE_MAN_SUFFIX=4  ;;
   20352 	*)				FILE_MAN_SUFFIX=5  ;;
   20353     esac
   20354 fi
   20355 if test x$FILE_MAN_DIR = x    ; then
   20356     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20357 fi
   20358 
   20359 if test x$MISC_MAN_SUFFIX = x    ; then
   20360     case $SYSV_MAN_SECTIONS in
   20361 	true)				MISC_MAN_SUFFIX=5  ;;
   20362 	*)				MISC_MAN_SUFFIX=7  ;;
   20363     esac
   20364 fi
   20365 if test x$MISC_MAN_DIR = x    ; then
   20366     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20367 fi
   20368 
   20369 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20370     case $SYSV_MAN_SECTIONS in
   20371 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20372 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20373     esac
   20374 fi
   20375 if test x$DRIVER_MAN_DIR = x    ; then
   20376     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20377 fi
   20378 
   20379 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20380     case $SYSV_MAN_SECTIONS in
   20381 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20382 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20383     esac
   20384 fi
   20385 if test x$ADMIN_MAN_DIR = x    ; then
   20386     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20387 fi
   20388 
   20389 
   20390 
   20391 
   20392 
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 
   20399 
   20400 
   20401 
   20402 
   20403 XORG_MAN_PAGE="X Version 11"
   20404 
   20405 MAN_SUBSTS="\
   20406 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20407 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20408 	-e 's|__xservername__|Xorg|g' \
   20409 	-e 's|__xconfigfile__|xorg.conf|g' \
   20410 	-e 's|__projectroot__|\$(prefix)|g' \
   20411 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20412 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20413 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20414 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20415 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20416 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20417 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20418 
   20419 
   20420 
   20421 
   20422 AM_DEFAULT_VERBOSITY=0
   20423 
   20424 
   20425 
   20426 
   20427 
   20428 # Check presentext configuration, strip extra digits from package version to
   20429 # find the required protocol version
   20430 PRESENTEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   20431 
   20432 
   20433 # Obtain compiler/linker options for dependencies
   20434 
   20435 pkg_failed=no
   20436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PRESENTEXT" >&5
   20437 printf %s "checking for PRESENTEXT... " >&6; }
   20438 
   20439 if test -n "$PRESENTEXT_CFLAGS"; then
   20440     pkg_cv_PRESENTEXT_CFLAGS="$PRESENTEXT_CFLAGS"
   20441  elif test -n "$PKG_CONFIG"; then
   20442     if test -n "$PKG_CONFIG" && \
   20443     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto presentproto >= \$PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr\""; } >&5
   20444   ($PKG_CONFIG --exists --print-errors "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr") 2>&5
   20445   ac_status=$?
   20446   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20447   test $ac_status = 0; }; then
   20448   pkg_cv_PRESENTEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr" 2>/dev/null`
   20449 		      test "x$?" != "x0" && pkg_failed=yes
   20450 else
   20451   pkg_failed=yes
   20452 fi
   20453  else
   20454     pkg_failed=untried
   20455 fi
   20456 if test -n "$PRESENTEXT_LIBS"; then
   20457     pkg_cv_PRESENTEXT_LIBS="$PRESENTEXT_LIBS"
   20458  elif test -n "$PKG_CONFIG"; then
   20459     if test -n "$PKG_CONFIG" && \
   20460     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto presentproto >= \$PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr\""; } >&5
   20461   ($PKG_CONFIG --exists --print-errors "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr") 2>&5
   20462   ac_status=$?
   20463   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20464   test $ac_status = 0; }; then
   20465   pkg_cv_PRESENTEXT_LIBS=`$PKG_CONFIG --libs "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr" 2>/dev/null`
   20466 		      test "x$?" != "x0" && pkg_failed=yes
   20467 else
   20468   pkg_failed=yes
   20469 fi
   20470  else
   20471     pkg_failed=untried
   20472 fi
   20473 
   20474 
   20475 
   20476 if test $pkg_failed = yes; then
   20477    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20478 printf "%s\n" "no" >&6; }
   20479 
   20480 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20481         _pkg_short_errors_supported=yes
   20482 else
   20483         _pkg_short_errors_supported=no
   20484 fi
   20485         if test $_pkg_short_errors_supported = yes; then
   20486 	        PRESENTEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr" 2>&1`
   20487         else
   20488 	        PRESENTEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr" 2>&1`
   20489         fi
   20490 	# Put the nasty error message in config.log where it belongs
   20491 	echo "$PRESENTEXT_PKG_ERRORS" >&5
   20492 
   20493 	as_fn_error $? "Package requirements (xproto presentproto >= $PRESENTEXT_VERSION xextproto x11 xext xfixes xrandr) were not met:
   20494 
   20495 $PRESENTEXT_PKG_ERRORS
   20496 
   20497 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20498 installed software in a non-standard prefix.
   20499 
   20500 Alternatively, you may set the environment variables PRESENTEXT_CFLAGS
   20501 and PRESENTEXT_LIBS to avoid the need to call pkg-config.
   20502 See the pkg-config man page for more details." "$LINENO" 5
   20503 elif test $pkg_failed = untried; then
   20504      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20505 printf "%s\n" "no" >&6; }
   20506 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20507 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20508 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20509 is in your PATH or set the PKG_CONFIG environment variable to the full
   20510 path to pkg-config.
   20511 
   20512 Alternatively, you may set the environment variables PRESENTEXT_CFLAGS
   20513 and PRESENTEXT_LIBS to avoid the need to call pkg-config.
   20514 See the pkg-config man page for more details.
   20515 
   20516 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20517 See 'config.log' for more details" "$LINENO" 5; }
   20518 else
   20519 	PRESENTEXT_CFLAGS=$pkg_cv_PRESENTEXT_CFLAGS
   20520 	PRESENTEXT_LIBS=$pkg_cv_PRESENTEXT_LIBS
   20521         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20522 printf "%s\n" "yes" >&6; }
   20523 
   20524 fi
   20525 
   20526 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xpresent.pc"
   20527 
   20528 cat >confcache <<\_ACEOF
   20529 # This file is a shell script that caches the results of configure
   20530 # tests run on this system so they can be shared between configure
   20531 # scripts and configure runs, see configure's option --config-cache.
   20532 # It is not useful on other systems.  If it contains results you don't
   20533 # want to keep, you may remove or edit it.
   20534 #
   20535 # config.status only pays attention to the cache file if you give it
   20536 # the --recheck option to rerun configure.
   20537 #
   20538 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20539 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20540 # following values.
   20541 
   20542 _ACEOF
   20543 
   20544 # The following way of writing the cache mishandles newlines in values,
   20545 # but we know of no workaround that is simple, portable, and efficient.
   20546 # So, we kill variables containing newlines.
   20547 # Ultrix sh set writes to stderr and can't be redirected directly,
   20548 # and sets the high bit in the cache file unless we assign to the vars.
   20549 (
   20550   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20551     eval ac_val=\$$ac_var
   20552     case $ac_val in #(
   20553     *${as_nl}*)
   20554       case $ac_var in #(
   20555       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20556 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20557       esac
   20558       case $ac_var in #(
   20559       _ | IFS | as_nl) ;; #(
   20560       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20561       *) { eval $ac_var=; unset $ac_var;} ;;
   20562       esac ;;
   20563     esac
   20564   done
   20565 
   20566   (set) 2>&1 |
   20567     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20568     *${as_nl}ac_space=\ *)
   20569       # 'set' does not quote correctly, so add quotes: double-quote
   20570       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20571       sed -n \
   20572 	"s/'/'\\\\''/g;
   20573 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20574       ;; #(
   20575     *)
   20576       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20577       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20578       ;;
   20579     esac |
   20580     sort
   20581 ) |
   20582   sed '
   20583      /^ac_cv_env_/b end
   20584      t clear
   20585      :clear
   20586      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20587      t end
   20588      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20589      :end' >>confcache
   20590 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20591   if test -w "$cache_file"; then
   20592     if test "x$cache_file" != "x/dev/null"; then
   20593       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20594 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20595       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20596 	cat confcache >"$cache_file"
   20597       else
   20598         case $cache_file in #(
   20599         */* | ?:*)
   20600 	  mv -f confcache "$cache_file"$$ &&
   20601 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20602         *)
   20603 	  mv -f confcache "$cache_file" ;;
   20604 	esac
   20605       fi
   20606     fi
   20607   else
   20608     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20609 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20610   fi
   20611 fi
   20612 rm -f confcache
   20613 
   20614 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20615 # Let make expand exec_prefix.
   20616 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20617 
   20618 DEFS=-DHAVE_CONFIG_H
   20619 
   20620 ac_libobjs=
   20621 ac_ltlibobjs=
   20622 U=
   20623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20624   # 1. Remove the extension, and $U if already installed.
   20625   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20626   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20627   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20628   #    will be set to the directory where LIBOBJS objects are built.
   20629   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20630   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20631 done
   20632 LIBOBJS=$ac_libobjs
   20633 
   20634 LTLIBOBJS=$ac_ltlibobjs
   20635 
   20636 
   20637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20638 printf %s "checking that generated files are newer than configure... " >&6; }
   20639    if test -n "$am_sleep_pid"; then
   20640      # Hide warnings about reused PIDs.
   20641      wait $am_sleep_pid 2>/dev/null
   20642    fi
   20643    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20644 printf "%s\n" "done" >&6; }
   20645 case $enable_silent_rules in # (((
   20646   yes) AM_DEFAULT_VERBOSITY=0;;
   20647    no) AM_DEFAULT_VERBOSITY=1;;
   20648 esac
   20649 if test $am_cv_make_support_nested_variables = yes; then
   20650     AM_V='$(V)'
   20651   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20652 else
   20653   AM_V=$AM_DEFAULT_VERBOSITY
   20654   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20655 fi
   20656 
   20657  if test -n "$EXEEXT"; then
   20658   am__EXEEXT_TRUE=
   20659   am__EXEEXT_FALSE='#'
   20660 else
   20661   am__EXEEXT_TRUE='#'
   20662   am__EXEEXT_FALSE=
   20663 fi
   20664 
   20665 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20666   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20668 fi
   20669 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20670   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20672 fi
   20673 
   20674 : "${CONFIG_STATUS=./config.status}"
   20675 ac_write_fail=0
   20676 ac_clean_files_save=$ac_clean_files
   20677 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20679 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20680 as_write_fail=0
   20681 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20682 #! $SHELL
   20683 # Generated by $as_me.
   20684 # Run this file to recreate the current configuration.
   20685 # Compiler output produced by configure, useful for debugging
   20686 # configure, is in config.log if it exists.
   20687 
   20688 debug=false
   20689 ac_cs_recheck=false
   20690 ac_cs_silent=false
   20691 
   20692 SHELL=\${CONFIG_SHELL-$SHELL}
   20693 export SHELL
   20694 _ASEOF
   20695 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20696 ## -------------------- ##
   20697 ## M4sh Initialization. ##
   20698 ## -------------------- ##
   20699 
   20700 # Be more Bourne compatible
   20701 DUALCASE=1; export DUALCASE # for MKS sh
   20702 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20703 then :
   20704   emulate sh
   20705   NULLCMD=:
   20706   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20707   # is contrary to our usage.  Disable this feature.
   20708   alias -g '${1+"$@"}'='"$@"'
   20709   setopt NO_GLOB_SUBST
   20710 else case e in #(
   20711   e) case `(set -o) 2>/dev/null` in #(
   20712   *posix*) :
   20713     set -o posix ;; #(
   20714   *) :
   20715      ;;
   20716 esac ;;
   20717 esac
   20718 fi
   20719 
   20720 
   20721 
   20722 # Reset variables that may have inherited troublesome values from
   20723 # the environment.
   20724 
   20725 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20726 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20727 # side effect of setting IFS to empty, thus disabling word splitting.)
   20728 # Quoting is to prevent editors from complaining about space-tab.
   20729 as_nl='
   20730 '
   20731 export as_nl
   20732 IFS=" ""	$as_nl"
   20733 
   20734 PS1='$ '
   20735 PS2='> '
   20736 PS4='+ '
   20737 
   20738 # Ensure predictable behavior from utilities with locale-dependent output.
   20739 LC_ALL=C
   20740 export LC_ALL
   20741 LANGUAGE=C
   20742 export LANGUAGE
   20743 
   20744 # We cannot yet rely on "unset" to work, but we need these variables
   20745 # to be unset--not just set to an empty or harmless value--now, to
   20746 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20747 # also avoids known problems related to "unset" and subshell syntax
   20748 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20749 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20750 do eval test \${$as_var+y} \
   20751   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20752 done
   20753 
   20754 # Ensure that fds 0, 1, and 2 are open.
   20755 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20756 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20757 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20758 
   20759 # The user is always right.
   20760 if ${PATH_SEPARATOR+false} :; then
   20761   PATH_SEPARATOR=:
   20762   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20763     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20764       PATH_SEPARATOR=';'
   20765   }
   20766 fi
   20767 
   20768 
   20769 # Find who we are.  Look in the path if we contain no directory separator.
   20770 as_myself=
   20771 case $0 in #((
   20772   *[\\/]* ) as_myself=$0 ;;
   20773   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20774 for as_dir in $PATH
   20775 do
   20776   IFS=$as_save_IFS
   20777   case $as_dir in #(((
   20778     '') as_dir=./ ;;
   20779     */) ;;
   20780     *) as_dir=$as_dir/ ;;
   20781   esac
   20782     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20783   done
   20784 IFS=$as_save_IFS
   20785 
   20786      ;;
   20787 esac
   20788 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20789 # in which case we are not to be found in the path.
   20790 if test "x$as_myself" = x; then
   20791   as_myself=$0
   20792 fi
   20793 if test ! -f "$as_myself"; then
   20794   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20795   exit 1
   20796 fi
   20797 
   20798 
   20799 
   20800 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20801 # ----------------------------------------
   20802 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20803 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20804 # script with STATUS, using 1 if that was 0.
   20805 as_fn_error ()
   20806 {
   20807   as_status=$1; test $as_status -eq 0 && as_status=1
   20808   if test "$4"; then
   20809     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20810     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20811   fi
   20812   printf "%s\n" "$as_me: error: $2" >&2
   20813   as_fn_exit $as_status
   20814 } # as_fn_error
   20815 
   20816 
   20817 # as_fn_set_status STATUS
   20818 # -----------------------
   20819 # Set $? to STATUS, without forking.
   20820 as_fn_set_status ()
   20821 {
   20822   return $1
   20823 } # as_fn_set_status
   20824 
   20825 # as_fn_exit STATUS
   20826 # -----------------
   20827 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20828 as_fn_exit ()
   20829 {
   20830   set +e
   20831   as_fn_set_status $1
   20832   exit $1
   20833 } # as_fn_exit
   20834 
   20835 # as_fn_unset VAR
   20836 # ---------------
   20837 # Portably unset VAR.
   20838 as_fn_unset ()
   20839 {
   20840   { eval $1=; unset $1;}
   20841 }
   20842 as_unset=as_fn_unset
   20843 
   20844 # as_fn_append VAR VALUE
   20845 # ----------------------
   20846 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20847 # advantage of any shell optimizations that allow amortized linear growth over
   20848 # repeated appends, instead of the typical quadratic growth present in naive
   20849 # implementations.
   20850 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20851 then :
   20852   eval 'as_fn_append ()
   20853   {
   20854     eval $1+=\$2
   20855   }'
   20856 else case e in #(
   20857   e) as_fn_append ()
   20858   {
   20859     eval $1=\$$1\$2
   20860   } ;;
   20861 esac
   20862 fi # as_fn_append
   20863 
   20864 # as_fn_arith ARG...
   20865 # ------------------
   20866 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20867 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20868 # must be portable across $(()) and expr.
   20869 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20870 then :
   20871   eval 'as_fn_arith ()
   20872   {
   20873     as_val=$(( $* ))
   20874   }'
   20875 else case e in #(
   20876   e) as_fn_arith ()
   20877   {
   20878     as_val=`expr "$@" || test $? -eq 1`
   20879   } ;;
   20880 esac
   20881 fi # as_fn_arith
   20882 
   20883 
   20884 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20885    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20886   as_expr=expr
   20887 else
   20888   as_expr=false
   20889 fi
   20890 
   20891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20892   as_basename=basename
   20893 else
   20894   as_basename=false
   20895 fi
   20896 
   20897 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20898   as_dirname=dirname
   20899 else
   20900   as_dirname=false
   20901 fi
   20902 
   20903 as_me=`$as_basename -- "$0" ||
   20904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20905 	 X"$0" : 'X\(//\)$' \| \
   20906 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20907 printf "%s\n" X/"$0" |
   20908     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20909 	    s//\1/
   20910 	    q
   20911 	  }
   20912 	  /^X\/\(\/\/\)$/{
   20913 	    s//\1/
   20914 	    q
   20915 	  }
   20916 	  /^X\/\(\/\).*/{
   20917 	    s//\1/
   20918 	    q
   20919 	  }
   20920 	  s/.*/./; q'`
   20921 
   20922 # Avoid depending upon Character Ranges.
   20923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20926 as_cr_digits='0123456789'
   20927 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20928 
   20929 
   20930 # Determine whether it's possible to make 'echo' print without a newline.
   20931 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20932 # for compatibility with existing Makefiles.
   20933 ECHO_C= ECHO_N= ECHO_T=
   20934 case `echo -n x` in #(((((
   20935 -n*)
   20936   case `echo 'xy\c'` in
   20937   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20938   xy)  ECHO_C='\c';;
   20939   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20940        ECHO_T='	';;
   20941   esac;;
   20942 *)
   20943   ECHO_N='-n';;
   20944 esac
   20945 
   20946 # For backward compatibility with old third-party macros, we provide
   20947 # the shell variables $as_echo and $as_echo_n.  New code should use
   20948 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20949 as_echo='printf %s\n'
   20950 as_echo_n='printf %s'
   20951 
   20952 rm -f conf$$ conf$$.exe conf$$.file
   20953 if test -d conf$$.dir; then
   20954   rm -f conf$$.dir/conf$$.file
   20955 else
   20956   rm -f conf$$.dir
   20957   mkdir conf$$.dir 2>/dev/null
   20958 fi
   20959 if (echo >conf$$.file) 2>/dev/null; then
   20960   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20961     as_ln_s='ln -s'
   20962     # ... but there are two gotchas:
   20963     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   20964     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   20965     # In both cases, we have to default to 'cp -pR'.
   20966     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20967       as_ln_s='cp -pR'
   20968   elif ln conf$$.file conf$$ 2>/dev/null; then
   20969     as_ln_s=ln
   20970   else
   20971     as_ln_s='cp -pR'
   20972   fi
   20973 else
   20974   as_ln_s='cp -pR'
   20975 fi
   20976 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20977 rmdir conf$$.dir 2>/dev/null
   20978 
   20979 
   20980 # as_fn_mkdir_p
   20981 # -------------
   20982 # Create "$as_dir" as a directory, including parents if necessary.
   20983 as_fn_mkdir_p ()
   20984 {
   20985 
   20986   case $as_dir in #(
   20987   -*) as_dir=./$as_dir;;
   20988   esac
   20989   test -d "$as_dir" || eval $as_mkdir_p || {
   20990     as_dirs=
   20991     while :; do
   20992       case $as_dir in #(
   20993       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20994       *) as_qdir=$as_dir;;
   20995       esac
   20996       as_dirs="'$as_qdir' $as_dirs"
   20997       as_dir=`$as_dirname -- "$as_dir" ||
   20998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20999 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21000 	 X"$as_dir" : 'X\(//\)$' \| \
   21001 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21002 printf "%s\n" X"$as_dir" |
   21003     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21004 	    s//\1/
   21005 	    q
   21006 	  }
   21007 	  /^X\(\/\/\)[^/].*/{
   21008 	    s//\1/
   21009 	    q
   21010 	  }
   21011 	  /^X\(\/\/\)$/{
   21012 	    s//\1/
   21013 	    q
   21014 	  }
   21015 	  /^X\(\/\).*/{
   21016 	    s//\1/
   21017 	    q
   21018 	  }
   21019 	  s/.*/./; q'`
   21020       test -d "$as_dir" && break
   21021     done
   21022     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21023   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21024 
   21025 
   21026 } # as_fn_mkdir_p
   21027 if mkdir -p . 2>/dev/null; then
   21028   as_mkdir_p='mkdir -p "$as_dir"'
   21029 else
   21030   test -d ./-p && rmdir ./-p
   21031   as_mkdir_p=false
   21032 fi
   21033 
   21034 
   21035 # as_fn_executable_p FILE
   21036 # -----------------------
   21037 # Test if FILE is an executable regular file.
   21038 as_fn_executable_p ()
   21039 {
   21040   test -f "$1" && test -x "$1"
   21041 } # as_fn_executable_p
   21042 as_test_x='test -x'
   21043 as_executable_p=as_fn_executable_p
   21044 
   21045 # Sed expression to map a string onto a valid CPP name.
   21046 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21047 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21048 
   21049 # Sed expression to map a string onto a valid variable name.
   21050 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21051 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21052 
   21053 
   21054 exec 6>&1
   21055 ## ----------------------------------- ##
   21056 ## Main body of $CONFIG_STATUS script. ##
   21057 ## ----------------------------------- ##
   21058 _ASEOF
   21059 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21060 
   21061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21062 # Save the log message, to keep $0 and so on meaningful, and to
   21063 # report actual input values of CONFIG_FILES etc. instead of their
   21064 # values after options handling.
   21065 ac_log="
   21066 This file was extended by libXpresent $as_me 1.0.2, which was
   21067 generated by GNU Autoconf 2.72.  Invocation command line was
   21068 
   21069   CONFIG_FILES    = $CONFIG_FILES
   21070   CONFIG_HEADERS  = $CONFIG_HEADERS
   21071   CONFIG_LINKS    = $CONFIG_LINKS
   21072   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21073   $ $0 $@
   21074 
   21075 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21076 "
   21077 
   21078 _ACEOF
   21079 
   21080 case $ac_config_files in *"
   21081 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21082 esac
   21083 
   21084 case $ac_config_headers in *"
   21085 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21086 esac
   21087 
   21088 
   21089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21090 # Files that config.status was made for.
   21091 config_files="$ac_config_files"
   21092 config_headers="$ac_config_headers"
   21093 config_commands="$ac_config_commands"
   21094 
   21095 _ACEOF
   21096 
   21097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21098 ac_cs_usage="\
   21099 '$as_me' instantiates files and other configuration actions
   21100 from templates according to the current configuration.  Unless the files
   21101 and actions are specified as TAGs, all are instantiated by default.
   21102 
   21103 Usage: $0 [OPTION]... [TAG]...
   21104 
   21105   -h, --help       print this help, then exit
   21106   -V, --version    print version number and configuration settings, then exit
   21107       --config     print configuration, then exit
   21108   -q, --quiet, --silent
   21109                    do not print progress messages
   21110   -d, --debug      don't remove temporary files
   21111       --recheck    update $as_me by reconfiguring in the same conditions
   21112       --file=FILE[:TEMPLATE]
   21113                    instantiate the configuration file FILE
   21114       --header=FILE[:TEMPLATE]
   21115                    instantiate the configuration header FILE
   21116 
   21117 Configuration files:
   21118 $config_files
   21119 
   21120 Configuration headers:
   21121 $config_headers
   21122 
   21123 Configuration commands:
   21124 $config_commands
   21125 
   21126 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpresent/-/issues>."
   21127 
   21128 _ACEOF
   21129 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21130 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21132 ac_cs_config='$ac_cs_config_escaped'
   21133 ac_cs_version="\\
   21134 libXpresent config.status 1.0.2
   21135 configured by $0, generated by GNU Autoconf 2.72,
   21136   with options \\"\$ac_cs_config\\"
   21137 
   21138 Copyright (C) 2023 Free Software Foundation, Inc.
   21139 This config.status script is free software; the Free Software Foundation
   21140 gives unlimited permission to copy, distribute and modify it."
   21141 
   21142 ac_pwd='$ac_pwd'
   21143 srcdir='$srcdir'
   21144 INSTALL='$INSTALL'
   21145 MKDIR_P='$MKDIR_P'
   21146 AWK='$AWK'
   21147 test -n "\$AWK" || AWK=awk
   21148 _ACEOF
   21149 
   21150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21151 # The default lists apply if the user does not specify any file.
   21152 ac_need_defaults=:
   21153 while test $# != 0
   21154 do
   21155   case $1 in
   21156   --*=?*)
   21157     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21158     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21159     ac_shift=:
   21160     ;;
   21161   --*=)
   21162     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21163     ac_optarg=
   21164     ac_shift=:
   21165     ;;
   21166   *)
   21167     ac_option=$1
   21168     ac_optarg=$2
   21169     ac_shift=shift
   21170     ;;
   21171   esac
   21172 
   21173   case $ac_option in
   21174   # Handling of the options.
   21175   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21176     ac_cs_recheck=: ;;
   21177   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21178     printf "%s\n" "$ac_cs_version"; exit ;;
   21179   --config | --confi | --conf | --con | --co | --c )
   21180     printf "%s\n" "$ac_cs_config"; exit ;;
   21181   --debug | --debu | --deb | --de | --d | -d )
   21182     debug=: ;;
   21183   --file | --fil | --fi | --f )
   21184     $ac_shift
   21185     case $ac_optarg in
   21186     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21187     '') as_fn_error $? "missing file argument" ;;
   21188     esac
   21189     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21190     ac_need_defaults=false;;
   21191   --header | --heade | --head | --hea )
   21192     $ac_shift
   21193     case $ac_optarg in
   21194     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21195     esac
   21196     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21197     ac_need_defaults=false;;
   21198   --he | --h)
   21199     # Conflict between --help and --header
   21200     as_fn_error $? "ambiguous option: '$1'
   21201 Try '$0 --help' for more information.";;
   21202   --help | --hel | -h )
   21203     printf "%s\n" "$ac_cs_usage"; exit ;;
   21204   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21205   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21206     ac_cs_silent=: ;;
   21207 
   21208   # This is an error.
   21209   -*) as_fn_error $? "unrecognized option: '$1'
   21210 Try '$0 --help' for more information." ;;
   21211 
   21212   *) as_fn_append ac_config_targets " $1"
   21213      ac_need_defaults=false ;;
   21214 
   21215   esac
   21216   shift
   21217 done
   21218 
   21219 ac_configure_extra_args=
   21220 
   21221 if $ac_cs_silent; then
   21222   exec 6>/dev/null
   21223   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21224 fi
   21225 
   21226 _ACEOF
   21227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21228 if \$ac_cs_recheck; then
   21229   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21230   shift
   21231   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21232   CONFIG_SHELL='$SHELL'
   21233   export CONFIG_SHELL
   21234   exec "\$@"
   21235 fi
   21236 
   21237 _ACEOF
   21238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21239 exec 5>>config.log
   21240 {
   21241   echo
   21242   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21243 ## Running $as_me. ##
   21244 _ASBOX
   21245   printf "%s\n" "$ac_log"
   21246 } >&5
   21247 
   21248 _ACEOF
   21249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21250 #
   21251 # INIT-COMMANDS
   21252 #
   21253 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21254 
   21255 
   21256 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21257 # if CDPATH is set.
   21258 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21259 
   21260 sed_quote_subst='$sed_quote_subst'
   21261 double_quote_subst='$double_quote_subst'
   21262 delay_variable_subst='$delay_variable_subst'
   21263 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21264 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21265 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21266 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21267 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21268 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21269 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21270 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21271 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21272 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21273 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21274 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21275 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21276 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21277 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21278 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21279 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21280 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21281 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21282 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21283 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21284 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21285 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21286 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21287 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21288 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21289 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21290 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21291 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21292 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21293 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21294 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21295 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21296 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21297 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21298 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21299 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21300 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21301 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21302 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21303 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21304 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21305 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21306 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21307 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21308 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21309 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21310 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21311 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21312 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21313 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21314 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21315 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21316 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21317 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21318 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21319 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21320 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21321 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21322 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21323 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"`'
   21324 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21325 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21326 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21327 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21328 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21329 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21330 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21331 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21332 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21333 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21334 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21335 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21336 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21337 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21338 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21339 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21340 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21341 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21342 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21343 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21344 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21345 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21346 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21347 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21348 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21349 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21350 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21351 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21352 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21353 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21354 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21355 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21356 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21357 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21358 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21359 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21360 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21361 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21362 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21363 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21364 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21365 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21366 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21367 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21368 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21369 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21370 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21371 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21372 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21373 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21374 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21375 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21376 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21377 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21378 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21379 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21380 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21381 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21382 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21383 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21384 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21385 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21386 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21387 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21388 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21389 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21390 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21391 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21392 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21393 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21394 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21395 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21396 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21397 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21398 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21399 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21400 
   21401 LTCC='$LTCC'
   21402 LTCFLAGS='$LTCFLAGS'
   21403 compiler='$compiler_DEFAULT'
   21404 
   21405 # A function that is used when there is no print builtin or printf.
   21406 func_fallback_echo ()
   21407 {
   21408   eval 'cat <<_LTECHO_EOF
   21409 \$1
   21410 _LTECHO_EOF'
   21411 }
   21412 
   21413 # Quote evaled strings.
   21414 for var in SHELL \
   21415 ECHO \
   21416 PATH_SEPARATOR \
   21417 SED \
   21418 GREP \
   21419 EGREP \
   21420 FGREP \
   21421 LD \
   21422 NM \
   21423 LN_S \
   21424 lt_SP2NL \
   21425 lt_NL2SP \
   21426 reload_flag \
   21427 FILECMD \
   21428 OBJDUMP \
   21429 deplibs_check_method \
   21430 file_magic_cmd \
   21431 file_magic_glob \
   21432 want_nocaseglob \
   21433 DLLTOOL \
   21434 sharedlib_from_linklib_cmd \
   21435 AR \
   21436 archiver_list_spec \
   21437 STRIP \
   21438 RANLIB \
   21439 CC \
   21440 CFLAGS \
   21441 compiler \
   21442 lt_cv_sys_global_symbol_pipe \
   21443 lt_cv_sys_global_symbol_to_cdecl \
   21444 lt_cv_sys_global_symbol_to_import \
   21445 lt_cv_sys_global_symbol_to_c_name_address \
   21446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21447 lt_cv_nm_interface \
   21448 nm_file_list_spec \
   21449 lt_cv_truncate_bin \
   21450 lt_prog_compiler_no_builtin_flag \
   21451 lt_prog_compiler_pic \
   21452 lt_prog_compiler_wl \
   21453 lt_prog_compiler_static \
   21454 lt_cv_prog_compiler_c_o \
   21455 need_locks \
   21456 MANIFEST_TOOL \
   21457 DSYMUTIL \
   21458 NMEDIT \
   21459 LIPO \
   21460 OTOOL \
   21461 OTOOL64 \
   21462 shrext_cmds \
   21463 export_dynamic_flag_spec \
   21464 whole_archive_flag_spec \
   21465 compiler_needs_object \
   21466 with_gnu_ld \
   21467 allow_undefined_flag \
   21468 no_undefined_flag \
   21469 hardcode_libdir_flag_spec \
   21470 hardcode_libdir_separator \
   21471 exclude_expsyms \
   21472 include_expsyms \
   21473 file_list_spec \
   21474 variables_saved_for_relink \
   21475 libname_spec \
   21476 library_names_spec \
   21477 soname_spec \
   21478 install_override_mode \
   21479 finish_eval \
   21480 old_striplib \
   21481 striplib; do
   21482     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21483     *[\\\\\\\`\\"\\\$]*)
   21484       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21485       ;;
   21486     *)
   21487       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21488       ;;
   21489     esac
   21490 done
   21491 
   21492 # Double-quote double-evaled strings.
   21493 for var in reload_cmds \
   21494 old_postinstall_cmds \
   21495 old_postuninstall_cmds \
   21496 old_archive_cmds \
   21497 extract_expsyms_cmds \
   21498 old_archive_from_new_cmds \
   21499 old_archive_from_expsyms_cmds \
   21500 archive_cmds \
   21501 archive_expsym_cmds \
   21502 module_cmds \
   21503 module_expsym_cmds \
   21504 export_symbols_cmds \
   21505 prelink_cmds \
   21506 postlink_cmds \
   21507 postinstall_cmds \
   21508 postuninstall_cmds \
   21509 finish_cmds \
   21510 sys_lib_search_path_spec \
   21511 configure_time_dlsearch_path \
   21512 configure_time_lt_sys_library_path; do
   21513     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21514     *[\\\\\\\`\\"\\\$]*)
   21515       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21516       ;;
   21517     *)
   21518       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21519       ;;
   21520     esac
   21521 done
   21522 
   21523 ac_aux_dir='$ac_aux_dir'
   21524 
   21525 # See if we are running on zsh, and set the options that allow our
   21526 # commands through without removal of \ escapes INIT.
   21527 if test -n "\${ZSH_VERSION+set}"; then
   21528    setopt NO_GLOB_SUBST
   21529 fi
   21530 
   21531 
   21532     PACKAGE='$PACKAGE'
   21533     VERSION='$VERSION'
   21534     RM='$RM'
   21535     ofile='$ofile'
   21536 
   21537 
   21538 
   21539 
   21540 _ACEOF
   21541 
   21542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21543 
   21544 # Handling of arguments.
   21545 for ac_config_target in $ac_config_targets
   21546 do
   21547   case $ac_config_target in
   21548     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21549     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21550     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21551     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21552     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21553     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21554     "xpresent.pc") CONFIG_FILES="$CONFIG_FILES xpresent.pc" ;;
   21555 
   21556   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21557   esac
   21558 done
   21559 
   21560 
   21561 # If the user did not use the arguments to specify the items to instantiate,
   21562 # then the envvar interface is used.  Set only those that are not.
   21563 # We use the long form for the default assignment because of an extremely
   21564 # bizarre bug on SunOS 4.1.3.
   21565 if $ac_need_defaults; then
   21566   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21567   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21568   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21569 fi
   21570 
   21571 # Have a temporary directory for convenience.  Make it in the build tree
   21572 # simply because there is no reason against having it here, and in addition,
   21573 # creating and moving files from /tmp can sometimes cause problems.
   21574 # Hook for its removal unless debugging.
   21575 # Note that there is a small window in which the directory will not be cleaned:
   21576 # after its creation but before its name has been assigned to '$tmp'.
   21577 $debug ||
   21578 {
   21579   tmp= ac_tmp=
   21580   trap 'exit_status=$?
   21581   : "${ac_tmp:=$tmp}"
   21582   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21583 ' 0
   21584   trap 'as_fn_exit 1' 1 2 13 15
   21585 }
   21586 # Create a (secure) tmp directory for tmp files.
   21587 
   21588 {
   21589   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21590   test -d "$tmp"
   21591 }  ||
   21592 {
   21593   tmp=./conf$$-$RANDOM
   21594   (umask 077 && mkdir "$tmp")
   21595 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21596 ac_tmp=$tmp
   21597 
   21598 # Set up the scripts for CONFIG_FILES section.
   21599 # No need to generate them if there are no CONFIG_FILES.
   21600 # This happens for instance with './config.status config.h'.
   21601 if test -n "$CONFIG_FILES"; then
   21602 
   21603 
   21604 ac_cr=`echo X | tr X '\015'`
   21605 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21606 # But we know of no other shell where ac_cr would be empty at this
   21607 # point, so we can use a bashism as a fallback.
   21608 if test "x$ac_cr" = x; then
   21609   eval ac_cr=\$\'\\r\'
   21610 fi
   21611 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21613   ac_cs_awk_cr='\\r'
   21614 else
   21615   ac_cs_awk_cr=$ac_cr
   21616 fi
   21617 
   21618 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21619 _ACEOF
   21620 
   21621 
   21622 {
   21623   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21624   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21625   echo "_ACEOF"
   21626 } >conf$$subs.sh ||
   21627   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21628 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21629 ac_delim='%!_!# '
   21630 for ac_last_try in false false false false false :; do
   21631   . ./conf$$subs.sh ||
   21632     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21633 
   21634   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21635   if test $ac_delim_n = $ac_delim_num; then
   21636     break
   21637   elif $ac_last_try; then
   21638     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21639   else
   21640     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21641   fi
   21642 done
   21643 rm -f conf$$subs.sh
   21644 
   21645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21646 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21647 _ACEOF
   21648 sed -n '
   21649 h
   21650 s/^/S["/; s/!.*/"]=/
   21651 p
   21652 g
   21653 s/^[^!]*!//
   21654 :repl
   21655 t repl
   21656 s/'"$ac_delim"'$//
   21657 t delim
   21658 :nl
   21659 h
   21660 s/\(.\{148\}\)..*/\1/
   21661 t more1
   21662 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21663 p
   21664 n
   21665 b repl
   21666 :more1
   21667 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21668 p
   21669 g
   21670 s/.\{148\}//
   21671 t nl
   21672 :delim
   21673 h
   21674 s/\(.\{148\}\)..*/\1/
   21675 t more2
   21676 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21677 p
   21678 b
   21679 :more2
   21680 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21681 p
   21682 g
   21683 s/.\{148\}//
   21684 t delim
   21685 ' <conf$$subs.awk | sed '
   21686 /^[^""]/{
   21687   N
   21688   s/\n//
   21689 }
   21690 ' >>$CONFIG_STATUS || ac_write_fail=1
   21691 rm -f conf$$subs.awk
   21692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21693 _ACAWK
   21694 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21695   for (key in S) S_is_set[key] = 1
   21696   FS = ""
   21697 
   21698 }
   21699 {
   21700   line = $ 0
   21701   nfields = split(line, field, "@")
   21702   substed = 0
   21703   len = length(field[1])
   21704   for (i = 2; i < nfields; i++) {
   21705     key = field[i]
   21706     keylen = length(key)
   21707     if (S_is_set[key]) {
   21708       value = S[key]
   21709       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21710       len += length(value) + length(field[++i])
   21711       substed = 1
   21712     } else
   21713       len += 1 + keylen
   21714   }
   21715 
   21716   print line
   21717 }
   21718 
   21719 _ACAWK
   21720 _ACEOF
   21721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21722 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21723   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21724 else
   21725   cat
   21726 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21727   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21728 _ACEOF
   21729 
   21730 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21731 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21732 # trailing colons and then remove the whole line if VPATH becomes empty
   21733 # (actually we leave an empty line to preserve line numbers).
   21734 if test "x$srcdir" = x.; then
   21735   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21736 h
   21737 s///
   21738 s/^/:/
   21739 s/[	 ]*$/:/
   21740 s/:\$(srcdir):/:/g
   21741 s/:\${srcdir}:/:/g
   21742 s/:@srcdir@:/:/g
   21743 s/^:*//
   21744 s/:*$//
   21745 x
   21746 s/\(=[	 ]*\).*/\1/
   21747 G
   21748 s/\n//
   21749 s/^[^=]*=[	 ]*$//
   21750 }'
   21751 fi
   21752 
   21753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21754 fi # test -n "$CONFIG_FILES"
   21755 
   21756 # Set up the scripts for CONFIG_HEADERS section.
   21757 # No need to generate them if there are no CONFIG_HEADERS.
   21758 # This happens for instance with './config.status Makefile'.
   21759 if test -n "$CONFIG_HEADERS"; then
   21760 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21761 BEGIN {
   21762 _ACEOF
   21763 
   21764 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21765 # here-document in config.status, that substitutes the proper values into
   21766 # config.h.in to produce config.h.
   21767 
   21768 # Create a delimiter string that does not exist in confdefs.h, to ease
   21769 # handling of long lines.
   21770 ac_delim='%!_!# '
   21771 for ac_last_try in false false :; do
   21772   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21773   if test -z "$ac_tt"; then
   21774     break
   21775   elif $ac_last_try; then
   21776     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21777   else
   21778     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21779   fi
   21780 done
   21781 
   21782 # For the awk script, D is an array of macro values keyed by name,
   21783 # likewise P contains macro parameters if any.  Preserve backslash
   21784 # newline sequences.
   21785 
   21786 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21787 sed -n '
   21788 s/.\{148\}/&'"$ac_delim"'/g
   21789 t rset
   21790 :rset
   21791 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21792 t def
   21793 d
   21794 :def
   21795 s/\\$//
   21796 t bsnl
   21797 s/["\\]/\\&/g
   21798 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21799 D["\1"]=" \3"/p
   21800 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21801 d
   21802 :bsnl
   21803 s/["\\]/\\&/g
   21804 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21805 D["\1"]=" \3\\\\\\n"\\/p
   21806 t cont
   21807 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21808 t cont
   21809 d
   21810 :cont
   21811 n
   21812 s/.\{148\}/&'"$ac_delim"'/g
   21813 t clear
   21814 :clear
   21815 s/\\$//
   21816 t bsnlc
   21817 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21818 d
   21819 :bsnlc
   21820 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21821 b cont
   21822 ' <confdefs.h | sed '
   21823 s/'"$ac_delim"'/"\\\
   21824 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21825 
   21826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21827   for (key in D) D_is_set[key] = 1
   21828   FS = ""
   21829 }
   21830 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21831   line = \$ 0
   21832   split(line, arg, " ")
   21833   if (arg[1] == "#") {
   21834     defundef = arg[2]
   21835     mac1 = arg[3]
   21836   } else {
   21837     defundef = substr(arg[1], 2)
   21838     mac1 = arg[2]
   21839   }
   21840   split(mac1, mac2, "(") #)
   21841   macro = mac2[1]
   21842   prefix = substr(line, 1, index(line, defundef) - 1)
   21843   if (D_is_set[macro]) {
   21844     # Preserve the white space surrounding the "#".
   21845     print prefix "define", macro P[macro] D[macro]
   21846     next
   21847   } else {
   21848     # Replace #undef with comments.  This is necessary, for example,
   21849     # in the case of _POSIX_SOURCE, which is predefined and required
   21850     # on some systems where configure will not decide to define it.
   21851     if (defundef == "undef") {
   21852       print "/*", prefix defundef, macro, "*/"
   21853       next
   21854     }
   21855   }
   21856 }
   21857 { print }
   21858 _ACAWK
   21859 _ACEOF
   21860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21861   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21862 fi # test -n "$CONFIG_HEADERS"
   21863 
   21864 
   21865 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21866 shift
   21867 for ac_tag
   21868 do
   21869   case $ac_tag in
   21870   :[FHLC]) ac_mode=$ac_tag; continue;;
   21871   esac
   21872   case $ac_mode$ac_tag in
   21873   :[FHL]*:*);;
   21874   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21875   :[FH]-) ac_tag=-:-;;
   21876   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21877   esac
   21878   ac_save_IFS=$IFS
   21879   IFS=:
   21880   set x $ac_tag
   21881   IFS=$ac_save_IFS
   21882   shift
   21883   ac_file=$1
   21884   shift
   21885 
   21886   case $ac_mode in
   21887   :L) ac_source=$1;;
   21888   :[FH])
   21889     ac_file_inputs=
   21890     for ac_f
   21891     do
   21892       case $ac_f in
   21893       -) ac_f="$ac_tmp/stdin";;
   21894       *) # Look for the file first in the build tree, then in the source tree
   21895 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21896 	 # because $ac_f cannot contain ':'.
   21897 	 test -f "$ac_f" ||
   21898 	   case $ac_f in
   21899 	   [\\/$]*) false;;
   21900 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21901 	   esac ||
   21902 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21903       esac
   21904       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21905       as_fn_append ac_file_inputs " '$ac_f'"
   21906     done
   21907 
   21908     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21909     # use $as_me), people would be surprised to read:
   21910     #    /* config.h.  Generated by config.status.  */
   21911     configure_input='Generated from '`
   21912 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21913 	`' by configure.'
   21914     if test x"$ac_file" != x-; then
   21915       configure_input="$ac_file.  $configure_input"
   21916       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21917 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21918     fi
   21919     # Neutralize special characters interpreted by sed in replacement strings.
   21920     case $configure_input in #(
   21921     *\&* | *\|* | *\\* )
   21922        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21923        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21924     *) ac_sed_conf_input=$configure_input;;
   21925     esac
   21926 
   21927     case $ac_tag in
   21928     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21929       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21930     esac
   21931     ;;
   21932   esac
   21933 
   21934   ac_dir=`$as_dirname -- "$ac_file" ||
   21935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21936 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21937 	 X"$ac_file" : 'X\(//\)$' \| \
   21938 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21939 printf "%s\n" X"$ac_file" |
   21940     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21941 	    s//\1/
   21942 	    q
   21943 	  }
   21944 	  /^X\(\/\/\)[^/].*/{
   21945 	    s//\1/
   21946 	    q
   21947 	  }
   21948 	  /^X\(\/\/\)$/{
   21949 	    s//\1/
   21950 	    q
   21951 	  }
   21952 	  /^X\(\/\).*/{
   21953 	    s//\1/
   21954 	    q
   21955 	  }
   21956 	  s/.*/./; q'`
   21957   as_dir="$ac_dir"; as_fn_mkdir_p
   21958   ac_builddir=.
   21959 
   21960 case "$ac_dir" in
   21961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21962 *)
   21963   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21964   # A ".." for each directory in $ac_dir_suffix.
   21965   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21966   case $ac_top_builddir_sub in
   21967   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21968   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21969   esac ;;
   21970 esac
   21971 ac_abs_top_builddir=$ac_pwd
   21972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21973 # for backward compatibility:
   21974 ac_top_builddir=$ac_top_build_prefix
   21975 
   21976 case $srcdir in
   21977   .)  # We are building in place.
   21978     ac_srcdir=.
   21979     ac_top_srcdir=$ac_top_builddir_sub
   21980     ac_abs_top_srcdir=$ac_pwd ;;
   21981   [\\/]* | ?:[\\/]* )  # Absolute name.
   21982     ac_srcdir=$srcdir$ac_dir_suffix;
   21983     ac_top_srcdir=$srcdir
   21984     ac_abs_top_srcdir=$srcdir ;;
   21985   *) # Relative name.
   21986     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21987     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21988     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21989 esac
   21990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21991 
   21992 
   21993   case $ac_mode in
   21994   :F)
   21995   #
   21996   # CONFIG_FILE
   21997   #
   21998 
   21999   case $INSTALL in
   22000   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22001   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22002   esac
   22003   ac_MKDIR_P=$MKDIR_P
   22004   case $MKDIR_P in
   22005   [\\/$]* | ?:[\\/]* ) ;;
   22006   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22007   esac
   22008 _ACEOF
   22009 
   22010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22011 # If the template does not know about datarootdir, expand it.
   22012 # FIXME: This hack should be removed a few years after 2.60.
   22013 ac_datarootdir_hack=; ac_datarootdir_seen=
   22014 ac_sed_dataroot='
   22015 /datarootdir/ {
   22016   p
   22017   q
   22018 }
   22019 /@datadir@/p
   22020 /@docdir@/p
   22021 /@infodir@/p
   22022 /@localedir@/p
   22023 /@mandir@/p'
   22024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22025 *datarootdir*) ac_datarootdir_seen=yes;;
   22026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22028 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22029 _ACEOF
   22030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22031   ac_datarootdir_hack='
   22032   s&@datadir@&$datadir&g
   22033   s&@docdir@&$docdir&g
   22034   s&@infodir@&$infodir&g
   22035   s&@localedir@&$localedir&g
   22036   s&@mandir@&$mandir&g
   22037   s&\\\${datarootdir}&$datarootdir&g' ;;
   22038 esac
   22039 _ACEOF
   22040 
   22041 # Neutralize VPATH when '$srcdir' = '.'.
   22042 # Shell code in configure.ac might set extrasub.
   22043 # FIXME: do we really want to maintain this feature?
   22044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22045 ac_sed_extra="$ac_vpsub
   22046 $extrasub
   22047 _ACEOF
   22048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22049 :t
   22050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22051 s|@configure_input@|$ac_sed_conf_input|;t t
   22052 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22053 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22054 s&@srcdir@&$ac_srcdir&;t t
   22055 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22056 s&@top_srcdir@&$ac_top_srcdir&;t t
   22057 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22058 s&@builddir@&$ac_builddir&;t t
   22059 s&@abs_builddir@&$ac_abs_builddir&;t t
   22060 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22061 s&@INSTALL@&$ac_INSTALL&;t t
   22062 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22063 $ac_datarootdir_hack
   22064 "
   22065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22066   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22067 
   22068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22069   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22070   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22071       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22073 which seems to be undefined.  Please make sure it is defined" >&5
   22074 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22075 which seems to be undefined.  Please make sure it is defined" >&2;}
   22076 
   22077   rm -f "$ac_tmp/stdin"
   22078   case $ac_file in
   22079   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22080   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22081   esac \
   22082   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22083  ;;
   22084   :H)
   22085   #
   22086   # CONFIG_HEADER
   22087   #
   22088   if test x"$ac_file" != x-; then
   22089     {
   22090       printf "%s\n" "/* $configure_input  */" >&1 \
   22091       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22092     } >"$ac_tmp/config.h" \
   22093       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22094     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22095       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22096 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22097     else
   22098       rm -f "$ac_file"
   22099       mv "$ac_tmp/config.h" "$ac_file" \
   22100 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22101     fi
   22102   else
   22103     printf "%s\n" "/* $configure_input  */" >&1 \
   22104       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22105       || as_fn_error $? "could not create -" "$LINENO" 5
   22106   fi
   22107 # Compute "$ac_file"'s index in $config_headers.
   22108 _am_arg="$ac_file"
   22109 _am_stamp_count=1
   22110 for _am_header in $config_headers :; do
   22111   case $_am_header in
   22112     $_am_arg | $_am_arg:* )
   22113       break ;;
   22114     * )
   22115       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22116   esac
   22117 done
   22118 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22119 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22120 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22121 	 X"$_am_arg" : 'X\(//\)$' \| \
   22122 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22123 printf "%s\n" X"$_am_arg" |
   22124     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22125 	    s//\1/
   22126 	    q
   22127 	  }
   22128 	  /^X\(\/\/\)[^/].*/{
   22129 	    s//\1/
   22130 	    q
   22131 	  }
   22132 	  /^X\(\/\/\)$/{
   22133 	    s//\1/
   22134 	    q
   22135 	  }
   22136 	  /^X\(\/\).*/{
   22137 	    s//\1/
   22138 	    q
   22139 	  }
   22140 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22141  ;;
   22142 
   22143   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22144 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22145  ;;
   22146   esac
   22147 
   22148 
   22149   case $ac_file$ac_mode in
   22150     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22151   # Older Autoconf quotes --file arguments for eval, but not when files
   22152   # are listed without --file.  Let's play safe and only enable the eval
   22153   # if we detect the quoting.
   22154   # TODO: see whether this extra hack can be removed once we start
   22155   # requiring Autoconf 2.70 or later.
   22156   case $CONFIG_FILES in #(
   22157   *\'*) :
   22158     eval set x "$CONFIG_FILES" ;; #(
   22159   *) :
   22160     set x $CONFIG_FILES ;; #(
   22161   *) :
   22162      ;;
   22163 esac
   22164   shift
   22165   # Used to flag and report bootstrapping failures.
   22166   am_rc=0
   22167   for am_mf
   22168   do
   22169     # Strip MF so we end up with the name of the file.
   22170     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22171     # Check whether this is an Automake generated Makefile which includes
   22172     # dependency-tracking related rules and includes.
   22173     # Grep'ing the whole file directly is not great: AIX grep has a line
   22174     # limit of 2048, but all sed's we know have understand at least 4000.
   22175     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22176       || continue
   22177     am_dirpart=`$as_dirname -- "$am_mf" ||
   22178 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22179 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22180 	 X"$am_mf" : 'X\(//\)$' \| \
   22181 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22182 printf "%s\n" X"$am_mf" |
   22183     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22184 	    s//\1/
   22185 	    q
   22186 	  }
   22187 	  /^X\(\/\/\)[^/].*/{
   22188 	    s//\1/
   22189 	    q
   22190 	  }
   22191 	  /^X\(\/\/\)$/{
   22192 	    s//\1/
   22193 	    q
   22194 	  }
   22195 	  /^X\(\/\).*/{
   22196 	    s//\1/
   22197 	    q
   22198 	  }
   22199 	  s/.*/./; q'`
   22200     am_filepart=`$as_basename -- "$am_mf" ||
   22201 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22202 	 X"$am_mf" : 'X\(//\)$' \| \
   22203 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22204 printf "%s\n" X/"$am_mf" |
   22205     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22206 	    s//\1/
   22207 	    q
   22208 	  }
   22209 	  /^X\/\(\/\/\)$/{
   22210 	    s//\1/
   22211 	    q
   22212 	  }
   22213 	  /^X\/\(\/\).*/{
   22214 	    s//\1/
   22215 	    q
   22216 	  }
   22217 	  s/.*/./; q'`
   22218     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22219       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22220         | $MAKE -f - am--depfiles" >&5
   22221    (cd "$am_dirpart" \
   22222       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22223         | $MAKE -f - am--depfiles) >&5 2>&5
   22224    ac_status=$?
   22225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22226    (exit $ac_status); } || am_rc=$?
   22227   done
   22228   if test $am_rc -ne 0; then
   22229     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22230 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22231 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22232     for automatic dependency tracking.  If GNU make was not used, consider
   22233     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22234     necessary).  You can also try re-running configure with the
   22235     '--disable-dependency-tracking' option to at least be able to build
   22236     the package (albeit without support for automatic dependency tracking).
   22237 See 'config.log' for more details" "$LINENO" 5; }
   22238   fi
   22239   { am_dirpart=; unset am_dirpart;}
   22240   { am_filepart=; unset am_filepart;}
   22241   { am_mf=; unset am_mf;}
   22242   { am_rc=; unset am_rc;}
   22243   rm -f conftest-deps.mk
   22244 }
   22245  ;;
   22246     "libtool":C)
   22247 
   22248     # See if we are running on zsh, and set the options that allow our
   22249     # commands through without removal of \ escapes.
   22250     if test -n "${ZSH_VERSION+set}"; then
   22251       setopt NO_GLOB_SUBST
   22252     fi
   22253 
   22254     cfgfile=${ofile}T
   22255     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22256     $RM "$cfgfile"
   22257 
   22258     cat <<_LT_EOF >> "$cfgfile"
   22259 #! $SHELL
   22260 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22261 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22262 
   22263 # Provide generalized library-building support services.
   22264 # Written by Gordon Matzigkeit, 1996
   22265 
   22266 # Copyright (C) 2024 Free Software Foundation, Inc.
   22267 # This is free software; see the source for copying conditions.  There is NO
   22268 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22269 
   22270 # GNU Libtool is free software; you can redistribute it and/or modify
   22271 # it under the terms of the GNU General Public License as published by
   22272 # the Free Software Foundation; either version 2 of the License, or
   22273 # (at your option) any later version.
   22274 #
   22275 # As a special exception to the GNU General Public License, if you
   22276 # distribute this file as part of a program or library that is built
   22277 # using GNU Libtool, you may include this file under the  same
   22278 # distribution terms that you use for the rest of that program.
   22279 #
   22280 # GNU Libtool is distributed in the hope that it will be useful, but
   22281 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22282 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22283 # GNU General Public License for more details.
   22284 #
   22285 # You should have received a copy of the GNU General Public License
   22286 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22287 
   22288 
   22289 # The names of the tagged configurations supported by this script.
   22290 available_tags=''
   22291 
   22292 # Configured defaults for sys_lib_dlsearch_path munging.
   22293 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22294 
   22295 # ### BEGIN LIBTOOL CONFIG
   22296 
   22297 # Which release of libtool.m4 was used?
   22298 macro_version=$macro_version
   22299 macro_revision=$macro_revision
   22300 
   22301 # Whether or not to build shared libraries.
   22302 build_libtool_libs=$enable_shared
   22303 
   22304 # Whether or not to build static libraries.
   22305 build_old_libs=$enable_static
   22306 
   22307 # What type of objects to build.
   22308 pic_mode=$pic_mode
   22309 
   22310 # Whether or not to optimize for fast installation.
   22311 fast_install=$enable_fast_install
   22312 
   22313 # Shared archive member basename,for filename based shared library versioning on AIX.
   22314 shared_archive_member_spec=$shared_archive_member_spec
   22315 
   22316 # Shell to use when invoking shell scripts.
   22317 SHELL=$lt_SHELL
   22318 
   22319 # An echo program that protects backslashes.
   22320 ECHO=$lt_ECHO
   22321 
   22322 # The PATH separator for the build system.
   22323 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22324 
   22325 # The host system.
   22326 host_alias=$host_alias
   22327 host=$host
   22328 host_os=$host_os
   22329 
   22330 # The build system.
   22331 build_alias=$build_alias
   22332 build=$build
   22333 build_os=$build_os
   22334 
   22335 # A sed program that does not truncate output.
   22336 SED=$lt_SED
   22337 
   22338 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22339 Xsed="\$SED -e 1s/^X//"
   22340 
   22341 # A grep program that handles long lines.
   22342 GREP=$lt_GREP
   22343 
   22344 # An ERE matcher.
   22345 EGREP=$lt_EGREP
   22346 
   22347 # A literal string matcher.
   22348 FGREP=$lt_FGREP
   22349 
   22350 # A BSD- or MS-compatible name lister.
   22351 NM=$lt_NM
   22352 
   22353 # Whether we need soft or hard links.
   22354 LN_S=$lt_LN_S
   22355 
   22356 # What is the maximum length of a command?
   22357 max_cmd_len=$max_cmd_len
   22358 
   22359 # Object file suffix (normally "o").
   22360 objext=$ac_objext
   22361 
   22362 # Executable file suffix (normally "").
   22363 exeext=$exeext
   22364 
   22365 # whether the shell understands "unset".
   22366 lt_unset=$lt_unset
   22367 
   22368 # turn spaces into newlines.
   22369 SP2NL=$lt_lt_SP2NL
   22370 
   22371 # turn newlines into spaces.
   22372 NL2SP=$lt_lt_NL2SP
   22373 
   22374 # convert \$build file names to \$host format.
   22375 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22376 
   22377 # convert \$build files to toolchain format.
   22378 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22379 
   22380 # A file(cmd) program that detects file types.
   22381 FILECMD=$lt_FILECMD
   22382 
   22383 # An object symbol dumper.
   22384 OBJDUMP=$lt_OBJDUMP
   22385 
   22386 # Method to check whether dependent libraries are shared objects.
   22387 deplibs_check_method=$lt_deplibs_check_method
   22388 
   22389 # Command to use when deplibs_check_method = "file_magic".
   22390 file_magic_cmd=$lt_file_magic_cmd
   22391 
   22392 # How to find potential files when deplibs_check_method = "file_magic".
   22393 file_magic_glob=$lt_file_magic_glob
   22394 
   22395 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22396 want_nocaseglob=$lt_want_nocaseglob
   22397 
   22398 # DLL creation program.
   22399 DLLTOOL=$lt_DLLTOOL
   22400 
   22401 # Command to associate shared and link libraries.
   22402 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22403 
   22404 # The archiver.
   22405 AR=$lt_AR
   22406 
   22407 # Flags to create an archive (by configure).
   22408 lt_ar_flags=$lt_ar_flags
   22409 
   22410 # Flags to create an archive.
   22411 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22412 
   22413 # How to feed a file listing to the archiver.
   22414 archiver_list_spec=$lt_archiver_list_spec
   22415 
   22416 # A symbol stripping program.
   22417 STRIP=$lt_STRIP
   22418 
   22419 # Commands used to install an old-style archive.
   22420 RANLIB=$lt_RANLIB
   22421 old_postinstall_cmds=$lt_old_postinstall_cmds
   22422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22423 
   22424 # Whether to use a lock for old archive extraction.
   22425 lock_old_archive_extraction=$lock_old_archive_extraction
   22426 
   22427 # A C compiler.
   22428 LTCC=$lt_CC
   22429 
   22430 # LTCC compiler flags.
   22431 LTCFLAGS=$lt_CFLAGS
   22432 
   22433 # Take the output of nm and produce a listing of raw symbols and C names.
   22434 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22435 
   22436 # Transform the output of nm in a proper C declaration.
   22437 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22438 
   22439 # Transform the output of nm into a list of symbols to manually relocate.
   22440 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22441 
   22442 # Transform the output of nm in a C name address pair.
   22443 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22444 
   22445 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22446 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22447 
   22448 # The name lister interface.
   22449 nm_interface=$lt_lt_cv_nm_interface
   22450 
   22451 # Specify filename containing input files for \$NM.
   22452 nm_file_list_spec=$lt_nm_file_list_spec
   22453 
   22454 # The root where to search for dependent libraries,and where our libraries should be installed.
   22455 lt_sysroot=$lt_sysroot
   22456 
   22457 # Command to truncate a binary pipe.
   22458 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22459 
   22460 # The name of the directory that contains temporary libtool files.
   22461 objdir=$objdir
   22462 
   22463 # Used to examine libraries when file_magic_cmd begins with "file".
   22464 MAGIC_CMD=$MAGIC_CMD
   22465 
   22466 # Must we lock files when doing compilation?
   22467 need_locks=$lt_need_locks
   22468 
   22469 # Manifest tool.
   22470 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22471 
   22472 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22473 DSYMUTIL=$lt_DSYMUTIL
   22474 
   22475 # Tool to change global to local symbols on Mac OS X.
   22476 NMEDIT=$lt_NMEDIT
   22477 
   22478 # Tool to manipulate fat objects and archives on Mac OS X.
   22479 LIPO=$lt_LIPO
   22480 
   22481 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22482 OTOOL=$lt_OTOOL
   22483 
   22484 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22485 OTOOL64=$lt_OTOOL64
   22486 
   22487 # Old archive suffix (normally "a").
   22488 libext=$libext
   22489 
   22490 # Shared library suffix (normally ".so").
   22491 shrext_cmds=$lt_shrext_cmds
   22492 
   22493 # The commands to extract the exported symbol list from a shared archive.
   22494 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22495 
   22496 # Variables whose values should be saved in libtool wrapper scripts and
   22497 # restored at link time.
   22498 variables_saved_for_relink=$lt_variables_saved_for_relink
   22499 
   22500 # Do we need the "lib" prefix for modules?
   22501 need_lib_prefix=$need_lib_prefix
   22502 
   22503 # Do we need a version for libraries?
   22504 need_version=$need_version
   22505 
   22506 # Library versioning type.
   22507 version_type=$version_type
   22508 
   22509 # Shared library runtime path variable.
   22510 runpath_var=$runpath_var
   22511 
   22512 # Shared library path variable.
   22513 shlibpath_var=$shlibpath_var
   22514 
   22515 # Is shlibpath searched before the hard-coded library search path?
   22516 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22517 
   22518 # Format of library name prefix.
   22519 libname_spec=$lt_libname_spec
   22520 
   22521 # List of archive names.  First name is the real one, the rest are links.
   22522 # The last name is the one that the linker finds with -lNAME
   22523 library_names_spec=$lt_library_names_spec
   22524 
   22525 # The coded name of the library, if different from the real name.
   22526 soname_spec=$lt_soname_spec
   22527 
   22528 # Permission mode override for installation of shared libraries.
   22529 install_override_mode=$lt_install_override_mode
   22530 
   22531 # Command to use after installation of a shared archive.
   22532 postinstall_cmds=$lt_postinstall_cmds
   22533 
   22534 # Command to use after uninstallation of a shared archive.
   22535 postuninstall_cmds=$lt_postuninstall_cmds
   22536 
   22537 # Commands used to finish a libtool library installation in a directory.
   22538 finish_cmds=$lt_finish_cmds
   22539 
   22540 # As "finish_cmds", except a single script fragment to be evaled but
   22541 # not shown.
   22542 finish_eval=$lt_finish_eval
   22543 
   22544 # Whether we should hardcode library paths into libraries.
   22545 hardcode_into_libs=$hardcode_into_libs
   22546 
   22547 # Compile-time system search path for libraries.
   22548 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22549 
   22550 # Detected run-time system search path for libraries.
   22551 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22552 
   22553 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22554 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22555 
   22556 # Whether dlopen is supported.
   22557 dlopen_support=$enable_dlopen
   22558 
   22559 # Whether dlopen of programs is supported.
   22560 dlopen_self=$enable_dlopen_self
   22561 
   22562 # Whether dlopen of statically linked programs is supported.
   22563 dlopen_self_static=$enable_dlopen_self_static
   22564 
   22565 # Commands to strip libraries.
   22566 old_striplib=$lt_old_striplib
   22567 striplib=$lt_striplib
   22568 
   22569 
   22570 # The linker used to build libraries.
   22571 LD=$lt_LD
   22572 
   22573 # How to create reloadable object files.
   22574 reload_flag=$lt_reload_flag
   22575 reload_cmds=$lt_reload_cmds
   22576 
   22577 # Commands used to build an old-style archive.
   22578 old_archive_cmds=$lt_old_archive_cmds
   22579 
   22580 # A language specific compiler.
   22581 CC=$lt_compiler
   22582 
   22583 # Is the compiler the GNU compiler?
   22584 with_gcc=$GCC
   22585 
   22586 # Compiler flag to turn off builtin functions.
   22587 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22588 
   22589 # Additional compiler flags for building library objects.
   22590 pic_flag=$lt_lt_prog_compiler_pic
   22591 
   22592 # How to pass a linker flag through the compiler.
   22593 wl=$lt_lt_prog_compiler_wl
   22594 
   22595 # Compiler flag to prevent dynamic linking.
   22596 link_static_flag=$lt_lt_prog_compiler_static
   22597 
   22598 # Does compiler simultaneously support -c and -o options?
   22599 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22600 
   22601 # Whether or not to add -lc for building shared libraries.
   22602 build_libtool_need_lc=$archive_cmds_need_lc
   22603 
   22604 # Whether or not to disallow shared libs when runtime libs are static.
   22605 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22606 
   22607 # Compiler flag to allow reflexive dlopens.
   22608 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22609 
   22610 # Compiler flag to generate shared objects directly from archives.
   22611 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22612 
   22613 # Whether the compiler copes with passing no objects directly.
   22614 compiler_needs_object=$lt_compiler_needs_object
   22615 
   22616 # Create an old-style archive from a shared archive.
   22617 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22618 
   22619 # Create a temporary old-style archive to link instead of a shared archive.
   22620 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22621 
   22622 # Commands used to build a shared archive.
   22623 archive_cmds=$lt_archive_cmds
   22624 archive_expsym_cmds=$lt_archive_expsym_cmds
   22625 
   22626 # Commands used to build a loadable module if different from building
   22627 # a shared archive.
   22628 module_cmds=$lt_module_cmds
   22629 module_expsym_cmds=$lt_module_expsym_cmds
   22630 
   22631 # Whether we are building with GNU ld or not.
   22632 with_gnu_ld=$lt_with_gnu_ld
   22633 
   22634 # Flag that allows shared libraries with undefined symbols to be built.
   22635 allow_undefined_flag=$lt_allow_undefined_flag
   22636 
   22637 # Flag that enforces no undefined symbols.
   22638 no_undefined_flag=$lt_no_undefined_flag
   22639 
   22640 # Flag to hardcode \$libdir into a binary during linking.
   22641 # This must work even if \$libdir does not exist
   22642 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22643 
   22644 # Whether we need a single "-rpath" flag with a separated argument.
   22645 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22646 
   22647 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22648 # DIR into the resulting binary.
   22649 hardcode_direct=$hardcode_direct
   22650 
   22651 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22652 # DIR into the resulting binary and the resulting library dependency is
   22653 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22654 # library is relocated.
   22655 hardcode_direct_absolute=$hardcode_direct_absolute
   22656 
   22657 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22658 # into the resulting binary.
   22659 hardcode_minus_L=$hardcode_minus_L
   22660 
   22661 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22662 # into the resulting binary.
   22663 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22664 
   22665 # Set to "yes" if building a shared library automatically hardcodes DIR
   22666 # into the library and all subsequent libraries and executables linked
   22667 # against it.
   22668 hardcode_automatic=$hardcode_automatic
   22669 
   22670 # Set to yes if linker adds runtime paths of dependent libraries
   22671 # to runtime path list.
   22672 inherit_rpath=$inherit_rpath
   22673 
   22674 # Whether libtool must link a program against all its dependency libraries.
   22675 link_all_deplibs=$link_all_deplibs
   22676 
   22677 # Set to "yes" if exported symbols are required.
   22678 always_export_symbols=$always_export_symbols
   22679 
   22680 # The commands to list exported symbols.
   22681 export_symbols_cmds=$lt_export_symbols_cmds
   22682 
   22683 # Symbols that should not be listed in the preloaded symbols.
   22684 exclude_expsyms=$lt_exclude_expsyms
   22685 
   22686 # Symbols that must always be exported.
   22687 include_expsyms=$lt_include_expsyms
   22688 
   22689 # Commands necessary for linking programs (against libraries) with templates.
   22690 prelink_cmds=$lt_prelink_cmds
   22691 
   22692 # Commands necessary for finishing linking programs.
   22693 postlink_cmds=$lt_postlink_cmds
   22694 
   22695 # Specify filename containing input files.
   22696 file_list_spec=$lt_file_list_spec
   22697 
   22698 # How to hardcode a shared library path into an executable.
   22699 hardcode_action=$hardcode_action
   22700 
   22701 # ### END LIBTOOL CONFIG
   22702 
   22703 _LT_EOF
   22704 
   22705     cat <<'_LT_EOF' >> "$cfgfile"
   22706 
   22707 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22708 
   22709 # func_munge_path_list VARIABLE PATH
   22710 # -----------------------------------
   22711 # VARIABLE is name of variable containing _space_ separated list of
   22712 # directories to be munged by the contents of PATH, which is string
   22713 # having a format:
   22714 # "DIR[:DIR]:"
   22715 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22716 # ":DIR[:DIR]"
   22717 #       string "DIR[ DIR]" will be appended to VARIABLE
   22718 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22719 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22720 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22721 # "DIR[:DIR]"
   22722 #       VARIABLE will be replaced by "DIR[ DIR]"
   22723 func_munge_path_list ()
   22724 {
   22725     case x$2 in
   22726     x)
   22727         ;;
   22728     *:)
   22729         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22730         ;;
   22731     x:*)
   22732         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22733         ;;
   22734     *::*)
   22735         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22736         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22737         ;;
   22738     *)
   22739         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22740         ;;
   22741     esac
   22742 }
   22743 
   22744 
   22745 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22746 func_cc_basename ()
   22747 {
   22748     for cc_temp in $*""; do
   22749       case $cc_temp in
   22750         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22751         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22752         \-*) ;;
   22753         *) break;;
   22754       esac
   22755     done
   22756     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22757 }
   22758 
   22759 
   22760 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22761 
   22762 _LT_EOF
   22763 
   22764   case $host_os in
   22765   aix3*)
   22766     cat <<\_LT_EOF >> "$cfgfile"
   22767 # AIX sometimes has problems with the GCC collect2 program.  For some
   22768 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22769 # vanish in a puff of smoke.
   22770 if test set != "${COLLECT_NAMES+set}"; then
   22771   COLLECT_NAMES=
   22772   export COLLECT_NAMES
   22773 fi
   22774 _LT_EOF
   22775     ;;
   22776   esac
   22777 
   22778 
   22779 
   22780 ltmain=$ac_aux_dir/ltmain.sh
   22781 
   22782 
   22783   # We use sed instead of cat because bash on DJGPP gets confused if
   22784   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22785   # text mode, it properly converts lines to CR/LF.  This bash problem
   22786   # is reportedly fixed, but why not run on old versions too?
   22787   $SED '$q' "$ltmain" >> "$cfgfile" \
   22788      || (rm -f "$cfgfile"; exit 1)
   22789 
   22790    mv -f "$cfgfile" "$ofile" ||
   22791     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22792   chmod +x "$ofile"
   22793 
   22794  ;;
   22795 
   22796   esac
   22797 done # for ac_tag
   22798 
   22799 
   22800 as_fn_exit 0
   22801 _ACEOF
   22802 ac_clean_files=$ac_clean_files_save
   22803 
   22804 test $ac_write_fail = 0 ||
   22805   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22806 
   22807 
   22808 # configure is writing to config.log, and then calls config.status.
   22809 # config.status does its own redirection, appending to config.log.
   22810 # Unfortunately, on DOS this fails, as config.log is still kept open
   22811 # by configure, so config.status won't be able to write to it; its
   22812 # output is simply discarded.  So we exec the FD to /dev/null,
   22813 # effectively closing config.log, so it can be properly (re)opened and
   22814 # appended to by config.status.  When coming back to configure, we
   22815 # need to make the FD available again.
   22816 if test "$no_create" != yes; then
   22817   ac_cs_success=:
   22818   ac_config_status_args=
   22819   test "$silent" = yes &&
   22820     ac_config_status_args="$ac_config_status_args --quiet"
   22821   exec 5>/dev/null
   22822   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22823   exec 5>>config.log
   22824   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22825   # would make configure fail if this is the last instruction.
   22826   $ac_cs_success || as_fn_exit 1
   22827 fi
   22828 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22830 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22831 fi
   22832 
   22833 
   22834