Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for xf86-video-nv 2.1.24.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # contradicts POSIX and common usage.  Disable this.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 test \$(( 1 + 1 )) = 2 || exit 1
    191 
    192   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    193     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    194     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    195     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    196     PATH=/empty FPATH=/empty; export PATH FPATH
    197     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    198       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    199   if (eval "$as_required") 2>/dev/null
    200 then :
    201   as_have_required=yes
    202 else case e in #(
    203   e) as_have_required=no ;;
    204 esac
    205 fi
    206   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    207 then :
    208 
    209 else case e in #(
    210   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   case $as_dir in #(((
    216     '') as_dir=./ ;;
    217     */) ;;
    218     *) as_dir=$as_dir/ ;;
    219   esac
    220   as_found=:
    221   case $as_dir in #(
    222 	 /*)
    223 	   for as_base in sh bash ksh sh5; do
    224 	     # Try only shells that exist, to save several forks.
    225 	     as_shell=$as_dir$as_base
    226 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    227 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    228 then :
    229   CONFIG_SHELL=$as_shell as_have_required=yes
    230 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    231 then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 IFS=$as_save_IFS
    240 if $as_found
    241 then :
    242 
    243 else case e in #(
    244   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    245 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    246 then :
    247   CONFIG_SHELL=$SHELL as_have_required=yes
    248 fi ;;
    249 esac
    250 fi
    251 
    252 
    253       if test "x$CONFIG_SHELL" != x
    254 then :
    255   export CONFIG_SHELL
    256              # We cannot yet assume a decent shell, so we have to provide a
    257 # neutralization value for shells without unset; and this also
    258 # works around shells that cannot unset nonexistent variables.
    259 # Preserve -v and -x to the replacement shell.
    260 BASH_ENV=/dev/null
    261 ENV=/dev/null
    262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    263 case $- in # ((((
    264   *v*x* | *x*v* ) as_opts=-vx ;;
    265   *v* ) as_opts=-v ;;
    266   *x* ) as_opts=-x ;;
    267   * ) as_opts= ;;
    268 esac
    269 case $# in # ((
    270   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    271   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    272 esac
    273 # Admittedly, this is quite paranoid, since all the known shells bail
    274 # out after a failed 'exec'.
    275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    276 exit 255
    277 fi
    278 
    279     if test x$as_have_required = xno
    280 then :
    281   printf '%s\n' "$0: This script requires a shell more modern than all"
    282   printf '%s\n' "$0: the shells that I found on your system."
    283   if test ${ZSH_VERSION+y} ; then
    284     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    285     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    286   else
    287     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and
    288 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/issues
    289 $0: about your system, including any error possibly output
    290 $0: before this message. Then install a modern shell, or
    291 $0: manually run the script under such a shell if you do
    292 $0: have one."
    293   fi
    294   exit 1
    295 fi ;;
    296 esac
    297 fi
    298 fi
    299 SHELL=${CONFIG_SHELL-/bin/sh}
    300 export SHELL
    301 # Unset more variables known to interfere with behavior of common tools.
    302 CLICOLOR_FORCE= GREP_OPTIONS=
    303 unset CLICOLOR_FORCE GREP_OPTIONS
    304 
    305 ## --------------------- ##
    306 ## M4sh Shell Functions. ##
    307 ## --------------------- ##
    308 # as_fn_unset VAR
    309 # ---------------
    310 # Portably unset VAR.
    311 as_fn_unset ()
    312 {
    313   { eval $1=; unset $1;}
    314 }
    315 as_unset=as_fn_unset
    316 
    317 
    318 # as_fn_set_status STATUS
    319 # -----------------------
    320 # Set $? to STATUS, without forking.
    321 as_fn_set_status ()
    322 {
    323   return $1
    324 } # as_fn_set_status
    325 
    326 # as_fn_exit STATUS
    327 # -----------------
    328 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    329 as_fn_exit ()
    330 {
    331   set +e
    332   as_fn_set_status $1
    333   exit $1
    334 } # as_fn_exit
    335 
    336 # as_fn_mkdir_p
    337 # -------------
    338 # Create "$as_dir" as a directory, including parents if necessary.
    339 as_fn_mkdir_p ()
    340 {
    341 
    342   case $as_dir in #(
    343   -*) as_dir=./$as_dir;;
    344   esac
    345   test -d "$as_dir" || eval $as_mkdir_p || {
    346     as_dirs=
    347     while :; do
    348       case $as_dir in #(
    349       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    350       *) as_qdir=$as_dir;;
    351       esac
    352       as_dirs="'$as_qdir' $as_dirs"
    353       as_dir=`$as_dirname -- "$as_dir" ||
    354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    355 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    356 	 X"$as_dir" : 'X\(//\)$' \| \
    357 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    358 printf '%s\n' X"$as_dir" |
    359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\/\)[^/].*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  /^X\(\/\/\)$/{
    368 	    s//\1/
    369 	    q
    370 	  }
    371 	  /^X\(\/\).*/{
    372 	    s//\1/
    373 	    q
    374 	  }
    375 	  s/.*/./; q'`
    376       test -d "$as_dir" && break
    377     done
    378     test -z "$as_dirs" || eval "mkdir $as_dirs"
    379   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    380 
    381 
    382 } # as_fn_mkdir_p
    383 
    384 # as_fn_executable_p FILE
    385 # -----------------------
    386 # Test if FILE is an executable regular file.
    387 as_fn_executable_p ()
    388 {
    389   test -f "$1" && test -x "$1"
    390 } # as_fn_executable_p
    391 # as_fn_append VAR VALUE
    392 # ----------------------
    393 # Append the text in VALUE to the end of the definition contained in VAR. Take
    394 # advantage of any shell optimizations that allow amortized linear growth over
    395 # repeated appends, instead of the typical quadratic growth present in naive
    396 # implementations.
    397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    398 then :
    399   eval 'as_fn_append ()
    400   {
    401     eval $1+=\$2
    402   }'
    403 else case e in #(
    404   e) as_fn_append ()
    405   {
    406     eval $1=\$$1\$2
    407   } ;;
    408 esac
    409 fi # as_fn_append
    410 
    411 # as_fn_arith ARG...
    412 # ------------------
    413 # Perform arithmetic evaluation on the ARGs, and store the result in the
    414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    415 # must be portable across $(()) and expr.
    416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    417 then :
    418   eval 'as_fn_arith ()
    419   {
    420     as_val=$(( $* ))
    421   }'
    422 else case e in #(
    423   e) as_fn_arith ()
    424   {
    425     as_val=`expr "$@" || test $? -eq 1`
    426   } ;;
    427 esac
    428 fi # as_fn_arith
    429 
    430 
    431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    432 # ----------------------------------------
    433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    435 # script with STATUS, using 1 if that was 0.
    436 as_fn_error ()
    437 {
    438   as_status=$1; test $as_status -eq 0 && as_status=1
    439   if test "$4"; then
    440     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    441     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    442   fi
    443   printf '%s\n' "$as_me: error: $2" >&2
    444   as_fn_exit $as_status
    445 } # as_fn_error
    446 
    447 if expr a : '\(a\)' >/dev/null 2>&1 &&
    448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    449   as_expr=expr
    450 else
    451   as_expr=false
    452 fi
    453 
    454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    455   as_basename=basename
    456 else
    457   as_basename=false
    458 fi
    459 
    460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461   as_dirname=dirname
    462 else
    463   as_dirname=false
    464 fi
    465 
    466 as_me=`$as_basename -- "$0" ||
    467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    468 	 X"$0" : 'X\(//\)$' \| \
    469 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    470 printf '%s\n' X/"$0" |
    471     sed '/^.*\/\([^/][^/]*\)\/*$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\/\)$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\).*/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  s/.*/./; q'`
    484 
    485 # Avoid depending upon Character Ranges.
    486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    489 as_cr_digits='0123456789'
    490 as_cr_alnum=$as_cr_Letters$as_cr_digits
    491 
    492 
    493   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    494   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    495   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    496   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    497   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    498   sed -n '
    499     p
    500     /[$]LINENO/=
    501   ' <$as_myself |
    502     sed '
    503       t clear
    504       :clear
    505       s/[$]LINENO.*/&-/
    506       t lineno
    507       b
    508       :lineno
    509       N
    510       :loop
    511       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    512       t loop
    513       s/-\n.*//
    514     ' >$as_me.lineno &&
    515   chmod +x "$as_me.lineno" ||
    516     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    517 
    518   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    519   # already done that, so ensure we don't try to do so again and fall
    520   # in an infinite loop.  This has already happened in practice.
    521   _as_can_reexec=no; export _as_can_reexec
    522   # Don't try to exec as it changes $[0], causing all sort of problems
    523   # (the dirname of $[0] is not the place where we might find the
    524   # original and so on.  Autoconf is especially sensitive to this).
    525   . "./$as_me.lineno"
    526   # Exit status is that of the last command.
    527   exit
    528 }
    529 
    530 rm -f conf$$ conf$$.exe conf$$.file
    531 if test -d conf$$.dir; then
    532   rm -f conf$$.dir/conf$$.file
    533 else
    534   rm -f conf$$.dir
    535   mkdir conf$$.dir 2>/dev/null
    536 fi
    537 if (echo >conf$$.file) 2>/dev/null; then
    538   if ln -s conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s='ln -s'
    540     # ... but there are two gotchas:
    541     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    542     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    543     # In both cases, we have to default to 'cp -pR'.
    544     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    545       as_ln_s='cp -pR'
    546   elif ln conf$$.file conf$$ 2>/dev/null; then
    547     as_ln_s=ln
    548   else
    549     as_ln_s='cp -pR'
    550   fi
    551 else
    552   as_ln_s='cp -pR'
    553 fi
    554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    555 rmdir conf$$.dir 2>/dev/null
    556 
    557 if mkdir -p . 2>/dev/null; then
    558   as_mkdir_p='mkdir -p "$as_dir"'
    559 else
    560   test -d ./-p && rmdir ./-p
    561   as_mkdir_p=false
    562 fi
    563 
    564 as_test_x='test -x'
    565 as_executable_p=as_fn_executable_p
    566 
    567 # Sed expression to map a string onto a valid CPP name.
    568 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    569 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    573 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    574 
    575 SHELL=${CONFIG_SHELL-/bin/sh}
    576 
    577 
    578 test -n "$DJDIR" || exec 7<&0 </dev/null
    579 exec 6>&1
    580 
    581 # Name of the host.
    582 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    583 # so uname gets run too.
    584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    585 
    586 #
    587 # Initializations.
    588 #
    589 ac_default_prefix=/usr/local
    590 ac_clean_CONFIG_STATUS=
    591 ac_clean_files=
    592 ac_config_libobj_dir=.
    593 LIBOBJS=
    594 cross_compiling=no
    595 subdirs=
    596 MFLAGS=
    597 MAKEFLAGS=
    598 
    599 # Identity of this package.
    600 PACKAGE_NAME='xf86-video-nv'
    601 PACKAGE_TARNAME='xf86-video-nv'
    602 PACKAGE_VERSION='2.1.24'
    603 PACKAGE_STRING='xf86-video-nv 2.1.24'
    604 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/issues'
    605 PACKAGE_URL=''
    606 
    607 ac_unique_file="Makefile.am"
    608 # Factoring default headers for most tests.
    609 ac_includes_default="\
    610 #include <stddef.h>
    611 #ifdef HAVE_STDIO_H
    612 # include <stdio.h>
    613 #endif
    614 #ifdef HAVE_STDLIB_H
    615 # include <stdlib.h>
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # include <string.h>
    619 #endif
    620 #ifdef HAVE_INTTYPES_H
    621 # include <inttypes.h>
    622 #endif
    623 #ifdef HAVE_STDINT_H
    624 # include <stdint.h>
    625 #endif
    626 #ifdef HAVE_STRINGS_H
    627 # include <strings.h>
    628 #endif
    629 #ifdef HAVE_SYS_TYPES_H
    630 # include <sys/types.h>
    631 #endif
    632 #ifdef HAVE_SYS_STAT_H
    633 # include <sys/stat.h>
    634 #endif
    635 #ifdef HAVE_UNISTD_H
    636 # include <unistd.h>
    637 #endif"
    638 
    639 ac_header_c_list=
    640 ac_subst_vars='am__EXEEXT_FALSE
    641 am__EXEEXT_TRUE
    642 LTLIBOBJS
    643 LIBOBJS
    644 DRIVER_NAME
    645 moduledir
    646 XAA_FALSE
    647 XAA_TRUE
    648 PCIACCESS_LIBS
    649 PCIACCESS_CFLAGS
    650 HAVE_XEXTPROTO_71_FALSE
    651 HAVE_XEXTPROTO_71_TRUE
    652 XEXT_LIBS
    653 XEXT_CFLAGS
    654 XORG_LIBS
    655 XORG_CFLAGS
    656 LT_SYS_LIBRARY_PATH
    657 OTOOL64
    658 OTOOL
    659 LIPO
    660 NMEDIT
    661 DSYMUTIL
    662 MANIFEST_TOOL
    663 RANLIB
    664 ac_ct_AR
    665 AR
    666 DLLTOOL
    667 OBJDUMP
    668 FILECMD
    669 LN_S
    670 NM
    671 ac_ct_DUMPBIN
    672 DUMPBIN
    673 LD
    674 FGREP
    675 EGREP
    676 GREP
    677 LIBTOOL
    678 am__xargs_n
    679 am__rm_f_notfound
    680 CSCOPE
    681 ETAGS
    682 CTAGS
    683 am__fastdepCC_FALSE
    684 am__fastdepCC_TRUE
    685 CCDEPMODE
    686 am__nodep
    687 AMDEPBACKSLASH
    688 AMDEP_FALSE
    689 AMDEP_TRUE
    690 am__include
    691 DEPDIR
    692 am__untar
    693 am__tar
    694 AMTAR
    695 am__leading_dot
    696 SET_MAKE
    697 AWK
    698 mkdir_p
    699 MKDIR_P
    700 INSTALL_STRIP_PROGRAM
    701 STRIP
    702 install_sh
    703 MAKEINFO
    704 AUTOHEADER
    705 AUTOMAKE
    706 AUTOCONF
    707 ACLOCAL
    708 VERSION
    709 PACKAGE
    710 CYGPATH_W
    711 am__isrc
    712 AM_BACKSLASH
    713 AM_DEFAULT_VERBOSITY
    714 AM_DEFAULT_V
    715 AM_V
    716 MAN_SUBSTS
    717 XORG_MAN_PAGE
    718 ADMIN_MAN_DIR
    719 DRIVER_MAN_DIR
    720 MISC_MAN_DIR
    721 FILE_MAN_DIR
    722 LIB_MAN_DIR
    723 APP_MAN_DIR
    724 ADMIN_MAN_SUFFIX
    725 DRIVER_MAN_SUFFIX
    726 MISC_MAN_SUFFIX
    727 FILE_MAN_SUFFIX
    728 LIB_MAN_SUFFIX
    729 APP_MAN_SUFFIX
    730 SED
    731 host_os
    732 host_vendor
    733 host_cpu
    734 host
    735 build_os
    736 build_vendor
    737 build_cpu
    738 build
    739 INSTALL_CMD
    740 PKG_CONFIG_LIBDIR
    741 PKG_CONFIG_PATH
    742 PKG_CONFIG
    743 CHANGELOG_CMD
    744 STRICT_CFLAGS
    745 CWARNFLAGS
    746 BASE_CFLAGS
    747 OBJEXT
    748 EXEEXT
    749 ac_ct_CC
    750 CPPFLAGS
    751 LDFLAGS
    752 CFLAGS
    753 CC
    754 INSTALL_DATA
    755 INSTALL_SCRIPT
    756 INSTALL_PROGRAM
    757 ECHO_T
    758 ECHO_N
    759 ECHO_C
    760 target_alias
    761 host_alias
    762 build_alias
    763 LIBS
    764 DEFS
    765 mandir
    766 localedir
    767 libdir
    768 psdir
    769 pdfdir
    770 dvidir
    771 htmldir
    772 infodir
    773 docdir
    774 oldincludedir
    775 includedir
    776 runstatedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL
    796 am__quote'
    797 ac_subst_files=''
    798 ac_user_opts='
    799 enable_option_checking
    800 enable_selective_werror
    801 enable_strict_compilation
    802 enable_silent_rules
    803 enable_dependency_tracking
    804 enable_static
    805 enable_shared
    806 enable_pic
    807 with_pic
    808 enable_fast_install
    809 enable_aix_soname
    810 with_aix_soname
    811 with_gnu_ld
    812 with_sysroot
    813 enable_libtool_lock
    814 with_xorg_module_dir
    815 enable_xaa
    816 '
    817       ac_precious_vars='build_alias
    818 host_alias
    819 target_alias
    820 CC
    821 CFLAGS
    822 LDFLAGS
    823 LIBS
    824 CPPFLAGS
    825 PKG_CONFIG
    826 PKG_CONFIG_PATH
    827 PKG_CONFIG_LIBDIR
    828 LT_SYS_LIBRARY_PATH
    829 XORG_CFLAGS
    830 XORG_LIBS
    831 XEXT_CFLAGS
    832 XEXT_LIBS
    833 PCIACCESS_CFLAGS
    834 PCIACCESS_LIBS'
    835 
    836 
    837 # Initialize some variables set by options.
    838 ac_init_help=
    839 ac_init_version=false
    840 ac_unrecognized_opts=
    841 ac_unrecognized_sep=
    842 # The variables have the same names as the options, with
    843 # dashes changed to underlines.
    844 cache_file=/dev/null
    845 exec_prefix=NONE
    846 no_create=
    847 no_recursion=
    848 prefix=NONE
    849 program_prefix=NONE
    850 program_suffix=NONE
    851 program_transform_name=s,x,x,
    852 silent=
    853 site=
    854 srcdir=
    855 verbose=
    856 x_includes=NONE
    857 x_libraries=NONE
    858 
    859 # Installation directory options.
    860 # These are left unexpanded so users can "make install exec_prefix=/foo"
    861 # and all the variables that are supposed to be based on exec_prefix
    862 # by default will actually change.
    863 # Use braces instead of parens because sh, perl, etc. also accept them.
    864 # (The list follows the same order as the GNU Coding Standards.)
    865 bindir='${exec_prefix}/bin'
    866 sbindir='${exec_prefix}/sbin'
    867 libexecdir='${exec_prefix}/libexec'
    868 datarootdir='${prefix}/share'
    869 datadir='${datarootdir}'
    870 sysconfdir='${prefix}/etc'
    871 sharedstatedir='${prefix}/com'
    872 localstatedir='${prefix}/var'
    873 runstatedir='${localstatedir}/run'
    874 includedir='${prefix}/include'
    875 oldincludedir='/usr/include'
    876 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    877 infodir='${datarootdir}/info'
    878 htmldir='${docdir}'
    879 dvidir='${docdir}'
    880 pdfdir='${docdir}'
    881 psdir='${docdir}'
    882 libdir='${exec_prefix}/lib'
    883 localedir='${datarootdir}/locale'
    884 mandir='${datarootdir}/man'
    885 
    886 ac_prev=
    887 ac_dashdash=
    888 for ac_option
    889 do
    890   # If the previous option needs an argument, assign it.
    891   if test -n "$ac_prev"; then
    892     eval $ac_prev=\$ac_option
    893     ac_prev=
    894     continue
    895   fi
    896 
    897   case $ac_option in
    898   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    899   *=)   ac_optarg= ;;
    900   *)    ac_optarg=yes ;;
    901   esac
    902 
    903   case $ac_dashdash$ac_option in
    904   --)
    905     ac_dashdash=yes ;;
    906 
    907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    908     ac_prev=bindir ;;
    909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    910     bindir=$ac_optarg ;;
    911 
    912   -build | --build | --buil | --bui | --bu)
    913     ac_prev=build_alias ;;
    914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    915     build_alias=$ac_optarg ;;
    916 
    917   -cache-file | --cache-file | --cache-fil | --cache-fi \
    918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    919     ac_prev=cache_file ;;
    920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    922     cache_file=$ac_optarg ;;
    923 
    924   --config-cache | -C)
    925     cache_file=config.cache ;;
    926 
    927   -datadir | --datadir | --datadi | --datad)
    928     ac_prev=datadir ;;
    929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    930     datadir=$ac_optarg ;;
    931 
    932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    933   | --dataroo | --dataro | --datar)
    934     ac_prev=datarootdir ;;
    935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    937     datarootdir=$ac_optarg ;;
    938 
    939   -disable-* | --disable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: '$ac_useropt'"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=no ;;
    954 
    955   -docdir | --docdir | --docdi | --doc | --do)
    956     ac_prev=docdir ;;
    957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    958     docdir=$ac_optarg ;;
    959 
    960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    961     ac_prev=dvidir ;;
    962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    963     dvidir=$ac_optarg ;;
    964 
    965   -enable-* | --enable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: '$ac_useropt'"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=\$ac_optarg ;;
    980 
    981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    983   | --exec | --exe | --ex)
    984     ac_prev=exec_prefix ;;
    985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    987   | --exec=* | --exe=* | --ex=*)
    988     exec_prefix=$ac_optarg ;;
    989 
    990   -gas | --gas | --ga | --g)
    991     # Obsolete; use --with-gas.
    992     with_gas=yes ;;
    993 
    994   -help | --help | --hel | --he | -h)
    995     ac_init_help=long ;;
    996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    997     ac_init_help=recursive ;;
    998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    999     ac_init_help=short ;;
   1000 
   1001   -host | --host | --hos | --ho)
   1002     ac_prev=host_alias ;;
   1003   -host=* | --host=* | --hos=* | --ho=*)
   1004     host_alias=$ac_optarg ;;
   1005 
   1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1007     ac_prev=htmldir ;;
   1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1009   | --ht=*)
   1010     htmldir=$ac_optarg ;;
   1011 
   1012   -includedir | --includedir | --includedi | --included | --include \
   1013   | --includ | --inclu | --incl | --inc)
   1014     ac_prev=includedir ;;
   1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1017     includedir=$ac_optarg ;;
   1018 
   1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1020     ac_prev=infodir ;;
   1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1022     infodir=$ac_optarg ;;
   1023 
   1024   -libdir | --libdir | --libdi | --libd)
   1025     ac_prev=libdir ;;
   1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1027     libdir=$ac_optarg ;;
   1028 
   1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1030   | --libexe | --libex | --libe)
   1031     ac_prev=libexecdir ;;
   1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1033   | --libexe=* | --libex=* | --libe=*)
   1034     libexecdir=$ac_optarg ;;
   1035 
   1036   -localedir | --localedir | --localedi | --localed | --locale)
   1037     ac_prev=localedir ;;
   1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1039     localedir=$ac_optarg ;;
   1040 
   1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1042   | --localstate | --localstat | --localsta | --localst | --locals)
   1043     ac_prev=localstatedir ;;
   1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1046     localstatedir=$ac_optarg ;;
   1047 
   1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1049     ac_prev=mandir ;;
   1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1051     mandir=$ac_optarg ;;
   1052 
   1053   -nfp | --nfp | --nf)
   1054     # Obsolete; use --without-fp.
   1055     with_fp=no ;;
   1056 
   1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1058   | --no-cr | --no-c | -n)
   1059     no_create=yes ;;
   1060 
   1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1063     no_recursion=yes ;;
   1064 
   1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1067   | --oldin | --oldi | --old | --ol | --o)
   1068     ac_prev=oldincludedir ;;
   1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1072     oldincludedir=$ac_optarg ;;
   1073 
   1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1075     ac_prev=prefix ;;
   1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1077     prefix=$ac_optarg ;;
   1078 
   1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1080   | --program-pre | --program-pr | --program-p)
   1081     ac_prev=program_prefix ;;
   1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1084     program_prefix=$ac_optarg ;;
   1085 
   1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1087   | --program-suf | --program-su | --program-s)
   1088     ac_prev=program_suffix ;;
   1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1091     program_suffix=$ac_optarg ;;
   1092 
   1093   -program-transform-name | --program-transform-name \
   1094   | --program-transform-nam | --program-transform-na \
   1095   | --program-transform-n | --program-transform- \
   1096   | --program-transform | --program-transfor \
   1097   | --program-transfo | --program-transf \
   1098   | --program-trans | --program-tran \
   1099   | --progr-tra | --program-tr | --program-t)
   1100     ac_prev=program_transform_name ;;
   1101   -program-transform-name=* | --program-transform-name=* \
   1102   | --program-transform-nam=* | --program-transform-na=* \
   1103   | --program-transform-n=* | --program-transform-=* \
   1104   | --program-transform=* | --program-transfor=* \
   1105   | --program-transfo=* | --program-transf=* \
   1106   | --program-trans=* | --program-tran=* \
   1107   | --progr-tra=* | --program-tr=* | --program-t=*)
   1108     program_transform_name=$ac_optarg ;;
   1109 
   1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1111     ac_prev=pdfdir ;;
   1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1113     pdfdir=$ac_optarg ;;
   1114 
   1115   -psdir | --psdir | --psdi | --psd | --ps)
   1116     ac_prev=psdir ;;
   1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1118     psdir=$ac_optarg ;;
   1119 
   1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1121   | -silent | --silent | --silen | --sile | --sil)
   1122     silent=yes ;;
   1123 
   1124   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1125   | --runstate | --runstat | --runsta | --runst | --runs \
   1126   | --run | --ru | --r)
   1127     ac_prev=runstatedir ;;
   1128   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1129   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1130   | --run=* | --ru=* | --r=*)
   1131     runstatedir=$ac_optarg ;;
   1132 
   1133   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1134     ac_prev=sbindir ;;
   1135   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1136   | --sbi=* | --sb=*)
   1137     sbindir=$ac_optarg ;;
   1138 
   1139   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1140   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1141   | --sharedst | --shareds | --shared | --share | --shar \
   1142   | --sha | --sh)
   1143     ac_prev=sharedstatedir ;;
   1144   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1145   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1146   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1147   | --sha=* | --sh=*)
   1148     sharedstatedir=$ac_optarg ;;
   1149 
   1150   -site | --site | --sit)
   1151     ac_prev=site ;;
   1152   -site=* | --site=* | --sit=*)
   1153     site=$ac_optarg ;;
   1154 
   1155   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1156     ac_prev=srcdir ;;
   1157   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1158     srcdir=$ac_optarg ;;
   1159 
   1160   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1161   | --syscon | --sysco | --sysc | --sys | --sy)
   1162     ac_prev=sysconfdir ;;
   1163   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1164   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1165     sysconfdir=$ac_optarg ;;
   1166 
   1167   -target | --target | --targe | --targ | --tar | --ta | --t)
   1168     ac_prev=target_alias ;;
   1169   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1170     target_alias=$ac_optarg ;;
   1171 
   1172   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1173     verbose=yes ;;
   1174 
   1175   -version | --version | --versio | --versi | --vers | -V)
   1176     ac_init_version=: ;;
   1177 
   1178   -with-* | --with-*)
   1179     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1180     # Reject names that are not valid shell variable names.
   1181     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1182       as_fn_error $? "invalid package name: '$ac_useropt'"
   1183     ac_useropt_orig=$ac_useropt
   1184     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1185     case $ac_user_opts in
   1186       *"
   1187 "with_$ac_useropt"
   1188 "*) ;;
   1189       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1190 	 ac_unrecognized_sep=', ';;
   1191     esac
   1192     eval with_$ac_useropt=\$ac_optarg ;;
   1193 
   1194   -without-* | --without-*)
   1195     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1196     # Reject names that are not valid shell variable names.
   1197     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1198       as_fn_error $? "invalid package name: '$ac_useropt'"
   1199     ac_useropt_orig=$ac_useropt
   1200     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1201     case $ac_user_opts in
   1202       *"
   1203 "with_$ac_useropt"
   1204 "*) ;;
   1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1206 	 ac_unrecognized_sep=', ';;
   1207     esac
   1208     eval with_$ac_useropt=no ;;
   1209 
   1210   --x)
   1211     # Obsolete; use --with-x.
   1212     with_x=yes ;;
   1213 
   1214   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1215   | --x-incl | --x-inc | --x-in | --x-i)
   1216     ac_prev=x_includes ;;
   1217   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1218   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1219     x_includes=$ac_optarg ;;
   1220 
   1221   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1222   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1223     ac_prev=x_libraries ;;
   1224   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1225   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1226     x_libraries=$ac_optarg ;;
   1227 
   1228   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1229 Try '$0 --help' for more information"
   1230     ;;
   1231 
   1232   *=*)
   1233     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1234     # Reject names that are not valid shell variable names.
   1235     case $ac_envvar in #(
   1236       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1237       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1238     esac
   1239     eval $ac_envvar=\$ac_optarg
   1240     export $ac_envvar ;;
   1241 
   1242   *)
   1243     # FIXME: should be removed in autoconf 3.0.
   1244     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1245     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1246       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1247     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1248     ;;
   1249 
   1250   esac
   1251 done
   1252 
   1253 if test -n "$ac_prev"; then
   1254   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1255   as_fn_error $? "missing argument to $ac_option"
   1256 fi
   1257 
   1258 if test -n "$ac_unrecognized_opts"; then
   1259   case $enable_option_checking in
   1260     no) ;;
   1261     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1262     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1263   esac
   1264 fi
   1265 
   1266 # Check all directory arguments for consistency.
   1267 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1268 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1269 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1270 		libdir localedir mandir runstatedir
   1271 do
   1272   eval ac_val=\$$ac_var
   1273   # Remove trailing slashes.
   1274   case $ac_val in
   1275     */ )
   1276       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1277       eval $ac_var=\$ac_val;;
   1278   esac
   1279   # Be sure to have absolute directory names.
   1280   case $ac_val in
   1281     [\\/$]* | ?:[\\/]* )  continue;;
   1282     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1283   esac
   1284   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1285 done
   1286 
   1287 # There might be people who depend on the old broken behavior: '$host'
   1288 # used to hold the argument of --host etc.
   1289 # FIXME: To remove some day.
   1290 build=$build_alias
   1291 host=$host_alias
   1292 target=$target_alias
   1293 
   1294 # FIXME: To remove some day.
   1295 if test "x$host_alias" != x; then
   1296   if test "x$build_alias" = x; then
   1297     cross_compiling=maybe
   1298   elif test "x$build_alias" != "x$host_alias"; then
   1299     cross_compiling=yes
   1300   fi
   1301 fi
   1302 
   1303 ac_tool_prefix=
   1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1305 
   1306 test "$silent" = yes && exec 6>/dev/null
   1307 
   1308 
   1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1310 ac_ls_di=`ls -di .` &&
   1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1312   as_fn_error $? "working directory cannot be determined"
   1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1314   as_fn_error $? "pwd does not report name of working directory"
   1315 
   1316 
   1317 # Find the source files, if location was not specified.
   1318 if test -z "$srcdir"; then
   1319   ac_srcdir_defaulted=yes
   1320   # Try the directory containing this script, then the parent directory.
   1321   ac_confdir=`$as_dirname -- "$as_myself" ||
   1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1323 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1324 	 X"$as_myself" : 'X\(//\)$' \| \
   1325 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1326 printf '%s\n' X"$as_myself" |
   1327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  /^X\(\/\/\)[^/].*/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  /^X\(\/\/\)$/{
   1336 	    s//\1/
   1337 	    q
   1338 	  }
   1339 	  /^X\(\/\).*/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  s/.*/./; q'`
   1344   srcdir=$ac_confdir
   1345   if test ! -r "$srcdir/$ac_unique_file"; then
   1346     srcdir=..
   1347   fi
   1348 else
   1349   ac_srcdir_defaulted=no
   1350 fi
   1351 if test ! -r "$srcdir/$ac_unique_file"; then
   1352   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1353   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1354 fi
   1355 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1356 ac_abs_confdir=`(
   1357 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1358 	pwd)`
   1359 # When building in place, set srcdir=.
   1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1361   srcdir=.
   1362 fi
   1363 # Remove unnecessary trailing slashes from srcdir.
   1364 # Double slashes in file names in object file debugging info
   1365 # mess up M-x gdb in Emacs.
   1366 case $srcdir in
   1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1368 esac
   1369 for ac_var in $ac_precious_vars; do
   1370   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1371   eval ac_env_${ac_var}_value=\$${ac_var}
   1372   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1373   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1374 done
   1375 
   1376 #
   1377 # Report the --help message.
   1378 #
   1379 if test "$ac_init_help" = "long"; then
   1380   # Omit some internal or obsolete options to make the list less imposing.
   1381   # This message is too long to be a string in the A/UX 3.1 sh.
   1382   cat <<_ACEOF
   1383 'configure' configures xf86-video-nv 2.1.24 to adapt to many kinds of systems.
   1384 
   1385 Usage: $0 [OPTION]... [VAR=VALUE]...
   1386 
   1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1388 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1389 
   1390 Defaults for the options are specified in brackets.
   1391 
   1392 Configuration:
   1393   -h, --help              display this help and exit
   1394       --help=short        display options specific to this package
   1395       --help=recursive    display the short help of all the included packages
   1396   -V, --version           display version information and exit
   1397   -q, --quiet, --silent   do not print 'checking ...' messages
   1398       --cache-file=FILE   cache test results in FILE [disabled]
   1399   -C, --config-cache      alias for '--cache-file=config.cache'
   1400   -n, --no-create         do not create output files
   1401       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1402 
   1403 Installation directories:
   1404   --prefix=PREFIX         install architecture-independent files in PREFIX
   1405                           [$ac_default_prefix]
   1406   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1407                           [PREFIX]
   1408 
   1409 By default, 'make install' will install all the files in
   1410 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1411 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1412 for instance '--prefix=\$HOME'.
   1413 
   1414 For better control, use the options below.
   1415 
   1416 Fine tuning of the installation directories:
   1417   --bindir=DIR            user executables [EPREFIX/bin]
   1418   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1419   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1420   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1421   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1422   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1423   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1424   --libdir=DIR            object code libraries [EPREFIX/lib]
   1425   --includedir=DIR        C header files [PREFIX/include]
   1426   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1427   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1428   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1429   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1430   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1431   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1432   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-nv]
   1433   --htmldir=DIR           html documentation [DOCDIR]
   1434   --dvidir=DIR            dvi documentation [DOCDIR]
   1435   --pdfdir=DIR            pdf documentation [DOCDIR]
   1436   --psdir=DIR             ps documentation [DOCDIR]
   1437 _ACEOF
   1438 
   1439   cat <<\_ACEOF
   1440 
   1441 Program names:
   1442   --program-prefix=C            prepend C to installed program names
   1443   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1444   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1445 
   1446 System types:
   1447   --build=BUILD     configure for building on BUILD [guessed]
   1448   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1449 _ACEOF
   1450 fi
   1451 
   1452 if test -n "$ac_init_help"; then
   1453   case $ac_init_help in
   1454      short | recursive ) echo "Configuration of xf86-video-nv 2.1.24:";;
   1455    esac
   1456   cat <<\_ACEOF
   1457 
   1458 Optional Features:
   1459   --disable-option-checking  ignore unrecognized --enable/--with options
   1460   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1461   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1462   --disable-selective-werror
   1463                           Turn off selective compiler errors. (default:
   1464                           enabled)
   1465   --enable-strict-compilation
   1466                           Enable all warnings from compiler and make them
   1467                           errors (default: disabled)
   1468   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1469   --disable-silent-rules  verbose build output (undo: "make V=0")
   1470   --enable-dependency-tracking
   1471                           do not reject slow dependency extractors
   1472   --disable-dependency-tracking
   1473                           speeds up one-time build
   1474   --enable-static[=PKGS]  build static libraries [default=no]
   1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1476   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1477                           both]
   1478   --enable-fast-install[=PKGS]
   1479                           optimize for fast installation [default=yes]
   1480   --enable-aix-soname=aix|svr4|both
   1481                           shared library versioning (aka "SONAME") variant to
   1482                           provide on AIX, [default=aix].
   1483   --disable-libtool-lock  avoid locking (might break parallel builds)
   1484   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1485                           [default=auto]
   1486 
   1487 Optional Packages:
   1488   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1489   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1490   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1491   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1492                           compiler's sysroot if not specified).
   1493   --with-xorg-module-dir=DIR
   1494                           Default xorg module directory
   1495                           [[default=$libdir/xorg/modules]]
   1496 
   1497 Some influential environment variables:
   1498   CC          C compiler command
   1499   CFLAGS      C compiler flags
   1500   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1501               nonstandard directory <lib dir>
   1502   LIBS        libraries to pass to the linker, e.g. -l<library>
   1503   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1504               you have headers in a nonstandard directory <include dir>
   1505   PKG_CONFIG  path to pkg-config utility
   1506   PKG_CONFIG_PATH
   1507               directories to add to pkg-config's search path
   1508   PKG_CONFIG_LIBDIR
   1509               path overriding pkg-config's built-in search path
   1510   LT_SYS_LIBRARY_PATH
   1511               User-defined run-time library search path.
   1512   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1513   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1514   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1515   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1516   PCIACCESS_CFLAGS
   1517               C compiler flags for PCIACCESS, overriding pkg-config
   1518   PCIACCESS_LIBS
   1519               linker flags for PCIACCESS, overriding pkg-config
   1520 
   1521 Use these variables to override the choices made by 'configure' or to help
   1522 it to find libraries and programs with nonstandard names/locations.
   1523 
   1524 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/issues>.
   1525 _ACEOF
   1526 ac_status=$?
   1527 fi
   1528 
   1529 if test "$ac_init_help" = "recursive"; then
   1530   # If there are subdirs, report their specific --help.
   1531   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1532     test -d "$ac_dir" ||
   1533       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1534       continue
   1535     ac_builddir=.
   1536 
   1537 case "$ac_dir" in
   1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1539 *)
   1540   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1541   # A ".." for each directory in $ac_dir_suffix.
   1542   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1543   case $ac_top_builddir_sub in
   1544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1546   esac ;;
   1547 esac
   1548 ac_abs_top_builddir=$ac_pwd
   1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1550 # for backward compatibility:
   1551 ac_top_builddir=$ac_top_build_prefix
   1552 
   1553 case $srcdir in
   1554   .)  # We are building in place.
   1555     ac_srcdir=.
   1556     ac_top_srcdir=$ac_top_builddir_sub
   1557     ac_abs_top_srcdir=$ac_pwd ;;
   1558   [\\/]* | ?:[\\/]* )  # Absolute name.
   1559     ac_srcdir=$srcdir$ac_dir_suffix;
   1560     ac_top_srcdir=$srcdir
   1561     ac_abs_top_srcdir=$srcdir ;;
   1562   *) # Relative name.
   1563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1564     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1566 esac
   1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1568 
   1569     cd "$ac_dir" || { ac_status=$?; continue; }
   1570     # Check for configure.gnu first; this name is used for a wrapper for
   1571     # Metaconfig's "Configure" on case-insensitive file systems.
   1572     if test -f "$ac_srcdir/configure.gnu"; then
   1573       echo &&
   1574       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1575     elif test -f "$ac_srcdir/configure"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure" --help=recursive
   1578     else
   1579       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1580     fi || ac_status=$?
   1581     cd "$ac_pwd" || { ac_status=$?; break; }
   1582   done
   1583 fi
   1584 
   1585 test -n "$ac_init_help" && exit $ac_status
   1586 if $ac_init_version; then
   1587   cat <<\_ACEOF
   1588 xf86-video-nv configure 2.1.24
   1589 generated by GNU Autoconf 2.73
   1590 
   1591 Copyright (C) 2026 Free Software Foundation, Inc.
   1592 This configure script is free software; the Free Software Foundation
   1593 gives unlimited permission to copy, distribute and modify it.
   1594 _ACEOF
   1595   exit
   1596 fi
   1597 
   1598 ## ------------------------ ##
   1599 ## Autoconf initialization. ##
   1600 ## ------------------------ ##
   1601 
   1602 # ac_fn_c_try_compile LINENO
   1603 # --------------------------
   1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_compile ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   rm -f conftest.$ac_objext conftest.beam
   1609   if { { ac_try="$ac_compile"
   1610 case "(($ac_try" in
   1611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1612   *) ac_try_echo=$ac_try;;
   1613 esac
   1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1615 printf '%s\n' "$ac_try_echo"; } >&5
   1616   (eval "$ac_compile") 2>conftest.err
   1617   ac_status=$?
   1618   if test -s conftest.err; then
   1619     grep -v '^ *+' conftest.err >conftest.er1
   1620     cat conftest.er1 >&5
   1621     mv -f conftest.er1 conftest.err
   1622   fi
   1623   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1624   test $ac_status = 0; } && {
   1625 	 test -z "$ac_c_werror_flag" ||
   1626 	 test ! -s conftest.err
   1627        } && test -s conftest.$ac_objext
   1628 then :
   1629   ac_retval=0
   1630 else case e in #(
   1631   e) printf '%s\n' "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634 	ac_retval=1 ;;
   1635 esac
   1636 fi
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_compile
   1641 
   1642 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1643 # ------------------------------------------------------------------
   1644 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1645 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1646 ac_fn_check_decl ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1651 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1652 if eval test \${$3+y}
   1653 then :
   1654   printf %s "(cached) " >&6
   1655 else case e in #(
   1656   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1657   eval ac_save_FLAGS=\$$6
   1658   as_fn_append $6 " $5"
   1659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1660 /* end confdefs.h.  */
   1661 $4
   1662 int
   1663 main (void)
   1664 {
   1665 #ifndef $as_decl_name
   1666 #ifdef __cplusplus
   1667   (void) $as_decl_use;
   1668 #else
   1669   (void) $as_decl_name;
   1670 #endif
   1671 #endif
   1672 
   1673   ;
   1674   return 0;
   1675 }
   1676 _ACEOF
   1677 if ac_fn_c_try_compile "$LINENO"
   1678 then :
   1679   eval "$3=yes"
   1680 else case e in #(
   1681   e) eval "$3=no" ;;
   1682 esac
   1683 fi
   1684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1685   eval $6=\$ac_save_FLAGS
   1686  ;;
   1687 esac
   1688 fi
   1689 eval ac_res=\$$3
   1690 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1691 printf '%s\n' "$ac_res" >&6; }
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693 
   1694 } # ac_fn_check_decl
   1695 
   1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1697 # -------------------------------------------------------
   1698 # Tests whether HEADER exists and can be compiled using the include files in
   1699 # INCLUDES, setting the cache variable VAR accordingly.
   1700 ac_fn_c_check_header_compile ()
   1701 {
   1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1703   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1704 printf %s "checking for $2... " >&6; }
   1705 if eval test \${$3+y}
   1706 then :
   1707   printf %s "(cached) " >&6
   1708 else case e in #(
   1709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1710 /* end confdefs.h.  */
   1711 $4
   1712 #include <$2>
   1713 _ACEOF
   1714 if ac_fn_c_try_compile "$LINENO"
   1715 then :
   1716   eval "$3=yes"
   1717 else case e in #(
   1718   e) eval "$3=no" ;;
   1719 esac
   1720 fi
   1721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1722 esac
   1723 fi
   1724 eval ac_res=\$$3
   1725 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1726 printf '%s\n' "$ac_res" >&6; }
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728 
   1729 } # ac_fn_c_check_header_compile
   1730 
   1731 # ac_fn_c_try_link LINENO
   1732 # -----------------------
   1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1734 ac_fn_c_try_link ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1738   if { { ac_try="$ac_link"
   1739 case "(($ac_try" in
   1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1741   *) ac_try_echo=$ac_try;;
   1742 esac
   1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1744 printf '%s\n' "$ac_try_echo"; } >&5
   1745   (eval "$ac_link") 2>conftest.err
   1746   ac_status=$?
   1747   if test -s conftest.err; then
   1748     grep -v '^ *+' conftest.err >conftest.er1
   1749     cat conftest.er1 >&5
   1750     mv -f conftest.er1 conftest.err
   1751   fi
   1752   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; } && {
   1754 	 test -z "$ac_c_werror_flag" ||
   1755 	 test ! -s conftest.err
   1756        } && test -s conftest$ac_exeext && {
   1757 	 test "$cross_compiling" = yes ||
   1758 	 test -x conftest$ac_exeext
   1759        }
   1760 then :
   1761   ac_retval=0
   1762 else case e in #(
   1763   e) printf '%s\n' "$as_me: failed program was:" >&5
   1764 sed 's/^/| /' conftest.$ac_ext >&5
   1765 
   1766 	ac_retval=1 ;;
   1767 esac
   1768 fi
   1769   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1770   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1771   # interfere with the next link command; also delete a directory that is
   1772   # left behind by Apple's compiler.  We do this before executing the actions.
   1773   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1774   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1775   as_fn_set_status $ac_retval
   1776 
   1777 } # ac_fn_c_try_link
   1778 
   1779 # ac_fn_c_check_func LINENO FUNC VAR
   1780 # ----------------------------------
   1781 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1782 ac_fn_c_check_func ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1786 printf %s "checking for $2... " >&6; }
   1787 if eval test \${$3+y}
   1788 then :
   1789   printf %s "(cached) " >&6
   1790 else case e in #(
   1791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1792 /* end confdefs.h.  */
   1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1795 #define $2 innocuous_$2
   1796 
   1797 /* System header to define __stub macros and hopefully few prototypes,
   1798    which can conflict with char $2 (void); below.  */
   1799 
   1800 #include <limits.h>
   1801 #undef $2
   1802 
   1803 /* Override any GCC internal prototype to avoid an error.
   1804    Use char because int might match the return type of a GCC
   1805    builtin and then its argument prototype would still apply.  */
   1806 #ifdef __cplusplus
   1807 extern "C"
   1808 #endif
   1809 char $2 (void);
   1810 /* The GNU C library defines this for functions which it implements
   1811     to always fail with ENOSYS.  Some functions are actually named
   1812     something starting with __ and the normal name is an alias.  */
   1813 #if defined __stub_$2 || defined __stub___$2
   1814 choke me
   1815 #endif
   1816 
   1817 int
   1818 main (void)
   1819 {
   1820 return $2 ();
   1821   ;
   1822   return 0;
   1823 }
   1824 _ACEOF
   1825 if ac_fn_c_try_link "$LINENO"
   1826 then :
   1827   eval "$3=yes"
   1828 else case e in #(
   1829   e) eval "$3=no" ;;
   1830 esac
   1831 fi
   1832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1833     conftest$ac_exeext conftest.$ac_ext ;;
   1834 esac
   1835 fi
   1836 eval ac_res=\$$3
   1837 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1838 printf '%s\n' "$ac_res" >&6; }
   1839   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1840 
   1841 } # ac_fn_c_check_func
   1842 ac_configure_args_raw=
   1843 for ac_arg
   1844 do
   1845   case $ac_arg in
   1846   *\'*)
   1847     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1848   esac
   1849   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1850 done
   1851 
   1852 case $ac_configure_args_raw in
   1853   *$as_nl*)
   1854     ac_safe_unquote= ;;
   1855   *)
   1856     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1857     ac_unsafe_a="$ac_unsafe_z#~"
   1858     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1859     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1860 esac
   1861 
   1862 cat >config.log <<_ACEOF
   1863 This file contains any messages produced by compilers while
   1864 running configure, to aid debugging if configure makes a mistake.
   1865 
   1866 It was created by xf86-video-nv $as_me 2.1.24, which was
   1867 generated by GNU Autoconf 2.73.  Invocation command line was
   1868 
   1869   $ $0$ac_configure_args_raw
   1870 
   1871 _ACEOF
   1872 exec 5>>config.log
   1873 {
   1874 cat <<_ASUNAME
   1875 ## --------- ##
   1876 ## Platform. ##
   1877 ## --------- ##
   1878 
   1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1880 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1881 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1882 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1883 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1884 
   1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1886 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1887 
   1888 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1889 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1891 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1892 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1893 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1894 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1895 
   1896 _ASUNAME
   1897 
   1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1899 for as_dir in $PATH
   1900 do
   1901   IFS=$as_save_IFS
   1902   case $as_dir in #(((
   1903     '') as_dir=./ ;;
   1904     */) ;;
   1905     *) as_dir=$as_dir/ ;;
   1906   esac
   1907     printf '%s\n' "PATH: $as_dir"
   1908   done
   1909 IFS=$as_save_IFS
   1910 
   1911 } >&5
   1912 
   1913 cat >&5 <<_ACEOF
   1914 
   1915 
   1916 ## ----------- ##
   1917 ## Core tests. ##
   1918 ## ----------- ##
   1919 
   1920 _ACEOF
   1921 
   1922 
   1923 # Keep a trace of the command line.
   1924 # Strip out --no-create and --no-recursion so they do not pile up.
   1925 # Strip out --silent because we don't want to record it for future runs.
   1926 # Also quote any args containing shell meta-characters.
   1927 # Make two passes to allow for proper duplicate-argument suppression.
   1928 ac_configure_args=
   1929 ac_configure_args0=
   1930 ac_configure_args1=
   1931 ac_must_keep_next=false
   1932 for ac_pass in 1 2
   1933 do
   1934   for ac_arg
   1935   do
   1936     case $ac_arg in
   1937     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1938     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1939     | -silent | --silent | --silen | --sile | --sil)
   1940       continue ;;
   1941     *\'*)
   1942       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1943     esac
   1944     case $ac_pass in
   1945     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1946     2)
   1947       as_fn_append ac_configure_args1 " '$ac_arg'"
   1948       if test $ac_must_keep_next = true; then
   1949 	ac_must_keep_next=false # Got value, back to normal.
   1950       else
   1951 	case $ac_arg in
   1952 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1953 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1954 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1955 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1956 	    case "$ac_configure_args0 " in
   1957 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1958 	    esac
   1959 	    ;;
   1960 	  -* ) ac_must_keep_next=true ;;
   1961 	esac
   1962       fi
   1963       as_fn_append ac_configure_args " '$ac_arg'"
   1964       ;;
   1965     esac
   1966   done
   1967 done
   1968 { ac_configure_args0=; unset ac_configure_args0;}
   1969 { ac_configure_args1=; unset ac_configure_args1;}
   1970 
   1971 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1972 ac_cache_dump ()
   1973 {
   1974   # The following way of writing the cache mishandles newlines in values,
   1975 # but we know of no workaround that is simple, portable, and efficient.
   1976 # So, we kill variables containing newlines.
   1977 # Ultrix sh set writes to stderr and can't be redirected directly,
   1978 # and sets the high bit in the cache file unless we assign to the vars.
   1979 (
   1980   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1981     eval ac_val=\$$ac_var
   1982     case $ac_val in #(
   1983     *${as_nl}*)
   1984       case $ac_var in #(
   1985       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1986 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1987       esac
   1988       case $ac_var in #(
   1989       _ | IFS | as_nl) ;; #(
   1990       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1991       *) { eval $ac_var=; unset $ac_var;} ;;
   1992       esac ;;
   1993     esac
   1994   done
   1995 
   1996   (set) 2>&1 |
   1997     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1998     *${as_nl}ac_space=\ *)
   1999       # 'set' does not quote correctly, so add quotes: double-quote
   2000       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2001       sed -n \
   2002 	"s/'/'\\\\''/g;
   2003 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2004       ;; #(
   2005     *)
   2006       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2007       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2008       ;;
   2009     esac |
   2010     sort
   2011 )
   2012 }
   2013 
   2014 # Print debugging info to stdout.
   2015 ac_dump_debugging_info ()
   2016 {
   2017   echo
   2018 
   2019   printf '%s\n' "## ---------------- ##
   2020 ## Cache variables. ##
   2021 ## ---------------- ##"
   2022   echo
   2023   ac_cache_dump
   2024   echo
   2025 
   2026   printf '%s\n' "## ----------------- ##
   2027 ## Output variables. ##
   2028 ## ----------------- ##"
   2029   echo
   2030   for ac_var in $ac_subst_vars
   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 
   2040   if test -n "$ac_subst_files"; then
   2041     printf '%s\n' "## ------------------- ##
   2042 ## File substitutions. ##
   2043 ## ------------------- ##"
   2044     echo
   2045     for ac_var in $ac_subst_files
   2046     do
   2047       eval ac_val=\$$ac_var
   2048       case $ac_val in
   2049       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2050       esac
   2051       printf '%s\n' "$ac_var='$ac_val'"
   2052     done | sort
   2053     echo
   2054   fi
   2055 
   2056   if test -s confdefs.h; then
   2057     printf '%s\n' "## ----------- ##
   2058 ## confdefs.h. ##
   2059 ## ----------- ##"
   2060     echo
   2061     cat confdefs.h
   2062     echo
   2063   fi
   2064   test "$ac_signal" != 0 &&
   2065     printf '%s\n' "$as_me: caught signal $ac_signal"
   2066   printf '%s\n' "$as_me: exit $exit_status"
   2067 }
   2068 
   2069 # When interrupted or exit'd, cleanup temporary files, and complete
   2070 # config.log.
   2071 ac_exit_trap ()
   2072 {
   2073   exit_status=
   2074   # Sanitize IFS.
   2075   IFS=" ""	$as_nl"
   2076   # Save into config.log some information that might help in debugging.
   2077   ac_dump_debugging_info >&5
   2078   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2079     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2080     exit $exit_status
   2081 }
   2082 
   2083 trap 'ac_exit_trap $?' 0
   2084 for ac_signal in 1 2 13 15; do
   2085   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2086 done
   2087 ac_signal=0
   2088 
   2089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2090 rm -f -r conftest* confdefs.h
   2091 
   2092 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2093 
   2094 # Predefined preprocessor variables.
   2095 
   2096 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2097 
   2098 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2099 
   2100 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2101 
   2102 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2103 
   2104 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2105 
   2106 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2107 
   2108 
   2109 # Let the site file select an alternate cache file if it wants to.
   2110 # Prefer an explicitly selected file to automatically selected ones.
   2111 if test -n "$CONFIG_SITE"; then
   2112   ac_site_files="$CONFIG_SITE"
   2113 elif test "x$prefix" != xNONE; then
   2114   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2115 else
   2116   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2117 fi
   2118 
   2119 for ac_site_file in $ac_site_files
   2120 do
   2121   case $ac_site_file in #(
   2122   */*) :
   2123      ;; #(
   2124   *) :
   2125     ac_site_file=./$ac_site_file ;;
   2126 esac
   2127   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2128     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2129 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2130     sed 's/^/| /' "$ac_site_file" >&5
   2131     . "$ac_site_file" \
   2132       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2133 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2134 as_fn_error $? "failed to load site script $ac_site_file
   2135 See 'config.log' for more details" "$LINENO" 5; }
   2136   fi
   2137 done
   2138 
   2139 if test -r "$cache_file"; then
   2140   # Some versions of bash will fail to source /dev/null (special files
   2141   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2142   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2143     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2144 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2145     case $cache_file in
   2146       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2147       *)                      . "./$cache_file";;
   2148     esac
   2149   fi
   2150 else
   2151   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2152 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2153   >$cache_file
   2154 fi
   2155 
   2156 # Test code for whether the C compiler supports C23 (global declarations)
   2157 ac_c_conftest_c23_globals='
   2158 /* Does the compiler advertise conformance to C17 or earlier?
   2159    Although GCC 14 does not do that, even with -std=gnu23,
   2160    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2161 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2162 # error "Compiler advertises conformance to C17 or earlier"
   2163 #endif
   2164 
   2165 // Check alignas.
   2166 char alignas (double) c23_aligned_as_double;
   2167 char alignas (0) c23_no_special_alignment;
   2168 extern char c23_aligned_as_int;
   2169 char alignas (0) alignas (int) c23_aligned_as_int;
   2170 
   2171 // Check alignof.
   2172 enum
   2173 {
   2174   c23_int_alignment = alignof (int),
   2175   c23_int_array_alignment = alignof (int[100]),
   2176   c23_char_alignment = alignof (char)
   2177 };
   2178 static_assert (0 < -alignof (int), "alignof is signed");
   2179 
   2180 int function_with_unnamed_parameter (int) { return 0; }
   2181 
   2182 void c23_noreturn ();
   2183 
   2184 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2185    The parens pacify GCC 15.  */
   2186 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2187 
   2188 bool check_that_bool_works = true | false | !nullptr;
   2189 #if !true
   2190 # error "true does not work in #if"
   2191 #endif
   2192 #if false
   2193 #elifdef __STDC_VERSION__
   2194 #else
   2195 # error "#elifdef does not work"
   2196 #endif
   2197 
   2198 #ifndef __has_c_attribute
   2199 # error "__has_c_attribute not defined"
   2200 #endif
   2201 
   2202 #ifndef __has_include
   2203 # error "__has_include not defined"
   2204 #endif
   2205 
   2206 #define LPAREN() (
   2207 #define FORTY_TWO(x) 42
   2208 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2209 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2210 
   2211 static_assert (0b101010 == 42);
   2212 static_assert (0B101010 == 42);
   2213 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2214 static_assert (0.500'\''000'\''000 == 0.5);
   2215 
   2216 enum unsignedish : unsigned int { uione = 1 };
   2217 static_assert (0 < -uione);
   2218 
   2219 #include <stddef.h>
   2220 constexpr nullptr_t null_pointer = nullptr;
   2221 
   2222 static typeof (1 + 1L) two () { return 2; }
   2223 static long int three () { return 3; }
   2224 '
   2225 
   2226 # Test code for whether the C compiler supports C23 (body of main).
   2227 ac_c_conftest_c23_main='
   2228   {
   2229     label_before_declaration:
   2230       int arr[10] = {};
   2231       if (arr[0])
   2232         goto label_before_declaration;
   2233       if (!arr[0])
   2234         goto label_at_end_of_block;
   2235     label_at_end_of_block:
   2236   }
   2237   ok |= !null_pointer;
   2238   ok |= two != three;
   2239 '
   2240 
   2241 # Test code for whether the C compiler supports C23 (complete).
   2242 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2243 
   2244 int
   2245 main (int, char **)
   2246 {
   2247   int ok = 0;
   2248   ${ac_c_conftest_c23_main}
   2249   return ok;
   2250 }
   2251 "
   2252 
   2253 # Test code for whether the C compiler supports C89 (global declarations)
   2254 ac_c_conftest_c89_globals='
   2255 /* Do not test the value of __STDC__, because some compilers define it to 0
   2256    or do not define it, while otherwise adequately conforming.  */
   2257 
   2258 #include <stddef.h>
   2259 #include <stdarg.h>
   2260 struct stat;
   2261 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2262 struct buf { int x; };
   2263 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2264 static char *e (char **p, int i)
   2265 {
   2266   return p[i];
   2267 }
   2268 static char *f (char * (*g) (char **, int), char **p, ...)
   2269 {
   2270   char *s;
   2271   va_list v;
   2272   va_start (v,p);
   2273   s = g (p, va_arg (v,int));
   2274   va_end (v);
   2275   return s;
   2276 }
   2277 
   2278 /* C89 style stringification. */
   2279 #define noexpand_stringify(a) #a
   2280 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2281 
   2282 /* C89 style token pasting.  Exercises some of the corner cases that
   2283    e.g. old MSVC gets wrong, but not very hard. */
   2284 #define noexpand_concat(a,b) a##b
   2285 #define expand_concat(a,b) noexpand_concat(a,b)
   2286 extern int vA;
   2287 extern int vbee;
   2288 #define aye A
   2289 #define bee B
   2290 int *pvA = &expand_concat(v,aye);
   2291 int *pvbee = &noexpand_concat(v,bee);
   2292 
   2293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2294    function prototypes and stuff, but not \xHH hex character constants.
   2295    These do not provoke an error unfortunately, instead are silently treated
   2296    as an "x".  The following induces an error, until -std is added to get
   2297    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2298    array size at least.  It is necessary to write \x00 == 0 to get something
   2299    that is true only with -std.  */
   2300 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2301 
   2302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2303    inside strings and character constants.  */
   2304 #define FOO(x) '\''x'\''
   2305 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2306 
   2307 int test (int i, double x);
   2308 struct s1 {int (*f) (int a);};
   2309 struct s2 {int (*f) (double a);};
   2310 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2311                int, int);'
   2312 
   2313 # Test code for whether the C compiler supports C89 (body of main).
   2314 ac_c_conftest_c89_main='
   2315 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2316 '
   2317 
   2318 # Test code for whether the C compiler supports C99 (global declarations)
   2319 ac_c_conftest_c99_globals='
   2320 /* Does the compiler advertise C99 conformance? */
   2321 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2322 # error "Compiler does not advertise C99 conformance"
   2323 #endif
   2324 
   2325 // See if C++-style comments work.
   2326 
   2327 #include <stdbool.h>
   2328 extern int puts (const char *);
   2329 extern int printf (const char *, ...);
   2330 extern int dprintf (int, const char *, ...);
   2331 extern void *malloc (size_t);
   2332 extern void free (void *);
   2333 
   2334 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2335 // dprintf is used instead of fprintf to avoid needing to declare
   2336 // FILE and stderr, and "aND" is used instead of "and" to work around
   2337 // GCC bug 40564 which is irrelevant here.
   2338 #define debug(...) dprintf (2, __VA_ARGS__)
   2339 #define showlist(...) puts (#__VA_ARGS__)
   2340 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2341 static void
   2342 test_varargs_macros (void)
   2343 {
   2344   int x = 1234;
   2345   int y = 5678;
   2346   debug ("Flag");
   2347   debug ("X = %d\n", x);
   2348   showlist (The first, second, aND third items.);
   2349   report (x>y, "x is %d but y is %d", x, y);
   2350 }
   2351 
   2352 // Check long long types.
   2353 #define BIG64 18446744073709551615ull
   2354 #define BIG32 4294967295ul
   2355 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2356 #if !BIG_OK
   2357   #error "your preprocessor is broken"
   2358 #endif
   2359 #if BIG_OK
   2360 #else
   2361   #error "your preprocessor is broken"
   2362 #endif
   2363 static long long int bignum = -9223372036854775807LL;
   2364 static unsigned long long int ubignum = BIG64;
   2365 
   2366 struct incomplete_array
   2367 {
   2368   int datasize;
   2369   double data[];
   2370 };
   2371 
   2372 struct named_init {
   2373   int number;
   2374   const wchar_t *name;
   2375   double average;
   2376 };
   2377 
   2378 typedef const char *ccp;
   2379 
   2380 static inline int
   2381 test_restrict (ccp restrict text)
   2382 {
   2383   // Iterate through items via the restricted pointer.
   2384   // Also check for declarations in for loops.
   2385   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2386     continue;
   2387   return 0;
   2388 }
   2389 
   2390 // Check varargs and va_copy.
   2391 static bool
   2392 test_varargs (const char *format, ...)
   2393 {
   2394   va_list args;
   2395   va_start (args, format);
   2396   va_list args_copy;
   2397   va_copy (args_copy, args);
   2398 
   2399   const char *str = "";
   2400   int number = 0;
   2401   float fnumber = 0;
   2402 
   2403   while (*format)
   2404     {
   2405       switch (*format++)
   2406 	{
   2407 	case '\''s'\'': // string
   2408 	  str = va_arg (args_copy, const char *);
   2409 	  break;
   2410 	case '\''d'\'': // int
   2411 	  number = va_arg (args_copy, int);
   2412 	  break;
   2413 	case '\''f'\'': // float
   2414 	  fnumber = va_arg (args_copy, double);
   2415 	  break;
   2416 	default:
   2417 	  break;
   2418 	}
   2419     }
   2420   va_end (args_copy);
   2421   va_end (args);
   2422 
   2423   return *str && number && fnumber;
   2424 }
   2425 '
   2426 
   2427 # Test code for whether the C compiler supports C99 (body of main).
   2428 ac_c_conftest_c99_main='
   2429   // Check bool.
   2430   _Bool success = false;
   2431   success |= (argc != 0);
   2432 
   2433   // Check restrict.
   2434   if (test_restrict ("String literal") == 0)
   2435     success = true;
   2436   const char *restrict newvar = "Another string";
   2437 
   2438   // Check varargs.
   2439   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2440   test_varargs_macros ();
   2441 
   2442   // Check flexible array members.
   2443   static struct incomplete_array *volatile incomplete_array_pointer;
   2444   struct incomplete_array *ia = incomplete_array_pointer;
   2445   ia->datasize = 10;
   2446   for (int i = 0; i < ia->datasize; ++i)
   2447     ia->data[i] = i * 1.234;
   2448   // Work around memory leak warnings.
   2449   free (ia);
   2450 
   2451   // Check named initializers.
   2452   struct named_init ni = {
   2453     .number = 34,
   2454     .name = L"Test wide string",
   2455     .average = 543.34343,
   2456   };
   2457 
   2458   ni.number = 58;
   2459 
   2460   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2461   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2462 
   2463   // work around unused variable warnings
   2464   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2465 	 || ni.number != 58);
   2466 '
   2467 
   2468 # Test code for whether the C compiler supports C11 (global declarations)
   2469 ac_c_conftest_c11_globals='
   2470 /* Does the compiler advertise C11 conformance? */
   2471 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2472 # error "Compiler does not advertise C11 conformance"
   2473 #endif
   2474 
   2475 // Check _Alignas.
   2476 char _Alignas (double) aligned_as_double;
   2477 char _Alignas (0) no_special_alignment;
   2478 extern char aligned_as_int;
   2479 char _Alignas (0) _Alignas (int) aligned_as_int;
   2480 
   2481 // Check _Alignof.
   2482 enum
   2483 {
   2484   int_alignment = _Alignof (int),
   2485   int_array_alignment = _Alignof (int[100]),
   2486   char_alignment = _Alignof (char)
   2487 };
   2488 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2489 
   2490 // Check _Noreturn.
   2491 int _Noreturn does_not_return (void) { for (;;) continue; }
   2492 
   2493 // Check _Static_assert.
   2494 struct test_static_assert
   2495 {
   2496   int x;
   2497   _Static_assert (sizeof (int) <= sizeof (long int),
   2498                   "_Static_assert does not work in struct");
   2499   long int y;
   2500 };
   2501 
   2502 // Check UTF-8 literals.
   2503 #define u8 syntax error!
   2504 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2505 
   2506 // Check duplicate typedefs.
   2507 typedef long *long_ptr;
   2508 typedef long int *long_ptr;
   2509 typedef long_ptr long_ptr;
   2510 
   2511 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2512 struct anonymous
   2513 {
   2514   union {
   2515     struct { int i; int j; };
   2516     struct { int k; long int l; } w;
   2517   };
   2518   int m;
   2519 } v1;
   2520 '
   2521 
   2522 # Test code for whether the C compiler supports C11 (body of main).
   2523 ac_c_conftest_c11_main='
   2524   _Static_assert ((offsetof (struct anonymous, i)
   2525 		   == offsetof (struct anonymous, w.k)),
   2526 		  "Anonymous union alignment botch");
   2527   v1.i = 2;
   2528   v1.w.k = 5;
   2529   ok |= v1.i != 5;
   2530 '
   2531 
   2532 # Test code for whether the C compiler supports C11 (complete).
   2533 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2534 ${ac_c_conftest_c99_globals}
   2535 ${ac_c_conftest_c11_globals}
   2536 
   2537 int
   2538 main (int argc, char **argv)
   2539 {
   2540   int ok = 0;
   2541   ${ac_c_conftest_c89_main}
   2542   ${ac_c_conftest_c99_main}
   2543   ${ac_c_conftest_c11_main}
   2544   return ok;
   2545 }
   2546 "
   2547 
   2548 # Test code for whether the C compiler supports C99 (complete).
   2549 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2550 ${ac_c_conftest_c99_globals}
   2551 
   2552 int
   2553 main (int argc, char **argv)
   2554 {
   2555   int ok = 0;
   2556   ${ac_c_conftest_c89_main}
   2557   ${ac_c_conftest_c99_main}
   2558   return ok;
   2559 }
   2560 "
   2561 
   2562 # Test code for whether the C compiler supports C89 (complete).
   2563 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2564 
   2565 int
   2566 main (int argc, char **argv)
   2567 {
   2568   int ok = 0;
   2569   ${ac_c_conftest_c89_main}
   2570   return ok;
   2571 }
   2572 "
   2573 
   2574 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2575 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2576 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2577 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2578 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2579 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2580 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2581 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2582 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2583 
   2584 # Auxiliary files required by this configure script.
   2585 ac_aux_files="ltmain.sh missing config.guess config.sub compile install-sh"
   2586 
   2587 # Locations in which to look for auxiliary files.
   2588 ac_aux_dir_candidates="${srcdir}/."
   2589 
   2590 # Search for a directory containing all of the required auxiliary files,
   2591 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2592 # If we don't find one directory that contains all the files we need,
   2593 # we report the set of missing files from the *first* directory in
   2594 # $ac_aux_dir_candidates and give up.
   2595 ac_missing_aux_files=""
   2596 ac_first_candidate=:
   2597 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2599 as_found=false
   2600 for as_dir in $ac_aux_dir_candidates
   2601 do
   2602   IFS=$as_save_IFS
   2603   case $as_dir in #(((
   2604     '') as_dir=./ ;;
   2605     */) ;;
   2606     *) as_dir=$as_dir/ ;;
   2607   esac
   2608   as_found=:
   2609 
   2610   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2611   ac_aux_dir_found=yes
   2612   ac_install_sh=
   2613   for ac_aux in $ac_aux_files
   2614   do
   2615     # As a special case, if "install-sh" is required, that requirement
   2616     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2617     # and $ac_install_sh is set appropriately for whichever one is found.
   2618     if test x"$ac_aux" = x"install-sh"
   2619     then
   2620       if test -f "${as_dir}install-sh"; then
   2621         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2622         ac_install_sh="${as_dir}install-sh -c"
   2623       elif test -f "${as_dir}install.sh"; then
   2624         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2625         ac_install_sh="${as_dir}install.sh -c"
   2626       elif test -f "${as_dir}shtool"; then
   2627         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2628         ac_install_sh="${as_dir}shtool install -c"
   2629       else
   2630         ac_aux_dir_found=no
   2631         if $ac_first_candidate; then
   2632           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2633         else
   2634           break
   2635         fi
   2636       fi
   2637     else
   2638       if test -f "${as_dir}${ac_aux}"; then
   2639         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2640       else
   2641         ac_aux_dir_found=no
   2642         if $ac_first_candidate; then
   2643           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2644         else
   2645           break
   2646         fi
   2647       fi
   2648     fi
   2649   done
   2650   if test "$ac_aux_dir_found" = yes; then
   2651     ac_aux_dir="$as_dir"
   2652     break
   2653   fi
   2654   ac_first_candidate=false
   2655 
   2656   as_found=false
   2657 done
   2658 IFS=$as_save_IFS
   2659 if $as_found
   2660 then :
   2661 
   2662 else case e in #(
   2663   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2664 esac
   2665 fi
   2666 
   2667 
   2668 # These three variables are undocumented and unsupported,
   2669 # and are intended to be withdrawn in a future Autoconf release.
   2670 # They can cause serious problems if a builder's source tree is in a directory
   2671 # whose full name contains unusual characters.
   2672 if test -f "${ac_aux_dir}config.guess"; then
   2673   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2674 fi
   2675 if test -f "${ac_aux_dir}config.sub"; then
   2676   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2677 fi
   2678 if test -f "$ac_aux_dir/configure"; then
   2679   ac_configure="$SHELL ${ac_aux_dir}configure"
   2680 fi
   2681 
   2682 # Check that the precious variables saved in the cache have kept the same
   2683 # value.
   2684 ac_cache_corrupted=false
   2685 for ac_var in $ac_precious_vars; do
   2686   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2687   eval ac_new_set=\$ac_env_${ac_var}_set
   2688   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2689   eval ac_new_val=\$ac_env_${ac_var}_value
   2690   case $ac_old_set,$ac_new_set in
   2691     set,)
   2692       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2693 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2694       ac_cache_corrupted=: ;;
   2695     ,set)
   2696       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2697 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2698       ac_cache_corrupted=: ;;
   2699     ,);;
   2700     *)
   2701       if test "x$ac_old_val" != "x$ac_new_val"; then
   2702 	# differences in whitespace do not lead to failure.
   2703 	ac_old_val_w=
   2704 	for ac_val in x $ac_old_val; do
   2705 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2706 	done
   2707 	ac_new_val_w=
   2708 	for ac_val in x $ac_new_val; do
   2709 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2710 	done
   2711 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2712 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2713 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2714 	  ac_cache_corrupted=:
   2715 	else
   2716 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2717 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2718 	  eval $ac_var=\$ac_old_val
   2719 	fi
   2720 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2721 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2722 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2723 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2724       fi;;
   2725   esac
   2726   # Pass precious variables to config.status.
   2727   if test "$ac_new_set" = set; then
   2728     case $ac_new_val in
   2729     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2730     *) ac_arg=$ac_var=$ac_new_val ;;
   2731     esac
   2732     case " $ac_configure_args " in
   2733       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2734       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2735     esac
   2736   fi
   2737 done
   2738 if $ac_cache_corrupted; then
   2739   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2740 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2741   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2742 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2743   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2744 	    and start over" "$LINENO" 5
   2745 fi
   2746 ## -------------------- ##
   2747 ## Main body of script. ##
   2748 ## -------------------- ##
   2749 
   2750 
   2751 # Determine whether it's possible to make 'echo' print without a newline.
   2752 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2753 # for compatibility with existing Makefiles.
   2754 ECHO_C= ECHO_N= ECHO_T=
   2755 case `echo -n x` in #(((((
   2756 -n*)
   2757   case `echo 'xy\c'` in
   2758   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2759   xy)  ECHO_C='\c';;
   2760   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2761        ECHO_T='	';;
   2762   esac;;
   2763 *)
   2764   ECHO_N='-n';;
   2765 esac
   2766 
   2767 ac_ext=c
   2768 ac_cpp='$CPP $CPPFLAGS'
   2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2772 
   2773 
   2774 
   2775 ac_config_headers="$ac_config_headers config.h"
   2776 
   2777 
   2778 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792   # Find a good install program.  We prefer a C program (faster),
   2793 # so one script is as good as another.  But avoid the broken or
   2794 # incompatible versions:
   2795 # SysV /etc/install, /usr/sbin/install
   2796 # SunOS /usr/etc/install
   2797 # IRIX /sbin/install
   2798 # AIX /bin/install
   2799 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2800 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2801 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2802 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2803 # OS/2's system install, which has a completely different semantic
   2804 # ./install, which can be erroneously created by make from ./install.sh.
   2805 # Reject install programs that cannot install multiple files.
   2806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2807 printf %s "checking for a BSD-compatible install... " >&6; }
   2808 if test -z "$INSTALL"; then
   2809 if test ${ac_cv_path_install+y}
   2810 then :
   2811   printf %s "(cached) " >&6
   2812 else case e in #(
   2813   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2814 for as_dir in $PATH
   2815 do
   2816   IFS=$as_save_IFS
   2817   case $as_dir in #(((
   2818     '') as_dir=./ ;;
   2819     */) ;;
   2820     *) as_dir=$as_dir/ ;;
   2821   esac
   2822     # Account for fact that we put trailing slashes in our PATH walk.
   2823 case $as_dir in #((
   2824   ./ | /[cC]/* | \
   2825   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2826   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2827   /usr/ucb/* ) ;;
   2828   *)
   2829     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2830     # Don't use installbsd from OSF/1 since it installs stuff as root
   2831     # by default.
   2832     for ac_prog in ginstall scoinst install; do
   2833       for ac_exec_ext in '' $ac_executable_extensions; do
   2834 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2835 	  if test $ac_prog = install &&
   2836 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2837 	    # AIX install.  It has an incompatible calling convention.
   2838 	    :
   2839 	  elif test $ac_prog = install &&
   2840 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2841 	    # program-specific install script used by HP pwplus--don't use.
   2842 	    :
   2843 	  else
   2844 	    rm -rf conftest.one conftest.two conftest.dir
   2845 	    echo one > conftest.one
   2846 	    echo two > conftest.two
   2847 	    mkdir conftest.dir
   2848 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2849 	      test -s conftest.one && test -s conftest.two &&
   2850 	      test -s conftest.dir/conftest.one &&
   2851 	      test -s conftest.dir/conftest.two
   2852 	    then
   2853 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2854 	      break 3
   2855 	    fi
   2856 	  fi
   2857 	fi
   2858       done
   2859     done
   2860     ;;
   2861 esac
   2862 
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 rm -rf conftest.one conftest.two conftest.dir
   2867  ;;
   2868 esac
   2869 fi
   2870   if test ${ac_cv_path_install+y}; then
   2871     INSTALL=$ac_cv_path_install
   2872   else
   2873     # As a last resort, use the slow shell script.  Don't cache a
   2874     # value for INSTALL within a source directory, because that will
   2875     # break other packages using the cache if that directory is
   2876     # removed, or if the value is a relative name.
   2877     INSTALL=$ac_install_sh
   2878   fi
   2879 fi
   2880 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2881 printf '%s\n' "$INSTALL" >&6; }
   2882 
   2883 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2884 # It thinks the first close brace ends the variable substitution.
   2885 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2886 
   2887 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2888 
   2889 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 
   2903 
   2904 # Expand $ac_aux_dir to an absolute path.
   2905 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2906 
   2907 ac_ext=c
   2908 ac_cpp='$CPP $CPPFLAGS'
   2909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2912 if test -n "$ac_tool_prefix"; then
   2913   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2915 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2916 printf %s "checking for $ac_word... " >&6; }
   2917 if test ${ac_cv_prog_CC+y}
   2918 then :
   2919   printf %s "(cached) " >&6
   2920 else case e in #(
   2921   e) if test -n "$CC"; then
   2922   ac_cv_prog_CC="$CC" # Let the user override the test.
   2923 else
   2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2925 for as_dir in $PATH
   2926 do
   2927   IFS=$as_save_IFS
   2928   case $as_dir in #(((
   2929     '') as_dir=./ ;;
   2930     */) ;;
   2931     *) as_dir=$as_dir/ ;;
   2932   esac
   2933     for ac_exec_ext in '' $ac_executable_extensions; do
   2934   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2935     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2936     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2937     break 2
   2938   fi
   2939 done
   2940   done
   2941 IFS=$as_save_IFS
   2942 
   2943 fi ;;
   2944 esac
   2945 fi
   2946 CC=$ac_cv_prog_CC
   2947 if test -n "$CC"; then
   2948   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2949 printf '%s\n' "$CC" >&6; }
   2950 else
   2951   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2952 printf '%s\n' "no" >&6; }
   2953 fi
   2954 
   2955 
   2956 fi
   2957 if test -z "$ac_cv_prog_CC"; then
   2958   ac_ct_CC=$CC
   2959   # Extract the first word of "gcc", so it can be a program name with args.
   2960 set dummy gcc; ac_word=$2
   2961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2962 printf %s "checking for $ac_word... " >&6; }
   2963 if test ${ac_cv_prog_ac_ct_CC+y}
   2964 then :
   2965   printf %s "(cached) " >&6
   2966 else case e in #(
   2967   e) if test -n "$ac_ct_CC"; then
   2968   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2969 else
   2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2971 for as_dir in $PATH
   2972 do
   2973   IFS=$as_save_IFS
   2974   case $as_dir in #(((
   2975     '') as_dir=./ ;;
   2976     */) ;;
   2977     *) as_dir=$as_dir/ ;;
   2978   esac
   2979     for ac_exec_ext in '' $ac_executable_extensions; do
   2980   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2981     ac_cv_prog_ac_ct_CC="gcc"
   2982     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2983     break 2
   2984   fi
   2985 done
   2986   done
   2987 IFS=$as_save_IFS
   2988 
   2989 fi ;;
   2990 esac
   2991 fi
   2992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2993 if test -n "$ac_ct_CC"; then
   2994   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2995 printf '%s\n' "$ac_ct_CC" >&6; }
   2996 else
   2997   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2998 printf '%s\n' "no" >&6; }
   2999 fi
   3000 
   3001   if test "x$ac_ct_CC" = x; then
   3002     CC=""
   3003   else
   3004     case $cross_compiling:$ac_tool_warned in
   3005 yes:)
   3006 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3007 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3008 ac_tool_warned=yes ;;
   3009 esac
   3010     CC=$ac_ct_CC
   3011   fi
   3012 else
   3013   CC="$ac_cv_prog_CC"
   3014 fi
   3015 
   3016 if test -z "$CC"; then
   3017           if test -n "$ac_tool_prefix"; then
   3018     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3019 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3020 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3021 printf %s "checking for $ac_word... " >&6; }
   3022 if test ${ac_cv_prog_CC+y}
   3023 then :
   3024   printf %s "(cached) " >&6
   3025 else case e in #(
   3026   e) if test -n "$CC"; then
   3027   ac_cv_prog_CC="$CC" # Let the user override the test.
   3028 else
   3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3030 for as_dir in $PATH
   3031 do
   3032   IFS=$as_save_IFS
   3033   case $as_dir in #(((
   3034     '') as_dir=./ ;;
   3035     */) ;;
   3036     *) as_dir=$as_dir/ ;;
   3037   esac
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3040     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3041     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi ;;
   3049 esac
   3050 fi
   3051 CC=$ac_cv_prog_CC
   3052 if test -n "$CC"; then
   3053   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3054 printf '%s\n' "$CC" >&6; }
   3055 else
   3056   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3057 printf '%s\n' "no" >&6; }
   3058 fi
   3059 
   3060 
   3061   fi
   3062 fi
   3063 if test -z "$CC"; then
   3064   # Extract the first word of "cc", so it can be a program name with args.
   3065 set dummy cc; ac_word=$2
   3066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3067 printf %s "checking for $ac_word... " >&6; }
   3068 if test ${ac_cv_prog_CC+y}
   3069 then :
   3070   printf %s "(cached) " >&6
   3071 else case e in #(
   3072   e) if test -n "$CC"; then
   3073   ac_cv_prog_CC="$CC" # Let the user override the test.
   3074 else
   3075   ac_prog_rejected=no
   3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3077 for as_dir in $PATH
   3078 do
   3079   IFS=$as_save_IFS
   3080   case $as_dir in #(((
   3081     '') as_dir=./ ;;
   3082     */) ;;
   3083     *) as_dir=$as_dir/ ;;
   3084   esac
   3085     for ac_exec_ext in '' $ac_executable_extensions; do
   3086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3087     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3088        ac_prog_rejected=yes
   3089        continue
   3090      fi
   3091     ac_cv_prog_CC="cc"
   3092     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096   done
   3097 IFS=$as_save_IFS
   3098 
   3099 if test $ac_prog_rejected = yes; then
   3100   # We found a bogon in the path, so make sure we never use it.
   3101   set dummy $ac_cv_prog_CC
   3102   shift
   3103   if test $# != 0; then
   3104     # We chose a different compiler from the bogus one.
   3105     # However, it has the same basename, so the bogon will be chosen
   3106     # first if we set CC to just the basename; use the full file name.
   3107     shift
   3108     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3109   fi
   3110 fi
   3111 fi ;;
   3112 esac
   3113 fi
   3114 CC=$ac_cv_prog_CC
   3115 if test -n "$CC"; then
   3116   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3117 printf '%s\n' "$CC" >&6; }
   3118 else
   3119   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3120 printf '%s\n' "no" >&6; }
   3121 fi
   3122 
   3123 
   3124 fi
   3125 if test -z "$CC"; then
   3126   if test -n "$ac_tool_prefix"; then
   3127   for ac_prog in cl.exe
   3128   do
   3129     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3131 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3132 printf %s "checking for $ac_word... " >&6; }
   3133 if test ${ac_cv_prog_CC+y}
   3134 then :
   3135   printf %s "(cached) " >&6
   3136 else case e in #(
   3137   e) if test -n "$CC"; then
   3138   ac_cv_prog_CC="$CC" # Let the user override the test.
   3139 else
   3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3141 for as_dir in $PATH
   3142 do
   3143   IFS=$as_save_IFS
   3144   case $as_dir in #(((
   3145     '') as_dir=./ ;;
   3146     */) ;;
   3147     *) as_dir=$as_dir/ ;;
   3148   esac
   3149     for ac_exec_ext in '' $ac_executable_extensions; do
   3150   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3151     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3152     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3153     break 2
   3154   fi
   3155 done
   3156   done
   3157 IFS=$as_save_IFS
   3158 
   3159 fi ;;
   3160 esac
   3161 fi
   3162 CC=$ac_cv_prog_CC
   3163 if test -n "$CC"; then
   3164   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3165 printf '%s\n' "$CC" >&6; }
   3166 else
   3167   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3168 printf '%s\n' "no" >&6; }
   3169 fi
   3170 
   3171 
   3172     test -n "$CC" && break
   3173   done
   3174 fi
   3175 if test -z "$CC"; then
   3176   ac_ct_CC=$CC
   3177   for ac_prog in cl.exe
   3178 do
   3179   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3180 set dummy $ac_prog; ac_word=$2
   3181 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3182 printf %s "checking for $ac_word... " >&6; }
   3183 if test ${ac_cv_prog_ac_ct_CC+y}
   3184 then :
   3185   printf %s "(cached) " >&6
   3186 else case e in #(
   3187   e) if test -n "$ac_ct_CC"; then
   3188   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3189 else
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   case $as_dir in #(((
   3195     '') as_dir=./ ;;
   3196     */) ;;
   3197     *) as_dir=$as_dir/ ;;
   3198   esac
   3199     for ac_exec_ext in '' $ac_executable_extensions; do
   3200   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3201     ac_cv_prog_ac_ct_CC="$ac_prog"
   3202     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3203     break 2
   3204   fi
   3205 done
   3206   done
   3207 IFS=$as_save_IFS
   3208 
   3209 fi ;;
   3210 esac
   3211 fi
   3212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3213 if test -n "$ac_ct_CC"; then
   3214   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3215 printf '%s\n' "$ac_ct_CC" >&6; }
   3216 else
   3217   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3218 printf '%s\n' "no" >&6; }
   3219 fi
   3220 
   3221 
   3222   test -n "$ac_ct_CC" && break
   3223 done
   3224 
   3225   if test "x$ac_ct_CC" = x; then
   3226     CC=""
   3227   else
   3228     case $cross_compiling:$ac_tool_warned in
   3229 yes:)
   3230 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3231 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3232 ac_tool_warned=yes ;;
   3233 esac
   3234     CC=$ac_ct_CC
   3235   fi
   3236 fi
   3237 
   3238 fi
   3239 if test -z "$CC"; then
   3240   if test -n "$ac_tool_prefix"; then
   3241   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3242 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3244 printf %s "checking for $ac_word... " >&6; }
   3245 if test ${ac_cv_prog_CC+y}
   3246 then :
   3247   printf %s "(cached) " >&6
   3248 else case e in #(
   3249   e) if test -n "$CC"; then
   3250   ac_cv_prog_CC="$CC" # Let the user override the test.
   3251 else
   3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3253 for as_dir in $PATH
   3254 do
   3255   IFS=$as_save_IFS
   3256   case $as_dir in #(((
   3257     '') as_dir=./ ;;
   3258     */) ;;
   3259     *) as_dir=$as_dir/ ;;
   3260   esac
   3261     for ac_exec_ext in '' $ac_executable_extensions; do
   3262   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3263     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3264     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3265     break 2
   3266   fi
   3267 done
   3268   done
   3269 IFS=$as_save_IFS
   3270 
   3271 fi ;;
   3272 esac
   3273 fi
   3274 CC=$ac_cv_prog_CC
   3275 if test -n "$CC"; then
   3276   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3277 printf '%s\n' "$CC" >&6; }
   3278 else
   3279   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3280 printf '%s\n' "no" >&6; }
   3281 fi
   3282 
   3283 
   3284 fi
   3285 if test -z "$ac_cv_prog_CC"; then
   3286   ac_ct_CC=$CC
   3287   # Extract the first word of "clang", so it can be a program name with args.
   3288 set dummy clang; ac_word=$2
   3289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3290 printf %s "checking for $ac_word... " >&6; }
   3291 if test ${ac_cv_prog_ac_ct_CC+y}
   3292 then :
   3293   printf %s "(cached) " >&6
   3294 else case e in #(
   3295   e) if test -n "$ac_ct_CC"; then
   3296   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3297 else
   3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3299 for as_dir in $PATH
   3300 do
   3301   IFS=$as_save_IFS
   3302   case $as_dir in #(((
   3303     '') as_dir=./ ;;
   3304     */) ;;
   3305     *) as_dir=$as_dir/ ;;
   3306   esac
   3307     for ac_exec_ext in '' $ac_executable_extensions; do
   3308   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3309     ac_cv_prog_ac_ct_CC="clang"
   3310     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3311     break 2
   3312   fi
   3313 done
   3314   done
   3315 IFS=$as_save_IFS
   3316 
   3317 fi ;;
   3318 esac
   3319 fi
   3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3321 if test -n "$ac_ct_CC"; then
   3322   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3323 printf '%s\n' "$ac_ct_CC" >&6; }
   3324 else
   3325   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3326 printf '%s\n' "no" >&6; }
   3327 fi
   3328 
   3329   if test "x$ac_ct_CC" = x; then
   3330     CC=""
   3331   else
   3332     case $cross_compiling:$ac_tool_warned in
   3333 yes:)
   3334 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3335 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3336 ac_tool_warned=yes ;;
   3337 esac
   3338     CC=$ac_ct_CC
   3339   fi
   3340 else
   3341   CC="$ac_cv_prog_CC"
   3342 fi
   3343 
   3344 fi
   3345 
   3346 
   3347 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3348 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3349 as_fn_error $? "no acceptable C compiler found in \$PATH
   3350 See 'config.log' for more details" "$LINENO" 5; }
   3351 
   3352 # Provide some information about the compiler.
   3353 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3354 set X $ac_compile
   3355 ac_compiler=$2
   3356 for ac_option in --version -v -V -qversion -version; do
   3357   { { ac_try="$ac_compiler $ac_option >&5"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3363 printf '%s\n' "$ac_try_echo"; } >&5
   3364   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3365   ac_status=$?
   3366   if test -s conftest.err; then
   3367     sed '10a\
   3368 ... rest of stderr output deleted ...
   3369          10q' conftest.err >conftest.er1
   3370     cat conftest.er1 >&5
   3371   fi
   3372   rm -f conftest.er1 conftest.err
   3373   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3374   test $ac_status = 0; }
   3375 done
   3376 
   3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3378 /* end confdefs.h.  */
   3379 
   3380 int
   3381 main (void)
   3382 {
   3383 
   3384   ;
   3385   return 0;
   3386 }
   3387 _ACEOF
   3388 ac_clean_files_save=$ac_clean_files
   3389 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3390 # Try to create an executable without -o first, disregard a.out.
   3391 # It will help us diagnose broken compilers, and finding out an intuition
   3392 # of exeext.
   3393 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3394 printf %s "checking whether the C compiler works... " >&6; }
   3395 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3396 
   3397 # The possible output files:
   3398 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3399 
   3400 ac_rmfiles=
   3401 for ac_file in $ac_files
   3402 do
   3403   case $ac_file in
   3404     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3405     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3406   esac
   3407 done
   3408 rm -f $ac_rmfiles
   3409 
   3410 if { { ac_try="$ac_link_default"
   3411 case "(($ac_try" in
   3412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3413   *) ac_try_echo=$ac_try;;
   3414 esac
   3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3416 printf '%s\n' "$ac_try_echo"; } >&5
   3417   (eval "$ac_link_default") 2>&5
   3418   ac_status=$?
   3419   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3420   test $ac_status = 0; }
   3421 then :
   3422   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3423 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3424 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3425 # so that the user can short-circuit this test for compilers unknown to
   3426 # Autoconf.
   3427 for ac_file in $ac_files ''
   3428 do
   3429   test -f "$ac_file" || continue
   3430   case $ac_file in
   3431     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3432 	;;
   3433     [ab].out )
   3434 	# We found the default executable, but exeext='' is most
   3435 	# certainly right.
   3436 	break;;
   3437     *.* )
   3438 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3439 	then :; else
   3440 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3441 	fi
   3442 	# We set ac_cv_exeext here because the later test for it is not
   3443 	# safe: cross compilers may not add the suffix if given an '-o'
   3444 	# argument, so we may need to know it at that point already.
   3445 	# Even if this section looks crufty: it has the advantage of
   3446 	# actually working.
   3447 	break;;
   3448     * )
   3449 	break;;
   3450   esac
   3451 done
   3452 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3453 
   3454 else case e in #(
   3455   e) ac_file='' ;;
   3456 esac
   3457 fi
   3458 if test -z "$ac_file"
   3459 then :
   3460   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3461 printf '%s\n' "no" >&6; }
   3462 printf '%s\n' "$as_me: failed program was:" >&5
   3463 sed 's/^/| /' conftest.$ac_ext >&5
   3464 
   3465 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3466 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3467 as_fn_error 77 "C compiler cannot create executables
   3468 See 'config.log' for more details" "$LINENO" 5; }
   3469 else case e in #(
   3470   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3471 printf '%s\n' "yes" >&6; } ;;
   3472 esac
   3473 fi
   3474 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3475 printf %s "checking for C compiler default output file name... " >&6; }
   3476 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3477 printf '%s\n' "$ac_file" >&6; }
   3478 ac_exeext=$ac_cv_exeext
   3479 
   3480 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3481 ac_clean_files=$ac_clean_files_save
   3482 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3483 printf %s "checking for suffix of executables... " >&6; }
   3484 if { { ac_try="$ac_link"
   3485 case "(($ac_try" in
   3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3487   *) ac_try_echo=$ac_try;;
   3488 esac
   3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3490 printf '%s\n' "$ac_try_echo"; } >&5
   3491   (eval "$ac_link") 2>&5
   3492   ac_status=$?
   3493   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3494   test $ac_status = 0; }
   3495 then :
   3496   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3497 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3498 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3499 # 'rm'.
   3500 for ac_file in conftest.exe conftest conftest.*; do
   3501   test -f "$ac_file" || continue
   3502   case $ac_file in
   3503     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3504     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3505 	  break;;
   3506     * ) break;;
   3507   esac
   3508 done
   3509 else case e in #(
   3510   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3511 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3512 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3513 See 'config.log' for more details" "$LINENO" 5; } ;;
   3514 esac
   3515 fi
   3516 rm -f conftest conftest$ac_cv_exeext
   3517 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3518 printf '%s\n' "$ac_cv_exeext" >&6; }
   3519 
   3520 rm -f conftest.$ac_ext
   3521 EXEEXT=$ac_cv_exeext
   3522 ac_exeext=$EXEEXT
   3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3524 /* end confdefs.h.  */
   3525 #include <stdio.h>
   3526 int
   3527 main (void)
   3528 {
   3529 FILE *f = fopen ("conftest.out", "w");
   3530  if (!f)
   3531   return 1;
   3532  return ferror (f) || fclose (f) != 0;
   3533 
   3534   ;
   3535   return 0;
   3536 }
   3537 _ACEOF
   3538 ac_clean_files="$ac_clean_files conftest.out"
   3539 # Check that the compiler produces executables we can run.  If not, either
   3540 # the compiler is broken, or we cross compile.
   3541 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3542 printf %s "checking whether we are cross compiling... " >&6; }
   3543 if test "$cross_compiling" != yes; then
   3544   { { ac_try="$ac_link"
   3545 case "(($ac_try" in
   3546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3547   *) ac_try_echo=$ac_try;;
   3548 esac
   3549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3550 printf '%s\n' "$ac_try_echo"; } >&5
   3551   (eval "$ac_link") 2>&5
   3552   ac_status=$?
   3553   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3554   test $ac_status = 0; }
   3555   if { ac_try='./conftest$ac_cv_exeext'
   3556   { { case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3561 printf '%s\n' "$ac_try_echo"; } >&5
   3562   (eval "$ac_try") 2>&5
   3563   ac_status=$?
   3564   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3565   test $ac_status = 0; }; }; then
   3566     cross_compiling=no
   3567   else
   3568     if test "$cross_compiling" = maybe; then
   3569 	cross_compiling=yes
   3570     else
   3571 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3572 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3573 as_fn_error 77 "cannot run C compiled programs.
   3574 If you meant to cross compile, use '--host'.
   3575 See 'config.log' for more details" "$LINENO" 5; }
   3576     fi
   3577   fi
   3578 fi
   3579 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3580 printf '%s\n' "$cross_compiling" >&6; }
   3581 
   3582 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3583   conftest.o conftest.obj conftest.out
   3584 ac_clean_files=$ac_clean_files_save
   3585 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3586 printf %s "checking for suffix of object files... " >&6; }
   3587 if test ${ac_cv_objext+y}
   3588 then :
   3589   printf %s "(cached) " >&6
   3590 else case e in #(
   3591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3592 /* end confdefs.h.  */
   3593 
   3594 int
   3595 main (void)
   3596 {
   3597 
   3598   ;
   3599   return 0;
   3600 }
   3601 _ACEOF
   3602 rm -f conftest.o conftest.obj
   3603 if { { ac_try="$ac_compile"
   3604 case "(($ac_try" in
   3605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3606   *) ac_try_echo=$ac_try;;
   3607 esac
   3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3609 printf '%s\n' "$ac_try_echo"; } >&5
   3610   (eval "$ac_compile") 2>&5
   3611   ac_status=$?
   3612   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3613   test $ac_status = 0; }
   3614 then :
   3615   for ac_file in conftest.o conftest.obj conftest.*; do
   3616   test -f "$ac_file" || continue;
   3617   case $ac_file in
   3618     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3619     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3620        break;;
   3621   esac
   3622 done
   3623 else case e in #(
   3624   e) printf '%s\n' "$as_me: failed program was:" >&5
   3625 sed 's/^/| /' conftest.$ac_ext >&5
   3626 
   3627 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3628 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   3629 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3630 See 'config.log' for more details" "$LINENO" 5; } ;;
   3631 esac
   3632 fi
   3633 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3634 esac
   3635 fi
   3636 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3637 printf '%s\n' "$ac_cv_objext" >&6; }
   3638 OBJEXT=$ac_cv_objext
   3639 ac_objext=$OBJEXT
   3640 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3641 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3642 if test ${ac_cv_c_compiler_gnu+y}
   3643 then :
   3644   printf %s "(cached) " >&6
   3645 else case e in #(
   3646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3647 /* end confdefs.h.  */
   3648 
   3649 int
   3650 main (void)
   3651 {
   3652 #ifndef __GNUC__
   3653        choke me
   3654 #endif
   3655 
   3656   ;
   3657   return 0;
   3658 }
   3659 _ACEOF
   3660 if ac_fn_c_try_compile "$LINENO"
   3661 then :
   3662   ac_compiler_gnu=yes
   3663 else case e in #(
   3664   e) ac_compiler_gnu=no ;;
   3665 esac
   3666 fi
   3667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3669  ;;
   3670 esac
   3671 fi
   3672 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3673 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3675 
   3676 if test $ac_compiler_gnu = yes; then
   3677   GCC=yes
   3678 else
   3679   GCC=
   3680 fi
   3681 ac_test_CFLAGS=${CFLAGS+y}
   3682 ac_save_CFLAGS=$CFLAGS
   3683 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3684 printf %s "checking whether $CC accepts -g... " >&6; }
   3685 if test ${ac_cv_prog_cc_g+y}
   3686 then :
   3687   printf %s "(cached) " >&6
   3688 else case e in #(
   3689   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3690    ac_c_werror_flag=yes
   3691    ac_cv_prog_cc_g=no
   3692    CFLAGS="-g"
   3693    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3694 /* end confdefs.h.  */
   3695 
   3696 int
   3697 main (void)
   3698 {
   3699 
   3700   ;
   3701   return 0;
   3702 }
   3703 _ACEOF
   3704 if ac_fn_c_try_compile "$LINENO"
   3705 then :
   3706   ac_cv_prog_cc_g=yes
   3707 else case e in #(
   3708   e) CFLAGS=""
   3709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3710 /* end confdefs.h.  */
   3711 
   3712 int
   3713 main (void)
   3714 {
   3715 
   3716   ;
   3717   return 0;
   3718 }
   3719 _ACEOF
   3720 if ac_fn_c_try_compile "$LINENO"
   3721 then :
   3722 
   3723 else case e in #(
   3724   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3725 	 CFLAGS="-g"
   3726 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3727 /* end confdefs.h.  */
   3728 
   3729 int
   3730 main (void)
   3731 {
   3732 
   3733   ;
   3734   return 0;
   3735 }
   3736 _ACEOF
   3737 if ac_fn_c_try_compile "$LINENO"
   3738 then :
   3739   ac_cv_prog_cc_g=yes
   3740 fi
   3741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3742 esac
   3743 fi
   3744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3745 esac
   3746 fi
   3747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3748    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3749 esac
   3750 fi
   3751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3752 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   3753 if test $ac_test_CFLAGS; then
   3754   CFLAGS=$ac_save_CFLAGS
   3755 elif test $ac_cv_prog_cc_g = yes; then
   3756   if test "$GCC" = yes; then
   3757     CFLAGS="-g -O2"
   3758   else
   3759     CFLAGS="-g"
   3760   fi
   3761 else
   3762   if test "$GCC" = yes; then
   3763     CFLAGS="-O2"
   3764   else
   3765     CFLAGS=
   3766   fi
   3767 fi
   3768 ac_prog_cc_stdc=no
   3769 if test x$ac_prog_cc_stdc = xno
   3770 then :
   3771   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   3772 printf %s "checking for $CC option to enable C23 features... " >&6; }
   3773 if test ${ac_cv_prog_cc_c23+y}
   3774 then :
   3775   printf %s "(cached) " >&6
   3776 else case e in #(
   3777   e) ac_cv_prog_cc_c23=no
   3778 ac_save_CC=$CC
   3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3780 /* end confdefs.h.  */
   3781 $ac_c_conftest_c23_program
   3782 _ACEOF
   3783 for ac_arg in '' -std=gnu23
   3784 do
   3785   CC="$ac_save_CC $ac_arg"
   3786   if ac_fn_c_try_compile "$LINENO"
   3787 then :
   3788   ac_cv_prog_cc_c23=$ac_arg
   3789 fi
   3790 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3791   test "x$ac_cv_prog_cc_c23" != "xno" && break
   3792 done
   3793 rm -f conftest.$ac_ext
   3794 CC=$ac_save_CC ;;
   3795 esac
   3796 fi
   3797 
   3798 if test "x$ac_cv_prog_cc_c23" = xno
   3799 then :
   3800   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3801 printf '%s\n' "unsupported" >&6; }
   3802 else case e in #(
   3803   e) if test "x$ac_cv_prog_cc_c23" = x
   3804 then :
   3805   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3806 printf '%s\n' "none needed" >&6; }
   3807 else case e in #(
   3808   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   3809 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   3810      CC="$CC $ac_cv_prog_cc_c23" ;;
   3811 esac
   3812 fi
   3813   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   3814   ac_prog_cc_stdc=c23 ;;
   3815 esac
   3816 fi
   3817 fi
   3818 if test x$ac_prog_cc_stdc = xno
   3819 then :
   3820   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3821 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3822 if test ${ac_cv_prog_cc_c11+y}
   3823 then :
   3824   printf %s "(cached) " >&6
   3825 else case e in #(
   3826   e) ac_cv_prog_cc_c11=no
   3827 ac_save_CC=$CC
   3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3829 /* end confdefs.h.  */
   3830 $ac_c_conftest_c11_program
   3831 _ACEOF
   3832 for ac_arg in '' -std=gnu11 -std:c11
   3833 do
   3834   CC="$ac_save_CC $ac_arg"
   3835   if ac_fn_c_try_compile "$LINENO"
   3836 then :
   3837   ac_cv_prog_cc_c11=$ac_arg
   3838 fi
   3839 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3840   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3841 done
   3842 rm -f conftest.$ac_ext
   3843 CC=$ac_save_CC ;;
   3844 esac
   3845 fi
   3846 
   3847 if test "x$ac_cv_prog_cc_c11" = xno
   3848 then :
   3849   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3850 printf '%s\n' "unsupported" >&6; }
   3851 else case e in #(
   3852   e) if test "x$ac_cv_prog_cc_c11" = x
   3853 then :
   3854   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3855 printf '%s\n' "none needed" >&6; }
   3856 else case e in #(
   3857   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3858 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   3859      CC="$CC $ac_cv_prog_cc_c11" ;;
   3860 esac
   3861 fi
   3862   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3863   ac_prog_cc_stdc=c11 ;;
   3864 esac
   3865 fi
   3866 fi
   3867 if test x$ac_prog_cc_stdc = xno
   3868 then :
   3869   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3870 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3871 if test ${ac_cv_prog_cc_c99+y}
   3872 then :
   3873   printf %s "(cached) " >&6
   3874 else case e in #(
   3875   e) ac_cv_prog_cc_c99=no
   3876 ac_save_CC=$CC
   3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3878 /* end confdefs.h.  */
   3879 $ac_c_conftest_c99_program
   3880 _ACEOF
   3881 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3882 do
   3883   CC="$ac_save_CC $ac_arg"
   3884   if ac_fn_c_try_compile "$LINENO"
   3885 then :
   3886   ac_cv_prog_cc_c99=$ac_arg
   3887 fi
   3888 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3889   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3890 done
   3891 rm -f conftest.$ac_ext
   3892 CC=$ac_save_CC ;;
   3893 esac
   3894 fi
   3895 
   3896 if test "x$ac_cv_prog_cc_c99" = xno
   3897 then :
   3898   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3899 printf '%s\n' "unsupported" >&6; }
   3900 else case e in #(
   3901   e) if test "x$ac_cv_prog_cc_c99" = x
   3902 then :
   3903   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3904 printf '%s\n' "none needed" >&6; }
   3905 else case e in #(
   3906   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3907 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   3908      CC="$CC $ac_cv_prog_cc_c99" ;;
   3909 esac
   3910 fi
   3911   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3912   ac_prog_cc_stdc=c99 ;;
   3913 esac
   3914 fi
   3915 fi
   3916 if test x$ac_prog_cc_stdc = xno
   3917 then :
   3918   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3919 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3920 if test ${ac_cv_prog_cc_c89+y}
   3921 then :
   3922   printf %s "(cached) " >&6
   3923 else case e in #(
   3924   e) ac_cv_prog_cc_c89=no
   3925 ac_save_CC=$CC
   3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3927 /* end confdefs.h.  */
   3928 $ac_c_conftest_c89_program
   3929 _ACEOF
   3930 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3931 do
   3932   CC="$ac_save_CC $ac_arg"
   3933   if ac_fn_c_try_compile "$LINENO"
   3934 then :
   3935   ac_cv_prog_cc_c89=$ac_arg
   3936 fi
   3937 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3938   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3939 done
   3940 rm -f conftest.$ac_ext
   3941 CC=$ac_save_CC ;;
   3942 esac
   3943 fi
   3944 
   3945 if test "x$ac_cv_prog_cc_c89" = xno
   3946 then :
   3947   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3948 printf '%s\n' "unsupported" >&6; }
   3949 else case e in #(
   3950   e) if test "x$ac_cv_prog_cc_c89" = x
   3951 then :
   3952   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3953 printf '%s\n' "none needed" >&6; }
   3954 else case e in #(
   3955   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3956 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   3957      CC="$CC $ac_cv_prog_cc_c89" ;;
   3958 esac
   3959 fi
   3960   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3961   ac_prog_cc_stdc=c89 ;;
   3962 esac
   3963 fi
   3964 fi
   3965 
   3966 ac_ext=c
   3967 ac_cpp='$CPP $CPPFLAGS'
   3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3971 
   3972 
   3973   ac_ext=c
   3974 ac_cpp='$CPP $CPPFLAGS'
   3975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3979 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3980 if test ${am_cv_prog_cc_c_o+y}
   3981 then :
   3982   printf %s "(cached) " >&6
   3983 else case e in #(
   3984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3985 /* end confdefs.h.  */
   3986 
   3987 int
   3988 main (void)
   3989 {
   3990 
   3991   ;
   3992   return 0;
   3993 }
   3994 _ACEOF
   3995   # Make sure it works both with $CC and with simple cc.
   3996   # Following AC_PROG_CC_C_O, we do the test twice because some
   3997   # compilers refuse to overwrite an existing .o file with -o,
   3998   # though they will create one.
   3999   am_cv_prog_cc_c_o=yes
   4000   for am_i in 1 2; do
   4001     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4002    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4003    ac_status=$?
   4004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4005    (exit $ac_status); } \
   4006          && test -f conftest2.$ac_objext; then
   4007       : OK
   4008     else
   4009       am_cv_prog_cc_c_o=no
   4010       break
   4011     fi
   4012   done
   4013   # aligned with autoconf, so not including core; see bug#72225.
   4014   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4015     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4016     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4017   unset am_i ;;
   4018 esac
   4019 fi
   4020 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4021 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4022 if test "$am_cv_prog_cc_c_o" != yes; then
   4023    # Losing compiler, so override with the script.
   4024    # FIXME: It is wrong to rewrite CC.
   4025    # But if we don't then we get into trouble of one sort or another.
   4026    # A longer-term fix would be to have automake use am__CC in this case,
   4027    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4028    CC="$am_aux_dir/compile $CC"
   4029 fi
   4030 ac_ext=c
   4031 ac_cpp='$CPP $CPPFLAGS'
   4032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4035 
   4036 
   4037 
   4038 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4039 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4040 if test ${ac_cv_c_undeclared_builtin_options+y}
   4041 then :
   4042   printf %s "(cached) " >&6
   4043 else case e in #(
   4044   e) ac_save_CFLAGS=$CFLAGS
   4045    ac_cv_c_undeclared_builtin_options='cannot detect'
   4046    for ac_arg in '' -fno-builtin; do
   4047      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4048      # This test program should *not* compile successfully.
   4049      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 
   4052 int
   4053 main (void)
   4054 {
   4055 (void) strchr;
   4056   ;
   4057   return 0;
   4058 }
   4059 _ACEOF
   4060 if ac_fn_c_try_compile "$LINENO"
   4061 then :
   4062 
   4063 else case e in #(
   4064   e) # This test program should compile successfully.
   4065         # No library function is consistently available on
   4066         # freestanding implementations, so test against a dummy
   4067         # declaration.  Include always-available headers on the
   4068         # off chance that they somehow elicit warnings.
   4069         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4070 /* end confdefs.h.  */
   4071 #include <float.h>
   4072 #include <limits.h>
   4073 #include <stdarg.h>
   4074 #include <stddef.h>
   4075 extern void ac_decl (int, char *);
   4076 
   4077 int
   4078 main (void)
   4079 {
   4080 (void) ac_decl (0, (char *) 0);
   4081   (void) ac_decl;
   4082 
   4083   ;
   4084   return 0;
   4085 }
   4086 _ACEOF
   4087 if ac_fn_c_try_compile "$LINENO"
   4088 then :
   4089   if test x"$ac_arg" = x
   4090 then :
   4091   ac_cv_c_undeclared_builtin_options='none needed'
   4092 else case e in #(
   4093   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4094 esac
   4095 fi
   4096           break
   4097 fi
   4098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4099 esac
   4100 fi
   4101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4102     done
   4103     CFLAGS=$ac_save_CFLAGS
   4104    ;;
   4105 esac
   4106 fi
   4107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4108 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4109   case $ac_cv_c_undeclared_builtin_options in #(
   4110   'cannot detect') :
   4111     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4112 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4113 as_fn_error $? "cannot make $CC report undeclared builtins
   4114 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4115   'none needed') :
   4116     ac_c_undeclared_builtin_options='' ;; #(
   4117   *) :
   4118     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4119 esac
   4120 
   4121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4122 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4123 if test ${ac_cv_c_future_darwin_options+y}
   4124 then :
   4125   printf %s "(cached) " >&6
   4126 else case e in #(
   4127   e)       ac_compile_saved="$ac_compile"
   4128    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4129    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4130 /* end confdefs.h.  */
   4131 #if ! (defined __APPLE__ && defined __MACH__)
   4132 	   #error "-Werror=unguarded-availability-new not needed here"
   4133 	  #endif
   4134 
   4135 int
   4136 main (void)
   4137 {
   4138 
   4139   ;
   4140   return 0;
   4141 }
   4142 _ACEOF
   4143 if ac_fn_c_try_compile "$LINENO"
   4144 then :
   4145   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4146 else case e in #(
   4147   e) ac_cv_c_future_darwin_options='none needed' ;;
   4148 esac
   4149 fi
   4150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4151    ac_compile="$ac_compile_saved"
   4152    ;;
   4153 esac
   4154 fi
   4155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   4156 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   4157  case $ac_cv_c_future_darwin_options in #(
   4158   'none needed') :
   4159     ac_c_future_darwin_options='' ;; #(
   4160   *) :
   4161     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   4162 esac
   4163 
   4164 ac_header= ac_cache=
   4165 for ac_item in $ac_header_c_list
   4166 do
   4167   if test $ac_cache; then
   4168     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4169     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4170       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   4171     fi
   4172     ac_header= ac_cache=
   4173   elif test $ac_header; then
   4174     ac_cache=$ac_item
   4175   else
   4176     ac_header=$ac_item
   4177   fi
   4178 done
   4179 
   4180 
   4181 
   4182 
   4183 
   4184 
   4185 
   4186 
   4187 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4188 then :
   4189 
   4190 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   4191 
   4192 fi
   4193 
   4194 
   4195 
   4196 
   4197 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   4198 if test "x$ac_cv_have_decl___clang__" = xyes
   4199 then :
   4200   CLANGCC="yes"
   4201 else case e in #(
   4202   e) CLANGCC="no" ;;
   4203 esac
   4204 fi
   4205 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   4206 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4207 then :
   4208   INTELCC="yes"
   4209 else case e in #(
   4210   e) INTELCC="no" ;;
   4211 esac
   4212 fi
   4213 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   4214 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4215 then :
   4216   SUNCC="yes"
   4217 else case e in #(
   4218   e) SUNCC="no" ;;
   4219 esac
   4220 fi
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4230 	if test -n "$ac_tool_prefix"; then
   4231   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4233 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4234 printf %s "checking for $ac_word... " >&6; }
   4235 if test ${ac_cv_path_PKG_CONFIG+y}
   4236 then :
   4237   printf %s "(cached) " >&6
   4238 else case e in #(
   4239   e) case $PKG_CONFIG in
   4240   [\\/]* | ?:[\\/]*)
   4241   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4242   ;;
   4243   *)
   4244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4245 for as_dir in $PATH
   4246 do
   4247   IFS=$as_save_IFS
   4248   case $as_dir in #(((
   4249     '') as_dir=./ ;;
   4250     */) ;;
   4251     *) as_dir=$as_dir/ ;;
   4252   esac
   4253     for ac_exec_ext in '' $ac_executable_extensions; do
   4254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4255     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4256     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4257     break 2
   4258   fi
   4259 done
   4260   done
   4261 IFS=$as_save_IFS
   4262 
   4263   ;;
   4264 esac ;;
   4265 esac
   4266 fi
   4267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4268 if test -n "$PKG_CONFIG"; then
   4269   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4270 printf '%s\n' "$PKG_CONFIG" >&6; }
   4271 else
   4272   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4273 printf '%s\n' "no" >&6; }
   4274 fi
   4275 
   4276 
   4277 fi
   4278 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4279   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4280   # Extract the first word of "pkg-config", so it can be a program name with args.
   4281 set dummy pkg-config; ac_word=$2
   4282 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4283 printf %s "checking for $ac_word... " >&6; }
   4284 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4285 then :
   4286   printf %s "(cached) " >&6
   4287 else case e in #(
   4288   e) case $ac_pt_PKG_CONFIG in
   4289   [\\/]* | ?:[\\/]*)
   4290   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4291   ;;
   4292   *)
   4293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4294 for as_dir in $PATH
   4295 do
   4296   IFS=$as_save_IFS
   4297   case $as_dir in #(((
   4298     '') as_dir=./ ;;
   4299     */) ;;
   4300     *) as_dir=$as_dir/ ;;
   4301   esac
   4302     for ac_exec_ext in '' $ac_executable_extensions; do
   4303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4304     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4305     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4306     break 2
   4307   fi
   4308 done
   4309   done
   4310 IFS=$as_save_IFS
   4311 
   4312   ;;
   4313 esac ;;
   4314 esac
   4315 fi
   4316 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4317 if test -n "$ac_pt_PKG_CONFIG"; then
   4318   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4319 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   4320 else
   4321   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4322 printf '%s\n' "no" >&6; }
   4323 fi
   4324 
   4325   if test "x$ac_pt_PKG_CONFIG" = x; then
   4326     PKG_CONFIG=""
   4327   else
   4328     case $cross_compiling:$ac_tool_warned in
   4329 yes:)
   4330 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4331 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4332 ac_tool_warned=yes ;;
   4333 esac
   4334     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4335   fi
   4336 else
   4337   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4338 fi
   4339 
   4340 fi
   4341 if test -n "$PKG_CONFIG"; then
   4342 	_pkg_min_version=0.9.0
   4343 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4344 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4345 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4346 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4347 printf '%s\n' "yes" >&6; }
   4348 	else
   4349 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4350 printf '%s\n' "no" >&6; }
   4351 		PKG_CONFIG=""
   4352 	fi
   4353 fi
   4354 
   4355 
   4356   # Make sure we can run config.sub.
   4357 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4358   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4359 
   4360 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4361 printf %s "checking build system type... " >&6; }
   4362 if test ${ac_cv_build+y}
   4363 then :
   4364   printf %s "(cached) " >&6
   4365 else case e in #(
   4366   e) ac_build_alias=$build_alias
   4367 test "x$ac_build_alias" = x &&
   4368   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4369 test "x$ac_build_alias" = x &&
   4370   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4371 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4372   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4373  ;;
   4374 esac
   4375 fi
   4376 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4377 printf '%s\n' "$ac_cv_build" >&6; }
   4378 case $ac_cv_build in
   4379 *-*-*) ;;
   4380 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4381 esac
   4382 build=$ac_cv_build
   4383 ac_save_IFS=$IFS; IFS='-'
   4384 set x $ac_cv_build
   4385 shift
   4386 build_cpu=$1
   4387 build_vendor=$2
   4388 shift; shift
   4389 # Remember, the first character of IFS is used to create $*,
   4390 # except with old shells:
   4391 build_os=$*
   4392 IFS=$ac_save_IFS
   4393 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   4394 
   4395 
   4396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4397 printf %s "checking host system type... " >&6; }
   4398 if test ${ac_cv_host+y}
   4399 then :
   4400   printf %s "(cached) " >&6
   4401 else case e in #(
   4402   e) if test "x$host_alias" = x; then
   4403   ac_cv_host=$ac_cv_build
   4404 else
   4405   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4406     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4407 fi
   4408  ;;
   4409 esac
   4410 fi
   4411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4412 printf '%s\n' "$ac_cv_host" >&6; }
   4413 case $ac_cv_host in
   4414 *-*-*) ;;
   4415 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4416 esac
   4417 host=$ac_cv_host
   4418 ac_save_IFS=$IFS; IFS='-'
   4419 set x $ac_cv_host
   4420 shift
   4421 host_cpu=$1
   4422 host_vendor=$2
   4423 shift; shift
   4424 # Remember, the first character of IFS is used to create $*,
   4425 # except with old shells:
   4426 host_os=$*
   4427 IFS=$ac_save_IFS
   4428 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   4429 
   4430 
   4431 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4432 printf %s "checking for a sed that does not truncate output... " >&6; }
   4433 if test ${ac_cv_path_SED+y}
   4434 then :
   4435   printf %s "(cached) " >&6
   4436 else case e in #(
   4437   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4438      for ac_i in 1 2 3 4 5 6 7; do
   4439        ac_script="$ac_script$as_nl$ac_script"
   4440      done
   4441      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4442      { ac_script=; unset ac_script;}
   4443      if test -z "$SED"; then
   4444   ac_path_SED_found=false
   4445   # Loop through the user's path and test for each of PROGNAME-LIST
   4446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4447 for as_dir in $PATH
   4448 do
   4449   IFS=$as_save_IFS
   4450   case $as_dir in #(((
   4451     '') as_dir=./ ;;
   4452     */) ;;
   4453     *) as_dir=$as_dir/ ;;
   4454   esac
   4455     for ac_prog in sed gsed
   4456    do
   4457     for ac_exec_ext in '' $ac_executable_extensions; do
   4458       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4459       as_fn_executable_p "$ac_path_SED" || continue
   4460 # Check for GNU ac_path_SED and select it if it is found.
   4461   # Check for GNU $ac_path_SED
   4462 case `"$ac_path_SED" --version 2>&1` in #(
   4463 *GNU*)
   4464   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4465 #(
   4466 *)
   4467   ac_count=0
   4468   printf %s 0123456789 >"conftest.in"
   4469   while :
   4470   do
   4471     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4472     mv "conftest.tmp" "conftest.in"
   4473     cp "conftest.in" "conftest.nl"
   4474     printf '%s\n' '' >> "conftest.nl"
   4475     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4476     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4477     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4478     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4479       # Best one so far, save it but keep looking for a better one
   4480       ac_cv_path_SED="$ac_path_SED"
   4481       ac_path_SED_max=$ac_count
   4482     fi
   4483     # 10*(2^10) chars as input seems more than enough
   4484     test $ac_count -gt 10 && break
   4485   done
   4486   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4487 esac
   4488 
   4489       $ac_path_SED_found && break 3
   4490     done
   4491   done
   4492   done
   4493 IFS=$as_save_IFS
   4494   if test -z "$ac_cv_path_SED"; then
   4495     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4496   fi
   4497 else
   4498   ac_cv_path_SED=$SED
   4499 fi
   4500  ;;
   4501 esac
   4502 fi
   4503 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4504 printf '%s\n' "$ac_cv_path_SED" >&6; }
   4505  SED="$ac_cv_path_SED"
   4506   rm -f conftest.sed
   4507 
   4508 AM_DEFAULT_VERBOSITY=1
   4509 # Check whether --enable-silent-rules was given.
   4510 if test ${enable_silent_rules+y}
   4511 then :
   4512   enableval=$enable_silent_rules;
   4513 fi
   4514 
   4515 am_make=${MAKE-make}
   4516 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4517 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4518 if test ${am_cv_make_support_nested_variables+y}
   4519 then :
   4520   printf %s "(cached) " >&6
   4521 else case e in #(
   4522   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   4523 BAR0=false
   4524 BAR1=true
   4525 V=1
   4526 am__doit:
   4527 	@$(TRUE)
   4528 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4529   am_cv_make_support_nested_variables=yes
   4530 else
   4531   am_cv_make_support_nested_variables=no
   4532 fi ;;
   4533 esac
   4534 fi
   4535 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4536 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   4537 AM_BACKSLASH='\'
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 # Check whether --enable-selective-werror was given.
   4545 if test ${enable_selective_werror+y}
   4546 then :
   4547   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4548 else case e in #(
   4549   e) SELECTIVE_WERROR=yes ;;
   4550 esac
   4551 fi
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4558 if test "x$SUNCC" = "xyes"; then
   4559     BASE_CFLAGS="-v"
   4560 else
   4561     BASE_CFLAGS=""
   4562 fi
   4563 
   4564 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4565 
   4566 
   4567 
   4568 
   4569 
   4570 
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 xorg_testset_save_CFLAGS="$CFLAGS"
   4579 
   4580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4582 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4585 then :
   4586   printf %s "(cached) " >&6
   4587 else case e in #(
   4588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4589 /* end confdefs.h.  */
   4590 int i;
   4591 _ACEOF
   4592 if ac_fn_c_try_compile "$LINENO"
   4593 then :
   4594   xorg_cv_cc_flag_unknown_warning_option=yes
   4595 else case e in #(
   4596   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4597 esac
   4598 fi
   4599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4600 esac
   4601 fi
   4602 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4603 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4605 	CFLAGS="$xorg_testset_save_CFLAGS"
   4606 fi
   4607 
   4608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4611 	fi
   4612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4613 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4614 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4615 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4616 then :
   4617   printf %s "(cached) " >&6
   4618 else case e in #(
   4619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4620 /* end confdefs.h.  */
   4621 int i;
   4622 _ACEOF
   4623 if ac_fn_c_try_compile "$LINENO"
   4624 then :
   4625   xorg_cv_cc_flag_unused_command_line_argument=yes
   4626 else case e in #(
   4627   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   4628 esac
   4629 fi
   4630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4631 esac
   4632 fi
   4633 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4634 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4636 	CFLAGS="$xorg_testset_save_CFLAGS"
   4637 fi
   4638 
   4639 found="no"
   4640 
   4641 	if test $found = "no" ; then
   4642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4644 		fi
   4645 
   4646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4648 		fi
   4649 
   4650 		CFLAGS="$CFLAGS -Wall"
   4651 
   4652 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4653 printf %s "checking if $CC supports -Wall... " >&6; }
   4654 		cacheid=xorg_cv_cc_flag__Wall
   4655 		if eval test \${$cacheid+y}
   4656 then :
   4657   printf %s "(cached) " >&6
   4658 else case e in #(
   4659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4660 /* end confdefs.h.  */
   4661 int i;
   4662 int
   4663 main (void)
   4664 {
   4665 
   4666   ;
   4667   return 0;
   4668 }
   4669 _ACEOF
   4670 if ac_fn_c_try_link "$LINENO"
   4671 then :
   4672   eval $cacheid=yes
   4673 else case e in #(
   4674   e) eval $cacheid=no ;;
   4675 esac
   4676 fi
   4677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4678     conftest$ac_exeext conftest.$ac_ext ;;
   4679 esac
   4680 fi
   4681 
   4682 
   4683 		CFLAGS="$xorg_testset_save_CFLAGS"
   4684 
   4685 		eval supported=\$$cacheid
   4686 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4687 printf '%s\n' "$supported" >&6; }
   4688 		if test "$supported" = "yes" ; then
   4689 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4690 			found="yes"
   4691 		fi
   4692 	fi
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 xorg_testset_save_CFLAGS="$CFLAGS"
   4709 
   4710 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4711 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4712 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4713 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4714 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4715 then :
   4716   printf %s "(cached) " >&6
   4717 else case e in #(
   4718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4719 /* end confdefs.h.  */
   4720 int i;
   4721 _ACEOF
   4722 if ac_fn_c_try_compile "$LINENO"
   4723 then :
   4724   xorg_cv_cc_flag_unknown_warning_option=yes
   4725 else case e in #(
   4726   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4727 esac
   4728 fi
   4729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4730 esac
   4731 fi
   4732 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4733 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4735 	CFLAGS="$xorg_testset_save_CFLAGS"
   4736 fi
   4737 
   4738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4741 	fi
   4742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4743 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4746 then :
   4747   printf %s "(cached) " >&6
   4748 else case e in #(
   4749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4750 /* end confdefs.h.  */
   4751 int i;
   4752 _ACEOF
   4753 if ac_fn_c_try_compile "$LINENO"
   4754 then :
   4755   xorg_cv_cc_flag_unused_command_line_argument=yes
   4756 else case e in #(
   4757   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   4758 esac
   4759 fi
   4760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4761 esac
   4762 fi
   4763 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4764 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4766 	CFLAGS="$xorg_testset_save_CFLAGS"
   4767 fi
   4768 
   4769 found="no"
   4770 
   4771 	if test $found = "no" ; then
   4772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4774 		fi
   4775 
   4776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4778 		fi
   4779 
   4780 		CFLAGS="$CFLAGS -Wpointer-arith"
   4781 
   4782 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4783 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   4784 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4785 		if eval test \${$cacheid+y}
   4786 then :
   4787   printf %s "(cached) " >&6
   4788 else case e in #(
   4789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4790 /* end confdefs.h.  */
   4791 int i;
   4792 int
   4793 main (void)
   4794 {
   4795 
   4796   ;
   4797   return 0;
   4798 }
   4799 _ACEOF
   4800 if ac_fn_c_try_link "$LINENO"
   4801 then :
   4802   eval $cacheid=yes
   4803 else case e in #(
   4804   e) eval $cacheid=no ;;
   4805 esac
   4806 fi
   4807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4808     conftest$ac_exeext conftest.$ac_ext ;;
   4809 esac
   4810 fi
   4811 
   4812 
   4813 		CFLAGS="$xorg_testset_save_CFLAGS"
   4814 
   4815 		eval supported=\$$cacheid
   4816 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4817 printf '%s\n' "$supported" >&6; }
   4818 		if test "$supported" = "yes" ; then
   4819 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4820 			found="yes"
   4821 		fi
   4822 	fi
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 xorg_testset_save_CFLAGS="$CFLAGS"
   4839 
   4840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4842 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4845 then :
   4846   printf %s "(cached) " >&6
   4847 else case e in #(
   4848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4849 /* end confdefs.h.  */
   4850 int i;
   4851 _ACEOF
   4852 if ac_fn_c_try_compile "$LINENO"
   4853 then :
   4854   xorg_cv_cc_flag_unknown_warning_option=yes
   4855 else case e in #(
   4856   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4857 esac
   4858 fi
   4859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4860 esac
   4861 fi
   4862 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4863 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4865 	CFLAGS="$xorg_testset_save_CFLAGS"
   4866 fi
   4867 
   4868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4871 	fi
   4872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4873 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4876 then :
   4877   printf %s "(cached) " >&6
   4878 else case e in #(
   4879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4880 /* end confdefs.h.  */
   4881 int i;
   4882 _ACEOF
   4883 if ac_fn_c_try_compile "$LINENO"
   4884 then :
   4885   xorg_cv_cc_flag_unused_command_line_argument=yes
   4886 else case e in #(
   4887   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   4888 esac
   4889 fi
   4890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4891 esac
   4892 fi
   4893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4894 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4896 	CFLAGS="$xorg_testset_save_CFLAGS"
   4897 fi
   4898 
   4899 found="no"
   4900 
   4901 	if test $found = "no" ; then
   4902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4904 		fi
   4905 
   4906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4908 		fi
   4909 
   4910 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4911 
   4912 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4913 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   4914 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4915 		if eval test \${$cacheid+y}
   4916 then :
   4917   printf %s "(cached) " >&6
   4918 else case e in #(
   4919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4920 /* end confdefs.h.  */
   4921 int i;
   4922 int
   4923 main (void)
   4924 {
   4925 
   4926   ;
   4927   return 0;
   4928 }
   4929 _ACEOF
   4930 if ac_fn_c_try_link "$LINENO"
   4931 then :
   4932   eval $cacheid=yes
   4933 else case e in #(
   4934   e) eval $cacheid=no ;;
   4935 esac
   4936 fi
   4937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4938     conftest$ac_exeext conftest.$ac_ext ;;
   4939 esac
   4940 fi
   4941 
   4942 
   4943 		CFLAGS="$xorg_testset_save_CFLAGS"
   4944 
   4945 		eval supported=\$$cacheid
   4946 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4947 printf '%s\n' "$supported" >&6; }
   4948 		if test "$supported" = "yes" ; then
   4949 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4950 			found="yes"
   4951 		fi
   4952 	fi
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 xorg_testset_save_CFLAGS="$CFLAGS"
   4969 
   4970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4972 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4973 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4974 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4975 then :
   4976   printf %s "(cached) " >&6
   4977 else case e in #(
   4978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4979 /* end confdefs.h.  */
   4980 int i;
   4981 _ACEOF
   4982 if ac_fn_c_try_compile "$LINENO"
   4983 then :
   4984   xorg_cv_cc_flag_unknown_warning_option=yes
   4985 else case e in #(
   4986   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4987 esac
   4988 fi
   4989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4990 esac
   4991 fi
   4992 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4993 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4995 	CFLAGS="$xorg_testset_save_CFLAGS"
   4996 fi
   4997 
   4998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 	fi
   5002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5003 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5006 then :
   5007   printf %s "(cached) " >&6
   5008 else case e in #(
   5009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 _ACEOF
   5013 if ac_fn_c_try_compile "$LINENO"
   5014 then :
   5015   xorg_cv_cc_flag_unused_command_line_argument=yes
   5016 else case e in #(
   5017   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5018 esac
   5019 fi
   5020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5021 esac
   5022 fi
   5023 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5024 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5026 	CFLAGS="$xorg_testset_save_CFLAGS"
   5027 fi
   5028 
   5029 found="no"
   5030 
   5031 	if test $found = "no" ; then
   5032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5034 		fi
   5035 
   5036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5038 		fi
   5039 
   5040 		CFLAGS="$CFLAGS -Wformat=2"
   5041 
   5042 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5043 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5044 		cacheid=xorg_cv_cc_flag__Wformat_2
   5045 		if eval test \${$cacheid+y}
   5046 then :
   5047   printf %s "(cached) " >&6
   5048 else case e in #(
   5049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5050 /* end confdefs.h.  */
   5051 int i;
   5052 int
   5053 main (void)
   5054 {
   5055 
   5056   ;
   5057   return 0;
   5058 }
   5059 _ACEOF
   5060 if ac_fn_c_try_link "$LINENO"
   5061 then :
   5062   eval $cacheid=yes
   5063 else case e in #(
   5064   e) eval $cacheid=no ;;
   5065 esac
   5066 fi
   5067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5068     conftest$ac_exeext conftest.$ac_ext ;;
   5069 esac
   5070 fi
   5071 
   5072 
   5073 		CFLAGS="$xorg_testset_save_CFLAGS"
   5074 
   5075 		eval supported=\$$cacheid
   5076 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5077 printf '%s\n' "$supported" >&6; }
   5078 		if test "$supported" = "yes" ; then
   5079 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5080 			found="yes"
   5081 		fi
   5082 	fi
   5083 
   5084 	if test $found = "no" ; then
   5085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5087 		fi
   5088 
   5089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5091 		fi
   5092 
   5093 		CFLAGS="$CFLAGS -Wformat"
   5094 
   5095 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5096 printf %s "checking if $CC supports -Wformat... " >&6; }
   5097 		cacheid=xorg_cv_cc_flag__Wformat
   5098 		if eval test \${$cacheid+y}
   5099 then :
   5100   printf %s "(cached) " >&6
   5101 else case e in #(
   5102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5103 /* end confdefs.h.  */
   5104 int i;
   5105 int
   5106 main (void)
   5107 {
   5108 
   5109   ;
   5110   return 0;
   5111 }
   5112 _ACEOF
   5113 if ac_fn_c_try_link "$LINENO"
   5114 then :
   5115   eval $cacheid=yes
   5116 else case e in #(
   5117   e) eval $cacheid=no ;;
   5118 esac
   5119 fi
   5120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5121     conftest$ac_exeext conftest.$ac_ext ;;
   5122 esac
   5123 fi
   5124 
   5125 
   5126 		CFLAGS="$xorg_testset_save_CFLAGS"
   5127 
   5128 		eval supported=\$$cacheid
   5129 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5130 printf '%s\n' "$supported" >&6; }
   5131 		if test "$supported" = "yes" ; then
   5132 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5133 			found="yes"
   5134 		fi
   5135 	fi
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 xorg_testset_save_CFLAGS="$CFLAGS"
   5154 
   5155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5158 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5159 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5160 then :
   5161   printf %s "(cached) " >&6
   5162 else case e in #(
   5163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5164 /* end confdefs.h.  */
   5165 int i;
   5166 _ACEOF
   5167 if ac_fn_c_try_compile "$LINENO"
   5168 then :
   5169   xorg_cv_cc_flag_unknown_warning_option=yes
   5170 else case e in #(
   5171   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5172 esac
   5173 fi
   5174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5175 esac
   5176 fi
   5177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5178 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5180 	CFLAGS="$xorg_testset_save_CFLAGS"
   5181 fi
   5182 
   5183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5186 	fi
   5187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5188 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5189 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5190 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5191 then :
   5192   printf %s "(cached) " >&6
   5193 else case e in #(
   5194   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 int i;
   5197 _ACEOF
   5198 if ac_fn_c_try_compile "$LINENO"
   5199 then :
   5200   xorg_cv_cc_flag_unused_command_line_argument=yes
   5201 else case e in #(
   5202   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5203 esac
   5204 fi
   5205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5206 esac
   5207 fi
   5208 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5209 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5211 	CFLAGS="$xorg_testset_save_CFLAGS"
   5212 fi
   5213 
   5214 found="no"
   5215 
   5216 	if test $found = "no" ; then
   5217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5219 		fi
   5220 
   5221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5223 		fi
   5224 
   5225 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5226 
   5227 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5228 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5229 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5230 		if eval test \${$cacheid+y}
   5231 then :
   5232   printf %s "(cached) " >&6
   5233 else case e in #(
   5234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5235 /* end confdefs.h.  */
   5236 int i;
   5237 int
   5238 main (void)
   5239 {
   5240 
   5241   ;
   5242   return 0;
   5243 }
   5244 _ACEOF
   5245 if ac_fn_c_try_link "$LINENO"
   5246 then :
   5247   eval $cacheid=yes
   5248 else case e in #(
   5249   e) eval $cacheid=no ;;
   5250 esac
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5253     conftest$ac_exeext conftest.$ac_ext ;;
   5254 esac
   5255 fi
   5256 
   5257 
   5258 		CFLAGS="$xorg_testset_save_CFLAGS"
   5259 
   5260 		eval supported=\$$cacheid
   5261 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5262 printf '%s\n' "$supported" >&6; }
   5263 		if test "$supported" = "yes" ; then
   5264 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5265 			found="yes"
   5266 		fi
   5267 	fi
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 xorg_testset_save_CFLAGS="$CFLAGS"
   5284 
   5285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5287 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5288 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5289 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5290 then :
   5291   printf %s "(cached) " >&6
   5292 else case e in #(
   5293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5294 /* end confdefs.h.  */
   5295 int i;
   5296 _ACEOF
   5297 if ac_fn_c_try_compile "$LINENO"
   5298 then :
   5299   xorg_cv_cc_flag_unknown_warning_option=yes
   5300 else case e in #(
   5301   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5302 esac
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5305 esac
   5306 fi
   5307 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5308 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5310 	CFLAGS="$xorg_testset_save_CFLAGS"
   5311 fi
   5312 
   5313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5316 	fi
   5317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5318 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5319 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5320 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5321 then :
   5322   printf %s "(cached) " >&6
   5323 else case e in #(
   5324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5325 /* end confdefs.h.  */
   5326 int i;
   5327 _ACEOF
   5328 if ac_fn_c_try_compile "$LINENO"
   5329 then :
   5330   xorg_cv_cc_flag_unused_command_line_argument=yes
   5331 else case e in #(
   5332   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5333 esac
   5334 fi
   5335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5336 esac
   5337 fi
   5338 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5339 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5341 	CFLAGS="$xorg_testset_save_CFLAGS"
   5342 fi
   5343 
   5344 found="no"
   5345 
   5346 	if test $found = "no" ; then
   5347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5349 		fi
   5350 
   5351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5353 		fi
   5354 
   5355 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5356 
   5357 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5358 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5359 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5360 		if eval test \${$cacheid+y}
   5361 then :
   5362   printf %s "(cached) " >&6
   5363 else case e in #(
   5364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5365 /* end confdefs.h.  */
   5366 int i;
   5367 int
   5368 main (void)
   5369 {
   5370 
   5371   ;
   5372   return 0;
   5373 }
   5374 _ACEOF
   5375 if ac_fn_c_try_link "$LINENO"
   5376 then :
   5377   eval $cacheid=yes
   5378 else case e in #(
   5379   e) eval $cacheid=no ;;
   5380 esac
   5381 fi
   5382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5383     conftest$ac_exeext conftest.$ac_ext ;;
   5384 esac
   5385 fi
   5386 
   5387 
   5388 		CFLAGS="$xorg_testset_save_CFLAGS"
   5389 
   5390 		eval supported=\$$cacheid
   5391 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5392 printf '%s\n' "$supported" >&6; }
   5393 		if test "$supported" = "yes" ; then
   5394 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5395 			found="yes"
   5396 		fi
   5397 	fi
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 xorg_testset_save_CFLAGS="$CFLAGS"
   5414 
   5415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5417 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5418 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5419 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5420 then :
   5421   printf %s "(cached) " >&6
   5422 else case e in #(
   5423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5424 /* end confdefs.h.  */
   5425 int i;
   5426 _ACEOF
   5427 if ac_fn_c_try_compile "$LINENO"
   5428 then :
   5429   xorg_cv_cc_flag_unknown_warning_option=yes
   5430 else case e in #(
   5431   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5432 esac
   5433 fi
   5434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5435 esac
   5436 fi
   5437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5438 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5440 	CFLAGS="$xorg_testset_save_CFLAGS"
   5441 fi
   5442 
   5443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5446 	fi
   5447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5448 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5449 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5450 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5451 then :
   5452   printf %s "(cached) " >&6
   5453 else case e in #(
   5454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5455 /* end confdefs.h.  */
   5456 int i;
   5457 _ACEOF
   5458 if ac_fn_c_try_compile "$LINENO"
   5459 then :
   5460   xorg_cv_cc_flag_unused_command_line_argument=yes
   5461 else case e in #(
   5462   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5463 esac
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5466 esac
   5467 fi
   5468 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5469 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5471 	CFLAGS="$xorg_testset_save_CFLAGS"
   5472 fi
   5473 
   5474 found="no"
   5475 
   5476 	if test $found = "no" ; then
   5477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 		fi
   5480 
   5481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5483 		fi
   5484 
   5485 		CFLAGS="$CFLAGS -Wnested-externs"
   5486 
   5487 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5488 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5489 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5490 		if eval test \${$cacheid+y}
   5491 then :
   5492   printf %s "(cached) " >&6
   5493 else case e in #(
   5494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 int
   5498 main (void)
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_c_try_link "$LINENO"
   5506 then :
   5507   eval $cacheid=yes
   5508 else case e in #(
   5509   e) eval $cacheid=no ;;
   5510 esac
   5511 fi
   5512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5513     conftest$ac_exeext conftest.$ac_ext ;;
   5514 esac
   5515 fi
   5516 
   5517 
   5518 		CFLAGS="$xorg_testset_save_CFLAGS"
   5519 
   5520 		eval supported=\$$cacheid
   5521 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5522 printf '%s\n' "$supported" >&6; }
   5523 		if test "$supported" = "yes" ; then
   5524 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5525 			found="yes"
   5526 		fi
   5527 	fi
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 xorg_testset_save_CFLAGS="$CFLAGS"
   5544 
   5545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5548 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5549 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5550 then :
   5551   printf %s "(cached) " >&6
   5552 else case e in #(
   5553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 _ACEOF
   5557 if ac_fn_c_try_compile "$LINENO"
   5558 then :
   5559   xorg_cv_cc_flag_unknown_warning_option=yes
   5560 else case e in #(
   5561   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5562 esac
   5563 fi
   5564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5565 esac
   5566 fi
   5567 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5568 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5570 	CFLAGS="$xorg_testset_save_CFLAGS"
   5571 fi
   5572 
   5573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 	fi
   5577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5578 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5581 then :
   5582   printf %s "(cached) " >&6
   5583 else case e in #(
   5584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 _ACEOF
   5588 if ac_fn_c_try_compile "$LINENO"
   5589 then :
   5590   xorg_cv_cc_flag_unused_command_line_argument=yes
   5591 else case e in #(
   5592   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5593 esac
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5596 esac
   5597 fi
   5598 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5599 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5601 	CFLAGS="$xorg_testset_save_CFLAGS"
   5602 fi
   5603 
   5604 found="no"
   5605 
   5606 	if test $found = "no" ; then
   5607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 		fi
   5610 
   5611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5613 		fi
   5614 
   5615 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5616 
   5617 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5618 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5619 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5620 		if eval test \${$cacheid+y}
   5621 then :
   5622   printf %s "(cached) " >&6
   5623 else case e in #(
   5624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5625 /* end confdefs.h.  */
   5626 int i;
   5627 int
   5628 main (void)
   5629 {
   5630 
   5631   ;
   5632   return 0;
   5633 }
   5634 _ACEOF
   5635 if ac_fn_c_try_link "$LINENO"
   5636 then :
   5637   eval $cacheid=yes
   5638 else case e in #(
   5639   e) eval $cacheid=no ;;
   5640 esac
   5641 fi
   5642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5643     conftest$ac_exeext conftest.$ac_ext ;;
   5644 esac
   5645 fi
   5646 
   5647 
   5648 		CFLAGS="$xorg_testset_save_CFLAGS"
   5649 
   5650 		eval supported=\$$cacheid
   5651 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5652 printf '%s\n' "$supported" >&6; }
   5653 		if test "$supported" = "yes" ; then
   5654 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5655 			found="yes"
   5656 		fi
   5657 	fi
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 xorg_testset_save_CFLAGS="$CFLAGS"
   5674 
   5675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5677 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5678 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5679 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5680 then :
   5681   printf %s "(cached) " >&6
   5682 else case e in #(
   5683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5684 /* end confdefs.h.  */
   5685 int i;
   5686 _ACEOF
   5687 if ac_fn_c_try_compile "$LINENO"
   5688 then :
   5689   xorg_cv_cc_flag_unknown_warning_option=yes
   5690 else case e in #(
   5691   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5692 esac
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5695 esac
   5696 fi
   5697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5698 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5700 	CFLAGS="$xorg_testset_save_CFLAGS"
   5701 fi
   5702 
   5703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 	fi
   5707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5708 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5709 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5710 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5711 then :
   5712   printf %s "(cached) " >&6
   5713 else case e in #(
   5714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5715 /* end confdefs.h.  */
   5716 int i;
   5717 _ACEOF
   5718 if ac_fn_c_try_compile "$LINENO"
   5719 then :
   5720   xorg_cv_cc_flag_unused_command_line_argument=yes
   5721 else case e in #(
   5722   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5723 esac
   5724 fi
   5725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5726 esac
   5727 fi
   5728 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5729 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5731 	CFLAGS="$xorg_testset_save_CFLAGS"
   5732 fi
   5733 
   5734 found="no"
   5735 
   5736 	if test $found = "no" ; then
   5737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5739 		fi
   5740 
   5741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5743 		fi
   5744 
   5745 		CFLAGS="$CFLAGS -Wold-style-definition"
   5746 
   5747 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5748 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5749 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5750 		if eval test \${$cacheid+y}
   5751 then :
   5752   printf %s "(cached) " >&6
   5753 else case e in #(
   5754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5755 /* end confdefs.h.  */
   5756 int i;
   5757 int
   5758 main (void)
   5759 {
   5760 
   5761   ;
   5762   return 0;
   5763 }
   5764 _ACEOF
   5765 if ac_fn_c_try_link "$LINENO"
   5766 then :
   5767   eval $cacheid=yes
   5768 else case e in #(
   5769   e) eval $cacheid=no ;;
   5770 esac
   5771 fi
   5772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5773     conftest$ac_exeext conftest.$ac_ext ;;
   5774 esac
   5775 fi
   5776 
   5777 
   5778 		CFLAGS="$xorg_testset_save_CFLAGS"
   5779 
   5780 		eval supported=\$$cacheid
   5781 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5782 printf '%s\n' "$supported" >&6; }
   5783 		if test "$supported" = "yes" ; then
   5784 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5785 			found="yes"
   5786 		fi
   5787 	fi
   5788 
   5789 	if test $found = "no" ; then
   5790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5792 		fi
   5793 
   5794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5796 		fi
   5797 
   5798 		CFLAGS="$CFLAGS -fd"
   5799 
   5800 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5801 printf %s "checking if $CC supports -fd... " >&6; }
   5802 		cacheid=xorg_cv_cc_flag__fd
   5803 		if eval test \${$cacheid+y}
   5804 then :
   5805   printf %s "(cached) " >&6
   5806 else case e in #(
   5807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5808 /* end confdefs.h.  */
   5809 int i;
   5810 int
   5811 main (void)
   5812 {
   5813 
   5814   ;
   5815   return 0;
   5816 }
   5817 _ACEOF
   5818 if ac_fn_c_try_link "$LINENO"
   5819 then :
   5820   eval $cacheid=yes
   5821 else case e in #(
   5822   e) eval $cacheid=no ;;
   5823 esac
   5824 fi
   5825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5826     conftest$ac_exeext conftest.$ac_ext ;;
   5827 esac
   5828 fi
   5829 
   5830 
   5831 		CFLAGS="$xorg_testset_save_CFLAGS"
   5832 
   5833 		eval supported=\$$cacheid
   5834 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5835 printf '%s\n' "$supported" >&6; }
   5836 		if test "$supported" = "yes" ; then
   5837 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5838 			found="yes"
   5839 		fi
   5840 	fi
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 # This chunk adds additional warnings that could catch undesired effects.
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 xorg_testset_save_CFLAGS="$CFLAGS"
   5861 
   5862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5864 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5867 then :
   5868   printf %s "(cached) " >&6
   5869 else case e in #(
   5870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5871 /* end confdefs.h.  */
   5872 int i;
   5873 _ACEOF
   5874 if ac_fn_c_try_compile "$LINENO"
   5875 then :
   5876   xorg_cv_cc_flag_unknown_warning_option=yes
   5877 else case e in #(
   5878   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5879 esac
   5880 fi
   5881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5882 esac
   5883 fi
   5884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5885 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5887 	CFLAGS="$xorg_testset_save_CFLAGS"
   5888 fi
   5889 
   5890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5893 	fi
   5894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5895 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5896 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5897 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5898 then :
   5899   printf %s "(cached) " >&6
   5900 else case e in #(
   5901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5902 /* end confdefs.h.  */
   5903 int i;
   5904 _ACEOF
   5905 if ac_fn_c_try_compile "$LINENO"
   5906 then :
   5907   xorg_cv_cc_flag_unused_command_line_argument=yes
   5908 else case e in #(
   5909   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5910 esac
   5911 fi
   5912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5913 esac
   5914 fi
   5915 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5916 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5918 	CFLAGS="$xorg_testset_save_CFLAGS"
   5919 fi
   5920 
   5921 found="no"
   5922 
   5923 	if test $found = "no" ; then
   5924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5926 		fi
   5927 
   5928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 		fi
   5931 
   5932 		CFLAGS="$CFLAGS -Wunused"
   5933 
   5934 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5935 printf %s "checking if $CC supports -Wunused... " >&6; }
   5936 		cacheid=xorg_cv_cc_flag__Wunused
   5937 		if eval test \${$cacheid+y}
   5938 then :
   5939   printf %s "(cached) " >&6
   5940 else case e in #(
   5941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5942 /* end confdefs.h.  */
   5943 int i;
   5944 int
   5945 main (void)
   5946 {
   5947 
   5948   ;
   5949   return 0;
   5950 }
   5951 _ACEOF
   5952 if ac_fn_c_try_link "$LINENO"
   5953 then :
   5954   eval $cacheid=yes
   5955 else case e in #(
   5956   e) eval $cacheid=no ;;
   5957 esac
   5958 fi
   5959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5960     conftest$ac_exeext conftest.$ac_ext ;;
   5961 esac
   5962 fi
   5963 
   5964 
   5965 		CFLAGS="$xorg_testset_save_CFLAGS"
   5966 
   5967 		eval supported=\$$cacheid
   5968 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5969 printf '%s\n' "$supported" >&6; }
   5970 		if test "$supported" = "yes" ; then
   5971 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5972 			found="yes"
   5973 		fi
   5974 	fi
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 xorg_testset_save_CFLAGS="$CFLAGS"
   5991 
   5992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5994 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5997 then :
   5998   printf %s "(cached) " >&6
   5999 else case e in #(
   6000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6001 /* end confdefs.h.  */
   6002 int i;
   6003 _ACEOF
   6004 if ac_fn_c_try_compile "$LINENO"
   6005 then :
   6006   xorg_cv_cc_flag_unknown_warning_option=yes
   6007 else case e in #(
   6008   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6009 esac
   6010 fi
   6011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6012 esac
   6013 fi
   6014 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6015 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6017 	CFLAGS="$xorg_testset_save_CFLAGS"
   6018 fi
   6019 
   6020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6023 	fi
   6024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6025 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6026 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6027 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6028 then :
   6029   printf %s "(cached) " >&6
   6030 else case e in #(
   6031   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6032 /* end confdefs.h.  */
   6033 int i;
   6034 _ACEOF
   6035 if ac_fn_c_try_compile "$LINENO"
   6036 then :
   6037   xorg_cv_cc_flag_unused_command_line_argument=yes
   6038 else case e in #(
   6039   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6040 esac
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6043 esac
   6044 fi
   6045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6046 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6048 	CFLAGS="$xorg_testset_save_CFLAGS"
   6049 fi
   6050 
   6051 found="no"
   6052 
   6053 	if test $found = "no" ; then
   6054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 		fi
   6057 
   6058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6060 		fi
   6061 
   6062 		CFLAGS="$CFLAGS -Wuninitialized"
   6063 
   6064 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6065 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6066 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6067 		if eval test \${$cacheid+y}
   6068 then :
   6069   printf %s "(cached) " >&6
   6070 else case e in #(
   6071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 int
   6075 main (void)
   6076 {
   6077 
   6078   ;
   6079   return 0;
   6080 }
   6081 _ACEOF
   6082 if ac_fn_c_try_link "$LINENO"
   6083 then :
   6084   eval $cacheid=yes
   6085 else case e in #(
   6086   e) eval $cacheid=no ;;
   6087 esac
   6088 fi
   6089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6090     conftest$ac_exeext conftest.$ac_ext ;;
   6091 esac
   6092 fi
   6093 
   6094 
   6095 		CFLAGS="$xorg_testset_save_CFLAGS"
   6096 
   6097 		eval supported=\$$cacheid
   6098 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6099 printf '%s\n' "$supported" >&6; }
   6100 		if test "$supported" = "yes" ; then
   6101 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6102 			found="yes"
   6103 		fi
   6104 	fi
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 xorg_testset_save_CFLAGS="$CFLAGS"
   6121 
   6122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6125 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6126 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6127 then :
   6128   printf %s "(cached) " >&6
   6129 else case e in #(
   6130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6131 /* end confdefs.h.  */
   6132 int i;
   6133 _ACEOF
   6134 if ac_fn_c_try_compile "$LINENO"
   6135 then :
   6136   xorg_cv_cc_flag_unknown_warning_option=yes
   6137 else case e in #(
   6138   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6139 esac
   6140 fi
   6141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6142 esac
   6143 fi
   6144 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6145 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6147 	CFLAGS="$xorg_testset_save_CFLAGS"
   6148 fi
   6149 
   6150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6153 	fi
   6154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6156 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6157 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6158 then :
   6159   printf %s "(cached) " >&6
   6160 else case e in #(
   6161   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6162 /* end confdefs.h.  */
   6163 int i;
   6164 _ACEOF
   6165 if ac_fn_c_try_compile "$LINENO"
   6166 then :
   6167   xorg_cv_cc_flag_unused_command_line_argument=yes
   6168 else case e in #(
   6169   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6170 esac
   6171 fi
   6172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6173 esac
   6174 fi
   6175 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6176 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6178 	CFLAGS="$xorg_testset_save_CFLAGS"
   6179 fi
   6180 
   6181 found="no"
   6182 
   6183 	if test $found = "no" ; then
   6184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 		fi
   6187 
   6188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6190 		fi
   6191 
   6192 		CFLAGS="$CFLAGS -Wshadow"
   6193 
   6194 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6195 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6196 		cacheid=xorg_cv_cc_flag__Wshadow
   6197 		if eval test \${$cacheid+y}
   6198 then :
   6199   printf %s "(cached) " >&6
   6200 else case e in #(
   6201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 int
   6205 main (void)
   6206 {
   6207 
   6208   ;
   6209   return 0;
   6210 }
   6211 _ACEOF
   6212 if ac_fn_c_try_link "$LINENO"
   6213 then :
   6214   eval $cacheid=yes
   6215 else case e in #(
   6216   e) eval $cacheid=no ;;
   6217 esac
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6220     conftest$ac_exeext conftest.$ac_ext ;;
   6221 esac
   6222 fi
   6223 
   6224 
   6225 		CFLAGS="$xorg_testset_save_CFLAGS"
   6226 
   6227 		eval supported=\$$cacheid
   6228 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6229 printf '%s\n' "$supported" >&6; }
   6230 		if test "$supported" = "yes" ; then
   6231 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6232 			found="yes"
   6233 		fi
   6234 	fi
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 xorg_testset_save_CFLAGS="$CFLAGS"
   6251 
   6252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6254 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6255 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6256 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6257 then :
   6258   printf %s "(cached) " >&6
   6259 else case e in #(
   6260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6261 /* end confdefs.h.  */
   6262 int i;
   6263 _ACEOF
   6264 if ac_fn_c_try_compile "$LINENO"
   6265 then :
   6266   xorg_cv_cc_flag_unknown_warning_option=yes
   6267 else case e in #(
   6268   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6269 esac
   6270 fi
   6271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6272 esac
   6273 fi
   6274 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6275 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6277 	CFLAGS="$xorg_testset_save_CFLAGS"
   6278 fi
   6279 
   6280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6283 	fi
   6284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6285 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6286 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6287 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6288 then :
   6289   printf %s "(cached) " >&6
   6290 else case e in #(
   6291   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 int i;
   6294 _ACEOF
   6295 if ac_fn_c_try_compile "$LINENO"
   6296 then :
   6297   xorg_cv_cc_flag_unused_command_line_argument=yes
   6298 else case e in #(
   6299   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6300 esac
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6303 esac
   6304 fi
   6305 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6306 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6308 	CFLAGS="$xorg_testset_save_CFLAGS"
   6309 fi
   6310 
   6311 found="no"
   6312 
   6313 	if test $found = "no" ; then
   6314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6316 		fi
   6317 
   6318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6320 		fi
   6321 
   6322 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6323 
   6324 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6325 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6326 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6327 		if eval test \${$cacheid+y}
   6328 then :
   6329   printf %s "(cached) " >&6
   6330 else case e in #(
   6331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6332 /* end confdefs.h.  */
   6333 int i;
   6334 int
   6335 main (void)
   6336 {
   6337 
   6338   ;
   6339   return 0;
   6340 }
   6341 _ACEOF
   6342 if ac_fn_c_try_link "$LINENO"
   6343 then :
   6344   eval $cacheid=yes
   6345 else case e in #(
   6346   e) eval $cacheid=no ;;
   6347 esac
   6348 fi
   6349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6350     conftest$ac_exeext conftest.$ac_ext ;;
   6351 esac
   6352 fi
   6353 
   6354 
   6355 		CFLAGS="$xorg_testset_save_CFLAGS"
   6356 
   6357 		eval supported=\$$cacheid
   6358 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6359 printf '%s\n' "$supported" >&6; }
   6360 		if test "$supported" = "yes" ; then
   6361 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6362 			found="yes"
   6363 		fi
   6364 	fi
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 xorg_testset_save_CFLAGS="$CFLAGS"
   6381 
   6382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6384 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6385 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6386 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6387 then :
   6388   printf %s "(cached) " >&6
   6389 else case e in #(
   6390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6391 /* end confdefs.h.  */
   6392 int i;
   6393 _ACEOF
   6394 if ac_fn_c_try_compile "$LINENO"
   6395 then :
   6396   xorg_cv_cc_flag_unknown_warning_option=yes
   6397 else case e in #(
   6398   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6399 esac
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6402 esac
   6403 fi
   6404 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6405 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6407 	CFLAGS="$xorg_testset_save_CFLAGS"
   6408 fi
   6409 
   6410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 	fi
   6414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6415 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6418 then :
   6419   printf %s "(cached) " >&6
   6420 else case e in #(
   6421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 int i;
   6424 _ACEOF
   6425 if ac_fn_c_try_compile "$LINENO"
   6426 then :
   6427   xorg_cv_cc_flag_unused_command_line_argument=yes
   6428 else case e in #(
   6429   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6430 esac
   6431 fi
   6432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6433 esac
   6434 fi
   6435 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6436 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6438 	CFLAGS="$xorg_testset_save_CFLAGS"
   6439 fi
   6440 
   6441 found="no"
   6442 
   6443 	if test $found = "no" ; then
   6444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 		fi
   6447 
   6448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 		fi
   6451 
   6452 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6453 
   6454 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6455 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6456 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6457 		if eval test \${$cacheid+y}
   6458 then :
   6459   printf %s "(cached) " >&6
   6460 else case e in #(
   6461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 int
   6465 main (void)
   6466 {
   6467 
   6468   ;
   6469   return 0;
   6470 }
   6471 _ACEOF
   6472 if ac_fn_c_try_link "$LINENO"
   6473 then :
   6474   eval $cacheid=yes
   6475 else case e in #(
   6476   e) eval $cacheid=no ;;
   6477 esac
   6478 fi
   6479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6480     conftest$ac_exeext conftest.$ac_ext ;;
   6481 esac
   6482 fi
   6483 
   6484 
   6485 		CFLAGS="$xorg_testset_save_CFLAGS"
   6486 
   6487 		eval supported=\$$cacheid
   6488 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6489 printf '%s\n' "$supported" >&6; }
   6490 		if test "$supported" = "yes" ; then
   6491 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6492 			found="yes"
   6493 		fi
   6494 	fi
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 xorg_testset_save_CFLAGS="$CFLAGS"
   6511 
   6512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6514 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6515 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6516 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6517 then :
   6518   printf %s "(cached) " >&6
   6519 else case e in #(
   6520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6521 /* end confdefs.h.  */
   6522 int i;
   6523 _ACEOF
   6524 if ac_fn_c_try_compile "$LINENO"
   6525 then :
   6526   xorg_cv_cc_flag_unknown_warning_option=yes
   6527 else case e in #(
   6528   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6529 esac
   6530 fi
   6531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6532 esac
   6533 fi
   6534 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6535 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6537 	CFLAGS="$xorg_testset_save_CFLAGS"
   6538 fi
   6539 
   6540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6543 	fi
   6544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6545 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6546 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6547 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6548 then :
   6549   printf %s "(cached) " >&6
   6550 else case e in #(
   6551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6552 /* end confdefs.h.  */
   6553 int i;
   6554 _ACEOF
   6555 if ac_fn_c_try_compile "$LINENO"
   6556 then :
   6557   xorg_cv_cc_flag_unused_command_line_argument=yes
   6558 else case e in #(
   6559   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6560 esac
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6563 esac
   6564 fi
   6565 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6566 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6568 	CFLAGS="$xorg_testset_save_CFLAGS"
   6569 fi
   6570 
   6571 found="no"
   6572 
   6573 	if test $found = "no" ; then
   6574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 		fi
   6577 
   6578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 		fi
   6581 
   6582 		CFLAGS="$CFLAGS -Wredundant-decls"
   6583 
   6584 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6585 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6586 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6587 		if eval test \${$cacheid+y}
   6588 then :
   6589   printf %s "(cached) " >&6
   6590 else case e in #(
   6591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 int
   6595 main (void)
   6596 {
   6597 
   6598   ;
   6599   return 0;
   6600 }
   6601 _ACEOF
   6602 if ac_fn_c_try_link "$LINENO"
   6603 then :
   6604   eval $cacheid=yes
   6605 else case e in #(
   6606   e) eval $cacheid=no ;;
   6607 esac
   6608 fi
   6609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6610     conftest$ac_exeext conftest.$ac_ext ;;
   6611 esac
   6612 fi
   6613 
   6614 
   6615 		CFLAGS="$xorg_testset_save_CFLAGS"
   6616 
   6617 		eval supported=\$$cacheid
   6618 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6619 printf '%s\n' "$supported" >&6; }
   6620 		if test "$supported" = "yes" ; then
   6621 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6622 			found="yes"
   6623 		fi
   6624 	fi
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 xorg_testset_save_CFLAGS="$CFLAGS"
   6641 
   6642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6644 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6645 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6646 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6647 then :
   6648   printf %s "(cached) " >&6
   6649 else case e in #(
   6650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6651 /* end confdefs.h.  */
   6652 int i;
   6653 _ACEOF
   6654 if ac_fn_c_try_compile "$LINENO"
   6655 then :
   6656   xorg_cv_cc_flag_unknown_warning_option=yes
   6657 else case e in #(
   6658   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6659 esac
   6660 fi
   6661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6662 esac
   6663 fi
   6664 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6665 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6667 	CFLAGS="$xorg_testset_save_CFLAGS"
   6668 fi
   6669 
   6670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6673 	fi
   6674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6675 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6678 then :
   6679   printf %s "(cached) " >&6
   6680 else case e in #(
   6681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 int i;
   6684 _ACEOF
   6685 if ac_fn_c_try_compile "$LINENO"
   6686 then :
   6687   xorg_cv_cc_flag_unused_command_line_argument=yes
   6688 else case e in #(
   6689   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6690 esac
   6691 fi
   6692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6693 esac
   6694 fi
   6695 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6696 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6698 	CFLAGS="$xorg_testset_save_CFLAGS"
   6699 fi
   6700 
   6701 found="no"
   6702 
   6703 	if test $found = "no" ; then
   6704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 		fi
   6707 
   6708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6710 		fi
   6711 
   6712 		CFLAGS="$CFLAGS -Wlogical-op"
   6713 
   6714 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6715 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6716 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6717 		if eval test \${$cacheid+y}
   6718 then :
   6719   printf %s "(cached) " >&6
   6720 else case e in #(
   6721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6722 /* end confdefs.h.  */
   6723 int i;
   6724 int
   6725 main (void)
   6726 {
   6727 
   6728   ;
   6729   return 0;
   6730 }
   6731 _ACEOF
   6732 if ac_fn_c_try_link "$LINENO"
   6733 then :
   6734   eval $cacheid=yes
   6735 else case e in #(
   6736   e) eval $cacheid=no ;;
   6737 esac
   6738 fi
   6739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6740     conftest$ac_exeext conftest.$ac_ext ;;
   6741 esac
   6742 fi
   6743 
   6744 
   6745 		CFLAGS="$xorg_testset_save_CFLAGS"
   6746 
   6747 		eval supported=\$$cacheid
   6748 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6749 printf '%s\n' "$supported" >&6; }
   6750 		if test "$supported" = "yes" ; then
   6751 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6752 			found="yes"
   6753 		fi
   6754 	fi
   6755 
   6756 
   6757 
   6758 # These are currently disabled because they are noisy.  They will be enabled
   6759 # in the future once the codebase is sufficiently modernized to silence
   6760 # them.  For now, I don't want them to drown out the other warnings.
   6761 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6762 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6763 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6764 
   6765 # Turn some warnings into errors, so we don't accidentally get successful builds
   6766 # when there are problems that should be fixed.
   6767 
   6768 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 xorg_testset_save_CFLAGS="$CFLAGS"
   6783 
   6784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6786 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6787 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6788 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6789 then :
   6790   printf %s "(cached) " >&6
   6791 else case e in #(
   6792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 _ACEOF
   6796 if ac_fn_c_try_compile "$LINENO"
   6797 then :
   6798   xorg_cv_cc_flag_unknown_warning_option=yes
   6799 else case e in #(
   6800   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6801 esac
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6804 esac
   6805 fi
   6806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6807 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6809 	CFLAGS="$xorg_testset_save_CFLAGS"
   6810 fi
   6811 
   6812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	fi
   6816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6817 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6818 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6819 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6820 then :
   6821   printf %s "(cached) " >&6
   6822 else case e in #(
   6823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 _ACEOF
   6827 if ac_fn_c_try_compile "$LINENO"
   6828 then :
   6829   xorg_cv_cc_flag_unused_command_line_argument=yes
   6830 else case e in #(
   6831   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6832 esac
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6835 esac
   6836 fi
   6837 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6838 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6840 	CFLAGS="$xorg_testset_save_CFLAGS"
   6841 fi
   6842 
   6843 found="no"
   6844 
   6845 	if test $found = "no" ; then
   6846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6848 		fi
   6849 
   6850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6852 		fi
   6853 
   6854 		CFLAGS="$CFLAGS -Werror=implicit"
   6855 
   6856 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6857 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   6858 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6859 		if eval test \${$cacheid+y}
   6860 then :
   6861   printf %s "(cached) " >&6
   6862 else case e in #(
   6863   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main (void)
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"
   6875 then :
   6876   eval $cacheid=yes
   6877 else case e in #(
   6878   e) eval $cacheid=no ;;
   6879 esac
   6880 fi
   6881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6882     conftest$ac_exeext conftest.$ac_ext ;;
   6883 esac
   6884 fi
   6885 
   6886 
   6887 		CFLAGS="$xorg_testset_save_CFLAGS"
   6888 
   6889 		eval supported=\$$cacheid
   6890 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6891 printf '%s\n' "$supported" >&6; }
   6892 		if test "$supported" = "yes" ; then
   6893 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6894 			found="yes"
   6895 		fi
   6896 	fi
   6897 
   6898 	if test $found = "no" ; then
   6899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6901 		fi
   6902 
   6903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6905 		fi
   6906 
   6907 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6908 
   6909 		{ 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
   6910 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6911 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6912 		if eval test \${$cacheid+y}
   6913 then :
   6914   printf %s "(cached) " >&6
   6915 else case e in #(
   6916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6917 /* end confdefs.h.  */
   6918 int i;
   6919 int
   6920 main (void)
   6921 {
   6922 
   6923   ;
   6924   return 0;
   6925 }
   6926 _ACEOF
   6927 if ac_fn_c_try_link "$LINENO"
   6928 then :
   6929   eval $cacheid=yes
   6930 else case e in #(
   6931   e) eval $cacheid=no ;;
   6932 esac
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6935     conftest$ac_exeext conftest.$ac_ext ;;
   6936 esac
   6937 fi
   6938 
   6939 
   6940 		CFLAGS="$xorg_testset_save_CFLAGS"
   6941 
   6942 		eval supported=\$$cacheid
   6943 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6944 printf '%s\n' "$supported" >&6; }
   6945 		if test "$supported" = "yes" ; then
   6946 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6947 			found="yes"
   6948 		fi
   6949 	fi
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 xorg_testset_save_CFLAGS="$CFLAGS"
   6966 
   6967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6972 then :
   6973   printf %s "(cached) " >&6
   6974 else case e in #(
   6975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 _ACEOF
   6979 if ac_fn_c_try_compile "$LINENO"
   6980 then :
   6981   xorg_cv_cc_flag_unknown_warning_option=yes
   6982 else case e in #(
   6983   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6984 esac
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6987 esac
   6988 fi
   6989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6990 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6991 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6992 	CFLAGS="$xorg_testset_save_CFLAGS"
   6993 fi
   6994 
   6995 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6996 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6998 	fi
   6999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7000 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7001 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7002 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7003 then :
   7004   printf %s "(cached) " >&6
   7005 else case e in #(
   7006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007 /* end confdefs.h.  */
   7008 int i;
   7009 _ACEOF
   7010 if ac_fn_c_try_compile "$LINENO"
   7011 then :
   7012   xorg_cv_cc_flag_unused_command_line_argument=yes
   7013 else case e in #(
   7014   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7015 esac
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7018 esac
   7019 fi
   7020 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7021 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7023 	CFLAGS="$xorg_testset_save_CFLAGS"
   7024 fi
   7025 
   7026 found="no"
   7027 
   7028 	if test $found = "no" ; then
   7029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7031 		fi
   7032 
   7033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7035 		fi
   7036 
   7037 		CFLAGS="$CFLAGS -Werror=nonnull"
   7038 
   7039 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7040 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7041 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7042 		if eval test \${$cacheid+y}
   7043 then :
   7044   printf %s "(cached) " >&6
   7045 else case e in #(
   7046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7047 /* end confdefs.h.  */
   7048 int i;
   7049 int
   7050 main (void)
   7051 {
   7052 
   7053   ;
   7054   return 0;
   7055 }
   7056 _ACEOF
   7057 if ac_fn_c_try_link "$LINENO"
   7058 then :
   7059   eval $cacheid=yes
   7060 else case e in #(
   7061   e) eval $cacheid=no ;;
   7062 esac
   7063 fi
   7064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7065     conftest$ac_exeext conftest.$ac_ext ;;
   7066 esac
   7067 fi
   7068 
   7069 
   7070 		CFLAGS="$xorg_testset_save_CFLAGS"
   7071 
   7072 		eval supported=\$$cacheid
   7073 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7074 printf '%s\n' "$supported" >&6; }
   7075 		if test "$supported" = "yes" ; then
   7076 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7077 			found="yes"
   7078 		fi
   7079 	fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 xorg_testset_save_CFLAGS="$CFLAGS"
   7096 
   7097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7099 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7102 then :
   7103   printf %s "(cached) " >&6
   7104 else case e in #(
   7105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"
   7110 then :
   7111   xorg_cv_cc_flag_unknown_warning_option=yes
   7112 else case e in #(
   7113   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7114 esac
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7117 esac
   7118 fi
   7119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7120 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7122 	CFLAGS="$xorg_testset_save_CFLAGS"
   7123 fi
   7124 
   7125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	fi
   7129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7130 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7133 then :
   7134   printf %s "(cached) " >&6
   7135 else case e in #(
   7136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7137 /* end confdefs.h.  */
   7138 int i;
   7139 _ACEOF
   7140 if ac_fn_c_try_compile "$LINENO"
   7141 then :
   7142   xorg_cv_cc_flag_unused_command_line_argument=yes
   7143 else case e in #(
   7144   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7145 esac
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7148 esac
   7149 fi
   7150 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7151 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7153 	CFLAGS="$xorg_testset_save_CFLAGS"
   7154 fi
   7155 
   7156 found="no"
   7157 
   7158 	if test $found = "no" ; then
   7159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7161 		fi
   7162 
   7163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7165 		fi
   7166 
   7167 		CFLAGS="$CFLAGS -Werror=init-self"
   7168 
   7169 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7170 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7171 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7172 		if eval test \${$cacheid+y}
   7173 then :
   7174   printf %s "(cached) " >&6
   7175 else case e in #(
   7176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 int i;
   7179 int
   7180 main (void)
   7181 {
   7182 
   7183   ;
   7184   return 0;
   7185 }
   7186 _ACEOF
   7187 if ac_fn_c_try_link "$LINENO"
   7188 then :
   7189   eval $cacheid=yes
   7190 else case e in #(
   7191   e) eval $cacheid=no ;;
   7192 esac
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7195     conftest$ac_exeext conftest.$ac_ext ;;
   7196 esac
   7197 fi
   7198 
   7199 
   7200 		CFLAGS="$xorg_testset_save_CFLAGS"
   7201 
   7202 		eval supported=\$$cacheid
   7203 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7204 printf '%s\n' "$supported" >&6; }
   7205 		if test "$supported" = "yes" ; then
   7206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7207 			found="yes"
   7208 		fi
   7209 	fi
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 xorg_testset_save_CFLAGS="$CFLAGS"
   7226 
   7227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7229 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7230 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7231 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7232 then :
   7233   printf %s "(cached) " >&6
   7234 else case e in #(
   7235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 int i;
   7238 _ACEOF
   7239 if ac_fn_c_try_compile "$LINENO"
   7240 then :
   7241   xorg_cv_cc_flag_unknown_warning_option=yes
   7242 else case e in #(
   7243   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7244 esac
   7245 fi
   7246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7247 esac
   7248 fi
   7249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7250 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7252 	CFLAGS="$xorg_testset_save_CFLAGS"
   7253 fi
   7254 
   7255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7258 	fi
   7259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7260 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7261 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7262 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7263 then :
   7264   printf %s "(cached) " >&6
   7265 else case e in #(
   7266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7267 /* end confdefs.h.  */
   7268 int i;
   7269 _ACEOF
   7270 if ac_fn_c_try_compile "$LINENO"
   7271 then :
   7272   xorg_cv_cc_flag_unused_command_line_argument=yes
   7273 else case e in #(
   7274   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7275 esac
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7278 esac
   7279 fi
   7280 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7281 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7283 	CFLAGS="$xorg_testset_save_CFLAGS"
   7284 fi
   7285 
   7286 found="no"
   7287 
   7288 	if test $found = "no" ; then
   7289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7291 		fi
   7292 
   7293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7295 		fi
   7296 
   7297 		CFLAGS="$CFLAGS -Werror=main"
   7298 
   7299 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7300 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7301 		cacheid=xorg_cv_cc_flag__Werror_main
   7302 		if eval test \${$cacheid+y}
   7303 then :
   7304   printf %s "(cached) " >&6
   7305 else case e in #(
   7306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 int i;
   7309 int
   7310 main (void)
   7311 {
   7312 
   7313   ;
   7314   return 0;
   7315 }
   7316 _ACEOF
   7317 if ac_fn_c_try_link "$LINENO"
   7318 then :
   7319   eval $cacheid=yes
   7320 else case e in #(
   7321   e) eval $cacheid=no ;;
   7322 esac
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7325     conftest$ac_exeext conftest.$ac_ext ;;
   7326 esac
   7327 fi
   7328 
   7329 
   7330 		CFLAGS="$xorg_testset_save_CFLAGS"
   7331 
   7332 		eval supported=\$$cacheid
   7333 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7334 printf '%s\n' "$supported" >&6; }
   7335 		if test "$supported" = "yes" ; then
   7336 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7337 			found="yes"
   7338 		fi
   7339 	fi
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 xorg_testset_save_CFLAGS="$CFLAGS"
   7356 
   7357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7359 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7362 then :
   7363   printf %s "(cached) " >&6
   7364 else case e in #(
   7365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"
   7370 then :
   7371   xorg_cv_cc_flag_unknown_warning_option=yes
   7372 else case e in #(
   7373   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7374 esac
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7377 esac
   7378 fi
   7379 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7380 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7382 	CFLAGS="$xorg_testset_save_CFLAGS"
   7383 fi
   7384 
   7385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7388 	fi
   7389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7390 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7393 then :
   7394   printf %s "(cached) " >&6
   7395 else case e in #(
   7396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 _ACEOF
   7400 if ac_fn_c_try_compile "$LINENO"
   7401 then :
   7402   xorg_cv_cc_flag_unused_command_line_argument=yes
   7403 else case e in #(
   7404   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7405 esac
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7408 esac
   7409 fi
   7410 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7411 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7413 	CFLAGS="$xorg_testset_save_CFLAGS"
   7414 fi
   7415 
   7416 found="no"
   7417 
   7418 	if test $found = "no" ; then
   7419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7421 		fi
   7422 
   7423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7425 		fi
   7426 
   7427 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7428 
   7429 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7430 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7431 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7432 		if eval test \${$cacheid+y}
   7433 then :
   7434   printf %s "(cached) " >&6
   7435 else case e in #(
   7436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 int i;
   7439 int
   7440 main (void)
   7441 {
   7442 
   7443   ;
   7444   return 0;
   7445 }
   7446 _ACEOF
   7447 if ac_fn_c_try_link "$LINENO"
   7448 then :
   7449   eval $cacheid=yes
   7450 else case e in #(
   7451   e) eval $cacheid=no ;;
   7452 esac
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7455     conftest$ac_exeext conftest.$ac_ext ;;
   7456 esac
   7457 fi
   7458 
   7459 
   7460 		CFLAGS="$xorg_testset_save_CFLAGS"
   7461 
   7462 		eval supported=\$$cacheid
   7463 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7464 printf '%s\n' "$supported" >&6; }
   7465 		if test "$supported" = "yes" ; then
   7466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7467 			found="yes"
   7468 		fi
   7469 	fi
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 xorg_testset_save_CFLAGS="$CFLAGS"
   7486 
   7487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7489 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7490 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7491 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7492 then :
   7493   printf %s "(cached) " >&6
   7494 else case e in #(
   7495   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 _ACEOF
   7499 if ac_fn_c_try_compile "$LINENO"
   7500 then :
   7501   xorg_cv_cc_flag_unknown_warning_option=yes
   7502 else case e in #(
   7503   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7504 esac
   7505 fi
   7506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7507 esac
   7508 fi
   7509 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7510 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7512 	CFLAGS="$xorg_testset_save_CFLAGS"
   7513 fi
   7514 
   7515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7518 	fi
   7519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7520 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7521 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7522 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7523 then :
   7524   printf %s "(cached) " >&6
   7525 else case e in #(
   7526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7527 /* end confdefs.h.  */
   7528 int i;
   7529 _ACEOF
   7530 if ac_fn_c_try_compile "$LINENO"
   7531 then :
   7532   xorg_cv_cc_flag_unused_command_line_argument=yes
   7533 else case e in #(
   7534   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7535 esac
   7536 fi
   7537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7538 esac
   7539 fi
   7540 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7541 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7543 	CFLAGS="$xorg_testset_save_CFLAGS"
   7544 fi
   7545 
   7546 found="no"
   7547 
   7548 	if test $found = "no" ; then
   7549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7551 		fi
   7552 
   7553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7555 		fi
   7556 
   7557 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7558 
   7559 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7560 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7561 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7562 		if eval test \${$cacheid+y}
   7563 then :
   7564   printf %s "(cached) " >&6
   7565 else case e in #(
   7566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 int i;
   7569 int
   7570 main (void)
   7571 {
   7572 
   7573   ;
   7574   return 0;
   7575 }
   7576 _ACEOF
   7577 if ac_fn_c_try_link "$LINENO"
   7578 then :
   7579   eval $cacheid=yes
   7580 else case e in #(
   7581   e) eval $cacheid=no ;;
   7582 esac
   7583 fi
   7584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7585     conftest$ac_exeext conftest.$ac_ext ;;
   7586 esac
   7587 fi
   7588 
   7589 
   7590 		CFLAGS="$xorg_testset_save_CFLAGS"
   7591 
   7592 		eval supported=\$$cacheid
   7593 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7594 printf '%s\n' "$supported" >&6; }
   7595 		if test "$supported" = "yes" ; then
   7596 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7597 			found="yes"
   7598 		fi
   7599 	fi
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 xorg_testset_save_CFLAGS="$CFLAGS"
   7616 
   7617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7619 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7620 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7621 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7622 then :
   7623   printf %s "(cached) " >&6
   7624 else case e in #(
   7625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7626 /* end confdefs.h.  */
   7627 int i;
   7628 _ACEOF
   7629 if ac_fn_c_try_compile "$LINENO"
   7630 then :
   7631   xorg_cv_cc_flag_unknown_warning_option=yes
   7632 else case e in #(
   7633   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7634 esac
   7635 fi
   7636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7637 esac
   7638 fi
   7639 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7640 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7642 	CFLAGS="$xorg_testset_save_CFLAGS"
   7643 fi
   7644 
   7645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7648 	fi
   7649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7650 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7651 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7652 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7653 then :
   7654   printf %s "(cached) " >&6
   7655 else case e in #(
   7656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 int i;
   7659 _ACEOF
   7660 if ac_fn_c_try_compile "$LINENO"
   7661 then :
   7662   xorg_cv_cc_flag_unused_command_line_argument=yes
   7663 else case e in #(
   7664   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7665 esac
   7666 fi
   7667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7668 esac
   7669 fi
   7670 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7671 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7673 	CFLAGS="$xorg_testset_save_CFLAGS"
   7674 fi
   7675 
   7676 found="no"
   7677 
   7678 	if test $found = "no" ; then
   7679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7681 		fi
   7682 
   7683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7685 		fi
   7686 
   7687 		CFLAGS="$CFLAGS -Werror=return-type"
   7688 
   7689 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7690 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7691 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7692 		if eval test \${$cacheid+y}
   7693 then :
   7694   printf %s "(cached) " >&6
   7695 else case e in #(
   7696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7697 /* end confdefs.h.  */
   7698 int i;
   7699 int
   7700 main (void)
   7701 {
   7702 
   7703   ;
   7704   return 0;
   7705 }
   7706 _ACEOF
   7707 if ac_fn_c_try_link "$LINENO"
   7708 then :
   7709   eval $cacheid=yes
   7710 else case e in #(
   7711   e) eval $cacheid=no ;;
   7712 esac
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7715     conftest$ac_exeext conftest.$ac_ext ;;
   7716 esac
   7717 fi
   7718 
   7719 
   7720 		CFLAGS="$xorg_testset_save_CFLAGS"
   7721 
   7722 		eval supported=\$$cacheid
   7723 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7724 printf '%s\n' "$supported" >&6; }
   7725 		if test "$supported" = "yes" ; then
   7726 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7727 			found="yes"
   7728 		fi
   7729 	fi
   7730 
   7731 	if test $found = "no" ; then
   7732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7734 		fi
   7735 
   7736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7738 		fi
   7739 
   7740 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7741 
   7742 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7743 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7744 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7745 		if eval test \${$cacheid+y}
   7746 then :
   7747   printf %s "(cached) " >&6
   7748 else case e in #(
   7749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7750 /* end confdefs.h.  */
   7751 int i;
   7752 int
   7753 main (void)
   7754 {
   7755 
   7756   ;
   7757   return 0;
   7758 }
   7759 _ACEOF
   7760 if ac_fn_c_try_link "$LINENO"
   7761 then :
   7762   eval $cacheid=yes
   7763 else case e in #(
   7764   e) eval $cacheid=no ;;
   7765 esac
   7766 fi
   7767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7768     conftest$ac_exeext conftest.$ac_ext ;;
   7769 esac
   7770 fi
   7771 
   7772 
   7773 		CFLAGS="$xorg_testset_save_CFLAGS"
   7774 
   7775 		eval supported=\$$cacheid
   7776 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7777 printf '%s\n' "$supported" >&6; }
   7778 		if test "$supported" = "yes" ; then
   7779 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7780 			found="yes"
   7781 		fi
   7782 	fi
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 xorg_testset_save_CFLAGS="$CFLAGS"
   7799 
   7800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7802 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7803 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7804 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7805 then :
   7806   printf %s "(cached) " >&6
   7807 else case e in #(
   7808   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"
   7813 then :
   7814   xorg_cv_cc_flag_unknown_warning_option=yes
   7815 else case e in #(
   7816   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7817 esac
   7818 fi
   7819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7820 esac
   7821 fi
   7822 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7823 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 	fi
   7832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7833 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7834 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7835 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7836 then :
   7837   printf %s "(cached) " >&6
   7838 else case e in #(
   7839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7840 /* end confdefs.h.  */
   7841 int i;
   7842 _ACEOF
   7843 if ac_fn_c_try_compile "$LINENO"
   7844 then :
   7845   xorg_cv_cc_flag_unused_command_line_argument=yes
   7846 else case e in #(
   7847   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7848 esac
   7849 fi
   7850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7851 esac
   7852 fi
   7853 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7854 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7856 	CFLAGS="$xorg_testset_save_CFLAGS"
   7857 fi
   7858 
   7859 found="no"
   7860 
   7861 	if test $found = "no" ; then
   7862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7864 		fi
   7865 
   7866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7868 		fi
   7869 
   7870 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7871 
   7872 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7873 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   7874 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7875 		if eval test \${$cacheid+y}
   7876 then :
   7877   printf %s "(cached) " >&6
   7878 else case e in #(
   7879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7880 /* end confdefs.h.  */
   7881 int i;
   7882 int
   7883 main (void)
   7884 {
   7885 
   7886   ;
   7887   return 0;
   7888 }
   7889 _ACEOF
   7890 if ac_fn_c_try_link "$LINENO"
   7891 then :
   7892   eval $cacheid=yes
   7893 else case e in #(
   7894   e) eval $cacheid=no ;;
   7895 esac
   7896 fi
   7897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7898     conftest$ac_exeext conftest.$ac_ext ;;
   7899 esac
   7900 fi
   7901 
   7902 
   7903 		CFLAGS="$xorg_testset_save_CFLAGS"
   7904 
   7905 		eval supported=\$$cacheid
   7906 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7907 printf '%s\n' "$supported" >&6; }
   7908 		if test "$supported" = "yes" ; then
   7909 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7910 			found="yes"
   7911 		fi
   7912 	fi
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 xorg_testset_save_CFLAGS="$CFLAGS"
   7929 
   7930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7932 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7933 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7934 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else case e in #(
   7938   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7939 /* end confdefs.h.  */
   7940 int i;
   7941 _ACEOF
   7942 if ac_fn_c_try_compile "$LINENO"
   7943 then :
   7944   xorg_cv_cc_flag_unknown_warning_option=yes
   7945 else case e in #(
   7946   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7947 esac
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7950 esac
   7951 fi
   7952 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7953 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 	fi
   7962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7963 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7964 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7965 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7966 then :
   7967   printf %s "(cached) " >&6
   7968 else case e in #(
   7969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7970 /* end confdefs.h.  */
   7971 int i;
   7972 _ACEOF
   7973 if ac_fn_c_try_compile "$LINENO"
   7974 then :
   7975   xorg_cv_cc_flag_unused_command_line_argument=yes
   7976 else case e in #(
   7977   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7978 esac
   7979 fi
   7980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7981 esac
   7982 fi
   7983 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7984 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 found="no"
   7990 
   7991 	if test $found = "no" ; then
   7992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7994 		fi
   7995 
   7996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 		fi
   7999 
   8000 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8001 
   8002 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8003 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8004 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8005 		if eval test \${$cacheid+y}
   8006 then :
   8007   printf %s "(cached) " >&6
   8008 else case e in #(
   8009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8010 /* end confdefs.h.  */
   8011 int i;
   8012 int
   8013 main (void)
   8014 {
   8015 
   8016   ;
   8017   return 0;
   8018 }
   8019 _ACEOF
   8020 if ac_fn_c_try_link "$LINENO"
   8021 then :
   8022   eval $cacheid=yes
   8023 else case e in #(
   8024   e) eval $cacheid=no ;;
   8025 esac
   8026 fi
   8027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8028     conftest$ac_exeext conftest.$ac_ext ;;
   8029 esac
   8030 fi
   8031 
   8032 
   8033 		CFLAGS="$xorg_testset_save_CFLAGS"
   8034 
   8035 		eval supported=\$$cacheid
   8036 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8037 printf '%s\n' "$supported" >&6; }
   8038 		if test "$supported" = "yes" ; then
   8039 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8040 			found="yes"
   8041 		fi
   8042 	fi
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 xorg_testset_save_CFLAGS="$CFLAGS"
   8059 
   8060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8062 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8063 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8064 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8065 then :
   8066   printf %s "(cached) " >&6
   8067 else case e in #(
   8068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"
   8073 then :
   8074   xorg_cv_cc_flag_unknown_warning_option=yes
   8075 else case e in #(
   8076   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8077 esac
   8078 fi
   8079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8080 esac
   8081 fi
   8082 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8083 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8085 	CFLAGS="$xorg_testset_save_CFLAGS"
   8086 fi
   8087 
   8088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8091 	fi
   8092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8093 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8094 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8095 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8096 then :
   8097   printf %s "(cached) " >&6
   8098 else case e in #(
   8099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 int i;
   8102 _ACEOF
   8103 if ac_fn_c_try_compile "$LINENO"
   8104 then :
   8105   xorg_cv_cc_flag_unused_command_line_argument=yes
   8106 else case e in #(
   8107   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8108 esac
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8111 esac
   8112 fi
   8113 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8114 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8116 	CFLAGS="$xorg_testset_save_CFLAGS"
   8117 fi
   8118 
   8119 found="no"
   8120 
   8121 	if test $found = "no" ; then
   8122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8124 		fi
   8125 
   8126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8128 		fi
   8129 
   8130 		CFLAGS="$CFLAGS -Werror=write-strings"
   8131 
   8132 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8133 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8134 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8135 		if eval test \${$cacheid+y}
   8136 then :
   8137   printf %s "(cached) " >&6
   8138 else case e in #(
   8139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8140 /* end confdefs.h.  */
   8141 int i;
   8142 int
   8143 main (void)
   8144 {
   8145 
   8146   ;
   8147   return 0;
   8148 }
   8149 _ACEOF
   8150 if ac_fn_c_try_link "$LINENO"
   8151 then :
   8152   eval $cacheid=yes
   8153 else case e in #(
   8154   e) eval $cacheid=no ;;
   8155 esac
   8156 fi
   8157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8158     conftest$ac_exeext conftest.$ac_ext ;;
   8159 esac
   8160 fi
   8161 
   8162 
   8163 		CFLAGS="$xorg_testset_save_CFLAGS"
   8164 
   8165 		eval supported=\$$cacheid
   8166 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8167 printf '%s\n' "$supported" >&6; }
   8168 		if test "$supported" = "yes" ; then
   8169 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8170 			found="yes"
   8171 		fi
   8172 	fi
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 xorg_testset_save_CFLAGS="$CFLAGS"
   8189 
   8190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8192 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8193 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8194 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8195 then :
   8196   printf %s "(cached) " >&6
   8197 else case e in #(
   8198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 _ACEOF
   8202 if ac_fn_c_try_compile "$LINENO"
   8203 then :
   8204   xorg_cv_cc_flag_unknown_warning_option=yes
   8205 else case e in #(
   8206   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8207 esac
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8210 esac
   8211 fi
   8212 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8213 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8215 	CFLAGS="$xorg_testset_save_CFLAGS"
   8216 fi
   8217 
   8218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 	fi
   8222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8223 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8224 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8225 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8226 then :
   8227   printf %s "(cached) " >&6
   8228 else case e in #(
   8229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8230 /* end confdefs.h.  */
   8231 int i;
   8232 _ACEOF
   8233 if ac_fn_c_try_compile "$LINENO"
   8234 then :
   8235   xorg_cv_cc_flag_unused_command_line_argument=yes
   8236 else case e in #(
   8237   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8238 esac
   8239 fi
   8240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8241 esac
   8242 fi
   8243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8244 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8246 	CFLAGS="$xorg_testset_save_CFLAGS"
   8247 fi
   8248 
   8249 found="no"
   8250 
   8251 	if test $found = "no" ; then
   8252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 		fi
   8255 
   8256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8258 		fi
   8259 
   8260 		CFLAGS="$CFLAGS -Werror=address"
   8261 
   8262 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8263 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8264 		cacheid=xorg_cv_cc_flag__Werror_address
   8265 		if eval test \${$cacheid+y}
   8266 then :
   8267   printf %s "(cached) " >&6
   8268 else case e in #(
   8269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8270 /* end confdefs.h.  */
   8271 int i;
   8272 int
   8273 main (void)
   8274 {
   8275 
   8276   ;
   8277   return 0;
   8278 }
   8279 _ACEOF
   8280 if ac_fn_c_try_link "$LINENO"
   8281 then :
   8282   eval $cacheid=yes
   8283 else case e in #(
   8284   e) eval $cacheid=no ;;
   8285 esac
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8288     conftest$ac_exeext conftest.$ac_ext ;;
   8289 esac
   8290 fi
   8291 
   8292 
   8293 		CFLAGS="$xorg_testset_save_CFLAGS"
   8294 
   8295 		eval supported=\$$cacheid
   8296 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8297 printf '%s\n' "$supported" >&6; }
   8298 		if test "$supported" = "yes" ; then
   8299 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8300 			found="yes"
   8301 		fi
   8302 	fi
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 xorg_testset_save_CFLAGS="$CFLAGS"
   8319 
   8320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8322 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8325 then :
   8326   printf %s "(cached) " >&6
   8327 else case e in #(
   8328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8329 /* end confdefs.h.  */
   8330 int i;
   8331 _ACEOF
   8332 if ac_fn_c_try_compile "$LINENO"
   8333 then :
   8334   xorg_cv_cc_flag_unknown_warning_option=yes
   8335 else case e in #(
   8336   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8337 esac
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8340 esac
   8341 fi
   8342 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8343 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8345 	CFLAGS="$xorg_testset_save_CFLAGS"
   8346 fi
   8347 
   8348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 	fi
   8352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8354 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8355 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8356 then :
   8357   printf %s "(cached) " >&6
   8358 else case e in #(
   8359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8360 /* end confdefs.h.  */
   8361 int i;
   8362 _ACEOF
   8363 if ac_fn_c_try_compile "$LINENO"
   8364 then :
   8365   xorg_cv_cc_flag_unused_command_line_argument=yes
   8366 else case e in #(
   8367   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8368 esac
   8369 fi
   8370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8371 esac
   8372 fi
   8373 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8374 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8376 	CFLAGS="$xorg_testset_save_CFLAGS"
   8377 fi
   8378 
   8379 found="no"
   8380 
   8381 	if test $found = "no" ; then
   8382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8384 		fi
   8385 
   8386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8388 		fi
   8389 
   8390 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8391 
   8392 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8393 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8394 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8395 		if eval test \${$cacheid+y}
   8396 then :
   8397   printf %s "(cached) " >&6
   8398 else case e in #(
   8399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8400 /* end confdefs.h.  */
   8401 int i;
   8402 int
   8403 main (void)
   8404 {
   8405 
   8406   ;
   8407   return 0;
   8408 }
   8409 _ACEOF
   8410 if ac_fn_c_try_link "$LINENO"
   8411 then :
   8412   eval $cacheid=yes
   8413 else case e in #(
   8414   e) eval $cacheid=no ;;
   8415 esac
   8416 fi
   8417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8418     conftest$ac_exeext conftest.$ac_ext ;;
   8419 esac
   8420 fi
   8421 
   8422 
   8423 		CFLAGS="$xorg_testset_save_CFLAGS"
   8424 
   8425 		eval supported=\$$cacheid
   8426 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8427 printf '%s\n' "$supported" >&6; }
   8428 		if test "$supported" = "yes" ; then
   8429 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8430 			found="yes"
   8431 		fi
   8432 	fi
   8433 
   8434 	if test $found = "no" ; then
   8435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 		fi
   8438 
   8439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8441 		fi
   8442 
   8443 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8444 
   8445 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8446 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8447 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8448 		if eval test \${$cacheid+y}
   8449 then :
   8450   printf %s "(cached) " >&6
   8451 else case e in #(
   8452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 int
   8456 main (void)
   8457 {
   8458 
   8459   ;
   8460   return 0;
   8461 }
   8462 _ACEOF
   8463 if ac_fn_c_try_link "$LINENO"
   8464 then :
   8465   eval $cacheid=yes
   8466 else case e in #(
   8467   e) eval $cacheid=no ;;
   8468 esac
   8469 fi
   8470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8471     conftest$ac_exeext conftest.$ac_ext ;;
   8472 esac
   8473 fi
   8474 
   8475 
   8476 		CFLAGS="$xorg_testset_save_CFLAGS"
   8477 
   8478 		eval supported=\$$cacheid
   8479 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8480 printf '%s\n' "$supported" >&6; }
   8481 		if test "$supported" = "yes" ; then
   8482 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8483 			found="yes"
   8484 		fi
   8485 	fi
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 xorg_testset_save_CFLAGS="$CFLAGS"
   8502 
   8503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8505 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8506 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8507 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8508 then :
   8509   printf %s "(cached) " >&6
   8510 else case e in #(
   8511   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 _ACEOF
   8515 if ac_fn_c_try_compile "$LINENO"
   8516 then :
   8517   xorg_cv_cc_flag_unknown_warning_option=yes
   8518 else case e in #(
   8519   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8520 esac
   8521 fi
   8522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8523 esac
   8524 fi
   8525 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8526 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8528 	CFLAGS="$xorg_testset_save_CFLAGS"
   8529 fi
   8530 
   8531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 	fi
   8535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8536 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8537 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8538 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8539 then :
   8540   printf %s "(cached) " >&6
   8541 else case e in #(
   8542   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8543 /* end confdefs.h.  */
   8544 int i;
   8545 _ACEOF
   8546 if ac_fn_c_try_compile "$LINENO"
   8547 then :
   8548   xorg_cv_cc_flag_unused_command_line_argument=yes
   8549 else case e in #(
   8550   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8551 esac
   8552 fi
   8553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8554 esac
   8555 fi
   8556 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8557 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8559 	CFLAGS="$xorg_testset_save_CFLAGS"
   8560 fi
   8561 
   8562 found="no"
   8563 
   8564 	if test $found = "no" ; then
   8565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8567 		fi
   8568 
   8569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8571 		fi
   8572 
   8573 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8574 
   8575 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8576 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8577 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8578 		if eval test \${$cacheid+y}
   8579 then :
   8580   printf %s "(cached) " >&6
   8581 else case e in #(
   8582   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8583 /* end confdefs.h.  */
   8584 int i;
   8585 int
   8586 main (void)
   8587 {
   8588 
   8589   ;
   8590   return 0;
   8591 }
   8592 _ACEOF
   8593 if ac_fn_c_try_link "$LINENO"
   8594 then :
   8595   eval $cacheid=yes
   8596 else case e in #(
   8597   e) eval $cacheid=no ;;
   8598 esac
   8599 fi
   8600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8601     conftest$ac_exeext conftest.$ac_ext ;;
   8602 esac
   8603 fi
   8604 
   8605 
   8606 		CFLAGS="$xorg_testset_save_CFLAGS"
   8607 
   8608 		eval supported=\$$cacheid
   8609 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8610 printf '%s\n' "$supported" >&6; }
   8611 		if test "$supported" = "yes" ; then
   8612 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8613 			found="yes"
   8614 		fi
   8615 	fi
   8616 
   8617  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8618 else
   8619 { 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
   8620 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;}
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 xorg_testset_save_CFLAGS="$CFLAGS"
   8635 
   8636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8638 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8639 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8640 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8641 then :
   8642   printf %s "(cached) " >&6
   8643 else case e in #(
   8644   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8645 /* end confdefs.h.  */
   8646 int i;
   8647 _ACEOF
   8648 if ac_fn_c_try_compile "$LINENO"
   8649 then :
   8650   xorg_cv_cc_flag_unknown_warning_option=yes
   8651 else case e in #(
   8652   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8653 esac
   8654 fi
   8655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8656 esac
   8657 fi
   8658 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8659 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8661 	CFLAGS="$xorg_testset_save_CFLAGS"
   8662 fi
   8663 
   8664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8667 	fi
   8668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8669 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8670 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8671 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8672 then :
   8673   printf %s "(cached) " >&6
   8674 else case e in #(
   8675   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8676 /* end confdefs.h.  */
   8677 int i;
   8678 _ACEOF
   8679 if ac_fn_c_try_compile "$LINENO"
   8680 then :
   8681   xorg_cv_cc_flag_unused_command_line_argument=yes
   8682 else case e in #(
   8683   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8684 esac
   8685 fi
   8686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8687 esac
   8688 fi
   8689 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8690 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8692 	CFLAGS="$xorg_testset_save_CFLAGS"
   8693 fi
   8694 
   8695 found="no"
   8696 
   8697 	if test $found = "no" ; then
   8698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 		fi
   8701 
   8702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8704 		fi
   8705 
   8706 		CFLAGS="$CFLAGS -Wimplicit"
   8707 
   8708 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8709 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8710 		cacheid=xorg_cv_cc_flag__Wimplicit
   8711 		if eval test \${$cacheid+y}
   8712 then :
   8713   printf %s "(cached) " >&6
   8714 else case e in #(
   8715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8716 /* end confdefs.h.  */
   8717 int i;
   8718 int
   8719 main (void)
   8720 {
   8721 
   8722   ;
   8723   return 0;
   8724 }
   8725 _ACEOF
   8726 if ac_fn_c_try_link "$LINENO"
   8727 then :
   8728   eval $cacheid=yes
   8729 else case e in #(
   8730   e) eval $cacheid=no ;;
   8731 esac
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8734     conftest$ac_exeext conftest.$ac_ext ;;
   8735 esac
   8736 fi
   8737 
   8738 
   8739 		CFLAGS="$xorg_testset_save_CFLAGS"
   8740 
   8741 		eval supported=\$$cacheid
   8742 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8743 printf '%s\n' "$supported" >&6; }
   8744 		if test "$supported" = "yes" ; then
   8745 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8746 			found="yes"
   8747 		fi
   8748 	fi
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 xorg_testset_save_CFLAGS="$CFLAGS"
   8765 
   8766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8768 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8769 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8770 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8771 then :
   8772   printf %s "(cached) " >&6
   8773 else case e in #(
   8774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 _ACEOF
   8778 if ac_fn_c_try_compile "$LINENO"
   8779 then :
   8780   xorg_cv_cc_flag_unknown_warning_option=yes
   8781 else case e in #(
   8782   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8783 esac
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8786 esac
   8787 fi
   8788 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8789 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	fi
   8798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8802 then :
   8803   printf %s "(cached) " >&6
   8804 else case e in #(
   8805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8806 /* end confdefs.h.  */
   8807 int i;
   8808 _ACEOF
   8809 if ac_fn_c_try_compile "$LINENO"
   8810 then :
   8811   xorg_cv_cc_flag_unused_command_line_argument=yes
   8812 else case e in #(
   8813   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8814 esac
   8815 fi
   8816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8817 esac
   8818 fi
   8819 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8820 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8822 	CFLAGS="$xorg_testset_save_CFLAGS"
   8823 fi
   8824 
   8825 found="no"
   8826 
   8827 	if test $found = "no" ; then
   8828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8830 		fi
   8831 
   8832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8834 		fi
   8835 
   8836 		CFLAGS="$CFLAGS -Wnonnull"
   8837 
   8838 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8839 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   8840 		cacheid=xorg_cv_cc_flag__Wnonnull
   8841 		if eval test \${$cacheid+y}
   8842 then :
   8843   printf %s "(cached) " >&6
   8844 else case e in #(
   8845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8846 /* end confdefs.h.  */
   8847 int i;
   8848 int
   8849 main (void)
   8850 {
   8851 
   8852   ;
   8853   return 0;
   8854 }
   8855 _ACEOF
   8856 if ac_fn_c_try_link "$LINENO"
   8857 then :
   8858   eval $cacheid=yes
   8859 else case e in #(
   8860   e) eval $cacheid=no ;;
   8861 esac
   8862 fi
   8863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8864     conftest$ac_exeext conftest.$ac_ext ;;
   8865 esac
   8866 fi
   8867 
   8868 
   8869 		CFLAGS="$xorg_testset_save_CFLAGS"
   8870 
   8871 		eval supported=\$$cacheid
   8872 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8873 printf '%s\n' "$supported" >&6; }
   8874 		if test "$supported" = "yes" ; then
   8875 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8876 			found="yes"
   8877 		fi
   8878 	fi
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 xorg_testset_save_CFLAGS="$CFLAGS"
   8895 
   8896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8898 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8899 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8900 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8901 then :
   8902   printf %s "(cached) " >&6
   8903 else case e in #(
   8904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 _ACEOF
   8908 if ac_fn_c_try_compile "$LINENO"
   8909 then :
   8910   xorg_cv_cc_flag_unknown_warning_option=yes
   8911 else case e in #(
   8912   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8913 esac
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8916 esac
   8917 fi
   8918 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8919 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8921 	CFLAGS="$xorg_testset_save_CFLAGS"
   8922 fi
   8923 
   8924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 	fi
   8928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8929 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8932 then :
   8933   printf %s "(cached) " >&6
   8934 else case e in #(
   8935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8936 /* end confdefs.h.  */
   8937 int i;
   8938 _ACEOF
   8939 if ac_fn_c_try_compile "$LINENO"
   8940 then :
   8941   xorg_cv_cc_flag_unused_command_line_argument=yes
   8942 else case e in #(
   8943   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8944 esac
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8947 esac
   8948 fi
   8949 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8950 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8952 	CFLAGS="$xorg_testset_save_CFLAGS"
   8953 fi
   8954 
   8955 found="no"
   8956 
   8957 	if test $found = "no" ; then
   8958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 		fi
   8961 
   8962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 		fi
   8965 
   8966 		CFLAGS="$CFLAGS -Winit-self"
   8967 
   8968 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8969 printf %s "checking if $CC supports -Winit-self... " >&6; }
   8970 		cacheid=xorg_cv_cc_flag__Winit_self
   8971 		if eval test \${$cacheid+y}
   8972 then :
   8973   printf %s "(cached) " >&6
   8974 else case e in #(
   8975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 int
   8979 main (void)
   8980 {
   8981 
   8982   ;
   8983   return 0;
   8984 }
   8985 _ACEOF
   8986 if ac_fn_c_try_link "$LINENO"
   8987 then :
   8988   eval $cacheid=yes
   8989 else case e in #(
   8990   e) eval $cacheid=no ;;
   8991 esac
   8992 fi
   8993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8994     conftest$ac_exeext conftest.$ac_ext ;;
   8995 esac
   8996 fi
   8997 
   8998 
   8999 		CFLAGS="$xorg_testset_save_CFLAGS"
   9000 
   9001 		eval supported=\$$cacheid
   9002 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9003 printf '%s\n' "$supported" >&6; }
   9004 		if test "$supported" = "yes" ; then
   9005 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9006 			found="yes"
   9007 		fi
   9008 	fi
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 xorg_testset_save_CFLAGS="$CFLAGS"
   9025 
   9026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9029 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9030 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9031 then :
   9032   printf %s "(cached) " >&6
   9033 else case e in #(
   9034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9035 /* end confdefs.h.  */
   9036 int i;
   9037 _ACEOF
   9038 if ac_fn_c_try_compile "$LINENO"
   9039 then :
   9040   xorg_cv_cc_flag_unknown_warning_option=yes
   9041 else case e in #(
   9042   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9043 esac
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9046 esac
   9047 fi
   9048 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9049 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9051 	CFLAGS="$xorg_testset_save_CFLAGS"
   9052 fi
   9053 
   9054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9057 	fi
   9058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9059 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9060 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9061 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9062 then :
   9063   printf %s "(cached) " >&6
   9064 else case e in #(
   9065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9066 /* end confdefs.h.  */
   9067 int i;
   9068 _ACEOF
   9069 if ac_fn_c_try_compile "$LINENO"
   9070 then :
   9071   xorg_cv_cc_flag_unused_command_line_argument=yes
   9072 else case e in #(
   9073   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9074 esac
   9075 fi
   9076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9077 esac
   9078 fi
   9079 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9080 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9082 	CFLAGS="$xorg_testset_save_CFLAGS"
   9083 fi
   9084 
   9085 found="no"
   9086 
   9087 	if test $found = "no" ; then
   9088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 		fi
   9091 
   9092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9094 		fi
   9095 
   9096 		CFLAGS="$CFLAGS -Wmain"
   9097 
   9098 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9099 printf %s "checking if $CC supports -Wmain... " >&6; }
   9100 		cacheid=xorg_cv_cc_flag__Wmain
   9101 		if eval test \${$cacheid+y}
   9102 then :
   9103   printf %s "(cached) " >&6
   9104 else case e in #(
   9105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 int
   9109 main (void)
   9110 {
   9111 
   9112   ;
   9113   return 0;
   9114 }
   9115 _ACEOF
   9116 if ac_fn_c_try_link "$LINENO"
   9117 then :
   9118   eval $cacheid=yes
   9119 else case e in #(
   9120   e) eval $cacheid=no ;;
   9121 esac
   9122 fi
   9123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9124     conftest$ac_exeext conftest.$ac_ext ;;
   9125 esac
   9126 fi
   9127 
   9128 
   9129 		CFLAGS="$xorg_testset_save_CFLAGS"
   9130 
   9131 		eval supported=\$$cacheid
   9132 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9133 printf '%s\n' "$supported" >&6; }
   9134 		if test "$supported" = "yes" ; then
   9135 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9136 			found="yes"
   9137 		fi
   9138 	fi
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 xorg_testset_save_CFLAGS="$CFLAGS"
   9155 
   9156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9158 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9159 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9160 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9161 then :
   9162   printf %s "(cached) " >&6
   9163 else case e in #(
   9164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9165 /* end confdefs.h.  */
   9166 int i;
   9167 _ACEOF
   9168 if ac_fn_c_try_compile "$LINENO"
   9169 then :
   9170   xorg_cv_cc_flag_unknown_warning_option=yes
   9171 else case e in #(
   9172   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9173 esac
   9174 fi
   9175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9176 esac
   9177 fi
   9178 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9179 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9181 	CFLAGS="$xorg_testset_save_CFLAGS"
   9182 fi
   9183 
   9184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9187 	fi
   9188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9189 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9190 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9191 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9192 then :
   9193   printf %s "(cached) " >&6
   9194 else case e in #(
   9195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9196 /* end confdefs.h.  */
   9197 int i;
   9198 _ACEOF
   9199 if ac_fn_c_try_compile "$LINENO"
   9200 then :
   9201   xorg_cv_cc_flag_unused_command_line_argument=yes
   9202 else case e in #(
   9203   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9204 esac
   9205 fi
   9206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9207 esac
   9208 fi
   9209 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9210 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9212 	CFLAGS="$xorg_testset_save_CFLAGS"
   9213 fi
   9214 
   9215 found="no"
   9216 
   9217 	if test $found = "no" ; then
   9218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9220 		fi
   9221 
   9222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9224 		fi
   9225 
   9226 		CFLAGS="$CFLAGS -Wmissing-braces"
   9227 
   9228 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9229 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9230 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9231 		if eval test \${$cacheid+y}
   9232 then :
   9233   printf %s "(cached) " >&6
   9234 else case e in #(
   9235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 int
   9239 main (void)
   9240 {
   9241 
   9242   ;
   9243   return 0;
   9244 }
   9245 _ACEOF
   9246 if ac_fn_c_try_link "$LINENO"
   9247 then :
   9248   eval $cacheid=yes
   9249 else case e in #(
   9250   e) eval $cacheid=no ;;
   9251 esac
   9252 fi
   9253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9254     conftest$ac_exeext conftest.$ac_ext ;;
   9255 esac
   9256 fi
   9257 
   9258 
   9259 		CFLAGS="$xorg_testset_save_CFLAGS"
   9260 
   9261 		eval supported=\$$cacheid
   9262 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9263 printf '%s\n' "$supported" >&6; }
   9264 		if test "$supported" = "yes" ; then
   9265 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9266 			found="yes"
   9267 		fi
   9268 	fi
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 xorg_testset_save_CFLAGS="$CFLAGS"
   9285 
   9286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9288 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9289 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9290 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9291 then :
   9292   printf %s "(cached) " >&6
   9293 else case e in #(
   9294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9295 /* end confdefs.h.  */
   9296 int i;
   9297 _ACEOF
   9298 if ac_fn_c_try_compile "$LINENO"
   9299 then :
   9300   xorg_cv_cc_flag_unknown_warning_option=yes
   9301 else case e in #(
   9302   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9303 esac
   9304 fi
   9305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9306 esac
   9307 fi
   9308 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9309 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9311 	CFLAGS="$xorg_testset_save_CFLAGS"
   9312 fi
   9313 
   9314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 	fi
   9318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9319 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9320 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9321 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9322 then :
   9323   printf %s "(cached) " >&6
   9324 else case e in #(
   9325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9326 /* end confdefs.h.  */
   9327 int i;
   9328 _ACEOF
   9329 if ac_fn_c_try_compile "$LINENO"
   9330 then :
   9331   xorg_cv_cc_flag_unused_command_line_argument=yes
   9332 else case e in #(
   9333   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9334 esac
   9335 fi
   9336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9337 esac
   9338 fi
   9339 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9340 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9342 	CFLAGS="$xorg_testset_save_CFLAGS"
   9343 fi
   9344 
   9345 found="no"
   9346 
   9347 	if test $found = "no" ; then
   9348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9350 		fi
   9351 
   9352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9354 		fi
   9355 
   9356 		CFLAGS="$CFLAGS -Wsequence-point"
   9357 
   9358 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9359 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9360 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9361 		if eval test \${$cacheid+y}
   9362 then :
   9363   printf %s "(cached) " >&6
   9364 else case e in #(
   9365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 int
   9369 main (void)
   9370 {
   9371 
   9372   ;
   9373   return 0;
   9374 }
   9375 _ACEOF
   9376 if ac_fn_c_try_link "$LINENO"
   9377 then :
   9378   eval $cacheid=yes
   9379 else case e in #(
   9380   e) eval $cacheid=no ;;
   9381 esac
   9382 fi
   9383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9384     conftest$ac_exeext conftest.$ac_ext ;;
   9385 esac
   9386 fi
   9387 
   9388 
   9389 		CFLAGS="$xorg_testset_save_CFLAGS"
   9390 
   9391 		eval supported=\$$cacheid
   9392 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9393 printf '%s\n' "$supported" >&6; }
   9394 		if test "$supported" = "yes" ; then
   9395 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9396 			found="yes"
   9397 		fi
   9398 	fi
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 xorg_testset_save_CFLAGS="$CFLAGS"
   9415 
   9416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9418 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9419 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9420 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9421 then :
   9422   printf %s "(cached) " >&6
   9423 else case e in #(
   9424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9425 /* end confdefs.h.  */
   9426 int i;
   9427 _ACEOF
   9428 if ac_fn_c_try_compile "$LINENO"
   9429 then :
   9430   xorg_cv_cc_flag_unknown_warning_option=yes
   9431 else case e in #(
   9432   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9433 esac
   9434 fi
   9435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9436 esac
   9437 fi
   9438 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9439 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9441 	CFLAGS="$xorg_testset_save_CFLAGS"
   9442 fi
   9443 
   9444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9447 	fi
   9448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9449 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9450 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9451 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9452 then :
   9453   printf %s "(cached) " >&6
   9454 else case e in #(
   9455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9456 /* end confdefs.h.  */
   9457 int i;
   9458 _ACEOF
   9459 if ac_fn_c_try_compile "$LINENO"
   9460 then :
   9461   xorg_cv_cc_flag_unused_command_line_argument=yes
   9462 else case e in #(
   9463   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9464 esac
   9465 fi
   9466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9467 esac
   9468 fi
   9469 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9470 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9472 	CFLAGS="$xorg_testset_save_CFLAGS"
   9473 fi
   9474 
   9475 found="no"
   9476 
   9477 	if test $found = "no" ; then
   9478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 		fi
   9481 
   9482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9484 		fi
   9485 
   9486 		CFLAGS="$CFLAGS -Wreturn-type"
   9487 
   9488 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9489 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9490 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9491 		if eval test \${$cacheid+y}
   9492 then :
   9493   printf %s "(cached) " >&6
   9494 else case e in #(
   9495   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9496 /* end confdefs.h.  */
   9497 int i;
   9498 int
   9499 main (void)
   9500 {
   9501 
   9502   ;
   9503   return 0;
   9504 }
   9505 _ACEOF
   9506 if ac_fn_c_try_link "$LINENO"
   9507 then :
   9508   eval $cacheid=yes
   9509 else case e in #(
   9510   e) eval $cacheid=no ;;
   9511 esac
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9514     conftest$ac_exeext conftest.$ac_ext ;;
   9515 esac
   9516 fi
   9517 
   9518 
   9519 		CFLAGS="$xorg_testset_save_CFLAGS"
   9520 
   9521 		eval supported=\$$cacheid
   9522 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9523 printf '%s\n' "$supported" >&6; }
   9524 		if test "$supported" = "yes" ; then
   9525 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9526 			found="yes"
   9527 		fi
   9528 	fi
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 xorg_testset_save_CFLAGS="$CFLAGS"
   9545 
   9546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9548 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9549 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9550 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9551 then :
   9552   printf %s "(cached) " >&6
   9553 else case e in #(
   9554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9555 /* end confdefs.h.  */
   9556 int i;
   9557 _ACEOF
   9558 if ac_fn_c_try_compile "$LINENO"
   9559 then :
   9560   xorg_cv_cc_flag_unknown_warning_option=yes
   9561 else case e in #(
   9562   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9563 esac
   9564 fi
   9565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9566 esac
   9567 fi
   9568 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9569 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9571 	CFLAGS="$xorg_testset_save_CFLAGS"
   9572 fi
   9573 
   9574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9577 	fi
   9578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9579 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9580 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9581 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9582 then :
   9583   printf %s "(cached) " >&6
   9584 else case e in #(
   9585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 _ACEOF
   9589 if ac_fn_c_try_compile "$LINENO"
   9590 then :
   9591   xorg_cv_cc_flag_unused_command_line_argument=yes
   9592 else case e in #(
   9593   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9594 esac
   9595 fi
   9596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9597 esac
   9598 fi
   9599 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9600 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9602 	CFLAGS="$xorg_testset_save_CFLAGS"
   9603 fi
   9604 
   9605 found="no"
   9606 
   9607 	if test $found = "no" ; then
   9608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9610 		fi
   9611 
   9612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9614 		fi
   9615 
   9616 		CFLAGS="$CFLAGS -Wtrigraphs"
   9617 
   9618 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9619 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9620 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9621 		if eval test \${$cacheid+y}
   9622 then :
   9623   printf %s "(cached) " >&6
   9624 else case e in #(
   9625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 int
   9629 main (void)
   9630 {
   9631 
   9632   ;
   9633   return 0;
   9634 }
   9635 _ACEOF
   9636 if ac_fn_c_try_link "$LINENO"
   9637 then :
   9638   eval $cacheid=yes
   9639 else case e in #(
   9640   e) eval $cacheid=no ;;
   9641 esac
   9642 fi
   9643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9644     conftest$ac_exeext conftest.$ac_ext ;;
   9645 esac
   9646 fi
   9647 
   9648 
   9649 		CFLAGS="$xorg_testset_save_CFLAGS"
   9650 
   9651 		eval supported=\$$cacheid
   9652 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9653 printf '%s\n' "$supported" >&6; }
   9654 		if test "$supported" = "yes" ; then
   9655 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9656 			found="yes"
   9657 		fi
   9658 	fi
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 xorg_testset_save_CFLAGS="$CFLAGS"
   9675 
   9676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9678 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9679 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9680 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9681 then :
   9682   printf %s "(cached) " >&6
   9683 else case e in #(
   9684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"
   9689 then :
   9690   xorg_cv_cc_flag_unknown_warning_option=yes
   9691 else case e in #(
   9692   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9693 esac
   9694 fi
   9695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9696 esac
   9697 fi
   9698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9699 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9701 	CFLAGS="$xorg_testset_save_CFLAGS"
   9702 fi
   9703 
   9704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 	fi
   9708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9709 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9710 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9711 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9712 then :
   9713   printf %s "(cached) " >&6
   9714 else case e in #(
   9715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9716 /* end confdefs.h.  */
   9717 int i;
   9718 _ACEOF
   9719 if ac_fn_c_try_compile "$LINENO"
   9720 then :
   9721   xorg_cv_cc_flag_unused_command_line_argument=yes
   9722 else case e in #(
   9723   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9724 esac
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9727 esac
   9728 fi
   9729 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9730 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9732 	CFLAGS="$xorg_testset_save_CFLAGS"
   9733 fi
   9734 
   9735 found="no"
   9736 
   9737 	if test $found = "no" ; then
   9738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 		fi
   9741 
   9742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9744 		fi
   9745 
   9746 		CFLAGS="$CFLAGS -Warray-bounds"
   9747 
   9748 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9749 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9750 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9751 		if eval test \${$cacheid+y}
   9752 then :
   9753   printf %s "(cached) " >&6
   9754 else case e in #(
   9755   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9756 /* end confdefs.h.  */
   9757 int i;
   9758 int
   9759 main (void)
   9760 {
   9761 
   9762   ;
   9763   return 0;
   9764 }
   9765 _ACEOF
   9766 if ac_fn_c_try_link "$LINENO"
   9767 then :
   9768   eval $cacheid=yes
   9769 else case e in #(
   9770   e) eval $cacheid=no ;;
   9771 esac
   9772 fi
   9773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9774     conftest$ac_exeext conftest.$ac_ext ;;
   9775 esac
   9776 fi
   9777 
   9778 
   9779 		CFLAGS="$xorg_testset_save_CFLAGS"
   9780 
   9781 		eval supported=\$$cacheid
   9782 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9783 printf '%s\n' "$supported" >&6; }
   9784 		if test "$supported" = "yes" ; then
   9785 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9786 			found="yes"
   9787 		fi
   9788 	fi
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 xorg_testset_save_CFLAGS="$CFLAGS"
   9805 
   9806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9808 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9809 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9810 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9811 then :
   9812   printf %s "(cached) " >&6
   9813 else case e in #(
   9814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9815 /* end confdefs.h.  */
   9816 int i;
   9817 _ACEOF
   9818 if ac_fn_c_try_compile "$LINENO"
   9819 then :
   9820   xorg_cv_cc_flag_unknown_warning_option=yes
   9821 else case e in #(
   9822   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9823 esac
   9824 fi
   9825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9826 esac
   9827 fi
   9828 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9829 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9831 	CFLAGS="$xorg_testset_save_CFLAGS"
   9832 fi
   9833 
   9834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9837 	fi
   9838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9839 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9840 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9841 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9842 then :
   9843   printf %s "(cached) " >&6
   9844 else case e in #(
   9845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9846 /* end confdefs.h.  */
   9847 int i;
   9848 _ACEOF
   9849 if ac_fn_c_try_compile "$LINENO"
   9850 then :
   9851   xorg_cv_cc_flag_unused_command_line_argument=yes
   9852 else case e in #(
   9853   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9854 esac
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9857 esac
   9858 fi
   9859 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9860 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9862 	CFLAGS="$xorg_testset_save_CFLAGS"
   9863 fi
   9864 
   9865 found="no"
   9866 
   9867 	if test $found = "no" ; then
   9868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 		fi
   9871 
   9872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9874 		fi
   9875 
   9876 		CFLAGS="$CFLAGS -Wwrite-strings"
   9877 
   9878 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9879 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   9880 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9881 		if eval test \${$cacheid+y}
   9882 then :
   9883   printf %s "(cached) " >&6
   9884 else case e in #(
   9885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 int
   9889 main (void)
   9890 {
   9891 
   9892   ;
   9893   return 0;
   9894 }
   9895 _ACEOF
   9896 if ac_fn_c_try_link "$LINENO"
   9897 then :
   9898   eval $cacheid=yes
   9899 else case e in #(
   9900   e) eval $cacheid=no ;;
   9901 esac
   9902 fi
   9903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9904     conftest$ac_exeext conftest.$ac_ext ;;
   9905 esac
   9906 fi
   9907 
   9908 
   9909 		CFLAGS="$xorg_testset_save_CFLAGS"
   9910 
   9911 		eval supported=\$$cacheid
   9912 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9913 printf '%s\n' "$supported" >&6; }
   9914 		if test "$supported" = "yes" ; then
   9915 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9916 			found="yes"
   9917 		fi
   9918 	fi
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 xorg_testset_save_CFLAGS="$CFLAGS"
   9935 
   9936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9938 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9939 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9940 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9941 then :
   9942   printf %s "(cached) " >&6
   9943 else case e in #(
   9944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 _ACEOF
   9948 if ac_fn_c_try_compile "$LINENO"
   9949 then :
   9950   xorg_cv_cc_flag_unknown_warning_option=yes
   9951 else case e in #(
   9952   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9953 esac
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9956 esac
   9957 fi
   9958 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9959 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9961 	CFLAGS="$xorg_testset_save_CFLAGS"
   9962 fi
   9963 
   9964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9967 	fi
   9968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9969 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9970 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9971 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9972 then :
   9973   printf %s "(cached) " >&6
   9974 else case e in #(
   9975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 _ACEOF
   9979 if ac_fn_c_try_compile "$LINENO"
   9980 then :
   9981   xorg_cv_cc_flag_unused_command_line_argument=yes
   9982 else case e in #(
   9983   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9984 esac
   9985 fi
   9986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9987 esac
   9988 fi
   9989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9990 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9992 	CFLAGS="$xorg_testset_save_CFLAGS"
   9993 fi
   9994 
   9995 found="no"
   9996 
   9997 	if test $found = "no" ; then
   9998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10000 		fi
   10001 
   10002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10004 		fi
   10005 
   10006 		CFLAGS="$CFLAGS -Waddress"
   10007 
   10008 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10009 printf %s "checking if $CC supports -Waddress... " >&6; }
   10010 		cacheid=xorg_cv_cc_flag__Waddress
   10011 		if eval test \${$cacheid+y}
   10012 then :
   10013   printf %s "(cached) " >&6
   10014 else case e in #(
   10015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10016 /* end confdefs.h.  */
   10017 int i;
   10018 int
   10019 main (void)
   10020 {
   10021 
   10022   ;
   10023   return 0;
   10024 }
   10025 _ACEOF
   10026 if ac_fn_c_try_link "$LINENO"
   10027 then :
   10028   eval $cacheid=yes
   10029 else case e in #(
   10030   e) eval $cacheid=no ;;
   10031 esac
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10034     conftest$ac_exeext conftest.$ac_ext ;;
   10035 esac
   10036 fi
   10037 
   10038 
   10039 		CFLAGS="$xorg_testset_save_CFLAGS"
   10040 
   10041 		eval supported=\$$cacheid
   10042 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10043 printf '%s\n' "$supported" >&6; }
   10044 		if test "$supported" = "yes" ; then
   10045 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10046 			found="yes"
   10047 		fi
   10048 	fi
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 xorg_testset_save_CFLAGS="$CFLAGS"
   10065 
   10066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10068 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10069 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10070 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10071 then :
   10072   printf %s "(cached) " >&6
   10073 else case e in #(
   10074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 _ACEOF
   10078 if ac_fn_c_try_compile "$LINENO"
   10079 then :
   10080   xorg_cv_cc_flag_unknown_warning_option=yes
   10081 else case e in #(
   10082   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10083 esac
   10084 fi
   10085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10086 esac
   10087 fi
   10088 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10089 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10091 	CFLAGS="$xorg_testset_save_CFLAGS"
   10092 fi
   10093 
   10094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10097 	fi
   10098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10099 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10102 then :
   10103   printf %s "(cached) " >&6
   10104 else case e in #(
   10105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10106 /* end confdefs.h.  */
   10107 int i;
   10108 _ACEOF
   10109 if ac_fn_c_try_compile "$LINENO"
   10110 then :
   10111   xorg_cv_cc_flag_unused_command_line_argument=yes
   10112 else case e in #(
   10113   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10114 esac
   10115 fi
   10116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10117 esac
   10118 fi
   10119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10120 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10122 	CFLAGS="$xorg_testset_save_CFLAGS"
   10123 fi
   10124 
   10125 found="no"
   10126 
   10127 	if test $found = "no" ; then
   10128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10130 		fi
   10131 
   10132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10134 		fi
   10135 
   10136 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10137 
   10138 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10139 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10140 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10141 		if eval test \${$cacheid+y}
   10142 then :
   10143   printf %s "(cached) " >&6
   10144 else case e in #(
   10145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10146 /* end confdefs.h.  */
   10147 int i;
   10148 int
   10149 main (void)
   10150 {
   10151 
   10152   ;
   10153   return 0;
   10154 }
   10155 _ACEOF
   10156 if ac_fn_c_try_link "$LINENO"
   10157 then :
   10158   eval $cacheid=yes
   10159 else case e in #(
   10160   e) eval $cacheid=no ;;
   10161 esac
   10162 fi
   10163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10164     conftest$ac_exeext conftest.$ac_ext ;;
   10165 esac
   10166 fi
   10167 
   10168 
   10169 		CFLAGS="$xorg_testset_save_CFLAGS"
   10170 
   10171 		eval supported=\$$cacheid
   10172 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10173 printf '%s\n' "$supported" >&6; }
   10174 		if test "$supported" = "yes" ; then
   10175 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10176 			found="yes"
   10177 		fi
   10178 	fi
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 xorg_testset_save_CFLAGS="$CFLAGS"
   10195 
   10196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10198 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10201 then :
   10202   printf %s "(cached) " >&6
   10203 else case e in #(
   10204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10205 /* end confdefs.h.  */
   10206 int i;
   10207 _ACEOF
   10208 if ac_fn_c_try_compile "$LINENO"
   10209 then :
   10210   xorg_cv_cc_flag_unknown_warning_option=yes
   10211 else case e in #(
   10212   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10213 esac
   10214 fi
   10215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10216 esac
   10217 fi
   10218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10219 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10221 	CFLAGS="$xorg_testset_save_CFLAGS"
   10222 fi
   10223 
   10224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10227 	fi
   10228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10229 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10232 then :
   10233   printf %s "(cached) " >&6
   10234 else case e in #(
   10235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10236 /* end confdefs.h.  */
   10237 int i;
   10238 _ACEOF
   10239 if ac_fn_c_try_compile "$LINENO"
   10240 then :
   10241   xorg_cv_cc_flag_unused_command_line_argument=yes
   10242 else case e in #(
   10243   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10244 esac
   10245 fi
   10246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10247 esac
   10248 fi
   10249 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10250 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10252 	CFLAGS="$xorg_testset_save_CFLAGS"
   10253 fi
   10254 
   10255 found="no"
   10256 
   10257 	if test $found = "no" ; then
   10258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 		fi
   10261 
   10262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10264 		fi
   10265 
   10266 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10267 
   10268 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10269 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10270 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10271 		if eval test \${$cacheid+y}
   10272 then :
   10273   printf %s "(cached) " >&6
   10274 else case e in #(
   10275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10276 /* end confdefs.h.  */
   10277 int i;
   10278 int
   10279 main (void)
   10280 {
   10281 
   10282   ;
   10283   return 0;
   10284 }
   10285 _ACEOF
   10286 if ac_fn_c_try_link "$LINENO"
   10287 then :
   10288   eval $cacheid=yes
   10289 else case e in #(
   10290   e) eval $cacheid=no ;;
   10291 esac
   10292 fi
   10293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10294     conftest$ac_exeext conftest.$ac_ext ;;
   10295 esac
   10296 fi
   10297 
   10298 
   10299 		CFLAGS="$xorg_testset_save_CFLAGS"
   10300 
   10301 		eval supported=\$$cacheid
   10302 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10303 printf '%s\n' "$supported" >&6; }
   10304 		if test "$supported" = "yes" ; then
   10305 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10306 			found="yes"
   10307 		fi
   10308 	fi
   10309 
   10310 
   10311 fi
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 		CWARNFLAGS="$BASE_CFLAGS"
   10320 		if  test "x$GCC" = xyes ; then
   10321 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10322 		fi
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 # Check whether --enable-strict-compilation was given.
   10332 if test ${enable_strict_compilation+y}
   10333 then :
   10334   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10335 else case e in #(
   10336   e) STRICT_COMPILE=no ;;
   10337 esac
   10338 fi
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 STRICT_CFLAGS=""
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 xorg_testset_save_CFLAGS="$CFLAGS"
   10360 
   10361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else case e in #(
   10369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 _ACEOF
   10373 if ac_fn_c_try_compile "$LINENO"
   10374 then :
   10375   xorg_cv_cc_flag_unknown_warning_option=yes
   10376 else case e in #(
   10377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10378 esac
   10379 fi
   10380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10381 esac
   10382 fi
   10383 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10384 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10386 	CFLAGS="$xorg_testset_save_CFLAGS"
   10387 fi
   10388 
   10389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 	fi
   10393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10394 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10397 then :
   10398   printf %s "(cached) " >&6
   10399 else case e in #(
   10400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"
   10405 then :
   10406   xorg_cv_cc_flag_unused_command_line_argument=yes
   10407 else case e in #(
   10408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10409 esac
   10410 fi
   10411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10412 esac
   10413 fi
   10414 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10415 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10417 	CFLAGS="$xorg_testset_save_CFLAGS"
   10418 fi
   10419 
   10420 found="no"
   10421 
   10422 	if test $found = "no" ; then
   10423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10425 		fi
   10426 
   10427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10429 		fi
   10430 
   10431 		CFLAGS="$CFLAGS -pedantic"
   10432 
   10433 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10434 printf %s "checking if $CC supports -pedantic... " >&6; }
   10435 		cacheid=xorg_cv_cc_flag__pedantic
   10436 		if eval test \${$cacheid+y}
   10437 then :
   10438   printf %s "(cached) " >&6
   10439 else case e in #(
   10440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10441 /* end confdefs.h.  */
   10442 int i;
   10443 int
   10444 main (void)
   10445 {
   10446 
   10447   ;
   10448   return 0;
   10449 }
   10450 _ACEOF
   10451 if ac_fn_c_try_link "$LINENO"
   10452 then :
   10453   eval $cacheid=yes
   10454 else case e in #(
   10455   e) eval $cacheid=no ;;
   10456 esac
   10457 fi
   10458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10459     conftest$ac_exeext conftest.$ac_ext ;;
   10460 esac
   10461 fi
   10462 
   10463 
   10464 		CFLAGS="$xorg_testset_save_CFLAGS"
   10465 
   10466 		eval supported=\$$cacheid
   10467 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10468 printf '%s\n' "$supported" >&6; }
   10469 		if test "$supported" = "yes" ; then
   10470 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10471 			found="yes"
   10472 		fi
   10473 	fi
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 xorg_testset_save_CFLAGS="$CFLAGS"
   10490 
   10491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10493 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10496 then :
   10497   printf %s "(cached) " >&6
   10498 else case e in #(
   10499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10500 /* end confdefs.h.  */
   10501 int i;
   10502 _ACEOF
   10503 if ac_fn_c_try_compile "$LINENO"
   10504 then :
   10505   xorg_cv_cc_flag_unknown_warning_option=yes
   10506 else case e in #(
   10507   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10508 esac
   10509 fi
   10510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10511 esac
   10512 fi
   10513 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10514 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10516 	CFLAGS="$xorg_testset_save_CFLAGS"
   10517 fi
   10518 
   10519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10522 	fi
   10523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10524 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10527 then :
   10528   printf %s "(cached) " >&6
   10529 else case e in #(
   10530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10531 /* end confdefs.h.  */
   10532 int i;
   10533 _ACEOF
   10534 if ac_fn_c_try_compile "$LINENO"
   10535 then :
   10536   xorg_cv_cc_flag_unused_command_line_argument=yes
   10537 else case e in #(
   10538   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10539 esac
   10540 fi
   10541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10542 esac
   10543 fi
   10544 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10545 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10547 	CFLAGS="$xorg_testset_save_CFLAGS"
   10548 fi
   10549 
   10550 found="no"
   10551 
   10552 	if test $found = "no" ; then
   10553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 		fi
   10556 
   10557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10559 		fi
   10560 
   10561 		CFLAGS="$CFLAGS -Werror"
   10562 
   10563 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10564 printf %s "checking if $CC supports -Werror... " >&6; }
   10565 		cacheid=xorg_cv_cc_flag__Werror
   10566 		if eval test \${$cacheid+y}
   10567 then :
   10568   printf %s "(cached) " >&6
   10569 else case e in #(
   10570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10571 /* end confdefs.h.  */
   10572 int i;
   10573 int
   10574 main (void)
   10575 {
   10576 
   10577   ;
   10578   return 0;
   10579 }
   10580 _ACEOF
   10581 if ac_fn_c_try_link "$LINENO"
   10582 then :
   10583   eval $cacheid=yes
   10584 else case e in #(
   10585   e) eval $cacheid=no ;;
   10586 esac
   10587 fi
   10588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10589     conftest$ac_exeext conftest.$ac_ext ;;
   10590 esac
   10591 fi
   10592 
   10593 
   10594 		CFLAGS="$xorg_testset_save_CFLAGS"
   10595 
   10596 		eval supported=\$$cacheid
   10597 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10598 printf '%s\n' "$supported" >&6; }
   10599 		if test "$supported" = "yes" ; then
   10600 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10601 			found="yes"
   10602 		fi
   10603 	fi
   10604 
   10605 	if test $found = "no" ; then
   10606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10608 		fi
   10609 
   10610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10612 		fi
   10613 
   10614 		CFLAGS="$CFLAGS -errwarn"
   10615 
   10616 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10617 printf %s "checking if $CC supports -errwarn... " >&6; }
   10618 		cacheid=xorg_cv_cc_flag__errwarn
   10619 		if eval test \${$cacheid+y}
   10620 then :
   10621   printf %s "(cached) " >&6
   10622 else case e in #(
   10623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10624 /* end confdefs.h.  */
   10625 int i;
   10626 int
   10627 main (void)
   10628 {
   10629 
   10630   ;
   10631   return 0;
   10632 }
   10633 _ACEOF
   10634 if ac_fn_c_try_link "$LINENO"
   10635 then :
   10636   eval $cacheid=yes
   10637 else case e in #(
   10638   e) eval $cacheid=no ;;
   10639 esac
   10640 fi
   10641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10642     conftest$ac_exeext conftest.$ac_ext ;;
   10643 esac
   10644 fi
   10645 
   10646 
   10647 		CFLAGS="$xorg_testset_save_CFLAGS"
   10648 
   10649 		eval supported=\$$cacheid
   10650 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10651 printf '%s\n' "$supported" >&6; }
   10652 		if test "$supported" = "yes" ; then
   10653 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10654 			found="yes"
   10655 		fi
   10656 	fi
   10657 
   10658 
   10659 
   10660 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10661 # activate it with -Werror, so we add it here explicitly.
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 xorg_testset_save_CFLAGS="$CFLAGS"
   10676 
   10677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else case e in #(
   10685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 _ACEOF
   10689 if ac_fn_c_try_compile "$LINENO"
   10690 then :
   10691   xorg_cv_cc_flag_unknown_warning_option=yes
   10692 else case e in #(
   10693   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10694 esac
   10695 fi
   10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10697 esac
   10698 fi
   10699 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10700 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10702 	CFLAGS="$xorg_testset_save_CFLAGS"
   10703 fi
   10704 
   10705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10708 	fi
   10709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10710 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10711 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10712 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10713 then :
   10714   printf %s "(cached) " >&6
   10715 else case e in #(
   10716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 _ACEOF
   10720 if ac_fn_c_try_compile "$LINENO"
   10721 then :
   10722   xorg_cv_cc_flag_unused_command_line_argument=yes
   10723 else case e in #(
   10724   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10725 esac
   10726 fi
   10727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10728 esac
   10729 fi
   10730 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10731 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10733 	CFLAGS="$xorg_testset_save_CFLAGS"
   10734 fi
   10735 
   10736 found="no"
   10737 
   10738 	if test $found = "no" ; then
   10739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10741 		fi
   10742 
   10743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10745 		fi
   10746 
   10747 		CFLAGS="$CFLAGS -Werror=attributes"
   10748 
   10749 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10750 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10751 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10752 		if eval test \${$cacheid+y}
   10753 then :
   10754   printf %s "(cached) " >&6
   10755 else case e in #(
   10756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 int i;
   10759 int
   10760 main (void)
   10761 {
   10762 
   10763   ;
   10764   return 0;
   10765 }
   10766 _ACEOF
   10767 if ac_fn_c_try_link "$LINENO"
   10768 then :
   10769   eval $cacheid=yes
   10770 else case e in #(
   10771   e) eval $cacheid=no ;;
   10772 esac
   10773 fi
   10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10775     conftest$ac_exeext conftest.$ac_ext ;;
   10776 esac
   10777 fi
   10778 
   10779 
   10780 		CFLAGS="$xorg_testset_save_CFLAGS"
   10781 
   10782 		eval supported=\$$cacheid
   10783 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10784 printf '%s\n' "$supported" >&6; }
   10785 		if test "$supported" = "yes" ; then
   10786 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10787 			found="yes"
   10788 		fi
   10789 	fi
   10790 
   10791 
   10792 
   10793 if test "x$STRICT_COMPILE" = "xyes"; then
   10794     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10795     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10796 fi
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 cat >>confdefs.h <<_ACEOF
   10806 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10807 _ACEOF
   10808 
   10809 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10810 	if test "x$PVM" = "x"; then
   10811 		PVM="0"
   10812 	fi
   10813 
   10814 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10815 
   10816 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10817 	if test "x$PVP" = "x"; then
   10818 		PVP="0"
   10819 	fi
   10820 
   10821 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10822 
   10823 
   10824 
   10825 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10826 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10827 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10828 touch \$(top_srcdir)/ChangeLog; \
   10829 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10830 
   10831 
   10832 
   10833 
   10834 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10835 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10836 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10837 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10838 touch \$(top_srcdir)/INSTALL; \
   10839 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 case $host_os in
   10847     solaris*)
   10848         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10849         # check for a man page file found in later versions that use
   10850         # traditional section numbers instead
   10851         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10852 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10853 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10854 then :
   10855   printf %s "(cached) " >&6
   10856 else case e in #(
   10857   e) test "$cross_compiling" = yes &&
   10858   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10859 if test -r "/usr/share/man/man7/attributes.7"; then
   10860   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10861 else
   10862   ac_cv_file__usr_share_man_man7_attributes_7=no
   10863 fi ;;
   10864 esac
   10865 fi
   10866 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10867 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10868 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10869 then :
   10870   SYSV_MAN_SECTIONS=false
   10871 else case e in #(
   10872   e) SYSV_MAN_SECTIONS=true ;;
   10873 esac
   10874 fi
   10875 
   10876         ;;
   10877     *) SYSV_MAN_SECTIONS=false ;;
   10878 esac
   10879 
   10880 if test x$APP_MAN_SUFFIX = x    ; then
   10881     APP_MAN_SUFFIX=1
   10882 fi
   10883 if test x$APP_MAN_DIR = x    ; then
   10884     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10885 fi
   10886 
   10887 if test x$LIB_MAN_SUFFIX = x    ; then
   10888     LIB_MAN_SUFFIX=3
   10889 fi
   10890 if test x$LIB_MAN_DIR = x    ; then
   10891     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10892 fi
   10893 
   10894 if test x$FILE_MAN_SUFFIX = x    ; then
   10895     case $SYSV_MAN_SECTIONS in
   10896 	true)				FILE_MAN_SUFFIX=4  ;;
   10897 	*)				FILE_MAN_SUFFIX=5  ;;
   10898     esac
   10899 fi
   10900 if test x$FILE_MAN_DIR = x    ; then
   10901     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10902 fi
   10903 
   10904 if test x$MISC_MAN_SUFFIX = x    ; then
   10905     case $SYSV_MAN_SECTIONS in
   10906 	true)				MISC_MAN_SUFFIX=5  ;;
   10907 	*)				MISC_MAN_SUFFIX=7  ;;
   10908     esac
   10909 fi
   10910 if test x$MISC_MAN_DIR = x    ; then
   10911     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10912 fi
   10913 
   10914 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10915     case $SYSV_MAN_SECTIONS in
   10916 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10917 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10918     esac
   10919 fi
   10920 if test x$DRIVER_MAN_DIR = x    ; then
   10921     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10922 fi
   10923 
   10924 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10925     case $SYSV_MAN_SECTIONS in
   10926 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10927 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10928     esac
   10929 fi
   10930 if test x$ADMIN_MAN_DIR = x    ; then
   10931     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10932 fi
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 XORG_MAN_PAGE="X Version 11"
   10949 
   10950 MAN_SUBSTS="\
   10951 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10952 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10953 	-e 's|__xservername__|Xorg|g' \
   10954 	-e 's|__xconfigfile__|xorg.conf|g' \
   10955 	-e 's|__projectroot__|\$(prefix)|g' \
   10956 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10957 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10958 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10959 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10960 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10961 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10962 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10963 
   10964 
   10965 
   10966 
   10967 AM_DEFAULT_VERBOSITY=0
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 # Initialize Automake
   10976 am__api_version='1.18'
   10977 
   10978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   10979 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   10980 if test ${am_cv_sleep_fractional_seconds+y}
   10981 then :
   10982   printf %s "(cached) " >&6
   10983 else case e in #(
   10984   e) if sleep 0.001 2>/dev/null
   10985 then :
   10986   am_cv_sleep_fractional_seconds=yes
   10987 else case e in #(
   10988   e) am_cv_sleep_fractional_seconds=no ;;
   10989 esac
   10990 fi
   10991  ;;
   10992 esac
   10993 fi
   10994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   10995 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   10996 
   10997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   10998 printf %s "checking filesystem timestamp resolution... " >&6; }
   10999 if test ${am_cv_filesystem_timestamp_resolution+y}
   11000 then :
   11001   printf %s "(cached) " >&6
   11002 else case e in #(
   11003   e) # Default to the worst case.
   11004 am_cv_filesystem_timestamp_resolution=2
   11005 
   11006 # Only try to go finer than 1 sec if sleep can do it.
   11007 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   11008 # - 1 sec is not much of a win compared to 2 sec, and
   11009 # - it takes 2 seconds to perform the test whether 1 sec works.
   11010 #
   11011 # Instead, just use the default 2s on platforms that have 1s resolution,
   11012 # accept the extra 1s delay when using $sleep in the Automake tests, in
   11013 # exchange for not incurring the 2s delay for running the test for all
   11014 # packages.
   11015 #
   11016 am_try_resolutions=
   11017 if test "$am_cv_sleep_fractional_seconds" = yes; then
   11018   # Even a millisecond often causes a bunch of false positives,
   11019   # so just try a hundredth of a second. The time saved between .001 and
   11020   # .01 is not terribly consequential.
   11021   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   11022 fi
   11023 
   11024 # In order to catch current-generation FAT out, we must *modify* files
   11025 # that already exist; the *creation* timestamp is finer.  Use names
   11026 # that make ls -t sort them differently when they have equal
   11027 # timestamps than when they have distinct timestamps, keeping
   11028 # in mind that ls -t prints the *newest* file first.
   11029 rm -f conftest.ts?
   11030 : > conftest.ts1
   11031 : > conftest.ts2
   11032 : > conftest.ts3
   11033 
   11034 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   11035 # clobber the current shell's arguments. (Outer-level square brackets
   11036 # are removed by m4; they're present so that m4 does not expand
   11037 # <dollar><star>; be careful, easy to get confused.)
   11038 if (
   11039      set X `ls -t conftest.ts[12]` &&
   11040      {
   11041        test "$*" != "X conftest.ts1 conftest.ts2" ||
   11042        test "$*" != "X conftest.ts2 conftest.ts1";
   11043      }
   11044 ); then :; else
   11045   # If neither matched, then we have a broken ls.  This can happen
   11046   # if, for instance, CONFIG_SHELL is bash and it inherits a
   11047   # broken ls alias from the environment.  This has actually
   11048   # happened.  Such a system could not be considered "sane".
   11049   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   11050   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11051 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11052 as_fn_error $? "ls -t produces unexpected output.
   11053 Make sure there is not a broken ls alias in your environment.
   11054 See 'config.log' for more details" "$LINENO" 5; }
   11055 fi
   11056 
   11057 for am_try_res in $am_try_resolutions; do
   11058   # Any one fine-grained sleep might happen to cross the boundary
   11059   # between two values of a coarser actual resolution, but if we do
   11060   # two fine-grained sleeps in a row, at least one of them will fall
   11061   # entirely within a coarse interval.
   11062   echo alpha > conftest.ts1
   11063   sleep $am_try_res
   11064   echo beta > conftest.ts2
   11065   sleep $am_try_res
   11066   echo gamma > conftest.ts3
   11067 
   11068   # We assume that 'ls -t' will make use of high-resolution
   11069   # timestamps if the operating system supports them at all.
   11070   if (set X `ls -t conftest.ts?` &&
   11071       test "$2" = conftest.ts3 &&
   11072       test "$3" = conftest.ts2 &&
   11073       test "$4" = conftest.ts1); then
   11074     #
   11075     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   11076     # because we don't need to test make.
   11077     make_ok=true
   11078     if test $am_try_res != 1; then
   11079       # But if we've succeeded so far with a subsecond resolution, we
   11080       # have one more thing to check: make. It can happen that
   11081       # everything else supports the subsecond mtimes, but make doesn't;
   11082       # notably on macOS, which ships make 3.81 from 2006 (the last one
   11083       # released under GPLv2). https://bugs.gnu.org/68808
   11084       #
   11085       # We test $MAKE if it is defined in the environment, else "make".
   11086       # It might get overridden later, but our hope is that in practice
   11087       # it does not matter: it is the system "make" which is (by far)
   11088       # the most likely to be broken, whereas if the user overrides it,
   11089       # probably they did so with a better, or at least not worse, make.
   11090       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   11091       #
   11092       # Create a Makefile (real tab character here):
   11093       rm -f conftest.mk
   11094       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   11095       echo '	touch conftest.ts2' >>conftest.mk
   11096       #
   11097       # Now, running
   11098       #   touch conftest.ts1; touch conftest.ts2; make
   11099       # should touch ts1 because ts2 is newer. This could happen by luck,
   11100       # but most often, it will fail if make's support is insufficient. So
   11101       # test for several consecutive successes.
   11102       #
   11103       # (We reuse conftest.ts[12] because we still want to modify existing
   11104       # files, not create new ones, per above.)
   11105       n=0
   11106       make=${MAKE-make}
   11107       until test $n -eq 3; do
   11108         echo one > conftest.ts1
   11109         sleep $am_try_res
   11110         echo two > conftest.ts2 # ts2 should now be newer than ts1
   11111         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   11112           make_ok=false
   11113           break # out of $n loop
   11114         fi
   11115         n=`expr $n + 1`
   11116       done
   11117     fi
   11118     #
   11119     if $make_ok; then
   11120       # Everything we know to check worked out, so call this resolution good.
   11121       am_cv_filesystem_timestamp_resolution=$am_try_res
   11122       break # out of $am_try_res loop
   11123     fi
   11124     # Otherwise, we'll go on to check the next resolution.
   11125   fi
   11126 done
   11127 rm -f conftest.ts?
   11128 # (end _am_filesystem_timestamp_resolution)
   11129  ;;
   11130 esac
   11131 fi
   11132 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   11133 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   11134 
   11135 # This check should not be cached, as it may vary across builds of
   11136 # different projects.
   11137 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   11138 printf %s "checking whether build environment is sane... " >&6; }
   11139 # Reject unsafe characters in $srcdir or the absolute working directory
   11140 # name.  Accept space and tab only in the latter.
   11141 am_lf='
   11142 '
   11143 case `pwd` in
   11144   *[\\\"\#\$\&\'\`$am_lf]*)
   11145     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11146 printf '%s\n' "no" >&6; }
   11147     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   11148 esac
   11149 case $srcdir in
   11150   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   11151     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11152 printf '%s\n' "no" >&6; }
   11153     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   11154 esac
   11155 
   11156 # Do 'set' in a subshell so we don't clobber the current shell's
   11157 # arguments.  Must try -L first in case configure is actually a
   11158 # symlink; some systems play weird games with the mod time of symlinks
   11159 # (eg FreeBSD returns the mod time of the symlink's containing
   11160 # directory).
   11161 am_build_env_is_sane=no
   11162 am_has_slept=no
   11163 rm -f conftest.file
   11164 for am_try in 1 2; do
   11165   echo "timestamp, slept: $am_has_slept" > conftest.file
   11166   if (
   11167     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   11168     if test "$*" = "X"; then
   11169       # -L didn't work.
   11170       set X `ls -t "$srcdir/configure" conftest.file`
   11171     fi
   11172     test "$2" = conftest.file
   11173   ); then
   11174     am_build_env_is_sane=yes
   11175     break
   11176   fi
   11177   # Just in case.
   11178   sleep "$am_cv_filesystem_timestamp_resolution"
   11179   am_has_slept=yes
   11180 done
   11181 
   11182 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   11183 printf '%s\n' "$am_build_env_is_sane" >&6; }
   11184 if test "$am_build_env_is_sane" = no; then
   11185   as_fn_error $? "newly created file is older than distributed files!
   11186 Check your system clock" "$LINENO" 5
   11187 fi
   11188 
   11189 # If we didn't sleep, we still need to ensure time stamps of config.status and
   11190 # generated files are strictly newer.
   11191 am_sleep_pid=
   11192 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   11193 then :
   11194 
   11195 else case e in #(
   11196   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   11197   am_sleep_pid=$!
   11198  ;;
   11199 esac
   11200 fi
   11201 
   11202 rm -f conftest.file
   11203 
   11204 test "$program_prefix" != NONE &&
   11205   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   11206 # Use a double $ so make ignores it.
   11207 test "$program_suffix" != NONE &&
   11208   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   11209 # Double any \ or $.
   11210 # By default was 's,x,x', remove it if useless.
   11211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   11212 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   11213 
   11214 
   11215   if test x"${MISSING+set}" != xset; then
   11216   MISSING="\${SHELL} '$am_aux_dir/missing'"
   11217 fi
   11218 # Use eval to expand $SHELL
   11219 if eval "$MISSING --is-lightweight"; then
   11220   am_missing_run="$MISSING "
   11221 else
   11222   am_missing_run=
   11223   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   11224 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   11225 fi
   11226 
   11227 if test x"${install_sh+set}" != xset; then
   11228   case $am_aux_dir in
   11229   *\ * | *\	*)
   11230     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   11231   *)
   11232     install_sh="\${SHELL} $am_aux_dir/install-sh"
   11233   esac
   11234 fi
   11235 
   11236 # Installed binaries are usually stripped using 'strip' when the user
   11237 # run "make install-strip".  However 'strip' might not be the right
   11238 # tool to use in cross-compilation environments, therefore Automake
   11239 # will honor the 'STRIP' environment variable to overrule this program.
   11240 if test "$cross_compiling" != no; then
   11241   if test -n "$ac_tool_prefix"; then
   11242   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   11243 set dummy ${ac_tool_prefix}strip; ac_word=$2
   11244 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11245 printf %s "checking for $ac_word... " >&6; }
   11246 if test ${ac_cv_prog_STRIP+y}
   11247 then :
   11248   printf %s "(cached) " >&6
   11249 else case e in #(
   11250   e) if test -n "$STRIP"; then
   11251   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   11252 else
   11253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11254 for as_dir in $PATH
   11255 do
   11256   IFS=$as_save_IFS
   11257   case $as_dir in #(((
   11258     '') as_dir=./ ;;
   11259     */) ;;
   11260     *) as_dir=$as_dir/ ;;
   11261   esac
   11262     for ac_exec_ext in '' $ac_executable_extensions; do
   11263   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11264     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   11265     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11266     break 2
   11267   fi
   11268 done
   11269   done
   11270 IFS=$as_save_IFS
   11271 
   11272 fi ;;
   11273 esac
   11274 fi
   11275 STRIP=$ac_cv_prog_STRIP
   11276 if test -n "$STRIP"; then
   11277   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   11278 printf '%s\n' "$STRIP" >&6; }
   11279 else
   11280   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11281 printf '%s\n' "no" >&6; }
   11282 fi
   11283 
   11284 
   11285 fi
   11286 if test -z "$ac_cv_prog_STRIP"; then
   11287   ac_ct_STRIP=$STRIP
   11288   # Extract the first word of "strip", so it can be a program name with args.
   11289 set dummy strip; ac_word=$2
   11290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11291 printf %s "checking for $ac_word... " >&6; }
   11292 if test ${ac_cv_prog_ac_ct_STRIP+y}
   11293 then :
   11294   printf %s "(cached) " >&6
   11295 else case e in #(
   11296   e) if test -n "$ac_ct_STRIP"; then
   11297   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   11298 else
   11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11300 for as_dir in $PATH
   11301 do
   11302   IFS=$as_save_IFS
   11303   case $as_dir in #(((
   11304     '') as_dir=./ ;;
   11305     */) ;;
   11306     *) as_dir=$as_dir/ ;;
   11307   esac
   11308     for ac_exec_ext in '' $ac_executable_extensions; do
   11309   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11310     ac_cv_prog_ac_ct_STRIP="strip"
   11311     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11312     break 2
   11313   fi
   11314 done
   11315   done
   11316 IFS=$as_save_IFS
   11317 
   11318 fi ;;
   11319 esac
   11320 fi
   11321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   11322 if test -n "$ac_ct_STRIP"; then
   11323   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   11324 printf '%s\n' "$ac_ct_STRIP" >&6; }
   11325 else
   11326   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11327 printf '%s\n' "no" >&6; }
   11328 fi
   11329 
   11330   if test "x$ac_ct_STRIP" = x; then
   11331     STRIP=":"
   11332   else
   11333     case $cross_compiling:$ac_tool_warned in
   11334 yes:)
   11335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11336 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11337 ac_tool_warned=yes ;;
   11338 esac
   11339     STRIP=$ac_ct_STRIP
   11340   fi
   11341 else
   11342   STRIP="$ac_cv_prog_STRIP"
   11343 fi
   11344 
   11345 fi
   11346 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   11347 
   11348 
   11349   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   11350 printf %s "checking for a race-free mkdir -p... " >&6; }
   11351 if test -z "$MKDIR_P"; then
   11352   if test ${ac_cv_path_mkdir+y}
   11353 then :
   11354   printf %s "(cached) " >&6
   11355 else case e in #(
   11356   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11357 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   11358 do
   11359   IFS=$as_save_IFS
   11360   case $as_dir in #(((
   11361     '') as_dir=./ ;;
   11362     */) ;;
   11363     *) as_dir=$as_dir/ ;;
   11364   esac
   11365     for ac_prog in mkdir gmkdir; do
   11366 	 for ac_exec_ext in '' $ac_executable_extensions; do
   11367 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   11368 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   11369 	     'mkdir ('*'coreutils) '* | \
   11370 	     *'BusyBox '* | \
   11371 	     'mkdir (fileutils) '4.1*)
   11372 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   11373 	       break 3;;
   11374 	   esac
   11375 	 done
   11376        done
   11377   done
   11378 IFS=$as_save_IFS
   11379  ;;
   11380 esac
   11381 fi
   11382 
   11383   test -d ./--version && rmdir ./--version
   11384   if test ${ac_cv_path_mkdir+y}; then
   11385     MKDIR_P="$ac_cv_path_mkdir -p"
   11386   else
   11387     # As a last resort, use plain mkdir -p,
   11388     # in the hope it doesn't have the bugs of ancient mkdir.
   11389     MKDIR_P='mkdir -p'
   11390   fi
   11391 fi
   11392 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   11393 printf '%s\n' "$MKDIR_P" >&6; }
   11394 
   11395 for ac_prog in gawk mawk nawk awk 'busybox awk'
   11396 do
   11397   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11398 set dummy $ac_prog; ac_word=$2
   11399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11400 printf %s "checking for $ac_word... " >&6; }
   11401 if test ${ac_cv_prog_AWK+y}
   11402 then :
   11403   printf %s "(cached) " >&6
   11404 else case e in #(
   11405   e) if test -n "$AWK"; then
   11406   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   11407 else
   11408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11409 for as_dir in $PATH
   11410 do
   11411   IFS=$as_save_IFS
   11412   case $as_dir in #(((
   11413     '') as_dir=./ ;;
   11414     */) ;;
   11415     *) as_dir=$as_dir/ ;;
   11416   esac
   11417     for ac_exec_ext in '' $ac_executable_extensions; do
   11418   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11419     ac_cv_prog_AWK="$ac_prog"
   11420     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11421     break 2
   11422   fi
   11423 done
   11424   done
   11425 IFS=$as_save_IFS
   11426 
   11427 fi ;;
   11428 esac
   11429 fi
   11430 AWK=$ac_cv_prog_AWK
   11431 if test -n "$AWK"; then
   11432   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   11433 printf '%s\n' "$AWK" >&6; }
   11434 else
   11435   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11436 printf '%s\n' "no" >&6; }
   11437 fi
   11438 
   11439 
   11440   test -n "$AWK" && break
   11441 done
   11442 
   11443 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   11444 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   11445 set x ${MAKE-make}
   11446 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   11447 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   11448 then :
   11449   printf %s "(cached) " >&6
   11450 else case e in #(
   11451   e) cat >conftest.make <<\_ACEOF
   11452 SHELL = /bin/sh
   11453 all:
   11454 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   11455 _ACEOF
   11456 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   11457 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   11458   *@@@%%%=?*=@@@%%%*)
   11459     eval ac_cv_prog_make_${ac_make}_set=yes;;
   11460   *)
   11461     eval ac_cv_prog_make_${ac_make}_set=no;;
   11462 esac
   11463 rm -f conftest.make ;;
   11464 esac
   11465 fi
   11466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   11467   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11468 printf '%s\n' "yes" >&6; }
   11469   SET_MAKE=
   11470 else
   11471   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11472 printf '%s\n' "no" >&6; }
   11473   SET_MAKE="MAKE=${MAKE-make}"
   11474 fi
   11475 
   11476 rm -rf .tst 2>/dev/null
   11477 mkdir .tst 2>/dev/null
   11478 if test -d .tst; then
   11479   am__leading_dot=.
   11480 else
   11481   am__leading_dot=_
   11482 fi
   11483 rmdir .tst 2>/dev/null
   11484 
   11485 DEPDIR="${am__leading_dot}deps"
   11486 
   11487 ac_config_commands="$ac_config_commands depfiles"
   11488 
   11489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   11490 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   11491 cat > confinc.mk << 'END'
   11492 am__doit:
   11493 	@echo this is the am__doit target >confinc.out
   11494 .PHONY: am__doit
   11495 END
   11496 am__include="#"
   11497 am__quote=
   11498 # BSD make does it like this.
   11499 echo '.include "confinc.mk" # ignored' > confmf.BSD
   11500 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   11501 echo 'include confinc.mk # ignored' > confmf.GNU
   11502 _am_result=no
   11503 for s in GNU BSD; do
   11504   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   11505    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   11506    ac_status=$?
   11507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11508    (exit $ac_status); }
   11509   case $?:`cat confinc.out 2>/dev/null` in #(
   11510   '0:this is the am__doit target') :
   11511     case $s in #(
   11512   BSD) :
   11513     am__include='.include' am__quote='"' ;; #(
   11514   *) :
   11515     am__include='include' am__quote='' ;;
   11516 esac ;; #(
   11517   *) :
   11518      ;;
   11519 esac
   11520   if test "$am__include" != "#"; then
   11521     _am_result="yes ($s style)"
   11522     break
   11523   fi
   11524 done
   11525 rm -f confinc.* confmf.*
   11526 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   11527 printf '%s\n' "${_am_result}" >&6; }
   11528 
   11529 # Check whether --enable-dependency-tracking was given.
   11530 if test ${enable_dependency_tracking+y}
   11531 then :
   11532   enableval=$enable_dependency_tracking;
   11533 fi
   11534 
   11535 if test "x$enable_dependency_tracking" != xno; then
   11536   am_depcomp="$ac_aux_dir/depcomp"
   11537   AMDEPBACKSLASH='\'
   11538   am__nodep='_no'
   11539 fi
   11540  if test "x$enable_dependency_tracking" != xno; then
   11541   AMDEP_TRUE=
   11542   AMDEP_FALSE='#'
   11543 else
   11544   AMDEP_TRUE='#'
   11545   AMDEP_FALSE=
   11546 fi
   11547 
   11548 
   11549 am__rm_f_notfound=
   11550 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   11551 then :
   11552 
   11553 else case e in #(
   11554   e) am__rm_f_notfound='""' ;;
   11555 esac
   11556 fi
   11557 
   11558 
   11559 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   11560 printf %s "checking xargs -n works... " >&6; }
   11561 if test ${am_cv_xargs_n_works+y}
   11562 then :
   11563   printf %s "(cached) " >&6
   11564 else case e in #(
   11565   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   11566 3"
   11567 then :
   11568   am_cv_xargs_n_works=yes
   11569 else case e in #(
   11570   e) am_cv_xargs_n_works=no ;;
   11571 esac
   11572 fi ;;
   11573 esac
   11574 fi
   11575 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   11576 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   11577 if test "$am_cv_xargs_n_works" = yes
   11578 then :
   11579   am__xargs_n='xargs -n'
   11580 else case e in #(
   11581   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   11582  ;;
   11583 esac
   11584 fi
   11585 
   11586 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   11587   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   11588   # is not polluted with repeated "-I."
   11589   am__isrc=' -I$(srcdir)'
   11590   # test to see if srcdir already configured
   11591   if test -f $srcdir/config.status; then
   11592     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   11593   fi
   11594 fi
   11595 
   11596 # test whether we have cygpath
   11597 if test -z "$CYGPATH_W"; then
   11598   if (cygpath --version) >/dev/null 2>/dev/null; then
   11599     CYGPATH_W='cygpath -w'
   11600   else
   11601     CYGPATH_W=echo
   11602   fi
   11603 fi
   11604 
   11605 
   11606 # Define the identity of the package.
   11607  PACKAGE='xf86-video-nv'
   11608  VERSION='2.1.24'
   11609 
   11610 
   11611 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   11612 
   11613 
   11614 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   11615 
   11616 # Some tools Automake needs.
   11617 
   11618 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   11619 
   11620 
   11621 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   11622 
   11623 
   11624 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   11625 
   11626 
   11627 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   11628 
   11629 
   11630 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   11631 
   11632 # For better backward compatibility.  To be removed once Automake 1.9.x
   11633 # dies out for good.  For more background, see:
   11634 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   11635 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   11636 mkdir_p='$(MKDIR_P)'
   11637 
   11638 # We need awk for the "check" target (and possibly the TAP driver).  The
   11639 # system "awk" is bad on some platforms.
   11640 # Always define AMTAR for backward compatibility.  Yes, it's still used
   11641 # in the wild :-(  We should find a proper way to deprecate it ...
   11642 AMTAR='$${TAR-tar}'
   11643 
   11644 
   11645 # We'll loop over all known methods to create a tar archive until one works.
   11646 _am_tools='gnutar plaintar pax cpio none'
   11647 
   11648 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   11649       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   11650       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   11651       # and bug#13588).
   11652       am_max_uid=2097151 # 2^21 - 1
   11653       am_max_gid=$am_max_uid
   11654       # The $UID and $GID variables are not portable, so we need to resort
   11655       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   11656       # below are definitely unexpected, so allow the users to see them
   11657       # (that is, avoid stderr redirection).
   11658       am_uid=`id -u || echo unknown`
   11659       am_gid=`id -g || echo unknown`
   11660       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   11661 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   11662       if test x$am_uid = xunknown; then
   11663         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   11664 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   11665       elif test $am_uid -le $am_max_uid; then
   11666         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11667 printf '%s\n' "yes" >&6; }
   11668       else
   11669         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11670 printf '%s\n' "no" >&6; }
   11671         _am_tools=none
   11672       fi
   11673       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   11674 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   11675       if test x$gm_gid = xunknown; then
   11676         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   11677 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   11678       elif test $am_gid -le $am_max_gid; then
   11679         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11680 printf '%s\n' "yes" >&6; }
   11681       else
   11682         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11683 printf '%s\n' "no" >&6; }
   11684         _am_tools=none
   11685       fi
   11686 
   11687   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   11688 printf %s "checking how to create a ustar tar archive... " >&6; }
   11689 
   11690   # Go ahead even if we have the value already cached.  We do so because we
   11691   # need to set the values for the 'am__tar' and 'am__untar' variables.
   11692   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   11693 
   11694   for _am_tool in $_am_tools; do
   11695     case $_am_tool in
   11696     gnutar)
   11697       for _am_tar in tar gnutar gtar; do
   11698         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   11699    ($_am_tar --version) >&5 2>&5
   11700    ac_status=$?
   11701    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11702    (exit $ac_status); } && break
   11703       done
   11704       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   11705       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   11706       am__untar="$_am_tar -xf -"
   11707       ;;
   11708     plaintar)
   11709       # Must skip GNU tar: if it does not support --format= it doesn't create
   11710       # ustar tarball either.
   11711       (tar --version) >/dev/null 2>&1 && continue
   11712       am__tar='tar chf - "$$tardir"'
   11713       am__tar_='tar chf - "$tardir"'
   11714       am__untar='tar xf -'
   11715       ;;
   11716     pax)
   11717       am__tar='pax -L -x ustar -w "$$tardir"'
   11718       am__tar_='pax -L -x ustar -w "$tardir"'
   11719       am__untar='pax -r'
   11720       ;;
   11721     cpio)
   11722       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   11723       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   11724       am__untar='cpio -i -H ustar -d'
   11725       ;;
   11726     none)
   11727       am__tar=false
   11728       am__tar_=false
   11729       am__untar=false
   11730       ;;
   11731     esac
   11732 
   11733     # If the value was cached, stop now.  We just wanted to have am__tar
   11734     # and am__untar set.
   11735     test -n "${am_cv_prog_tar_ustar}" && break
   11736 
   11737     # tar/untar a dummy directory, and stop if the command works.
   11738     rm -rf conftest.dir
   11739     mkdir conftest.dir
   11740     echo GrepMe > conftest.dir/file
   11741     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   11742    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   11743    ac_status=$?
   11744    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11745    (exit $ac_status); }
   11746     rm -rf conftest.dir
   11747     if test -s conftest.tar; then
   11748       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   11749    ($am__untar <conftest.tar) >&5 2>&5
   11750    ac_status=$?
   11751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11752    (exit $ac_status); }
   11753       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   11754    (cat conftest.dir/file) >&5 2>&5
   11755    ac_status=$?
   11756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11757    (exit $ac_status); }
   11758       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   11759     fi
   11760   done
   11761   rm -rf conftest.dir
   11762 
   11763   if test ${am_cv_prog_tar_ustar+y}
   11764 then :
   11765   printf %s "(cached) " >&6
   11766 else case e in #(
   11767   e) am_cv_prog_tar_ustar=$_am_tool ;;
   11768 esac
   11769 fi
   11770 
   11771   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   11772 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 depcc="$CC"   am_compiler_list=
   11779 
   11780 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   11781 printf %s "checking dependency style of $depcc... " >&6; }
   11782 if test ${am_cv_CC_dependencies_compiler_type+y}
   11783 then :
   11784   printf %s "(cached) " >&6
   11785 else case e in #(
   11786   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11787   # We make a subdir and do the tests there.  Otherwise we can end up
   11788   # making bogus files that we don't know about and never remove.  For
   11789   # instance it was reported that on HP-UX the gcc test will end up
   11790   # making a dummy file named 'D' -- because '-MD' means "put the output
   11791   # in D".
   11792   rm -rf conftest.dir
   11793   mkdir conftest.dir
   11794   # Copy depcomp to subdir because otherwise we won't find it if we're
   11795   # using a relative directory.
   11796   cp "$am_depcomp" conftest.dir
   11797   cd conftest.dir
   11798   # We will build objects and dependencies in a subdirectory because
   11799   # it helps to detect inapplicable dependency modes.  For instance
   11800   # both Tru64's cc and ICC support -MD to output dependencies as a
   11801   # side effect of compilation, but ICC will put the dependencies in
   11802   # the current directory while Tru64 will put them in the object
   11803   # directory.
   11804   mkdir sub
   11805 
   11806   am_cv_CC_dependencies_compiler_type=none
   11807   if test "$am_compiler_list" = ""; then
   11808      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11809   fi
   11810   am__universal=false
   11811   case " $depcc " in #(
   11812      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   11813      esac
   11814 
   11815   for depmode in $am_compiler_list; do
   11816     # Setup a source with many dependencies, because some compilers
   11817     # like to wrap large dependency lists on column 80 (with \), and
   11818     # we should not choose a depcomp mode which is confused by this.
   11819     #
   11820     # We need to recreate these files for each test, as the compiler may
   11821     # overwrite some of them when testing with obscure command lines.
   11822     # This happens at least with the AIX C compiler.
   11823     : > sub/conftest.c
   11824     for i in 1 2 3 4 5 6; do
   11825       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11826       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   11827       # Solaris 10 /bin/sh.
   11828       echo '/* dummy */' > sub/conftst$i.h
   11829     done
   11830     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11831 
   11832     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   11833     # mode.  It turns out that the SunPro C++ compiler does not properly
   11834     # handle '-M -o', and we need to detect this.  Also, some Intel
   11835     # versions had trouble with output in subdirs.
   11836     am__obj=sub/conftest.${OBJEXT-o}
   11837     am__minus_obj="-o $am__obj"
   11838     case $depmode in
   11839     gcc)
   11840       # This depmode causes a compiler race in universal mode.
   11841       test "$am__universal" = false || continue
   11842       ;;
   11843     nosideeffect)
   11844       # After this tag, mechanisms are not by side-effect, so they'll
   11845       # only be used when explicitly requested.
   11846       if test "x$enable_dependency_tracking" = xyes; then
   11847 	continue
   11848       else
   11849 	break
   11850       fi
   11851       ;;
   11852     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   11853       # This compiler won't grok '-c -o', but also, the minuso test has
   11854       # not run yet.  These depmodes are late enough in the game, and
   11855       # so weak that their functioning should not be impacted.
   11856       am__obj=conftest.${OBJEXT-o}
   11857       am__minus_obj=
   11858       ;;
   11859     none) break ;;
   11860     esac
   11861     if depmode=$depmode \
   11862        source=sub/conftest.c object=$am__obj \
   11863        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11864        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   11865          >/dev/null 2>conftest.err &&
   11866        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11867        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11868        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   11869        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11870       # icc doesn't choke on unknown options, it will just issue warnings
   11871       # or remarks (even with -Werror).  So we grep stderr for any message
   11872       # that says an option was ignored or not supported.
   11873       # When given -MP, icc 7.0 and 7.1 complain thus:
   11874       #   icc: Command line warning: ignoring option '-M'; no argument required
   11875       # The diagnosis changed in icc 8.0:
   11876       #   icc: Command line remark: option '-MP' not supported
   11877       if (grep 'ignoring option' conftest.err ||
   11878           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11879         am_cv_CC_dependencies_compiler_type=$depmode
   11880         break
   11881       fi
   11882     fi
   11883   done
   11884 
   11885   cd ..
   11886   rm -rf conftest.dir
   11887 else
   11888   am_cv_CC_dependencies_compiler_type=none
   11889 fi
   11890  ;;
   11891 esac
   11892 fi
   11893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   11894 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   11895 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11896 
   11897  if
   11898   test "x$enable_dependency_tracking" != xno \
   11899   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11900   am__fastdepCC_TRUE=
   11901   am__fastdepCC_FALSE='#'
   11902 else
   11903   am__fastdepCC_TRUE='#'
   11904   am__fastdepCC_FALSE=
   11905 fi
   11906 
   11907 
   11908 # Variables for tags utilities; see am/tags.am
   11909 if test -z "$CTAGS"; then
   11910   CTAGS=ctags
   11911 fi
   11912 
   11913 if test -z "$ETAGS"; then
   11914   ETAGS=etags
   11915 fi
   11916 
   11917 if test -z "$CSCOPE"; then
   11918   CSCOPE=cscope
   11919 fi
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 # Initialize libtool
   11929 case `pwd` in
   11930   *\ * | *\	*)
   11931     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11932 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11933 esac
   11934 
   11935 
   11936 
   11937 macro_version='2.5.4'
   11938 macro_revision='2.5.4'
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 ltmain=$ac_aux_dir/ltmain.sh
   11954 
   11955 # Backslashify metacharacters that are still active within
   11956 # double-quoted strings.
   11957 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11958 
   11959 # Same as above, but do not quote variable references.
   11960 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11961 
   11962 # Sed substitution to delay expansion of an escaped shell variable in a
   11963 # double_quote_subst'ed string.
   11964 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11965 
   11966 # Sed substitution to delay expansion of an escaped single quote.
   11967 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11968 
   11969 # Sed substitution to avoid accidental globbing in evaled expressions
   11970 no_glob_subst='s/\*/\\\*/g'
   11971 
   11972 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11973 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11974 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11975 
   11976 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11977 printf %s "checking how to print strings... " >&6; }
   11978 # Test print first, because it will be a builtin if present.
   11979 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11980    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11981   ECHO='print -r --'
   11982 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11983   ECHO='printf %s\n'
   11984 else
   11985   # Use this function as a fallback that always works.
   11986   func_fallback_echo ()
   11987   {
   11988     eval 'cat <<_LTECHO_EOF
   11989 $1
   11990 _LTECHO_EOF'
   11991   }
   11992   ECHO='func_fallback_echo'
   11993 fi
   11994 
   11995 # func_echo_all arg...
   11996 # Invoke $ECHO with all args, space-separated.
   11997 func_echo_all ()
   11998 {
   11999     $ECHO ""
   12000 }
   12001 
   12002 case $ECHO in
   12003   printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   12004 printf '%s\n' "printf" >&6; } ;;
   12005   print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   12006 printf '%s\n' "print -r" >&6; } ;;
   12007   *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   12008 printf '%s\n' "cat" >&6; } ;;
   12009 esac
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   12025 printf %s "checking for a sed that does not truncate output... " >&6; }
   12026 if test ${ac_cv_path_SED+y}
   12027 then :
   12028   printf %s "(cached) " >&6
   12029 else case e in #(
   12030   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   12031      for ac_i in 1 2 3 4 5 6 7; do
   12032        ac_script="$ac_script$as_nl$ac_script"
   12033      done
   12034      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   12035      { ac_script=; unset ac_script;}
   12036      if test -z "$SED"; then
   12037   ac_path_SED_found=false
   12038   # Loop through the user's path and test for each of PROGNAME-LIST
   12039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12040 for as_dir in $PATH
   12041 do
   12042   IFS=$as_save_IFS
   12043   case $as_dir in #(((
   12044     '') as_dir=./ ;;
   12045     */) ;;
   12046     *) as_dir=$as_dir/ ;;
   12047   esac
   12048     for ac_prog in sed gsed
   12049    do
   12050     for ac_exec_ext in '' $ac_executable_extensions; do
   12051       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   12052       as_fn_executable_p "$ac_path_SED" || continue
   12053 # Check for GNU ac_path_SED and select it if it is found.
   12054   # Check for GNU $ac_path_SED
   12055 case `"$ac_path_SED" --version 2>&1` in #(
   12056 *GNU*)
   12057   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   12058 #(
   12059 *)
   12060   ac_count=0
   12061   printf %s 0123456789 >"conftest.in"
   12062   while :
   12063   do
   12064     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12065     mv "conftest.tmp" "conftest.in"
   12066     cp "conftest.in" "conftest.nl"
   12067     printf '%s\n' '' >> "conftest.nl"
   12068     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12069     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12070     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12071     if test $ac_count -gt ${ac_path_SED_max-0}; then
   12072       # Best one so far, save it but keep looking for a better one
   12073       ac_cv_path_SED="$ac_path_SED"
   12074       ac_path_SED_max=$ac_count
   12075     fi
   12076     # 10*(2^10) chars as input seems more than enough
   12077     test $ac_count -gt 10 && break
   12078   done
   12079   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12080 esac
   12081 
   12082       $ac_path_SED_found && break 3
   12083     done
   12084   done
   12085   done
   12086 IFS=$as_save_IFS
   12087   if test -z "$ac_cv_path_SED"; then
   12088     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   12089   fi
   12090 else
   12091   ac_cv_path_SED=$SED
   12092 fi
   12093  ;;
   12094 esac
   12095 fi
   12096 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   12097 printf '%s\n' "$ac_cv_path_SED" >&6; }
   12098  SED="$ac_cv_path_SED"
   12099   rm -f conftest.sed
   12100 
   12101 test -z "$SED" && SED=sed
   12102 Xsed="$SED -e 1s/^X//"
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   12115 printf %s "checking for grep that handles long lines and -e... " >&6; }
   12116 if test ${ac_cv_path_GREP+y}
   12117 then :
   12118   printf %s "(cached) " >&6
   12119 else case e in #(
   12120   e) if test -z "$GREP"; then
   12121   ac_path_GREP_found=false
   12122   # Loop through the user's path and test for each of PROGNAME-LIST
   12123   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12125 do
   12126   IFS=$as_save_IFS
   12127   case $as_dir in #(((
   12128     '') as_dir=./ ;;
   12129     */) ;;
   12130     *) as_dir=$as_dir/ ;;
   12131   esac
   12132     for ac_prog in grep ggrep
   12133    do
   12134     for ac_exec_ext in '' $ac_executable_extensions; do
   12135       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   12136       as_fn_executable_p "$ac_path_GREP" || continue
   12137 # Check for GNU ac_path_GREP and select it if it is found.
   12138   # Check for GNU $ac_path_GREP
   12139 case `"$ac_path_GREP" --version 2>&1` in #(
   12140 *GNU*)
   12141   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   12142 #(
   12143 *)
   12144   ac_count=0
   12145   printf %s 0123456789 >"conftest.in"
   12146   while :
   12147   do
   12148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12149     mv "conftest.tmp" "conftest.in"
   12150     cp "conftest.in" "conftest.nl"
   12151     printf '%s\n' 'GREP' >> "conftest.nl"
   12152     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12155     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   12156       # Best one so far, save it but keep looking for a better one
   12157       ac_cv_path_GREP="$ac_path_GREP"
   12158       ac_path_GREP_max=$ac_count
   12159     fi
   12160     # 10*(2^10) chars as input seems more than enough
   12161     test $ac_count -gt 10 && break
   12162   done
   12163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12164 esac
   12165 
   12166       $ac_path_GREP_found && break 3
   12167     done
   12168   done
   12169   done
   12170 IFS=$as_save_IFS
   12171   if test -z "$ac_cv_path_GREP"; then
   12172     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12173   fi
   12174 else
   12175   ac_cv_path_GREP=$GREP
   12176 fi
   12177  ;;
   12178 esac
   12179 fi
   12180 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   12181 printf '%s\n' "$ac_cv_path_GREP" >&6; }
   12182  GREP="$ac_cv_path_GREP"
   12183 
   12184 
   12185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   12186 printf %s "checking for egrep... " >&6; }
   12187 if test ${ac_cv_path_EGREP+y}
   12188 then :
   12189   printf %s "(cached) " >&6
   12190 else case e in #(
   12191   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   12192    then ac_cv_path_EGREP="$GREP -E"
   12193    else
   12194      if test -z "$EGREP"; then
   12195   ac_path_EGREP_found=false
   12196   # Loop through the user's path and test for each of PROGNAME-LIST
   12197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12199 do
   12200   IFS=$as_save_IFS
   12201   case $as_dir in #(((
   12202     '') as_dir=./ ;;
   12203     */) ;;
   12204     *) as_dir=$as_dir/ ;;
   12205   esac
   12206     for ac_prog in egrep
   12207    do
   12208     for ac_exec_ext in '' $ac_executable_extensions; do
   12209       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   12210       as_fn_executable_p "$ac_path_EGREP" || continue
   12211 # Check for GNU ac_path_EGREP and select it if it is found.
   12212   # Check for GNU $ac_path_EGREP
   12213 case `"$ac_path_EGREP" --version 2>&1` in #(
   12214 *GNU*)
   12215   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   12216 #(
   12217 *)
   12218   ac_count=0
   12219   printf %s 0123456789 >"conftest.in"
   12220   while :
   12221   do
   12222     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12223     mv "conftest.tmp" "conftest.in"
   12224     cp "conftest.in" "conftest.nl"
   12225     printf '%s\n' 'EGREP' >> "conftest.nl"
   12226     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12228     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12229     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   12230       # Best one so far, save it but keep looking for a better one
   12231       ac_cv_path_EGREP="$ac_path_EGREP"
   12232       ac_path_EGREP_max=$ac_count
   12233     fi
   12234     # 10*(2^10) chars as input seems more than enough
   12235     test $ac_count -gt 10 && break
   12236   done
   12237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12238 esac
   12239 
   12240       $ac_path_EGREP_found && break 3
   12241     done
   12242   done
   12243   done
   12244 IFS=$as_save_IFS
   12245   if test -z "$ac_cv_path_EGREP"; then
   12246     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12247   fi
   12248 else
   12249   ac_cv_path_EGREP=$EGREP
   12250 fi
   12251 
   12252    fi ;;
   12253 esac
   12254 fi
   12255 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   12256 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
   12257  EGREP="$ac_cv_path_EGREP"
   12258 
   12259          EGREP_TRADITIONAL=$EGREP
   12260  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   12261 
   12262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   12263 printf %s "checking for fgrep... " >&6; }
   12264 if test ${ac_cv_path_FGREP+y}
   12265 then :
   12266   printf %s "(cached) " >&6
   12267 else case e in #(
   12268   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   12269    then ac_cv_path_FGREP="$GREP -F"
   12270    else
   12271      if test -z "$FGREP"; then
   12272   ac_path_FGREP_found=false
   12273   # Loop through the user's path and test for each of PROGNAME-LIST
   12274   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12276 do
   12277   IFS=$as_save_IFS
   12278   case $as_dir in #(((
   12279     '') as_dir=./ ;;
   12280     */) ;;
   12281     *) as_dir=$as_dir/ ;;
   12282   esac
   12283     for ac_prog in fgrep
   12284    do
   12285     for ac_exec_ext in '' $ac_executable_extensions; do
   12286       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   12287       as_fn_executable_p "$ac_path_FGREP" || continue
   12288 # Check for GNU ac_path_FGREP and select it if it is found.
   12289   # Check for GNU $ac_path_FGREP
   12290 case `"$ac_path_FGREP" --version 2>&1` in #(
   12291 *GNU*)
   12292   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   12293 #(
   12294 *)
   12295   ac_count=0
   12296   printf %s 0123456789 >"conftest.in"
   12297   while :
   12298   do
   12299     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12300     mv "conftest.tmp" "conftest.in"
   12301     cp "conftest.in" "conftest.nl"
   12302     printf '%s\n' 'FGREP' >> "conftest.nl"
   12303     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12304     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12305     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12306     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   12307       # Best one so far, save it but keep looking for a better one
   12308       ac_cv_path_FGREP="$ac_path_FGREP"
   12309       ac_path_FGREP_max=$ac_count
   12310     fi
   12311     # 10*(2^10) chars as input seems more than enough
   12312     test $ac_count -gt 10 && break
   12313   done
   12314   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12315 esac
   12316 
   12317       $ac_path_FGREP_found && break 3
   12318     done
   12319   done
   12320   done
   12321 IFS=$as_save_IFS
   12322   if test -z "$ac_cv_path_FGREP"; then
   12323     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12324   fi
   12325 else
   12326   ac_cv_path_FGREP=$FGREP
   12327 fi
   12328 
   12329    fi ;;
   12330 esac
   12331 fi
   12332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12333 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
   12334  FGREP="$ac_cv_path_FGREP"
   12335 
   12336 
   12337 test -z "$GREP" && GREP=grep
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 # Check whether --with-gnu-ld was given.
   12358 if test ${with_gnu_ld+y}
   12359 then :
   12360   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12361 else case e in #(
   12362   e) with_gnu_ld=no ;;
   12363 esac
   12364 fi
   12365 
   12366 ac_prog=ld
   12367 if test yes = "$GCC"; then
   12368   # Check if gcc -print-prog-name=ld gives a path.
   12369   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12370 printf %s "checking for ld used by $CC... " >&6; }
   12371   case $host in
   12372   *-*-mingw* | *-*-windows*)
   12373     # gcc leaves a trailing carriage return, which upsets mingw
   12374     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12375   *)
   12376     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12377   esac
   12378   case $ac_prog in
   12379     # Accept absolute paths.
   12380     [\\/]* | ?:[\\/]*)
   12381       re_direlt='/[^/][^/]*/\.\./'
   12382       # Canonicalize the pathname of ld
   12383       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12384       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12385 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12386       done
   12387       test -z "$LD" && LD=$ac_prog
   12388       ;;
   12389   "")
   12390     # If it fails, then pretend we aren't using GCC.
   12391     ac_prog=ld
   12392     ;;
   12393   *)
   12394     # If it is relative, then search for the first ld in PATH.
   12395     with_gnu_ld=unknown
   12396     ;;
   12397   esac
   12398 elif test yes = "$with_gnu_ld"; then
   12399   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12400 printf %s "checking for GNU ld... " >&6; }
   12401 else
   12402   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12403 printf %s "checking for non-GNU ld... " >&6; }
   12404 fi
   12405 if test ${lt_cv_path_LD+y}
   12406 then :
   12407   printf %s "(cached) " >&6
   12408 else case e in #(
   12409   e) if test -z "$LD"; then
   12410   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12411   for ac_dir in $PATH; do
   12412     IFS=$lt_save_ifs
   12413     test -z "$ac_dir" && ac_dir=.
   12414     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12415       lt_cv_path_LD=$ac_dir/$ac_prog
   12416       # Check to see if the program is GNU ld.  I'd rather use --version,
   12417       # but apparently some variants of GNU ld only accept -v.
   12418       # Break only if it was the GNU/non-GNU ld that we prefer.
   12419       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12420       *GNU* | *'with BFD'*)
   12421 	test no != "$with_gnu_ld" && break
   12422 	;;
   12423       *)
   12424 	test yes != "$with_gnu_ld" && break
   12425 	;;
   12426       esac
   12427     fi
   12428   done
   12429   IFS=$lt_save_ifs
   12430 else
   12431   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12432 fi ;;
   12433 esac
   12434 fi
   12435 
   12436 LD=$lt_cv_path_LD
   12437 if test -n "$LD"; then
   12438   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12439 printf '%s\n' "$LD" >&6; }
   12440 else
   12441   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12442 printf '%s\n' "no" >&6; }
   12443 fi
   12444 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12445 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12446 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12447 if test ${lt_cv_prog_gnu_ld+y}
   12448 then :
   12449   printf %s "(cached) " >&6
   12450 else case e in #(
   12451   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12452 case `$LD -v 2>&1 </dev/null` in
   12453 *GNU* | *'with BFD'*)
   12454   lt_cv_prog_gnu_ld=yes
   12455   ;;
   12456 *)
   12457   lt_cv_prog_gnu_ld=no
   12458   ;;
   12459 esac ;;
   12460 esac
   12461 fi
   12462 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12463 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
   12464 with_gnu_ld=$lt_cv_prog_gnu_ld
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12475 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12476 if test ${lt_cv_path_NM+y}
   12477 then :
   12478   printf %s "(cached) " >&6
   12479 else case e in #(
   12480   e) if test -n "$NM"; then
   12481   # Let the user override the test.
   12482   lt_cv_path_NM=$NM
   12483 else
   12484   lt_nm_to_check=${ac_tool_prefix}nm
   12485   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12486     lt_nm_to_check="$lt_nm_to_check nm"
   12487   fi
   12488   for lt_tmp_nm in $lt_nm_to_check; do
   12489     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12490     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12491       IFS=$lt_save_ifs
   12492       test -z "$ac_dir" && ac_dir=.
   12493       tmp_nm=$ac_dir/$lt_tmp_nm
   12494       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12495 	# Check to see if the nm accepts a BSD-compat flag.
   12496 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12497 	#   nm: unknown option "B" ignored
   12498 	# Tru64's nm complains that /dev/null is an invalid object file
   12499 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12500 	case $build_os in
   12501 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   12502 	*) lt_bad_file=/dev/null ;;
   12503 	esac
   12504 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12505 	*$lt_bad_file* | *'Invalid file or object type'*)
   12506 	  lt_cv_path_NM="$tmp_nm -B"
   12507 	  break 2
   12508 	  ;;
   12509 	*)
   12510 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12511 	  */dev/null*)
   12512 	    lt_cv_path_NM="$tmp_nm -p"
   12513 	    break 2
   12514 	    ;;
   12515 	  *)
   12516 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12517 	    continue # so that we can try to find one that supports BSD flags
   12518 	    ;;
   12519 	  esac
   12520 	  ;;
   12521 	esac
   12522       fi
   12523     done
   12524     IFS=$lt_save_ifs
   12525   done
   12526   : ${lt_cv_path_NM=no}
   12527 fi ;;
   12528 esac
   12529 fi
   12530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12531 printf '%s\n' "$lt_cv_path_NM" >&6; }
   12532 if test no != "$lt_cv_path_NM"; then
   12533   NM=$lt_cv_path_NM
   12534 else
   12535   # Didn't find any BSD compatible name lister, look for dumpbin.
   12536   if test -n "$DUMPBIN"; then :
   12537     # Let the user override the test.
   12538   else
   12539     if test -n "$ac_tool_prefix"; then
   12540   for ac_prog in dumpbin "link -dump"
   12541   do
   12542     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12544 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12545 printf %s "checking for $ac_word... " >&6; }
   12546 if test ${ac_cv_prog_DUMPBIN+y}
   12547 then :
   12548   printf %s "(cached) " >&6
   12549 else case e in #(
   12550   e) if test -n "$DUMPBIN"; then
   12551   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12552 else
   12553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12554 for as_dir in $PATH
   12555 do
   12556   IFS=$as_save_IFS
   12557   case $as_dir in #(((
   12558     '') as_dir=./ ;;
   12559     */) ;;
   12560     *) as_dir=$as_dir/ ;;
   12561   esac
   12562     for ac_exec_ext in '' $ac_executable_extensions; do
   12563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12564     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12565     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12566     break 2
   12567   fi
   12568 done
   12569   done
   12570 IFS=$as_save_IFS
   12571 
   12572 fi ;;
   12573 esac
   12574 fi
   12575 DUMPBIN=$ac_cv_prog_DUMPBIN
   12576 if test -n "$DUMPBIN"; then
   12577   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12578 printf '%s\n' "$DUMPBIN" >&6; }
   12579 else
   12580   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12581 printf '%s\n' "no" >&6; }
   12582 fi
   12583 
   12584 
   12585     test -n "$DUMPBIN" && break
   12586   done
   12587 fi
   12588 if test -z "$DUMPBIN"; then
   12589   ac_ct_DUMPBIN=$DUMPBIN
   12590   for ac_prog in dumpbin "link -dump"
   12591 do
   12592   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12593 set dummy $ac_prog; ac_word=$2
   12594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12595 printf %s "checking for $ac_word... " >&6; }
   12596 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12597 then :
   12598   printf %s "(cached) " >&6
   12599 else case e in #(
   12600   e) if test -n "$ac_ct_DUMPBIN"; then
   12601   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12602 else
   12603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12604 for as_dir in $PATH
   12605 do
   12606   IFS=$as_save_IFS
   12607   case $as_dir in #(((
   12608     '') as_dir=./ ;;
   12609     */) ;;
   12610     *) as_dir=$as_dir/ ;;
   12611   esac
   12612     for ac_exec_ext in '' $ac_executable_extensions; do
   12613   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12614     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12615     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12616     break 2
   12617   fi
   12618 done
   12619   done
   12620 IFS=$as_save_IFS
   12621 
   12622 fi ;;
   12623 esac
   12624 fi
   12625 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12626 if test -n "$ac_ct_DUMPBIN"; then
   12627   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12628 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
   12629 else
   12630   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12631 printf '%s\n' "no" >&6; }
   12632 fi
   12633 
   12634 
   12635   test -n "$ac_ct_DUMPBIN" && break
   12636 done
   12637 
   12638   if test "x$ac_ct_DUMPBIN" = x; then
   12639     DUMPBIN=":"
   12640   else
   12641     case $cross_compiling:$ac_tool_warned in
   12642 yes:)
   12643 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12644 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12645 ac_tool_warned=yes ;;
   12646 esac
   12647     DUMPBIN=$ac_ct_DUMPBIN
   12648   fi
   12649 fi
   12650 
   12651     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12652     *COFF*)
   12653       DUMPBIN="$DUMPBIN -symbols -headers"
   12654       ;;
   12655     *)
   12656       DUMPBIN=:
   12657       ;;
   12658     esac
   12659   fi
   12660 
   12661   if test : != "$DUMPBIN"; then
   12662     NM=$DUMPBIN
   12663   fi
   12664 fi
   12665 test -z "$NM" && NM=nm
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12673 printf %s "checking the name lister ($NM) interface... " >&6; }
   12674 if test ${lt_cv_nm_interface+y}
   12675 then :
   12676   printf %s "(cached) " >&6
   12677 else case e in #(
   12678   e) lt_cv_nm_interface="BSD nm"
   12679   echo "int some_variable = 0;" > conftest.$ac_ext
   12680   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12681   (eval "$ac_compile" 2>conftest.err)
   12682   cat conftest.err >&5
   12683   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12684   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12685   cat conftest.err >&5
   12686   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12687   cat conftest.out >&5
   12688   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12689     lt_cv_nm_interface="MS dumpbin"
   12690   fi
   12691   rm -f conftest* ;;
   12692 esac
   12693 fi
   12694 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12695 printf '%s\n' "$lt_cv_nm_interface" >&6; }
   12696 
   12697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12698 printf %s "checking whether ln -s works... " >&6; }
   12699 LN_S=$as_ln_s
   12700 if test "$LN_S" = "ln -s"; then
   12701   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12702 printf '%s\n' "yes" >&6; }
   12703 else
   12704   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12705 printf '%s\n' "no, using $LN_S" >&6; }
   12706 fi
   12707 
   12708 # find the maximum length of command line arguments
   12709 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12710 printf %s "checking the maximum length of command line arguments... " >&6; }
   12711 if test ${lt_cv_sys_max_cmd_len+y}
   12712 then :
   12713   printf %s "(cached) " >&6
   12714 else case e in #(
   12715   e)   i=0
   12716   teststring=ABCD
   12717 
   12718   case $build_os in
   12719   msdosdjgpp*)
   12720     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12721     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12722     # during glob expansion).  Even if it were fixed, the result of this
   12723     # check would be larger than it should be.
   12724     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12725     ;;
   12726 
   12727   gnu* | ironclad*)
   12728     # Under GNU Hurd and Ironclad, this test is not required because there
   12729     # is no limit to the length of command line arguments.
   12730     # Libtool will interpret -1 as no limit whatsoever
   12731     lt_cv_sys_max_cmd_len=-1;
   12732     ;;
   12733 
   12734   cygwin* | mingw* | windows* | cegcc*)
   12735     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12736     # about 5 minutes as the teststring grows exponentially.
   12737     # Worse, since 9x/ME are not pre-emptively multitasking,
   12738     # you end up with a "frozen" computer, even though with patience
   12739     # the test eventually succeeds (with a max line length of 256k).
   12740     # Instead, let's just punt: use the minimum linelength reported by
   12741     # all of the supported platforms: 8192 (on NT/2K/XP).
   12742     lt_cv_sys_max_cmd_len=8192;
   12743     ;;
   12744 
   12745   mint*)
   12746     # On MiNT this can take a long time and run out of memory.
   12747     lt_cv_sys_max_cmd_len=8192;
   12748     ;;
   12749 
   12750   amigaos*)
   12751     # On AmigaOS with pdksh, this test takes hours, literally.
   12752     # So we just punt and use a minimum line length of 8192.
   12753     lt_cv_sys_max_cmd_len=8192;
   12754     ;;
   12755 
   12756   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12757     # This has been around since 386BSD, at least.  Likely further.
   12758     if test -x /sbin/sysctl; then
   12759       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12760     elif test -x /usr/sbin/sysctl; then
   12761       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12762     else
   12763       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12764     fi
   12765     # And add a safety zone
   12766     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12767     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12768     ;;
   12769 
   12770   interix*)
   12771     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12772     lt_cv_sys_max_cmd_len=196608
   12773     ;;
   12774 
   12775   os2*)
   12776     # The test takes a long time on OS/2.
   12777     lt_cv_sys_max_cmd_len=8192
   12778     ;;
   12779 
   12780   osf*)
   12781     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12782     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12783     # nice to cause kernel panics so lets avoid the loop below.
   12784     # First set a reasonable default.
   12785     lt_cv_sys_max_cmd_len=16384
   12786     #
   12787     if test -x /sbin/sysconfig; then
   12788       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12789         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12790       esac
   12791     fi
   12792     ;;
   12793   sco3.2v5*)
   12794     lt_cv_sys_max_cmd_len=102400
   12795     ;;
   12796   sysv5* | sco5v6* | sysv4.2uw2*)
   12797     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12798     if test -n "$kargmax"; then
   12799       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12800     else
   12801       lt_cv_sys_max_cmd_len=32768
   12802     fi
   12803     ;;
   12804   *)
   12805     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12806     if test -n "$lt_cv_sys_max_cmd_len" && \
   12807        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12808       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12809       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12810     else
   12811       # Make teststring a little bigger before we do anything with it.
   12812       # a 1K string should be a reasonable start.
   12813       for i in 1 2 3 4 5 6 7 8; do
   12814         teststring=$teststring$teststring
   12815       done
   12816       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12817       # If test is not a shell built-in, we'll probably end up computing a
   12818       # maximum length that is only half of the actual maximum length, but
   12819       # we can't tell.
   12820       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12821 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12822 	      test 17 != "$i" # 1/2 MB should be enough
   12823       do
   12824         i=`expr $i + 1`
   12825         teststring=$teststring$teststring
   12826       done
   12827       # Only check the string length outside the loop.
   12828       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12829       teststring=
   12830       # Add a significant safety factor because C++ compilers can tack on
   12831       # massive amounts of additional arguments before passing them to the
   12832       # linker.  It appears as though 1/2 is a usable value.
   12833       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12834     fi
   12835     ;;
   12836   esac
   12837  ;;
   12838 esac
   12839 fi
   12840 
   12841 if test -n "$lt_cv_sys_max_cmd_len"; then
   12842   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12843 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
   12844 else
   12845   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12846 printf '%s\n' "none" >&6; }
   12847 fi
   12848 max_cmd_len=$lt_cv_sys_max_cmd_len
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 : ${CP="cp -f"}
   12856 : ${MV="mv -f"}
   12857 : ${RM="rm -f"}
   12858 
   12859 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12860   lt_unset=unset
   12861 else
   12862   lt_unset=false
   12863 fi
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 # test EBCDIC or ASCII
   12870 case `echo X|tr X '\101'` in
   12871  A) # ASCII based system
   12872     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12873   lt_SP2NL='tr \040 \012'
   12874   lt_NL2SP='tr \015\012 \040\040'
   12875   ;;
   12876  *) # EBCDIC based system
   12877   lt_SP2NL='tr \100 \n'
   12878   lt_NL2SP='tr \r\n \100\100'
   12879   ;;
   12880 esac
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12891 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12892 if test ${lt_cv_to_host_file_cmd+y}
   12893 then :
   12894   printf %s "(cached) " >&6
   12895 else case e in #(
   12896   e) case $host in
   12897   *-*-mingw* )
   12898     case $build in
   12899       *-*-mingw* | *-*-windows* ) # actually msys
   12900         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12901         ;;
   12902       *-*-cygwin* )
   12903         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12904         ;;
   12905       * ) # otherwise, assume *nix
   12906         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12907         ;;
   12908     esac
   12909     ;;
   12910   *-*-cygwin* )
   12911     case $build in
   12912       *-*-mingw* | *-*-windows* ) # actually msys
   12913         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12914         ;;
   12915       *-*-cygwin* )
   12916         lt_cv_to_host_file_cmd=func_convert_file_noop
   12917         ;;
   12918       * ) # otherwise, assume *nix
   12919         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12920         ;;
   12921     esac
   12922     ;;
   12923   * ) # unhandled hosts (and "normal" native builds)
   12924     lt_cv_to_host_file_cmd=func_convert_file_noop
   12925     ;;
   12926 esac
   12927  ;;
   12928 esac
   12929 fi
   12930 
   12931 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12933 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12940 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12941 if test ${lt_cv_to_tool_file_cmd+y}
   12942 then :
   12943   printf %s "(cached) " >&6
   12944 else case e in #(
   12945   e) #assume ordinary cross tools, or native build.
   12946 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12947 case $host in
   12948   *-*-mingw* | *-*-windows* )
   12949     case $build in
   12950       *-*-mingw* | *-*-windows* ) # actually msys
   12951         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12952         ;;
   12953     esac
   12954     ;;
   12955 esac
   12956  ;;
   12957 esac
   12958 fi
   12959 
   12960 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12962 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12969 printf %s "checking for $LD option to reload object files... " >&6; }
   12970 if test ${lt_cv_ld_reload_flag+y}
   12971 then :
   12972   printf %s "(cached) " >&6
   12973 else case e in #(
   12974   e) lt_cv_ld_reload_flag='-r' ;;
   12975 esac
   12976 fi
   12977 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12978 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
   12979 reload_flag=$lt_cv_ld_reload_flag
   12980 case $reload_flag in
   12981 "" | " "*) ;;
   12982 *) reload_flag=" $reload_flag" ;;
   12983 esac
   12984 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12985 case $host_os in
   12986   cygwin* | mingw* | windows* | pw32* | cegcc*)
   12987     if test yes != "$GCC"; then
   12988       reload_cmds=false
   12989     fi
   12990     ;;
   12991   darwin*)
   12992     if test yes = "$GCC"; then
   12993       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12994     else
   12995       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12996     fi
   12997     ;;
   12998 esac
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 # Extract the first word of "file", so it can be a program name with args.
   13009 set dummy file; ac_word=$2
   13010 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13011 printf %s "checking for $ac_word... " >&6; }
   13012 if test ${ac_cv_prog_FILECMD+y}
   13013 then :
   13014   printf %s "(cached) " >&6
   13015 else case e in #(
   13016   e) if test -n "$FILECMD"; then
   13017   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   13018 else
   13019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13020 for as_dir in $PATH
   13021 do
   13022   IFS=$as_save_IFS
   13023   case $as_dir in #(((
   13024     '') as_dir=./ ;;
   13025     */) ;;
   13026     *) as_dir=$as_dir/ ;;
   13027   esac
   13028     for ac_exec_ext in '' $ac_executable_extensions; do
   13029   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13030     ac_cv_prog_FILECMD="file"
   13031     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13032     break 2
   13033   fi
   13034 done
   13035   done
   13036 IFS=$as_save_IFS
   13037 
   13038   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   13039 fi ;;
   13040 esac
   13041 fi
   13042 FILECMD=$ac_cv_prog_FILECMD
   13043 if test -n "$FILECMD"; then
   13044   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   13045 printf '%s\n' "$FILECMD" >&6; }
   13046 else
   13047   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13048 printf '%s\n' "no" >&6; }
   13049 fi
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 if test -n "$ac_tool_prefix"; then
   13059   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   13060 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   13061 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13062 printf %s "checking for $ac_word... " >&6; }
   13063 if test ${ac_cv_prog_OBJDUMP+y}
   13064 then :
   13065   printf %s "(cached) " >&6
   13066 else case e in #(
   13067   e) if test -n "$OBJDUMP"; then
   13068   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   13069 else
   13070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13071 for as_dir in $PATH
   13072 do
   13073   IFS=$as_save_IFS
   13074   case $as_dir in #(((
   13075     '') as_dir=./ ;;
   13076     */) ;;
   13077     *) as_dir=$as_dir/ ;;
   13078   esac
   13079     for ac_exec_ext in '' $ac_executable_extensions; do
   13080   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13081     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   13082     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13083     break 2
   13084   fi
   13085 done
   13086   done
   13087 IFS=$as_save_IFS
   13088 
   13089 fi ;;
   13090 esac
   13091 fi
   13092 OBJDUMP=$ac_cv_prog_OBJDUMP
   13093 if test -n "$OBJDUMP"; then
   13094   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   13095 printf '%s\n' "$OBJDUMP" >&6; }
   13096 else
   13097   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13098 printf '%s\n' "no" >&6; }
   13099 fi
   13100 
   13101 
   13102 fi
   13103 if test -z "$ac_cv_prog_OBJDUMP"; then
   13104   ac_ct_OBJDUMP=$OBJDUMP
   13105   # Extract the first word of "objdump", so it can be a program name with args.
   13106 set dummy objdump; ac_word=$2
   13107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13108 printf %s "checking for $ac_word... " >&6; }
   13109 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   13110 then :
   13111   printf %s "(cached) " >&6
   13112 else case e in #(
   13113   e) if test -n "$ac_ct_OBJDUMP"; then
   13114   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   13115 else
   13116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13117 for as_dir in $PATH
   13118 do
   13119   IFS=$as_save_IFS
   13120   case $as_dir in #(((
   13121     '') as_dir=./ ;;
   13122     */) ;;
   13123     *) as_dir=$as_dir/ ;;
   13124   esac
   13125     for ac_exec_ext in '' $ac_executable_extensions; do
   13126   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13127     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   13128     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13129     break 2
   13130   fi
   13131 done
   13132   done
   13133 IFS=$as_save_IFS
   13134 
   13135 fi ;;
   13136 esac
   13137 fi
   13138 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   13139 if test -n "$ac_ct_OBJDUMP"; then
   13140   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   13141 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   13142 else
   13143   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13144 printf '%s\n' "no" >&6; }
   13145 fi
   13146 
   13147   if test "x$ac_ct_OBJDUMP" = x; then
   13148     OBJDUMP="false"
   13149   else
   13150     case $cross_compiling:$ac_tool_warned in
   13151 yes:)
   13152 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13153 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13154 ac_tool_warned=yes ;;
   13155 esac
   13156     OBJDUMP=$ac_ct_OBJDUMP
   13157   fi
   13158 else
   13159   OBJDUMP="$ac_cv_prog_OBJDUMP"
   13160 fi
   13161 
   13162 test -z "$OBJDUMP" && OBJDUMP=objdump
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   13173 printf %s "checking how to recognize dependent libraries... " >&6; }
   13174 if test ${lt_cv_deplibs_check_method+y}
   13175 then :
   13176   printf %s "(cached) " >&6
   13177 else case e in #(
   13178   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   13179 lt_cv_file_magic_test_file=
   13180 lt_cv_deplibs_check_method='unknown'
   13181 # Need to set the preceding variable on all platforms that support
   13182 # interlibrary dependencies.
   13183 # 'none' -- dependencies not supported.
   13184 # 'unknown' -- same as none, but documents that we really don't know.
   13185 # 'pass_all' -- all dependencies passed with no checks.
   13186 # 'file_magic [[regex]]' -- check by looking for files in library path
   13187 # that responds to the $file_magic_cmd with a given extended regex.
   13188 # If you have 'file' or equivalent on your system and you're not sure
   13189 # whether 'pass_all' will *always* work, you probably want this one.
   13190 
   13191 case $host_os in
   13192 aix[4-9]*)
   13193   lt_cv_deplibs_check_method=pass_all
   13194   ;;
   13195 
   13196 beos*)
   13197   lt_cv_deplibs_check_method=pass_all
   13198   ;;
   13199 
   13200 bsdi[45]*)
   13201   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   13202   lt_cv_file_magic_cmd='$FILECMD -L'
   13203   lt_cv_file_magic_test_file=/shlib/libc.so
   13204   ;;
   13205 
   13206 cygwin*)
   13207   # func_win32_libid is a shell function defined in ltmain.sh
   13208   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   13209   lt_cv_file_magic_cmd='func_win32_libid'
   13210   ;;
   13211 
   13212 mingw* | windows* | pw32*)
   13213   # Base MSYS/MinGW do not provide the 'file' command needed by
   13214   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   13215   # unless we find 'file', for example because we are cross-compiling.
   13216   if ( file / ) >/dev/null 2>&1; then
   13217     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   13218     lt_cv_file_magic_cmd='func_win32_libid'
   13219   else
   13220     # Keep this pattern in sync with the one in func_win32_libid.
   13221     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   13222     lt_cv_file_magic_cmd='$OBJDUMP -f'
   13223   fi
   13224   ;;
   13225 
   13226 cegcc*)
   13227   # use the weaker test based on 'objdump'. See mingw*.
   13228   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   13229   lt_cv_file_magic_cmd='$OBJDUMP -f'
   13230   ;;
   13231 
   13232 darwin* | rhapsody*)
   13233   lt_cv_deplibs_check_method=pass_all
   13234   ;;
   13235 
   13236 freebsd* | dragonfly* | midnightbsd*)
   13237   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13238     case $host_cpu in
   13239     i*86 )
   13240       # Not sure whether the presence of OpenBSD here was a mistake.
   13241       # Let's accept both of them until this is cleared up.
   13242       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   13243       lt_cv_file_magic_cmd=$FILECMD
   13244       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   13245       ;;
   13246     esac
   13247   else
   13248     lt_cv_deplibs_check_method=pass_all
   13249   fi
   13250   ;;
   13251 
   13252 haiku*)
   13253   lt_cv_deplibs_check_method=pass_all
   13254   ;;
   13255 
   13256 hpux10.20* | hpux11*)
   13257   lt_cv_file_magic_cmd=$FILECMD
   13258   case $host_cpu in
   13259   ia64*)
   13260     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   13261     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   13262     ;;
   13263   hppa*64*)
   13264     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]'
   13265     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   13266     ;;
   13267   *)
   13268     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   13269     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   13270     ;;
   13271   esac
   13272   ;;
   13273 
   13274 interix[3-9]*)
   13275   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   13276   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   13277   ;;
   13278 
   13279 irix5* | irix6* | nonstopux*)
   13280   case $LD in
   13281   *-32|*"-32 ") libmagic=32-bit;;
   13282   *-n32|*"-n32 ") libmagic=N32;;
   13283   *-64|*"-64 ") libmagic=64-bit;;
   13284   *) libmagic=never-match;;
   13285   esac
   13286   lt_cv_deplibs_check_method=pass_all
   13287   ;;
   13288 
   13289 # This must be glibc/ELF.
   13290 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13291   lt_cv_deplibs_check_method=pass_all
   13292   ;;
   13293 
   13294 *-mlibc)
   13295   lt_cv_deplibs_check_method=pass_all
   13296   ;;
   13297 
   13298 netbsd* | netbsdelf*-gnu)
   13299   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13301   else
   13302     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13303   fi
   13304   ;;
   13305 
   13306 newos6*)
   13307   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13308   lt_cv_file_magic_cmd=$FILECMD
   13309   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13310   ;;
   13311 
   13312 *nto* | *qnx*)
   13313   lt_cv_deplibs_check_method=pass_all
   13314   ;;
   13315 
   13316 openbsd*)
   13317   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13318     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13319   else
   13320     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13321   fi
   13322   ;;
   13323 
   13324 osf3* | osf4* | osf5*)
   13325   lt_cv_deplibs_check_method=pass_all
   13326   ;;
   13327 
   13328 rdos*)
   13329   lt_cv_deplibs_check_method=pass_all
   13330   ;;
   13331 
   13332 serenity*)
   13333   lt_cv_deplibs_check_method=pass_all
   13334   ;;
   13335 
   13336 solaris*)
   13337   lt_cv_deplibs_check_method=pass_all
   13338   ;;
   13339 
   13340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13341   lt_cv_deplibs_check_method=pass_all
   13342   ;;
   13343 
   13344 sysv4 | sysv4.3*)
   13345   case $host_vendor in
   13346   motorola)
   13347     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]'
   13348     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13349     ;;
   13350   ncr)
   13351     lt_cv_deplibs_check_method=pass_all
   13352     ;;
   13353   sequent)
   13354     lt_cv_file_magic_cmd='/bin/file'
   13355     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13356     ;;
   13357   sni)
   13358     lt_cv_file_magic_cmd='/bin/file'
   13359     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13360     lt_cv_file_magic_test_file=/lib/libc.so
   13361     ;;
   13362   siemens)
   13363     lt_cv_deplibs_check_method=pass_all
   13364     ;;
   13365   pc)
   13366     lt_cv_deplibs_check_method=pass_all
   13367     ;;
   13368   esac
   13369   ;;
   13370 
   13371 tpf*)
   13372   lt_cv_deplibs_check_method=pass_all
   13373   ;;
   13374 os2*)
   13375   lt_cv_deplibs_check_method=pass_all
   13376   ;;
   13377 esac
   13378  ;;
   13379 esac
   13380 fi
   13381 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13382 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
   13383 
   13384 file_magic_glob=
   13385 want_nocaseglob=no
   13386 if test "$build" = "$host"; then
   13387   case $host_os in
   13388   mingw* | windows* | pw32*)
   13389     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13390       want_nocaseglob=yes
   13391     else
   13392       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13393     fi
   13394     ;;
   13395   esac
   13396 fi
   13397 
   13398 file_magic_cmd=$lt_cv_file_magic_cmd
   13399 deplibs_check_method=$lt_cv_deplibs_check_method
   13400 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 if test -n "$ac_tool_prefix"; then
   13424   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13425 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13426 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13427 printf %s "checking for $ac_word... " >&6; }
   13428 if test ${ac_cv_prog_DLLTOOL+y}
   13429 then :
   13430   printf %s "(cached) " >&6
   13431 else case e in #(
   13432   e) if test -n "$DLLTOOL"; then
   13433   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13434 else
   13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13436 for as_dir in $PATH
   13437 do
   13438   IFS=$as_save_IFS
   13439   case $as_dir in #(((
   13440     '') as_dir=./ ;;
   13441     */) ;;
   13442     *) as_dir=$as_dir/ ;;
   13443   esac
   13444     for ac_exec_ext in '' $ac_executable_extensions; do
   13445   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13446     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13447     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13448     break 2
   13449   fi
   13450 done
   13451   done
   13452 IFS=$as_save_IFS
   13453 
   13454 fi ;;
   13455 esac
   13456 fi
   13457 DLLTOOL=$ac_cv_prog_DLLTOOL
   13458 if test -n "$DLLTOOL"; then
   13459   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13460 printf '%s\n' "$DLLTOOL" >&6; }
   13461 else
   13462   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13463 printf '%s\n' "no" >&6; }
   13464 fi
   13465 
   13466 
   13467 fi
   13468 if test -z "$ac_cv_prog_DLLTOOL"; then
   13469   ac_ct_DLLTOOL=$DLLTOOL
   13470   # Extract the first word of "dlltool", so it can be a program name with args.
   13471 set dummy dlltool; ac_word=$2
   13472 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13473 printf %s "checking for $ac_word... " >&6; }
   13474 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13475 then :
   13476   printf %s "(cached) " >&6
   13477 else case e in #(
   13478   e) if test -n "$ac_ct_DLLTOOL"; then
   13479   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13480 else
   13481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13482 for as_dir in $PATH
   13483 do
   13484   IFS=$as_save_IFS
   13485   case $as_dir in #(((
   13486     '') as_dir=./ ;;
   13487     */) ;;
   13488     *) as_dir=$as_dir/ ;;
   13489   esac
   13490     for ac_exec_ext in '' $ac_executable_extensions; do
   13491   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13492     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13493     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13494     break 2
   13495   fi
   13496 done
   13497   done
   13498 IFS=$as_save_IFS
   13499 
   13500 fi ;;
   13501 esac
   13502 fi
   13503 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13504 if test -n "$ac_ct_DLLTOOL"; then
   13505   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13506 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   13507 else
   13508   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13509 printf '%s\n' "no" >&6; }
   13510 fi
   13511 
   13512   if test "x$ac_ct_DLLTOOL" = x; then
   13513     DLLTOOL="false"
   13514   else
   13515     case $cross_compiling:$ac_tool_warned in
   13516 yes:)
   13517 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13518 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13519 ac_tool_warned=yes ;;
   13520 esac
   13521     DLLTOOL=$ac_ct_DLLTOOL
   13522   fi
   13523 else
   13524   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13525 fi
   13526 
   13527 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13539 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13540 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13541 then :
   13542   printf %s "(cached) " >&6
   13543 else case e in #(
   13544   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13545 
   13546 case $host_os in
   13547 cygwin* | mingw* | windows* | pw32* | cegcc*)
   13548   # two different shell functions defined in ltmain.sh;
   13549   # decide which one to use based on capabilities of $DLLTOOL
   13550   case `$DLLTOOL --help 2>&1` in
   13551   *--identify-strict*)
   13552     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13553     ;;
   13554   *)
   13555     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13556     ;;
   13557   esac
   13558   ;;
   13559 *)
   13560   # fallback: assume linklib IS sharedlib
   13561   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13562   ;;
   13563 esac
   13564  ;;
   13565 esac
   13566 fi
   13567 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13568 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13569 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13570 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 if test -n "$ac_tool_prefix"; then
   13579   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13580 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13581 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13582 printf %s "checking for $ac_word... " >&6; }
   13583 if test ${ac_cv_prog_RANLIB+y}
   13584 then :
   13585   printf %s "(cached) " >&6
   13586 else case e in #(
   13587   e) if test -n "$RANLIB"; then
   13588   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13589 else
   13590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13591 for as_dir in $PATH
   13592 do
   13593   IFS=$as_save_IFS
   13594   case $as_dir in #(((
   13595     '') as_dir=./ ;;
   13596     */) ;;
   13597     *) as_dir=$as_dir/ ;;
   13598   esac
   13599     for ac_exec_ext in '' $ac_executable_extensions; do
   13600   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13601     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13602     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13603     break 2
   13604   fi
   13605 done
   13606   done
   13607 IFS=$as_save_IFS
   13608 
   13609 fi ;;
   13610 esac
   13611 fi
   13612 RANLIB=$ac_cv_prog_RANLIB
   13613 if test -n "$RANLIB"; then
   13614   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13615 printf '%s\n' "$RANLIB" >&6; }
   13616 else
   13617   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13618 printf '%s\n' "no" >&6; }
   13619 fi
   13620 
   13621 
   13622 fi
   13623 if test -z "$ac_cv_prog_RANLIB"; then
   13624   ac_ct_RANLIB=$RANLIB
   13625   # Extract the first word of "ranlib", so it can be a program name with args.
   13626 set dummy ranlib; ac_word=$2
   13627 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13628 printf %s "checking for $ac_word... " >&6; }
   13629 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13630 then :
   13631   printf %s "(cached) " >&6
   13632 else case e in #(
   13633   e) if test -n "$ac_ct_RANLIB"; then
   13634   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13635 else
   13636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13637 for as_dir in $PATH
   13638 do
   13639   IFS=$as_save_IFS
   13640   case $as_dir in #(((
   13641     '') as_dir=./ ;;
   13642     */) ;;
   13643     *) as_dir=$as_dir/ ;;
   13644   esac
   13645     for ac_exec_ext in '' $ac_executable_extensions; do
   13646   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13647     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13648     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13649     break 2
   13650   fi
   13651 done
   13652   done
   13653 IFS=$as_save_IFS
   13654 
   13655 fi ;;
   13656 esac
   13657 fi
   13658 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13659 if test -n "$ac_ct_RANLIB"; then
   13660   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13661 printf '%s\n' "$ac_ct_RANLIB" >&6; }
   13662 else
   13663   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13664 printf '%s\n' "no" >&6; }
   13665 fi
   13666 
   13667   if test "x$ac_ct_RANLIB" = x; then
   13668     RANLIB=":"
   13669   else
   13670     case $cross_compiling:$ac_tool_warned in
   13671 yes:)
   13672 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13673 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13674 ac_tool_warned=yes ;;
   13675 esac
   13676     RANLIB=$ac_ct_RANLIB
   13677   fi
   13678 else
   13679   RANLIB="$ac_cv_prog_RANLIB"
   13680 fi
   13681 
   13682 if test -n "$ac_tool_prefix"; then
   13683   for ac_prog in ar
   13684   do
   13685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13687 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13688 printf %s "checking for $ac_word... " >&6; }
   13689 if test ${ac_cv_prog_AR+y}
   13690 then :
   13691   printf %s "(cached) " >&6
   13692 else case e in #(
   13693   e) if test -n "$AR"; then
   13694   ac_cv_prog_AR="$AR" # Let the user override the test.
   13695 else
   13696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13697 for as_dir in $PATH
   13698 do
   13699   IFS=$as_save_IFS
   13700   case $as_dir in #(((
   13701     '') as_dir=./ ;;
   13702     */) ;;
   13703     *) as_dir=$as_dir/ ;;
   13704   esac
   13705     for ac_exec_ext in '' $ac_executable_extensions; do
   13706   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13707     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13708     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13709     break 2
   13710   fi
   13711 done
   13712   done
   13713 IFS=$as_save_IFS
   13714 
   13715 fi ;;
   13716 esac
   13717 fi
   13718 AR=$ac_cv_prog_AR
   13719 if test -n "$AR"; then
   13720   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13721 printf '%s\n' "$AR" >&6; }
   13722 else
   13723   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13724 printf '%s\n' "no" >&6; }
   13725 fi
   13726 
   13727 
   13728     test -n "$AR" && break
   13729   done
   13730 fi
   13731 if test -z "$AR"; then
   13732   ac_ct_AR=$AR
   13733   for ac_prog in ar
   13734 do
   13735   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13736 set dummy $ac_prog; ac_word=$2
   13737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13738 printf %s "checking for $ac_word... " >&6; }
   13739 if test ${ac_cv_prog_ac_ct_AR+y}
   13740 then :
   13741   printf %s "(cached) " >&6
   13742 else case e in #(
   13743   e) if test -n "$ac_ct_AR"; then
   13744   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13745 else
   13746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13747 for as_dir in $PATH
   13748 do
   13749   IFS=$as_save_IFS
   13750   case $as_dir in #(((
   13751     '') as_dir=./ ;;
   13752     */) ;;
   13753     *) as_dir=$as_dir/ ;;
   13754   esac
   13755     for ac_exec_ext in '' $ac_executable_extensions; do
   13756   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13757     ac_cv_prog_ac_ct_AR="$ac_prog"
   13758     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13759     break 2
   13760   fi
   13761 done
   13762   done
   13763 IFS=$as_save_IFS
   13764 
   13765 fi ;;
   13766 esac
   13767 fi
   13768 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13769 if test -n "$ac_ct_AR"; then
   13770   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13771 printf '%s\n' "$ac_ct_AR" >&6; }
   13772 else
   13773   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13774 printf '%s\n' "no" >&6; }
   13775 fi
   13776 
   13777 
   13778   test -n "$ac_ct_AR" && break
   13779 done
   13780 
   13781   if test "x$ac_ct_AR" = x; then
   13782     AR="false"
   13783   else
   13784     case $cross_compiling:$ac_tool_warned in
   13785 yes:)
   13786 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13787 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13788 ac_tool_warned=yes ;;
   13789 esac
   13790     AR=$ac_ct_AR
   13791   fi
   13792 fi
   13793 
   13794 : ${AR=ar}
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13802 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13803 # higher priority because that's what people were doing historically (setting
   13804 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13805 # variable obsoleted/removed.
   13806 
   13807 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13808 lt_ar_flags=$AR_FLAGS
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13816 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13824 printf %s "checking for archiver @FILE support... " >&6; }
   13825 if test ${lt_cv_ar_at_file+y}
   13826 then :
   13827   printf %s "(cached) " >&6
   13828 else case e in #(
   13829   e) lt_cv_ar_at_file=no
   13830    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13831 /* end confdefs.h.  */
   13832 
   13833 int
   13834 main (void)
   13835 {
   13836 
   13837   ;
   13838   return 0;
   13839 }
   13840 _ACEOF
   13841 if ac_fn_c_try_compile "$LINENO"
   13842 then :
   13843   echo conftest.$ac_objext > conftest.lst
   13844       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13845       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13846   (eval $lt_ar_try) 2>&5
   13847   ac_status=$?
   13848   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13849   test $ac_status = 0; }
   13850       if test 0 -eq "$ac_status"; then
   13851 	# Ensure the archiver fails upon bogus file names.
   13852 	rm -f conftest.$ac_objext libconftest.a
   13853 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13854   (eval $lt_ar_try) 2>&5
   13855   ac_status=$?
   13856   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13857   test $ac_status = 0; }
   13858 	if test 0 -ne "$ac_status"; then
   13859           lt_cv_ar_at_file=@
   13860         fi
   13861       fi
   13862       rm -f conftest.* libconftest.a
   13863 
   13864 fi
   13865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13866    ;;
   13867 esac
   13868 fi
   13869 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13870 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
   13871 
   13872 if test no = "$lt_cv_ar_at_file"; then
   13873   archiver_list_spec=
   13874 else
   13875   archiver_list_spec=$lt_cv_ar_at_file
   13876 fi
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 if test -n "$ac_tool_prefix"; then
   13885   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13886 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13887 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13888 printf %s "checking for $ac_word... " >&6; }
   13889 if test ${ac_cv_prog_STRIP+y}
   13890 then :
   13891   printf %s "(cached) " >&6
   13892 else case e in #(
   13893   e) if test -n "$STRIP"; then
   13894   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13895 else
   13896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13897 for as_dir in $PATH
   13898 do
   13899   IFS=$as_save_IFS
   13900   case $as_dir in #(((
   13901     '') as_dir=./ ;;
   13902     */) ;;
   13903     *) as_dir=$as_dir/ ;;
   13904   esac
   13905     for ac_exec_ext in '' $ac_executable_extensions; do
   13906   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13907     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13908     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13909     break 2
   13910   fi
   13911 done
   13912   done
   13913 IFS=$as_save_IFS
   13914 
   13915 fi ;;
   13916 esac
   13917 fi
   13918 STRIP=$ac_cv_prog_STRIP
   13919 if test -n "$STRIP"; then
   13920   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13921 printf '%s\n' "$STRIP" >&6; }
   13922 else
   13923   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13924 printf '%s\n' "no" >&6; }
   13925 fi
   13926 
   13927 
   13928 fi
   13929 if test -z "$ac_cv_prog_STRIP"; then
   13930   ac_ct_STRIP=$STRIP
   13931   # Extract the first word of "strip", so it can be a program name with args.
   13932 set dummy strip; ac_word=$2
   13933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13934 printf %s "checking for $ac_word... " >&6; }
   13935 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13936 then :
   13937   printf %s "(cached) " >&6
   13938 else case e in #(
   13939   e) if test -n "$ac_ct_STRIP"; then
   13940   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13941 else
   13942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13943 for as_dir in $PATH
   13944 do
   13945   IFS=$as_save_IFS
   13946   case $as_dir in #(((
   13947     '') as_dir=./ ;;
   13948     */) ;;
   13949     *) as_dir=$as_dir/ ;;
   13950   esac
   13951     for ac_exec_ext in '' $ac_executable_extensions; do
   13952   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13953     ac_cv_prog_ac_ct_STRIP="strip"
   13954     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13955     break 2
   13956   fi
   13957 done
   13958   done
   13959 IFS=$as_save_IFS
   13960 
   13961 fi ;;
   13962 esac
   13963 fi
   13964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13965 if test -n "$ac_ct_STRIP"; then
   13966   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13967 printf '%s\n' "$ac_ct_STRIP" >&6; }
   13968 else
   13969   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13970 printf '%s\n' "no" >&6; }
   13971 fi
   13972 
   13973   if test "x$ac_ct_STRIP" = x; then
   13974     STRIP=":"
   13975   else
   13976     case $cross_compiling:$ac_tool_warned in
   13977 yes:)
   13978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13979 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13980 ac_tool_warned=yes ;;
   13981 esac
   13982     STRIP=$ac_ct_STRIP
   13983   fi
   13984 else
   13985   STRIP="$ac_cv_prog_STRIP"
   13986 fi
   13987 
   13988 test -z "$STRIP" && STRIP=:
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 test -z "$RANLIB" && RANLIB=:
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 # Determine commands to create old-style static archives.
   14004 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   14005 old_postinstall_cmds='chmod 644 $oldlib'
   14006 old_postuninstall_cmds=
   14007 
   14008 if test -n "$RANLIB"; then
   14009   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   14010   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   14011 fi
   14012 
   14013 case $host_os in
   14014   darwin*)
   14015     lock_old_archive_extraction=yes ;;
   14016   *)
   14017     lock_old_archive_extraction=no ;;
   14018 esac
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 # If no C compiler was specified, use CC.
   14059 LTCC=${LTCC-"$CC"}
   14060 
   14061 # If no C compiler flags were specified, use CFLAGS.
   14062 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14063 
   14064 # Allow CC to be a program name with arguments.
   14065 compiler=$CC
   14066 
   14067 
   14068 # Check for command to grab the raw symbol name followed by C symbol from nm.
   14069 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   14070 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   14071 if test ${lt_cv_sys_global_symbol_pipe+y}
   14072 then :
   14073   printf %s "(cached) " >&6
   14074 else case e in #(
   14075   e)
   14076 # These are sane defaults that work on at least a few old systems.
   14077 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   14078 
   14079 # Character class describing NM global symbol codes.
   14080 symcode='[BCDEGRST]'
   14081 
   14082 # Regexp to match symbols that can be accessed directly from C.
   14083 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   14084 
   14085 # Define system-specific variables.
   14086 case $host_os in
   14087 aix*)
   14088   symcode='[BCDT]'
   14089   ;;
   14090 cygwin* | mingw* | windows* | pw32* | cegcc*)
   14091   symcode='[ABCDGISTW]'
   14092   ;;
   14093 hpux*)
   14094   if test ia64 = "$host_cpu"; then
   14095     symcode='[ABCDEGRST]'
   14096   fi
   14097   ;;
   14098 irix* | nonstopux*)
   14099   symcode='[BCDEGRST]'
   14100   ;;
   14101 osf*)
   14102   symcode='[BCDEGQRST]'
   14103   ;;
   14104 solaris*)
   14105   symcode='[BCDRT]'
   14106   ;;
   14107 sco3.2v5*)
   14108   symcode='[DT]'
   14109   ;;
   14110 sysv4.2uw2*)
   14111   symcode='[DT]'
   14112   ;;
   14113 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   14114   symcode='[ABDT]'
   14115   ;;
   14116 sysv4)
   14117   symcode='[DFNSTU]'
   14118   ;;
   14119 esac
   14120 
   14121 # If we're using GNU nm, then use its standard symbol codes.
   14122 case `$NM -V 2>&1` in
   14123 *GNU* | *'with BFD'*)
   14124   symcode='[ABCDGIRSTW]' ;;
   14125 esac
   14126 
   14127 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14128   # Gets list of data symbols to import.
   14129   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   14130   # Adjust the below global symbol transforms to fixup imported variables.
   14131   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   14132   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   14133   lt_c_name_lib_hook="\
   14134   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   14135   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   14136 else
   14137   # Disable hooks by default.
   14138   lt_cv_sys_global_symbol_to_import=
   14139   lt_cdecl_hook=
   14140   lt_c_name_hook=
   14141   lt_c_name_lib_hook=
   14142 fi
   14143 
   14144 # Transform an extracted symbol line into a proper C declaration.
   14145 # Some systems (esp. on ia64) link data and code symbols differently,
   14146 # so use this general approach.
   14147 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   14148 $lt_cdecl_hook\
   14149 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   14150 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   14151 
   14152 # Transform an extracted symbol line into symbol name and symbol address
   14153 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   14154 $lt_c_name_hook\
   14155 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   14156 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   14157 
   14158 # Transform an extracted symbol line into symbol name with lib prefix and
   14159 # symbol address.
   14160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   14161 $lt_c_name_lib_hook\
   14162 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   14163 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   14164 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   14165 
   14166 # Handle CRLF in mingw tool chain
   14167 opt_cr=
   14168 case $build_os in
   14169 mingw* | windows*)
   14170   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   14171   ;;
   14172 esac
   14173 
   14174 # Try without a prefix underscore, then with it.
   14175 for ac_symprfx in "" "_"; do
   14176 
   14177   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   14178   symxfrm="\\1 $ac_symprfx\\2 \\2"
   14179 
   14180   # Write the raw and C identifiers.
   14181   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14182     # Fake it for dumpbin and say T for any non-static function,
   14183     # D for any global variable and I for any imported variable.
   14184     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   14185     # which start with @ or ?.
   14186     lt_cv_sys_global_symbol_pipe="$AWK '"\
   14187 "     {last_section=section; section=\$ 3};"\
   14188 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   14189 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   14190 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   14191 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   14192 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   14193 "     \$ 0!~/External *\|/{next};"\
   14194 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   14195 "     {if(hide[section]) next};"\
   14196 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   14197 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   14198 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   14199 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   14200 "     ' prfx=^$ac_symprfx"
   14201   else
   14202     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   14203   fi
   14204   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   14205 
   14206   # Check to see that the pipe works correctly.
   14207   pipe_works=no
   14208 
   14209   rm -f conftest*
   14210   cat > conftest.$ac_ext <<_LT_EOF
   14211 #ifdef __cplusplus
   14212 extern "C" {
   14213 #endif
   14214 char nm_test_var;
   14215 void nm_test_func(void);
   14216 void nm_test_func(void){}
   14217 #ifdef __cplusplus
   14218 }
   14219 #endif
   14220 int main(void){nm_test_var='a';nm_test_func();return(0);}
   14221 _LT_EOF
   14222 
   14223   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14224   (eval $ac_compile) 2>&5
   14225   ac_status=$?
   14226   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14227   test $ac_status = 0; }; then
   14228     # Now try to grab the symbols.
   14229     nlist=conftest.nm
   14230     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   14231     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   14232       # Try sorting and uniquifying the output.
   14233       if sort "$nlist" | uniq > "$nlist"T; then
   14234 	mv -f "$nlist"T "$nlist"
   14235       else
   14236 	rm -f "$nlist"T
   14237       fi
   14238 
   14239       # Make sure that we snagged all the symbols we need.
   14240       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   14241 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   14242 	  cat <<_LT_EOF > conftest.$ac_ext
   14243 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   14244 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   14245 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   14246    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   14247 # define LT_DLSYM_CONST
   14248 #elif defined __osf__
   14249 /* This system does not cope well with relocations in const data.  */
   14250 # define LT_DLSYM_CONST
   14251 #else
   14252 # define LT_DLSYM_CONST const
   14253 #endif
   14254 
   14255 #ifdef __cplusplus
   14256 extern "C" {
   14257 #endif
   14258 
   14259 _LT_EOF
   14260 	  # Now generate the symbol file.
   14261 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   14262 
   14263 	  cat <<_LT_EOF >> conftest.$ac_ext
   14264 
   14265 /* The mapping between symbol names and symbols.  */
   14266 LT_DLSYM_CONST struct {
   14267   const char *name;
   14268   void       *address;
   14269 }
   14270 lt__PROGRAM__LTX_preloaded_symbols[] =
   14271 {
   14272   { "@PROGRAM@", (void *) 0 },
   14273 _LT_EOF
   14274 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   14275 	  cat <<\_LT_EOF >> conftest.$ac_ext
   14276   {0, (void *) 0}
   14277 };
   14278 
   14279 /* This works around a problem in FreeBSD linker */
   14280 #ifdef FREEBSD_WORKAROUND
   14281 static const void *lt_preloaded_setup() {
   14282   return lt__PROGRAM__LTX_preloaded_symbols;
   14283 }
   14284 #endif
   14285 
   14286 #ifdef __cplusplus
   14287 }
   14288 #endif
   14289 _LT_EOF
   14290 	  # Now try linking the two files.
   14291 	  mv conftest.$ac_objext conftstm.$ac_objext
   14292 	  lt_globsym_save_LIBS=$LIBS
   14293 	  lt_globsym_save_CFLAGS=$CFLAGS
   14294 	  LIBS=conftstm.$ac_objext
   14295 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14296 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14297   (eval $ac_link) 2>&5
   14298   ac_status=$?
   14299   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14300   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14301 	    pipe_works=yes
   14302 	  fi
   14303 	  LIBS=$lt_globsym_save_LIBS
   14304 	  CFLAGS=$lt_globsym_save_CFLAGS
   14305 	else
   14306 	  echo "cannot find nm_test_func in $nlist" >&5
   14307 	fi
   14308       else
   14309 	echo "cannot find nm_test_var in $nlist" >&5
   14310       fi
   14311     else
   14312       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14313     fi
   14314   else
   14315     echo "$progname: failed program was:" >&5
   14316     cat conftest.$ac_ext >&5
   14317   fi
   14318   rm -rf conftest* conftst*
   14319 
   14320   # Do not use the global_symbol_pipe unless it works.
   14321   if test yes = "$pipe_works"; then
   14322     break
   14323   else
   14324     lt_cv_sys_global_symbol_pipe=
   14325   fi
   14326 done
   14327  ;;
   14328 esac
   14329 fi
   14330 
   14331 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14332   lt_cv_sys_global_symbol_to_cdecl=
   14333 fi
   14334 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14335   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14336 printf '%s\n' "failed" >&6; }
   14337 else
   14338   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14339 printf '%s\n' "ok" >&6; }
   14340 fi
   14341 
   14342 # Response file support.
   14343 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14344   nm_file_list_spec='@'
   14345 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14346   nm_file_list_spec='@'
   14347 fi
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14386 printf %s "checking for sysroot... " >&6; }
   14387 
   14388 # Check whether --with-sysroot was given.
   14389 if test ${with_sysroot+y}
   14390 then :
   14391   withval=$with_sysroot;
   14392 else case e in #(
   14393   e) with_sysroot=no ;;
   14394 esac
   14395 fi
   14396 
   14397 
   14398 lt_sysroot=
   14399 case $with_sysroot in #(
   14400  yes)
   14401    if test yes = "$GCC"; then
   14402      # Trim trailing / since we'll always append absolute paths and we want
   14403      # to avoid //, if only for less confusing output for the user.
   14404      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   14405    fi
   14406    ;; #(
   14407  /*)
   14408    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14409    ;; #(
   14410  no|'')
   14411    ;; #(
   14412  *)
   14413    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14414 printf '%s\n' "$with_sysroot" >&6; }
   14415    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14416    ;;
   14417 esac
   14418 
   14419  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14420 printf '%s\n' "${lt_sysroot:-no}" >&6; }
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14427 printf %s "checking for a working dd... " >&6; }
   14428 if test ${ac_cv_path_lt_DD+y}
   14429 then :
   14430   printf %s "(cached) " >&6
   14431 else case e in #(
   14432   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14433 cat conftest.i conftest.i >conftest2.i
   14434 : ${lt_DD:=$DD}
   14435 if test -z "$lt_DD"; then
   14436   ac_path_lt_DD_found=false
   14437   # Loop through the user's path and test for each of PROGNAME-LIST
   14438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14439 for as_dir in $PATH
   14440 do
   14441   IFS=$as_save_IFS
   14442   case $as_dir in #(((
   14443     '') as_dir=./ ;;
   14444     */) ;;
   14445     *) as_dir=$as_dir/ ;;
   14446   esac
   14447     for ac_prog in dd
   14448    do
   14449     for ac_exec_ext in '' $ac_executable_extensions; do
   14450       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14451       as_fn_executable_p "$ac_path_lt_DD" || continue
   14452 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14453   cmp -s conftest.i conftest.out \
   14454   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14455 fi
   14456       $ac_path_lt_DD_found && break 3
   14457     done
   14458   done
   14459   done
   14460 IFS=$as_save_IFS
   14461   if test -z "$ac_cv_path_lt_DD"; then
   14462     :
   14463   fi
   14464 else
   14465   ac_cv_path_lt_DD=$lt_DD
   14466 fi
   14467 
   14468 rm -f conftest.i conftest2.i conftest.out ;;
   14469 esac
   14470 fi
   14471 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14472 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
   14473 
   14474 
   14475 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14476 printf %s "checking how to truncate binary pipes... " >&6; }
   14477 if test ${lt_cv_truncate_bin+y}
   14478 then :
   14479   printf %s "(cached) " >&6
   14480 else case e in #(
   14481   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14482 cat conftest.i conftest.i >conftest2.i
   14483 lt_cv_truncate_bin=
   14484 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14485   cmp -s conftest.i conftest.out \
   14486   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14487 fi
   14488 rm -f conftest.i conftest2.i conftest.out
   14489 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14490 esac
   14491 fi
   14492 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14493 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14502 func_cc_basename ()
   14503 {
   14504     for cc_temp in $*""; do
   14505       case $cc_temp in
   14506         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14507         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14508         \-*) ;;
   14509         *) break;;
   14510       esac
   14511     done
   14512     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14513 }
   14514 
   14515 # Check whether --enable-libtool-lock was given.
   14516 if test ${enable_libtool_lock+y}
   14517 then :
   14518   enableval=$enable_libtool_lock;
   14519 fi
   14520 
   14521 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14522 
   14523 # Some flags need to be propagated to the compiler or linker for good
   14524 # libtool support.
   14525 case $host in
   14526 ia64-*-hpux*)
   14527   # Find out what ABI is being produced by ac_compile, and set mode
   14528   # options accordingly.
   14529   echo 'int i;' > conftest.$ac_ext
   14530   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14531   (eval $ac_compile) 2>&5
   14532   ac_status=$?
   14533   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14534   test $ac_status = 0; }; then
   14535     case `$FILECMD conftest.$ac_objext` in
   14536       *ELF-32*)
   14537 	HPUX_IA64_MODE=32
   14538 	;;
   14539       *ELF-64*)
   14540 	HPUX_IA64_MODE=64
   14541 	;;
   14542     esac
   14543   fi
   14544   rm -rf conftest*
   14545   ;;
   14546 *-*-irix6*)
   14547   # Find out what ABI is being produced by ac_compile, and set linker
   14548   # options accordingly.
   14549   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14550   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14551   (eval $ac_compile) 2>&5
   14552   ac_status=$?
   14553   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14554   test $ac_status = 0; }; then
   14555     if test yes = "$lt_cv_prog_gnu_ld"; then
   14556       case `$FILECMD conftest.$ac_objext` in
   14557 	*32-bit*)
   14558 	  LD="${LD-ld} -melf32bsmip"
   14559 	  ;;
   14560 	*N32*)
   14561 	  LD="${LD-ld} -melf32bmipn32"
   14562 	  ;;
   14563 	*64-bit*)
   14564 	  LD="${LD-ld} -melf64bmip"
   14565 	;;
   14566       esac
   14567     else
   14568       case `$FILECMD conftest.$ac_objext` in
   14569 	*32-bit*)
   14570 	  LD="${LD-ld} -32"
   14571 	  ;;
   14572 	*N32*)
   14573 	  LD="${LD-ld} -n32"
   14574 	  ;;
   14575 	*64-bit*)
   14576 	  LD="${LD-ld} -64"
   14577 	  ;;
   14578       esac
   14579     fi
   14580   fi
   14581   rm -rf conftest*
   14582   ;;
   14583 
   14584 mips64*-*linux*)
   14585   # Find out what ABI is being produced by ac_compile, and set linker
   14586   # options accordingly.
   14587   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14588   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14589   (eval $ac_compile) 2>&5
   14590   ac_status=$?
   14591   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14592   test $ac_status = 0; }; then
   14593     emul=elf
   14594     case `$FILECMD conftest.$ac_objext` in
   14595       *32-bit*)
   14596 	emul="${emul}32"
   14597 	;;
   14598       *64-bit*)
   14599 	emul="${emul}64"
   14600 	;;
   14601     esac
   14602     case `$FILECMD conftest.$ac_objext` in
   14603       *MSB*)
   14604 	emul="${emul}btsmip"
   14605 	;;
   14606       *LSB*)
   14607 	emul="${emul}ltsmip"
   14608 	;;
   14609     esac
   14610     case `$FILECMD conftest.$ac_objext` in
   14611       *N32*)
   14612 	emul="${emul}n32"
   14613 	;;
   14614     esac
   14615     LD="${LD-ld} -m $emul"
   14616   fi
   14617   rm -rf conftest*
   14618   ;;
   14619 
   14620 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14621 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   14622   # Find out what ABI is being produced by ac_compile, and set linker
   14623   # options accordingly.  Note that the listed cases only cover the
   14624   # situations where additional linker options are needed (such as when
   14625   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14626   # vice versa); the common cases where no linker options are needed do
   14627   # not appear in the list.
   14628   echo 'int i;' > conftest.$ac_ext
   14629   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14630   (eval $ac_compile) 2>&5
   14631   ac_status=$?
   14632   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14633   test $ac_status = 0; }; then
   14634     case `$FILECMD conftest.o` in
   14635       *32-bit*)
   14636 	case $host in
   14637 	  x86_64-*kfreebsd*-gnu)
   14638 	    LD="${LD-ld} -m elf_i386_fbsd"
   14639 	    ;;
   14640 	  x86_64-*linux*|x86_64-gnu*)
   14641 	    case `$FILECMD conftest.o` in
   14642 	      *x86-64*)
   14643 		LD="${LD-ld} -m elf32_x86_64"
   14644 		;;
   14645 	      *)
   14646 		LD="${LD-ld} -m elf_i386"
   14647 		;;
   14648 	    esac
   14649 	    ;;
   14650 	  powerpc64le-*linux*)
   14651 	    LD="${LD-ld} -m elf32lppclinux"
   14652 	    ;;
   14653 	  powerpc64-*linux*)
   14654 	    LD="${LD-ld} -m elf32ppclinux"
   14655 	    ;;
   14656 	  s390x-*linux*)
   14657 	    LD="${LD-ld} -m elf_s390"
   14658 	    ;;
   14659 	  sparc64-*linux*)
   14660 	    LD="${LD-ld} -m elf32_sparc"
   14661 	    ;;
   14662 	esac
   14663 	;;
   14664       *64-bit*)
   14665 	case $host in
   14666 	  x86_64-*kfreebsd*-gnu)
   14667 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14668 	    ;;
   14669 	  x86_64-*linux*|x86_64-gnu*)
   14670 	    LD="${LD-ld} -m elf_x86_64"
   14671 	    ;;
   14672 	  powerpcle-*linux*)
   14673 	    LD="${LD-ld} -m elf64lppc"
   14674 	    ;;
   14675 	  powerpc-*linux*)
   14676 	    LD="${LD-ld} -m elf64ppc"
   14677 	    ;;
   14678 	  s390*-*linux*|s390*-*tpf*)
   14679 	    LD="${LD-ld} -m elf64_s390"
   14680 	    ;;
   14681 	  sparc*-*linux*)
   14682 	    LD="${LD-ld} -m elf64_sparc"
   14683 	    ;;
   14684 	esac
   14685 	;;
   14686     esac
   14687   fi
   14688   rm -rf conftest*
   14689   ;;
   14690 
   14691 *-*-sco3.2v5*)
   14692   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14693   SAVE_CFLAGS=$CFLAGS
   14694   CFLAGS="$CFLAGS -belf"
   14695   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14696 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14697 if test ${lt_cv_cc_needs_belf+y}
   14698 then :
   14699   printf %s "(cached) " >&6
   14700 else case e in #(
   14701   e) ac_ext=c
   14702 ac_cpp='$CPP $CPPFLAGS'
   14703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14706 
   14707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14708 /* end confdefs.h.  */
   14709 
   14710 int
   14711 main (void)
   14712 {
   14713 
   14714   ;
   14715   return 0;
   14716 }
   14717 _ACEOF
   14718 if ac_fn_c_try_link "$LINENO"
   14719 then :
   14720   lt_cv_cc_needs_belf=yes
   14721 else case e in #(
   14722   e) lt_cv_cc_needs_belf=no ;;
   14723 esac
   14724 fi
   14725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14726     conftest$ac_exeext conftest.$ac_ext
   14727      ac_ext=c
   14728 ac_cpp='$CPP $CPPFLAGS'
   14729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14732  ;;
   14733 esac
   14734 fi
   14735 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14736 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
   14737   if test yes != "$lt_cv_cc_needs_belf"; then
   14738     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14739     CFLAGS=$SAVE_CFLAGS
   14740   fi
   14741   ;;
   14742 *-*solaris*)
   14743   # Find out what ABI is being produced by ac_compile, and set linker
   14744   # options accordingly.
   14745   echo 'int i;' > conftest.$ac_ext
   14746   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14747   (eval $ac_compile) 2>&5
   14748   ac_status=$?
   14749   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14750   test $ac_status = 0; }; then
   14751     case `$FILECMD conftest.o` in
   14752     *64-bit*)
   14753       case $lt_cv_prog_gnu_ld in
   14754       yes*)
   14755         case $host in
   14756         i?86-*-solaris*|x86_64-*-solaris*)
   14757           LD="${LD-ld} -m elf_x86_64"
   14758           ;;
   14759         sparc*-*-solaris*)
   14760           LD="${LD-ld} -m elf64_sparc"
   14761           ;;
   14762         esac
   14763         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14764         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14765           LD=${LD-ld}_sol2
   14766         fi
   14767         ;;
   14768       *)
   14769 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14770 	  LD="${LD-ld} -64"
   14771 	fi
   14772 	;;
   14773       esac
   14774       ;;
   14775     esac
   14776   fi
   14777   rm -rf conftest*
   14778   ;;
   14779 esac
   14780 
   14781 need_locks=$enable_libtool_lock
   14782 
   14783 if test -n "$ac_tool_prefix"; then
   14784   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14785 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14786 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14787 printf %s "checking for $ac_word... " >&6; }
   14788 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14789 then :
   14790   printf %s "(cached) " >&6
   14791 else case e in #(
   14792   e) if test -n "$MANIFEST_TOOL"; then
   14793   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14794 else
   14795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14796 for as_dir in $PATH
   14797 do
   14798   IFS=$as_save_IFS
   14799   case $as_dir in #(((
   14800     '') as_dir=./ ;;
   14801     */) ;;
   14802     *) as_dir=$as_dir/ ;;
   14803   esac
   14804     for ac_exec_ext in '' $ac_executable_extensions; do
   14805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14806     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14807     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14808     break 2
   14809   fi
   14810 done
   14811   done
   14812 IFS=$as_save_IFS
   14813 
   14814 fi ;;
   14815 esac
   14816 fi
   14817 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14818 if test -n "$MANIFEST_TOOL"; then
   14819   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14820 printf '%s\n' "$MANIFEST_TOOL" >&6; }
   14821 else
   14822   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14823 printf '%s\n' "no" >&6; }
   14824 fi
   14825 
   14826 
   14827 fi
   14828 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14829   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14830   # Extract the first word of "mt", so it can be a program name with args.
   14831 set dummy mt; ac_word=$2
   14832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14833 printf %s "checking for $ac_word... " >&6; }
   14834 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14835 then :
   14836   printf %s "(cached) " >&6
   14837 else case e in #(
   14838   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14839   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14840 else
   14841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14842 for as_dir in $PATH
   14843 do
   14844   IFS=$as_save_IFS
   14845   case $as_dir in #(((
   14846     '') as_dir=./ ;;
   14847     */) ;;
   14848     *) as_dir=$as_dir/ ;;
   14849   esac
   14850     for ac_exec_ext in '' $ac_executable_extensions; do
   14851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14852     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14853     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14854     break 2
   14855   fi
   14856 done
   14857   done
   14858 IFS=$as_save_IFS
   14859 
   14860 fi ;;
   14861 esac
   14862 fi
   14863 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14864 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14865   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14866 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
   14867 else
   14868   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14869 printf '%s\n' "no" >&6; }
   14870 fi
   14871 
   14872   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14873     MANIFEST_TOOL=":"
   14874   else
   14875     case $cross_compiling:$ac_tool_warned in
   14876 yes:)
   14877 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14878 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14879 ac_tool_warned=yes ;;
   14880 esac
   14881     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14882   fi
   14883 else
   14884   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14885 fi
   14886 
   14887 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14889 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14890 if test ${lt_cv_path_manifest_tool+y}
   14891 then :
   14892   printf %s "(cached) " >&6
   14893 else case e in #(
   14894   e) lt_cv_path_manifest_tool=no
   14895   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14896   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14897   cat conftest.err >&5
   14898   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14899     lt_cv_path_manifest_tool=yes
   14900   fi
   14901   rm -f conftest* ;;
   14902 esac
   14903 fi
   14904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   14905 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
   14906 if test yes != "$lt_cv_path_manifest_tool"; then
   14907   MANIFEST_TOOL=:
   14908 fi
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915   case $host_os in
   14916     rhapsody* | darwin*)
   14917     if test -n "$ac_tool_prefix"; then
   14918   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14919 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14920 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14921 printf %s "checking for $ac_word... " >&6; }
   14922 if test ${ac_cv_prog_DSYMUTIL+y}
   14923 then :
   14924   printf %s "(cached) " >&6
   14925 else case e in #(
   14926   e) if test -n "$DSYMUTIL"; then
   14927   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14928 else
   14929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14930 for as_dir in $PATH
   14931 do
   14932   IFS=$as_save_IFS
   14933   case $as_dir in #(((
   14934     '') as_dir=./ ;;
   14935     */) ;;
   14936     *) as_dir=$as_dir/ ;;
   14937   esac
   14938     for ac_exec_ext in '' $ac_executable_extensions; do
   14939   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14940     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14941     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14942     break 2
   14943   fi
   14944 done
   14945   done
   14946 IFS=$as_save_IFS
   14947 
   14948 fi ;;
   14949 esac
   14950 fi
   14951 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14952 if test -n "$DSYMUTIL"; then
   14953   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14954 printf '%s\n' "$DSYMUTIL" >&6; }
   14955 else
   14956   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14957 printf '%s\n' "no" >&6; }
   14958 fi
   14959 
   14960 
   14961 fi
   14962 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14963   ac_ct_DSYMUTIL=$DSYMUTIL
   14964   # Extract the first word of "dsymutil", so it can be a program name with args.
   14965 set dummy dsymutil; ac_word=$2
   14966 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14967 printf %s "checking for $ac_word... " >&6; }
   14968 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14969 then :
   14970   printf %s "(cached) " >&6
   14971 else case e in #(
   14972   e) if test -n "$ac_ct_DSYMUTIL"; then
   14973   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14974 else
   14975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14976 for as_dir in $PATH
   14977 do
   14978   IFS=$as_save_IFS
   14979   case $as_dir in #(((
   14980     '') as_dir=./ ;;
   14981     */) ;;
   14982     *) as_dir=$as_dir/ ;;
   14983   esac
   14984     for ac_exec_ext in '' $ac_executable_extensions; do
   14985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14986     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14987     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14988     break 2
   14989   fi
   14990 done
   14991   done
   14992 IFS=$as_save_IFS
   14993 
   14994 fi ;;
   14995 esac
   14996 fi
   14997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14998 if test -n "$ac_ct_DSYMUTIL"; then
   14999   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   15000 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
   15001 else
   15002   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15003 printf '%s\n' "no" >&6; }
   15004 fi
   15005 
   15006   if test "x$ac_ct_DSYMUTIL" = x; then
   15007     DSYMUTIL=":"
   15008   else
   15009     case $cross_compiling:$ac_tool_warned in
   15010 yes:)
   15011 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15012 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15013 ac_tool_warned=yes ;;
   15014 esac
   15015     DSYMUTIL=$ac_ct_DSYMUTIL
   15016   fi
   15017 else
   15018   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   15019 fi
   15020 
   15021     if test -n "$ac_tool_prefix"; then
   15022   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   15023 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   15024 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15025 printf %s "checking for $ac_word... " >&6; }
   15026 if test ${ac_cv_prog_NMEDIT+y}
   15027 then :
   15028   printf %s "(cached) " >&6
   15029 else case e in #(
   15030   e) if test -n "$NMEDIT"; then
   15031   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   15032 else
   15033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15034 for as_dir in $PATH
   15035 do
   15036   IFS=$as_save_IFS
   15037   case $as_dir in #(((
   15038     '') as_dir=./ ;;
   15039     */) ;;
   15040     *) as_dir=$as_dir/ ;;
   15041   esac
   15042     for ac_exec_ext in '' $ac_executable_extensions; do
   15043   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15044     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   15045     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15046     break 2
   15047   fi
   15048 done
   15049   done
   15050 IFS=$as_save_IFS
   15051 
   15052 fi ;;
   15053 esac
   15054 fi
   15055 NMEDIT=$ac_cv_prog_NMEDIT
   15056 if test -n "$NMEDIT"; then
   15057   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   15058 printf '%s\n' "$NMEDIT" >&6; }
   15059 else
   15060   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15061 printf '%s\n' "no" >&6; }
   15062 fi
   15063 
   15064 
   15065 fi
   15066 if test -z "$ac_cv_prog_NMEDIT"; then
   15067   ac_ct_NMEDIT=$NMEDIT
   15068   # Extract the first word of "nmedit", so it can be a program name with args.
   15069 set dummy nmedit; ac_word=$2
   15070 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15071 printf %s "checking for $ac_word... " >&6; }
   15072 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   15073 then :
   15074   printf %s "(cached) " >&6
   15075 else case e in #(
   15076   e) if test -n "$ac_ct_NMEDIT"; then
   15077   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   15078 else
   15079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15080 for as_dir in $PATH
   15081 do
   15082   IFS=$as_save_IFS
   15083   case $as_dir in #(((
   15084     '') as_dir=./ ;;
   15085     */) ;;
   15086     *) as_dir=$as_dir/ ;;
   15087   esac
   15088     for ac_exec_ext in '' $ac_executable_extensions; do
   15089   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15090     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   15091     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15092     break 2
   15093   fi
   15094 done
   15095   done
   15096 IFS=$as_save_IFS
   15097 
   15098 fi ;;
   15099 esac
   15100 fi
   15101 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   15102 if test -n "$ac_ct_NMEDIT"; then
   15103   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   15104 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
   15105 else
   15106   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15107 printf '%s\n' "no" >&6; }
   15108 fi
   15109 
   15110   if test "x$ac_ct_NMEDIT" = x; then
   15111     NMEDIT=":"
   15112   else
   15113     case $cross_compiling:$ac_tool_warned in
   15114 yes:)
   15115 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15116 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15117 ac_tool_warned=yes ;;
   15118 esac
   15119     NMEDIT=$ac_ct_NMEDIT
   15120   fi
   15121 else
   15122   NMEDIT="$ac_cv_prog_NMEDIT"
   15123 fi
   15124 
   15125     if test -n "$ac_tool_prefix"; then
   15126   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   15127 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   15128 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15129 printf %s "checking for $ac_word... " >&6; }
   15130 if test ${ac_cv_prog_LIPO+y}
   15131 then :
   15132   printf %s "(cached) " >&6
   15133 else case e in #(
   15134   e) if test -n "$LIPO"; then
   15135   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   15136 else
   15137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15138 for as_dir in $PATH
   15139 do
   15140   IFS=$as_save_IFS
   15141   case $as_dir in #(((
   15142     '') as_dir=./ ;;
   15143     */) ;;
   15144     *) as_dir=$as_dir/ ;;
   15145   esac
   15146     for ac_exec_ext in '' $ac_executable_extensions; do
   15147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15148     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   15149     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15150     break 2
   15151   fi
   15152 done
   15153   done
   15154 IFS=$as_save_IFS
   15155 
   15156 fi ;;
   15157 esac
   15158 fi
   15159 LIPO=$ac_cv_prog_LIPO
   15160 if test -n "$LIPO"; then
   15161   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   15162 printf '%s\n' "$LIPO" >&6; }
   15163 else
   15164   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15165 printf '%s\n' "no" >&6; }
   15166 fi
   15167 
   15168 
   15169 fi
   15170 if test -z "$ac_cv_prog_LIPO"; then
   15171   ac_ct_LIPO=$LIPO
   15172   # Extract the first word of "lipo", so it can be a program name with args.
   15173 set dummy lipo; ac_word=$2
   15174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15175 printf %s "checking for $ac_word... " >&6; }
   15176 if test ${ac_cv_prog_ac_ct_LIPO+y}
   15177 then :
   15178   printf %s "(cached) " >&6
   15179 else case e in #(
   15180   e) if test -n "$ac_ct_LIPO"; then
   15181   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   15182 else
   15183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15184 for as_dir in $PATH
   15185 do
   15186   IFS=$as_save_IFS
   15187   case $as_dir in #(((
   15188     '') as_dir=./ ;;
   15189     */) ;;
   15190     *) as_dir=$as_dir/ ;;
   15191   esac
   15192     for ac_exec_ext in '' $ac_executable_extensions; do
   15193   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15194     ac_cv_prog_ac_ct_LIPO="lipo"
   15195     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15196     break 2
   15197   fi
   15198 done
   15199   done
   15200 IFS=$as_save_IFS
   15201 
   15202 fi ;;
   15203 esac
   15204 fi
   15205 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   15206 if test -n "$ac_ct_LIPO"; then
   15207   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   15208 printf '%s\n' "$ac_ct_LIPO" >&6; }
   15209 else
   15210   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15211 printf '%s\n' "no" >&6; }
   15212 fi
   15213 
   15214   if test "x$ac_ct_LIPO" = x; then
   15215     LIPO=":"
   15216   else
   15217     case $cross_compiling:$ac_tool_warned in
   15218 yes:)
   15219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15220 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15221 ac_tool_warned=yes ;;
   15222 esac
   15223     LIPO=$ac_ct_LIPO
   15224   fi
   15225 else
   15226   LIPO="$ac_cv_prog_LIPO"
   15227 fi
   15228 
   15229     if test -n "$ac_tool_prefix"; then
   15230   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   15231 set dummy ${ac_tool_prefix}otool; ac_word=$2
   15232 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15233 printf %s "checking for $ac_word... " >&6; }
   15234 if test ${ac_cv_prog_OTOOL+y}
   15235 then :
   15236   printf %s "(cached) " >&6
   15237 else case e in #(
   15238   e) if test -n "$OTOOL"; then
   15239   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   15240 else
   15241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15242 for as_dir in $PATH
   15243 do
   15244   IFS=$as_save_IFS
   15245   case $as_dir in #(((
   15246     '') as_dir=./ ;;
   15247     */) ;;
   15248     *) as_dir=$as_dir/ ;;
   15249   esac
   15250     for ac_exec_ext in '' $ac_executable_extensions; do
   15251   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15252     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   15253     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15254     break 2
   15255   fi
   15256 done
   15257   done
   15258 IFS=$as_save_IFS
   15259 
   15260 fi ;;
   15261 esac
   15262 fi
   15263 OTOOL=$ac_cv_prog_OTOOL
   15264 if test -n "$OTOOL"; then
   15265   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   15266 printf '%s\n' "$OTOOL" >&6; }
   15267 else
   15268   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15269 printf '%s\n' "no" >&6; }
   15270 fi
   15271 
   15272 
   15273 fi
   15274 if test -z "$ac_cv_prog_OTOOL"; then
   15275   ac_ct_OTOOL=$OTOOL
   15276   # Extract the first word of "otool", so it can be a program name with args.
   15277 set dummy otool; ac_word=$2
   15278 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15279 printf %s "checking for $ac_word... " >&6; }
   15280 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   15281 then :
   15282   printf %s "(cached) " >&6
   15283 else case e in #(
   15284   e) if test -n "$ac_ct_OTOOL"; then
   15285   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   15286 else
   15287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15288 for as_dir in $PATH
   15289 do
   15290   IFS=$as_save_IFS
   15291   case $as_dir in #(((
   15292     '') as_dir=./ ;;
   15293     */) ;;
   15294     *) as_dir=$as_dir/ ;;
   15295   esac
   15296     for ac_exec_ext in '' $ac_executable_extensions; do
   15297   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15298     ac_cv_prog_ac_ct_OTOOL="otool"
   15299     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15300     break 2
   15301   fi
   15302 done
   15303   done
   15304 IFS=$as_save_IFS
   15305 
   15306 fi ;;
   15307 esac
   15308 fi
   15309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15310 if test -n "$ac_ct_OTOOL"; then
   15311   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15312 printf '%s\n' "$ac_ct_OTOOL" >&6; }
   15313 else
   15314   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15315 printf '%s\n' "no" >&6; }
   15316 fi
   15317 
   15318   if test "x$ac_ct_OTOOL" = x; then
   15319     OTOOL=":"
   15320   else
   15321     case $cross_compiling:$ac_tool_warned in
   15322 yes:)
   15323 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15324 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15325 ac_tool_warned=yes ;;
   15326 esac
   15327     OTOOL=$ac_ct_OTOOL
   15328   fi
   15329 else
   15330   OTOOL="$ac_cv_prog_OTOOL"
   15331 fi
   15332 
   15333     if test -n "$ac_tool_prefix"; then
   15334   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15335 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15336 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15337 printf %s "checking for $ac_word... " >&6; }
   15338 if test ${ac_cv_prog_OTOOL64+y}
   15339 then :
   15340   printf %s "(cached) " >&6
   15341 else case e in #(
   15342   e) if test -n "$OTOOL64"; then
   15343   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15344 else
   15345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15346 for as_dir in $PATH
   15347 do
   15348   IFS=$as_save_IFS
   15349   case $as_dir in #(((
   15350     '') as_dir=./ ;;
   15351     */) ;;
   15352     *) as_dir=$as_dir/ ;;
   15353   esac
   15354     for ac_exec_ext in '' $ac_executable_extensions; do
   15355   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15356     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15357     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15358     break 2
   15359   fi
   15360 done
   15361   done
   15362 IFS=$as_save_IFS
   15363 
   15364 fi ;;
   15365 esac
   15366 fi
   15367 OTOOL64=$ac_cv_prog_OTOOL64
   15368 if test -n "$OTOOL64"; then
   15369   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15370 printf '%s\n' "$OTOOL64" >&6; }
   15371 else
   15372   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15373 printf '%s\n' "no" >&6; }
   15374 fi
   15375 
   15376 
   15377 fi
   15378 if test -z "$ac_cv_prog_OTOOL64"; then
   15379   ac_ct_OTOOL64=$OTOOL64
   15380   # Extract the first word of "otool64", so it can be a program name with args.
   15381 set dummy otool64; ac_word=$2
   15382 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15383 printf %s "checking for $ac_word... " >&6; }
   15384 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15385 then :
   15386   printf %s "(cached) " >&6
   15387 else case e in #(
   15388   e) if test -n "$ac_ct_OTOOL64"; then
   15389   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15390 else
   15391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15392 for as_dir in $PATH
   15393 do
   15394   IFS=$as_save_IFS
   15395   case $as_dir in #(((
   15396     '') as_dir=./ ;;
   15397     */) ;;
   15398     *) as_dir=$as_dir/ ;;
   15399   esac
   15400     for ac_exec_ext in '' $ac_executable_extensions; do
   15401   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15402     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15403     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15404     break 2
   15405   fi
   15406 done
   15407   done
   15408 IFS=$as_save_IFS
   15409 
   15410 fi ;;
   15411 esac
   15412 fi
   15413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15414 if test -n "$ac_ct_OTOOL64"; then
   15415   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15416 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
   15417 else
   15418   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15419 printf '%s\n' "no" >&6; }
   15420 fi
   15421 
   15422   if test "x$ac_ct_OTOOL64" = x; then
   15423     OTOOL64=":"
   15424   else
   15425     case $cross_compiling:$ac_tool_warned in
   15426 yes:)
   15427 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15428 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15429 ac_tool_warned=yes ;;
   15430 esac
   15431     OTOOL64=$ac_ct_OTOOL64
   15432   fi
   15433 else
   15434   OTOOL64="$ac_cv_prog_OTOOL64"
   15435 fi
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15464 printf %s "checking for -single_module linker flag... " >&6; }
   15465 if test ${lt_cv_apple_cc_single_mod+y}
   15466 then :
   15467   printf %s "(cached) " >&6
   15468 else case e in #(
   15469   e) lt_cv_apple_cc_single_mod=no
   15470       if test -z "$LT_MULTI_MODULE"; then
   15471 	# By default we will add the -single_module flag. You can override
   15472 	# by either setting the environment variable LT_MULTI_MODULE
   15473 	# non-empty at configure time, or by adding -multi_module to the
   15474 	# link flags.
   15475 	rm -rf libconftest.dylib*
   15476 	echo "int foo(void){return 1;}" > conftest.c
   15477 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15478 -dynamiclib -Wl,-single_module conftest.c" >&5
   15479 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15480 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15481         _lt_result=$?
   15482 	# If there is a non-empty error log, and "single_module"
   15483 	# appears in it, assume the flag caused a linker warning
   15484         if test -s conftest.err && $GREP single_module conftest.err; then
   15485 	  cat conftest.err >&5
   15486 	# Otherwise, if the output was created with a 0 exit code from
   15487 	# the compiler, it worked.
   15488 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15489 	  lt_cv_apple_cc_single_mod=yes
   15490 	else
   15491 	  cat conftest.err >&5
   15492 	fi
   15493 	rm -rf libconftest.dylib*
   15494 	rm -f conftest.*
   15495       fi ;;
   15496 esac
   15497 fi
   15498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15499 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
   15500 
   15501     # Feature test to disable chained fixups since it is not
   15502     # compatible with '-undefined dynamic_lookup'
   15503     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   15504 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   15505 if test ${lt_cv_support_no_fixup_chains+y}
   15506 then :
   15507   printf %s "(cached) " >&6
   15508 else case e in #(
   15509   e)  save_LDFLAGS=$LDFLAGS
   15510         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   15511         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15512 /* end confdefs.h.  */
   15513 
   15514 int
   15515 main (void)
   15516 {
   15517 
   15518   ;
   15519   return 0;
   15520 }
   15521 _ACEOF
   15522 if ac_fn_c_try_link "$LINENO"
   15523 then :
   15524   lt_cv_support_no_fixup_chains=yes
   15525 else case e in #(
   15526   e) lt_cv_support_no_fixup_chains=no
   15527          ;;
   15528 esac
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15531     conftest$ac_exeext conftest.$ac_ext
   15532         LDFLAGS=$save_LDFLAGS
   15533 
   15534      ;;
   15535 esac
   15536 fi
   15537 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   15538 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
   15539 
   15540     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15541 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15542 if test ${lt_cv_ld_exported_symbols_list+y}
   15543 then :
   15544   printf %s "(cached) " >&6
   15545 else case e in #(
   15546   e) lt_cv_ld_exported_symbols_list=no
   15547       save_LDFLAGS=$LDFLAGS
   15548       echo "_main" > conftest.sym
   15549       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15551 /* end confdefs.h.  */
   15552 
   15553 int
   15554 main (void)
   15555 {
   15556 
   15557   ;
   15558   return 0;
   15559 }
   15560 _ACEOF
   15561 if ac_fn_c_try_link "$LINENO"
   15562 then :
   15563   lt_cv_ld_exported_symbols_list=yes
   15564 else case e in #(
   15565   e) lt_cv_ld_exported_symbols_list=no ;;
   15566 esac
   15567 fi
   15568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15569     conftest$ac_exeext conftest.$ac_ext
   15570 	LDFLAGS=$save_LDFLAGS
   15571      ;;
   15572 esac
   15573 fi
   15574 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15575 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
   15576 
   15577     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15578 printf %s "checking for -force_load linker flag... " >&6; }
   15579 if test ${lt_cv_ld_force_load+y}
   15580 then :
   15581   printf %s "(cached) " >&6
   15582 else case e in #(
   15583   e) lt_cv_ld_force_load=no
   15584       cat > conftest.c << _LT_EOF
   15585 int forced_loaded() { return 2;}
   15586 _LT_EOF
   15587       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15588       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15589       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15590       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15591       echo "$RANLIB libconftest.a" >&5
   15592       $RANLIB libconftest.a 2>&5
   15593       cat > conftest.c << _LT_EOF
   15594 int main(void) { return 0;}
   15595 _LT_EOF
   15596       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15597       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15598       _lt_result=$?
   15599       if test -s conftest.err && $GREP force_load conftest.err; then
   15600 	cat conftest.err >&5
   15601       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15602 	lt_cv_ld_force_load=yes
   15603       else
   15604 	cat conftest.err >&5
   15605       fi
   15606         rm -f conftest.err libconftest.a conftest conftest.c
   15607         rm -rf conftest.dSYM
   15608      ;;
   15609 esac
   15610 fi
   15611 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15612 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
   15613     case $host_os in
   15614     rhapsody* | darwin1.[012])
   15615       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15616     darwin1.*)
   15617       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15618     darwin*)
   15619       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15620         10.[012],*|,*powerpc*-darwin[5-8]*)
   15621           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15622         *)
   15623           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   15624           if test yes = "$lt_cv_support_no_fixup_chains"; then
   15625             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   15626           fi
   15627         ;;
   15628       esac
   15629     ;;
   15630   esac
   15631     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15632       _lt_dar_single_mod='$single_module'
   15633     fi
   15634     _lt_dar_needs_single_mod=no
   15635     case $host_os in
   15636     rhapsody* | darwin1.*)
   15637       _lt_dar_needs_single_mod=yes ;;
   15638     darwin*)
   15639       # When targeting Mac OS X 10.4 (darwin 8) or later,
   15640       # -single_module is the default and -multi_module is unsupported.
   15641       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   15642       # target any OS version that needs -single_module.
   15643       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   15644       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   15645         _lt_dar_needs_single_mod=yes ;;
   15646       esac
   15647     ;;
   15648     esac
   15649     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15650       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15651     else
   15652       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15653     fi
   15654     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15655       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15656     else
   15657       _lt_dsymutil=
   15658     fi
   15659     ;;
   15660   esac
   15661 
   15662 # func_munge_path_list VARIABLE PATH
   15663 # -----------------------------------
   15664 # VARIABLE is name of variable containing _space_ separated list of
   15665 # directories to be munged by the contents of PATH, which is string
   15666 # having a format:
   15667 # "DIR[:DIR]:"
   15668 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15669 # ":DIR[:DIR]"
   15670 #       string "DIR[ DIR]" will be appended to VARIABLE
   15671 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15672 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15673 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15674 # "DIR[:DIR]"
   15675 #       VARIABLE will be replaced by "DIR[ DIR]"
   15676 func_munge_path_list ()
   15677 {
   15678     case x$2 in
   15679     x)
   15680         ;;
   15681     *:)
   15682         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15683         ;;
   15684     x:*)
   15685         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15686         ;;
   15687     *::*)
   15688         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15689         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15690         ;;
   15691     *)
   15692         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15693         ;;
   15694     esac
   15695 }
   15696 
   15697 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15698 "
   15699 if test "x$ac_cv_header_dlfcn_h" = xyes
   15700 then :
   15701   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   15702 
   15703 fi
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 # Set options
   15710 # Check whether --enable-static was given.
   15711 if test ${enable_static+y}
   15712 then :
   15713   enableval=$enable_static; p=${PACKAGE-default}
   15714     case $enableval in
   15715     yes) enable_static=yes ;;
   15716     no) enable_static=no ;;
   15717     *)
   15718      enable_static=no
   15719       # Look at the argument we got.  We use all the common list separators.
   15720       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15721       for pkg in $enableval; do
   15722 	IFS=$lt_save_ifs
   15723 	if test "X$pkg" = "X$p"; then
   15724 	  enable_static=yes
   15725 	fi
   15726       done
   15727       IFS=$lt_save_ifs
   15728       ;;
   15729     esac
   15730 else case e in #(
   15731   e) enable_static=no ;;
   15732 esac
   15733 fi
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744         enable_dlopen=no
   15745 
   15746 
   15747   enable_win32_dll=no
   15748 
   15749 
   15750             # Check whether --enable-shared was given.
   15751 if test ${enable_shared+y}
   15752 then :
   15753   enableval=$enable_shared; p=${PACKAGE-default}
   15754     case $enableval in
   15755     yes) enable_shared=yes ;;
   15756     no) enable_shared=no ;;
   15757     *)
   15758       enable_shared=no
   15759       # Look at the argument we got.  We use all the common list separators.
   15760       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15761       for pkg in $enableval; do
   15762 	IFS=$lt_save_ifs
   15763 	if test "X$pkg" = "X$p"; then
   15764 	  enable_shared=yes
   15765 	fi
   15766       done
   15767       IFS=$lt_save_ifs
   15768       ;;
   15769     esac
   15770 else case e in #(
   15771   e) enable_shared=yes ;;
   15772 esac
   15773 fi
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784   # Check whether --enable-pic was given.
   15785 if test ${enable_pic+y}
   15786 then :
   15787   enableval=$enable_pic; lt_p=${PACKAGE-default}
   15788      case $enableval in
   15789      yes|no) pic_mode=$enableval ;;
   15790      *)
   15791        pic_mode=default
   15792        # Look at the argument we got.  We use all the common list separators.
   15793        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15794        for lt_pkg in $enableval; do
   15795 	 IFS=$lt_save_ifs
   15796 	 if test "X$lt_pkg" = "X$lt_p"; then
   15797 	   pic_mode=yes
   15798 	 fi
   15799        done
   15800        IFS=$lt_save_ifs
   15801        ;;
   15802      esac
   15803 else case e in #(
   15804   e)           # Check whether --with-pic was given.
   15805 if test ${with_pic+y}
   15806 then :
   15807   withval=$with_pic; lt_p=${PACKAGE-default}
   15808 	 case $withval in
   15809 	 yes|no) pic_mode=$withval ;;
   15810 	 *)
   15811 	   pic_mode=default
   15812 	   # Look at the argument we got.  We use all the common list separators.
   15813 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15814 	   for lt_pkg in $withval; do
   15815 	     IFS=$lt_save_ifs
   15816 	     if test "X$lt_pkg" = "X$lt_p"; then
   15817 	       pic_mode=yes
   15818 	     fi
   15819 	   done
   15820 	   IFS=$lt_save_ifs
   15821 	   ;;
   15822 	 esac
   15823 else case e in #(
   15824   e) pic_mode=default ;;
   15825 esac
   15826 fi
   15827 
   15828      ;;
   15829 esac
   15830 fi
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839   # Check whether --enable-fast-install was given.
   15840 if test ${enable_fast_install+y}
   15841 then :
   15842   enableval=$enable_fast_install; p=${PACKAGE-default}
   15843     case $enableval in
   15844     yes) enable_fast_install=yes ;;
   15845     no) enable_fast_install=no ;;
   15846     *)
   15847       enable_fast_install=no
   15848       # Look at the argument we got.  We use all the common list separators.
   15849       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15850       for pkg in $enableval; do
   15851 	IFS=$lt_save_ifs
   15852 	if test "X$pkg" = "X$p"; then
   15853 	  enable_fast_install=yes
   15854 	fi
   15855       done
   15856       IFS=$lt_save_ifs
   15857       ;;
   15858     esac
   15859 else case e in #(
   15860   e) enable_fast_install=yes ;;
   15861 esac
   15862 fi
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871   shared_archive_member_spec=
   15872 case $host,$enable_shared in
   15873 power*-*-aix[5-9]*,yes)
   15874   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15875 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15876   # Check whether --enable-aix-soname was given.
   15877 if test ${enable_aix_soname+y}
   15878 then :
   15879   enableval=$enable_aix_soname; case $enableval in
   15880      aix|svr4|both)
   15881        ;;
   15882      *)
   15883        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   15884        ;;
   15885      esac
   15886      lt_cv_with_aix_soname=$enable_aix_soname
   15887 else case e in #(
   15888   e) # Check whether --with-aix-soname was given.
   15889 if test ${with_aix_soname+y}
   15890 then :
   15891   withval=$with_aix_soname; case $withval in
   15892          aix|svr4|both)
   15893            ;;
   15894          *)
   15895            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15896            ;;
   15897          esac
   15898          lt_cv_with_aix_soname=$with_aix_soname
   15899 else case e in #(
   15900   e) if test ${lt_cv_with_aix_soname+y}
   15901 then :
   15902   printf %s "(cached) " >&6
   15903 else case e in #(
   15904   e) lt_cv_with_aix_soname=aix ;;
   15905 esac
   15906 fi
   15907  ;;
   15908 esac
   15909 fi
   15910 
   15911      enable_aix_soname=$lt_cv_with_aix_soname ;;
   15912 esac
   15913 fi
   15914 
   15915   with_aix_soname=$enable_aix_soname
   15916   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15917 printf '%s\n' "$with_aix_soname" >&6; }
   15918   if test aix != "$with_aix_soname"; then
   15919     # For the AIX way of multilib, we name the shared archive member
   15920     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15921     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15922     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15923     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15924     if test 64 = "${OBJECT_MODE-32}"; then
   15925       shared_archive_member_spec=shr_64
   15926     else
   15927       shared_archive_member_spec=shr
   15928     fi
   15929   fi
   15930   ;;
   15931 *)
   15932   with_aix_soname=aix
   15933   ;;
   15934 esac
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 # This can be used to rebuild libtool when needed
   15946 LIBTOOL_DEPS=$ltmain
   15947 
   15948 # Always use our own libtool.
   15949 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 test -z "$LN_S" && LN_S="ln -s"
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 if test -n "${ZSH_VERSION+set}"; then
   15996    setopt NO_GLOB_SUBST
   15997 fi
   15998 
   15999 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   16000 printf %s "checking for objdir... " >&6; }
   16001 if test ${lt_cv_objdir+y}
   16002 then :
   16003   printf %s "(cached) " >&6
   16004 else case e in #(
   16005   e) rm -f .libs 2>/dev/null
   16006 mkdir .libs 2>/dev/null
   16007 if test -d .libs; then
   16008   lt_cv_objdir=.libs
   16009 else
   16010   # MS-DOS does not allow filenames that begin with a dot.
   16011   lt_cv_objdir=_libs
   16012 fi
   16013 rmdir .libs 2>/dev/null ;;
   16014 esac
   16015 fi
   16016 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   16017 printf '%s\n' "$lt_cv_objdir" >&6; }
   16018 objdir=$lt_cv_objdir
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   16025 
   16026 
   16027 
   16028 
   16029 case $host_os in
   16030 aix3*)
   16031   # AIX sometimes has problems with the GCC collect2 program.  For some
   16032   # reason, if we set the COLLECT_NAMES environment variable, the problems
   16033   # vanish in a puff of smoke.
   16034   if test set != "${COLLECT_NAMES+set}"; then
   16035     COLLECT_NAMES=
   16036     export COLLECT_NAMES
   16037   fi
   16038   ;;
   16039 esac
   16040 
   16041 # Global variables:
   16042 ofile=libtool
   16043 can_build_shared=yes
   16044 
   16045 # All known linkers require a '.a' archive for static linking (except MSVC and
   16046 # ICC, which need '.lib').
   16047 libext=a
   16048 
   16049 with_gnu_ld=$lt_cv_prog_gnu_ld
   16050 
   16051 old_CC=$CC
   16052 old_CFLAGS=$CFLAGS
   16053 
   16054 # Set sane defaults for various variables
   16055 test -z "$CC" && CC=cc
   16056 test -z "$LTCC" && LTCC=$CC
   16057 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   16058 test -z "$LD" && LD=ld
   16059 test -z "$ac_objext" && ac_objext=o
   16060 
   16061 func_cc_basename $compiler
   16062 cc_basename=$func_cc_basename_result
   16063 
   16064 
   16065 # Only perform the check for file, if the check method requires it
   16066 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   16067 case $deplibs_check_method in
   16068 file_magic*)
   16069   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   16070     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   16071 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   16072 if test ${lt_cv_path_MAGIC_CMD+y}
   16073 then :
   16074   printf %s "(cached) " >&6
   16075 else case e in #(
   16076   e) case $MAGIC_CMD in
   16077 [\\/*] |  ?:[\\/]*)
   16078   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   16079   ;;
   16080 *)
   16081   lt_save_MAGIC_CMD=$MAGIC_CMD
   16082   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   16083   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   16084   for ac_dir in $ac_dummy; do
   16085     IFS=$lt_save_ifs
   16086     test -z "$ac_dir" && ac_dir=.
   16087     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   16088       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   16089       if test -n "$file_magic_test_file"; then
   16090 	case $deplibs_check_method in
   16091 	"file_magic "*)
   16092 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   16093 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16094 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   16095 	    $EGREP "$file_magic_regex" > /dev/null; then
   16096 	    :
   16097 	  else
   16098 	    cat <<_LT_EOF 1>&2
   16099 
   16100 *** Warning: the command libtool uses to detect shared libraries,
   16101 *** $file_magic_cmd, produces output that libtool cannot recognize.
   16102 *** The result is that libtool may fail to recognize shared libraries
   16103 *** as such.  This will affect the creation of libtool libraries that
   16104 *** depend on shared libraries, but programs linked with such libtool
   16105 *** libraries will work regardless of this problem.  Nevertheless, you
   16106 *** may want to report the problem to your system manager and/or to
   16107 *** bug-libtool@gnu.org
   16108 
   16109 _LT_EOF
   16110 	  fi ;;
   16111 	esac
   16112       fi
   16113       break
   16114     fi
   16115   done
   16116   IFS=$lt_save_ifs
   16117   MAGIC_CMD=$lt_save_MAGIC_CMD
   16118   ;;
   16119 esac ;;
   16120 esac
   16121 fi
   16122 
   16123 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16124 if test -n "$MAGIC_CMD"; then
   16125   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   16126 printf '%s\n' "$MAGIC_CMD" >&6; }
   16127 else
   16128   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16129 printf '%s\n' "no" >&6; }
   16130 fi
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 if test -z "$lt_cv_path_MAGIC_CMD"; then
   16137   if test -n "$ac_tool_prefix"; then
   16138     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   16139 printf %s "checking for file... " >&6; }
   16140 if test ${lt_cv_path_MAGIC_CMD+y}
   16141 then :
   16142   printf %s "(cached) " >&6
   16143 else case e in #(
   16144   e) case $MAGIC_CMD in
   16145 [\\/*] |  ?:[\\/]*)
   16146   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   16147   ;;
   16148 *)
   16149   lt_save_MAGIC_CMD=$MAGIC_CMD
   16150   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   16151   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   16152   for ac_dir in $ac_dummy; do
   16153     IFS=$lt_save_ifs
   16154     test -z "$ac_dir" && ac_dir=.
   16155     if test -f "$ac_dir/file"; then
   16156       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   16157       if test -n "$file_magic_test_file"; then
   16158 	case $deplibs_check_method in
   16159 	"file_magic "*)
   16160 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   16161 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16162 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   16163 	    $EGREP "$file_magic_regex" > /dev/null; then
   16164 	    :
   16165 	  else
   16166 	    cat <<_LT_EOF 1>&2
   16167 
   16168 *** Warning: the command libtool uses to detect shared libraries,
   16169 *** $file_magic_cmd, produces output that libtool cannot recognize.
   16170 *** The result is that libtool may fail to recognize shared libraries
   16171 *** as such.  This will affect the creation of libtool libraries that
   16172 *** depend on shared libraries, but programs linked with such libtool
   16173 *** libraries will work regardless of this problem.  Nevertheless, you
   16174 *** may want to report the problem to your system manager and/or to
   16175 *** bug-libtool@gnu.org
   16176 
   16177 _LT_EOF
   16178 	  fi ;;
   16179 	esac
   16180       fi
   16181       break
   16182     fi
   16183   done
   16184   IFS=$lt_save_ifs
   16185   MAGIC_CMD=$lt_save_MAGIC_CMD
   16186   ;;
   16187 esac ;;
   16188 esac
   16189 fi
   16190 
   16191 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   16192 if test -n "$MAGIC_CMD"; then
   16193   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   16194 printf '%s\n' "$MAGIC_CMD" >&6; }
   16195 else
   16196   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16197 printf '%s\n' "no" >&6; }
   16198 fi
   16199 
   16200 
   16201   else
   16202     MAGIC_CMD=:
   16203   fi
   16204 fi
   16205 
   16206   fi
   16207   ;;
   16208 esac
   16209 
   16210 # Use C for the default configuration in the libtool script
   16211 
   16212 lt_save_CC=$CC
   16213 ac_ext=c
   16214 ac_cpp='$CPP $CPPFLAGS'
   16215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16218 
   16219 
   16220 # Source file extension for C test sources.
   16221 ac_ext=c
   16222 
   16223 # Object file extension for compiled C test sources.
   16224 objext=o
   16225 objext=$objext
   16226 
   16227 # Code to be used in simple compile tests
   16228 lt_simple_compile_test_code="int some_variable = 0;"
   16229 
   16230 # Code to be used in simple link tests
   16231 lt_simple_link_test_code='int main(void){return(0);}'
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 # If no C compiler was specified, use CC.
   16240 LTCC=${LTCC-"$CC"}
   16241 
   16242 # If no C compiler flags were specified, use CFLAGS.
   16243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16244 
   16245 # Allow CC to be a program name with arguments.
   16246 compiler=$CC
   16247 
   16248 # Save the default compiler, since it gets overwritten when the other
   16249 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   16250 compiler_DEFAULT=$CC
   16251 
   16252 # save warnings/boilerplate of simple test code
   16253 ac_outfile=conftest.$ac_objext
   16254 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16255 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16256 _lt_compiler_boilerplate=`cat conftest.err`
   16257 $RM conftest*
   16258 
   16259 ac_outfile=conftest.$ac_objext
   16260 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16261 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16262 _lt_linker_boilerplate=`cat conftest.err`
   16263 $RM -r conftest*
   16264 
   16265 
   16266 if test -n "$compiler"; then
   16267 
   16268 lt_prog_compiler_no_builtin_flag=
   16269 
   16270 if test yes = "$GCC"; then
   16271   case $cc_basename in
   16272   nvcc*)
   16273     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   16274   *)
   16275     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   16276   esac
   16277 
   16278   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16279 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16280 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   16281 then :
   16282   printf %s "(cached) " >&6
   16283 else case e in #(
   16284   e) lt_cv_prog_compiler_rtti_exceptions=no
   16285    ac_outfile=conftest.$ac_objext
   16286    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16287    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   16288    # Insert the option either (1) after the last *FLAGS variable, or
   16289    # (2) before a word containing "conftest.", or (3) at the end.
   16290    # Note that $ac_compile itself does not contain backslashes and begins
   16291    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16292    # The option is referenced via a variable to avoid confusing sed.
   16293    lt_compile=`echo "$ac_compile" | $SED \
   16294    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16295    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16296    -e 's:$: $lt_compiler_flag:'`
   16297    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16298    (eval "$lt_compile" 2>conftest.err)
   16299    ac_status=$?
   16300    cat conftest.err >&5
   16301    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16302    if (exit $ac_status) && test -s "$ac_outfile"; then
   16303      # The compiler can only warn and ignore the option if not recognized
   16304      # So say no if there are warnings other than the usual output.
   16305      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16306      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16307      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16308        lt_cv_prog_compiler_rtti_exceptions=yes
   16309      fi
   16310    fi
   16311    $RM conftest*
   16312  ;;
   16313 esac
   16314 fi
   16315 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16316 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16317 
   16318 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   16319     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   16320 else
   16321     :
   16322 fi
   16323 
   16324 fi
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331   lt_prog_compiler_wl=
   16332 lt_prog_compiler_pic=
   16333 lt_prog_compiler_static=
   16334 
   16335 
   16336   if test yes = "$GCC"; then
   16337     lt_prog_compiler_wl='-Wl,'
   16338     lt_prog_compiler_static='-static'
   16339 
   16340     case $host_os in
   16341       aix*)
   16342       # All AIX code is PIC.
   16343       if test ia64 = "$host_cpu"; then
   16344 	# AIX 5 now supports IA64 processor
   16345 	lt_prog_compiler_static='-Bstatic'
   16346       fi
   16347       lt_prog_compiler_pic='-fPIC'
   16348       ;;
   16349 
   16350     amigaos*)
   16351       case $host_cpu in
   16352       powerpc)
   16353             # see comment about AmigaOS4 .so support
   16354             lt_prog_compiler_pic='-fPIC'
   16355         ;;
   16356       m68k)
   16357             # FIXME: we need at least 68020 code to build shared libraries, but
   16358             # adding the '-m68020' flag to GCC prevents building anything better,
   16359             # like '-m68040'.
   16360             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   16361         ;;
   16362       esac
   16363       ;;
   16364 
   16365     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16366       # PIC is the default for these OSes.
   16367       ;;
   16368 
   16369     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16370       # This hack is so that the source file can tell whether it is being
   16371       # built for inclusion in a dll (and should export symbols for example).
   16372       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16373       # (--disable-auto-import) libraries
   16374       lt_prog_compiler_pic='-DDLL_EXPORT'
   16375       case $host_os in
   16376       os2*)
   16377 	lt_prog_compiler_static='$wl-static'
   16378 	;;
   16379       esac
   16380       ;;
   16381 
   16382     darwin* | rhapsody*)
   16383       # PIC is the default on this platform
   16384       # Common symbols not allowed in MH_DYLIB files
   16385       lt_prog_compiler_pic='-fno-common'
   16386       ;;
   16387 
   16388     haiku*)
   16389       # PIC is the default for Haiku.
   16390       # The "-static" flag exists, but is broken.
   16391       lt_prog_compiler_static=
   16392       ;;
   16393 
   16394     hpux*)
   16395       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16396       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16397       # sets the default TLS model and affects inlining.
   16398       case $host_cpu in
   16399       hppa*64*)
   16400 	# +Z the default
   16401 	;;
   16402       *)
   16403 	lt_prog_compiler_pic='-fPIC'
   16404 	;;
   16405       esac
   16406       ;;
   16407 
   16408     interix[3-9]*)
   16409       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16410       # Instead, we relocate shared libraries at runtime.
   16411       ;;
   16412 
   16413     msdosdjgpp*)
   16414       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16415       # on systems that don't support them.
   16416       lt_prog_compiler_can_build_shared=no
   16417       enable_shared=no
   16418       ;;
   16419 
   16420     *nto* | *qnx*)
   16421       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16422       # it will coredump.
   16423       lt_prog_compiler_pic='-fPIC -shared'
   16424       ;;
   16425 
   16426     sysv4*MP*)
   16427       if test -d /usr/nec; then
   16428 	lt_prog_compiler_pic=-Kconform_pic
   16429       fi
   16430       ;;
   16431 
   16432     *)
   16433       lt_prog_compiler_pic='-fPIC'
   16434       ;;
   16435     esac
   16436 
   16437     case $cc_basename in
   16438     nvcc*) # Cuda Compiler Driver 2.2
   16439       lt_prog_compiler_wl='-Xlinker '
   16440       if test -n "$lt_prog_compiler_pic"; then
   16441         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16442       fi
   16443       ;;
   16444     esac
   16445   else
   16446     # PORTME Check for flag to pass linker flags through the system compiler.
   16447     case $host_os in
   16448     aix*)
   16449       lt_prog_compiler_wl='-Wl,'
   16450       if test ia64 = "$host_cpu"; then
   16451 	# AIX 5 now supports IA64 processor
   16452 	lt_prog_compiler_static='-Bstatic'
   16453       else
   16454 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16455       fi
   16456       ;;
   16457 
   16458     darwin* | rhapsody*)
   16459       # PIC is the default on this platform
   16460       # Common symbols not allowed in MH_DYLIB files
   16461       lt_prog_compiler_pic='-fno-common'
   16462       case $cc_basename in
   16463       nagfor*)
   16464         # NAG Fortran compiler
   16465         lt_prog_compiler_wl='-Wl,-Wl,,'
   16466         lt_prog_compiler_pic='-PIC'
   16467         lt_prog_compiler_static='-Bstatic'
   16468         ;;
   16469       esac
   16470       ;;
   16471 
   16472     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   16473       # This hack is so that the source file can tell whether it is being
   16474       # built for inclusion in a dll (and should export symbols for example).
   16475       lt_prog_compiler_pic='-DDLL_EXPORT'
   16476       case $host_os in
   16477       os2*)
   16478 	lt_prog_compiler_static='$wl-static'
   16479 	;;
   16480       esac
   16481       ;;
   16482 
   16483     hpux9* | hpux10* | hpux11*)
   16484       lt_prog_compiler_wl='-Wl,'
   16485       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16486       # not for PA HP-UX.
   16487       case $host_cpu in
   16488       hppa*64*|ia64*)
   16489 	# +Z the default
   16490 	;;
   16491       *)
   16492 	lt_prog_compiler_pic='+Z'
   16493 	;;
   16494       esac
   16495       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16496       lt_prog_compiler_static='$wl-a ${wl}archive'
   16497       ;;
   16498 
   16499     irix5* | irix6* | nonstopux*)
   16500       lt_prog_compiler_wl='-Wl,'
   16501       # PIC (with -KPIC) is the default.
   16502       lt_prog_compiler_static='-non_shared'
   16503       ;;
   16504 
   16505     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16506       case $cc_basename in
   16507       # old Intel for x86_64, which still supported -KPIC.
   16508       ecc*)
   16509 	lt_prog_compiler_wl='-Wl,'
   16510 	lt_prog_compiler_pic='-KPIC'
   16511 	lt_prog_compiler_static='-static'
   16512         ;;
   16513       *flang* | ftn | f18* | f95*)
   16514         # Flang compiler.
   16515 	lt_prog_compiler_wl='-Wl,'
   16516 	lt_prog_compiler_pic='-fPIC'
   16517 	lt_prog_compiler_static='-static'
   16518         ;;
   16519       # icc used to be incompatible with GCC.
   16520       # ICC 10 doesn't accept -KPIC any more.
   16521       icc* | ifort*)
   16522 	lt_prog_compiler_wl='-Wl,'
   16523 	lt_prog_compiler_pic='-fPIC'
   16524 	lt_prog_compiler_static='-static'
   16525         ;;
   16526       # Lahey Fortran 8.1.
   16527       lf95*)
   16528 	lt_prog_compiler_wl='-Wl,'
   16529 	lt_prog_compiler_pic='--shared'
   16530 	lt_prog_compiler_static='--static'
   16531 	;;
   16532       nagfor*)
   16533 	# NAG Fortran compiler
   16534 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16535 	lt_prog_compiler_pic='-PIC'
   16536 	lt_prog_compiler_static='-Bstatic'
   16537 	;;
   16538       tcc*)
   16539 	# Fabrice Bellard et al's Tiny C Compiler
   16540 	lt_prog_compiler_wl='-Wl,'
   16541 	lt_prog_compiler_pic='-fPIC'
   16542 	lt_prog_compiler_static='-static'
   16543 	;;
   16544       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16545         # Portland Group compilers (*not* the Pentium gcc compiler,
   16546 	# which looks to be a dead project)
   16547 	lt_prog_compiler_wl='-Wl,'
   16548 	lt_prog_compiler_pic='-fpic'
   16549 	lt_prog_compiler_static='-Bstatic'
   16550         ;;
   16551       ccc*)
   16552         lt_prog_compiler_wl='-Wl,'
   16553         # All Alpha code is PIC.
   16554         lt_prog_compiler_static='-non_shared'
   16555         ;;
   16556       xl* | bgxl* | bgf* | mpixl*)
   16557 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16558 	lt_prog_compiler_wl='-Wl,'
   16559 	lt_prog_compiler_pic='-qpic'
   16560 	lt_prog_compiler_static='-qstaticlink'
   16561 	;;
   16562       *)
   16563 	case `$CC -V 2>&1 | $SED 5q` in
   16564 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16565 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16566 	  lt_prog_compiler_pic='-KPIC'
   16567 	  lt_prog_compiler_static='-Bstatic'
   16568 	  lt_prog_compiler_wl=''
   16569 	  ;;
   16570 	*Sun\ F* | *Sun*Fortran*)
   16571 	  lt_prog_compiler_pic='-KPIC'
   16572 	  lt_prog_compiler_static='-Bstatic'
   16573 	  lt_prog_compiler_wl='-Qoption ld '
   16574 	  ;;
   16575 	*Sun\ C*)
   16576 	  # Sun C 5.9
   16577 	  lt_prog_compiler_pic='-KPIC'
   16578 	  lt_prog_compiler_static='-Bstatic'
   16579 	  lt_prog_compiler_wl='-Wl,'
   16580 	  ;;
   16581         *Intel*\ [CF]*Compiler*)
   16582 	  lt_prog_compiler_wl='-Wl,'
   16583 	  lt_prog_compiler_pic='-fPIC'
   16584 	  lt_prog_compiler_static='-static'
   16585 	  ;;
   16586 	*Portland\ Group*)
   16587 	  lt_prog_compiler_wl='-Wl,'
   16588 	  lt_prog_compiler_pic='-fpic'
   16589 	  lt_prog_compiler_static='-Bstatic'
   16590 	  ;;
   16591 	esac
   16592 	;;
   16593       esac
   16594       ;;
   16595 
   16596     newsos6)
   16597       lt_prog_compiler_pic='-KPIC'
   16598       lt_prog_compiler_static='-Bstatic'
   16599       ;;
   16600 
   16601     *-mlibc)
   16602       lt_prog_compiler_wl='-Wl,'
   16603       lt_prog_compiler_pic='-fPIC'
   16604       lt_prog_compiler_static='-static'
   16605       ;;
   16606 
   16607     *nto* | *qnx*)
   16608       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16609       # it will coredump.
   16610       lt_prog_compiler_pic='-fPIC -shared'
   16611       ;;
   16612 
   16613     osf3* | osf4* | osf5*)
   16614       lt_prog_compiler_wl='-Wl,'
   16615       # All OSF/1 code is PIC.
   16616       lt_prog_compiler_static='-non_shared'
   16617       ;;
   16618 
   16619     rdos*)
   16620       lt_prog_compiler_static='-non_shared'
   16621       ;;
   16622 
   16623     serenity*)
   16624       ;;
   16625 
   16626     solaris*)
   16627       lt_prog_compiler_pic='-KPIC'
   16628       lt_prog_compiler_static='-Bstatic'
   16629       case $cc_basename in
   16630       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16631 	lt_prog_compiler_wl='-Qoption ld ';;
   16632       *)
   16633 	lt_prog_compiler_wl='-Wl,';;
   16634       esac
   16635       ;;
   16636 
   16637     sunos4*)
   16638       lt_prog_compiler_wl='-Qoption ld '
   16639       lt_prog_compiler_pic='-PIC'
   16640       lt_prog_compiler_static='-Bstatic'
   16641       ;;
   16642 
   16643     sysv4 | sysv4.2uw2* | sysv4.3*)
   16644       lt_prog_compiler_wl='-Wl,'
   16645       lt_prog_compiler_pic='-KPIC'
   16646       lt_prog_compiler_static='-Bstatic'
   16647       ;;
   16648 
   16649     sysv4*MP*)
   16650       if test -d /usr/nec; then
   16651 	lt_prog_compiler_pic='-Kconform_pic'
   16652 	lt_prog_compiler_static='-Bstatic'
   16653       fi
   16654       ;;
   16655 
   16656     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16657       lt_prog_compiler_wl='-Wl,'
   16658       lt_prog_compiler_pic='-KPIC'
   16659       lt_prog_compiler_static='-Bstatic'
   16660       ;;
   16661 
   16662     unicos*)
   16663       lt_prog_compiler_wl='-Wl,'
   16664       lt_prog_compiler_can_build_shared=no
   16665       ;;
   16666 
   16667     uts4*)
   16668       lt_prog_compiler_pic='-pic'
   16669       lt_prog_compiler_static='-Bstatic'
   16670       ;;
   16671 
   16672     *)
   16673       lt_prog_compiler_can_build_shared=no
   16674       ;;
   16675     esac
   16676   fi
   16677 
   16678 case $host_os in
   16679   # For platforms that do not support PIC, -DPIC is meaningless:
   16680   *djgpp*)
   16681     lt_prog_compiler_pic=
   16682     ;;
   16683   *)
   16684     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16685     ;;
   16686 esac
   16687 
   16688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16689 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16690 if test ${lt_cv_prog_compiler_pic+y}
   16691 then :
   16692   printf %s "(cached) " >&6
   16693 else case e in #(
   16694   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16695 esac
   16696 fi
   16697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16698 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   16699 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16700 
   16701 #
   16702 # Check to make sure the PIC flag actually works.
   16703 #
   16704 if test -n "$lt_prog_compiler_pic"; then
   16705   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16706 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16707 if test ${lt_cv_prog_compiler_pic_works+y}
   16708 then :
   16709   printf %s "(cached) " >&6
   16710 else case e in #(
   16711   e) lt_cv_prog_compiler_pic_works=no
   16712    ac_outfile=conftest.$ac_objext
   16713    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16714    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16715    # Insert the option either (1) after the last *FLAGS variable, or
   16716    # (2) before a word containing "conftest.", or (3) at the end.
   16717    # Note that $ac_compile itself does not contain backslashes and begins
   16718    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16719    # The option is referenced via a variable to avoid confusing sed.
   16720    lt_compile=`echo "$ac_compile" | $SED \
   16721    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16722    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16723    -e 's:$: $lt_compiler_flag:'`
   16724    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16725    (eval "$lt_compile" 2>conftest.err)
   16726    ac_status=$?
   16727    cat conftest.err >&5
   16728    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16729    if (exit $ac_status) && test -s "$ac_outfile"; then
   16730      # The compiler can only warn and ignore the option if not recognized
   16731      # So say no if there are warnings other than the usual output.
   16732      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16733      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16734      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16735        lt_cv_prog_compiler_pic_works=yes
   16736      fi
   16737    fi
   16738    $RM conftest*
   16739  ;;
   16740 esac
   16741 fi
   16742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16743 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   16744 
   16745 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16746     case $lt_prog_compiler_pic in
   16747      "" | " "*) ;;
   16748      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16749      esac
   16750 else
   16751     lt_prog_compiler_pic=
   16752      lt_prog_compiler_can_build_shared=no
   16753 fi
   16754 
   16755 fi
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 #
   16768 # Check to make sure the static flag actually works.
   16769 #
   16770 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16772 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16773 if test ${lt_cv_prog_compiler_static_works+y}
   16774 then :
   16775   printf %s "(cached) " >&6
   16776 else case e in #(
   16777   e) lt_cv_prog_compiler_static_works=no
   16778    save_LDFLAGS=$LDFLAGS
   16779    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16780    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16781    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16782      # The linker can only warn and ignore the option if not recognized
   16783      # So say no if there are warnings
   16784      if test -s conftest.err; then
   16785        # Append any errors to the config.log.
   16786        cat conftest.err 1>&5
   16787        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16788        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16789        if diff conftest.exp conftest.er2 >/dev/null; then
   16790          lt_cv_prog_compiler_static_works=yes
   16791        fi
   16792      else
   16793        lt_cv_prog_compiler_static_works=yes
   16794      fi
   16795    fi
   16796    $RM -r conftest*
   16797    LDFLAGS=$save_LDFLAGS
   16798  ;;
   16799 esac
   16800 fi
   16801 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16802 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   16803 
   16804 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16805     :
   16806 else
   16807     lt_prog_compiler_static=
   16808 fi
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16817 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16818 if test ${lt_cv_prog_compiler_c_o+y}
   16819 then :
   16820   printf %s "(cached) " >&6
   16821 else case e in #(
   16822   e) lt_cv_prog_compiler_c_o=no
   16823    $RM -r conftest 2>/dev/null
   16824    mkdir conftest
   16825    cd conftest
   16826    mkdir out
   16827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16828 
   16829    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16830    # Insert the option either (1) after the last *FLAGS variable, or
   16831    # (2) before a word containing "conftest.", or (3) at the end.
   16832    # Note that $ac_compile itself does not contain backslashes and begins
   16833    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16834    lt_compile=`echo "$ac_compile" | $SED \
   16835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16837    -e 's:$: $lt_compiler_flag:'`
   16838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16839    (eval "$lt_compile" 2>out/conftest.err)
   16840    ac_status=$?
   16841    cat out/conftest.err >&5
   16842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16844    then
   16845      # The compiler can only warn and ignore the option if not recognized
   16846      # So say no if there are warnings
   16847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16850        lt_cv_prog_compiler_c_o=yes
   16851      fi
   16852    fi
   16853    chmod u+w . 2>&5
   16854    $RM conftest*
   16855    # SGI C++ compiler will create directory out/ii_files/ for
   16856    # template instantiation
   16857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16858    $RM out/* && rmdir out
   16859    cd ..
   16860    $RM -r conftest
   16861    $RM conftest*
   16862  ;;
   16863 esac
   16864 fi
   16865 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16866 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16874 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16875 if test ${lt_cv_prog_compiler_c_o+y}
   16876 then :
   16877   printf %s "(cached) " >&6
   16878 else case e in #(
   16879   e) lt_cv_prog_compiler_c_o=no
   16880    $RM -r conftest 2>/dev/null
   16881    mkdir conftest
   16882    cd conftest
   16883    mkdir out
   16884    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16885 
   16886    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16887    # Insert the option either (1) after the last *FLAGS variable, or
   16888    # (2) before a word containing "conftest.", or (3) at the end.
   16889    # Note that $ac_compile itself does not contain backslashes and begins
   16890    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16891    lt_compile=`echo "$ac_compile" | $SED \
   16892    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16893    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16894    -e 's:$: $lt_compiler_flag:'`
   16895    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16896    (eval "$lt_compile" 2>out/conftest.err)
   16897    ac_status=$?
   16898    cat out/conftest.err >&5
   16899    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16900    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16901    then
   16902      # The compiler can only warn and ignore the option if not recognized
   16903      # So say no if there are warnings
   16904      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16905      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16906      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16907        lt_cv_prog_compiler_c_o=yes
   16908      fi
   16909    fi
   16910    chmod u+w . 2>&5
   16911    $RM conftest*
   16912    # SGI C++ compiler will create directory out/ii_files/ for
   16913    # template instantiation
   16914    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16915    $RM out/* && rmdir out
   16916    cd ..
   16917    $RM -r conftest
   16918    $RM conftest*
   16919  ;;
   16920 esac
   16921 fi
   16922 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16923 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   16924 
   16925 
   16926 
   16927 
   16928 hard_links=nottested
   16929 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16930   # do not overwrite the value of need_locks provided by the user
   16931   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16932 printf %s "checking if we can lock with hard links... " >&6; }
   16933   hard_links=yes
   16934   $RM conftest*
   16935   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16936   touch conftest.a
   16937   ln conftest.a conftest.b 2>&5 || hard_links=no
   16938   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16939   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16940 printf '%s\n' "$hard_links" >&6; }
   16941   if test no = "$hard_links"; then
   16942     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16943 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16944     need_locks=warn
   16945   fi
   16946 else
   16947   need_locks=no
   16948 fi
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16956 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16957 
   16958   runpath_var=
   16959   allow_undefined_flag=
   16960   always_export_symbols=no
   16961   archive_cmds=
   16962   archive_expsym_cmds=
   16963   compiler_needs_object=no
   16964   enable_shared_with_static_runtimes=no
   16965   export_dynamic_flag_spec=
   16966   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16967   hardcode_automatic=no
   16968   hardcode_direct=no
   16969   hardcode_direct_absolute=no
   16970   hardcode_libdir_flag_spec=
   16971   hardcode_libdir_separator=
   16972   hardcode_minus_L=no
   16973   hardcode_shlibpath_var=unsupported
   16974   inherit_rpath=no
   16975   link_all_deplibs=unknown
   16976   module_cmds=
   16977   module_expsym_cmds=
   16978   old_archive_from_new_cmds=
   16979   old_archive_from_expsyms_cmds=
   16980   thread_safe_flag_spec=
   16981   whole_archive_flag_spec=
   16982   # include_expsyms should be a list of space-separated symbols to be *always*
   16983   # included in the symbol list
   16984   include_expsyms=
   16985   # exclude_expsyms can be an extended regexp of symbols to exclude
   16986   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16987   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16988   # as well as any symbol that contains 'd'.
   16989   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16990   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16991   # platforms (ab)use it in PIC code, but their linkers get confused if
   16992   # the symbol is explicitly referenced.  Since portable code cannot
   16993   # rely on this symbol name, it's probably fine to never include it in
   16994   # preloaded symbol tables.
   16995   # Exclude shared library initialization/finalization symbols.
   16996   extract_expsyms_cmds=
   16997 
   16998   case $host_os in
   16999   cygwin* | mingw* | windows* | pw32* | cegcc*)
   17000     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   17001     # When not using gcc, we currently assume that we are using
   17002     # Microsoft Visual C++ or Intel C++ Compiler.
   17003     if test yes != "$GCC"; then
   17004       with_gnu_ld=no
   17005     fi
   17006     ;;
   17007   interix*)
   17008     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   17009     with_gnu_ld=yes
   17010     ;;
   17011   esac
   17012 
   17013   ld_shlibs=yes
   17014 
   17015   # On some targets, GNU ld is compatible enough with the native linker
   17016   # that we're better off using the native interface for both.
   17017   lt_use_gnu_ld_interface=no
   17018   if test yes = "$with_gnu_ld"; then
   17019     case $host_os in
   17020       aix*)
   17021 	# The AIX port of GNU ld has always aspired to compatibility
   17022 	# with the native linker.  However, as the warning in the GNU ld
   17023 	# block says, versions before 2.19.5* couldn't really create working
   17024 	# shared libraries, regardless of the interface used.
   17025 	case `$LD -v 2>&1` in
   17026 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   17027 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   17028 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   17029 	  *)
   17030 	    lt_use_gnu_ld_interface=yes
   17031 	    ;;
   17032 	esac
   17033 	;;
   17034       *)
   17035 	lt_use_gnu_ld_interface=yes
   17036 	;;
   17037     esac
   17038   fi
   17039 
   17040   if test yes = "$lt_use_gnu_ld_interface"; then
   17041     # If archive_cmds runs LD, not CC, wlarc should be empty
   17042     wlarc='$wl'
   17043 
   17044     # Set some defaults for GNU ld with shared library support. These
   17045     # are reset later if shared libraries are not supported. Putting them
   17046     # here allows them to be overridden if necessary.
   17047     runpath_var=LD_RUN_PATH
   17048     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17049     export_dynamic_flag_spec='$wl--export-dynamic'
   17050     # ancient GNU ld didn't support --whole-archive et. al.
   17051     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   17052       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   17053     else
   17054       whole_archive_flag_spec=
   17055     fi
   17056     supports_anon_versioning=no
   17057     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   17058       *GNU\ gold*) supports_anon_versioning=yes ;;
   17059       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17060       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17061       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17062       *\ 2.11.*) ;; # other 2.11 versions
   17063       *) supports_anon_versioning=yes ;;
   17064     esac
   17065 
   17066     # See if GNU ld supports shared libraries.
   17067     case $host_os in
   17068     aix[3-9]*)
   17069       # On AIX/PPC, the GNU linker is very broken
   17070       if test ia64 != "$host_cpu"; then
   17071 	ld_shlibs=no
   17072 	cat <<_LT_EOF 1>&2
   17073 
   17074 *** Warning: the GNU linker, at least up to release 2.19, is reported
   17075 *** to be unable to reliably create shared libraries on AIX.
   17076 *** Therefore, libtool is disabling shared libraries support.  If you
   17077 *** really care for shared libraries, you may want to install binutils
   17078 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   17079 *** You will then need to restart the configuration process.
   17080 
   17081 _LT_EOF
   17082       fi
   17083       ;;
   17084 
   17085     amigaos*)
   17086       case $host_cpu in
   17087       powerpc)
   17088             # see comment about AmigaOS4 .so support
   17089             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17090             archive_expsym_cmds=''
   17091         ;;
   17092       m68k)
   17093             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)'
   17094             hardcode_libdir_flag_spec='-L$libdir'
   17095             hardcode_minus_L=yes
   17096         ;;
   17097       esac
   17098       ;;
   17099 
   17100     beos*)
   17101       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17102 	allow_undefined_flag=unsupported
   17103 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17104 	# support --undefined.  This deserves some investigation.  FIXME
   17105 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17106       else
   17107 	ld_shlibs=no
   17108       fi
   17109       ;;
   17110 
   17111     cygwin* | mingw* | windows* | pw32* | cegcc*)
   17112       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   17113       # as there is no search path for DLLs.
   17114       hardcode_libdir_flag_spec='-L$libdir'
   17115       export_dynamic_flag_spec='$wl--export-all-symbols'
   17116       allow_undefined_flag=unsupported
   17117       always_export_symbols=no
   17118       enable_shared_with_static_runtimes=yes
   17119       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'
   17120       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   17121       file_list_spec='@'
   17122 
   17123       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   17124         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17125 	# If the export-symbols file already is a .def file, use it as
   17126 	# is; otherwise, prepend EXPORTS...
   17127 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17128           cp $export_symbols $output_objdir/$soname.def;
   17129         else
   17130           echo EXPORTS > $output_objdir/$soname.def;
   17131           cat $export_symbols >> $output_objdir/$soname.def;
   17132         fi~
   17133         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17134       else
   17135 	ld_shlibs=no
   17136       fi
   17137       ;;
   17138 
   17139     haiku*)
   17140       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17141       link_all_deplibs=no
   17142       ;;
   17143 
   17144     os2*)
   17145       hardcode_libdir_flag_spec='-L$libdir'
   17146       hardcode_minus_L=yes
   17147       allow_undefined_flag=unsupported
   17148       shrext_cmds=.dll
   17149       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17150 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17151 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17152 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17153 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17154 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17155 	emximp -o $lib $output_objdir/$libname.def'
   17156       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17157 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17158 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17159 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17160 	prefix_cmds="$SED"~
   17161 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17162 	  prefix_cmds="$prefix_cmds -e 1d";
   17163 	fi~
   17164 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17165 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17166 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17167 	emximp -o $lib $output_objdir/$libname.def'
   17168       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17169       enable_shared_with_static_runtimes=yes
   17170       file_list_spec='@'
   17171       ;;
   17172 
   17173     interix[3-9]*)
   17174       hardcode_direct=no
   17175       hardcode_shlibpath_var=no
   17176       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17177       export_dynamic_flag_spec='$wl-E'
   17178       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17179       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17180       # default) and relocated if they conflict, which is a slow very memory
   17181       # consuming and fragmenting process.  To avoid this, we pick a random,
   17182       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17183       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17184       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   17185       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'
   17186       ;;
   17187 
   17188     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   17189       tmp_diet=no
   17190       if test linux-dietlibc = "$host_os"; then
   17191 	case $cc_basename in
   17192 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   17193 	esac
   17194       fi
   17195       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   17196 	 && test no = "$tmp_diet"
   17197       then
   17198 	tmp_addflag=' $pic_flag'
   17199 	tmp_sharedflag='-shared'
   17200 	case $cc_basename,$host_cpu in
   17201         pgcc*)				# Portland Group C compiler
   17202 	  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'
   17203 	  tmp_addflag=' $pic_flag'
   17204 	  ;;
   17205 	pgf77* | pgf90* | pgf95* | pgfortran*)
   17206 					# Portland Group f77 and f90 compilers
   17207 	  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'
   17208 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17209 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   17210 	  tmp_addflag=' -i_dynamic' ;;
   17211 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17212 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17213 	ifc* | ifort*)			# Intel Fortran compiler
   17214 	  tmp_addflag=' -nofor_main' ;;
   17215 	lf95*)				# Lahey Fortran 8.1
   17216 	  whole_archive_flag_spec=
   17217 	  tmp_sharedflag='--shared' ;;
   17218         nagfor*)                        # NAGFOR 5.3
   17219           tmp_sharedflag='-Wl,-shared' ;;
   17220 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   17221 	  tmp_sharedflag='-qmkshrobj'
   17222 	  tmp_addflag= ;;
   17223 	nvcc*)	# Cuda Compiler Driver 2.2
   17224 	  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'
   17225 	  compiler_needs_object=yes
   17226 	  ;;
   17227 	esac
   17228 	case `$CC -V 2>&1 | $SED 5q` in
   17229 	*Sun\ C*)			# Sun C 5.9
   17230 	  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'
   17231 	  compiler_needs_object=yes
   17232 	  tmp_sharedflag='-G' ;;
   17233 	*Sun\ F*)			# Sun Fortran 8.3
   17234 	  tmp_sharedflag='-G' ;;
   17235 	esac
   17236 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17237 
   17238         if test yes = "$supports_anon_versioning"; then
   17239           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   17240             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17241             echo "local: *; };" >> $output_objdir/$libname.ver~
   17242             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   17243         fi
   17244 
   17245 	case $cc_basename in
   17246 	tcc*)
   17247 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17248 	  export_dynamic_flag_spec='-rdynamic'
   17249 	  ;;
   17250 	xlf* | bgf* | bgxlf* | mpixlf*)
   17251 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   17252 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   17253 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17254 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   17255 	  if test yes = "$supports_anon_versioning"; then
   17256 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   17257               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17258               echo "local: *; };" >> $output_objdir/$libname.ver~
   17259               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   17260 	  fi
   17261 	  ;;
   17262 	esac
   17263       else
   17264         ld_shlibs=no
   17265       fi
   17266       ;;
   17267 
   17268     *-mlibc)
   17269 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17270 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17271       ;;
   17272 
   17273     netbsd* | netbsdelf*-gnu)
   17274       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17275 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17276 	wlarc=
   17277       else
   17278 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17279 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17280       fi
   17281       ;;
   17282 
   17283     solaris*)
   17284       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   17285 	ld_shlibs=no
   17286 	cat <<_LT_EOF 1>&2
   17287 
   17288 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17289 *** create shared libraries on Solaris systems.  Therefore, libtool
   17290 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17291 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17292 *** your PATH or compiler configuration so that the native linker is
   17293 *** used, and then restart.
   17294 
   17295 _LT_EOF
   17296       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17297 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17298 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17299       else
   17300 	ld_shlibs=no
   17301       fi
   17302       ;;
   17303 
   17304     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17305       case `$LD -v 2>&1` in
   17306         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17307 	ld_shlibs=no
   17308 	cat <<_LT_EOF 1>&2
   17309 
   17310 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   17311 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17312 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17313 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17314 *** your PATH or compiler configuration so that the native linker is
   17315 *** used, and then restart.
   17316 
   17317 _LT_EOF
   17318 	;;
   17319 	*)
   17320 	  # For security reasons, it is highly recommended that you always
   17321 	  # use absolute paths for naming shared libraries, and exclude the
   17322 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   17323 	  # requires that you compile everything twice, which is a pain.
   17324 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17325 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17326 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17327 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17328 	  else
   17329 	    ld_shlibs=no
   17330 	  fi
   17331 	;;
   17332       esac
   17333       ;;
   17334 
   17335     sunos4*)
   17336       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17337       wlarc=
   17338       hardcode_direct=yes
   17339       hardcode_shlibpath_var=no
   17340       ;;
   17341 
   17342     *)
   17343       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   17344 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17345 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   17346       else
   17347 	ld_shlibs=no
   17348       fi
   17349       ;;
   17350     esac
   17351 
   17352     if test no = "$ld_shlibs"; then
   17353       runpath_var=
   17354       hardcode_libdir_flag_spec=
   17355       export_dynamic_flag_spec=
   17356       whole_archive_flag_spec=
   17357     fi
   17358   else
   17359     # PORTME fill in a description of your system's linker (not GNU ld)
   17360     case $host_os in
   17361     aix3*)
   17362       allow_undefined_flag=unsupported
   17363       always_export_symbols=yes
   17364       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'
   17365       # Note: this linker hardcodes the directories in LIBPATH if there
   17366       # are no directories specified by -L.
   17367       hardcode_minus_L=yes
   17368       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   17369 	# Neither direct hardcoding nor static linking is supported with a
   17370 	# broken collect2.
   17371 	hardcode_direct=unsupported
   17372       fi
   17373       ;;
   17374 
   17375     aix[4-9]*)
   17376       if test ia64 = "$host_cpu"; then
   17377 	# On IA64, the linker does run time linking by default, so we don't
   17378 	# have to do anything special.
   17379 	aix_use_runtimelinking=no
   17380 	exp_sym_flag='-Bexport'
   17381 	no_entry_flag=
   17382       else
   17383 	# If we're using GNU nm, then we don't want the "-C" option.
   17384 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17385 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17386 	# weak defined symbols like other global defined symbols, whereas
   17387 	# GNU nm marks them as "W".
   17388 	# While the 'weak' keyword is ignored in the Export File, we need
   17389 	# it in the Import File for the 'aix-soname' feature, so we have
   17390 	# to replace the "-B" option with "-P" for AIX nm.
   17391 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17392 	  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'
   17393 	else
   17394 	  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'
   17395 	fi
   17396 	aix_use_runtimelinking=no
   17397 
   17398 	# Test if we are trying to use run time linking or normal
   17399 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17400 	# have runtime linking enabled, and use it for executables.
   17401 	# For shared libraries, we enable/disable runtime linking
   17402 	# depending on the kind of the shared library created -
   17403 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17404 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17405 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17406 	#            lib.a           static archive
   17407 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17408 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17409 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17410 	#            lib.a(lib.so.V) shared, rtl:no
   17411 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17412 	#            lib.a           static archive
   17413 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17414 	  for ld_flag in $LDFLAGS; do
   17415 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17416 	    aix_use_runtimelinking=yes
   17417 	    break
   17418 	  fi
   17419 	  done
   17420 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17421 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17422 	    # so we don't have lib.a shared libs to link our executables.
   17423 	    # We have to force runtime linking in this case.
   17424 	    aix_use_runtimelinking=yes
   17425 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17426 	  fi
   17427 	  ;;
   17428 	esac
   17429 
   17430 	exp_sym_flag='-bexport'
   17431 	no_entry_flag='-bnoentry'
   17432       fi
   17433 
   17434       # When large executables or shared objects are built, AIX ld can
   17435       # have problems creating the table of contents.  If linking a library
   17436       # or program results in "error TOC overflow" add -mminimal-toc to
   17437       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17438       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17439 
   17440       archive_cmds=''
   17441       hardcode_direct=yes
   17442       hardcode_direct_absolute=yes
   17443       hardcode_libdir_separator=':'
   17444       link_all_deplibs=yes
   17445       file_list_spec='$wl-f,'
   17446       case $with_aix_soname,$aix_use_runtimelinking in
   17447       aix,*) ;; # traditional, no import file
   17448       svr4,* | *,yes) # use import file
   17449 	# The Import File defines what to hardcode.
   17450 	hardcode_direct=no
   17451 	hardcode_direct_absolute=no
   17452 	;;
   17453       esac
   17454 
   17455       if test yes = "$GCC"; then
   17456 	case $host_os in aix4.[012]|aix4.[012].*)
   17457 	# We only want to do this on AIX 4.2 and lower, the check
   17458 	# below for broken collect2 doesn't work under 4.3+
   17459 	  collect2name=`$CC -print-prog-name=collect2`
   17460 	  if test -f "$collect2name" &&
   17461 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17462 	  then
   17463 	  # We have reworked collect2
   17464 	  :
   17465 	  else
   17466 	  # We have old collect2
   17467 	  hardcode_direct=unsupported
   17468 	  # It fails to find uninstalled libraries when the uninstalled
   17469 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17470 	  # to unsupported forces relinking
   17471 	  hardcode_minus_L=yes
   17472 	  hardcode_libdir_flag_spec='-L$libdir'
   17473 	  hardcode_libdir_separator=
   17474 	  fi
   17475 	  ;;
   17476 	esac
   17477 	shared_flag='-shared'
   17478 	if test yes = "$aix_use_runtimelinking"; then
   17479 	  shared_flag="$shared_flag "'$wl-G'
   17480 	fi
   17481 	# Need to ensure runtime linking is disabled for the traditional
   17482 	# shared library, or the linker may eventually find shared libraries
   17483 	# /with/ Import File - we do not want to mix them.
   17484 	shared_flag_aix='-shared'
   17485 	shared_flag_svr4='-shared $wl-G'
   17486       else
   17487 	# not using gcc
   17488 	if test ia64 = "$host_cpu"; then
   17489 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17490 	# chokes on -Wl,-G. The following line is correct:
   17491 	  shared_flag='-G'
   17492 	else
   17493 	  if test yes = "$aix_use_runtimelinking"; then
   17494 	    shared_flag='$wl-G'
   17495 	  else
   17496 	    shared_flag='$wl-bM:SRE'
   17497 	  fi
   17498 	  shared_flag_aix='$wl-bM:SRE'
   17499 	  shared_flag_svr4='$wl-G'
   17500 	fi
   17501       fi
   17502 
   17503       export_dynamic_flag_spec='$wl-bexpall'
   17504       # It seems that -bexpall does not export symbols beginning with
   17505       # underscore (_), so it is better to generate a list of symbols to export.
   17506       always_export_symbols=yes
   17507       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17508 	# Warning - without using the other runtime loading flags (-brtl),
   17509 	# -berok will link without error, but may produce a broken library.
   17510 	allow_undefined_flag='-berok'
   17511         # Determine the default libpath from the value encoded in an
   17512         # empty executable.
   17513         if test set = "${lt_cv_aix_libpath+set}"; then
   17514   aix_libpath=$lt_cv_aix_libpath
   17515 else
   17516   if test ${lt_cv_aix_libpath_+y}
   17517 then :
   17518   printf %s "(cached) " >&6
   17519 else case e in #(
   17520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17521 /* end confdefs.h.  */
   17522 
   17523 int
   17524 main (void)
   17525 {
   17526 
   17527   ;
   17528   return 0;
   17529 }
   17530 _ACEOF
   17531 if ac_fn_c_try_link "$LINENO"
   17532 then :
   17533 
   17534   lt_aix_libpath_sed='
   17535       /Import File Strings/,/^$/ {
   17536 	  /^0/ {
   17537 	      s/^0  *\([^ ]*\) *$/\1/
   17538 	      p
   17539 	  }
   17540       }'
   17541   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17542   # Check for a 64-bit object if we didn't find anything.
   17543   if test -z "$lt_cv_aix_libpath_"; then
   17544     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17545   fi
   17546 fi
   17547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17548     conftest$ac_exeext conftest.$ac_ext
   17549   if test -z "$lt_cv_aix_libpath_"; then
   17550     lt_cv_aix_libpath_=/usr/lib:/lib
   17551   fi
   17552    ;;
   17553 esac
   17554 fi
   17555 
   17556   aix_libpath=$lt_cv_aix_libpath_
   17557 fi
   17558 
   17559         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17560         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
   17561       else
   17562 	if test ia64 = "$host_cpu"; then
   17563 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17564 	  allow_undefined_flag="-z nodefs"
   17565 	  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"
   17566 	else
   17567 	 # Determine the default libpath from the value encoded in an
   17568 	 # empty executable.
   17569 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17570   aix_libpath=$lt_cv_aix_libpath
   17571 else
   17572   if test ${lt_cv_aix_libpath_+y}
   17573 then :
   17574   printf %s "(cached) " >&6
   17575 else case e in #(
   17576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17577 /* end confdefs.h.  */
   17578 
   17579 int
   17580 main (void)
   17581 {
   17582 
   17583   ;
   17584   return 0;
   17585 }
   17586 _ACEOF
   17587 if ac_fn_c_try_link "$LINENO"
   17588 then :
   17589 
   17590   lt_aix_libpath_sed='
   17591       /Import File Strings/,/^$/ {
   17592 	  /^0/ {
   17593 	      s/^0  *\([^ ]*\) *$/\1/
   17594 	      p
   17595 	  }
   17596       }'
   17597   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17598   # Check for a 64-bit object if we didn't find anything.
   17599   if test -z "$lt_cv_aix_libpath_"; then
   17600     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17601   fi
   17602 fi
   17603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17604     conftest$ac_exeext conftest.$ac_ext
   17605   if test -z "$lt_cv_aix_libpath_"; then
   17606     lt_cv_aix_libpath_=/usr/lib:/lib
   17607   fi
   17608    ;;
   17609 esac
   17610 fi
   17611 
   17612   aix_libpath=$lt_cv_aix_libpath_
   17613 fi
   17614 
   17615 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17616 	  # Warning - without using the other run time loading flags,
   17617 	  # -berok will link without error, but may produce a broken library.
   17618 	  no_undefined_flag=' $wl-bernotok'
   17619 	  allow_undefined_flag=' $wl-berok'
   17620 	  if test yes = "$with_gnu_ld"; then
   17621 	    # We only use this code for GNU lds that support --whole-archive.
   17622 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17623 	  else
   17624 	    # Exported symbols can be pulled into shared objects from archives
   17625 	    whole_archive_flag_spec='$convenience'
   17626 	  fi
   17627 	  archive_cmds_need_lc=yes
   17628 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17629 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17630 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17631 	  if test svr4 != "$with_aix_soname"; then
   17632 	    # This is similar to how AIX traditionally builds its shared libraries.
   17633 	    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'
   17634 	  fi
   17635 	  if test aix != "$with_aix_soname"; then
   17636 	    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'
   17637 	  else
   17638 	    # used by -dlpreopen to get the symbols
   17639 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17640 	  fi
   17641 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17642 	fi
   17643       fi
   17644       ;;
   17645 
   17646     amigaos*)
   17647       case $host_cpu in
   17648       powerpc)
   17649             # see comment about AmigaOS4 .so support
   17650             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17651             archive_expsym_cmds=''
   17652         ;;
   17653       m68k)
   17654             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)'
   17655             hardcode_libdir_flag_spec='-L$libdir'
   17656             hardcode_minus_L=yes
   17657         ;;
   17658       esac
   17659       ;;
   17660 
   17661     bsdi[45]*)
   17662       export_dynamic_flag_spec=-rdynamic
   17663       ;;
   17664 
   17665     cygwin* | mingw* | windows* | pw32* | cegcc*)
   17666       # When not using gcc, we currently assume that we are using
   17667       # Microsoft Visual C++ or Intel C++ Compiler.
   17668       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17669       # no search path for DLLs.
   17670       case $cc_basename in
   17671       cl* | icl*)
   17672 	# Native MSVC or ICC
   17673 	hardcode_libdir_flag_spec=' '
   17674 	allow_undefined_flag=unsupported
   17675 	always_export_symbols=yes
   17676 	file_list_spec='@'
   17677 	# Tell ltmain to make .lib files, not .a files.
   17678 	libext=lib
   17679 	# Tell ltmain to make .dll files, not .so files.
   17680 	shrext_cmds=.dll
   17681 	# FIXME: Setting linknames here is a bad hack.
   17682 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17683 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17684             cp "$export_symbols" "$output_objdir/$soname.def";
   17685             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17686           else
   17687             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17688           fi~
   17689           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17690           linknames='
   17691 	# The linker will not automatically build a static lib if we build a DLL.
   17692 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17693 	enable_shared_with_static_runtimes=yes
   17694 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17695 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17696 	# Don't use ranlib
   17697 	old_postinstall_cmds='chmod 644 $oldlib'
   17698 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17699           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17700           case $lt_outputfile in
   17701             *.exe|*.EXE) ;;
   17702             *)
   17703               lt_outputfile=$lt_outputfile.exe
   17704               lt_tool_outputfile=$lt_tool_outputfile.exe
   17705               ;;
   17706           esac~
   17707           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17708             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17709             $RM "$lt_outputfile.manifest";
   17710           fi'
   17711 	;;
   17712       *)
   17713 	# Assume MSVC and ICC wrapper
   17714 	hardcode_libdir_flag_spec=' '
   17715 	allow_undefined_flag=unsupported
   17716 	# Tell ltmain to make .lib files, not .a files.
   17717 	libext=lib
   17718 	# Tell ltmain to make .dll files, not .so files.
   17719 	shrext_cmds=.dll
   17720 	# FIXME: Setting linknames here is a bad hack.
   17721 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17722 	# The linker will automatically build a .lib file if we build a DLL.
   17723 	old_archive_from_new_cmds='true'
   17724 	# FIXME: Should let the user specify the lib program.
   17725 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17726 	enable_shared_with_static_runtimes=yes
   17727 	;;
   17728       esac
   17729       ;;
   17730 
   17731     darwin* | rhapsody*)
   17732 
   17733 
   17734   archive_cmds_need_lc=no
   17735   hardcode_direct=no
   17736   hardcode_automatic=yes
   17737   hardcode_shlibpath_var=unsupported
   17738   if test yes = "$lt_cv_ld_force_load"; then
   17739     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\"`'
   17740 
   17741   else
   17742     whole_archive_flag_spec=''
   17743   fi
   17744   link_all_deplibs=yes
   17745   allow_undefined_flag=$_lt_dar_allow_undefined
   17746   case $cc_basename in
   17747      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17748      *) _lt_dar_can_shared=$GCC ;;
   17749   esac
   17750   if test yes = "$_lt_dar_can_shared"; then
   17751     output_verbose_link_cmd=func_echo_all
   17752     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17753     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17754     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"
   17755     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"
   17756 
   17757   else
   17758   ld_shlibs=no
   17759   fi
   17760 
   17761       ;;
   17762 
   17763     dgux*)
   17764       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17765       hardcode_libdir_flag_spec='-L$libdir'
   17766       hardcode_shlibpath_var=no
   17767       ;;
   17768 
   17769     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17770     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17771     # does not break anything, and helps significantly (at the cost of a little
   17772     # extra space).
   17773     freebsd2.2*)
   17774       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17775       hardcode_libdir_flag_spec='-R$libdir'
   17776       hardcode_direct=yes
   17777       hardcode_shlibpath_var=no
   17778       ;;
   17779 
   17780     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17781     freebsd2.*)
   17782       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17783       hardcode_direct=yes
   17784       hardcode_minus_L=yes
   17785       hardcode_shlibpath_var=no
   17786       ;;
   17787 
   17788     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17789     freebsd* | dragonfly* | midnightbsd*)
   17790       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17791       hardcode_libdir_flag_spec='-R$libdir'
   17792       hardcode_direct=yes
   17793       hardcode_shlibpath_var=no
   17794       ;;
   17795 
   17796     hpux9*)
   17797       if test yes = "$GCC"; then
   17798 	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'
   17799       else
   17800 	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'
   17801       fi
   17802       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17803       hardcode_libdir_separator=:
   17804       hardcode_direct=yes
   17805 
   17806       # hardcode_minus_L: Not really in the search PATH,
   17807       # but as the default location of the library.
   17808       hardcode_minus_L=yes
   17809       export_dynamic_flag_spec='$wl-E'
   17810       ;;
   17811 
   17812     hpux10*)
   17813       if test yes,no = "$GCC,$with_gnu_ld"; then
   17814 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17815       else
   17816 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17817       fi
   17818       if test no = "$with_gnu_ld"; then
   17819 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17820 	hardcode_libdir_separator=:
   17821 	hardcode_direct=yes
   17822 	hardcode_direct_absolute=yes
   17823 	export_dynamic_flag_spec='$wl-E'
   17824 	# hardcode_minus_L: Not really in the search PATH,
   17825 	# but as the default location of the library.
   17826 	hardcode_minus_L=yes
   17827       fi
   17828       ;;
   17829 
   17830     hpux11*)
   17831       if test yes,no = "$GCC,$with_gnu_ld"; then
   17832 	case $host_cpu in
   17833 	hppa*64*)
   17834 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17835 	  ;;
   17836 	ia64*)
   17837 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17838 	  ;;
   17839 	*)
   17840 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17841 	  ;;
   17842 	esac
   17843       else
   17844 	case $host_cpu in
   17845 	hppa*64*)
   17846 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17847 	  ;;
   17848 	ia64*)
   17849 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17850 	  ;;
   17851 	*)
   17852 
   17853 	  # Older versions of the 11.00 compiler do not understand -b yet
   17854 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17855 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17856 printf %s "checking if $CC understands -b... " >&6; }
   17857 if test ${lt_cv_prog_compiler__b+y}
   17858 then :
   17859   printf %s "(cached) " >&6
   17860 else case e in #(
   17861   e) lt_cv_prog_compiler__b=no
   17862    save_LDFLAGS=$LDFLAGS
   17863    LDFLAGS="$LDFLAGS -b"
   17864    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17865    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17866      # The linker can only warn and ignore the option if not recognized
   17867      # So say no if there are warnings
   17868      if test -s conftest.err; then
   17869        # Append any errors to the config.log.
   17870        cat conftest.err 1>&5
   17871        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17872        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17873        if diff conftest.exp conftest.er2 >/dev/null; then
   17874          lt_cv_prog_compiler__b=yes
   17875        fi
   17876      else
   17877        lt_cv_prog_compiler__b=yes
   17878      fi
   17879    fi
   17880    $RM -r conftest*
   17881    LDFLAGS=$save_LDFLAGS
   17882  ;;
   17883 esac
   17884 fi
   17885 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17886 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
   17887 
   17888 if test yes = "$lt_cv_prog_compiler__b"; then
   17889     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17890 else
   17891     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17892 fi
   17893 
   17894 	  ;;
   17895 	esac
   17896       fi
   17897       if test no = "$with_gnu_ld"; then
   17898 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17899 	hardcode_libdir_separator=:
   17900 
   17901 	case $host_cpu in
   17902 	hppa*64*|ia64*)
   17903 	  hardcode_direct=no
   17904 	  hardcode_shlibpath_var=no
   17905 	  ;;
   17906 	*)
   17907 	  hardcode_direct=yes
   17908 	  hardcode_direct_absolute=yes
   17909 	  export_dynamic_flag_spec='$wl-E'
   17910 
   17911 	  # hardcode_minus_L: Not really in the search PATH,
   17912 	  # but as the default location of the library.
   17913 	  hardcode_minus_L=yes
   17914 	  ;;
   17915 	esac
   17916       fi
   17917       ;;
   17918 
   17919     irix5* | irix6* | nonstopux*)
   17920       if test yes = "$GCC"; then
   17921 	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'
   17922 	# Try to use the -exported_symbol ld option, if it does not
   17923 	# work, assume that -exports_file does not work either and
   17924 	# implicitly export all symbols.
   17925 	# This should be the same for all languages, so no per-tag cache variable.
   17926 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17927 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17928 if test ${lt_cv_irix_exported_symbol+y}
   17929 then :
   17930   printf %s "(cached) " >&6
   17931 else case e in #(
   17932   e) save_LDFLAGS=$LDFLAGS
   17933 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17934 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17935 /* end confdefs.h.  */
   17936 int foo (void) { return 0; }
   17937 _ACEOF
   17938 if ac_fn_c_try_link "$LINENO"
   17939 then :
   17940   lt_cv_irix_exported_symbol=yes
   17941 else case e in #(
   17942   e) lt_cv_irix_exported_symbol=no ;;
   17943 esac
   17944 fi
   17945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17946     conftest$ac_exeext conftest.$ac_ext
   17947            LDFLAGS=$save_LDFLAGS ;;
   17948 esac
   17949 fi
   17950 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17951 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
   17952 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17953           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'
   17954 	fi
   17955       else
   17956 	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'
   17957 	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'
   17958       fi
   17959       archive_cmds_need_lc='no'
   17960       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17961       hardcode_libdir_separator=:
   17962       inherit_rpath=yes
   17963       link_all_deplibs=yes
   17964       ;;
   17965 
   17966     linux*)
   17967       case $cc_basename in
   17968       tcc*)
   17969 	# Fabrice Bellard et al's Tiny C Compiler
   17970 	ld_shlibs=yes
   17971 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17972 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17973 	;;
   17974       esac
   17975       ;;
   17976 
   17977     *-mlibc)
   17978       ;;
   17979 
   17980     netbsd* | netbsdelf*-gnu)
   17981       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17982 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17983       else
   17984 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17985       fi
   17986       hardcode_libdir_flag_spec='-R$libdir'
   17987       hardcode_direct=yes
   17988       hardcode_shlibpath_var=no
   17989       ;;
   17990 
   17991     newsos6)
   17992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17993       hardcode_direct=yes
   17994       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17995       hardcode_libdir_separator=:
   17996       hardcode_shlibpath_var=no
   17997       ;;
   17998 
   17999     *nto* | *qnx*)
   18000       ;;
   18001 
   18002     openbsd*)
   18003       if test -f /usr/libexec/ld.so; then
   18004 	hardcode_direct=yes
   18005 	hardcode_shlibpath_var=no
   18006 	hardcode_direct_absolute=yes
   18007 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18008 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18009 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   18010 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   18011 	  export_dynamic_flag_spec='$wl-E'
   18012 	else
   18013 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18014 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   18015 	fi
   18016       else
   18017 	ld_shlibs=no
   18018       fi
   18019       ;;
   18020 
   18021     os2*)
   18022       hardcode_libdir_flag_spec='-L$libdir'
   18023       hardcode_minus_L=yes
   18024       allow_undefined_flag=unsupported
   18025       shrext_cmds=.dll
   18026       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   18027 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   18028 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   18029 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   18030 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   18031 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   18032 	emximp -o $lib $output_objdir/$libname.def'
   18033       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   18034 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   18035 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   18036 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   18037 	prefix_cmds="$SED"~
   18038 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   18039 	  prefix_cmds="$prefix_cmds -e 1d";
   18040 	fi~
   18041 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   18042 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   18043 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   18044 	emximp -o $lib $output_objdir/$libname.def'
   18045       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   18046       enable_shared_with_static_runtimes=yes
   18047       file_list_spec='@'
   18048       ;;
   18049 
   18050     osf3*)
   18051       if test yes = "$GCC"; then
   18052 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   18053 	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'
   18054       else
   18055 	allow_undefined_flag=' -expect_unresolved \*'
   18056 	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'
   18057       fi
   18058       archive_cmds_need_lc='no'
   18059       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   18060       hardcode_libdir_separator=:
   18061       ;;
   18062 
   18063     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18064       if test yes = "$GCC"; then
   18065 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   18066 	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'
   18067 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   18068       else
   18069 	allow_undefined_flag=' -expect_unresolved \*'
   18070 	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'
   18071 	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~
   18072           $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'
   18073 
   18074 	# Both c and cxx compiler support -rpath directly
   18075 	hardcode_libdir_flag_spec='-rpath $libdir'
   18076       fi
   18077       archive_cmds_need_lc='no'
   18078       hardcode_libdir_separator=:
   18079       ;;
   18080 
   18081     serenity*)
   18082       ;;
   18083 
   18084     solaris*)
   18085       no_undefined_flag=' -z defs'
   18086       if test yes = "$GCC"; then
   18087 	wlarc='$wl'
   18088 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   18089 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18090           $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'
   18091       else
   18092 	case `$CC -V 2>&1` in
   18093 	*"Compilers 5.0"*)
   18094 	  wlarc=''
   18095 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18096 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18097             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   18098 	  ;;
   18099 	*)
   18100 	  wlarc='$wl'
   18101 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18102 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   18103             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   18104 	  ;;
   18105 	esac
   18106       fi
   18107       hardcode_libdir_flag_spec='-R$libdir'
   18108       hardcode_shlibpath_var=no
   18109       case $host_os in
   18110       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18111       *)
   18112 	# The compiler driver will combine and reorder linker options,
   18113 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   18114 	# but is careful enough not to reorder.
   18115 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18116 	if test yes = "$GCC"; then
   18117 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   18118 	else
   18119 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   18120 	fi
   18121 	;;
   18122       esac
   18123       link_all_deplibs=yes
   18124       ;;
   18125 
   18126     sunos4*)
   18127       if test sequent = "$host_vendor"; then
   18128 	# Use $CC to link under sequent, because it throws in some extra .o
   18129 	# files that make .init and .fini sections work.
   18130 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18131       else
   18132 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18133       fi
   18134       hardcode_libdir_flag_spec='-L$libdir'
   18135       hardcode_direct=yes
   18136       hardcode_minus_L=yes
   18137       hardcode_shlibpath_var=no
   18138       ;;
   18139 
   18140     sysv4)
   18141       case $host_vendor in
   18142 	sni)
   18143 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18144 	  hardcode_direct=yes # is this really true???
   18145 	;;
   18146 	siemens)
   18147 	  ## LD is ld it makes a PLAMLIB
   18148 	  ## CC just makes a GrossModule.
   18149 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18150 	  reload_cmds='$CC -r -o $output$reload_objs'
   18151 	  hardcode_direct=no
   18152         ;;
   18153 	motorola)
   18154 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18155 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   18156 	;;
   18157       esac
   18158       runpath_var='LD_RUN_PATH'
   18159       hardcode_shlibpath_var=no
   18160       ;;
   18161 
   18162     sysv4.3*)
   18163       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18164       hardcode_shlibpath_var=no
   18165       export_dynamic_flag_spec='-Bexport'
   18166       ;;
   18167 
   18168     sysv4*MP*)
   18169       if test -d /usr/nec; then
   18170 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18171 	hardcode_shlibpath_var=no
   18172 	runpath_var=LD_RUN_PATH
   18173 	hardcode_runpath_var=yes
   18174 	ld_shlibs=yes
   18175       fi
   18176       ;;
   18177 
   18178     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18179       no_undefined_flag='$wl-z,text'
   18180       archive_cmds_need_lc=no
   18181       hardcode_shlibpath_var=no
   18182       runpath_var='LD_RUN_PATH'
   18183 
   18184       if test yes = "$GCC"; then
   18185 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18186 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18187       else
   18188 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18189 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18190       fi
   18191       ;;
   18192 
   18193     sysv5* | sco3.2v5* | sco5v6*)
   18194       # Note: We CANNOT use -z defs as we might desire, because we do not
   18195       # link with -lc, and that would cause any symbols used from libc to
   18196       # always be unresolved, which means just about no library would
   18197       # ever link correctly.  If we're not using GNU ld we use -z text
   18198       # though, which does catch some bad symbols but isn't as heavy-handed
   18199       # as -z defs.
   18200       no_undefined_flag='$wl-z,text'
   18201       allow_undefined_flag='$wl-z,nodefs'
   18202       archive_cmds_need_lc=no
   18203       hardcode_shlibpath_var=no
   18204       hardcode_libdir_flag_spec='$wl-R,$libdir'
   18205       hardcode_libdir_separator=':'
   18206       link_all_deplibs=yes
   18207       export_dynamic_flag_spec='$wl-Bexport'
   18208       runpath_var='LD_RUN_PATH'
   18209 
   18210       if test yes = "$GCC"; then
   18211 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18212 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18213       else
   18214 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18215 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18216       fi
   18217       ;;
   18218 
   18219     uts4*)
   18220       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18221       hardcode_libdir_flag_spec='-L$libdir'
   18222       hardcode_shlibpath_var=no
   18223       ;;
   18224 
   18225     *)
   18226       ld_shlibs=no
   18227       ;;
   18228     esac
   18229 
   18230     if test sni = "$host_vendor"; then
   18231       case $host in
   18232       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   18233 	export_dynamic_flag_spec='$wl-Blargedynsym'
   18234 	;;
   18235       esac
   18236     fi
   18237   fi
   18238 
   18239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   18240 printf '%s\n' "$ld_shlibs" >&6; }
   18241 test no = "$ld_shlibs" && can_build_shared=no
   18242 
   18243 with_gnu_ld=$with_gnu_ld
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 #
   18260 # Do we need to explicitly link libc?
   18261 #
   18262 case "x$archive_cmds_need_lc" in
   18263 x|xyes)
   18264   # Assume -lc should be added
   18265   archive_cmds_need_lc=yes
   18266 
   18267   if test yes,yes = "$GCC,$enable_shared"; then
   18268     case $archive_cmds in
   18269     *'~'*)
   18270       # FIXME: we may have to deal with multi-command sequences.
   18271       ;;
   18272     '$CC '*)
   18273       # Test whether the compiler implicitly links with -lc since on some
   18274       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18275       # to ld, don't add -lc before -lgcc.
   18276       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   18277 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   18278 if test ${lt_cv_archive_cmds_need_lc+y}
   18279 then :
   18280   printf %s "(cached) " >&6
   18281 else case e in #(
   18282   e) $RM conftest*
   18283 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18284 
   18285 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   18286   (eval $ac_compile) 2>&5
   18287   ac_status=$?
   18288   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18289   test $ac_status = 0; } 2>conftest.err; then
   18290 	  soname=conftest
   18291 	  lib=conftest
   18292 	  libobjs=conftest.$ac_objext
   18293 	  deplibs=
   18294 	  wl=$lt_prog_compiler_wl
   18295 	  pic_flag=$lt_prog_compiler_pic
   18296 	  compiler_flags=-v
   18297 	  linker_flags=-v
   18298 	  verstring=
   18299 	  output_objdir=.
   18300 	  libname=conftest
   18301 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   18302 	  allow_undefined_flag=
   18303 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   18304   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18305   ac_status=$?
   18306   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18307   test $ac_status = 0; }
   18308 	  then
   18309 	    lt_cv_archive_cmds_need_lc=no
   18310 	  else
   18311 	    lt_cv_archive_cmds_need_lc=yes
   18312 	  fi
   18313 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   18314 	else
   18315 	  cat conftest.err 1>&5
   18316 	fi
   18317 	$RM conftest*
   18318 	 ;;
   18319 esac
   18320 fi
   18321 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   18322 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
   18323       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   18324       ;;
   18325     esac
   18326   fi
   18327   ;;
   18328 esac
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 
   18437 
   18438 
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18482 printf %s "checking dynamic linker characteristics... " >&6; }
   18483 
   18484 if test yes = "$GCC"; then
   18485   case $host_os in
   18486     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18487     *) lt_awk_arg='/^libraries:/' ;;
   18488   esac
   18489   case $host_os in
   18490     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18491     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18492   esac
   18493   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18494   case $lt_search_path_spec in
   18495   *\;*)
   18496     # if the path contains ";" then we assume it to be the separator
   18497     # otherwise default to the standard path separator (i.e. ":") - it is
   18498     # assumed that no part of a normal pathname contains ";" but that should
   18499     # okay in the real world where ";" in dirpaths is itself problematic.
   18500     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18501     ;;
   18502   *)
   18503     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18504     ;;
   18505   esac
   18506   # Ok, now we have the path, separated by spaces, we can step through it
   18507   # and add multilib dir if necessary...
   18508   lt_tmp_lt_search_path_spec=
   18509   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18510   # ...but if some path component already ends with the multilib dir we assume
   18511   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18512   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18513   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18514     lt_multi_os_dir=
   18515     ;;
   18516   esac
   18517   for lt_sys_path in $lt_search_path_spec; do
   18518     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18519       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18520     elif test -n "$lt_multi_os_dir"; then
   18521       test -d "$lt_sys_path" && \
   18522 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18523     fi
   18524   done
   18525   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18526 BEGIN {RS = " "; FS = "/|\n";} {
   18527   lt_foo = "";
   18528   lt_count = 0;
   18529   for (lt_i = NF; lt_i > 0; lt_i--) {
   18530     if ($lt_i != "" && $lt_i != ".") {
   18531       if ($lt_i == "..") {
   18532         lt_count++;
   18533       } else {
   18534         if (lt_count == 0) {
   18535           lt_foo = "/" $lt_i lt_foo;
   18536         } else {
   18537           lt_count--;
   18538         }
   18539       }
   18540     }
   18541   }
   18542   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18543   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18544 }'`
   18545   # AWK program above erroneously prepends '/' to C:/dos/paths
   18546   # for these hosts.
   18547   case $host_os in
   18548     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18549       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18550   esac
   18551   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18552 else
   18553   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18554 fi
   18555 library_names_spec=
   18556 libname_spec='lib$name'
   18557 soname_spec=
   18558 shrext_cmds=.so
   18559 postinstall_cmds=
   18560 postuninstall_cmds=
   18561 finish_cmds=
   18562 finish_eval=
   18563 shlibpath_var=
   18564 shlibpath_overrides_runpath=unknown
   18565 version_type=none
   18566 dynamic_linker="$host_os ld.so"
   18567 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18568 need_lib_prefix=unknown
   18569 hardcode_into_libs=no
   18570 
   18571 # when you set need_version to no, make sure it does not cause -set_version
   18572 # flags to be left without arguments
   18573 need_version=unknown
   18574 
   18575 
   18576 
   18577 case $host_os in
   18578 aix3*)
   18579   version_type=linux # correct to gnu/linux during the next big refactor
   18580   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18581   shlibpath_var=LIBPATH
   18582 
   18583   # AIX 3 has no versioning support, so we append a major version to the name.
   18584   soname_spec='$libname$release$shared_ext$major'
   18585   ;;
   18586 
   18587 aix[4-9]*)
   18588   version_type=linux # correct to gnu/linux during the next big refactor
   18589   need_lib_prefix=no
   18590   need_version=no
   18591   hardcode_into_libs=yes
   18592   if test ia64 = "$host_cpu"; then
   18593     # AIX 5 supports IA64
   18594     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18595     shlibpath_var=LD_LIBRARY_PATH
   18596   else
   18597     # With GCC up to 2.95.x, collect2 would create an import file
   18598     # for dependence libraries.  The import file would start with
   18599     # the line '#! .'.  This would cause the generated library to
   18600     # depend on '.', always an invalid library.  This was fixed in
   18601     # development snapshots of GCC prior to 3.0.
   18602     case $host_os in
   18603       aix4 | aix4.[01] | aix4.[01].*)
   18604       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18605 	   echo ' yes '
   18606 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18607 	:
   18608       else
   18609 	can_build_shared=no
   18610       fi
   18611       ;;
   18612     esac
   18613     # Using Import Files as archive members, it is possible to support
   18614     # filename-based versioning of shared library archives on AIX. While
   18615     # this would work for both with and without runtime linking, it will
   18616     # prevent static linking of such archives. So we do filename-based
   18617     # shared library versioning with .so extension only, which is used
   18618     # when both runtime linking and shared linking is enabled.
   18619     # Unfortunately, runtime linking may impact performance, so we do
   18620     # not want this to be the default eventually. Also, we use the
   18621     # versioned .so libs for executables only if there is the -brtl
   18622     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   18623     # To allow for filename-based versioning support, we need to create
   18624     # libNAME.so.V as an archive file, containing:
   18625     # *) an Import File, referring to the versioned filename of the
   18626     #    archive as well as the shared archive member, telling the
   18627     #    bitwidth (32 or 64) of that shared object, and providing the
   18628     #    list of exported symbols of that shared object, eventually
   18629     #    decorated with the 'weak' keyword
   18630     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18631     #    it being seen by the linker.
   18632     # At run time we better use the real file rather than another symlink,
   18633     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18634 
   18635     case $with_aix_soname,$aix_use_runtimelinking in
   18636     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18637     # soname into executable. Probably we can add versioning support to
   18638     # collect2, so additional links can be useful in future.
   18639     aix,yes) # traditional libtool
   18640       dynamic_linker='AIX unversionable lib.so'
   18641       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18642       # instead of lib<name>.a to let people know that these are not
   18643       # typical AIX shared libraries.
   18644       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18645       ;;
   18646     aix,no) # traditional AIX only
   18647       dynamic_linker='AIX lib.a(lib.so.V)'
   18648       # We preserve .a as extension for shared libraries through AIX4.2
   18649       # and later when we are not doing run time linking.
   18650       library_names_spec='$libname$release.a $libname.a'
   18651       soname_spec='$libname$release$shared_ext$major'
   18652       ;;
   18653     svr4,*) # full svr4 only
   18654       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18655       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18656       # We do not specify a path in Import Files, so LIBPATH fires.
   18657       shlibpath_overrides_runpath=yes
   18658       ;;
   18659     *,yes) # both, prefer svr4
   18660       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18661       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18662       # unpreferred sharedlib libNAME.a needs extra handling
   18663       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"'
   18664       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"'
   18665       # We do not specify a path in Import Files, so LIBPATH fires.
   18666       shlibpath_overrides_runpath=yes
   18667       ;;
   18668     *,no) # both, prefer aix
   18669       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18670       library_names_spec='$libname$release.a $libname.a'
   18671       soname_spec='$libname$release$shared_ext$major'
   18672       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18673       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)'
   18674       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"'
   18675       ;;
   18676     esac
   18677     shlibpath_var=LIBPATH
   18678   fi
   18679   ;;
   18680 
   18681 amigaos*)
   18682   case $host_cpu in
   18683   powerpc)
   18684     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18685     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18686     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18687     ;;
   18688   m68k)
   18689     library_names_spec='$libname.ixlibrary $libname.a'
   18690     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18691     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'
   18692     ;;
   18693   esac
   18694   ;;
   18695 
   18696 beos*)
   18697   library_names_spec='$libname$shared_ext'
   18698   dynamic_linker="$host_os ld.so"
   18699   shlibpath_var=LIBRARY_PATH
   18700   ;;
   18701 
   18702 bsdi[45]*)
   18703   version_type=linux # correct to gnu/linux during the next big refactor
   18704   need_version=no
   18705   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18706   soname_spec='$libname$release$shared_ext$major'
   18707   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18708   shlibpath_var=LD_LIBRARY_PATH
   18709   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18710   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18711   # the default ld.so.conf also contains /usr/contrib/lib and
   18712   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18713   # libtool to hard-code these into programs
   18714   ;;
   18715 
   18716 cygwin* | mingw* | windows* | pw32* | cegcc*)
   18717   version_type=windows
   18718   shrext_cmds=.dll
   18719   need_version=no
   18720   need_lib_prefix=no
   18721 
   18722   case $GCC,$cc_basename in
   18723   yes,*)
   18724     # gcc
   18725     library_names_spec='$libname.dll.a'
   18726     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18727     # If user builds GCC with multilib enabled,
   18728     # it should just install on $(libdir)
   18729     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   18730     if test xyes = x"$multilib"; then
   18731       postinstall_cmds='base_file=`basename \$file`~
   18732         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18733         dldir=$destdir/`dirname \$dlpath`~
   18734         $install_prog $dir/$dlname $destdir/$dlname~
   18735         chmod a+x $destdir/$dlname~
   18736         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18737           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   18738         fi'
   18739     else
   18740       postinstall_cmds='base_file=`basename \$file`~
   18741         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18742         dldir=$destdir/`dirname \$dlpath`~
   18743         test -d \$dldir || mkdir -p \$dldir~
   18744         $install_prog $dir/$dlname \$dldir/$dlname~
   18745         chmod a+x \$dldir/$dlname~
   18746         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18747           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18748         fi'
   18749     fi
   18750     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18751       dlpath=$dir/\$dldll~
   18752        $RM \$dlpath'
   18753     shlibpath_overrides_runpath=yes
   18754 
   18755     case $host_os in
   18756     cygwin*)
   18757       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18758       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18759 
   18760       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18761       ;;
   18762     mingw* | windows* | cegcc*)
   18763       # MinGW DLLs use traditional 'lib' prefix
   18764       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18765       ;;
   18766     pw32*)
   18767       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18768       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18769       ;;
   18770     esac
   18771     dynamic_linker='Win32 ld.exe'
   18772     ;;
   18773 
   18774   *,cl* | *,icl*)
   18775     # Native MSVC or ICC
   18776     libname_spec='$name'
   18777     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18778     library_names_spec='$libname.dll.lib'
   18779 
   18780     case $build_os in
   18781     mingw* | windows*)
   18782       sys_lib_search_path_spec=
   18783       lt_save_ifs=$IFS
   18784       IFS=';'
   18785       for lt_path in $LIB
   18786       do
   18787         IFS=$lt_save_ifs
   18788         # Let DOS variable expansion print the short 8.3 style file name.
   18789         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18790         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18791       done
   18792       IFS=$lt_save_ifs
   18793       # Convert to MSYS style.
   18794       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18795       ;;
   18796     cygwin*)
   18797       # Convert to unix form, then to dos form, then back to unix form
   18798       # but this time dos style (no spaces!) so that the unix form looks
   18799       # like /cygdrive/c/PROGRA~1:/cygdr...
   18800       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18801       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18802       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18803       ;;
   18804     *)
   18805       sys_lib_search_path_spec=$LIB
   18806       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18807         # It is most probably a Windows format PATH.
   18808         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18809       else
   18810         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18811       fi
   18812       # FIXME: find the short name or the path components, as spaces are
   18813       # common. (e.g. "Program Files" -> "PROGRA~1")
   18814       ;;
   18815     esac
   18816 
   18817     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18818     postinstall_cmds='base_file=`basename \$file`~
   18819       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18820       dldir=$destdir/`dirname \$dlpath`~
   18821       test -d \$dldir || mkdir -p \$dldir~
   18822       $install_prog $dir/$dlname \$dldir/$dlname'
   18823     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18824       dlpath=$dir/\$dldll~
   18825        $RM \$dlpath'
   18826     shlibpath_overrides_runpath=yes
   18827     dynamic_linker='Win32 link.exe'
   18828     ;;
   18829 
   18830   *)
   18831     # Assume MSVC and ICC wrapper
   18832     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18833     dynamic_linker='Win32 ld.exe'
   18834     ;;
   18835   esac
   18836   # FIXME: first we should search . and the directory the executable is in
   18837   shlibpath_var=PATH
   18838   ;;
   18839 
   18840 darwin* | rhapsody*)
   18841   dynamic_linker="$host_os dyld"
   18842   version_type=darwin
   18843   need_lib_prefix=no
   18844   need_version=no
   18845   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18846   soname_spec='$libname$release$major$shared_ext'
   18847   shlibpath_overrides_runpath=yes
   18848   shlibpath_var=DYLD_LIBRARY_PATH
   18849   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18850 
   18851   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18852   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18853   ;;
   18854 
   18855 dgux*)
   18856   version_type=linux # correct to gnu/linux during the next big refactor
   18857   need_lib_prefix=no
   18858   need_version=no
   18859   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18860   soname_spec='$libname$release$shared_ext$major'
   18861   shlibpath_var=LD_LIBRARY_PATH
   18862   ;;
   18863 
   18864 freebsd* | dragonfly* | midnightbsd*)
   18865   # DragonFly does not have aout.  When/if they implement a new
   18866   # versioning mechanism, adjust this.
   18867   if test -x /usr/bin/objformat; then
   18868     objformat=`/usr/bin/objformat`
   18869   else
   18870     case $host_os in
   18871     freebsd[23].*) objformat=aout ;;
   18872     *) objformat=elf ;;
   18873     esac
   18874   fi
   18875   version_type=freebsd-$objformat
   18876   case $version_type in
   18877     freebsd-elf*)
   18878       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18879       soname_spec='$libname$release$shared_ext$major'
   18880       need_version=no
   18881       need_lib_prefix=no
   18882       ;;
   18883     freebsd-*)
   18884       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18885       need_version=yes
   18886       ;;
   18887   esac
   18888   case $host_cpu in
   18889     powerpc64)
   18890       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   18891       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   18892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18893 /* end confdefs.h.  */
   18894 int test_pointer_size[sizeof (void *) - 5];
   18895 
   18896 _ACEOF
   18897 if ac_fn_c_try_compile "$LINENO"
   18898 then :
   18899   shlibpath_var=LD_LIBRARY_PATH
   18900 else case e in #(
   18901   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   18902 esac
   18903 fi
   18904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18905       ;;
   18906     *)
   18907       shlibpath_var=LD_LIBRARY_PATH
   18908       ;;
   18909   esac
   18910   case $host_os in
   18911   freebsd2.*)
   18912     shlibpath_overrides_runpath=yes
   18913     ;;
   18914   freebsd3.[01]* | freebsdelf3.[01]*)
   18915     shlibpath_overrides_runpath=yes
   18916     hardcode_into_libs=yes
   18917     ;;
   18918   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18919   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18920     shlibpath_overrides_runpath=no
   18921     hardcode_into_libs=yes
   18922     ;;
   18923   *) # from 4.6 on, and DragonFly
   18924     shlibpath_overrides_runpath=yes
   18925     hardcode_into_libs=yes
   18926     ;;
   18927   esac
   18928   ;;
   18929 
   18930 haiku*)
   18931   version_type=linux # correct to gnu/linux during the next big refactor
   18932   need_lib_prefix=no
   18933   need_version=no
   18934   dynamic_linker="$host_os runtime_loader"
   18935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18936   soname_spec='$libname$release$shared_ext$major'
   18937   shlibpath_var=LIBRARY_PATH
   18938   shlibpath_overrides_runpath=no
   18939   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   18940   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   18941   hardcode_into_libs=no
   18942   ;;
   18943 
   18944 hpux9* | hpux10* | hpux11*)
   18945   # Give a soname corresponding to the major version so that dld.sl refuses to
   18946   # link against other versions.
   18947   version_type=sunos
   18948   need_lib_prefix=no
   18949   need_version=no
   18950   case $host_cpu in
   18951   ia64*)
   18952     shrext_cmds='.so'
   18953     hardcode_into_libs=yes
   18954     dynamic_linker="$host_os dld.so"
   18955     shlibpath_var=LD_LIBRARY_PATH
   18956     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18957     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18958     soname_spec='$libname$release$shared_ext$major'
   18959     if test 32 = "$HPUX_IA64_MODE"; then
   18960       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18961       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18962     else
   18963       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18964       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18965     fi
   18966     ;;
   18967   hppa*64*)
   18968     shrext_cmds='.sl'
   18969     hardcode_into_libs=yes
   18970     dynamic_linker="$host_os dld.sl"
   18971     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18972     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18973     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18974     soname_spec='$libname$release$shared_ext$major'
   18975     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18976     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18977     ;;
   18978   *)
   18979     shrext_cmds='.sl'
   18980     dynamic_linker="$host_os dld.sl"
   18981     shlibpath_var=SHLIB_PATH
   18982     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18983     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18984     soname_spec='$libname$release$shared_ext$major'
   18985     ;;
   18986   esac
   18987   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18988   postinstall_cmds='chmod 555 $lib'
   18989   # or fails outright, so override atomically:
   18990   install_override_mode=555
   18991   ;;
   18992 
   18993 interix[3-9]*)
   18994   version_type=linux # correct to gnu/linux during the next big refactor
   18995   need_lib_prefix=no
   18996   need_version=no
   18997   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18998   soname_spec='$libname$release$shared_ext$major'
   18999   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   19000   shlibpath_var=LD_LIBRARY_PATH
   19001   shlibpath_overrides_runpath=no
   19002   hardcode_into_libs=yes
   19003   ;;
   19004 
   19005 irix5* | irix6* | nonstopux*)
   19006   case $host_os in
   19007     nonstopux*) version_type=nonstopux ;;
   19008     *)
   19009 	if test yes = "$lt_cv_prog_gnu_ld"; then
   19010 		version_type=linux # correct to gnu/linux during the next big refactor
   19011 	else
   19012 		version_type=irix
   19013 	fi ;;
   19014   esac
   19015   need_lib_prefix=no
   19016   need_version=no
   19017   soname_spec='$libname$release$shared_ext$major'
   19018   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   19019   case $host_os in
   19020   irix5* | nonstopux*)
   19021     libsuff= shlibsuff=
   19022     ;;
   19023   *)
   19024     case $LD in # libtool.m4 will add one of these switches to LD
   19025     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   19026       libsuff= shlibsuff= libmagic=32-bit;;
   19027     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   19028       libsuff=32 shlibsuff=N32 libmagic=N32;;
   19029     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   19030       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   19031     *) libsuff= shlibsuff= libmagic=never-match;;
   19032     esac
   19033     ;;
   19034   esac
   19035   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   19036   shlibpath_overrides_runpath=no
   19037   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   19038   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   19039   hardcode_into_libs=yes
   19040   ;;
   19041 
   19042 # No shared lib support for Linux oldld, aout, or coff.
   19043 linux*oldld* | linux*aout* | linux*coff*)
   19044   dynamic_linker=no
   19045   ;;
   19046 
   19047 linux*android*)
   19048   version_type=none # Android doesn't support versioned libraries.
   19049   need_lib_prefix=no
   19050   need_version=no
   19051   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   19052   soname_spec='$libname$release$shared_ext'
   19053   finish_cmds=
   19054   shlibpath_var=LD_LIBRARY_PATH
   19055   shlibpath_overrides_runpath=yes
   19056 
   19057   # This implies no fast_install, which is unacceptable.
   19058   # Some rework will be needed to allow for fast_install
   19059   # before this can be enabled.
   19060   hardcode_into_libs=yes
   19061 
   19062   dynamic_linker='Android linker'
   19063   # -rpath works at least for libraries that are not overridden by
   19064   # libraries installed in system locations.
   19065   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   19066   ;;
   19067 
   19068 # This must be glibc/ELF.
   19069 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19070   version_type=linux # correct to gnu/linux during the next big refactor
   19071   need_lib_prefix=no
   19072   need_version=no
   19073   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19074   soname_spec='$libname$release$shared_ext$major'
   19075   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   19076   shlibpath_var=LD_LIBRARY_PATH
   19077   shlibpath_overrides_runpath=no
   19078 
   19079   # Some binutils ld are patched to set DT_RUNPATH
   19080   if test ${lt_cv_shlibpath_overrides_runpath+y}
   19081 then :
   19082   printf %s "(cached) " >&6
   19083 else case e in #(
   19084   e) lt_cv_shlibpath_overrides_runpath=no
   19085     save_LDFLAGS=$LDFLAGS
   19086     save_libdir=$libdir
   19087     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   19088 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   19089     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19090 /* end confdefs.h.  */
   19091 
   19092 int
   19093 main (void)
   19094 {
   19095 
   19096   ;
   19097   return 0;
   19098 }
   19099 _ACEOF
   19100 if ac_fn_c_try_link "$LINENO"
   19101 then :
   19102   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   19103 then :
   19104   lt_cv_shlibpath_overrides_runpath=yes
   19105 fi
   19106 fi
   19107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19108     conftest$ac_exeext conftest.$ac_ext
   19109     LDFLAGS=$save_LDFLAGS
   19110     libdir=$save_libdir
   19111      ;;
   19112 esac
   19113 fi
   19114 
   19115   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   19116 
   19117   # This implies no fast_install, which is unacceptable.
   19118   # Some rework will be needed to allow for fast_install
   19119   # before this can be enabled.
   19120   hardcode_into_libs=yes
   19121 
   19122   # Ideally, we could use ldconfig to report *all* directories which are
   19123   # searched for libraries, however this is still not possible.  Aside from not
   19124   # being certain /sbin/ldconfig is available, command
   19125   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   19126   # even though it is searched at run-time.  Try to do the best guess by
   19127   # appending ld.so.conf contents (and includes) to the search path.
   19128   if test -f /etc/ld.so.conf; then
   19129     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' ' '`
   19130     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   19131   fi
   19132 
   19133   # We used to test for /lib/ld.so.1 and disable shared libraries on
   19134   # powerpc, because MkLinux only supported shared libraries with the
   19135   # GNU dynamic linker.  Since this was broken with cross compilers,
   19136   # most powerpc-linux boxes support dynamic linking these days and
   19137   # people can always --disable-shared, the test was removed, and we
   19138   # assume the GNU/Linux dynamic linker is in use.
   19139   dynamic_linker='GNU/Linux ld.so'
   19140   ;;
   19141 
   19142 netbsdelf*-gnu)
   19143   version_type=linux
   19144   need_lib_prefix=no
   19145   need_version=no
   19146   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19147   soname_spec='$libname$release$shared_ext$major'
   19148   shlibpath_var=LD_LIBRARY_PATH
   19149   shlibpath_overrides_runpath=no
   19150   hardcode_into_libs=yes
   19151   dynamic_linker='NetBSD ld.elf_so'
   19152   ;;
   19153 
   19154 netbsd*)
   19155   version_type=sunos
   19156   need_lib_prefix=no
   19157   need_version=no
   19158   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   19159     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19160     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19161     dynamic_linker='NetBSD (a.out) ld.so'
   19162   else
   19163     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19164     soname_spec='$libname$release$shared_ext$major'
   19165     dynamic_linker='NetBSD ld.elf_so'
   19166   fi
   19167   shlibpath_var=LD_LIBRARY_PATH
   19168   shlibpath_overrides_runpath=yes
   19169   hardcode_into_libs=yes
   19170   ;;
   19171 
   19172 *-mlibc)
   19173   version_type=linux # correct to gnu/linux during the next big refactor
   19174   need_lib_prefix=no
   19175   need_version=no
   19176   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19177   soname_spec='$libname$release$shared_ext$major'
   19178   dynamic_linker='mlibc ld.so'
   19179   shlibpath_var=LD_LIBRARY_PATH
   19180   shlibpath_overrides_runpath=no
   19181   hardcode_into_libs=yes
   19182   ;;
   19183 
   19184 newsos6)
   19185   version_type=linux # correct to gnu/linux during the next big refactor
   19186   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19187   shlibpath_var=LD_LIBRARY_PATH
   19188   shlibpath_overrides_runpath=yes
   19189   ;;
   19190 
   19191 *nto* | *qnx*)
   19192   version_type=qnx
   19193   need_lib_prefix=no
   19194   need_version=no
   19195   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19196   soname_spec='$libname$release$shared_ext$major'
   19197   shlibpath_var=LD_LIBRARY_PATH
   19198   shlibpath_overrides_runpath=no
   19199   hardcode_into_libs=yes
   19200   dynamic_linker='ldqnx.so'
   19201   ;;
   19202 
   19203 openbsd*)
   19204   version_type=sunos
   19205   sys_lib_dlsearch_path_spec=/usr/lib
   19206   need_lib_prefix=no
   19207   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   19208     need_version=no
   19209   else
   19210     need_version=yes
   19211   fi
   19212   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19213   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   19214   shlibpath_var=LD_LIBRARY_PATH
   19215   shlibpath_overrides_runpath=yes
   19216   ;;
   19217 
   19218 os2*)
   19219   libname_spec='$name'
   19220   version_type=windows
   19221   shrext_cmds=.dll
   19222   need_version=no
   19223   need_lib_prefix=no
   19224   # OS/2 can only load a DLL with a base name of 8 characters or less.
   19225   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   19226     v=$($ECHO $release$versuffix | tr -d .-);
   19227     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   19228     $ECHO $n$v`$shared_ext'
   19229   library_names_spec='${libname}_dll.$libext'
   19230   dynamic_linker='OS/2 ld.exe'
   19231   shlibpath_var=BEGINLIBPATH
   19232   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   19233   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19234   postinstall_cmds='base_file=`basename \$file`~
   19235     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   19236     dldir=$destdir/`dirname \$dlpath`~
   19237     test -d \$dldir || mkdir -p \$dldir~
   19238     $install_prog $dir/$dlname \$dldir/$dlname~
   19239     chmod a+x \$dldir/$dlname~
   19240     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   19241       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   19242     fi'
   19243   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   19244     dlpath=$dir/\$dldll~
   19245     $RM \$dlpath'
   19246   ;;
   19247 
   19248 osf3* | osf4* | osf5*)
   19249   version_type=osf
   19250   need_lib_prefix=no
   19251   need_version=no
   19252   soname_spec='$libname$release$shared_ext$major'
   19253   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19254   shlibpath_var=LD_LIBRARY_PATH
   19255   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   19256   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   19257   ;;
   19258 
   19259 rdos*)
   19260   dynamic_linker=no
   19261   ;;
   19262 
   19263 serenity*)
   19264   version_type=linux # correct to gnu/linux during the next big refactor
   19265   need_lib_prefix=no
   19266   need_version=no
   19267   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19268   soname_spec='$libname$release$shared_ext$major'
   19269   shlibpath_var=LD_LIBRARY_PATH
   19270   shlibpath_overrides_runpath=no
   19271   dynamic_linker='SerenityOS LibELF'
   19272   ;;
   19273 
   19274 solaris*)
   19275   version_type=linux # correct to gnu/linux during the next big refactor
   19276   need_lib_prefix=no
   19277   need_version=no
   19278   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19279   soname_spec='$libname$release$shared_ext$major'
   19280   shlibpath_var=LD_LIBRARY_PATH
   19281   shlibpath_overrides_runpath=yes
   19282   hardcode_into_libs=yes
   19283   # ldd complains unless libraries are executable
   19284   postinstall_cmds='chmod +x $lib'
   19285   ;;
   19286 
   19287 sunos4*)
   19288   version_type=sunos
   19289   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   19290   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   19291   shlibpath_var=LD_LIBRARY_PATH
   19292   shlibpath_overrides_runpath=yes
   19293   if test yes = "$with_gnu_ld"; then
   19294     need_lib_prefix=no
   19295   fi
   19296   need_version=yes
   19297   ;;
   19298 
   19299 sysv4 | sysv4.3*)
   19300   version_type=linux # correct to gnu/linux during the next big refactor
   19301   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19302   soname_spec='$libname$release$shared_ext$major'
   19303   shlibpath_var=LD_LIBRARY_PATH
   19304   case $host_vendor in
   19305     sni)
   19306       shlibpath_overrides_runpath=no
   19307       need_lib_prefix=no
   19308       runpath_var=LD_RUN_PATH
   19309       ;;
   19310     siemens)
   19311       need_lib_prefix=no
   19312       ;;
   19313     motorola)
   19314       need_lib_prefix=no
   19315       need_version=no
   19316       shlibpath_overrides_runpath=no
   19317       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19318       ;;
   19319   esac
   19320   ;;
   19321 
   19322 sysv4*MP*)
   19323   if test -d /usr/nec; then
   19324     version_type=linux # correct to gnu/linux during the next big refactor
   19325     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   19326     soname_spec='$libname$shared_ext.$major'
   19327     shlibpath_var=LD_LIBRARY_PATH
   19328   fi
   19329   ;;
   19330 
   19331 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19332   version_type=sco
   19333   need_lib_prefix=no
   19334   need_version=no
   19335   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   19336   soname_spec='$libname$release$shared_ext$major'
   19337   shlibpath_var=LD_LIBRARY_PATH
   19338   shlibpath_overrides_runpath=yes
   19339   hardcode_into_libs=yes
   19340   if test yes = "$with_gnu_ld"; then
   19341     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19342   else
   19343     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19344     case $host_os in
   19345       sco3.2v5*)
   19346         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19347 	;;
   19348     esac
   19349   fi
   19350   sys_lib_dlsearch_path_spec='/usr/lib'
   19351   ;;
   19352 
   19353 tpf*)
   19354   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   19355   version_type=linux # correct to gnu/linux during the next big refactor
   19356   need_lib_prefix=no
   19357   need_version=no
   19358   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19359   shlibpath_var=LD_LIBRARY_PATH
   19360   shlibpath_overrides_runpath=no
   19361   hardcode_into_libs=yes
   19362   ;;
   19363 
   19364 uts4*)
   19365   version_type=linux # correct to gnu/linux during the next big refactor
   19366   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   19367   soname_spec='$libname$release$shared_ext$major'
   19368   shlibpath_var=LD_LIBRARY_PATH
   19369   ;;
   19370 
   19371 emscripten*)
   19372   version_type=none
   19373   need_lib_prefix=no
   19374   need_version=no
   19375   library_names_spec='$libname$release$shared_ext'
   19376   soname_spec='$libname$release$shared_ext'
   19377   finish_cmds=
   19378   dynamic_linker="Emscripten linker"
   19379   lt_prog_compiler_wl=
   19380 lt_prog_compiler_pic=
   19381 lt_prog_compiler_static=
   19382 
   19383 
   19384   if test yes = "$GCC"; then
   19385     lt_prog_compiler_wl='-Wl,'
   19386     lt_prog_compiler_static='-static'
   19387 
   19388     case $host_os in
   19389       aix*)
   19390       # All AIX code is PIC.
   19391       if test ia64 = "$host_cpu"; then
   19392 	# AIX 5 now supports IA64 processor
   19393 	lt_prog_compiler_static='-Bstatic'
   19394       fi
   19395       lt_prog_compiler_pic='-fPIC'
   19396       ;;
   19397 
   19398     amigaos*)
   19399       case $host_cpu in
   19400       powerpc)
   19401             # see comment about AmigaOS4 .so support
   19402             lt_prog_compiler_pic='-fPIC'
   19403         ;;
   19404       m68k)
   19405             # FIXME: we need at least 68020 code to build shared libraries, but
   19406             # adding the '-m68020' flag to GCC prevents building anything better,
   19407             # like '-m68040'.
   19408             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   19409         ;;
   19410       esac
   19411       ;;
   19412 
   19413     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   19414       # PIC is the default for these OSes.
   19415       ;;
   19416 
   19417     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   19418       # This hack is so that the source file can tell whether it is being
   19419       # built for inclusion in a dll (and should export symbols for example).
   19420       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   19421       # (--disable-auto-import) libraries
   19422       lt_prog_compiler_pic='-DDLL_EXPORT'
   19423       case $host_os in
   19424       os2*)
   19425 	lt_prog_compiler_static='$wl-static'
   19426 	;;
   19427       esac
   19428       ;;
   19429 
   19430     darwin* | rhapsody*)
   19431       # PIC is the default on this platform
   19432       # Common symbols not allowed in MH_DYLIB files
   19433       lt_prog_compiler_pic='-fno-common'
   19434       ;;
   19435 
   19436     haiku*)
   19437       # PIC is the default for Haiku.
   19438       # The "-static" flag exists, but is broken.
   19439       lt_prog_compiler_static=
   19440       ;;
   19441 
   19442     hpux*)
   19443       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   19444       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   19445       # sets the default TLS model and affects inlining.
   19446       case $host_cpu in
   19447       hppa*64*)
   19448 	# +Z the default
   19449 	;;
   19450       *)
   19451 	lt_prog_compiler_pic='-fPIC'
   19452 	;;
   19453       esac
   19454       ;;
   19455 
   19456     interix[3-9]*)
   19457       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   19458       # Instead, we relocate shared libraries at runtime.
   19459       ;;
   19460 
   19461     msdosdjgpp*)
   19462       # Just because we use GCC doesn't mean we suddenly get shared libraries
   19463       # on systems that don't support them.
   19464       lt_prog_compiler_can_build_shared=no
   19465       enable_shared=no
   19466       ;;
   19467 
   19468     *nto* | *qnx*)
   19469       # QNX uses GNU C++, but need to define -shared option too, otherwise
   19470       # it will coredump.
   19471       lt_prog_compiler_pic='-fPIC -shared'
   19472       ;;
   19473 
   19474     sysv4*MP*)
   19475       if test -d /usr/nec; then
   19476 	lt_prog_compiler_pic=-Kconform_pic
   19477       fi
   19478       ;;
   19479 
   19480     *)
   19481       lt_prog_compiler_pic='-fPIC'
   19482       ;;
   19483     esac
   19484 
   19485     case $cc_basename in
   19486     nvcc*) # Cuda Compiler Driver 2.2
   19487       lt_prog_compiler_wl='-Xlinker '
   19488       if test -n "$lt_prog_compiler_pic"; then
   19489         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   19490       fi
   19491       ;;
   19492     esac
   19493   else
   19494     # PORTME Check for flag to pass linker flags through the system compiler.
   19495     case $host_os in
   19496     aix*)
   19497       lt_prog_compiler_wl='-Wl,'
   19498       if test ia64 = "$host_cpu"; then
   19499 	# AIX 5 now supports IA64 processor
   19500 	lt_prog_compiler_static='-Bstatic'
   19501       else
   19502 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   19503       fi
   19504       ;;
   19505 
   19506     darwin* | rhapsody*)
   19507       # PIC is the default on this platform
   19508       # Common symbols not allowed in MH_DYLIB files
   19509       lt_prog_compiler_pic='-fno-common'
   19510       case $cc_basename in
   19511       nagfor*)
   19512         # NAG Fortran compiler
   19513         lt_prog_compiler_wl='-Wl,-Wl,,'
   19514         lt_prog_compiler_pic='-PIC'
   19515         lt_prog_compiler_static='-Bstatic'
   19516         ;;
   19517       esac
   19518       ;;
   19519 
   19520     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   19521       # This hack is so that the source file can tell whether it is being
   19522       # built for inclusion in a dll (and should export symbols for example).
   19523       lt_prog_compiler_pic='-DDLL_EXPORT'
   19524       case $host_os in
   19525       os2*)
   19526 	lt_prog_compiler_static='$wl-static'
   19527 	;;
   19528       esac
   19529       ;;
   19530 
   19531     hpux9* | hpux10* | hpux11*)
   19532       lt_prog_compiler_wl='-Wl,'
   19533       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   19534       # not for PA HP-UX.
   19535       case $host_cpu in
   19536       hppa*64*|ia64*)
   19537 	# +Z the default
   19538 	;;
   19539       *)
   19540 	lt_prog_compiler_pic='+Z'
   19541 	;;
   19542       esac
   19543       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   19544       lt_prog_compiler_static='$wl-a ${wl}archive'
   19545       ;;
   19546 
   19547     irix5* | irix6* | nonstopux*)
   19548       lt_prog_compiler_wl='-Wl,'
   19549       # PIC (with -KPIC) is the default.
   19550       lt_prog_compiler_static='-non_shared'
   19551       ;;
   19552 
   19553     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   19554       case $cc_basename in
   19555       # old Intel for x86_64, which still supported -KPIC.
   19556       ecc*)
   19557 	lt_prog_compiler_wl='-Wl,'
   19558 	lt_prog_compiler_pic='-KPIC'
   19559 	lt_prog_compiler_static='-static'
   19560         ;;
   19561       *flang* | ftn | f18* | f95*)
   19562         # Flang compiler.
   19563 	lt_prog_compiler_wl='-Wl,'
   19564 	lt_prog_compiler_pic='-fPIC'
   19565 	lt_prog_compiler_static='-static'
   19566         ;;
   19567       # icc used to be incompatible with GCC.
   19568       # ICC 10 doesn't accept -KPIC any more.
   19569       icc* | ifort*)
   19570 	lt_prog_compiler_wl='-Wl,'
   19571 	lt_prog_compiler_pic='-fPIC'
   19572 	lt_prog_compiler_static='-static'
   19573         ;;
   19574       # Lahey Fortran 8.1.
   19575       lf95*)
   19576 	lt_prog_compiler_wl='-Wl,'
   19577 	lt_prog_compiler_pic='--shared'
   19578 	lt_prog_compiler_static='--static'
   19579 	;;
   19580       nagfor*)
   19581 	# NAG Fortran compiler
   19582 	lt_prog_compiler_wl='-Wl,-Wl,,'
   19583 	lt_prog_compiler_pic='-PIC'
   19584 	lt_prog_compiler_static='-Bstatic'
   19585 	;;
   19586       tcc*)
   19587 	# Fabrice Bellard et al's Tiny C Compiler
   19588 	lt_prog_compiler_wl='-Wl,'
   19589 	lt_prog_compiler_pic='-fPIC'
   19590 	lt_prog_compiler_static='-static'
   19591 	;;
   19592       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   19593         # Portland Group compilers (*not* the Pentium gcc compiler,
   19594 	# which looks to be a dead project)
   19595 	lt_prog_compiler_wl='-Wl,'
   19596 	lt_prog_compiler_pic='-fpic'
   19597 	lt_prog_compiler_static='-Bstatic'
   19598         ;;
   19599       ccc*)
   19600         lt_prog_compiler_wl='-Wl,'
   19601         # All Alpha code is PIC.
   19602         lt_prog_compiler_static='-non_shared'
   19603         ;;
   19604       xl* | bgxl* | bgf* | mpixl*)
   19605 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   19606 	lt_prog_compiler_wl='-Wl,'
   19607 	lt_prog_compiler_pic='-qpic'
   19608 	lt_prog_compiler_static='-qstaticlink'
   19609 	;;
   19610       *)
   19611 	case `$CC -V 2>&1 | $SED 5q` in
   19612 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   19613 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   19614 	  lt_prog_compiler_pic='-KPIC'
   19615 	  lt_prog_compiler_static='-Bstatic'
   19616 	  lt_prog_compiler_wl=''
   19617 	  ;;
   19618 	*Sun\ F* | *Sun*Fortran*)
   19619 	  lt_prog_compiler_pic='-KPIC'
   19620 	  lt_prog_compiler_static='-Bstatic'
   19621 	  lt_prog_compiler_wl='-Qoption ld '
   19622 	  ;;
   19623 	*Sun\ C*)
   19624 	  # Sun C 5.9
   19625 	  lt_prog_compiler_pic='-KPIC'
   19626 	  lt_prog_compiler_static='-Bstatic'
   19627 	  lt_prog_compiler_wl='-Wl,'
   19628 	  ;;
   19629         *Intel*\ [CF]*Compiler*)
   19630 	  lt_prog_compiler_wl='-Wl,'
   19631 	  lt_prog_compiler_pic='-fPIC'
   19632 	  lt_prog_compiler_static='-static'
   19633 	  ;;
   19634 	*Portland\ Group*)
   19635 	  lt_prog_compiler_wl='-Wl,'
   19636 	  lt_prog_compiler_pic='-fpic'
   19637 	  lt_prog_compiler_static='-Bstatic'
   19638 	  ;;
   19639 	esac
   19640 	;;
   19641       esac
   19642       ;;
   19643 
   19644     newsos6)
   19645       lt_prog_compiler_pic='-KPIC'
   19646       lt_prog_compiler_static='-Bstatic'
   19647       ;;
   19648 
   19649     *-mlibc)
   19650       lt_prog_compiler_wl='-Wl,'
   19651       lt_prog_compiler_pic='-fPIC'
   19652       lt_prog_compiler_static='-static'
   19653       ;;
   19654 
   19655     *nto* | *qnx*)
   19656       # QNX uses GNU C++, but need to define -shared option too, otherwise
   19657       # it will coredump.
   19658       lt_prog_compiler_pic='-fPIC -shared'
   19659       ;;
   19660 
   19661     osf3* | osf4* | osf5*)
   19662       lt_prog_compiler_wl='-Wl,'
   19663       # All OSF/1 code is PIC.
   19664       lt_prog_compiler_static='-non_shared'
   19665       ;;
   19666 
   19667     rdos*)
   19668       lt_prog_compiler_static='-non_shared'
   19669       ;;
   19670 
   19671     serenity*)
   19672       ;;
   19673 
   19674     solaris*)
   19675       lt_prog_compiler_pic='-KPIC'
   19676       lt_prog_compiler_static='-Bstatic'
   19677       case $cc_basename in
   19678       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   19679 	lt_prog_compiler_wl='-Qoption ld ';;
   19680       *)
   19681 	lt_prog_compiler_wl='-Wl,';;
   19682       esac
   19683       ;;
   19684 
   19685     sunos4*)
   19686       lt_prog_compiler_wl='-Qoption ld '
   19687       lt_prog_compiler_pic='-PIC'
   19688       lt_prog_compiler_static='-Bstatic'
   19689       ;;
   19690 
   19691     sysv4 | sysv4.2uw2* | sysv4.3*)
   19692       lt_prog_compiler_wl='-Wl,'
   19693       lt_prog_compiler_pic='-KPIC'
   19694       lt_prog_compiler_static='-Bstatic'
   19695       ;;
   19696 
   19697     sysv4*MP*)
   19698       if test -d /usr/nec; then
   19699 	lt_prog_compiler_pic='-Kconform_pic'
   19700 	lt_prog_compiler_static='-Bstatic'
   19701       fi
   19702       ;;
   19703 
   19704     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   19705       lt_prog_compiler_wl='-Wl,'
   19706       lt_prog_compiler_pic='-KPIC'
   19707       lt_prog_compiler_static='-Bstatic'
   19708       ;;
   19709 
   19710     unicos*)
   19711       lt_prog_compiler_wl='-Wl,'
   19712       lt_prog_compiler_can_build_shared=no
   19713       ;;
   19714 
   19715     uts4*)
   19716       lt_prog_compiler_pic='-pic'
   19717       lt_prog_compiler_static='-Bstatic'
   19718       ;;
   19719 
   19720     *)
   19721       lt_prog_compiler_can_build_shared=no
   19722       ;;
   19723     esac
   19724   fi
   19725 
   19726 case $host_os in
   19727   # For platforms that do not support PIC, -DPIC is meaningless:
   19728   *djgpp*)
   19729     lt_prog_compiler_pic=
   19730     ;;
   19731   *)
   19732     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   19733     ;;
   19734 esac
   19735 
   19736 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   19737 printf %s "checking for $compiler option to produce PIC... " >&6; }
   19738 if test ${lt_cv_prog_compiler_pic+y}
   19739 then :
   19740   printf %s "(cached) " >&6
   19741 else case e in #(
   19742   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   19743 esac
   19744 fi
   19745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   19746 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   19747 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   19748 
   19749 #
   19750 # Check to make sure the PIC flag actually works.
   19751 #
   19752 if test -n "$lt_prog_compiler_pic"; then
   19753   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   19754 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   19755 if test ${lt_cv_prog_compiler_pic_works+y}
   19756 then :
   19757   printf %s "(cached) " >&6
   19758 else case e in #(
   19759   e) lt_cv_prog_compiler_pic_works=no
   19760    ac_outfile=conftest.$ac_objext
   19761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   19762    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   19763    # Insert the option either (1) after the last *FLAGS variable, or
   19764    # (2) before a word containing "conftest.", or (3) at the end.
   19765    # Note that $ac_compile itself does not contain backslashes and begins
   19766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   19767    # The option is referenced via a variable to avoid confusing sed.
   19768    lt_compile=`echo "$ac_compile" | $SED \
   19769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   19770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   19771    -e 's:$: $lt_compiler_flag:'`
   19772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   19773    (eval "$lt_compile" 2>conftest.err)
   19774    ac_status=$?
   19775    cat conftest.err >&5
   19776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19777    if (exit $ac_status) && test -s "$ac_outfile"; then
   19778      # The compiler can only warn and ignore the option if not recognized
   19779      # So say no if there are warnings other than the usual output.
   19780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   19781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   19783        lt_cv_prog_compiler_pic_works=yes
   19784      fi
   19785    fi
   19786    $RM conftest*
   19787  ;;
   19788 esac
   19789 fi
   19790 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   19791 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   19792 
   19793 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   19794     case $lt_prog_compiler_pic in
   19795      "" | " "*) ;;
   19796      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   19797      esac
   19798 else
   19799     lt_prog_compiler_pic=
   19800      lt_prog_compiler_can_build_shared=no
   19801 fi
   19802 
   19803 fi
   19804 
   19805 
   19806 
   19807 
   19808 
   19809 #
   19810 # Check to make sure the static flag actually works.
   19811 #
   19812 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   19813 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   19814 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   19815 if test ${lt_cv_prog_compiler_static_works+y}
   19816 then :
   19817   printf %s "(cached) " >&6
   19818 else case e in #(
   19819   e) lt_cv_prog_compiler_static_works=no
   19820    save_LDFLAGS=$LDFLAGS
   19821    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   19822    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   19823    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   19824      # The linker can only warn and ignore the option if not recognized
   19825      # So say no if there are warnings
   19826      if test -s conftest.err; then
   19827        # Append any errors to the config.log.
   19828        cat conftest.err 1>&5
   19829        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   19830        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   19831        if diff conftest.exp conftest.er2 >/dev/null; then
   19832          lt_cv_prog_compiler_static_works=yes
   19833        fi
   19834      else
   19835        lt_cv_prog_compiler_static_works=yes
   19836      fi
   19837    fi
   19838    $RM -r conftest*
   19839    LDFLAGS=$save_LDFLAGS
   19840  ;;
   19841 esac
   19842 fi
   19843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   19844 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   19845 
   19846 if test yes = "$lt_cv_prog_compiler_static_works"; then
   19847     :
   19848 else
   19849     lt_prog_compiler_static=
   19850 fi
   19851 
   19852 
   19853 
   19854 ='-fPIC'
   19855   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   19856   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'
   19857   archive_cmds_need_lc=no
   19858   no_undefined_flag=
   19859   ;;
   19860 
   19861 *)
   19862   dynamic_linker=no
   19863   ;;
   19864 esac
   19865 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   19866 printf '%s\n' "$dynamic_linker" >&6; }
   19867 test no = "$dynamic_linker" && can_build_shared=no
   19868 
   19869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19870 if test yes = "$GCC"; then
   19871   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19872 fi
   19873 
   19874 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   19875   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   19876 fi
   19877 
   19878 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   19879   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   19880 fi
   19881 
   19882 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   19883 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   19884 
   19885 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   19886 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   19887 
   19888 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   19889 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   19890 
   19891 
   19892 
   19893 
   19894 
   19895 
   19896 
   19897 
   19898 
   19899 
   19900 
   19901 
   19902 
   19903 
   19904 
   19905 
   19906 
   19907 
   19908 
   19909 
   19910 
   19911 
   19912 
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 
   19919 
   19920 
   19921 
   19922 
   19923 
   19924 
   19925 
   19926 
   19927 
   19928 
   19929 
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 
   19943 
   19944 
   19945 
   19946 
   19947 
   19948 
   19949 
   19950 
   19951 
   19952 
   19953 
   19954 
   19955 
   19956 
   19957 
   19958 
   19959 
   19960 
   19961 
   19962 
   19963 
   19964 
   19965 
   19966 
   19967 
   19968 
   19969 
   19970 
   19971 
   19972 
   19973 
   19974 
   19975 
   19976 
   19977 
   19978 
   19979 
   19980 
   19981 
   19982 
   19983 
   19984 
   19985 
   19986 
   19987   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19988 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19989 hardcode_action=
   19990 if test -n "$hardcode_libdir_flag_spec" ||
   19991    test -n "$runpath_var" ||
   19992    test yes = "$hardcode_automatic"; then
   19993 
   19994   # We can hardcode non-existent directories.
   19995   if test no != "$hardcode_direct" &&
   19996      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19997      # have to relink, otherwise we might link with an installed library
   19998      # when we should be linking with a yet-to-be-installed one
   19999      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   20000      test no != "$hardcode_minus_L"; then
   20001     # Linking always hardcodes the temporary library directory.
   20002     hardcode_action=relink
   20003   else
   20004     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   20005     hardcode_action=immediate
   20006   fi
   20007 else
   20008   # We cannot hardcode anything, or else we can only hardcode existing
   20009   # directories.
   20010   hardcode_action=unsupported
   20011 fi
   20012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   20013 printf '%s\n' "$hardcode_action" >&6; }
   20014 
   20015 if test relink = "$hardcode_action" ||
   20016    test yes = "$inherit_rpath"; then
   20017   # Fast installation is not supported
   20018   enable_fast_install=no
   20019 elif test yes = "$shlibpath_overrides_runpath" ||
   20020      test no = "$enable_shared"; then
   20021   # Fast installation is not necessary
   20022   enable_fast_install=needless
   20023 fi
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030   if test yes != "$enable_dlopen"; then
   20031   enable_dlopen=unknown
   20032   enable_dlopen_self=unknown
   20033   enable_dlopen_self_static=unknown
   20034 else
   20035   lt_cv_dlopen=no
   20036   lt_cv_dlopen_libs=
   20037 
   20038   case $host_os in
   20039   beos*)
   20040     lt_cv_dlopen=load_add_on
   20041     lt_cv_dlopen_libs=
   20042     lt_cv_dlopen_self=yes
   20043     ;;
   20044 
   20045   mingw* | windows* | pw32* | cegcc*)
   20046     lt_cv_dlopen=LoadLibrary
   20047     lt_cv_dlopen_libs=
   20048     ;;
   20049 
   20050   cygwin*)
   20051     lt_cv_dlopen=dlopen
   20052     lt_cv_dlopen_libs=
   20053     ;;
   20054 
   20055   darwin*)
   20056     # if libdl is installed we need to link against it
   20057     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   20058 printf %s "checking for dlopen in -ldl... " >&6; }
   20059 if test ${ac_cv_lib_dl_dlopen+y}
   20060 then :
   20061   printf %s "(cached) " >&6
   20062 else case e in #(
   20063   e) ac_check_lib_save_LIBS=$LIBS
   20064 LIBS="-ldl  $LIBS"
   20065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20066 /* end confdefs.h.  */
   20067 
   20068 /* Override any GCC internal prototype to avoid an error.
   20069    Use char because int might match the return type of a GCC
   20070    builtin and then its argument prototype would still apply.
   20071    The 'extern "C"' is for builds by C++ compilers;
   20072    although this is not generally supported in C code supporting it here
   20073    has little cost and some practical benefit (sr 110532).  */
   20074 #ifdef __cplusplus
   20075 extern "C"
   20076 #endif
   20077 char dlopen (void);
   20078 int
   20079 main (void)
   20080 {
   20081 return dlopen ();
   20082   ;
   20083   return 0;
   20084 }
   20085 _ACEOF
   20086 if ac_fn_c_try_link "$LINENO"
   20087 then :
   20088   ac_cv_lib_dl_dlopen=yes
   20089 else case e in #(
   20090   e) ac_cv_lib_dl_dlopen=no ;;
   20091 esac
   20092 fi
   20093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20094     conftest$ac_exeext conftest.$ac_ext
   20095 LIBS=$ac_check_lib_save_LIBS ;;
   20096 esac
   20097 fi
   20098 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   20099 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   20100 if test "x$ac_cv_lib_dl_dlopen" = xyes
   20101 then :
   20102   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   20103 else case e in #(
   20104   e)
   20105     lt_cv_dlopen=dyld
   20106     lt_cv_dlopen_libs=
   20107     lt_cv_dlopen_self=yes
   20108      ;;
   20109 esac
   20110 fi
   20111 
   20112     ;;
   20113 
   20114   tpf*)
   20115     # Don't try to run any link tests for TPF.  We know it's impossible
   20116     # because TPF is a cross-compiler, and we know how we open DSOs.
   20117     lt_cv_dlopen=dlopen
   20118     lt_cv_dlopen_libs=
   20119     lt_cv_dlopen_self=no
   20120     ;;
   20121 
   20122   *)
   20123     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   20124 if test "x$ac_cv_func_shl_load" = xyes
   20125 then :
   20126   lt_cv_dlopen=shl_load
   20127 else case e in #(
   20128   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   20129 printf %s "checking for shl_load in -ldld... " >&6; }
   20130 if test ${ac_cv_lib_dld_shl_load+y}
   20131 then :
   20132   printf %s "(cached) " >&6
   20133 else case e in #(
   20134   e) ac_check_lib_save_LIBS=$LIBS
   20135 LIBS="-ldld  $LIBS"
   20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20137 /* end confdefs.h.  */
   20138 
   20139 /* Override any GCC internal prototype to avoid an error.
   20140    Use char because int might match the return type of a GCC
   20141    builtin and then its argument prototype would still apply.
   20142    The 'extern "C"' is for builds by C++ compilers;
   20143    although this is not generally supported in C code supporting it here
   20144    has little cost and some practical benefit (sr 110532).  */
   20145 #ifdef __cplusplus
   20146 extern "C"
   20147 #endif
   20148 char shl_load (void);
   20149 int
   20150 main (void)
   20151 {
   20152 return shl_load ();
   20153   ;
   20154   return 0;
   20155 }
   20156 _ACEOF
   20157 if ac_fn_c_try_link "$LINENO"
   20158 then :
   20159   ac_cv_lib_dld_shl_load=yes
   20160 else case e in #(
   20161   e) ac_cv_lib_dld_shl_load=no ;;
   20162 esac
   20163 fi
   20164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20165     conftest$ac_exeext conftest.$ac_ext
   20166 LIBS=$ac_check_lib_save_LIBS ;;
   20167 esac
   20168 fi
   20169 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   20170 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
   20171 if test "x$ac_cv_lib_dld_shl_load" = xyes
   20172 then :
   20173   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   20174 else case e in #(
   20175   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   20176 if test "x$ac_cv_func_dlopen" = xyes
   20177 then :
   20178   lt_cv_dlopen=dlopen
   20179 else case e in #(
   20180   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   20181 printf %s "checking for dlopen in -ldl... " >&6; }
   20182 if test ${ac_cv_lib_dl_dlopen+y}
   20183 then :
   20184   printf %s "(cached) " >&6
   20185 else case e in #(
   20186   e) ac_check_lib_save_LIBS=$LIBS
   20187 LIBS="-ldl  $LIBS"
   20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20189 /* end confdefs.h.  */
   20190 
   20191 /* Override any GCC internal prototype to avoid an error.
   20192    Use char because int might match the return type of a GCC
   20193    builtin and then its argument prototype would still apply.
   20194    The 'extern "C"' is for builds by C++ compilers;
   20195    although this is not generally supported in C code supporting it here
   20196    has little cost and some practical benefit (sr 110532).  */
   20197 #ifdef __cplusplus
   20198 extern "C"
   20199 #endif
   20200 char dlopen (void);
   20201 int
   20202 main (void)
   20203 {
   20204 return dlopen ();
   20205   ;
   20206   return 0;
   20207 }
   20208 _ACEOF
   20209 if ac_fn_c_try_link "$LINENO"
   20210 then :
   20211   ac_cv_lib_dl_dlopen=yes
   20212 else case e in #(
   20213   e) ac_cv_lib_dl_dlopen=no ;;
   20214 esac
   20215 fi
   20216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20217     conftest$ac_exeext conftest.$ac_ext
   20218 LIBS=$ac_check_lib_save_LIBS ;;
   20219 esac
   20220 fi
   20221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   20222 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   20223 if test "x$ac_cv_lib_dl_dlopen" = xyes
   20224 then :
   20225   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   20226 else case e in #(
   20227   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   20228 printf %s "checking for dlopen in -lsvld... " >&6; }
   20229 if test ${ac_cv_lib_svld_dlopen+y}
   20230 then :
   20231   printf %s "(cached) " >&6
   20232 else case e in #(
   20233   e) ac_check_lib_save_LIBS=$LIBS
   20234 LIBS="-lsvld  $LIBS"
   20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20236 /* end confdefs.h.  */
   20237 
   20238 /* Override any GCC internal prototype to avoid an error.
   20239    Use char because int might match the return type of a GCC
   20240    builtin and then its argument prototype would still apply.
   20241    The 'extern "C"' is for builds by C++ compilers;
   20242    although this is not generally supported in C code supporting it here
   20243    has little cost and some practical benefit (sr 110532).  */
   20244 #ifdef __cplusplus
   20245 extern "C"
   20246 #endif
   20247 char dlopen (void);
   20248 int
   20249 main (void)
   20250 {
   20251 return dlopen ();
   20252   ;
   20253   return 0;
   20254 }
   20255 _ACEOF
   20256 if ac_fn_c_try_link "$LINENO"
   20257 then :
   20258   ac_cv_lib_svld_dlopen=yes
   20259 else case e in #(
   20260   e) ac_cv_lib_svld_dlopen=no ;;
   20261 esac
   20262 fi
   20263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20264     conftest$ac_exeext conftest.$ac_ext
   20265 LIBS=$ac_check_lib_save_LIBS ;;
   20266 esac
   20267 fi
   20268 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   20269 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
   20270 if test "x$ac_cv_lib_svld_dlopen" = xyes
   20271 then :
   20272   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   20273 else case e in #(
   20274   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   20275 printf %s "checking for dld_link in -ldld... " >&6; }
   20276 if test ${ac_cv_lib_dld_dld_link+y}
   20277 then :
   20278   printf %s "(cached) " >&6
   20279 else case e in #(
   20280   e) ac_check_lib_save_LIBS=$LIBS
   20281 LIBS="-ldld  $LIBS"
   20282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20283 /* end confdefs.h.  */
   20284 
   20285 /* Override any GCC internal prototype to avoid an error.
   20286    Use char because int might match the return type of a GCC
   20287    builtin and then its argument prototype would still apply.
   20288    The 'extern "C"' is for builds by C++ compilers;
   20289    although this is not generally supported in C code supporting it here
   20290    has little cost and some practical benefit (sr 110532).  */
   20291 #ifdef __cplusplus
   20292 extern "C"
   20293 #endif
   20294 char dld_link (void);
   20295 int
   20296 main (void)
   20297 {
   20298 return dld_link ();
   20299   ;
   20300   return 0;
   20301 }
   20302 _ACEOF
   20303 if ac_fn_c_try_link "$LINENO"
   20304 then :
   20305   ac_cv_lib_dld_dld_link=yes
   20306 else case e in #(
   20307   e) ac_cv_lib_dld_dld_link=no ;;
   20308 esac
   20309 fi
   20310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20311     conftest$ac_exeext conftest.$ac_ext
   20312 LIBS=$ac_check_lib_save_LIBS ;;
   20313 esac
   20314 fi
   20315 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   20316 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
   20317 if test "x$ac_cv_lib_dld_dld_link" = xyes
   20318 then :
   20319   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   20320 fi
   20321 
   20322 	       ;;
   20323 esac
   20324 fi
   20325 
   20326 	     ;;
   20327 esac
   20328 fi
   20329 
   20330 	   ;;
   20331 esac
   20332 fi
   20333 
   20334 	 ;;
   20335 esac
   20336 fi
   20337 
   20338        ;;
   20339 esac
   20340 fi
   20341 
   20342     ;;
   20343   esac
   20344 
   20345   if test no = "$lt_cv_dlopen"; then
   20346     enable_dlopen=no
   20347   else
   20348     enable_dlopen=yes
   20349   fi
   20350 
   20351   case $lt_cv_dlopen in
   20352   dlopen)
   20353     save_CPPFLAGS=$CPPFLAGS
   20354     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   20355 
   20356     save_LDFLAGS=$LDFLAGS
   20357     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   20358 
   20359     save_LIBS=$LIBS
   20360     LIBS="$lt_cv_dlopen_libs $LIBS"
   20361 
   20362     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   20363 printf %s "checking whether a program can dlopen itself... " >&6; }
   20364 if test ${lt_cv_dlopen_self+y}
   20365 then :
   20366   printf %s "(cached) " >&6
   20367 else case e in #(
   20368   e) 	  if test yes = "$cross_compiling"; then :
   20369   lt_cv_dlopen_self=cross
   20370 else
   20371   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   20372   lt_status=$lt_dlunknown
   20373   cat > conftest.$ac_ext <<_LT_EOF
   20374 #line $LINENO "configure"
   20375 #include "confdefs.h"
   20376 
   20377 #if HAVE_DLFCN_H
   20378 #include <dlfcn.h>
   20379 #endif
   20380 
   20381 #include <stdio.h>
   20382 
   20383 #ifdef RTLD_GLOBAL
   20384 #  define LT_DLGLOBAL		RTLD_GLOBAL
   20385 #else
   20386 #  ifdef DL_GLOBAL
   20387 #    define LT_DLGLOBAL		DL_GLOBAL
   20388 #  else
   20389 #    define LT_DLGLOBAL		0
   20390 #  endif
   20391 #endif
   20392 
   20393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   20394    find out it does not work in some platform. */
   20395 #ifndef LT_DLLAZY_OR_NOW
   20396 #  ifdef RTLD_LAZY
   20397 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   20398 #  else
   20399 #    ifdef DL_LAZY
   20400 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   20401 #    else
   20402 #      ifdef RTLD_NOW
   20403 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   20404 #      else
   20405 #        ifdef DL_NOW
   20406 #          define LT_DLLAZY_OR_NOW	DL_NOW
   20407 #        else
   20408 #          define LT_DLLAZY_OR_NOW	0
   20409 #        endif
   20410 #      endif
   20411 #    endif
   20412 #  endif
   20413 #endif
   20414 
   20415 /* When -fvisibility=hidden is used, assume the code has been annotated
   20416    correspondingly for the symbols needed.  */
   20417 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   20418 int fnord (void) __attribute__((visibility("default")));
   20419 #endif
   20420 
   20421 int fnord (void) { return 42; }
   20422 int main (void)
   20423 {
   20424   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   20425   int status = $lt_dlunknown;
   20426 
   20427   if (self)
   20428     {
   20429       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   20430       else
   20431         {
   20432 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   20433           else puts (dlerror ());
   20434 	}
   20435       /* dlclose (self); */
   20436     }
   20437   else
   20438     puts (dlerror ());
   20439 
   20440   return status;
   20441 }
   20442 _LT_EOF
   20443   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   20444   (eval $ac_link) 2>&5
   20445   ac_status=$?
   20446   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20447   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   20448     (./conftest; exit; ) >&5 2>/dev/null
   20449     lt_status=$?
   20450     case x$lt_status in
   20451       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   20452       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   20453       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   20454     esac
   20455   else :
   20456     # compilation failed
   20457     lt_cv_dlopen_self=no
   20458   fi
   20459 fi
   20460 rm -fr conftest*
   20461 
   20462      ;;
   20463 esac
   20464 fi
   20465 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   20466 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
   20467 
   20468     if test yes = "$lt_cv_dlopen_self"; then
   20469       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   20470       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   20471 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   20472 if test ${lt_cv_dlopen_self_static+y}
   20473 then :
   20474   printf %s "(cached) " >&6
   20475 else case e in #(
   20476   e) 	  if test yes = "$cross_compiling"; then :
   20477   lt_cv_dlopen_self_static=cross
   20478 else
   20479   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   20480   lt_status=$lt_dlunknown
   20481   cat > conftest.$ac_ext <<_LT_EOF
   20482 #line $LINENO "configure"
   20483 #include "confdefs.h"
   20484 
   20485 #if HAVE_DLFCN_H
   20486 #include <dlfcn.h>
   20487 #endif
   20488 
   20489 #include <stdio.h>
   20490 
   20491 #ifdef RTLD_GLOBAL
   20492 #  define LT_DLGLOBAL		RTLD_GLOBAL
   20493 #else
   20494 #  ifdef DL_GLOBAL
   20495 #    define LT_DLGLOBAL		DL_GLOBAL
   20496 #  else
   20497 #    define LT_DLGLOBAL		0
   20498 #  endif
   20499 #endif
   20500 
   20501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   20502    find out it does not work in some platform. */
   20503 #ifndef LT_DLLAZY_OR_NOW
   20504 #  ifdef RTLD_LAZY
   20505 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   20506 #  else
   20507 #    ifdef DL_LAZY
   20508 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   20509 #    else
   20510 #      ifdef RTLD_NOW
   20511 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   20512 #      else
   20513 #        ifdef DL_NOW
   20514 #          define LT_DLLAZY_OR_NOW	DL_NOW
   20515 #        else
   20516 #          define LT_DLLAZY_OR_NOW	0
   20517 #        endif
   20518 #      endif
   20519 #    endif
   20520 #  endif
   20521 #endif
   20522 
   20523 /* When -fvisibility=hidden is used, assume the code has been annotated
   20524    correspondingly for the symbols needed.  */
   20525 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   20526 int fnord (void) __attribute__((visibility("default")));
   20527 #endif
   20528 
   20529 int fnord (void) { return 42; }
   20530 int main (void)
   20531 {
   20532   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   20533   int status = $lt_dlunknown;
   20534 
   20535   if (self)
   20536     {
   20537       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   20538       else
   20539         {
   20540 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   20541           else puts (dlerror ());
   20542 	}
   20543       /* dlclose (self); */
   20544     }
   20545   else
   20546     puts (dlerror ());
   20547 
   20548   return status;
   20549 }
   20550 _LT_EOF
   20551   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   20552   (eval $ac_link) 2>&5
   20553   ac_status=$?
   20554   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20555   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   20556     (./conftest; exit; ) >&5 2>/dev/null
   20557     lt_status=$?
   20558     case x$lt_status in
   20559       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   20560       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   20561       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   20562     esac
   20563   else :
   20564     # compilation failed
   20565     lt_cv_dlopen_self_static=no
   20566   fi
   20567 fi
   20568 rm -fr conftest*
   20569 
   20570        ;;
   20571 esac
   20572 fi
   20573 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   20574 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
   20575     fi
   20576 
   20577     CPPFLAGS=$save_CPPFLAGS
   20578     LDFLAGS=$save_LDFLAGS
   20579     LIBS=$save_LIBS
   20580     ;;
   20581   esac
   20582 
   20583   case $lt_cv_dlopen_self in
   20584   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   20585   *) enable_dlopen_self=unknown ;;
   20586   esac
   20587 
   20588   case $lt_cv_dlopen_self_static in
   20589   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   20590   *) enable_dlopen_self_static=unknown ;;
   20591   esac
   20592 fi
   20593 
   20594 
   20595 
   20596 
   20597 
   20598 
   20599 
   20600 
   20601 
   20602 
   20603 
   20604 
   20605 
   20606 
   20607 
   20608 
   20609 
   20610 striplib=
   20611 old_striplib=
   20612 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   20613 printf %s "checking whether stripping libraries is possible... " >&6; }
   20614 if test -z "$STRIP"; then
   20615   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20616 printf '%s\n' "no" >&6; }
   20617 else
   20618   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   20619     old_striplib="$STRIP --strip-debug"
   20620     striplib="$STRIP --strip-unneeded"
   20621     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20622 printf '%s\n' "yes" >&6; }
   20623   else
   20624     case $host_os in
   20625     darwin*)
   20626       # FIXME - insert some real tests, host_os isn't really good enough
   20627       striplib="$STRIP -x"
   20628       old_striplib="$STRIP -S"
   20629       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20630 printf '%s\n' "yes" >&6; }
   20631       ;;
   20632     freebsd*)
   20633       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   20634         old_striplib="$STRIP --strip-debug"
   20635         striplib="$STRIP --strip-unneeded"
   20636         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20637 printf '%s\n' "yes" >&6; }
   20638       else
   20639         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20640 printf '%s\n' "no" >&6; }
   20641       fi
   20642       ;;
   20643     *)
   20644       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20645 printf '%s\n' "no" >&6; }
   20646       ;;
   20647     esac
   20648   fi
   20649 fi
   20650 
   20651 
   20652 
   20653 
   20654 
   20655 
   20656 
   20657 
   20658 
   20659 
   20660 
   20661 
   20662   # Report what library types will actually be built
   20663   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   20664 printf %s "checking if libtool supports shared libraries... " >&6; }
   20665   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   20666 printf '%s\n' "$can_build_shared" >&6; }
   20667 
   20668   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   20669 printf %s "checking whether to build shared libraries... " >&6; }
   20670   test no = "$can_build_shared" && enable_shared=no
   20671 
   20672   # On AIX, shared libraries and static libraries use the same namespace, and
   20673   # are all built from PIC.
   20674   case $host_os in
   20675   aix3*)
   20676     test yes = "$enable_shared" && enable_static=no
   20677     if test -n "$RANLIB"; then
   20678       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   20679       postinstall_cmds='$RANLIB $lib'
   20680     fi
   20681     ;;
   20682 
   20683   aix[4-9]*)
   20684     if test ia64 != "$host_cpu"; then
   20685       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   20686       yes,aix,yes) ;;			# shared object as lib.so file only
   20687       yes,svr4,*) ;;			# shared object as lib.so archive member only
   20688       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   20689       esac
   20690     fi
   20691     ;;
   20692   esac
   20693   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   20694 printf '%s\n' "$enable_shared" >&6; }
   20695 
   20696   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   20697 printf %s "checking whether to build static libraries... " >&6; }
   20698   # Make sure either enable_shared or enable_static is yes.
   20699   test yes = "$enable_shared" || enable_static=yes
   20700   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   20701 printf '%s\n' "$enable_static" >&6; }
   20702 
   20703 
   20704 
   20705 
   20706 fi
   20707 ac_ext=c
   20708 ac_cpp='$CPP $CPPFLAGS'
   20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20712 
   20713 CC=$lt_save_CC
   20714 
   20715 
   20716 
   20717 
   20718 
   20719 
   20720 
   20721 
   20722 
   20723 
   20724 
   20725 
   20726 
   20727 
   20728 
   20729         ac_config_commands="$ac_config_commands libtool"
   20730 
   20731 
   20732 
   20733 
   20734 # Only expand once:
   20735 
   20736 
   20737 
   20738 
   20739 
   20740 # Options
   20741 # Define a configure option for an alternate module directory
   20742 
   20743 # Check whether --with-xorg-module-dir was given.
   20744 if test ${with_xorg_module_dir+y}
   20745 then :
   20746   withval=$with_xorg_module_dir; moduledir="$withval"
   20747 else case e in #(
   20748   e) moduledir="$libdir/xorg/modules" ;;
   20749 esac
   20750 fi
   20751 
   20752 
   20753 # Store the list of server defined optional extensions in REQUIRED_MODULES
   20754 
   20755 
   20756 	SAVE_CFLAGS="$CFLAGS"
   20757 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20758 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20759 /* end confdefs.h.  */
   20760 
   20761 #include "xorg-server.h"
   20762 #if !defined RANDR
   20763 #error RANDR not defined
   20764 #endif
   20765 
   20766 int
   20767 main (void)
   20768 {
   20769 
   20770   ;
   20771   return 0;
   20772 }
   20773 _ACEOF
   20774 if ac_fn_c_try_compile "$LINENO"
   20775 then :
   20776   _EXT_CHECK=yes
   20777 else case e in #(
   20778   e) _EXT_CHECK=no ;;
   20779 esac
   20780 fi
   20781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20782 	CFLAGS="$SAVE_CFLAGS"
   20783 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   20784 printf %s "checking if RANDR is defined... " >&6; }
   20785 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20786 printf '%s\n' "$_EXT_CHECK" >&6; }
   20787 	if test "$_EXT_CHECK" != no; then
   20788 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20789 	fi
   20790 
   20791 
   20792 
   20793 	SAVE_CFLAGS="$CFLAGS"
   20794 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20795 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20796 /* end confdefs.h.  */
   20797 
   20798 #include "xorg-server.h"
   20799 #if !defined RENDER
   20800 #error RENDER not defined
   20801 #endif
   20802 
   20803 int
   20804 main (void)
   20805 {
   20806 
   20807   ;
   20808   return 0;
   20809 }
   20810 _ACEOF
   20811 if ac_fn_c_try_compile "$LINENO"
   20812 then :
   20813   _EXT_CHECK=yes
   20814 else case e in #(
   20815   e) _EXT_CHECK=no ;;
   20816 esac
   20817 fi
   20818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20819 	CFLAGS="$SAVE_CFLAGS"
   20820 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   20821 printf %s "checking if RENDER is defined... " >&6; }
   20822 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20823 printf '%s\n' "$_EXT_CHECK" >&6; }
   20824 	if test "$_EXT_CHECK" != no; then
   20825 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   20826 	fi
   20827 
   20828 
   20829 
   20830 	SAVE_CFLAGS="$CFLAGS"
   20831 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20832 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20833 /* end confdefs.h.  */
   20834 
   20835 #include "xorg-server.h"
   20836 #if !defined XV
   20837 #error XV not defined
   20838 #endif
   20839 
   20840 int
   20841 main (void)
   20842 {
   20843 
   20844   ;
   20845   return 0;
   20846 }
   20847 _ACEOF
   20848 if ac_fn_c_try_compile "$LINENO"
   20849 then :
   20850   _EXT_CHECK=yes
   20851 else case e in #(
   20852   e) _EXT_CHECK=no ;;
   20853 esac
   20854 fi
   20855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20856 	CFLAGS="$SAVE_CFLAGS"
   20857 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   20858 printf %s "checking if XV is defined... " >&6; }
   20859 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20860 printf '%s\n' "$_EXT_CHECK" >&6; }
   20861 	if test "$_EXT_CHECK" != no; then
   20862 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   20863 	fi
   20864 
   20865 
   20866 
   20867 	SAVE_CFLAGS="$CFLAGS"
   20868 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   20869 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20870 /* end confdefs.h.  */
   20871 
   20872 #include "xorg-server.h"
   20873 #if !defined DPMSExtension
   20874 #error DPMSExtension not defined
   20875 #endif
   20876 
   20877 int
   20878 main (void)
   20879 {
   20880 
   20881   ;
   20882   return 0;
   20883 }
   20884 _ACEOF
   20885 if ac_fn_c_try_compile "$LINENO"
   20886 then :
   20887   _EXT_CHECK=yes
   20888 else case e in #(
   20889   e) _EXT_CHECK=no ;;
   20890 esac
   20891 fi
   20892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20893 	CFLAGS="$SAVE_CFLAGS"
   20894 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   20895 printf %s "checking if DPMSExtension is defined... " >&6; }
   20896 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20897 printf '%s\n' "$_EXT_CHECK" >&6; }
   20898 	if test "$_EXT_CHECK" != no; then
   20899 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   20900 	fi
   20901 
   20902 
   20903 # Obtain compiler/linker options for the driver dependencies
   20904 
   20905 pkg_failed=no
   20906 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   20907 printf %s "checking for XORG... " >&6; }
   20908 
   20909 if test -n "$XORG_CFLAGS"; then
   20910     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20911  elif test -n "$PKG_CONFIG"; then
   20912     if test -n "$PKG_CONFIG" && \
   20913     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20914   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20915   ac_status=$?
   20916   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20917   test $ac_status = 0; }; then
   20918   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20919 		      test "x$?" != "x0" && pkg_failed=yes
   20920 else
   20921   pkg_failed=yes
   20922 fi
   20923  else
   20924     pkg_failed=untried
   20925 fi
   20926 if test -n "$XORG_LIBS"; then
   20927     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20928  elif test -n "$PKG_CONFIG"; then
   20929     if test -n "$PKG_CONFIG" && \
   20930     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   20931   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   20932   ac_status=$?
   20933   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20934   test $ac_status = 0; }; then
   20935   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   20936 		      test "x$?" != "x0" && pkg_failed=yes
   20937 else
   20938   pkg_failed=yes
   20939 fi
   20940  else
   20941     pkg_failed=untried
   20942 fi
   20943 
   20944 
   20945 
   20946 if test $pkg_failed = yes; then
   20947    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20948 printf '%s\n' "no" >&6; }
   20949 
   20950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20951         _pkg_short_errors_supported=yes
   20952 else
   20953         _pkg_short_errors_supported=no
   20954 fi
   20955         if test $_pkg_short_errors_supported = yes; then
   20956 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20957         else
   20958 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   20959         fi
   20960 	# Put the nasty error message in config.log where it belongs
   20961 	echo "$XORG_PKG_ERRORS" >&5
   20962 
   20963 	as_fn_error $? "Package requirements (xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES) were not met:
   20964 
   20965 $XORG_PKG_ERRORS
   20966 
   20967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20968 installed software in a non-standard prefix.
   20969 
   20970 Alternatively, you may set the environment variables XORG_CFLAGS
   20971 and XORG_LIBS to avoid the need to call pkg-config.
   20972 See the pkg-config man page for more details." "$LINENO" 5
   20973 elif test $pkg_failed = untried; then
   20974      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20975 printf '%s\n' "no" >&6; }
   20976 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20977 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   20978 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20979 is in your PATH or set the PKG_CONFIG environment variable to the full
   20980 path to pkg-config.
   20981 
   20982 Alternatively, you may set the environment variables XORG_CFLAGS
   20983 and XORG_LIBS to avoid the need to call pkg-config.
   20984 See the pkg-config man page for more details.
   20985 
   20986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20987 See 'config.log' for more details" "$LINENO" 5; }
   20988 else
   20989 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20990 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20991         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20992 printf '%s\n' "yes" >&6; }
   20993 
   20994 fi
   20995 
   20996 pkg_failed=no
   20997 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   20998 printf %s "checking for XEXT... " >&6; }
   20999 
   21000 if test -n "$XEXT_CFLAGS"; then
   21001     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21002  elif test -n "$PKG_CONFIG"; then
   21003     if test -n "$PKG_CONFIG" && \
   21004     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   21005   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21006   ac_status=$?
   21007   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21008   test $ac_status = 0; }; then
   21009   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21010 		      test "x$?" != "x0" && pkg_failed=yes
   21011 else
   21012   pkg_failed=yes
   21013 fi
   21014  else
   21015     pkg_failed=untried
   21016 fi
   21017 if test -n "$XEXT_LIBS"; then
   21018     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21019  elif test -n "$PKG_CONFIG"; then
   21020     if test -n "$PKG_CONFIG" && \
   21021     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   21022   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21023   ac_status=$?
   21024   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21025   test $ac_status = 0; }; then
   21026   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21027 		      test "x$?" != "x0" && pkg_failed=yes
   21028 else
   21029   pkg_failed=yes
   21030 fi
   21031  else
   21032     pkg_failed=untried
   21033 fi
   21034 
   21035 
   21036 
   21037 if test $pkg_failed = yes; then
   21038    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21039 printf '%s\n' "no" >&6; }
   21040 
   21041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21042         _pkg_short_errors_supported=yes
   21043 else
   21044         _pkg_short_errors_supported=no
   21045 fi
   21046         if test $_pkg_short_errors_supported = yes; then
   21047 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   21048         else
   21049 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   21050         fi
   21051 	# Put the nasty error message in config.log where it belongs
   21052 	echo "$XEXT_PKG_ERRORS" >&5
   21053 
   21054 	HAVE_XEXTPROTO_71="no"
   21055 elif test $pkg_failed = untried; then
   21056      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21057 printf '%s\n' "no" >&6; }
   21058 	HAVE_XEXTPROTO_71="no"
   21059 else
   21060 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21061 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21062         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21063 printf '%s\n' "yes" >&6; }
   21064 	HAVE_XEXTPROTO_71="yes";
   21065 printf '%s\n' "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   21066 
   21067 fi
   21068  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21069   HAVE_XEXTPROTO_71_TRUE=
   21070   HAVE_XEXTPROTO_71_FALSE='#'
   21071 else
   21072   HAVE_XEXTPROTO_71_TRUE='#'
   21073   HAVE_XEXTPROTO_71_FALSE=
   21074 fi
   21075 
   21076 
   21077 # Checks for libraries.
   21078 
   21079 
   21080 save_CFLAGS="$CFLAGS"
   21081 CFLAGS="$XORG_CFLAGS"
   21082 
   21083 ac_fn_c_check_header_compile "$LINENO" "dev/wscons/wsconsio.h" "ac_cv_header_dev_wscons_wsconsio_h" "$ac_includes_default"
   21084 if test "x$ac_cv_header_dev_wscons_wsconsio_h" = xyes
   21085 then :
   21086   printf '%s\n' "#define HAVE_DEV_WSCONS_WSCONSIO_H 1" >>confdefs.h
   21087 
   21088 fi
   21089 
   21090 
   21091 # PCI rework
   21092 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   21093 " "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   21094 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   21095 then :
   21096   XSERVER_LIBPCIACCESS=yes
   21097 else case e in #(
   21098   e) XSERVER_LIBPCIACCESS=no ;;
   21099 esac
   21100 fi
   21101 if test "x$XSERVER_LIBPCIACCESS" = "xyes"; then
   21102 
   21103 pkg_failed=no
   21104 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   21105 printf %s "checking for PCIACCESS... " >&6; }
   21106 
   21107 if test -n "$PCIACCESS_CFLAGS"; then
   21108     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21109  elif test -n "$PKG_CONFIG"; then
   21110     if test -n "$PKG_CONFIG" && \
   21111     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10.7\""; } >&5
   21112   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10.7") 2>&5
   21113   ac_status=$?
   21114   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21115   test $ac_status = 0; }; then
   21116   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10.7" 2>/dev/null`
   21117 		      test "x$?" != "x0" && pkg_failed=yes
   21118 else
   21119   pkg_failed=yes
   21120 fi
   21121  else
   21122     pkg_failed=untried
   21123 fi
   21124 if test -n "$PCIACCESS_LIBS"; then
   21125     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21126  elif test -n "$PKG_CONFIG"; then
   21127     if test -n "$PKG_CONFIG" && \
   21128     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10.7\""; } >&5
   21129   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10.7") 2>&5
   21130   ac_status=$?
   21131   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21132   test $ac_status = 0; }; then
   21133   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10.7" 2>/dev/null`
   21134 		      test "x$?" != "x0" && pkg_failed=yes
   21135 else
   21136   pkg_failed=yes
   21137 fi
   21138  else
   21139     pkg_failed=untried
   21140 fi
   21141 
   21142 
   21143 
   21144 if test $pkg_failed = yes; then
   21145    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21146 printf '%s\n' "no" >&6; }
   21147 
   21148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21149         _pkg_short_errors_supported=yes
   21150 else
   21151         _pkg_short_errors_supported=no
   21152 fi
   21153         if test $_pkg_short_errors_supported = yes; then
   21154 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10.7" 2>&1`
   21155         else
   21156 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10.7" 2>&1`
   21157         fi
   21158 	# Put the nasty error message in config.log where it belongs
   21159 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21160 
   21161 	as_fn_error $? "Package requirements (pciaccess >= 0.10.7) were not met:
   21162 
   21163 $PCIACCESS_PKG_ERRORS
   21164 
   21165 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21166 installed software in a non-standard prefix.
   21167 
   21168 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21169 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21170 See the pkg-config man page for more details." "$LINENO" 5
   21171 elif test $pkg_failed = untried; then
   21172      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21173 printf '%s\n' "no" >&6; }
   21174 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21175 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   21176 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21177 is in your PATH or set the PKG_CONFIG environment variable to the full
   21178 path to pkg-config.
   21179 
   21180 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21181 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21182 See the pkg-config man page for more details.
   21183 
   21184 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21185 See 'config.log' for more details" "$LINENO" 5; }
   21186 else
   21187 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21188 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21189         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21190 printf '%s\n' "yes" >&6; }
   21191 
   21192 fi
   21193 fi
   21194 
   21195 CFLAGS="$save_CFLAGS"
   21196 
   21197 # Check whether --enable-xaa was given.
   21198 if test ${enable_xaa+y}
   21199 then :
   21200   enableval=$enable_xaa; XAA="$enableval"
   21201 else case e in #(
   21202   e) XAA=auto ;;
   21203 esac
   21204 fi
   21205 
   21206 if test "x$XAA" != xno; then
   21207         save_CFLAGS=$CFLAGS
   21208         save_CPPFLAGS=$CPPFLAGS
   21209         CFLAGS=$XORG_CFLAGS
   21210         CPPFLAGS="$XORG_CFLAGS"
   21211                for ac_header in xaa.h
   21212 do :
   21213   ac_fn_c_check_header_compile "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   21214 if test "x$ac_cv_header_xaa_h" = xyes
   21215 then :
   21216   printf '%s\n' "#define HAVE_XAA_H 1" >>confdefs.h
   21217  XAA=yes
   21218 else case e in #(
   21219   e) XAA=no ;;
   21220 esac
   21221 fi
   21222 
   21223 done
   21224         CFLAGS=$save_CFLAGS
   21225         CPPFLAGS=$save_CPPFLAGS
   21226 fi
   21227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   21228 printf %s "checking whether to include XAA support... " >&6; }
   21229  if test "x$XAA" = xyes; then
   21230   XAA_TRUE=
   21231   XAA_FALSE='#'
   21232 else
   21233   XAA_TRUE='#'
   21234   XAA_FALSE=
   21235 fi
   21236 
   21237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   21238 printf '%s\n' "$XAA" >&6; }
   21239 
   21240 # Substitutions
   21241 
   21242 
   21243 # Checks for library functions
   21244 # We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet
   21245 # -Wredundant-decls warning from xorg/os.h which will otherwise redefine them.
   21246 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   21247 if test "x$ac_cv_func_strlcat" = xyes
   21248 then :
   21249   printf '%s\n' "#define HAVE_STRLCAT 1" >>confdefs.h
   21250 
   21251 fi
   21252 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   21253 if test "x$ac_cv_func_strlcpy" = xyes
   21254 then :
   21255   printf '%s\n' "#define HAVE_STRLCPY 1" >>confdefs.h
   21256 
   21257 fi
   21258 ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp"
   21259 if test "x$ac_cv_func_timingsafe_memcmp" = xyes
   21260 then :
   21261   printf '%s\n' "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h
   21262 
   21263 fi
   21264 
   21265 
   21266 DRIVER_NAME=nv
   21267 
   21268 
   21269 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   21270 
   21271 cat >confcache <<\_ACEOF
   21272 # This file is a shell script that caches the results of configure
   21273 # tests run on this system so they can be shared between configure
   21274 # scripts and configure runs, see configure's option --config-cache.
   21275 # It is not useful on other systems.  If it contains results you don't
   21276 # want to keep, you may remove or edit it.
   21277 #
   21278 # config.status only pays attention to the cache file if you give it
   21279 # the --recheck option to rerun configure.
   21280 #
   21281 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   21282 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   21283 # following values.
   21284 
   21285 _ACEOF
   21286 
   21287 ac_cache_dump |
   21288   sed '
   21289      /^ac_cv_env_/b end
   21290      t clear
   21291      :clear
   21292      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21293      t end
   21294      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21295      :end' >>confcache
   21296 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21297   if test -w "$cache_file"; then
   21298     if test "x$cache_file" != "x/dev/null"; then
   21299       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21300 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   21301       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21302 	cat confcache >"$cache_file"
   21303       else
   21304         case $cache_file in #(
   21305         */* | ?:*)
   21306 	  mv -f confcache "$cache_file"$$ &&
   21307 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21308         *)
   21309 	  mv -f confcache "$cache_file" ;;
   21310 	esac
   21311       fi
   21312     fi
   21313   else
   21314     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21315 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   21316   fi
   21317 fi
   21318 rm -f confcache
   21319 
   21320 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21321 # Let make expand exec_prefix.
   21322 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21323 
   21324 DEFS=-DHAVE_CONFIG_H
   21325 
   21326 ac_libobjs=
   21327 ac_ltlibobjs=
   21328 U=
   21329 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21330   # 1. Remove the extension, and $U if already installed.
   21331   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21332   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   21333   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21334   #    will be set to the directory where LIBOBJS objects are built.
   21335   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21336   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21337 done
   21338 LIBOBJS=$ac_libobjs
   21339 
   21340 LTLIBOBJS=$ac_ltlibobjs
   21341 
   21342 
   21343 case $enable_silent_rules in # (((
   21344   yes) AM_DEFAULT_VERBOSITY=0;;
   21345    no) AM_DEFAULT_VERBOSITY=1;;
   21346 esac
   21347 if test $am_cv_make_support_nested_variables = yes; then
   21348     AM_V='$(V)'
   21349   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21350 else
   21351   AM_V=$AM_DEFAULT_VERBOSITY
   21352   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21353 fi
   21354 
   21355 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21356 printf %s "checking that generated files are newer than configure... " >&6; }
   21357    if test -n "$am_sleep_pid"; then
   21358      # Hide warnings about reused PIDs.
   21359      wait $am_sleep_pid 2>/dev/null
   21360    fi
   21361    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21362 printf '%s\n' "done" >&6; }
   21363 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21364   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21366 fi
   21367 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21368   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21370 fi
   21371  if test -n "$EXEEXT"; then
   21372   am__EXEEXT_TRUE=
   21373   am__EXEEXT_FALSE='#'
   21374 else
   21375   am__EXEEXT_TRUE='#'
   21376   am__EXEEXT_FALSE=
   21377 fi
   21378 
   21379 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   21380   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   21381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21382 fi
   21383 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   21384   as_fn_error $? "conditional \"XAA\" was never defined.
   21385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21386 fi
   21387 
   21388 : "${CONFIG_STATUS=./config.status}"
   21389 case $CONFIG_STATUS in #(
   21390   -*) :
   21391     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   21392   */*) :
   21393      ;; #(
   21394   *) :
   21395     CONFIG_STATUS=./$CONFIG_STATUS ;;
   21396 esac
   21397 
   21398 ac_write_fail=0
   21399 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   21400 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21401 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   21402 as_write_fail=0
   21403 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   21404 #! $SHELL
   21405 # Generated by $as_me.
   21406 # Run this file to recreate the current configuration.
   21407 # Compiler output produced by configure, useful for debugging
   21408 # configure, is in config.log if it exists.
   21409 
   21410 debug=false
   21411 ac_cs_recheck=false
   21412 ac_cs_silent=false
   21413 
   21414 SHELL=\${CONFIG_SHELL-$SHELL}
   21415 export SHELL
   21416 _ASEOF
   21417 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   21418 ## -------------------- ##
   21419 ## M4sh Initialization. ##
   21420 ## -------------------- ##
   21421 
   21422 # Be more Bourne compatible
   21423 DUALCASE=1; export DUALCASE # for MKS sh
   21424 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21425 then :
   21426   emulate sh
   21427   NULLCMD=:
   21428   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21429   # contradicts POSIX and common usage.  Disable this.
   21430   alias -g '${1+"$@"}'='"$@"'
   21431   setopt NO_GLOB_SUBST
   21432 else case e in #(
   21433   e) case `(set -o) 2>/dev/null` in #(
   21434   *posix*) :
   21435     set -o posix ;; #(
   21436   *) :
   21437      ;;
   21438 esac ;;
   21439 esac
   21440 fi
   21441 
   21442 
   21443 
   21444 # Reset variables that may have inherited troublesome values from
   21445 # the environment.
   21446 
   21447 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21448 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21449 # side effect of setting IFS to empty, thus disabling word splitting.)
   21450 # Quoting is to prevent editors from complaining about space-tab.
   21451 as_nl='
   21452 '
   21453 export as_nl
   21454 IFS=" ""	$as_nl"
   21455 
   21456 PS1='$ '
   21457 PS2='> '
   21458 PS4='+ '
   21459 
   21460 # Ensure predictable behavior from utilities with locale-dependent output.
   21461 LC_ALL=C
   21462 export LC_ALL
   21463 LANGUAGE=C
   21464 export LANGUAGE
   21465 
   21466 # We cannot yet rely on "unset" to work, but we need these variables
   21467 # to be unset--not just set to an empty or harmless value--now, to
   21468 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21469 # also avoids known problems related to "unset" and subshell syntax
   21470 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21471 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21472 do eval test \${$as_var+y} \
   21473   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21474 done
   21475 
   21476 # Ensure that fds 0, 1, and 2 are open.
   21477 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21478 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21479 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21480 
   21481 # The user is always right.
   21482 if ${PATH_SEPARATOR+false} :; then
   21483   PATH_SEPARATOR=:
   21484   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21485     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21486       PATH_SEPARATOR=';'
   21487   }
   21488 fi
   21489 
   21490 
   21491 # Find who we are.  Look in the path if we contain no directory separator.
   21492 as_myself=
   21493 case $0 in #((
   21494   *[\\/]* ) as_myself=$0 ;;
   21495   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21496 for as_dir in $PATH
   21497 do
   21498   IFS=$as_save_IFS
   21499   case $as_dir in #(((
   21500     '') as_dir=./ ;;
   21501     */) ;;
   21502     *) as_dir=$as_dir/ ;;
   21503   esac
   21504     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21505   done
   21506 IFS=$as_save_IFS
   21507 
   21508      ;;
   21509 esac
   21510 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21511 # in which case we are not to be found in the path.
   21512 if test "x$as_myself" = x; then
   21513   as_myself=$0
   21514 fi
   21515 if test ! -f "$as_myself"; then
   21516   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21517   exit 1
   21518 fi
   21519 
   21520 
   21521 
   21522 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21523 # ----------------------------------------
   21524 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21525 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21526 # script with STATUS, using 1 if that was 0.
   21527 as_fn_error ()
   21528 {
   21529   as_status=$1; test $as_status -eq 0 && as_status=1
   21530   if test "$4"; then
   21531     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21532     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21533   fi
   21534   printf '%s\n' "$as_me: error: $2" >&2
   21535   as_fn_exit $as_status
   21536 } # as_fn_error
   21537 
   21538 
   21539 # as_fn_set_status STATUS
   21540 # -----------------------
   21541 # Set $? to STATUS, without forking.
   21542 as_fn_set_status ()
   21543 {
   21544   return $1
   21545 } # as_fn_set_status
   21546 
   21547 # as_fn_exit STATUS
   21548 # -----------------
   21549 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21550 as_fn_exit ()
   21551 {
   21552   set +e
   21553   as_fn_set_status $1
   21554   exit $1
   21555 } # as_fn_exit
   21556 
   21557 # as_fn_unset VAR
   21558 # ---------------
   21559 # Portably unset VAR.
   21560 as_fn_unset ()
   21561 {
   21562   { eval $1=; unset $1;}
   21563 }
   21564 as_unset=as_fn_unset
   21565 
   21566 # as_fn_append VAR VALUE
   21567 # ----------------------
   21568 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21569 # advantage of any shell optimizations that allow amortized linear growth over
   21570 # repeated appends, instead of the typical quadratic growth present in naive
   21571 # implementations.
   21572 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21573 then :
   21574   eval 'as_fn_append ()
   21575   {
   21576     eval $1+=\$2
   21577   }'
   21578 else case e in #(
   21579   e) as_fn_append ()
   21580   {
   21581     eval $1=\$$1\$2
   21582   } ;;
   21583 esac
   21584 fi # as_fn_append
   21585 
   21586 # as_fn_arith ARG...
   21587 # ------------------
   21588 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21589 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21590 # must be portable across $(()) and expr.
   21591 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21592 then :
   21593   eval 'as_fn_arith ()
   21594   {
   21595     as_val=$(( $* ))
   21596   }'
   21597 else case e in #(
   21598   e) as_fn_arith ()
   21599   {
   21600     as_val=`expr "$@" || test $? -eq 1`
   21601   } ;;
   21602 esac
   21603 fi # as_fn_arith
   21604 
   21605 
   21606 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21607    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21608   as_expr=expr
   21609 else
   21610   as_expr=false
   21611 fi
   21612 
   21613 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21614   as_basename=basename
   21615 else
   21616   as_basename=false
   21617 fi
   21618 
   21619 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21620   as_dirname=dirname
   21621 else
   21622   as_dirname=false
   21623 fi
   21624 
   21625 as_me=`$as_basename -- "$0" ||
   21626 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21627 	 X"$0" : 'X\(//\)$' \| \
   21628 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21629 printf '%s\n' X/"$0" |
   21630     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21631 	    s//\1/
   21632 	    q
   21633 	  }
   21634 	  /^X\/\(\/\/\)$/{
   21635 	    s//\1/
   21636 	    q
   21637 	  }
   21638 	  /^X\/\(\/\).*/{
   21639 	    s//\1/
   21640 	    q
   21641 	  }
   21642 	  s/.*/./; q'`
   21643 
   21644 # Avoid depending upon Character Ranges.
   21645 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21646 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21647 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21648 as_cr_digits='0123456789'
   21649 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21650 
   21651 rm -f conf$$ conf$$.exe conf$$.file
   21652 if test -d conf$$.dir; then
   21653   rm -f conf$$.dir/conf$$.file
   21654 else
   21655   rm -f conf$$.dir
   21656   mkdir conf$$.dir 2>/dev/null
   21657 fi
   21658 if (echo >conf$$.file) 2>/dev/null; then
   21659   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21660     as_ln_s='ln -s'
   21661     # ... but there are two gotchas:
   21662     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21663     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21664     # In both cases, we have to default to 'cp -pR'.
   21665     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21666       as_ln_s='cp -pR'
   21667   elif ln conf$$.file conf$$ 2>/dev/null; then
   21668     as_ln_s=ln
   21669   else
   21670     as_ln_s='cp -pR'
   21671   fi
   21672 else
   21673   as_ln_s='cp -pR'
   21674 fi
   21675 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21676 rmdir conf$$.dir 2>/dev/null
   21677 
   21678 
   21679 # as_fn_mkdir_p
   21680 # -------------
   21681 # Create "$as_dir" as a directory, including parents if necessary.
   21682 as_fn_mkdir_p ()
   21683 {
   21684 
   21685   case $as_dir in #(
   21686   -*) as_dir=./$as_dir;;
   21687   esac
   21688   test -d "$as_dir" || eval $as_mkdir_p || {
   21689     as_dirs=
   21690     while :; do
   21691       case $as_dir in #(
   21692       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21693       *) as_qdir=$as_dir;;
   21694       esac
   21695       as_dirs="'$as_qdir' $as_dirs"
   21696       as_dir=`$as_dirname -- "$as_dir" ||
   21697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21698 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21699 	 X"$as_dir" : 'X\(//\)$' \| \
   21700 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21701 printf '%s\n' X"$as_dir" |
   21702     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21703 	    s//\1/
   21704 	    q
   21705 	  }
   21706 	  /^X\(\/\/\)[^/].*/{
   21707 	    s//\1/
   21708 	    q
   21709 	  }
   21710 	  /^X\(\/\/\)$/{
   21711 	    s//\1/
   21712 	    q
   21713 	  }
   21714 	  /^X\(\/\).*/{
   21715 	    s//\1/
   21716 	    q
   21717 	  }
   21718 	  s/.*/./; q'`
   21719       test -d "$as_dir" && break
   21720     done
   21721     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21722   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21723 
   21724 
   21725 } # as_fn_mkdir_p
   21726 if mkdir -p . 2>/dev/null; then
   21727   as_mkdir_p='mkdir -p "$as_dir"'
   21728 else
   21729   test -d ./-p && rmdir ./-p
   21730   as_mkdir_p=false
   21731 fi
   21732 
   21733 
   21734 # as_fn_executable_p FILE
   21735 # -----------------------
   21736 # Test if FILE is an executable regular file.
   21737 as_fn_executable_p ()
   21738 {
   21739   test -f "$1" && test -x "$1"
   21740 } # as_fn_executable_p
   21741 as_test_x='test -x'
   21742 as_executable_p=as_fn_executable_p
   21743 
   21744 # Sed expression to map a string onto a valid CPP name.
   21745 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21746 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21747 
   21748 # Sed expression to map a string onto a valid variable name.
   21749 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21750 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21751 
   21752 
   21753 exec 6>&1
   21754 ## ------------------------------------- ##
   21755 ## Main body of "$CONFIG_STATUS" script. ##
   21756 ## ------------------------------------- ##
   21757 _ASEOF
   21758 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   21759 
   21760 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21761 # Save the log message, to keep $0 and so on meaningful, and to
   21762 # report actual input values of CONFIG_FILES etc. instead of their
   21763 # values after options handling.
   21764 ac_log="
   21765 This file was extended by xf86-video-nv $as_me 2.1.24, which was
   21766 generated by GNU Autoconf 2.73.  Invocation command line was
   21767 
   21768   CONFIG_FILES    = $CONFIG_FILES
   21769   CONFIG_HEADERS  = $CONFIG_HEADERS
   21770   CONFIG_LINKS    = $CONFIG_LINKS
   21771   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21772   $ $0 $@
   21773 
   21774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21775 "
   21776 
   21777 _ACEOF
   21778 
   21779 case $ac_config_files in *"
   21780 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21781 esac
   21782 
   21783 case $ac_config_headers in *"
   21784 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21785 esac
   21786 
   21787 
   21788 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21789 # Files that config.status was made for.
   21790 config_files="$ac_config_files"
   21791 config_headers="$ac_config_headers"
   21792 config_commands="$ac_config_commands"
   21793 
   21794 _ACEOF
   21795 
   21796 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21797 ac_cs_usage="\
   21798 '$as_me' instantiates files and other configuration actions
   21799 from templates according to the current configuration.  Unless the files
   21800 and actions are specified as TAGs, all are instantiated by default.
   21801 
   21802 Usage: $0 [OPTION]... [TAG]...
   21803 
   21804   -h, --help       print this help, then exit
   21805   -V, --version    print version number and configuration settings, then exit
   21806       --config     print configuration, then exit
   21807   -q, --quiet, --silent
   21808                    do not print progress messages
   21809   -d, --debug      don't remove temporary files
   21810       --recheck    update $as_me by reconfiguring in the same conditions
   21811       --file=FILE[:TEMPLATE]
   21812                    instantiate the configuration file FILE
   21813       --header=FILE[:TEMPLATE]
   21814                    instantiate the configuration header FILE
   21815 
   21816 Configuration files:
   21817 $config_files
   21818 
   21819 Configuration headers:
   21820 $config_headers
   21821 
   21822 Configuration commands:
   21823 $config_commands
   21824 
   21825 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/issues>."
   21826 
   21827 _ACEOF
   21828 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   21829 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21830 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21831 ac_cs_config='$ac_cs_config_escaped'
   21832 ac_cs_version="\\
   21833 xf86-video-nv config.status 2.1.24
   21834 configured by $0, generated by GNU Autoconf 2.73,
   21835   with options \\"\$ac_cs_config\\"
   21836 
   21837 Copyright (C) 2026 Free Software Foundation, Inc.
   21838 This config.status script is free software; the Free Software Foundation
   21839 gives unlimited permission to copy, distribute and modify it."
   21840 
   21841 ac_pwd='$ac_pwd'
   21842 srcdir='$srcdir'
   21843 INSTALL='$INSTALL'
   21844 MKDIR_P='$MKDIR_P'
   21845 AWK='$AWK'
   21846 test -n "\$AWK" || {
   21847   awk '' </dev/null ||
   21848     as_fn_error \$? "try installing gawk"
   21849   AWK=awk
   21850 }
   21851 _ACEOF
   21852 
   21853 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21854 # The default lists apply if the user does not specify any file.
   21855 ac_need_defaults=:
   21856 while test $# != 0
   21857 do
   21858   case $1 in
   21859   --*=?*)
   21860     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21861     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21862     ac_shift=:
   21863     ;;
   21864   --*=)
   21865     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21866     ac_optarg=
   21867     ac_shift=:
   21868     ;;
   21869   *)
   21870     ac_option=$1
   21871     ac_optarg=$2
   21872     ac_shift=shift
   21873     ;;
   21874   esac
   21875 
   21876   case $ac_option in
   21877   # Handling of the options.
   21878   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21879     ac_cs_recheck=: ;;
   21880   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21881     printf '%s\n' "$ac_cs_version"; exit ;;
   21882   --config | --confi | --conf | --con | --co | --c )
   21883     printf '%s\n' "$ac_cs_config"; exit ;;
   21884   --debug | --debu | --deb | --de | --d | -d )
   21885     debug=: ;;
   21886   --file | --fil | --fi | --f )
   21887     $ac_shift
   21888     case $ac_optarg in
   21889     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21890     '') as_fn_error $? "missing file argument" ;;
   21891     esac
   21892     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21893     ac_need_defaults=false;;
   21894   --header | --heade | --head | --hea )
   21895     $ac_shift
   21896     case $ac_optarg in
   21897     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21898     esac
   21899     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21900     ac_need_defaults=false;;
   21901   --he | --h)
   21902     # Conflict between --help and --header
   21903     as_fn_error $? "ambiguous option: '$1'
   21904 Try '$0 --help' for more information.";;
   21905   --help | --hel | -h )
   21906     printf '%s\n' "$ac_cs_usage"; exit ;;
   21907   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21908   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21909     ac_cs_silent=: ;;
   21910 
   21911   # This is an error.
   21912   -*) as_fn_error $? "unrecognized option: '$1'
   21913 Try '$0 --help' for more information." ;;
   21914 
   21915   *) as_fn_append ac_config_targets " $1"
   21916      ac_need_defaults=false ;;
   21917 
   21918   esac
   21919   shift
   21920 done
   21921 
   21922 ac_configure_extra_args=
   21923 
   21924 if $ac_cs_silent; then
   21925   exec 6>/dev/null
   21926   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21927 fi
   21928 
   21929 _ACEOF
   21930 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21931 if \$ac_cs_recheck; then
   21932   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21933   shift
   21934   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   21935   CONFIG_SHELL='$SHELL'
   21936   export CONFIG_SHELL
   21937   exec "\$@"
   21938 fi
   21939 
   21940 _ACEOF
   21941 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21942 exec 5>>config.log
   21943 {
   21944   echo
   21945   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21946 ## Running $as_me. ##
   21947 _ASBOX
   21948   printf '%s\n' "$ac_log"
   21949 } >&5
   21950 
   21951 _ACEOF
   21952 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21953 #
   21954 # INIT-COMMANDS
   21955 #
   21956 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21957 
   21958 
   21959 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21960 # if CDPATH is set.
   21961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21962 
   21963 sed_quote_subst='$sed_quote_subst'
   21964 double_quote_subst='$double_quote_subst'
   21965 delay_variable_subst='$delay_variable_subst'
   21966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21968 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21969 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21972 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21973 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21974 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21975 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21976 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21977 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21978 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21979 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21980 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21981 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21982 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21983 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21984 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21985 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21986 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21987 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21988 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21989 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21990 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21991 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21992 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21993 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21994 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21995 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21996 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21997 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21998 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21999 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22000 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22001 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22002 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22003 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22004 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22005 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22006 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22007 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22008 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22009 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22010 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22011 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22012 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22013 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22014 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22015 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22016 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22017 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22018 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22019 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22020 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22021 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22022 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22023 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22024 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22025 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22026 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"`'
   22027 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22028 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22029 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22030 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22031 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22032 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22033 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22034 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22035 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22036 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22037 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22038 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22039 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22040 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22041 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22042 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22043 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22044 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22045 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22046 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22047 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22048 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22049 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22050 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22051 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22052 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22053 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22054 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22055 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22056 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22057 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22058 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22059 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22060 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22061 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22062 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22095 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22096 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22097 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22098 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22099 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22100 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22101 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22102 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22103 
   22104 LTCC='$LTCC'
   22105 LTCFLAGS='$LTCFLAGS'
   22106 compiler='$compiler_DEFAULT'
   22107 
   22108 # A function that is used when there is no print builtin or printf.
   22109 func_fallback_echo ()
   22110 {
   22111   eval 'cat <<_LTECHO_EOF
   22112 \$1
   22113 _LTECHO_EOF'
   22114 }
   22115 
   22116 # Quote evaled strings.
   22117 for var in SHELL \
   22118 ECHO \
   22119 PATH_SEPARATOR \
   22120 SED \
   22121 GREP \
   22122 EGREP \
   22123 FGREP \
   22124 LD \
   22125 NM \
   22126 LN_S \
   22127 lt_SP2NL \
   22128 lt_NL2SP \
   22129 reload_flag \
   22130 FILECMD \
   22131 OBJDUMP \
   22132 deplibs_check_method \
   22133 file_magic_cmd \
   22134 file_magic_glob \
   22135 want_nocaseglob \
   22136 DLLTOOL \
   22137 sharedlib_from_linklib_cmd \
   22138 AR \
   22139 archiver_list_spec \
   22140 STRIP \
   22141 RANLIB \
   22142 CC \
   22143 CFLAGS \
   22144 compiler \
   22145 lt_cv_sys_global_symbol_pipe \
   22146 lt_cv_sys_global_symbol_to_cdecl \
   22147 lt_cv_sys_global_symbol_to_import \
   22148 lt_cv_sys_global_symbol_to_c_name_address \
   22149 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22150 lt_cv_nm_interface \
   22151 nm_file_list_spec \
   22152 lt_cv_truncate_bin \
   22153 lt_prog_compiler_no_builtin_flag \
   22154 lt_prog_compiler_pic \
   22155 lt_prog_compiler_wl \
   22156 lt_prog_compiler_static \
   22157 lt_cv_prog_compiler_c_o \
   22158 need_locks \
   22159 MANIFEST_TOOL \
   22160 DSYMUTIL \
   22161 NMEDIT \
   22162 LIPO \
   22163 OTOOL \
   22164 OTOOL64 \
   22165 shrext_cmds \
   22166 export_dynamic_flag_spec \
   22167 whole_archive_flag_spec \
   22168 compiler_needs_object \
   22169 with_gnu_ld \
   22170 allow_undefined_flag \
   22171 no_undefined_flag \
   22172 hardcode_libdir_flag_spec \
   22173 hardcode_libdir_separator \
   22174 exclude_expsyms \
   22175 include_expsyms \
   22176 file_list_spec \
   22177 variables_saved_for_relink \
   22178 libname_spec \
   22179 library_names_spec \
   22180 soname_spec \
   22181 install_override_mode \
   22182 finish_eval \
   22183 old_striplib \
   22184 striplib; do
   22185     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22186     *[\\\\\\\`\\"\\\$]*)
   22187       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22188       ;;
   22189     *)
   22190       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22191       ;;
   22192     esac
   22193 done
   22194 
   22195 # Double-quote double-evaled strings.
   22196 for var in reload_cmds \
   22197 old_postinstall_cmds \
   22198 old_postuninstall_cmds \
   22199 old_archive_cmds \
   22200 extract_expsyms_cmds \
   22201 old_archive_from_new_cmds \
   22202 old_archive_from_expsyms_cmds \
   22203 archive_cmds \
   22204 archive_expsym_cmds \
   22205 module_cmds \
   22206 module_expsym_cmds \
   22207 export_symbols_cmds \
   22208 prelink_cmds \
   22209 postlink_cmds \
   22210 postinstall_cmds \
   22211 postuninstall_cmds \
   22212 finish_cmds \
   22213 sys_lib_search_path_spec \
   22214 configure_time_dlsearch_path \
   22215 configure_time_lt_sys_library_path; do
   22216     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22217     *[\\\\\\\`\\"\\\$]*)
   22218       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22219       ;;
   22220     *)
   22221       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22222       ;;
   22223     esac
   22224 done
   22225 
   22226 ac_aux_dir='$ac_aux_dir'
   22227 
   22228 # See if we are running on zsh, and set the options that allow our
   22229 # commands through without removal of \ escapes INIT.
   22230 if test -n "\${ZSH_VERSION+set}"; then
   22231    setopt NO_GLOB_SUBST
   22232 fi
   22233 
   22234 
   22235     PACKAGE='$PACKAGE'
   22236     VERSION='$VERSION'
   22237     RM='$RM'
   22238     ofile='$ofile'
   22239 
   22240 
   22241 
   22242 
   22243 _ACEOF
   22244 
   22245 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22246 
   22247 # Handling of arguments.
   22248 for ac_config_target in $ac_config_targets
   22249 do
   22250   case $ac_config_target in
   22251     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22252     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22253     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22254     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22255     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22256     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22257 
   22258   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   22259   esac
   22260 done
   22261 
   22262 
   22263 # If the user did not use the arguments to specify the items to instantiate,
   22264 # then the envvar interface is used.  Set only those that are not.
   22265 # We use the long form for the default assignment because of an extremely
   22266 # bizarre bug on SunOS 4.1.3.
   22267 if $ac_need_defaults; then
   22268   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22269   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22270   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22271 fi
   22272 
   22273 # Have a temporary directory for convenience.  Make it in the build tree
   22274 # simply because there is no reason against having it here, and in addition,
   22275 # creating and moving files from /tmp can sometimes cause problems.
   22276 # Hook for its removal unless debugging.
   22277 # Note that there is a small window in which the directory will not be cleaned:
   22278 # after its creation but before its name has been assigned to '$tmp'.
   22279 $debug ||
   22280 {
   22281   tmp= ac_tmp=
   22282   trap 'exit_status=$?
   22283   : "${ac_tmp:=$tmp}"
   22284   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22285 ' 0
   22286   trap 'as_fn_exit 1' 1 2 13 15
   22287 }
   22288 # Create a (secure) tmp directory for tmp files.
   22289 
   22290 {
   22291   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22292   test -d "$tmp"
   22293 }  ||
   22294 {
   22295   tmp=./conf$$-$RANDOM
   22296   (umask 077 && mkdir "$tmp")
   22297 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22298 ac_tmp=$tmp
   22299 
   22300 # Set up the scripts for CONFIG_FILES section.
   22301 # No need to generate them if there are no CONFIG_FILES.
   22302 # This happens for instance with './config.status config.h'.
   22303 if test -n "$CONFIG_FILES"; then
   22304 
   22305 
   22306 ac_cr=`echo X | tr X '\015'`
   22307 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22308 # But we know of no other shell where ac_cr would be empty at this
   22309 # point, so we can use a bashism as a fallback.
   22310 if test "x$ac_cr" = x; then
   22311   eval ac_cr=\$\'\\r\'
   22312 fi
   22313 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22314 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22315   ac_cs_awk_cr='\\r'
   22316 else
   22317   ac_cs_awk_cr=$ac_cr
   22318 fi
   22319 
   22320 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22321 _ACEOF
   22322 
   22323 
   22324 {
   22325   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22326   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22327   echo "_ACEOF"
   22328 } >conf$$subs.sh ||
   22329   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22330 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   22331 ac_delim='%!_!# '
   22332 for ac_last_try in false false false false false :; do
   22333   . ./conf$$subs.sh ||
   22334     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22335 
   22336   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   22337   if test $ac_delim_n = $ac_delim_num; then
   22338     break
   22339   elif $ac_last_try; then
   22340     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22341   else
   22342     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22343   fi
   22344 done
   22345 rm -f conf$$subs.sh
   22346 
   22347 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22348 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22349 _ACEOF
   22350 sed -n '
   22351 h
   22352 s/^/S["/; s/!.*/"]=/
   22353 p
   22354 g
   22355 s/^[^!]*!//
   22356 :repl
   22357 t repl
   22358 s/'"$ac_delim"'$//
   22359 t delim
   22360 :nl
   22361 h
   22362 s/\(.\{148\}\)..*/\1/
   22363 t more1
   22364 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22365 p
   22366 n
   22367 b repl
   22368 :more1
   22369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22370 p
   22371 g
   22372 s/.\{148\}//
   22373 t nl
   22374 :delim
   22375 h
   22376 s/\(.\{148\}\)..*/\1/
   22377 t more2
   22378 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22379 p
   22380 b
   22381 :more2
   22382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22383 p
   22384 g
   22385 s/.\{148\}//
   22386 t delim
   22387 ' <conf$$subs.awk | sed '
   22388 /^[^""]/{
   22389   N
   22390   s/\n//
   22391 }
   22392 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   22393 rm -f conf$$subs.awk
   22394 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22395 _ACAWK
   22396 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22397   for (key in S) S_is_set[key] = 1
   22398   FS = ""
   22399 
   22400 }
   22401 {
   22402   line = $ 0
   22403   nfields = split(line, field, "@")
   22404   substed = 0
   22405   len = length(field[1])
   22406   for (i = 2; i < nfields; i++) {
   22407     key = field[i]
   22408     keylen = length(key)
   22409     if (S_is_set[key]) {
   22410       value = S[key]
   22411       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22412       len += length(value) + length(field[++i])
   22413       substed = 1
   22414     } else
   22415       len += 1 + keylen
   22416   }
   22417 
   22418   print line
   22419 }
   22420 
   22421 _ACAWK
   22422 _ACEOF
   22423 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22424 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22425   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22426 else
   22427   cat
   22428 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22429   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22430 _ACEOF
   22431 
   22432 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22433 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22434 # trailing colons and then remove the whole line if VPATH becomes empty
   22435 # (actually we leave an empty line to preserve line numbers).
   22436 if test "x$srcdir" = x.; then
   22437   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22438 h
   22439 s///
   22440 s/^/:/
   22441 s/[	 ]*$/:/
   22442 s/:\$(srcdir):/:/g
   22443 s/:\${srcdir}:/:/g
   22444 s/:@srcdir@:/:/g
   22445 s/^:*//
   22446 s/:*$//
   22447 x
   22448 s/\(=[	 ]*\).*/\1/
   22449 G
   22450 s/\n//
   22451 s/^[^=]*=[	 ]*$//
   22452 }'
   22453 fi
   22454 
   22455 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22456 fi # test -n "$CONFIG_FILES"
   22457 
   22458 # Set up the scripts for CONFIG_HEADERS section.
   22459 # No need to generate them if there are no CONFIG_HEADERS.
   22460 # This happens for instance with './config.status Makefile'.
   22461 if test -n "$CONFIG_HEADERS"; then
   22462 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22463 BEGIN {
   22464 _ACEOF
   22465 
   22466 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22467 # here-document in config.status, that substitutes the proper values into
   22468 # config.h.in to produce config.h.
   22469 
   22470 # Create a delimiter string that does not exist in confdefs.h, to ease
   22471 # handling of long lines.
   22472 ac_delim='%!_!# '
   22473 for ac_last_try in false false :; do
   22474   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22475   if test -z "$ac_tt"; then
   22476     break
   22477   elif $ac_last_try; then
   22478     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22479   else
   22480     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22481   fi
   22482 done
   22483 
   22484 # For the awk script, D is an array of macro values keyed by name,
   22485 # likewise P contains macro parameters if any.  Preserve backslash
   22486 # newline sequences.
   22487 
   22488 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22489 sed -n '
   22490 s/.\{148\}/&'"$ac_delim"'/g
   22491 t rset
   22492 :rset
   22493 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22494 t def
   22495 d
   22496 :def
   22497 s/\\$//
   22498 t bsnl
   22499 s/["\\]/\\&/g
   22500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22501 D["\1"]=" \3"/p
   22502 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22503 d
   22504 :bsnl
   22505 s/["\\]/\\&/g
   22506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22507 D["\1"]=" \3\\\\\\n"\\/p
   22508 t cont
   22509 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22510 t cont
   22511 d
   22512 :cont
   22513 n
   22514 s/.\{148\}/&'"$ac_delim"'/g
   22515 t clear
   22516 :clear
   22517 s/\\$//
   22518 t bsnlc
   22519 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22520 d
   22521 :bsnlc
   22522 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22523 b cont
   22524 ' <confdefs.h | sed '
   22525 s/'"$ac_delim"'/"\\\
   22526 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   22527 
   22528 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22529   for (key in D) D_is_set[key] = 1
   22530   FS = ""
   22531 }
   22532 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22533   line = \$ 0
   22534   split(line, arg, " ")
   22535   if (arg[1] == "#") {
   22536     defundef = arg[2]
   22537     mac1 = arg[3]
   22538   } else {
   22539     defundef = substr(arg[1], 2)
   22540     mac1 = arg[2]
   22541   }
   22542   split(mac1, mac2, "(") #)
   22543   macro = mac2[1]
   22544   prefix = substr(line, 1, index(line, defundef) - 1)
   22545   if (D_is_set[macro]) {
   22546     suffix = P[macro] D[macro]
   22547     while (suffix ~ /[\t ]$/) {
   22548       suffix = substr(suffix, 1, length(suffix) - 1)
   22549     }
   22550     # Preserve the white space surrounding the "#".
   22551     print prefix "define", macro suffix
   22552     next
   22553   } else {
   22554     # Replace #undef with comments.  This is necessary, for example,
   22555     # in the case of _POSIX_SOURCE, which is predefined and required
   22556     # on some systems where configure will not decide to define it.
   22557     if (defundef == "undef") {
   22558       print "/*", prefix defundef, macro, "*/"
   22559       next
   22560     }
   22561   }
   22562 }
   22563 { print }
   22564 _ACAWK
   22565 _ACEOF
   22566 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22567   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22568 fi # test -n "$CONFIG_HEADERS"
   22569 
   22570 
   22571 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22572 shift
   22573 for ac_tag
   22574 do
   22575   case $ac_tag in
   22576   :[FHLC]) ac_mode=$ac_tag; continue;;
   22577   esac
   22578   case $ac_mode$ac_tag in
   22579   :[FHL]*:*);;
   22580   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22581   :[FH]-) ac_tag=-:-;;
   22582   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22583   esac
   22584   ac_save_IFS=$IFS
   22585   IFS=:
   22586   set x $ac_tag
   22587   IFS=$ac_save_IFS
   22588   shift
   22589   ac_file=$1
   22590   shift
   22591 
   22592   case $ac_mode in
   22593   :L) ac_source=$1;;
   22594   :[FH])
   22595     ac_file_inputs=
   22596     for ac_f
   22597     do
   22598       case $ac_f in
   22599       -) ac_f="$ac_tmp/stdin";;
   22600       *) # Look for the file first in the build tree, then in the source tree
   22601 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22602 	 # because $ac_f cannot contain ':'.
   22603 	 test -f "$ac_f" ||
   22604 	   case $ac_f in
   22605 	   [\\/$]*) false;;
   22606 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22607 	   esac ||
   22608 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22609       esac
   22610       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22611       as_fn_append ac_file_inputs " '$ac_f'"
   22612     done
   22613 
   22614     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22615     # use $as_me), people would be surprised to read:
   22616     #    /* config.h.  Generated by config.status.  */
   22617     configure_input='Generated from '`
   22618 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22619 	`' by configure.'
   22620     if test x"$ac_file" != x-; then
   22621       configure_input="$ac_file.  $configure_input"
   22622       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22623 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   22624     fi
   22625     # Neutralize special characters interpreted by sed in replacement strings.
   22626     case $configure_input in #(
   22627     *\&* | *\|* | *\\* )
   22628        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   22629        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22630     *) ac_sed_conf_input=$configure_input;;
   22631     esac
   22632 
   22633     case $ac_tag in
   22634     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22635       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22636     esac
   22637     ;;
   22638   esac
   22639 
   22640   ac_dir=`$as_dirname -- "$ac_file" ||
   22641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22642 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22643 	 X"$ac_file" : 'X\(//\)$' \| \
   22644 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22645 printf '%s\n' X"$ac_file" |
   22646     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22647 	    s//\1/
   22648 	    q
   22649 	  }
   22650 	  /^X\(\/\/\)[^/].*/{
   22651 	    s//\1/
   22652 	    q
   22653 	  }
   22654 	  /^X\(\/\/\)$/{
   22655 	    s//\1/
   22656 	    q
   22657 	  }
   22658 	  /^X\(\/\).*/{
   22659 	    s//\1/
   22660 	    q
   22661 	  }
   22662 	  s/.*/./; q'`
   22663   as_dir="$ac_dir"; as_fn_mkdir_p
   22664   ac_builddir=.
   22665 
   22666 case "$ac_dir" in
   22667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22668 *)
   22669   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   22670   # A ".." for each directory in $ac_dir_suffix.
   22671   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22672   case $ac_top_builddir_sub in
   22673   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22674   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22675   esac ;;
   22676 esac
   22677 ac_abs_top_builddir=$ac_pwd
   22678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22679 # for backward compatibility:
   22680 ac_top_builddir=$ac_top_build_prefix
   22681 
   22682 case $srcdir in
   22683   .)  # We are building in place.
   22684     ac_srcdir=.
   22685     ac_top_srcdir=$ac_top_builddir_sub
   22686     ac_abs_top_srcdir=$ac_pwd ;;
   22687   [\\/]* | ?:[\\/]* )  # Absolute name.
   22688     ac_srcdir=$srcdir$ac_dir_suffix;
   22689     ac_top_srcdir=$srcdir
   22690     ac_abs_top_srcdir=$srcdir ;;
   22691   *) # Relative name.
   22692     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22693     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22694     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22695 esac
   22696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22697 
   22698 
   22699   case $ac_mode in
   22700   :F)
   22701   #
   22702   # CONFIG_FILE
   22703   #
   22704 
   22705   case $INSTALL in
   22706   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22707   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22708   esac
   22709   ac_MKDIR_P=$MKDIR_P
   22710   case $MKDIR_P in
   22711   [\\/$]* | ?:[\\/]* ) ;;
   22712   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22713   esac
   22714 _ACEOF
   22715 
   22716 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22717 # If the template does not know about datarootdir, expand it.
   22718 # FIXME: This hack should be removed a few years after 2.60.
   22719 ac_datarootdir_hack=; ac_datarootdir_seen=
   22720 ac_sed_dataroot='
   22721 /datarootdir/ {
   22722   p
   22723   q
   22724 }
   22725 /@datadir@/p
   22726 /@docdir@/p
   22727 /@infodir@/p
   22728 /@localedir@/p
   22729 /@mandir@/p'
   22730 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22731 *datarootdir*) ac_datarootdir_seen=yes;;
   22732 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22733   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22734 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22735 _ACEOF
   22736 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22737   ac_datarootdir_hack='
   22738   s&@datadir@&$datadir&g
   22739   s&@docdir@&$docdir&g
   22740   s&@infodir@&$infodir&g
   22741   s&@localedir@&$localedir&g
   22742   s&@mandir@&$mandir&g
   22743   s&\\\${datarootdir}&$datarootdir&g' ;;
   22744 esac
   22745 _ACEOF
   22746 
   22747 # Neutralize VPATH when '$srcdir' = '.'.
   22748 # Shell code in configure.ac might set extrasub.
   22749 # FIXME: do we really want to maintain this feature?
   22750 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22751 ac_sed_extra="$ac_vpsub
   22752 $extrasub
   22753 _ACEOF
   22754 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22755 :t
   22756 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22757 s|@configure_input@|$ac_sed_conf_input|;t t
   22758 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22759 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22760 s&@srcdir@&$ac_srcdir&;t t
   22761 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22762 s&@top_srcdir@&$ac_top_srcdir&;t t
   22763 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22764 s&@builddir@&$ac_builddir&;t t
   22765 s&@abs_builddir@&$ac_abs_builddir&;t t
   22766 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22767 s&@INSTALL@&$ac_INSTALL&;t t
   22768 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22769 $ac_datarootdir_hack
   22770 "
   22771 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22772   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22773 
   22774 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22775   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22776   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22777       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22778   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22779 which seems to be undefined.  Please make sure it is defined" >&5
   22780 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22781 which seems to be undefined.  Please make sure it is defined" >&2;}
   22782 
   22783   rm -f "$ac_tmp/stdin"
   22784   case $ac_file in
   22785   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22786   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22787   esac \
   22788   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22789  ;;
   22790   :H)
   22791   #
   22792   # CONFIG_HEADER
   22793   #
   22794   if test x"$ac_file" != x-; then
   22795     {
   22796       printf '%s\n' "/* $configure_input  */" >&1 \
   22797       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22798     } >"$ac_tmp/config.h" \
   22799       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22800     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22801       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22802 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   22803     else
   22804       rm -f "$ac_file"
   22805       mv "$ac_tmp/config.h" "$ac_file" \
   22806 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22807     fi
   22808   else
   22809     printf '%s\n' "/* $configure_input  */" >&1 \
   22810       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22811       || as_fn_error $? "could not create -" "$LINENO" 5
   22812   fi
   22813 # Compute "$ac_file"'s index in $config_headers.
   22814 _am_arg="$ac_file"
   22815 _am_stamp_count=1
   22816 for _am_header in $config_headers :; do
   22817   case $_am_header in
   22818     $_am_arg | $_am_arg:* )
   22819       break ;;
   22820     * )
   22821       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22822   esac
   22823 done
   22824 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22825 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22826 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22827 	 X"$_am_arg" : 'X\(//\)$' \| \
   22828 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22829 printf '%s\n' X"$_am_arg" |
   22830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22831 	    s//\1/
   22832 	    q
   22833 	  }
   22834 	  /^X\(\/\/\)[^/].*/{
   22835 	    s//\1/
   22836 	    q
   22837 	  }
   22838 	  /^X\(\/\/\)$/{
   22839 	    s//\1/
   22840 	    q
   22841 	  }
   22842 	  /^X\(\/\).*/{
   22843 	    s//\1/
   22844 	    q
   22845 	  }
   22846 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22847  ;;
   22848 
   22849   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22850 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   22851  ;;
   22852   esac
   22853 
   22854 
   22855   case $ac_file$ac_mode in
   22856     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22857   # Older Autoconf quotes --file arguments for eval, but not when files
   22858   # are listed without --file.  Let's play safe and only enable the eval
   22859   # if we detect the quoting.
   22860   # TODO: see whether this extra hack can be removed once we start
   22861   # requiring Autoconf 2.70 or later.
   22862   case $CONFIG_FILES in #(
   22863   *\'*) :
   22864     eval set x "$CONFIG_FILES" ;; #(
   22865   *) :
   22866     set x $CONFIG_FILES ;; #(
   22867   *) :
   22868      ;;
   22869 esac
   22870   shift
   22871   # Used to flag and report bootstrapping failures.
   22872   am_rc=0
   22873   for am_mf
   22874   do
   22875     # Strip MF so we end up with the name of the file.
   22876     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   22877     # Check whether this is an Automake generated Makefile which includes
   22878     # dependency-tracking related rules and includes.
   22879     # Grep'ing the whole file directly is not great: AIX grep has a line
   22880     # limit of 2048, but all sed's we know have understand at least 4000.
   22881     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22882       || continue
   22883     am_dirpart=`$as_dirname -- "$am_mf" ||
   22884 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22885 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22886 	 X"$am_mf" : 'X\(//\)$' \| \
   22887 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22888 printf '%s\n' X"$am_mf" |
   22889     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22890 	    s//\1/
   22891 	    q
   22892 	  }
   22893 	  /^X\(\/\/\)[^/].*/{
   22894 	    s//\1/
   22895 	    q
   22896 	  }
   22897 	  /^X\(\/\/\)$/{
   22898 	    s//\1/
   22899 	    q
   22900 	  }
   22901 	  /^X\(\/\).*/{
   22902 	    s//\1/
   22903 	    q
   22904 	  }
   22905 	  s/.*/./; q'`
   22906     am_filepart=`$as_basename -- "$am_mf" ||
   22907 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22908 	 X"$am_mf" : 'X\(//\)$' \| \
   22909 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22910 printf '%s\n' X/"$am_mf" |
   22911     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22912 	    s//\1/
   22913 	    q
   22914 	  }
   22915 	  /^X\/\(\/\/\)$/{
   22916 	    s//\1/
   22917 	    q
   22918 	  }
   22919 	  /^X\/\(\/\).*/{
   22920 	    s//\1/
   22921 	    q
   22922 	  }
   22923 	  s/.*/./; q'`
   22924     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22925       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22926         | $MAKE -f - am--depfiles" >&5
   22927    (cd "$am_dirpart" \
   22928       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22929         | $MAKE -f - am--depfiles) >&5 2>&5
   22930    ac_status=$?
   22931    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22932    (exit $ac_status); } || am_rc=$?
   22933   done
   22934   if test $am_rc -ne 0; then
   22935     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22936 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   22937 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22938     for automatic dependency tracking.  If GNU make was not used, consider
   22939     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22940     necessary).  You can also try re-running configure with the
   22941     '--disable-dependency-tracking' option to at least be able to build
   22942     the package (albeit without support for automatic dependency tracking).
   22943 See 'config.log' for more details" "$LINENO" 5; }
   22944   fi
   22945   { am_dirpart=; unset am_dirpart;}
   22946   { am_filepart=; unset am_filepart;}
   22947   { am_mf=; unset am_mf;}
   22948   { am_rc=; unset am_rc;}
   22949   rm -f conftest-deps.mk
   22950 }
   22951  ;;
   22952     "libtool":C)
   22953 
   22954     # See if we are running on zsh, and set the options that allow our
   22955     # commands through without removal of \ escapes.
   22956     if test -n "${ZSH_VERSION+set}"; then
   22957       setopt NO_GLOB_SUBST
   22958     fi
   22959 
   22960     cfgfile=${ofile}T
   22961     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22962     $RM "$cfgfile"
   22963 
   22964     cat <<_LT_EOF >> "$cfgfile"
   22965 #! $SHELL
   22966 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22968 
   22969 # Provide generalized library-building support services.
   22970 # Written by Gordon Matzigkeit, 1996
   22971 
   22972 # Copyright (C) 2024 Free Software Foundation, Inc.
   22973 # This is free software; see the source for copying conditions.  There is NO
   22974 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22975 
   22976 # GNU Libtool is free software; you can redistribute it and/or modify
   22977 # it under the terms of the GNU General Public License as published by
   22978 # the Free Software Foundation; either version 2 of the License, or
   22979 # (at your option) any later version.
   22980 #
   22981 # As a special exception to the GNU General Public License, if you
   22982 # distribute this file as part of a program or library that is built
   22983 # using GNU Libtool, you may include this file under the  same
   22984 # distribution terms that you use for the rest of that program.
   22985 #
   22986 # GNU Libtool is distributed in the hope that it will be useful, but
   22987 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22988 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22989 # GNU General Public License for more details.
   22990 #
   22991 # You should have received a copy of the GNU General Public License
   22992 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22993 
   22994 
   22995 # The names of the tagged configurations supported by this script.
   22996 available_tags=''
   22997 
   22998 # Configured defaults for sys_lib_dlsearch_path munging.
   22999 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23000 
   23001 # ### BEGIN LIBTOOL CONFIG
   23002 
   23003 # Which release of libtool.m4 was used?
   23004 macro_version=$macro_version
   23005 macro_revision=$macro_revision
   23006 
   23007 # Whether or not to build static libraries.
   23008 build_old_libs=$enable_static
   23009 
   23010 # Whether or not to build shared libraries.
   23011 build_libtool_libs=$enable_shared
   23012 
   23013 # What type of objects to build.
   23014 pic_mode=$pic_mode
   23015 
   23016 # Whether or not to optimize for fast installation.
   23017 fast_install=$enable_fast_install
   23018 
   23019 # Shared archive member basename,for filename based shared library versioning on AIX.
   23020 shared_archive_member_spec=$shared_archive_member_spec
   23021 
   23022 # Shell to use when invoking shell scripts.
   23023 SHELL=$lt_SHELL
   23024 
   23025 # An echo program that protects backslashes.
   23026 ECHO=$lt_ECHO
   23027 
   23028 # The PATH separator for the build system.
   23029 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23030 
   23031 # The host system.
   23032 host_alias=$host_alias
   23033 host=$host
   23034 host_os=$host_os
   23035 
   23036 # The build system.
   23037 build_alias=$build_alias
   23038 build=$build
   23039 build_os=$build_os
   23040 
   23041 # A sed program that does not truncate output.
   23042 SED=$lt_SED
   23043 
   23044 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23045 Xsed="\$SED -e 1s/^X//"
   23046 
   23047 # A grep program that handles long lines.
   23048 GREP=$lt_GREP
   23049 
   23050 # An ERE matcher.
   23051 EGREP=$lt_EGREP
   23052 
   23053 # A literal string matcher.
   23054 FGREP=$lt_FGREP
   23055 
   23056 # A BSD- or MS-compatible name lister.
   23057 NM=$lt_NM
   23058 
   23059 # Whether we need soft or hard links.
   23060 LN_S=$lt_LN_S
   23061 
   23062 # What is the maximum length of a command?
   23063 max_cmd_len=$max_cmd_len
   23064 
   23065 # Object file suffix (normally "o").
   23066 objext=$ac_objext
   23067 
   23068 # Executable file suffix (normally "").
   23069 exeext=$exeext
   23070 
   23071 # whether the shell understands "unset".
   23072 lt_unset=$lt_unset
   23073 
   23074 # turn spaces into newlines.
   23075 SP2NL=$lt_lt_SP2NL
   23076 
   23077 # turn newlines into spaces.
   23078 NL2SP=$lt_lt_NL2SP
   23079 
   23080 # convert \$build file names to \$host format.
   23081 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23082 
   23083 # convert \$build files to toolchain format.
   23084 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23085 
   23086 # A file(cmd) program that detects file types.
   23087 FILECMD=$lt_FILECMD
   23088 
   23089 # An object symbol dumper.
   23090 OBJDUMP=$lt_OBJDUMP
   23091 
   23092 # Method to check whether dependent libraries are shared objects.
   23093 deplibs_check_method=$lt_deplibs_check_method
   23094 
   23095 # Command to use when deplibs_check_method = "file_magic".
   23096 file_magic_cmd=$lt_file_magic_cmd
   23097 
   23098 # How to find potential files when deplibs_check_method = "file_magic".
   23099 file_magic_glob=$lt_file_magic_glob
   23100 
   23101 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23102 want_nocaseglob=$lt_want_nocaseglob
   23103 
   23104 # DLL creation program.
   23105 DLLTOOL=$lt_DLLTOOL
   23106 
   23107 # Command to associate shared and link libraries.
   23108 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23109 
   23110 # The archiver.
   23111 AR=$lt_AR
   23112 
   23113 # Flags to create an archive (by configure).
   23114 lt_ar_flags=$lt_ar_flags
   23115 
   23116 # Flags to create an archive.
   23117 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23118 
   23119 # How to feed a file listing to the archiver.
   23120 archiver_list_spec=$lt_archiver_list_spec
   23121 
   23122 # A symbol stripping program.
   23123 STRIP=$lt_STRIP
   23124 
   23125 # Commands used to install an old-style archive.
   23126 RANLIB=$lt_RANLIB
   23127 old_postinstall_cmds=$lt_old_postinstall_cmds
   23128 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23129 
   23130 # Whether to use a lock for old archive extraction.
   23131 lock_old_archive_extraction=$lock_old_archive_extraction
   23132 
   23133 # A C compiler.
   23134 LTCC=$lt_CC
   23135 
   23136 # LTCC compiler flags.
   23137 LTCFLAGS=$lt_CFLAGS
   23138 
   23139 # Take the output of nm and produce a listing of raw symbols and C names.
   23140 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23141 
   23142 # Transform the output of nm in a proper C declaration.
   23143 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23144 
   23145 # Transform the output of nm into a list of symbols to manually relocate.
   23146 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23147 
   23148 # Transform the output of nm in a C name address pair.
   23149 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23150 
   23151 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23152 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23153 
   23154 # The name lister interface.
   23155 nm_interface=$lt_lt_cv_nm_interface
   23156 
   23157 # Specify filename containing input files for \$NM.
   23158 nm_file_list_spec=$lt_nm_file_list_spec
   23159 
   23160 # The root where to search for dependent libraries,and where our libraries should be installed.
   23161 lt_sysroot=$lt_sysroot
   23162 
   23163 # Command to truncate a binary pipe.
   23164 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23165 
   23166 # The name of the directory that contains temporary libtool files.
   23167 objdir=$objdir
   23168 
   23169 # Used to examine libraries when file_magic_cmd begins with "file".
   23170 MAGIC_CMD=$MAGIC_CMD
   23171 
   23172 # Must we lock files when doing compilation?
   23173 need_locks=$lt_need_locks
   23174 
   23175 # Manifest tool.
   23176 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23177 
   23178 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23179 DSYMUTIL=$lt_DSYMUTIL
   23180 
   23181 # Tool to change global to local symbols on Mac OS X.
   23182 NMEDIT=$lt_NMEDIT
   23183 
   23184 # Tool to manipulate fat objects and archives on Mac OS X.
   23185 LIPO=$lt_LIPO
   23186 
   23187 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23188 OTOOL=$lt_OTOOL
   23189 
   23190 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23191 OTOOL64=$lt_OTOOL64
   23192 
   23193 # Old archive suffix (normally "a").
   23194 libext=$libext
   23195 
   23196 # Shared library suffix (normally ".so").
   23197 shrext_cmds=$lt_shrext_cmds
   23198 
   23199 # The commands to extract the exported symbol list from a shared archive.
   23200 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23201 
   23202 # Variables whose values should be saved in libtool wrapper scripts and
   23203 # restored at link time.
   23204 variables_saved_for_relink=$lt_variables_saved_for_relink
   23205 
   23206 # Do we need the "lib" prefix for modules?
   23207 need_lib_prefix=$need_lib_prefix
   23208 
   23209 # Do we need a version for libraries?
   23210 need_version=$need_version
   23211 
   23212 # Library versioning type.
   23213 version_type=$version_type
   23214 
   23215 # Shared library runtime path variable.
   23216 runpath_var=$runpath_var
   23217 
   23218 # Shared library path variable.
   23219 shlibpath_var=$shlibpath_var
   23220 
   23221 # Is shlibpath searched before the hard-coded library search path?
   23222 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23223 
   23224 # Format of library name prefix.
   23225 libname_spec=$lt_libname_spec
   23226 
   23227 # List of archive names.  First name is the real one, the rest are links.
   23228 # The last name is the one that the linker finds with -lNAME
   23229 library_names_spec=$lt_library_names_spec
   23230 
   23231 # The coded name of the library, if different from the real name.
   23232 soname_spec=$lt_soname_spec
   23233 
   23234 # Permission mode override for installation of shared libraries.
   23235 install_override_mode=$lt_install_override_mode
   23236 
   23237 # Command to use after installation of a shared archive.
   23238 postinstall_cmds=$lt_postinstall_cmds
   23239 
   23240 # Command to use after uninstallation of a shared archive.
   23241 postuninstall_cmds=$lt_postuninstall_cmds
   23242 
   23243 # Commands used to finish a libtool library installation in a directory.
   23244 finish_cmds=$lt_finish_cmds
   23245 
   23246 # As "finish_cmds", except a single script fragment to be evaled but
   23247 # not shown.
   23248 finish_eval=$lt_finish_eval
   23249 
   23250 # Whether we should hardcode library paths into libraries.
   23251 hardcode_into_libs=$hardcode_into_libs
   23252 
   23253 # Compile-time system search path for libraries.
   23254 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23255 
   23256 # Detected run-time system search path for libraries.
   23257 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23258 
   23259 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23260 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23261 
   23262 # Whether dlopen is supported.
   23263 dlopen_support=$enable_dlopen
   23264 
   23265 # Whether dlopen of programs is supported.
   23266 dlopen_self=$enable_dlopen_self
   23267 
   23268 # Whether dlopen of statically linked programs is supported.
   23269 dlopen_self_static=$enable_dlopen_self_static
   23270 
   23271 # Commands to strip libraries.
   23272 old_striplib=$lt_old_striplib
   23273 striplib=$lt_striplib
   23274 
   23275 
   23276 # The linker used to build libraries.
   23277 LD=$lt_LD
   23278 
   23279 # How to create reloadable object files.
   23280 reload_flag=$lt_reload_flag
   23281 reload_cmds=$lt_reload_cmds
   23282 
   23283 # Commands used to build an old-style archive.
   23284 old_archive_cmds=$lt_old_archive_cmds
   23285 
   23286 # A language specific compiler.
   23287 CC=$lt_compiler
   23288 
   23289 # Is the compiler the GNU compiler?
   23290 with_gcc=$GCC
   23291 
   23292 # Compiler flag to turn off builtin functions.
   23293 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23294 
   23295 # Additional compiler flags for building library objects.
   23296 pic_flag=$lt_lt_prog_compiler_pic
   23297 
   23298 # How to pass a linker flag through the compiler.
   23299 wl=$lt_lt_prog_compiler_wl
   23300 
   23301 # Compiler flag to prevent dynamic linking.
   23302 link_static_flag=$lt_lt_prog_compiler_static
   23303 
   23304 # Does compiler simultaneously support -c and -o options?
   23305 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23306 
   23307 # Whether or not to add -lc for building shared libraries.
   23308 build_libtool_need_lc=$archive_cmds_need_lc
   23309 
   23310 # Whether or not to disallow shared libs when runtime libs are static.
   23311 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23312 
   23313 # Compiler flag to allow reflexive dlopens.
   23314 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23315 
   23316 # Compiler flag to generate shared objects directly from archives.
   23317 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23318 
   23319 # Whether the compiler copes with passing no objects directly.
   23320 compiler_needs_object=$lt_compiler_needs_object
   23321 
   23322 # Create an old-style archive from a shared archive.
   23323 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23324 
   23325 # Create a temporary old-style archive to link instead of a shared archive.
   23326 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23327 
   23328 # Commands used to build a shared archive.
   23329 archive_cmds=$lt_archive_cmds
   23330 archive_expsym_cmds=$lt_archive_expsym_cmds
   23331 
   23332 # Commands used to build a loadable module if different from building
   23333 # a shared archive.
   23334 module_cmds=$lt_module_cmds
   23335 module_expsym_cmds=$lt_module_expsym_cmds
   23336 
   23337 # Whether we are building with GNU ld or not.
   23338 with_gnu_ld=$lt_with_gnu_ld
   23339 
   23340 # Flag that allows shared libraries with undefined symbols to be built.
   23341 allow_undefined_flag=$lt_allow_undefined_flag
   23342 
   23343 # Flag that enforces no undefined symbols.
   23344 no_undefined_flag=$lt_no_undefined_flag
   23345 
   23346 # Flag to hardcode \$libdir into a binary during linking.
   23347 # This must work even if \$libdir does not exist
   23348 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23349 
   23350 # Whether we need a single "-rpath" flag with a separated argument.
   23351 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23352 
   23353 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23354 # DIR into the resulting binary.
   23355 hardcode_direct=$hardcode_direct
   23356 
   23357 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23358 # DIR into the resulting binary and the resulting library dependency is
   23359 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23360 # library is relocated.
   23361 hardcode_direct_absolute=$hardcode_direct_absolute
   23362 
   23363 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23364 # into the resulting binary.
   23365 hardcode_minus_L=$hardcode_minus_L
   23366 
   23367 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23368 # into the resulting binary.
   23369 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23370 
   23371 # Set to "yes" if building a shared library automatically hardcodes DIR
   23372 # into the library and all subsequent libraries and executables linked
   23373 # against it.
   23374 hardcode_automatic=$hardcode_automatic
   23375 
   23376 # Set to yes if linker adds runtime paths of dependent libraries
   23377 # to runtime path list.
   23378 inherit_rpath=$inherit_rpath
   23379 
   23380 # Whether libtool must link a program against all its dependency libraries.
   23381 link_all_deplibs=$link_all_deplibs
   23382 
   23383 # Set to "yes" if exported symbols are required.
   23384 always_export_symbols=$always_export_symbols
   23385 
   23386 # The commands to list exported symbols.
   23387 export_symbols_cmds=$lt_export_symbols_cmds
   23388 
   23389 # Symbols that should not be listed in the preloaded symbols.
   23390 exclude_expsyms=$lt_exclude_expsyms
   23391 
   23392 # Symbols that must always be exported.
   23393 include_expsyms=$lt_include_expsyms
   23394 
   23395 # Commands necessary for linking programs (against libraries) with templates.
   23396 prelink_cmds=$lt_prelink_cmds
   23397 
   23398 # Commands necessary for finishing linking programs.
   23399 postlink_cmds=$lt_postlink_cmds
   23400 
   23401 # Specify filename containing input files.
   23402 file_list_spec=$lt_file_list_spec
   23403 
   23404 # How to hardcode a shared library path into an executable.
   23405 hardcode_action=$hardcode_action
   23406 
   23407 # ### END LIBTOOL CONFIG
   23408 
   23409 _LT_EOF
   23410 
   23411     cat <<'_LT_EOF' >> "$cfgfile"
   23412 
   23413 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23414 
   23415 # func_munge_path_list VARIABLE PATH
   23416 # -----------------------------------
   23417 # VARIABLE is name of variable containing _space_ separated list of
   23418 # directories to be munged by the contents of PATH, which is string
   23419 # having a format:
   23420 # "DIR[:DIR]:"
   23421 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23422 # ":DIR[:DIR]"
   23423 #       string "DIR[ DIR]" will be appended to VARIABLE
   23424 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23425 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23426 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23427 # "DIR[:DIR]"
   23428 #       VARIABLE will be replaced by "DIR[ DIR]"
   23429 func_munge_path_list ()
   23430 {
   23431     case x$2 in
   23432     x)
   23433         ;;
   23434     *:)
   23435         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23436         ;;
   23437     x:*)
   23438         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23439         ;;
   23440     *::*)
   23441         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23442         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23443         ;;
   23444     *)
   23445         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23446         ;;
   23447     esac
   23448 }
   23449 
   23450 
   23451 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23452 func_cc_basename ()
   23453 {
   23454     for cc_temp in $*""; do
   23455       case $cc_temp in
   23456         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23457         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23458         \-*) ;;
   23459         *) break;;
   23460       esac
   23461     done
   23462     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23463 }
   23464 
   23465 
   23466 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23467 
   23468 _LT_EOF
   23469 
   23470   case $host_os in
   23471   aix3*)
   23472     cat <<\_LT_EOF >> "$cfgfile"
   23473 # AIX sometimes has problems with the GCC collect2 program.  For some
   23474 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23475 # vanish in a puff of smoke.
   23476 if test set != "${COLLECT_NAMES+set}"; then
   23477   COLLECT_NAMES=
   23478   export COLLECT_NAMES
   23479 fi
   23480 _LT_EOF
   23481     ;;
   23482   esac
   23483 
   23484 
   23485 
   23486 ltmain=$ac_aux_dir/ltmain.sh
   23487 
   23488 
   23489   # We use sed instead of cat because bash on DJGPP gets confused if
   23490   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23491   # text mode, it properly converts lines to CR/LF.  This bash problem
   23492   # is reportedly fixed, but why not run on old versions too?
   23493   $SED '$q' "$ltmain" >> "$cfgfile" \
   23494      || (rm -f "$cfgfile"; exit 1)
   23495 
   23496    mv -f "$cfgfile" "$ofile" ||
   23497     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23498   chmod +x "$ofile"
   23499 
   23500  ;;
   23501 
   23502   esac
   23503 done # for ac_tag
   23504 
   23505 
   23506 as_fn_exit 0
   23507 _ACEOF
   23508 ac_clean_CONFIG_STATUS=
   23509 
   23510 test $ac_write_fail = 0 ||
   23511   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23512 
   23513 
   23514 # configure is writing to config.log, and then calls config.status.
   23515 # config.status does its own redirection, appending to config.log.
   23516 # Unfortunately, on DOS this fails, as config.log is still kept open
   23517 # by configure, so config.status won't be able to write to it; its
   23518 # output is simply discarded.  So we exec the FD to /dev/null,
   23519 # effectively closing config.log, so it can be properly (re)opened and
   23520 # appended to by config.status.  When coming back to configure, we
   23521 # need to make the FD available again.
   23522 if test "$no_create" != yes; then
   23523   ac_cs_success=:
   23524   case $CONFIG_STATUS in #(
   23525   -*) :
   23526     ac_no_opts=-- ;; #(
   23527   *) :
   23528     ac_no_opts= ;;
   23529 esac
   23530   ac_config_status_args=
   23531   test "$silent" = yes &&
   23532     ac_config_status_args="$ac_config_status_args --quiet"
   23533   exec 5>/dev/null
   23534   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   23535     ac_cs_success=false
   23536   exec 5>>config.log
   23537   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23538   # would make configure fail if this is the last instruction.
   23539   $ac_cs_success || as_fn_exit 1
   23540 fi
   23541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23542   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23543 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23544 fi
   23545 
   23546 
   23547