Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xf86-input-elographics 1.4.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1
    188 
    189   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    190     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    193     PATH=/empty FPATH=/empty; export PATH FPATH
    194     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    195       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='xf86-input-elographics'
    617 PACKAGE_TARNAME='xf86-input-elographics'
    618 PACKAGE_VERSION='1.4.4'
    619 PACKAGE_STRING='xf86-input-elographics 1.4.4'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 DRIVER_NAME
    661 XORG_LIBS
    662 XORG_CFLAGS
    663 inputdir
    664 LT_SYS_LIBRARY_PATH
    665 OTOOL64
    666 OTOOL
    667 LIPO
    668 NMEDIT
    669 DSYMUTIL
    670 MANIFEST_TOOL
    671 RANLIB
    672 ac_ct_AR
    673 AR
    674 DLLTOOL
    675 OBJDUMP
    676 FILECMD
    677 LN_S
    678 NM
    679 ac_ct_DUMPBIN
    680 DUMPBIN
    681 LD
    682 FGREP
    683 EGREP
    684 GREP
    685 LIBTOOL
    686 MAN_SUBSTS
    687 XORG_MAN_PAGE
    688 ADMIN_MAN_DIR
    689 DRIVER_MAN_DIR
    690 MISC_MAN_DIR
    691 FILE_MAN_DIR
    692 LIB_MAN_DIR
    693 APP_MAN_DIR
    694 ADMIN_MAN_SUFFIX
    695 DRIVER_MAN_SUFFIX
    696 MISC_MAN_SUFFIX
    697 FILE_MAN_SUFFIX
    698 LIB_MAN_SUFFIX
    699 APP_MAN_SUFFIX
    700 SED
    701 host_os
    702 host_vendor
    703 host_cpu
    704 host
    705 build_os
    706 build_vendor
    707 build_cpu
    708 build
    709 INSTALL_CMD
    710 PKG_CONFIG_LIBDIR
    711 PKG_CONFIG_PATH
    712 PKG_CONFIG
    713 CHANGELOG_CMD
    714 STRICT_CFLAGS
    715 CWARNFLAGS
    716 BASE_CFLAGS
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__include
    725 DEPDIR
    726 OBJEXT
    727 EXEEXT
    728 ac_ct_CC
    729 CPPFLAGS
    730 LDFLAGS
    731 CFLAGS
    732 CC
    733 AM_BACKSLASH
    734 AM_DEFAULT_VERBOSITY
    735 AM_DEFAULT_V
    736 AM_V
    737 CSCOPE
    738 ETAGS
    739 CTAGS
    740 am__untar
    741 am__tar
    742 AMTAR
    743 am__leading_dot
    744 SET_MAKE
    745 AWK
    746 mkdir_p
    747 MKDIR_P
    748 INSTALL_STRIP_PROGRAM
    749 STRIP
    750 install_sh
    751 MAKEINFO
    752 AUTOHEADER
    753 AUTOMAKE
    754 AUTOCONF
    755 ACLOCAL
    756 VERSION
    757 PACKAGE
    758 CYGPATH_W
    759 am__isrc
    760 INSTALL_DATA
    761 INSTALL_SCRIPT
    762 INSTALL_PROGRAM
    763 target_alias
    764 host_alias
    765 build_alias
    766 LIBS
    767 ECHO_T
    768 ECHO_N
    769 ECHO_C
    770 DEFS
    771 mandir
    772 localedir
    773 libdir
    774 psdir
    775 pdfdir
    776 dvidir
    777 htmldir
    778 infodir
    779 docdir
    780 oldincludedir
    781 includedir
    782 runstatedir
    783 localstatedir
    784 sharedstatedir
    785 sysconfdir
    786 datadir
    787 datarootdir
    788 libexecdir
    789 sbindir
    790 bindir
    791 program_transform_name
    792 prefix
    793 exec_prefix
    794 PACKAGE_URL
    795 PACKAGE_BUGREPORT
    796 PACKAGE_STRING
    797 PACKAGE_VERSION
    798 PACKAGE_TARNAME
    799 PACKAGE_NAME
    800 PATH_SEPARATOR
    801 SHELL
    802 am__quote'
    803 ac_subst_files=''
    804 ac_user_opts='
    805 enable_option_checking
    806 enable_silent_rules
    807 enable_dependency_tracking
    808 enable_selective_werror
    809 enable_strict_compilation
    810 enable_static
    811 enable_shared
    812 with_pic
    813 enable_fast_install
    814 with_aix_soname
    815 with_gnu_ld
    816 with_sysroot
    817 enable_libtool_lock
    818 with_xorg_module_dir
    819 '
    820       ac_precious_vars='build_alias
    821 host_alias
    822 target_alias
    823 CC
    824 CFLAGS
    825 LDFLAGS
    826 LIBS
    827 CPPFLAGS
    828 PKG_CONFIG
    829 PKG_CONFIG_PATH
    830 PKG_CONFIG_LIBDIR
    831 LT_SYS_LIBRARY_PATH
    832 XORG_CFLAGS
    833 XORG_LIBS'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 runstatedir='${localstatedir}/run'
    873 includedir='${prefix}/include'
    874 oldincludedir='/usr/include'
    875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    876 infodir='${datarootdir}/info'
    877 htmldir='${docdir}'
    878 dvidir='${docdir}'
    879 pdfdir='${docdir}'
    880 psdir='${docdir}'
    881 libdir='${exec_prefix}/lib'
    882 localedir='${datarootdir}/locale'
    883 mandir='${datarootdir}/man'
    884 
    885 ac_prev=
    886 ac_dashdash=
    887 for ac_option
    888 do
    889   # If the previous option needs an argument, assign it.
    890   if test -n "$ac_prev"; then
    891     eval $ac_prev=\$ac_option
    892     ac_prev=
    893     continue
    894   fi
    895 
    896   case $ac_option in
    897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    898   *=)   ac_optarg= ;;
    899   *)    ac_optarg=yes ;;
    900   esac
    901 
    902   case $ac_dashdash$ac_option in
    903   --)
    904     ac_dashdash=yes ;;
    905 
    906   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    907     ac_prev=bindir ;;
    908   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    909     bindir=$ac_optarg ;;
    910 
    911   -build | --build | --buil | --bui | --bu)
    912     ac_prev=build_alias ;;
    913   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    914     build_alias=$ac_optarg ;;
    915 
    916   -cache-file | --cache-file | --cache-fil | --cache-fi \
    917   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    918     ac_prev=cache_file ;;
    919   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    920   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    921     cache_file=$ac_optarg ;;
    922 
    923   --config-cache | -C)
    924     cache_file=config.cache ;;
    925 
    926   -datadir | --datadir | --datadi | --datad)
    927     ac_prev=datadir ;;
    928   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    929     datadir=$ac_optarg ;;
    930 
    931   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    932   | --dataroo | --dataro | --datar)
    933     ac_prev=datarootdir ;;
    934   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    935   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    936     datarootdir=$ac_optarg ;;
    937 
    938   -disable-* | --disable-*)
    939     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    940     # Reject names that are not valid shell variable names.
    941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    942       as_fn_error $? "invalid feature name: '$ac_useropt'"
    943     ac_useropt_orig=$ac_useropt
    944     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    945     case $ac_user_opts in
    946       *"
    947 "enable_$ac_useropt"
    948 "*) ;;
    949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    950 	 ac_unrecognized_sep=', ';;
    951     esac
    952     eval enable_$ac_useropt=no ;;
    953 
    954   -docdir | --docdir | --docdi | --doc | --do)
    955     ac_prev=docdir ;;
    956   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    957     docdir=$ac_optarg ;;
    958 
    959   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    960     ac_prev=dvidir ;;
    961   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    962     dvidir=$ac_optarg ;;
    963 
    964   -enable-* | --enable-*)
    965     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    966     # Reject names that are not valid shell variable names.
    967     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    968       as_fn_error $? "invalid feature name: '$ac_useropt'"
    969     ac_useropt_orig=$ac_useropt
    970     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    971     case $ac_user_opts in
    972       *"
    973 "enable_$ac_useropt"
    974 "*) ;;
    975       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    976 	 ac_unrecognized_sep=', ';;
    977     esac
    978     eval enable_$ac_useropt=\$ac_optarg ;;
    979 
    980   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    981   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    982   | --exec | --exe | --ex)
    983     ac_prev=exec_prefix ;;
    984   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    985   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    986   | --exec=* | --exe=* | --ex=*)
    987     exec_prefix=$ac_optarg ;;
    988 
    989   -gas | --gas | --ga | --g)
    990     # Obsolete; use --with-gas.
    991     with_gas=yes ;;
    992 
    993   -help | --help | --hel | --he | -h)
    994     ac_init_help=long ;;
    995   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    996     ac_init_help=recursive ;;
    997   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    998     ac_init_help=short ;;
    999 
   1000   -host | --host | --hos | --ho)
   1001     ac_prev=host_alias ;;
   1002   -host=* | --host=* | --hos=* | --ho=*)
   1003     host_alias=$ac_optarg ;;
   1004 
   1005   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1006     ac_prev=htmldir ;;
   1007   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1008   | --ht=*)
   1009     htmldir=$ac_optarg ;;
   1010 
   1011   -includedir | --includedir | --includedi | --included | --include \
   1012   | --includ | --inclu | --incl | --inc)
   1013     ac_prev=includedir ;;
   1014   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1015   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1016     includedir=$ac_optarg ;;
   1017 
   1018   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1019     ac_prev=infodir ;;
   1020   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1021     infodir=$ac_optarg ;;
   1022 
   1023   -libdir | --libdir | --libdi | --libd)
   1024     ac_prev=libdir ;;
   1025   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1026     libdir=$ac_optarg ;;
   1027 
   1028   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1029   | --libexe | --libex | --libe)
   1030     ac_prev=libexecdir ;;
   1031   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1032   | --libexe=* | --libex=* | --libe=*)
   1033     libexecdir=$ac_optarg ;;
   1034 
   1035   -localedir | --localedir | --localedi | --localed | --locale)
   1036     ac_prev=localedir ;;
   1037   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1038     localedir=$ac_optarg ;;
   1039 
   1040   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1041   | --localstate | --localstat | --localsta | --localst | --locals)
   1042     ac_prev=localstatedir ;;
   1043   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1044   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1045     localstatedir=$ac_optarg ;;
   1046 
   1047   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1048     ac_prev=mandir ;;
   1049   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1050     mandir=$ac_optarg ;;
   1051 
   1052   -nfp | --nfp | --nf)
   1053     # Obsolete; use --without-fp.
   1054     with_fp=no ;;
   1055 
   1056   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1057   | --no-cr | --no-c | -n)
   1058     no_create=yes ;;
   1059 
   1060   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1061   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1062     no_recursion=yes ;;
   1063 
   1064   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1065   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1066   | --oldin | --oldi | --old | --ol | --o)
   1067     ac_prev=oldincludedir ;;
   1068   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1069   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1070   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1071     oldincludedir=$ac_optarg ;;
   1072 
   1073   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1074     ac_prev=prefix ;;
   1075   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1076     prefix=$ac_optarg ;;
   1077 
   1078   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1079   | --program-pre | --program-pr | --program-p)
   1080     ac_prev=program_prefix ;;
   1081   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1082   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1083     program_prefix=$ac_optarg ;;
   1084 
   1085   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1086   | --program-suf | --program-su | --program-s)
   1087     ac_prev=program_suffix ;;
   1088   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1089   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1090     program_suffix=$ac_optarg ;;
   1091 
   1092   -program-transform-name | --program-transform-name \
   1093   | --program-transform-nam | --program-transform-na \
   1094   | --program-transform-n | --program-transform- \
   1095   | --program-transform | --program-transfor \
   1096   | --program-transfo | --program-transf \
   1097   | --program-trans | --program-tran \
   1098   | --progr-tra | --program-tr | --program-t)
   1099     ac_prev=program_transform_name ;;
   1100   -program-transform-name=* | --program-transform-name=* \
   1101   | --program-transform-nam=* | --program-transform-na=* \
   1102   | --program-transform-n=* | --program-transform-=* \
   1103   | --program-transform=* | --program-transfor=* \
   1104   | --program-transfo=* | --program-transf=* \
   1105   | --program-trans=* | --program-tran=* \
   1106   | --progr-tra=* | --program-tr=* | --program-t=*)
   1107     program_transform_name=$ac_optarg ;;
   1108 
   1109   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1110     ac_prev=pdfdir ;;
   1111   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1112     pdfdir=$ac_optarg ;;
   1113 
   1114   -psdir | --psdir | --psdi | --psd | --ps)
   1115     ac_prev=psdir ;;
   1116   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1117     psdir=$ac_optarg ;;
   1118 
   1119   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1120   | -silent | --silent | --silen | --sile | --sil)
   1121     silent=yes ;;
   1122 
   1123   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1124   | --runstate | --runstat | --runsta | --runst | --runs \
   1125   | --run | --ru | --r)
   1126     ac_prev=runstatedir ;;
   1127   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1128   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1129   | --run=* | --ru=* | --r=*)
   1130     runstatedir=$ac_optarg ;;
   1131 
   1132   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1133     ac_prev=sbindir ;;
   1134   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1135   | --sbi=* | --sb=*)
   1136     sbindir=$ac_optarg ;;
   1137 
   1138   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1139   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1140   | --sharedst | --shareds | --shared | --share | --shar \
   1141   | --sha | --sh)
   1142     ac_prev=sharedstatedir ;;
   1143   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1144   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1145   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1146   | --sha=* | --sh=*)
   1147     sharedstatedir=$ac_optarg ;;
   1148 
   1149   -site | --site | --sit)
   1150     ac_prev=site ;;
   1151   -site=* | --site=* | --sit=*)
   1152     site=$ac_optarg ;;
   1153 
   1154   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1155     ac_prev=srcdir ;;
   1156   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1157     srcdir=$ac_optarg ;;
   1158 
   1159   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1160   | --syscon | --sysco | --sysc | --sys | --sy)
   1161     ac_prev=sysconfdir ;;
   1162   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1163   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1164     sysconfdir=$ac_optarg ;;
   1165 
   1166   -target | --target | --targe | --targ | --tar | --ta | --t)
   1167     ac_prev=target_alias ;;
   1168   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1169     target_alias=$ac_optarg ;;
   1170 
   1171   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1172     verbose=yes ;;
   1173 
   1174   -version | --version | --versio | --versi | --vers | -V)
   1175     ac_init_version=: ;;
   1176 
   1177   -with-* | --with-*)
   1178     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1179     # Reject names that are not valid shell variable names.
   1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1181       as_fn_error $? "invalid package name: '$ac_useropt'"
   1182     ac_useropt_orig=$ac_useropt
   1183     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1184     case $ac_user_opts in
   1185       *"
   1186 "with_$ac_useropt"
   1187 "*) ;;
   1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1189 	 ac_unrecognized_sep=', ';;
   1190     esac
   1191     eval with_$ac_useropt=\$ac_optarg ;;
   1192 
   1193   -without-* | --without-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: '$ac_useropt'"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=no ;;
   1208 
   1209   --x)
   1210     # Obsolete; use --with-x.
   1211     with_x=yes ;;
   1212 
   1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1214   | --x-incl | --x-inc | --x-in | --x-i)
   1215     ac_prev=x_includes ;;
   1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1218     x_includes=$ac_optarg ;;
   1219 
   1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1222     ac_prev=x_libraries ;;
   1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1225     x_libraries=$ac_optarg ;;
   1226 
   1227   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1228 Try '$0 --help' for more information"
   1229     ;;
   1230 
   1231   *=*)
   1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1233     # Reject names that are not valid shell variable names.
   1234     case $ac_envvar in #(
   1235       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1236       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1237     esac
   1238     eval $ac_envvar=\$ac_optarg
   1239     export $ac_envvar ;;
   1240 
   1241   *)
   1242     # FIXME: should be removed in autoconf 3.0.
   1243     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1245       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1246     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1247     ;;
   1248 
   1249   esac
   1250 done
   1251 
   1252 if test -n "$ac_prev"; then
   1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1254   as_fn_error $? "missing argument to $ac_option"
   1255 fi
   1256 
   1257 if test -n "$ac_unrecognized_opts"; then
   1258   case $enable_option_checking in
   1259     no) ;;
   1260     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1261     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1262   esac
   1263 fi
   1264 
   1265 # Check all directory arguments for consistency.
   1266 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1267 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1268 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1269 		libdir localedir mandir runstatedir
   1270 do
   1271   eval ac_val=\$$ac_var
   1272   # Remove trailing slashes.
   1273   case $ac_val in
   1274     */ )
   1275       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1276       eval $ac_var=\$ac_val;;
   1277   esac
   1278   # Be sure to have absolute directory names.
   1279   case $ac_val in
   1280     [\\/$]* | ?:[\\/]* )  continue;;
   1281     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1282   esac
   1283   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1284 done
   1285 
   1286 # There might be people who depend on the old broken behavior: '$host'
   1287 # used to hold the argument of --host etc.
   1288 # FIXME: To remove some day.
   1289 build=$build_alias
   1290 host=$host_alias
   1291 target=$target_alias
   1292 
   1293 # FIXME: To remove some day.
   1294 if test "x$host_alias" != x; then
   1295   if test "x$build_alias" = x; then
   1296     cross_compiling=maybe
   1297   elif test "x$build_alias" != "x$host_alias"; then
   1298     cross_compiling=yes
   1299   fi
   1300 fi
   1301 
   1302 ac_tool_prefix=
   1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1304 
   1305 test "$silent" = yes && exec 6>/dev/null
   1306 
   1307 
   1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1309 ac_ls_di=`ls -di .` &&
   1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1311   as_fn_error $? "working directory cannot be determined"
   1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1313   as_fn_error $? "pwd does not report name of working directory"
   1314 
   1315 
   1316 # Find the source files, if location was not specified.
   1317 if test -z "$srcdir"; then
   1318   ac_srcdir_defaulted=yes
   1319   # Try the directory containing this script, then the parent directory.
   1320   ac_confdir=`$as_dirname -- "$as_myself" ||
   1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1322 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1323 	 X"$as_myself" : 'X\(//\)$' \| \
   1324 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1325 printf "%s\n" X"$as_myself" |
   1326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\/\)[^/].*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  /^X\(\/\/\)$/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\).*/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  s/.*/./; q'`
   1343   srcdir=$ac_confdir
   1344   if test ! -r "$srcdir/$ac_unique_file"; then
   1345     srcdir=..
   1346   fi
   1347 else
   1348   ac_srcdir_defaulted=no
   1349 fi
   1350 if test ! -r "$srcdir/$ac_unique_file"; then
   1351   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1352   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1353 fi
   1354 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1355 ac_abs_confdir=`(
   1356 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1357 	pwd)`
   1358 # When building in place, set srcdir=.
   1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1360   srcdir=.
   1361 fi
   1362 # Remove unnecessary trailing slashes from srcdir.
   1363 # Double slashes in file names in object file debugging info
   1364 # mess up M-x gdb in Emacs.
   1365 case $srcdir in
   1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1367 esac
   1368 for ac_var in $ac_precious_vars; do
   1369   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1370   eval ac_env_${ac_var}_value=\$${ac_var}
   1371   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1372   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1373 done
   1374 
   1375 #
   1376 # Report the --help message.
   1377 #
   1378 if test "$ac_init_help" = "long"; then
   1379   # Omit some internal or obsolete options to make the list less imposing.
   1380   # This message is too long to be a string in the A/UX 3.1 sh.
   1381   cat <<_ACEOF
   1382 'configure' configures xf86-input-elographics 1.4.4 to adapt to many kinds of systems.
   1383 
   1384 Usage: $0 [OPTION]... [VAR=VALUE]...
   1385 
   1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1387 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1388 
   1389 Defaults for the options are specified in brackets.
   1390 
   1391 Configuration:
   1392   -h, --help              display this help and exit
   1393       --help=short        display options specific to this package
   1394       --help=recursive    display the short help of all the included packages
   1395   -V, --version           display version information and exit
   1396   -q, --quiet, --silent   do not print 'checking ...' messages
   1397       --cache-file=FILE   cache test results in FILE [disabled]
   1398   -C, --config-cache      alias for '--cache-file=config.cache'
   1399   -n, --no-create         do not create output files
   1400       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1401 
   1402 Installation directories:
   1403   --prefix=PREFIX         install architecture-independent files in PREFIX
   1404                           [$ac_default_prefix]
   1405   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1406                           [PREFIX]
   1407 
   1408 By default, 'make install' will install all the files in
   1409 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1410 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1411 for instance '--prefix=\$HOME'.
   1412 
   1413 For better control, use the options below.
   1414 
   1415 Fine tuning of the installation directories:
   1416   --bindir=DIR            user executables [EPREFIX/bin]
   1417   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1418   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1419   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1420   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1421   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1422   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1423   --libdir=DIR            object code libraries [EPREFIX/lib]
   1424   --includedir=DIR        C header files [PREFIX/include]
   1425   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1426   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1427   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1428   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1429   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1430   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1431   --docdir=DIR            documentation root
   1432                           [DATAROOTDIR/doc/xf86-input-elographics]
   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=PREFIX            prepend PREFIX 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-input-elographics 1.4.4:";;
   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   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1463   --disable-silent-rules  verbose build output (undo: "make V=0")
   1464   --enable-dependency-tracking
   1465                           do not reject slow dependency extractors
   1466   --disable-dependency-tracking
   1467                           speeds up one-time build
   1468   --disable-selective-werror
   1469                           Turn off selective compiler errors. (default:
   1470                           enabled)
   1471   --enable-strict-compilation
   1472                           Enable all warnings from compiler and make them
   1473                           errors (default: disabled)
   1474   --enable-static[=PKGS]  build static libraries [default=no]
   1475   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1476   --enable-fast-install[=PKGS]
   1477                           optimize for fast installation [default=yes]
   1478   --disable-libtool-lock  avoid locking (might break parallel builds)
   1479 
   1480 Optional Packages:
   1481   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1482   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1483   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1484                           both]
   1485   --with-aix-soname=aix|svr4|both
   1486                           shared library versioning (aka "SONAME") variant to
   1487                           provide on AIX, [default=aix].
   1488   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1489   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1490                           compiler's sysroot if not specified).
   1491   --with-xorg-module-dir=DIR
   1492                           Default xorg module directory
   1493                           [[default=$libdir/xorg/modules]]
   1494 
   1495 Some influential environment variables:
   1496   CC          C compiler command
   1497   CFLAGS      C compiler flags
   1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1499               nonstandard directory <lib dir>
   1500   LIBS        libraries to pass to the linker, e.g. -l<library>
   1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1502               you have headers in a nonstandard directory <include dir>
   1503   PKG_CONFIG  path to pkg-config utility
   1504   PKG_CONFIG_PATH
   1505               directories to add to pkg-config's search path
   1506   PKG_CONFIG_LIBDIR
   1507               path overriding pkg-config's built-in search path
   1508   LT_SYS_LIBRARY_PATH
   1509               User-defined run-time library search path.
   1510   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1511   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1512 
   1513 Use these variables to override the choices made by 'configure' or to help
   1514 it to find libraries and programs with nonstandard names/locations.
   1515 
   1516 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues>.
   1517 _ACEOF
   1518 ac_status=$?
   1519 fi
   1520 
   1521 if test "$ac_init_help" = "recursive"; then
   1522   # If there are subdirs, report their specific --help.
   1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1524     test -d "$ac_dir" ||
   1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1526       continue
   1527     ac_builddir=.
   1528 
   1529 case "$ac_dir" in
   1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1531 *)
   1532   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1533   # A ".." for each directory in $ac_dir_suffix.
   1534   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1535   case $ac_top_builddir_sub in
   1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1538   esac ;;
   1539 esac
   1540 ac_abs_top_builddir=$ac_pwd
   1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1542 # for backward compatibility:
   1543 ac_top_builddir=$ac_top_build_prefix
   1544 
   1545 case $srcdir in
   1546   .)  # We are building in place.
   1547     ac_srcdir=.
   1548     ac_top_srcdir=$ac_top_builddir_sub
   1549     ac_abs_top_srcdir=$ac_pwd ;;
   1550   [\\/]* | ?:[\\/]* )  # Absolute name.
   1551     ac_srcdir=$srcdir$ac_dir_suffix;
   1552     ac_top_srcdir=$srcdir
   1553     ac_abs_top_srcdir=$srcdir ;;
   1554   *) # Relative name.
   1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1558 esac
   1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1560 
   1561     cd "$ac_dir" || { ac_status=$?; continue; }
   1562     # Check for configure.gnu first; this name is used for a wrapper for
   1563     # Metaconfig's "Configure" on case-insensitive file systems.
   1564     if test -f "$ac_srcdir/configure.gnu"; then
   1565       echo &&
   1566       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1567     elif test -f "$ac_srcdir/configure"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure" --help=recursive
   1570     else
   1571       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1572     fi || ac_status=$?
   1573     cd "$ac_pwd" || { ac_status=$?; break; }
   1574   done
   1575 fi
   1576 
   1577 test -n "$ac_init_help" && exit $ac_status
   1578 if $ac_init_version; then
   1579   cat <<\_ACEOF
   1580 xf86-input-elographics configure 1.4.4
   1581 generated by GNU Autoconf 2.72
   1582 
   1583 Copyright (C) 2023 Free Software Foundation, Inc.
   1584 This configure script is free software; the Free Software Foundation
   1585 gives unlimited permission to copy, distribute and modify it.
   1586 _ACEOF
   1587   exit
   1588 fi
   1589 
   1590 ## ------------------------ ##
   1591 ## Autoconf initialization. ##
   1592 ## ------------------------ ##
   1593 
   1594 # ac_fn_c_try_compile LINENO
   1595 # --------------------------
   1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1597 ac_fn_c_try_compile ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   rm -f conftest.$ac_objext conftest.beam
   1601   if { { ac_try="$ac_compile"
   1602 case "(($ac_try" in
   1603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1604   *) ac_try_echo=$ac_try;;
   1605 esac
   1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1607 printf "%s\n" "$ac_try_echo"; } >&5
   1608   (eval "$ac_compile") 2>conftest.err
   1609   ac_status=$?
   1610   if test -s conftest.err; then
   1611     grep -v '^ *+' conftest.err >conftest.er1
   1612     cat conftest.er1 >&5
   1613     mv -f conftest.er1 conftest.err
   1614   fi
   1615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1616   test $ac_status = 0; } && {
   1617 	 test -z "$ac_c_werror_flag" ||
   1618 	 test ! -s conftest.err
   1619        } && test -s conftest.$ac_objext
   1620 then :
   1621   ac_retval=0
   1622 else case e in #(
   1623   e) printf "%s\n" "$as_me: failed program was:" >&5
   1624 sed 's/^/| /' conftest.$ac_ext >&5
   1625 
   1626 	ac_retval=1 ;;
   1627 esac
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_compile
   1633 
   1634 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1635 # ------------------------------------------------------------------
   1636 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1637 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1638 ac_fn_check_decl ()
   1639 {
   1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1641   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1643 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1644 if eval test \${$3+y}
   1645 then :
   1646   printf %s "(cached) " >&6
   1647 else case e in #(
   1648   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1649   eval ac_save_FLAGS=\$$6
   1650   as_fn_append $6 " $5"
   1651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1652 /* end confdefs.h.  */
   1653 $4
   1654 int
   1655 main (void)
   1656 {
   1657 #ifndef $as_decl_name
   1658 #ifdef __cplusplus
   1659   (void) $as_decl_use;
   1660 #else
   1661   (void) $as_decl_name;
   1662 #endif
   1663 #endif
   1664 
   1665   ;
   1666   return 0;
   1667 }
   1668 _ACEOF
   1669 if ac_fn_c_try_compile "$LINENO"
   1670 then :
   1671   eval "$3=yes"
   1672 else case e in #(
   1673   e) eval "$3=no" ;;
   1674 esac
   1675 fi
   1676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1677   eval $6=\$ac_save_FLAGS
   1678  ;;
   1679 esac
   1680 fi
   1681 eval ac_res=\$$3
   1682 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1683 printf "%s\n" "$ac_res" >&6; }
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685 
   1686 } # ac_fn_check_decl
   1687 
   1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1689 # -------------------------------------------------------
   1690 # Tests whether HEADER exists and can be compiled using the include files in
   1691 # INCLUDES, setting the cache variable VAR accordingly.
   1692 ac_fn_c_check_header_compile ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1696 printf %s "checking for $2... " >&6; }
   1697 if eval test \${$3+y}
   1698 then :
   1699   printf %s "(cached) " >&6
   1700 else case e in #(
   1701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 $4
   1704 #include <$2>
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"
   1707 then :
   1708   eval "$3=yes"
   1709 else case e in #(
   1710   e) eval "$3=no" ;;
   1711 esac
   1712 fi
   1713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1714 esac
   1715 fi
   1716 eval ac_res=\$$3
   1717 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1718 printf "%s\n" "$ac_res" >&6; }
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720 
   1721 } # ac_fn_c_check_header_compile
   1722 
   1723 # ac_fn_c_try_link LINENO
   1724 # -----------------------
   1725 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1726 ac_fn_c_try_link ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1730   if { { ac_try="$ac_link"
   1731 case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 printf "%s\n" "$ac_try_echo"; } >&5
   1737   (eval "$ac_link") 2>conftest.err
   1738   ac_status=$?
   1739   if test -s conftest.err; then
   1740     grep -v '^ *+' conftest.err >conftest.er1
   1741     cat conftest.er1 >&5
   1742     mv -f conftest.er1 conftest.err
   1743   fi
   1744   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1745   test $ac_status = 0; } && {
   1746 	 test -z "$ac_c_werror_flag" ||
   1747 	 test ! -s conftest.err
   1748        } && test -s conftest$ac_exeext && {
   1749 	 test "$cross_compiling" = yes ||
   1750 	 test -x conftest$ac_exeext
   1751        }
   1752 then :
   1753   ac_retval=0
   1754 else case e in #(
   1755   e) printf "%s\n" "$as_me: failed program was:" >&5
   1756 sed 's/^/| /' conftest.$ac_ext >&5
   1757 
   1758 	ac_retval=1 ;;
   1759 esac
   1760 fi
   1761   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1762   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1763   # interfere with the next link command; also delete a directory that is
   1764   # left behind by Apple's compiler.  We do this before executing the actions.
   1765   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767   as_fn_set_status $ac_retval
   1768 
   1769 } # ac_fn_c_try_link
   1770 
   1771 # ac_fn_c_check_func LINENO FUNC VAR
   1772 # ----------------------------------
   1773 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1774 ac_fn_c_check_func ()
   1775 {
   1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1778 printf %s "checking for $2... " >&6; }
   1779 if eval test \${$3+y}
   1780 then :
   1781   printf %s "(cached) " >&6
   1782 else case e in #(
   1783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1784 /* end confdefs.h.  */
   1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1787 #define $2 innocuous_$2
   1788 
   1789 /* System header to define __stub macros and hopefully few prototypes,
   1790    which can conflict with char $2 (void); below.  */
   1791 
   1792 #include <limits.h>
   1793 #undef $2
   1794 
   1795 /* Override any GCC internal prototype to avoid an error.
   1796    Use char because int might match the return type of a GCC
   1797    builtin and then its argument prototype would still apply.  */
   1798 #ifdef __cplusplus
   1799 extern "C"
   1800 #endif
   1801 char $2 (void);
   1802 /* The GNU C library defines this for functions which it implements
   1803     to always fail with ENOSYS.  Some functions are actually named
   1804     something starting with __ and the normal name is an alias.  */
   1805 #if defined __stub_$2 || defined __stub___$2
   1806 choke me
   1807 #endif
   1808 
   1809 int
   1810 main (void)
   1811 {
   1812 return $2 ();
   1813   ;
   1814   return 0;
   1815 }
   1816 _ACEOF
   1817 if ac_fn_c_try_link "$LINENO"
   1818 then :
   1819   eval "$3=yes"
   1820 else case e in #(
   1821   e) eval "$3=no" ;;
   1822 esac
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1825     conftest$ac_exeext conftest.$ac_ext ;;
   1826 esac
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_c_check_func
   1834 ac_configure_args_raw=
   1835 for ac_arg
   1836 do
   1837   case $ac_arg in
   1838   *\'*)
   1839     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1840   esac
   1841   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1842 done
   1843 
   1844 case $ac_configure_args_raw in
   1845   *$as_nl*)
   1846     ac_safe_unquote= ;;
   1847   *)
   1848     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1849     ac_unsafe_a="$ac_unsafe_z#~"
   1850     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1851     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1852 esac
   1853 
   1854 cat >config.log <<_ACEOF
   1855 This file contains any messages produced by compilers while
   1856 running configure, to aid debugging if configure makes a mistake.
   1857 
   1858 It was created by xf86-input-elographics $as_me 1.4.4, which was
   1859 generated by GNU Autoconf 2.72.  Invocation command line was
   1860 
   1861   $ $0$ac_configure_args_raw
   1862 
   1863 _ACEOF
   1864 exec 5>>config.log
   1865 {
   1866 cat <<_ASUNAME
   1867 ## --------- ##
   1868 ## Platform. ##
   1869 ## --------- ##
   1870 
   1871 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1872 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1873 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1874 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1875 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1876 
   1877 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1878 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1879 
   1880 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1881 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1882 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1883 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1884 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1885 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1886 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1887 
   1888 _ASUNAME
   1889 
   1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1891 for as_dir in $PATH
   1892 do
   1893   IFS=$as_save_IFS
   1894   case $as_dir in #(((
   1895     '') as_dir=./ ;;
   1896     */) ;;
   1897     *) as_dir=$as_dir/ ;;
   1898   esac
   1899     printf "%s\n" "PATH: $as_dir"
   1900   done
   1901 IFS=$as_save_IFS
   1902 
   1903 } >&5
   1904 
   1905 cat >&5 <<_ACEOF
   1906 
   1907 
   1908 ## ----------- ##
   1909 ## Core tests. ##
   1910 ## ----------- ##
   1911 
   1912 _ACEOF
   1913 
   1914 
   1915 # Keep a trace of the command line.
   1916 # Strip out --no-create and --no-recursion so they do not pile up.
   1917 # Strip out --silent because we don't want to record it for future runs.
   1918 # Also quote any args containing shell meta-characters.
   1919 # Make two passes to allow for proper duplicate-argument suppression.
   1920 ac_configure_args=
   1921 ac_configure_args0=
   1922 ac_configure_args1=
   1923 ac_must_keep_next=false
   1924 for ac_pass in 1 2
   1925 do
   1926   for ac_arg
   1927   do
   1928     case $ac_arg in
   1929     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1930     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1931     | -silent | --silent | --silen | --sile | --sil)
   1932       continue ;;
   1933     *\'*)
   1934       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1935     esac
   1936     case $ac_pass in
   1937     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1938     2)
   1939       as_fn_append ac_configure_args1 " '$ac_arg'"
   1940       if test $ac_must_keep_next = true; then
   1941 	ac_must_keep_next=false # Got value, back to normal.
   1942       else
   1943 	case $ac_arg in
   1944 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1945 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1946 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1947 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1948 	    case "$ac_configure_args0 " in
   1949 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1950 	    esac
   1951 	    ;;
   1952 	  -* ) ac_must_keep_next=true ;;
   1953 	esac
   1954       fi
   1955       as_fn_append ac_configure_args " '$ac_arg'"
   1956       ;;
   1957     esac
   1958   done
   1959 done
   1960 { ac_configure_args0=; unset ac_configure_args0;}
   1961 { ac_configure_args1=; unset ac_configure_args1;}
   1962 
   1963 # When interrupted or exit'd, cleanup temporary files, and complete
   1964 # config.log.  We remove comments because anyway the quotes in there
   1965 # would cause problems or look ugly.
   1966 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1967 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1968 trap 'exit_status=$?
   1969   # Sanitize IFS.
   1970   IFS=" ""	$as_nl"
   1971   # Save into config.log some information that might help in debugging.
   1972   {
   1973     echo
   1974 
   1975     printf "%s\n" "## ---------------- ##
   1976 ## Cache variables. ##
   1977 ## ---------------- ##"
   1978     echo
   1979     # The following way of writing the cache mishandles newlines in values,
   1980 (
   1981   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1982     eval ac_val=\$$ac_var
   1983     case $ac_val in #(
   1984     *${as_nl}*)
   1985       case $ac_var in #(
   1986       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1987 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1988       esac
   1989       case $ac_var in #(
   1990       _ | IFS | as_nl) ;; #(
   1991       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1992       *) { eval $ac_var=; unset $ac_var;} ;;
   1993       esac ;;
   1994     esac
   1995   done
   1996   (set) 2>&1 |
   1997     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1998     *${as_nl}ac_space=\ *)
   1999       sed -n \
   2000 	"s/'\''/'\''\\\\'\'''\''/g;
   2001 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2002       ;; #(
   2003     *)
   2004       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2005       ;;
   2006     esac |
   2007     sort
   2008 )
   2009     echo
   2010 
   2011     printf "%s\n" "## ----------------- ##
   2012 ## Output variables. ##
   2013 ## ----------------- ##"
   2014     echo
   2015     for ac_var in $ac_subst_vars
   2016     do
   2017       eval ac_val=\$$ac_var
   2018       case $ac_val in
   2019       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020       esac
   2021       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2022     done | sort
   2023     echo
   2024 
   2025     if test -n "$ac_subst_files"; then
   2026       printf "%s\n" "## ------------------- ##
   2027 ## File substitutions. ##
   2028 ## ------------------- ##"
   2029       echo
   2030       for ac_var in $ac_subst_files
   2031       do
   2032 	eval ac_val=\$$ac_var
   2033 	case $ac_val in
   2034 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2035 	esac
   2036 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2037       done | sort
   2038       echo
   2039     fi
   2040 
   2041     if test -s confdefs.h; then
   2042       printf "%s\n" "## ----------- ##
   2043 ## confdefs.h. ##
   2044 ## ----------- ##"
   2045       echo
   2046       cat confdefs.h
   2047       echo
   2048     fi
   2049     test "$ac_signal" != 0 &&
   2050       printf "%s\n" "$as_me: caught signal $ac_signal"
   2051     printf "%s\n" "$as_me: exit $exit_status"
   2052   } >&5
   2053   rm -f core *.core core.conftest.* &&
   2054     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2055     exit $exit_status
   2056 ' 0
   2057 for ac_signal in 1 2 13 15; do
   2058   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2059 done
   2060 ac_signal=0
   2061 
   2062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2063 rm -f -r conftest* confdefs.h
   2064 
   2065 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2066 
   2067 # Predefined preprocessor variables.
   2068 
   2069 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2070 
   2071 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2072 
   2073 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2074 
   2075 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2076 
   2077 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2078 
   2079 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2080 
   2081 
   2082 # Let the site file select an alternate cache file if it wants to.
   2083 # Prefer an explicitly selected file to automatically selected ones.
   2084 if test -n "$CONFIG_SITE"; then
   2085   ac_site_files="$CONFIG_SITE"
   2086 elif test "x$prefix" != xNONE; then
   2087   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2088 else
   2089   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2090 fi
   2091 
   2092 for ac_site_file in $ac_site_files
   2093 do
   2094   case $ac_site_file in #(
   2095   */*) :
   2096      ;; #(
   2097   *) :
   2098     ac_site_file=./$ac_site_file ;;
   2099 esac
   2100   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2106 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See 'config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Test code for whether the C compiler supports C89 (global declarations)
   2130 ac_c_conftest_c89_globals='
   2131 /* Does the compiler advertise C89 conformance?
   2132    Do not test the value of __STDC__, because some compilers set it to 0
   2133    while being otherwise adequately conformant. */
   2134 #if !defined __STDC__
   2135 # error "Compiler does not advertise C89 conformance"
   2136 #endif
   2137 
   2138 #include <stddef.h>
   2139 #include <stdarg.h>
   2140 struct stat;
   2141 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2142 struct buf { int x; };
   2143 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2144 static char *e (char **p, int i)
   2145 {
   2146   return p[i];
   2147 }
   2148 static char *f (char * (*g) (char **, int), char **p, ...)
   2149 {
   2150   char *s;
   2151   va_list v;
   2152   va_start (v,p);
   2153   s = g (p, va_arg (v,int));
   2154   va_end (v);
   2155   return s;
   2156 }
   2157 
   2158 /* C89 style stringification. */
   2159 #define noexpand_stringify(a) #a
   2160 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2161 
   2162 /* C89 style token pasting.  Exercises some of the corner cases that
   2163    e.g. old MSVC gets wrong, but not very hard. */
   2164 #define noexpand_concat(a,b) a##b
   2165 #define expand_concat(a,b) noexpand_concat(a,b)
   2166 extern int vA;
   2167 extern int vbee;
   2168 #define aye A
   2169 #define bee B
   2170 int *pvA = &expand_concat(v,aye);
   2171 int *pvbee = &noexpand_concat(v,bee);
   2172 
   2173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2174    function prototypes and stuff, but not \xHH hex character constants.
   2175    These do not provoke an error unfortunately, instead are silently treated
   2176    as an "x".  The following induces an error, until -std is added to get
   2177    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2178    array size at least.  It is necessary to write \x00 == 0 to get something
   2179    that is true only with -std.  */
   2180 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2181 
   2182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2183    inside strings and character constants.  */
   2184 #define FOO(x) '\''x'\''
   2185 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2186 
   2187 int test (int i, double x);
   2188 struct s1 {int (*f) (int a);};
   2189 struct s2 {int (*f) (double a);};
   2190 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2191                int, int);'
   2192 
   2193 # Test code for whether the C compiler supports C89 (body of main).
   2194 ac_c_conftest_c89_main='
   2195 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2196 '
   2197 
   2198 # Test code for whether the C compiler supports C99 (global declarations)
   2199 ac_c_conftest_c99_globals='
   2200 /* Does the compiler advertise C99 conformance? */
   2201 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2202 # error "Compiler does not advertise C99 conformance"
   2203 #endif
   2204 
   2205 // See if C++-style comments work.
   2206 
   2207 #include <stdbool.h>
   2208 extern int puts (const char *);
   2209 extern int printf (const char *, ...);
   2210 extern int dprintf (int, const char *, ...);
   2211 extern void *malloc (size_t);
   2212 extern void free (void *);
   2213 
   2214 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2215 // dprintf is used instead of fprintf to avoid needing to declare
   2216 // FILE and stderr.
   2217 #define debug(...) dprintf (2, __VA_ARGS__)
   2218 #define showlist(...) puts (#__VA_ARGS__)
   2219 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2220 static void
   2221 test_varargs_macros (void)
   2222 {
   2223   int x = 1234;
   2224   int y = 5678;
   2225   debug ("Flag");
   2226   debug ("X = %d\n", x);
   2227   showlist (The first, second, and third items.);
   2228   report (x>y, "x is %d but y is %d", x, y);
   2229 }
   2230 
   2231 // Check long long types.
   2232 #define BIG64 18446744073709551615ull
   2233 #define BIG32 4294967295ul
   2234 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2235 #if !BIG_OK
   2236   #error "your preprocessor is broken"
   2237 #endif
   2238 #if BIG_OK
   2239 #else
   2240   #error "your preprocessor is broken"
   2241 #endif
   2242 static long long int bignum = -9223372036854775807LL;
   2243 static unsigned long long int ubignum = BIG64;
   2244 
   2245 struct incomplete_array
   2246 {
   2247   int datasize;
   2248   double data[];
   2249 };
   2250 
   2251 struct named_init {
   2252   int number;
   2253   const wchar_t *name;
   2254   double average;
   2255 };
   2256 
   2257 typedef const char *ccp;
   2258 
   2259 static inline int
   2260 test_restrict (ccp restrict text)
   2261 {
   2262   // Iterate through items via the restricted pointer.
   2263   // Also check for declarations in for loops.
   2264   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2265     continue;
   2266   return 0;
   2267 }
   2268 
   2269 // Check varargs and va_copy.
   2270 static bool
   2271 test_varargs (const char *format, ...)
   2272 {
   2273   va_list args;
   2274   va_start (args, format);
   2275   va_list args_copy;
   2276   va_copy (args_copy, args);
   2277 
   2278   const char *str = "";
   2279   int number = 0;
   2280   float fnumber = 0;
   2281 
   2282   while (*format)
   2283     {
   2284       switch (*format++)
   2285 	{
   2286 	case '\''s'\'': // string
   2287 	  str = va_arg (args_copy, const char *);
   2288 	  break;
   2289 	case '\''d'\'': // int
   2290 	  number = va_arg (args_copy, int);
   2291 	  break;
   2292 	case '\''f'\'': // float
   2293 	  fnumber = va_arg (args_copy, double);
   2294 	  break;
   2295 	default:
   2296 	  break;
   2297 	}
   2298     }
   2299   va_end (args_copy);
   2300   va_end (args);
   2301 
   2302   return *str && number && fnumber;
   2303 }
   2304 '
   2305 
   2306 # Test code for whether the C compiler supports C99 (body of main).
   2307 ac_c_conftest_c99_main='
   2308   // Check bool.
   2309   _Bool success = false;
   2310   success |= (argc != 0);
   2311 
   2312   // Check restrict.
   2313   if (test_restrict ("String literal") == 0)
   2314     success = true;
   2315   char *restrict newvar = "Another string";
   2316 
   2317   // Check varargs.
   2318   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2319   test_varargs_macros ();
   2320 
   2321   // Check flexible array members.
   2322   struct incomplete_array *ia =
   2323     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2324   ia->datasize = 10;
   2325   for (int i = 0; i < ia->datasize; ++i)
   2326     ia->data[i] = i * 1.234;
   2327   // Work around memory leak warnings.
   2328   free (ia);
   2329 
   2330   // Check named initializers.
   2331   struct named_init ni = {
   2332     .number = 34,
   2333     .name = L"Test wide string",
   2334     .average = 543.34343,
   2335   };
   2336 
   2337   ni.number = 58;
   2338 
   2339   int dynamic_array[ni.number];
   2340   dynamic_array[0] = argv[0][0];
   2341   dynamic_array[ni.number - 1] = 543;
   2342 
   2343   // work around unused variable warnings
   2344   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2345 	 || dynamic_array[ni.number - 1] != 543);
   2346 '
   2347 
   2348 # Test code for whether the C compiler supports C11 (global declarations)
   2349 ac_c_conftest_c11_globals='
   2350 /* Does the compiler advertise C11 conformance? */
   2351 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2352 # error "Compiler does not advertise C11 conformance"
   2353 #endif
   2354 
   2355 // Check _Alignas.
   2356 char _Alignas (double) aligned_as_double;
   2357 char _Alignas (0) no_special_alignment;
   2358 extern char aligned_as_int;
   2359 char _Alignas (0) _Alignas (int) aligned_as_int;
   2360 
   2361 // Check _Alignof.
   2362 enum
   2363 {
   2364   int_alignment = _Alignof (int),
   2365   int_array_alignment = _Alignof (int[100]),
   2366   char_alignment = _Alignof (char)
   2367 };
   2368 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2369 
   2370 // Check _Noreturn.
   2371 int _Noreturn does_not_return (void) { for (;;) continue; }
   2372 
   2373 // Check _Static_assert.
   2374 struct test_static_assert
   2375 {
   2376   int x;
   2377   _Static_assert (sizeof (int) <= sizeof (long int),
   2378                   "_Static_assert does not work in struct");
   2379   long int y;
   2380 };
   2381 
   2382 // Check UTF-8 literals.
   2383 #define u8 syntax error!
   2384 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2385 
   2386 // Check duplicate typedefs.
   2387 typedef long *long_ptr;
   2388 typedef long int *long_ptr;
   2389 typedef long_ptr long_ptr;
   2390 
   2391 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2392 struct anonymous
   2393 {
   2394   union {
   2395     struct { int i; int j; };
   2396     struct { int k; long int l; } w;
   2397   };
   2398   int m;
   2399 } v1;
   2400 '
   2401 
   2402 # Test code for whether the C compiler supports C11 (body of main).
   2403 ac_c_conftest_c11_main='
   2404   _Static_assert ((offsetof (struct anonymous, i)
   2405 		   == offsetof (struct anonymous, w.k)),
   2406 		  "Anonymous union alignment botch");
   2407   v1.i = 2;
   2408   v1.w.k = 5;
   2409   ok |= v1.i != 5;
   2410 '
   2411 
   2412 # Test code for whether the C compiler supports C11 (complete).
   2413 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2414 ${ac_c_conftest_c99_globals}
   2415 ${ac_c_conftest_c11_globals}
   2416 
   2417 int
   2418 main (int argc, char **argv)
   2419 {
   2420   int ok = 0;
   2421   ${ac_c_conftest_c89_main}
   2422   ${ac_c_conftest_c99_main}
   2423   ${ac_c_conftest_c11_main}
   2424   return ok;
   2425 }
   2426 "
   2427 
   2428 # Test code for whether the C compiler supports C99 (complete).
   2429 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2430 ${ac_c_conftest_c99_globals}
   2431 
   2432 int
   2433 main (int argc, char **argv)
   2434 {
   2435   int ok = 0;
   2436   ${ac_c_conftest_c89_main}
   2437   ${ac_c_conftest_c99_main}
   2438   return ok;
   2439 }
   2440 "
   2441 
   2442 # Test code for whether the C compiler supports C89 (complete).
   2443 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2444 
   2445 int
   2446 main (int argc, char **argv)
   2447 {
   2448   int ok = 0;
   2449   ${ac_c_conftest_c89_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2455 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2456 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2457 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2458 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2459 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2460 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2461 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2462 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2463 
   2464 # Auxiliary files required by this configure script.
   2465 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2466 
   2467 # Locations in which to look for auxiliary files.
   2468 ac_aux_dir_candidates="${srcdir}/."
   2469 
   2470 # Search for a directory containing all of the required auxiliary files,
   2471 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2472 # If we don't find one directory that contains all the files we need,
   2473 # we report the set of missing files from the *first* directory in
   2474 # $ac_aux_dir_candidates and give up.
   2475 ac_missing_aux_files=""
   2476 ac_first_candidate=:
   2477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 as_found=false
   2480 for as_dir in $ac_aux_dir_candidates
   2481 do
   2482   IFS=$as_save_IFS
   2483   case $as_dir in #(((
   2484     '') as_dir=./ ;;
   2485     */) ;;
   2486     *) as_dir=$as_dir/ ;;
   2487   esac
   2488   as_found=:
   2489 
   2490   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2491   ac_aux_dir_found=yes
   2492   ac_install_sh=
   2493   for ac_aux in $ac_aux_files
   2494   do
   2495     # As a special case, if "install-sh" is required, that requirement
   2496     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2497     # and $ac_install_sh is set appropriately for whichever one is found.
   2498     if test x"$ac_aux" = x"install-sh"
   2499     then
   2500       if test -f "${as_dir}install-sh"; then
   2501         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2502         ac_install_sh="${as_dir}install-sh -c"
   2503       elif test -f "${as_dir}install.sh"; then
   2504         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2505         ac_install_sh="${as_dir}install.sh -c"
   2506       elif test -f "${as_dir}shtool"; then
   2507         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2508         ac_install_sh="${as_dir}shtool install -c"
   2509       else
   2510         ac_aux_dir_found=no
   2511         if $ac_first_candidate; then
   2512           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2513         else
   2514           break
   2515         fi
   2516       fi
   2517     else
   2518       if test -f "${as_dir}${ac_aux}"; then
   2519         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2520       else
   2521         ac_aux_dir_found=no
   2522         if $ac_first_candidate; then
   2523           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2524         else
   2525           break
   2526         fi
   2527       fi
   2528     fi
   2529   done
   2530   if test "$ac_aux_dir_found" = yes; then
   2531     ac_aux_dir="$as_dir"
   2532     break
   2533   fi
   2534   ac_first_candidate=false
   2535 
   2536   as_found=false
   2537 done
   2538 IFS=$as_save_IFS
   2539 if $as_found
   2540 then :
   2541 
   2542 else case e in #(
   2543   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2544 esac
   2545 fi
   2546 
   2547 
   2548 # These three variables are undocumented and unsupported,
   2549 # and are intended to be withdrawn in a future Autoconf release.
   2550 # They can cause serious problems if a builder's source tree is in a directory
   2551 # whose full name contains unusual characters.
   2552 if test -f "${ac_aux_dir}config.guess"; then
   2553   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2554 fi
   2555 if test -f "${ac_aux_dir}config.sub"; then
   2556   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2557 fi
   2558 if test -f "$ac_aux_dir/configure"; then
   2559   ac_configure="$SHELL ${ac_aux_dir}configure"
   2560 fi
   2561 
   2562 # Check that the precious variables saved in the cache have kept the same
   2563 # value.
   2564 ac_cache_corrupted=false
   2565 for ac_var in $ac_precious_vars; do
   2566   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2567   eval ac_new_set=\$ac_env_${ac_var}_set
   2568   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2569   eval ac_new_val=\$ac_env_${ac_var}_value
   2570   case $ac_old_set,$ac_new_set in
   2571     set,)
   2572       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2573 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2574       ac_cache_corrupted=: ;;
   2575     ,set)
   2576       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2577 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2578       ac_cache_corrupted=: ;;
   2579     ,);;
   2580     *)
   2581       if test "x$ac_old_val" != "x$ac_new_val"; then
   2582 	# differences in whitespace do not lead to failure.
   2583 	ac_old_val_w=`echo x $ac_old_val`
   2584 	ac_new_val_w=`echo x $ac_new_val`
   2585 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2586 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2587 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2588 	  ac_cache_corrupted=:
   2589 	else
   2590 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2591 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2592 	  eval $ac_var=\$ac_old_val
   2593 	fi
   2594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2595 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2597 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2598       fi;;
   2599   esac
   2600   # Pass precious variables to config.status.
   2601   if test "$ac_new_set" = set; then
   2602     case $ac_new_val in
   2603     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2604     *) ac_arg=$ac_var=$ac_new_val ;;
   2605     esac
   2606     case " $ac_configure_args " in
   2607       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2608       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2609     esac
   2610   fi
   2611 done
   2612 if $ac_cache_corrupted; then
   2613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2614 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2616 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2617   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2618 	    and start over" "$LINENO" 5
   2619 fi
   2620 ## -------------------- ##
   2621 ## Main body of script. ##
   2622 ## -------------------- ##
   2623 
   2624 ac_ext=c
   2625 ac_cpp='$CPP $CPPFLAGS'
   2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2629 
   2630 
   2631 
   2632 
   2633 ac_config_headers="$ac_config_headers config.h"
   2634 
   2635 
   2636 # Initialize Automake
   2637 am__api_version='1.16'
   2638 
   2639 
   2640 
   2641   # Find a good install program.  We prefer a C program (faster),
   2642 # so one script is as good as another.  But avoid the broken or
   2643 # incompatible versions:
   2644 # SysV /etc/install, /usr/sbin/install
   2645 # SunOS /usr/etc/install
   2646 # IRIX /sbin/install
   2647 # AIX /bin/install
   2648 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2652 # OS/2's system install, which has a completely different semantic
   2653 # ./install, which can be erroneously created by make from ./install.sh.
   2654 # Reject install programs that cannot install multiple files.
   2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2656 printf %s "checking for a BSD-compatible install... " >&6; }
   2657 if test -z "$INSTALL"; then
   2658 if test ${ac_cv_path_install+y}
   2659 then :
   2660   printf %s "(cached) " >&6
   2661 else case e in #(
   2662   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 for as_dir in $PATH
   2664 do
   2665   IFS=$as_save_IFS
   2666   case $as_dir in #(((
   2667     '') as_dir=./ ;;
   2668     */) ;;
   2669     *) as_dir=$as_dir/ ;;
   2670   esac
   2671     # Account for fact that we put trailing slashes in our PATH walk.
   2672 case $as_dir in #((
   2673   ./ | /[cC]/* | \
   2674   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2675   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2676   /usr/ucb/* ) ;;
   2677   *)
   2678     # OSF1 and SCO ODT 3.0 have their own names for install.
   2679     # Don't use installbsd from OSF since it installs stuff as root
   2680     # by default.
   2681     for ac_prog in ginstall scoinst install; do
   2682       for ac_exec_ext in '' $ac_executable_extensions; do
   2683 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2684 	  if test $ac_prog = install &&
   2685 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2686 	    # AIX install.  It has an incompatible calling convention.
   2687 	    :
   2688 	  elif test $ac_prog = install &&
   2689 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2690 	    # program-specific install script used by HP pwplus--don't use.
   2691 	    :
   2692 	  else
   2693 	    rm -rf conftest.one conftest.two conftest.dir
   2694 	    echo one > conftest.one
   2695 	    echo two > conftest.two
   2696 	    mkdir conftest.dir
   2697 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2698 	      test -s conftest.one && test -s conftest.two &&
   2699 	      test -s conftest.dir/conftest.one &&
   2700 	      test -s conftest.dir/conftest.two
   2701 	    then
   2702 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2703 	      break 3
   2704 	    fi
   2705 	  fi
   2706 	fi
   2707       done
   2708     done
   2709     ;;
   2710 esac
   2711 
   2712   done
   2713 IFS=$as_save_IFS
   2714 
   2715 rm -rf conftest.one conftest.two conftest.dir
   2716  ;;
   2717 esac
   2718 fi
   2719   if test ${ac_cv_path_install+y}; then
   2720     INSTALL=$ac_cv_path_install
   2721   else
   2722     # As a last resort, use the slow shell script.  Don't cache a
   2723     # value for INSTALL within a source directory, because that will
   2724     # break other packages using the cache if that directory is
   2725     # removed, or if the value is a relative name.
   2726     INSTALL=$ac_install_sh
   2727   fi
   2728 fi
   2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2730 printf "%s\n" "$INSTALL" >&6; }
   2731 
   2732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2733 # It thinks the first close brace ends the variable substitution.
   2734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2735 
   2736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2737 
   2738 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2739 
   2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2741 printf %s "checking whether build environment is sane... " >&6; }
   2742 # Reject unsafe characters in $srcdir or the absolute working directory
   2743 # name.  Accept space and tab only in the latter.
   2744 am_lf='
   2745 '
   2746 case `pwd` in
   2747   *[\\\"\#\$\&\'\`$am_lf]*)
   2748     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2749 esac
   2750 case $srcdir in
   2751   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2752     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2753 esac
   2754 
   2755 # Do 'set' in a subshell so we don't clobber the current shell's
   2756 # arguments.  Must try -L first in case configure is actually a
   2757 # symlink; some systems play weird games with the mod time of symlinks
   2758 # (eg FreeBSD returns the mod time of the symlink's containing
   2759 # directory).
   2760 if (
   2761    am_has_slept=no
   2762    for am_try in 1 2; do
   2763      echo "timestamp, slept: $am_has_slept" > conftest.file
   2764      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2765      if test "$*" = "X"; then
   2766 	# -L didn't work.
   2767 	set X `ls -t "$srcdir/configure" conftest.file`
   2768      fi
   2769      if test "$*" != "X $srcdir/configure conftest.file" \
   2770 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2771 
   2772 	# If neither matched, then we have a broken ls.  This can happen
   2773 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2774 	# broken ls alias from the environment.  This has actually
   2775 	# happened.  Such a system could not be considered "sane".
   2776 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2777   alias in your environment" "$LINENO" 5
   2778      fi
   2779      if test "$2" = conftest.file || test $am_try -eq 2; then
   2780        break
   2781      fi
   2782      # Just in case.
   2783      sleep 1
   2784      am_has_slept=yes
   2785    done
   2786    test "$2" = conftest.file
   2787    )
   2788 then
   2789    # Ok.
   2790    :
   2791 else
   2792    as_fn_error $? "newly created file is older than distributed files!
   2793 Check your system clock" "$LINENO" 5
   2794 fi
   2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2796 printf "%s\n" "yes" >&6; }
   2797 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2798 # generated files are strictly newer.
   2799 am_sleep_pid=
   2800 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2801   ( sleep 1 ) &
   2802   am_sleep_pid=$!
   2803 fi
   2804 
   2805 rm -f conftest.file
   2806 
   2807 test "$program_prefix" != NONE &&
   2808   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2809 # Use a double $ so make ignores it.
   2810 test "$program_suffix" != NONE &&
   2811   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2812 # Double any \ or $.
   2813 # By default was 's,x,x', remove it if useless.
   2814 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2815 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2816 
   2817 
   2818 # Expand $ac_aux_dir to an absolute path.
   2819 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2820 
   2821 
   2822   if test x"${MISSING+set}" != xset; then
   2823   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2824 fi
   2825 # Use eval to expand $SHELL
   2826 if eval "$MISSING --is-lightweight"; then
   2827   am_missing_run="$MISSING "
   2828 else
   2829   am_missing_run=
   2830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2831 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2832 fi
   2833 
   2834 if test x"${install_sh+set}" != xset; then
   2835   case $am_aux_dir in
   2836   *\ * | *\	*)
   2837     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2838   *)
   2839     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2840   esac
   2841 fi
   2842 
   2843 # Installed binaries are usually stripped using 'strip' when the user
   2844 # run "make install-strip".  However 'strip' might not be the right
   2845 # tool to use in cross-compilation environments, therefore Automake
   2846 # will honor the 'STRIP' environment variable to overrule this program.
   2847 if test "$cross_compiling" != no; then
   2848   if test -n "$ac_tool_prefix"; then
   2849   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2850 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2852 printf %s "checking for $ac_word... " >&6; }
   2853 if test ${ac_cv_prog_STRIP+y}
   2854 then :
   2855   printf %s "(cached) " >&6
   2856 else case e in #(
   2857   e) if test -n "$STRIP"; then
   2858   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2859 else
   2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 for as_dir in $PATH
   2862 do
   2863   IFS=$as_save_IFS
   2864   case $as_dir in #(((
   2865     '') as_dir=./ ;;
   2866     */) ;;
   2867     *) as_dir=$as_dir/ ;;
   2868   esac
   2869     for ac_exec_ext in '' $ac_executable_extensions; do
   2870   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2871     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2872     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2873     break 2
   2874   fi
   2875 done
   2876   done
   2877 IFS=$as_save_IFS
   2878 
   2879 fi ;;
   2880 esac
   2881 fi
   2882 STRIP=$ac_cv_prog_STRIP
   2883 if test -n "$STRIP"; then
   2884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2885 printf "%s\n" "$STRIP" >&6; }
   2886 else
   2887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2888 printf "%s\n" "no" >&6; }
   2889 fi
   2890 
   2891 
   2892 fi
   2893 if test -z "$ac_cv_prog_STRIP"; then
   2894   ac_ct_STRIP=$STRIP
   2895   # Extract the first word of "strip", so it can be a program name with args.
   2896 set dummy strip; ac_word=$2
   2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2898 printf %s "checking for $ac_word... " >&6; }
   2899 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2900 then :
   2901   printf %s "(cached) " >&6
   2902 else case e in #(
   2903   e) if test -n "$ac_ct_STRIP"; then
   2904   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2905 else
   2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2907 for as_dir in $PATH
   2908 do
   2909   IFS=$as_save_IFS
   2910   case $as_dir in #(((
   2911     '') as_dir=./ ;;
   2912     */) ;;
   2913     *) as_dir=$as_dir/ ;;
   2914   esac
   2915     for ac_exec_ext in '' $ac_executable_extensions; do
   2916   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2917     ac_cv_prog_ac_ct_STRIP="strip"
   2918     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2919     break 2
   2920   fi
   2921 done
   2922   done
   2923 IFS=$as_save_IFS
   2924 
   2925 fi ;;
   2926 esac
   2927 fi
   2928 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2929 if test -n "$ac_ct_STRIP"; then
   2930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2931 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2932 else
   2933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2934 printf "%s\n" "no" >&6; }
   2935 fi
   2936 
   2937   if test "x$ac_ct_STRIP" = x; then
   2938     STRIP=":"
   2939   else
   2940     case $cross_compiling:$ac_tool_warned in
   2941 yes:)
   2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2943 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2944 ac_tool_warned=yes ;;
   2945 esac
   2946     STRIP=$ac_ct_STRIP
   2947   fi
   2948 else
   2949   STRIP="$ac_cv_prog_STRIP"
   2950 fi
   2951 
   2952 fi
   2953 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2954 
   2955 
   2956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2957 printf %s "checking for a race-free mkdir -p... " >&6; }
   2958 if test -z "$MKDIR_P"; then
   2959   if test ${ac_cv_path_mkdir+y}
   2960 then :
   2961   printf %s "(cached) " >&6
   2962 else case e in #(
   2963   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2964 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2965 do
   2966   IFS=$as_save_IFS
   2967   case $as_dir in #(((
   2968     '') as_dir=./ ;;
   2969     */) ;;
   2970     *) as_dir=$as_dir/ ;;
   2971   esac
   2972     for ac_prog in mkdir gmkdir; do
   2973 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2974 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2975 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2976 	     'mkdir ('*'coreutils) '* | \
   2977 	     *'BusyBox '* | \
   2978 	     'mkdir (fileutils) '4.1*)
   2979 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2980 	       break 3;;
   2981 	   esac
   2982 	 done
   2983        done
   2984   done
   2985 IFS=$as_save_IFS
   2986  ;;
   2987 esac
   2988 fi
   2989 
   2990   test -d ./--version && rmdir ./--version
   2991   if test ${ac_cv_path_mkdir+y}; then
   2992     MKDIR_P="$ac_cv_path_mkdir -p"
   2993   else
   2994     # As a last resort, use plain mkdir -p,
   2995     # in the hope it doesn't have the bugs of ancient mkdir.
   2996     MKDIR_P='mkdir -p'
   2997   fi
   2998 fi
   2999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3000 printf "%s\n" "$MKDIR_P" >&6; }
   3001 
   3002 for ac_prog in gawk mawk nawk awk
   3003 do
   3004   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3005 set dummy $ac_prog; ac_word=$2
   3006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3007 printf %s "checking for $ac_word... " >&6; }
   3008 if test ${ac_cv_prog_AWK+y}
   3009 then :
   3010   printf %s "(cached) " >&6
   3011 else case e in #(
   3012   e) if test -n "$AWK"; then
   3013   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3014 else
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   case $as_dir in #(((
   3020     '') as_dir=./ ;;
   3021     */) ;;
   3022     *) as_dir=$as_dir/ ;;
   3023   esac
   3024     for ac_exec_ext in '' $ac_executable_extensions; do
   3025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3026     ac_cv_prog_AWK="$ac_prog"
   3027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3028     break 2
   3029   fi
   3030 done
   3031   done
   3032 IFS=$as_save_IFS
   3033 
   3034 fi ;;
   3035 esac
   3036 fi
   3037 AWK=$ac_cv_prog_AWK
   3038 if test -n "$AWK"; then
   3039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3040 printf "%s\n" "$AWK" >&6; }
   3041 else
   3042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3043 printf "%s\n" "no" >&6; }
   3044 fi
   3045 
   3046 
   3047   test -n "$AWK" && break
   3048 done
   3049 
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3051 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3052 set x ${MAKE-make}
   3053 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3054 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3055 then :
   3056   printf %s "(cached) " >&6
   3057 else case e in #(
   3058   e) cat >conftest.make <<\_ACEOF
   3059 SHELL = /bin/sh
   3060 all:
   3061 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3062 _ACEOF
   3063 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3064 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3065   *@@@%%%=?*=@@@%%%*)
   3066     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3067   *)
   3068     eval ac_cv_prog_make_${ac_make}_set=no;;
   3069 esac
   3070 rm -f conftest.make ;;
   3071 esac
   3072 fi
   3073 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3075 printf "%s\n" "yes" >&6; }
   3076   SET_MAKE=
   3077 else
   3078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3079 printf "%s\n" "no" >&6; }
   3080   SET_MAKE="MAKE=${MAKE-make}"
   3081 fi
   3082 
   3083 rm -rf .tst 2>/dev/null
   3084 mkdir .tst 2>/dev/null
   3085 if test -d .tst; then
   3086   am__leading_dot=.
   3087 else
   3088   am__leading_dot=_
   3089 fi
   3090 rmdir .tst 2>/dev/null
   3091 
   3092 # Check whether --enable-silent-rules was given.
   3093 if test ${enable_silent_rules+y}
   3094 then :
   3095   enableval=$enable_silent_rules;
   3096 fi
   3097 
   3098 case $enable_silent_rules in # (((
   3099   yes) AM_DEFAULT_VERBOSITY=0;;
   3100    no) AM_DEFAULT_VERBOSITY=1;;
   3101     *) AM_DEFAULT_VERBOSITY=1;;
   3102 esac
   3103 am_make=${MAKE-make}
   3104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3105 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3106 if test ${am_cv_make_support_nested_variables+y}
   3107 then :
   3108   printf %s "(cached) " >&6
   3109 else case e in #(
   3110   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3111 BAR0=false
   3112 BAR1=true
   3113 V=1
   3114 am__doit:
   3115 	@$(TRUE)
   3116 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3117   am_cv_make_support_nested_variables=yes
   3118 else
   3119   am_cv_make_support_nested_variables=no
   3120 fi ;;
   3121 esac
   3122 fi
   3123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3124 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3125 if test $am_cv_make_support_nested_variables = yes; then
   3126     AM_V='$(V)'
   3127   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3128 else
   3129   AM_V=$AM_DEFAULT_VERBOSITY
   3130   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3131 fi
   3132 AM_BACKSLASH='\'
   3133 
   3134 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3135   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3136   # is not polluted with repeated "-I."
   3137   am__isrc=' -I$(srcdir)'
   3138   # test to see if srcdir already configured
   3139   if test -f $srcdir/config.status; then
   3140     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3141   fi
   3142 fi
   3143 
   3144 # test whether we have cygpath
   3145 if test -z "$CYGPATH_W"; then
   3146   if (cygpath --version) >/dev/null 2>/dev/null; then
   3147     CYGPATH_W='cygpath -w'
   3148   else
   3149     CYGPATH_W=echo
   3150   fi
   3151 fi
   3152 
   3153 
   3154 # Define the identity of the package.
   3155  PACKAGE='xf86-input-elographics'
   3156  VERSION='1.4.4'
   3157 
   3158 
   3159 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3160 
   3161 
   3162 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3163 
   3164 # Some tools Automake needs.
   3165 
   3166 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3167 
   3168 
   3169 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3170 
   3171 
   3172 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3173 
   3174 
   3175 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3176 
   3177 
   3178 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3179 
   3180 # For better backward compatibility.  To be removed once Automake 1.9.x
   3181 # dies out for good.  For more background, see:
   3182 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3183 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3184 mkdir_p='$(MKDIR_P)'
   3185 
   3186 # We need awk for the "check" target (and possibly the TAP driver).  The
   3187 # system "awk" is bad on some platforms.
   3188 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3189 # in the wild :-(  We should find a proper way to deprecate it ...
   3190 AMTAR='$${TAR-tar}'
   3191 
   3192 
   3193 # We'll loop over all known methods to create a tar archive until one works.
   3194 _am_tools='gnutar  pax cpio none'
   3195 
   3196 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3197 
   3198 
   3199 
   3200 
   3201 
   3202 # Variables for tags utilities; see am/tags.am
   3203 if test -z "$CTAGS"; then
   3204   CTAGS=ctags
   3205 fi
   3206 
   3207 if test -z "$ETAGS"; then
   3208   ETAGS=etags
   3209 fi
   3210 
   3211 if test -z "$CSCOPE"; then
   3212   CSCOPE=cscope
   3213 fi
   3214 
   3215 
   3216 
   3217 # POSIX will say in a future version that running "rm -f" with no argument
   3218 # is OK; and we want to be able to make that assumption in our Makefile
   3219 # recipes.  So use an aggressive probe to check that the usage we want is
   3220 # actually supported "in the wild" to an acceptable degree.
   3221 # See automake bug#10828.
   3222 # To make any issue more visible, cause the running configure to be aborted
   3223 # by default if the 'rm' program in use doesn't match our expectations; the
   3224 # user can still override this though.
   3225 if rm -f && rm -fr && rm -rf; then : OK; else
   3226   cat >&2 <<'END'
   3227 Oops!
   3228 
   3229 Your 'rm' program seems unable to run without file operands specified
   3230 on the command line, even when the '-f' option is present.  This is contrary
   3231 to the behaviour of most rm programs out there, and not conforming with
   3232 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3233 
   3234 Please tell bug-automake@gnu.org about your system, including the value
   3235 of your $PATH and any error possibly output before this message.  This
   3236 can help us improve future automake versions.
   3237 
   3238 END
   3239   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3240     echo 'Configuration will proceed anyway, since you have set the' >&2
   3241     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3242     echo >&2
   3243   else
   3244     cat >&2 <<'END'
   3245 Aborting the configuration process, to ensure you take notice of the issue.
   3246 
   3247 You can download and install GNU coreutils to get an 'rm' implementation
   3248 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3249 
   3250 If you want to complete the configuration process using your problematic
   3251 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3252 to "yes", and re-run configure.
   3253 
   3254 END
   3255     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3256   fi
   3257 fi
   3258 
   3259 
   3260 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 
   3272 
   3273 
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 
   3281 DEPDIR="${am__leading_dot}deps"
   3282 
   3283 ac_config_commands="$ac_config_commands depfiles"
   3284 
   3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3286 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3287 cat > confinc.mk << 'END'
   3288 am__doit:
   3289 	@echo this is the am__doit target >confinc.out
   3290 .PHONY: am__doit
   3291 END
   3292 am__include="#"
   3293 am__quote=
   3294 # BSD make does it like this.
   3295 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3296 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3297 echo 'include confinc.mk # ignored' > confmf.GNU
   3298 _am_result=no
   3299 for s in GNU BSD; do
   3300   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3301    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3302    ac_status=$?
   3303    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3304    (exit $ac_status); }
   3305   case $?:`cat confinc.out 2>/dev/null` in #(
   3306   '0:this is the am__doit target') :
   3307     case $s in #(
   3308   BSD) :
   3309     am__include='.include' am__quote='"' ;; #(
   3310   *) :
   3311     am__include='include' am__quote='' ;;
   3312 esac ;; #(
   3313   *) :
   3314      ;;
   3315 esac
   3316   if test "$am__include" != "#"; then
   3317     _am_result="yes ($s style)"
   3318     break
   3319   fi
   3320 done
   3321 rm -f confinc.* confmf.*
   3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3323 printf "%s\n" "${_am_result}" >&6; }
   3324 
   3325 # Check whether --enable-dependency-tracking was given.
   3326 if test ${enable_dependency_tracking+y}
   3327 then :
   3328   enableval=$enable_dependency_tracking;
   3329 fi
   3330 
   3331 if test "x$enable_dependency_tracking" != xno; then
   3332   am_depcomp="$ac_aux_dir/depcomp"
   3333   AMDEPBACKSLASH='\'
   3334   am__nodep='_no'
   3335 fi
   3336  if test "x$enable_dependency_tracking" != xno; then
   3337   AMDEP_TRUE=
   3338   AMDEP_FALSE='#'
   3339 else
   3340   AMDEP_TRUE='#'
   3341   AMDEP_FALSE=
   3342 fi
   3343 
   3344 
   3345 ac_ext=c
   3346 ac_cpp='$CPP $CPPFLAGS'
   3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3350 if test -n "$ac_tool_prefix"; then
   3351   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3352 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3354 printf %s "checking for $ac_word... " >&6; }
   3355 if test ${ac_cv_prog_CC+y}
   3356 then :
   3357   printf %s "(cached) " >&6
   3358 else case e in #(
   3359   e) if test -n "$CC"; then
   3360   ac_cv_prog_CC="$CC" # Let the user override the test.
   3361 else
   3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3363 for as_dir in $PATH
   3364 do
   3365   IFS=$as_save_IFS
   3366   case $as_dir in #(((
   3367     '') as_dir=./ ;;
   3368     */) ;;
   3369     *) as_dir=$as_dir/ ;;
   3370   esac
   3371     for ac_exec_ext in '' $ac_executable_extensions; do
   3372   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3373     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3374     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3375     break 2
   3376   fi
   3377 done
   3378   done
   3379 IFS=$as_save_IFS
   3380 
   3381 fi ;;
   3382 esac
   3383 fi
   3384 CC=$ac_cv_prog_CC
   3385 if test -n "$CC"; then
   3386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3387 printf "%s\n" "$CC" >&6; }
   3388 else
   3389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3390 printf "%s\n" "no" >&6; }
   3391 fi
   3392 
   3393 
   3394 fi
   3395 if test -z "$ac_cv_prog_CC"; then
   3396   ac_ct_CC=$CC
   3397   # Extract the first word of "gcc", so it can be a program name with args.
   3398 set dummy gcc; ac_word=$2
   3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3400 printf %s "checking for $ac_word... " >&6; }
   3401 if test ${ac_cv_prog_ac_ct_CC+y}
   3402 then :
   3403   printf %s "(cached) " >&6
   3404 else case e in #(
   3405   e) if test -n "$ac_ct_CC"; then
   3406   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3407 else
   3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3409 for as_dir in $PATH
   3410 do
   3411   IFS=$as_save_IFS
   3412   case $as_dir in #(((
   3413     '') as_dir=./ ;;
   3414     */) ;;
   3415     *) as_dir=$as_dir/ ;;
   3416   esac
   3417     for ac_exec_ext in '' $ac_executable_extensions; do
   3418   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3419     ac_cv_prog_ac_ct_CC="gcc"
   3420     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3421     break 2
   3422   fi
   3423 done
   3424   done
   3425 IFS=$as_save_IFS
   3426 
   3427 fi ;;
   3428 esac
   3429 fi
   3430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3431 if test -n "$ac_ct_CC"; then
   3432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3433 printf "%s\n" "$ac_ct_CC" >&6; }
   3434 else
   3435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3436 printf "%s\n" "no" >&6; }
   3437 fi
   3438 
   3439   if test "x$ac_ct_CC" = x; then
   3440     CC=""
   3441   else
   3442     case $cross_compiling:$ac_tool_warned in
   3443 yes:)
   3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3445 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3446 ac_tool_warned=yes ;;
   3447 esac
   3448     CC=$ac_ct_CC
   3449   fi
   3450 else
   3451   CC="$ac_cv_prog_CC"
   3452 fi
   3453 
   3454 if test -z "$CC"; then
   3455           if test -n "$ac_tool_prefix"; then
   3456     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3457 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3459 printf %s "checking for $ac_word... " >&6; }
   3460 if test ${ac_cv_prog_CC+y}
   3461 then :
   3462   printf %s "(cached) " >&6
   3463 else case e in #(
   3464   e) if test -n "$CC"; then
   3465   ac_cv_prog_CC="$CC" # Let the user override the test.
   3466 else
   3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3468 for as_dir in $PATH
   3469 do
   3470   IFS=$as_save_IFS
   3471   case $as_dir in #(((
   3472     '') as_dir=./ ;;
   3473     */) ;;
   3474     *) as_dir=$as_dir/ ;;
   3475   esac
   3476     for ac_exec_ext in '' $ac_executable_extensions; do
   3477   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3478     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3479     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3480     break 2
   3481   fi
   3482 done
   3483   done
   3484 IFS=$as_save_IFS
   3485 
   3486 fi ;;
   3487 esac
   3488 fi
   3489 CC=$ac_cv_prog_CC
   3490 if test -n "$CC"; then
   3491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3492 printf "%s\n" "$CC" >&6; }
   3493 else
   3494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3495 printf "%s\n" "no" >&6; }
   3496 fi
   3497 
   3498 
   3499   fi
   3500 fi
   3501 if test -z "$CC"; then
   3502   # Extract the first word of "cc", so it can be a program name with args.
   3503 set dummy cc; ac_word=$2
   3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3505 printf %s "checking for $ac_word... " >&6; }
   3506 if test ${ac_cv_prog_CC+y}
   3507 then :
   3508   printf %s "(cached) " >&6
   3509 else case e in #(
   3510   e) if test -n "$CC"; then
   3511   ac_cv_prog_CC="$CC" # Let the user override the test.
   3512 else
   3513   ac_prog_rejected=no
   3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3515 for as_dir in $PATH
   3516 do
   3517   IFS=$as_save_IFS
   3518   case $as_dir in #(((
   3519     '') as_dir=./ ;;
   3520     */) ;;
   3521     *) as_dir=$as_dir/ ;;
   3522   esac
   3523     for ac_exec_ext in '' $ac_executable_extensions; do
   3524   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3525     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3526        ac_prog_rejected=yes
   3527        continue
   3528      fi
   3529     ac_cv_prog_CC="cc"
   3530     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3531     break 2
   3532   fi
   3533 done
   3534   done
   3535 IFS=$as_save_IFS
   3536 
   3537 if test $ac_prog_rejected = yes; then
   3538   # We found a bogon in the path, so make sure we never use it.
   3539   set dummy $ac_cv_prog_CC
   3540   shift
   3541   if test $# != 0; then
   3542     # We chose a different compiler from the bogus one.
   3543     # However, it has the same basename, so the bogon will be chosen
   3544     # first if we set CC to just the basename; use the full file name.
   3545     shift
   3546     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3547   fi
   3548 fi
   3549 fi ;;
   3550 esac
   3551 fi
   3552 CC=$ac_cv_prog_CC
   3553 if test -n "$CC"; then
   3554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3555 printf "%s\n" "$CC" >&6; }
   3556 else
   3557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3558 printf "%s\n" "no" >&6; }
   3559 fi
   3560 
   3561 
   3562 fi
   3563 if test -z "$CC"; then
   3564   if test -n "$ac_tool_prefix"; then
   3565   for ac_prog in cl.exe
   3566   do
   3567     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3568 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3570 printf %s "checking for $ac_word... " >&6; }
   3571 if test ${ac_cv_prog_CC+y}
   3572 then :
   3573   printf %s "(cached) " >&6
   3574 else case e in #(
   3575   e) if test -n "$CC"; then
   3576   ac_cv_prog_CC="$CC" # Let the user override the test.
   3577 else
   3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3579 for as_dir in $PATH
   3580 do
   3581   IFS=$as_save_IFS
   3582   case $as_dir in #(((
   3583     '') as_dir=./ ;;
   3584     */) ;;
   3585     *) as_dir=$as_dir/ ;;
   3586   esac
   3587     for ac_exec_ext in '' $ac_executable_extensions; do
   3588   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3589     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3590     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3591     break 2
   3592   fi
   3593 done
   3594   done
   3595 IFS=$as_save_IFS
   3596 
   3597 fi ;;
   3598 esac
   3599 fi
   3600 CC=$ac_cv_prog_CC
   3601 if test -n "$CC"; then
   3602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3603 printf "%s\n" "$CC" >&6; }
   3604 else
   3605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3606 printf "%s\n" "no" >&6; }
   3607 fi
   3608 
   3609 
   3610     test -n "$CC" && break
   3611   done
   3612 fi
   3613 if test -z "$CC"; then
   3614   ac_ct_CC=$CC
   3615   for ac_prog in cl.exe
   3616 do
   3617   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3618 set dummy $ac_prog; ac_word=$2
   3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3620 printf %s "checking for $ac_word... " >&6; }
   3621 if test ${ac_cv_prog_ac_ct_CC+y}
   3622 then :
   3623   printf %s "(cached) " >&6
   3624 else case e in #(
   3625   e) if test -n "$ac_ct_CC"; then
   3626   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3627 else
   3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3629 for as_dir in $PATH
   3630 do
   3631   IFS=$as_save_IFS
   3632   case $as_dir in #(((
   3633     '') as_dir=./ ;;
   3634     */) ;;
   3635     *) as_dir=$as_dir/ ;;
   3636   esac
   3637     for ac_exec_ext in '' $ac_executable_extensions; do
   3638   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3639     ac_cv_prog_ac_ct_CC="$ac_prog"
   3640     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3641     break 2
   3642   fi
   3643 done
   3644   done
   3645 IFS=$as_save_IFS
   3646 
   3647 fi ;;
   3648 esac
   3649 fi
   3650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3651 if test -n "$ac_ct_CC"; then
   3652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3653 printf "%s\n" "$ac_ct_CC" >&6; }
   3654 else
   3655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3656 printf "%s\n" "no" >&6; }
   3657 fi
   3658 
   3659 
   3660   test -n "$ac_ct_CC" && break
   3661 done
   3662 
   3663   if test "x$ac_ct_CC" = x; then
   3664     CC=""
   3665   else
   3666     case $cross_compiling:$ac_tool_warned in
   3667 yes:)
   3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3670 ac_tool_warned=yes ;;
   3671 esac
   3672     CC=$ac_ct_CC
   3673   fi
   3674 fi
   3675 
   3676 fi
   3677 if test -z "$CC"; then
   3678   if test -n "$ac_tool_prefix"; then
   3679   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3680 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3682 printf %s "checking for $ac_word... " >&6; }
   3683 if test ${ac_cv_prog_CC+y}
   3684 then :
   3685   printf %s "(cached) " >&6
   3686 else case e in #(
   3687   e) if test -n "$CC"; then
   3688   ac_cv_prog_CC="$CC" # Let the user override the test.
   3689 else
   3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3691 for as_dir in $PATH
   3692 do
   3693   IFS=$as_save_IFS
   3694   case $as_dir in #(((
   3695     '') as_dir=./ ;;
   3696     */) ;;
   3697     *) as_dir=$as_dir/ ;;
   3698   esac
   3699     for ac_exec_ext in '' $ac_executable_extensions; do
   3700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3701     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3703     break 2
   3704   fi
   3705 done
   3706   done
   3707 IFS=$as_save_IFS
   3708 
   3709 fi ;;
   3710 esac
   3711 fi
   3712 CC=$ac_cv_prog_CC
   3713 if test -n "$CC"; then
   3714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3715 printf "%s\n" "$CC" >&6; }
   3716 else
   3717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3718 printf "%s\n" "no" >&6; }
   3719 fi
   3720 
   3721 
   3722 fi
   3723 if test -z "$ac_cv_prog_CC"; then
   3724   ac_ct_CC=$CC
   3725   # Extract the first word of "clang", so it can be a program name with args.
   3726 set dummy clang; ac_word=$2
   3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3728 printf %s "checking for $ac_word... " >&6; }
   3729 if test ${ac_cv_prog_ac_ct_CC+y}
   3730 then :
   3731   printf %s "(cached) " >&6
   3732 else case e in #(
   3733   e) if test -n "$ac_ct_CC"; then
   3734   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3735 else
   3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3737 for as_dir in $PATH
   3738 do
   3739   IFS=$as_save_IFS
   3740   case $as_dir in #(((
   3741     '') as_dir=./ ;;
   3742     */) ;;
   3743     *) as_dir=$as_dir/ ;;
   3744   esac
   3745     for ac_exec_ext in '' $ac_executable_extensions; do
   3746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3747     ac_cv_prog_ac_ct_CC="clang"
   3748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3749     break 2
   3750   fi
   3751 done
   3752   done
   3753 IFS=$as_save_IFS
   3754 
   3755 fi ;;
   3756 esac
   3757 fi
   3758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3759 if test -n "$ac_ct_CC"; then
   3760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3761 printf "%s\n" "$ac_ct_CC" >&6; }
   3762 else
   3763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3764 printf "%s\n" "no" >&6; }
   3765 fi
   3766 
   3767   if test "x$ac_ct_CC" = x; then
   3768     CC=""
   3769   else
   3770     case $cross_compiling:$ac_tool_warned in
   3771 yes:)
   3772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3774 ac_tool_warned=yes ;;
   3775 esac
   3776     CC=$ac_ct_CC
   3777   fi
   3778 else
   3779   CC="$ac_cv_prog_CC"
   3780 fi
   3781 
   3782 fi
   3783 
   3784 
   3785 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3786 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3787 as_fn_error $? "no acceptable C compiler found in \$PATH
   3788 See 'config.log' for more details" "$LINENO" 5; }
   3789 
   3790 # Provide some information about the compiler.
   3791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3792 set X $ac_compile
   3793 ac_compiler=$2
   3794 for ac_option in --version -v -V -qversion -version; do
   3795   { { ac_try="$ac_compiler $ac_option >&5"
   3796 case "(($ac_try" in
   3797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3798   *) ac_try_echo=$ac_try;;
   3799 esac
   3800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3801 printf "%s\n" "$ac_try_echo"; } >&5
   3802   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3803   ac_status=$?
   3804   if test -s conftest.err; then
   3805     sed '10a\
   3806 ... rest of stderr output deleted ...
   3807          10q' conftest.err >conftest.er1
   3808     cat conftest.er1 >&5
   3809   fi
   3810   rm -f conftest.er1 conftest.err
   3811   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3812   test $ac_status = 0; }
   3813 done
   3814 
   3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3816 /* end confdefs.h.  */
   3817 
   3818 int
   3819 main (void)
   3820 {
   3821 
   3822   ;
   3823   return 0;
   3824 }
   3825 _ACEOF
   3826 ac_clean_files_save=$ac_clean_files
   3827 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3828 # Try to create an executable without -o first, disregard a.out.
   3829 # It will help us diagnose broken compilers, and finding out an intuition
   3830 # of exeext.
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3832 printf %s "checking whether the C compiler works... " >&6; }
   3833 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3834 
   3835 # The possible output files:
   3836 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3837 
   3838 ac_rmfiles=
   3839 for ac_file in $ac_files
   3840 do
   3841   case $ac_file in
   3842     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3843     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3844   esac
   3845 done
   3846 rm -f $ac_rmfiles
   3847 
   3848 if { { ac_try="$ac_link_default"
   3849 case "(($ac_try" in
   3850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3851   *) ac_try_echo=$ac_try;;
   3852 esac
   3853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3854 printf "%s\n" "$ac_try_echo"; } >&5
   3855   (eval "$ac_link_default") 2>&5
   3856   ac_status=$?
   3857   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3858   test $ac_status = 0; }
   3859 then :
   3860   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3861 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3862 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3863 # so that the user can short-circuit this test for compilers unknown to
   3864 # Autoconf.
   3865 for ac_file in $ac_files ''
   3866 do
   3867   test -f "$ac_file" || continue
   3868   case $ac_file in
   3869     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3870 	;;
   3871     [ab].out )
   3872 	# We found the default executable, but exeext='' is most
   3873 	# certainly right.
   3874 	break;;
   3875     *.* )
   3876 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3877 	then :; else
   3878 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3879 	fi
   3880 	# We set ac_cv_exeext here because the later test for it is not
   3881 	# safe: cross compilers may not add the suffix if given an '-o'
   3882 	# argument, so we may need to know it at that point already.
   3883 	# Even if this section looks crufty: it has the advantage of
   3884 	# actually working.
   3885 	break;;
   3886     * )
   3887 	break;;
   3888   esac
   3889 done
   3890 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3891 
   3892 else case e in #(
   3893   e) ac_file='' ;;
   3894 esac
   3895 fi
   3896 if test -z "$ac_file"
   3897 then :
   3898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3899 printf "%s\n" "no" >&6; }
   3900 printf "%s\n" "$as_me: failed program was:" >&5
   3901 sed 's/^/| /' conftest.$ac_ext >&5
   3902 
   3903 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3904 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3905 as_fn_error 77 "C compiler cannot create executables
   3906 See 'config.log' for more details" "$LINENO" 5; }
   3907 else case e in #(
   3908   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3909 printf "%s\n" "yes" >&6; } ;;
   3910 esac
   3911 fi
   3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3913 printf %s "checking for C compiler default output file name... " >&6; }
   3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3915 printf "%s\n" "$ac_file" >&6; }
   3916 ac_exeext=$ac_cv_exeext
   3917 
   3918 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3919 ac_clean_files=$ac_clean_files_save
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3921 printf %s "checking for suffix of executables... " >&6; }
   3922 if { { ac_try="$ac_link"
   3923 case "(($ac_try" in
   3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3925   *) ac_try_echo=$ac_try;;
   3926 esac
   3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3928 printf "%s\n" "$ac_try_echo"; } >&5
   3929   (eval "$ac_link") 2>&5
   3930   ac_status=$?
   3931   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3932   test $ac_status = 0; }
   3933 then :
   3934   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3935 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3936 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3937 # 'rm'.
   3938 for ac_file in conftest.exe conftest conftest.*; do
   3939   test -f "$ac_file" || continue
   3940   case $ac_file in
   3941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3942     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3943 	  break;;
   3944     * ) break;;
   3945   esac
   3946 done
   3947 else case e in #(
   3948   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3949 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3950 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3951 See 'config.log' for more details" "$LINENO" 5; } ;;
   3952 esac
   3953 fi
   3954 rm -f conftest conftest$ac_cv_exeext
   3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3956 printf "%s\n" "$ac_cv_exeext" >&6; }
   3957 
   3958 rm -f conftest.$ac_ext
   3959 EXEEXT=$ac_cv_exeext
   3960 ac_exeext=$EXEEXT
   3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 #include <stdio.h>
   3964 int
   3965 main (void)
   3966 {
   3967 FILE *f = fopen ("conftest.out", "w");
   3968  if (!f)
   3969   return 1;
   3970  return ferror (f) || fclose (f) != 0;
   3971 
   3972   ;
   3973   return 0;
   3974 }
   3975 _ACEOF
   3976 ac_clean_files="$ac_clean_files conftest.out"
   3977 # Check that the compiler produces executables we can run.  If not, either
   3978 # the compiler is broken, or we cross compile.
   3979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3980 printf %s "checking whether we are cross compiling... " >&6; }
   3981 if test "$cross_compiling" != yes; then
   3982   { { ac_try="$ac_link"
   3983 case "(($ac_try" in
   3984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3985   *) ac_try_echo=$ac_try;;
   3986 esac
   3987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3988 printf "%s\n" "$ac_try_echo"; } >&5
   3989   (eval "$ac_link") 2>&5
   3990   ac_status=$?
   3991   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3992   test $ac_status = 0; }
   3993   if { ac_try='./conftest$ac_cv_exeext'
   3994   { { case "(($ac_try" in
   3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3996   *) ac_try_echo=$ac_try;;
   3997 esac
   3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3999 printf "%s\n" "$ac_try_echo"; } >&5
   4000   (eval "$ac_try") 2>&5
   4001   ac_status=$?
   4002   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4003   test $ac_status = 0; }; }; then
   4004     cross_compiling=no
   4005   else
   4006     if test "$cross_compiling" = maybe; then
   4007 	cross_compiling=yes
   4008     else
   4009 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4010 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4011 as_fn_error 77 "cannot run C compiled programs.
   4012 If you meant to cross compile, use '--host'.
   4013 See 'config.log' for more details" "$LINENO" 5; }
   4014     fi
   4015   fi
   4016 fi
   4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4018 printf "%s\n" "$cross_compiling" >&6; }
   4019 
   4020 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4021   conftest.o conftest.obj conftest.out
   4022 ac_clean_files=$ac_clean_files_save
   4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4024 printf %s "checking for suffix of object files... " >&6; }
   4025 if test ${ac_cv_objext+y}
   4026 then :
   4027   printf %s "(cached) " >&6
   4028 else case e in #(
   4029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4030 /* end confdefs.h.  */
   4031 
   4032 int
   4033 main (void)
   4034 {
   4035 
   4036   ;
   4037   return 0;
   4038 }
   4039 _ACEOF
   4040 rm -f conftest.o conftest.obj
   4041 if { { ac_try="$ac_compile"
   4042 case "(($ac_try" in
   4043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4044   *) ac_try_echo=$ac_try;;
   4045 esac
   4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4047 printf "%s\n" "$ac_try_echo"; } >&5
   4048   (eval "$ac_compile") 2>&5
   4049   ac_status=$?
   4050   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4051   test $ac_status = 0; }
   4052 then :
   4053   for ac_file in conftest.o conftest.obj conftest.*; do
   4054   test -f "$ac_file" || continue;
   4055   case $ac_file in
   4056     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4057     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4058        break;;
   4059   esac
   4060 done
   4061 else case e in #(
   4062   e) printf "%s\n" "$as_me: failed program was:" >&5
   4063 sed 's/^/| /' conftest.$ac_ext >&5
   4064 
   4065 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4066 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4067 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4068 See 'config.log' for more details" "$LINENO" 5; } ;;
   4069 esac
   4070 fi
   4071 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4072 esac
   4073 fi
   4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4075 printf "%s\n" "$ac_cv_objext" >&6; }
   4076 OBJEXT=$ac_cv_objext
   4077 ac_objext=$OBJEXT
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4079 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4080 if test ${ac_cv_c_compiler_gnu+y}
   4081 then :
   4082   printf %s "(cached) " >&6
   4083 else case e in #(
   4084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4085 /* end confdefs.h.  */
   4086 
   4087 int
   4088 main (void)
   4089 {
   4090 #ifndef __GNUC__
   4091        choke me
   4092 #endif
   4093 
   4094   ;
   4095   return 0;
   4096 }
   4097 _ACEOF
   4098 if ac_fn_c_try_compile "$LINENO"
   4099 then :
   4100   ac_compiler_gnu=yes
   4101 else case e in #(
   4102   e) ac_compiler_gnu=no ;;
   4103 esac
   4104 fi
   4105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4106 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4107  ;;
   4108 esac
   4109 fi
   4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4111 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4113 
   4114 if test $ac_compiler_gnu = yes; then
   4115   GCC=yes
   4116 else
   4117   GCC=
   4118 fi
   4119 ac_test_CFLAGS=${CFLAGS+y}
   4120 ac_save_CFLAGS=$CFLAGS
   4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4122 printf %s "checking whether $CC accepts -g... " >&6; }
   4123 if test ${ac_cv_prog_cc_g+y}
   4124 then :
   4125   printf %s "(cached) " >&6
   4126 else case e in #(
   4127   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4128    ac_c_werror_flag=yes
   4129    ac_cv_prog_cc_g=no
   4130    CFLAGS="-g"
   4131    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4132 /* end confdefs.h.  */
   4133 
   4134 int
   4135 main (void)
   4136 {
   4137 
   4138   ;
   4139   return 0;
   4140 }
   4141 _ACEOF
   4142 if ac_fn_c_try_compile "$LINENO"
   4143 then :
   4144   ac_cv_prog_cc_g=yes
   4145 else case e in #(
   4146   e) CFLAGS=""
   4147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4148 /* end confdefs.h.  */
   4149 
   4150 int
   4151 main (void)
   4152 {
   4153 
   4154   ;
   4155   return 0;
   4156 }
   4157 _ACEOF
   4158 if ac_fn_c_try_compile "$LINENO"
   4159 then :
   4160 
   4161 else case e in #(
   4162   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4163 	 CFLAGS="-g"
   4164 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4165 /* end confdefs.h.  */
   4166 
   4167 int
   4168 main (void)
   4169 {
   4170 
   4171   ;
   4172   return 0;
   4173 }
   4174 _ACEOF
   4175 if ac_fn_c_try_compile "$LINENO"
   4176 then :
   4177   ac_cv_prog_cc_g=yes
   4178 fi
   4179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4180 esac
   4181 fi
   4182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4183 esac
   4184 fi
   4185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4186    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4187 esac
   4188 fi
   4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4190 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4191 if test $ac_test_CFLAGS; then
   4192   CFLAGS=$ac_save_CFLAGS
   4193 elif test $ac_cv_prog_cc_g = yes; then
   4194   if test "$GCC" = yes; then
   4195     CFLAGS="-g -O2"
   4196   else
   4197     CFLAGS="-g"
   4198   fi
   4199 else
   4200   if test "$GCC" = yes; then
   4201     CFLAGS="-O2"
   4202   else
   4203     CFLAGS=
   4204   fi
   4205 fi
   4206 ac_prog_cc_stdc=no
   4207 if test x$ac_prog_cc_stdc = xno
   4208 then :
   4209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4210 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4211 if test ${ac_cv_prog_cc_c11+y}
   4212 then :
   4213   printf %s "(cached) " >&6
   4214 else case e in #(
   4215   e) ac_cv_prog_cc_c11=no
   4216 ac_save_CC=$CC
   4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4218 /* end confdefs.h.  */
   4219 $ac_c_conftest_c11_program
   4220 _ACEOF
   4221 for ac_arg in '' -std=gnu11
   4222 do
   4223   CC="$ac_save_CC $ac_arg"
   4224   if ac_fn_c_try_compile "$LINENO"
   4225 then :
   4226   ac_cv_prog_cc_c11=$ac_arg
   4227 fi
   4228 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4229   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4230 done
   4231 rm -f conftest.$ac_ext
   4232 CC=$ac_save_CC ;;
   4233 esac
   4234 fi
   4235 
   4236 if test "x$ac_cv_prog_cc_c11" = xno
   4237 then :
   4238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4239 printf "%s\n" "unsupported" >&6; }
   4240 else case e in #(
   4241   e) if test "x$ac_cv_prog_cc_c11" = x
   4242 then :
   4243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4244 printf "%s\n" "none needed" >&6; }
   4245 else case e in #(
   4246   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4247 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4248      CC="$CC $ac_cv_prog_cc_c11" ;;
   4249 esac
   4250 fi
   4251   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4252   ac_prog_cc_stdc=c11 ;;
   4253 esac
   4254 fi
   4255 fi
   4256 if test x$ac_prog_cc_stdc = xno
   4257 then :
   4258   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4259 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4260 if test ${ac_cv_prog_cc_c99+y}
   4261 then :
   4262   printf %s "(cached) " >&6
   4263 else case e in #(
   4264   e) ac_cv_prog_cc_c99=no
   4265 ac_save_CC=$CC
   4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4267 /* end confdefs.h.  */
   4268 $ac_c_conftest_c99_program
   4269 _ACEOF
   4270 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4271 do
   4272   CC="$ac_save_CC $ac_arg"
   4273   if ac_fn_c_try_compile "$LINENO"
   4274 then :
   4275   ac_cv_prog_cc_c99=$ac_arg
   4276 fi
   4277 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4278   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4279 done
   4280 rm -f conftest.$ac_ext
   4281 CC=$ac_save_CC ;;
   4282 esac
   4283 fi
   4284 
   4285 if test "x$ac_cv_prog_cc_c99" = xno
   4286 then :
   4287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4288 printf "%s\n" "unsupported" >&6; }
   4289 else case e in #(
   4290   e) if test "x$ac_cv_prog_cc_c99" = x
   4291 then :
   4292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4293 printf "%s\n" "none needed" >&6; }
   4294 else case e in #(
   4295   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4296 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4297      CC="$CC $ac_cv_prog_cc_c99" ;;
   4298 esac
   4299 fi
   4300   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4301   ac_prog_cc_stdc=c99 ;;
   4302 esac
   4303 fi
   4304 fi
   4305 if test x$ac_prog_cc_stdc = xno
   4306 then :
   4307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4308 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4309 if test ${ac_cv_prog_cc_c89+y}
   4310 then :
   4311   printf %s "(cached) " >&6
   4312 else case e in #(
   4313   e) ac_cv_prog_cc_c89=no
   4314 ac_save_CC=$CC
   4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4316 /* end confdefs.h.  */
   4317 $ac_c_conftest_c89_program
   4318 _ACEOF
   4319 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4320 do
   4321   CC="$ac_save_CC $ac_arg"
   4322   if ac_fn_c_try_compile "$LINENO"
   4323 then :
   4324   ac_cv_prog_cc_c89=$ac_arg
   4325 fi
   4326 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4327   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4328 done
   4329 rm -f conftest.$ac_ext
   4330 CC=$ac_save_CC ;;
   4331 esac
   4332 fi
   4333 
   4334 if test "x$ac_cv_prog_cc_c89" = xno
   4335 then :
   4336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4337 printf "%s\n" "unsupported" >&6; }
   4338 else case e in #(
   4339   e) if test "x$ac_cv_prog_cc_c89" = x
   4340 then :
   4341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4342 printf "%s\n" "none needed" >&6; }
   4343 else case e in #(
   4344   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4345 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4346      CC="$CC $ac_cv_prog_cc_c89" ;;
   4347 esac
   4348 fi
   4349   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4350   ac_prog_cc_stdc=c89 ;;
   4351 esac
   4352 fi
   4353 fi
   4354 
   4355 ac_ext=c
   4356 ac_cpp='$CPP $CPPFLAGS'
   4357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4360 
   4361 
   4362   ac_ext=c
   4363 ac_cpp='$CPP $CPPFLAGS'
   4364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4368 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4369 if test ${am_cv_prog_cc_c_o+y}
   4370 then :
   4371   printf %s "(cached) " >&6
   4372 else case e in #(
   4373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4374 /* end confdefs.h.  */
   4375 
   4376 int
   4377 main (void)
   4378 {
   4379 
   4380   ;
   4381   return 0;
   4382 }
   4383 _ACEOF
   4384   # Make sure it works both with $CC and with simple cc.
   4385   # Following AC_PROG_CC_C_O, we do the test twice because some
   4386   # compilers refuse to overwrite an existing .o file with -o,
   4387   # though they will create one.
   4388   am_cv_prog_cc_c_o=yes
   4389   for am_i in 1 2; do
   4390     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4391    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4392    ac_status=$?
   4393    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4394    (exit $ac_status); } \
   4395          && test -f conftest2.$ac_objext; then
   4396       : OK
   4397     else
   4398       am_cv_prog_cc_c_o=no
   4399       break
   4400     fi
   4401   done
   4402   rm -f core conftest*
   4403   unset am_i ;;
   4404 esac
   4405 fi
   4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4407 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4408 if test "$am_cv_prog_cc_c_o" != yes; then
   4409    # Losing compiler, so override with the script.
   4410    # FIXME: It is wrong to rewrite CC.
   4411    # But if we don't then we get into trouble of one sort or another.
   4412    # A longer-term fix would be to have automake use am__CC in this case,
   4413    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4414    CC="$am_aux_dir/compile $CC"
   4415 fi
   4416 ac_ext=c
   4417 ac_cpp='$CPP $CPPFLAGS'
   4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4421 
   4422 
   4423 depcc="$CC"   am_compiler_list=
   4424 
   4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4426 printf %s "checking dependency style of $depcc... " >&6; }
   4427 if test ${am_cv_CC_dependencies_compiler_type+y}
   4428 then :
   4429   printf %s "(cached) " >&6
   4430 else case e in #(
   4431   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4432   # We make a subdir and do the tests there.  Otherwise we can end up
   4433   # making bogus files that we don't know about and never remove.  For
   4434   # instance it was reported that on HP-UX the gcc test will end up
   4435   # making a dummy file named 'D' -- because '-MD' means "put the output
   4436   # in D".
   4437   rm -rf conftest.dir
   4438   mkdir conftest.dir
   4439   # Copy depcomp to subdir because otherwise we won't find it if we're
   4440   # using a relative directory.
   4441   cp "$am_depcomp" conftest.dir
   4442   cd conftest.dir
   4443   # We will build objects and dependencies in a subdirectory because
   4444   # it helps to detect inapplicable dependency modes.  For instance
   4445   # both Tru64's cc and ICC support -MD to output dependencies as a
   4446   # side effect of compilation, but ICC will put the dependencies in
   4447   # the current directory while Tru64 will put them in the object
   4448   # directory.
   4449   mkdir sub
   4450 
   4451   am_cv_CC_dependencies_compiler_type=none
   4452   if test "$am_compiler_list" = ""; then
   4453      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4454   fi
   4455   am__universal=false
   4456   case " $depcc " in #(
   4457      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4458      esac
   4459 
   4460   for depmode in $am_compiler_list; do
   4461     # Setup a source with many dependencies, because some compilers
   4462     # like to wrap large dependency lists on column 80 (with \), and
   4463     # we should not choose a depcomp mode which is confused by this.
   4464     #
   4465     # We need to recreate these files for each test, as the compiler may
   4466     # overwrite some of them when testing with obscure command lines.
   4467     # This happens at least with the AIX C compiler.
   4468     : > sub/conftest.c
   4469     for i in 1 2 3 4 5 6; do
   4470       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4471       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4472       # Solaris 10 /bin/sh.
   4473       echo '/* dummy */' > sub/conftst$i.h
   4474     done
   4475     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4476 
   4477     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4478     # mode.  It turns out that the SunPro C++ compiler does not properly
   4479     # handle '-M -o', and we need to detect this.  Also, some Intel
   4480     # versions had trouble with output in subdirs.
   4481     am__obj=sub/conftest.${OBJEXT-o}
   4482     am__minus_obj="-o $am__obj"
   4483     case $depmode in
   4484     gcc)
   4485       # This depmode causes a compiler race in universal mode.
   4486       test "$am__universal" = false || continue
   4487       ;;
   4488     nosideeffect)
   4489       # After this tag, mechanisms are not by side-effect, so they'll
   4490       # only be used when explicitly requested.
   4491       if test "x$enable_dependency_tracking" = xyes; then
   4492 	continue
   4493       else
   4494 	break
   4495       fi
   4496       ;;
   4497     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4498       # This compiler won't grok '-c -o', but also, the minuso test has
   4499       # not run yet.  These depmodes are late enough in the game, and
   4500       # so weak that their functioning should not be impacted.
   4501       am__obj=conftest.${OBJEXT-o}
   4502       am__minus_obj=
   4503       ;;
   4504     none) break ;;
   4505     esac
   4506     if depmode=$depmode \
   4507        source=sub/conftest.c object=$am__obj \
   4508        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4509        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4510          >/dev/null 2>conftest.err &&
   4511        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4512        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4513        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4514        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4515       # icc doesn't choke on unknown options, it will just issue warnings
   4516       # or remarks (even with -Werror).  So we grep stderr for any message
   4517       # that says an option was ignored or not supported.
   4518       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4519       #   icc: Command line warning: ignoring option '-M'; no argument required
   4520       # The diagnosis changed in icc 8.0:
   4521       #   icc: Command line remark: option '-MP' not supported
   4522       if (grep 'ignoring option' conftest.err ||
   4523           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4524         am_cv_CC_dependencies_compiler_type=$depmode
   4525         break
   4526       fi
   4527     fi
   4528   done
   4529 
   4530   cd ..
   4531   rm -rf conftest.dir
   4532 else
   4533   am_cv_CC_dependencies_compiler_type=none
   4534 fi
   4535  ;;
   4536 esac
   4537 fi
   4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4539 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4540 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4541 
   4542  if
   4543   test "x$enable_dependency_tracking" != xno \
   4544   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4545   am__fastdepCC_TRUE=
   4546   am__fastdepCC_FALSE='#'
   4547 else
   4548   am__fastdepCC_TRUE='#'
   4549   am__fastdepCC_FALSE=
   4550 fi
   4551 
   4552 
   4553 
   4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4555 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4556 if test ${ac_cv_c_undeclared_builtin_options+y}
   4557 then :
   4558   printf %s "(cached) " >&6
   4559 else case e in #(
   4560   e) ac_save_CFLAGS=$CFLAGS
   4561    ac_cv_c_undeclared_builtin_options='cannot detect'
   4562    for ac_arg in '' -fno-builtin; do
   4563      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4564      # This test program should *not* compile successfully.
   4565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4566 /* end confdefs.h.  */
   4567 
   4568 int
   4569 main (void)
   4570 {
   4571 (void) strchr;
   4572   ;
   4573   return 0;
   4574 }
   4575 _ACEOF
   4576 if ac_fn_c_try_compile "$LINENO"
   4577 then :
   4578 
   4579 else case e in #(
   4580   e) # This test program should compile successfully.
   4581         # No library function is consistently available on
   4582         # freestanding implementations, so test against a dummy
   4583         # declaration.  Include always-available headers on the
   4584         # off chance that they somehow elicit warnings.
   4585         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4586 /* end confdefs.h.  */
   4587 #include <float.h>
   4588 #include <limits.h>
   4589 #include <stdarg.h>
   4590 #include <stddef.h>
   4591 extern void ac_decl (int, char *);
   4592 
   4593 int
   4594 main (void)
   4595 {
   4596 (void) ac_decl (0, (char *) 0);
   4597   (void) ac_decl;
   4598 
   4599   ;
   4600   return 0;
   4601 }
   4602 _ACEOF
   4603 if ac_fn_c_try_compile "$LINENO"
   4604 then :
   4605   if test x"$ac_arg" = x
   4606 then :
   4607   ac_cv_c_undeclared_builtin_options='none needed'
   4608 else case e in #(
   4609   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4610 esac
   4611 fi
   4612           break
   4613 fi
   4614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4615 esac
   4616 fi
   4617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4618     done
   4619     CFLAGS=$ac_save_CFLAGS
   4620    ;;
   4621 esac
   4622 fi
   4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4624 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4625   case $ac_cv_c_undeclared_builtin_options in #(
   4626   'cannot detect') :
   4627     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4628 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4629 as_fn_error $? "cannot make $CC report undeclared builtins
   4630 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4631   'none needed') :
   4632     ac_c_undeclared_builtin_options='' ;; #(
   4633   *) :
   4634     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4635 esac
   4636 
   4637 ac_header= ac_cache=
   4638 for ac_item in $ac_header_c_list
   4639 do
   4640   if test $ac_cache; then
   4641     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4642     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4643       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4644     fi
   4645     ac_header= ac_cache=
   4646   elif test $ac_header; then
   4647     ac_cache=$ac_item
   4648   else
   4649     ac_header=$ac_item
   4650   fi
   4651 done
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4661 then :
   4662 
   4663 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4664 
   4665 fi
   4666 
   4667 
   4668 
   4669 
   4670 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4671 if test "x$ac_cv_have_decl___clang__" = xyes
   4672 then :
   4673   CLANGCC="yes"
   4674 else case e in #(
   4675   e) CLANGCC="no" ;;
   4676 esac
   4677 fi
   4678 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4679 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4680 then :
   4681   INTELCC="yes"
   4682 else case e in #(
   4683   e) INTELCC="no" ;;
   4684 esac
   4685 fi
   4686 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4687 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4688 then :
   4689   SUNCC="yes"
   4690 else case e in #(
   4691   e) SUNCC="no" ;;
   4692 esac
   4693 fi
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4703 	if test -n "$ac_tool_prefix"; then
   4704   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4705 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4707 printf %s "checking for $ac_word... " >&6; }
   4708 if test ${ac_cv_path_PKG_CONFIG+y}
   4709 then :
   4710   printf %s "(cached) " >&6
   4711 else case e in #(
   4712   e) case $PKG_CONFIG in
   4713   [\\/]* | ?:[\\/]*)
   4714   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4715   ;;
   4716   *)
   4717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4718 for as_dir in $PATH
   4719 do
   4720   IFS=$as_save_IFS
   4721   case $as_dir in #(((
   4722     '') as_dir=./ ;;
   4723     */) ;;
   4724     *) as_dir=$as_dir/ ;;
   4725   esac
   4726     for ac_exec_ext in '' $ac_executable_extensions; do
   4727   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4728     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4729     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4730     break 2
   4731   fi
   4732 done
   4733   done
   4734 IFS=$as_save_IFS
   4735 
   4736   ;;
   4737 esac ;;
   4738 esac
   4739 fi
   4740 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4741 if test -n "$PKG_CONFIG"; then
   4742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4743 printf "%s\n" "$PKG_CONFIG" >&6; }
   4744 else
   4745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4746 printf "%s\n" "no" >&6; }
   4747 fi
   4748 
   4749 
   4750 fi
   4751 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4752   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4753   # Extract the first word of "pkg-config", so it can be a program name with args.
   4754 set dummy pkg-config; ac_word=$2
   4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4756 printf %s "checking for $ac_word... " >&6; }
   4757 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4758 then :
   4759   printf %s "(cached) " >&6
   4760 else case e in #(
   4761   e) case $ac_pt_PKG_CONFIG in
   4762   [\\/]* | ?:[\\/]*)
   4763   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4764   ;;
   4765   *)
   4766   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4767 for as_dir in $PATH
   4768 do
   4769   IFS=$as_save_IFS
   4770   case $as_dir in #(((
   4771     '') as_dir=./ ;;
   4772     */) ;;
   4773     *) as_dir=$as_dir/ ;;
   4774   esac
   4775     for ac_exec_ext in '' $ac_executable_extensions; do
   4776   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4777     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4779     break 2
   4780   fi
   4781 done
   4782   done
   4783 IFS=$as_save_IFS
   4784 
   4785   ;;
   4786 esac ;;
   4787 esac
   4788 fi
   4789 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4790 if test -n "$ac_pt_PKG_CONFIG"; then
   4791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4792 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4793 else
   4794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4795 printf "%s\n" "no" >&6; }
   4796 fi
   4797 
   4798   if test "x$ac_pt_PKG_CONFIG" = x; then
   4799     PKG_CONFIG=""
   4800   else
   4801     case $cross_compiling:$ac_tool_warned in
   4802 yes:)
   4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4805 ac_tool_warned=yes ;;
   4806 esac
   4807     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4808   fi
   4809 else
   4810   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4811 fi
   4812 
   4813 fi
   4814 if test -n "$PKG_CONFIG"; then
   4815 	_pkg_min_version=0.9.0
   4816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4817 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4818 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4820 printf "%s\n" "yes" >&6; }
   4821 	else
   4822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4823 printf "%s\n" "no" >&6; }
   4824 		PKG_CONFIG=""
   4825 	fi
   4826 fi
   4827 
   4828 
   4829   # Make sure we can run config.sub.
   4830 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4831   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4832 
   4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4834 printf %s "checking build system type... " >&6; }
   4835 if test ${ac_cv_build+y}
   4836 then :
   4837   printf %s "(cached) " >&6
   4838 else case e in #(
   4839   e) ac_build_alias=$build_alias
   4840 test "x$ac_build_alias" = x &&
   4841   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4842 test "x$ac_build_alias" = x &&
   4843   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4844 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4845   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4846  ;;
   4847 esac
   4848 fi
   4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4850 printf "%s\n" "$ac_cv_build" >&6; }
   4851 case $ac_cv_build in
   4852 *-*-*) ;;
   4853 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4854 esac
   4855 build=$ac_cv_build
   4856 ac_save_IFS=$IFS; IFS='-'
   4857 set x $ac_cv_build
   4858 shift
   4859 build_cpu=$1
   4860 build_vendor=$2
   4861 shift; shift
   4862 # Remember, the first character of IFS is used to create $*,
   4863 # except with old shells:
   4864 build_os=$*
   4865 IFS=$ac_save_IFS
   4866 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4867 
   4868 
   4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4870 printf %s "checking host system type... " >&6; }
   4871 if test ${ac_cv_host+y}
   4872 then :
   4873   printf %s "(cached) " >&6
   4874 else case e in #(
   4875   e) if test "x$host_alias" = x; then
   4876   ac_cv_host=$ac_cv_build
   4877 else
   4878   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4879     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4880 fi
   4881  ;;
   4882 esac
   4883 fi
   4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4885 printf "%s\n" "$ac_cv_host" >&6; }
   4886 case $ac_cv_host in
   4887 *-*-*) ;;
   4888 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4889 esac
   4890 host=$ac_cv_host
   4891 ac_save_IFS=$IFS; IFS='-'
   4892 set x $ac_cv_host
   4893 shift
   4894 host_cpu=$1
   4895 host_vendor=$2
   4896 shift; shift
   4897 # Remember, the first character of IFS is used to create $*,
   4898 # except with old shells:
   4899 host_os=$*
   4900 IFS=$ac_save_IFS
   4901 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4902 
   4903 
   4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4905 printf %s "checking for a sed that does not truncate output... " >&6; }
   4906 if test ${ac_cv_path_SED+y}
   4907 then :
   4908   printf %s "(cached) " >&6
   4909 else case e in #(
   4910   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4911      for ac_i in 1 2 3 4 5 6 7; do
   4912        ac_script="$ac_script$as_nl$ac_script"
   4913      done
   4914      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4915      { ac_script=; unset ac_script;}
   4916      if test -z "$SED"; then
   4917   ac_path_SED_found=false
   4918   # Loop through the user's path and test for each of PROGNAME-LIST
   4919   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4920 for as_dir in $PATH
   4921 do
   4922   IFS=$as_save_IFS
   4923   case $as_dir in #(((
   4924     '') as_dir=./ ;;
   4925     */) ;;
   4926     *) as_dir=$as_dir/ ;;
   4927   esac
   4928     for ac_prog in sed gsed
   4929    do
   4930     for ac_exec_ext in '' $ac_executable_extensions; do
   4931       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4932       as_fn_executable_p "$ac_path_SED" || continue
   4933 # Check for GNU ac_path_SED and select it if it is found.
   4934   # Check for GNU $ac_path_SED
   4935 case `"$ac_path_SED" --version 2>&1` in #(
   4936 *GNU*)
   4937   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4938 #(
   4939 *)
   4940   ac_count=0
   4941   printf %s 0123456789 >"conftest.in"
   4942   while :
   4943   do
   4944     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4945     mv "conftest.tmp" "conftest.in"
   4946     cp "conftest.in" "conftest.nl"
   4947     printf "%s\n" '' >> "conftest.nl"
   4948     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4949     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4950     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4951     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4952       # Best one so far, save it but keep looking for a better one
   4953       ac_cv_path_SED="$ac_path_SED"
   4954       ac_path_SED_max=$ac_count
   4955     fi
   4956     # 10*(2^10) chars as input seems more than enough
   4957     test $ac_count -gt 10 && break
   4958   done
   4959   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4960 esac
   4961 
   4962       $ac_path_SED_found && break 3
   4963     done
   4964   done
   4965   done
   4966 IFS=$as_save_IFS
   4967   if test -z "$ac_cv_path_SED"; then
   4968     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4969   fi
   4970 else
   4971   ac_cv_path_SED=$SED
   4972 fi
   4973  ;;
   4974 esac
   4975 fi
   4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4977 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4978  SED="$ac_cv_path_SED"
   4979   rm -f conftest.sed
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 # Check whether --enable-selective-werror was given.
   4987 if test ${enable_selective_werror+y}
   4988 then :
   4989   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4990 else case e in #(
   4991   e) SELECTIVE_WERROR=yes ;;
   4992 esac
   4993 fi
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5000 if test "x$SUNCC" = "xyes"; then
   5001     BASE_CFLAGS="-v"
   5002 else
   5003     BASE_CFLAGS=""
   5004 fi
   5005 
   5006 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 xorg_testset_save_CFLAGS="$CFLAGS"
   5021 
   5022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5027 then :
   5028   printf %s "(cached) " >&6
   5029 else case e in #(
   5030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5031 /* end confdefs.h.  */
   5032 int i;
   5033 _ACEOF
   5034 if ac_fn_c_try_compile "$LINENO"
   5035 then :
   5036   xorg_cv_cc_flag_unknown_warning_option=yes
   5037 else case e in #(
   5038   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5039 esac
   5040 fi
   5041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5042 esac
   5043 fi
   5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5045 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5047 	CFLAGS="$xorg_testset_save_CFLAGS"
   5048 fi
   5049 
   5050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5053 	fi
   5054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5056 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5057 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5058 then :
   5059   printf %s "(cached) " >&6
   5060 else case e in #(
   5061   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5062 /* end confdefs.h.  */
   5063 int i;
   5064 _ACEOF
   5065 if ac_fn_c_try_compile "$LINENO"
   5066 then :
   5067   xorg_cv_cc_flag_unused_command_line_argument=yes
   5068 else case e in #(
   5069   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5070 esac
   5071 fi
   5072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5073 esac
   5074 fi
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5076 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5078 	CFLAGS="$xorg_testset_save_CFLAGS"
   5079 fi
   5080 
   5081 found="no"
   5082 
   5083 	if test $found = "no" ; then
   5084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5086 		fi
   5087 
   5088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5090 		fi
   5091 
   5092 		CFLAGS="$CFLAGS -Wall"
   5093 
   5094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5095 printf %s "checking if $CC supports -Wall... " >&6; }
   5096 		cacheid=xorg_cv_cc_flag__Wall
   5097 		if eval test \${$cacheid+y}
   5098 then :
   5099   printf %s "(cached) " >&6
   5100 else case e in #(
   5101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5102 /* end confdefs.h.  */
   5103 int i;
   5104 int
   5105 main (void)
   5106 {
   5107 
   5108   ;
   5109   return 0;
   5110 }
   5111 _ACEOF
   5112 if ac_fn_c_try_link "$LINENO"
   5113 then :
   5114   eval $cacheid=yes
   5115 else case e in #(
   5116   e) eval $cacheid=no ;;
   5117 esac
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5120     conftest$ac_exeext conftest.$ac_ext ;;
   5121 esac
   5122 fi
   5123 
   5124 
   5125 		CFLAGS="$xorg_testset_save_CFLAGS"
   5126 
   5127 		eval supported=\$$cacheid
   5128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5129 printf "%s\n" "$supported" >&6; }
   5130 		if test "$supported" = "yes" ; then
   5131 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5132 			found="yes"
   5133 		fi
   5134 	fi
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 xorg_testset_save_CFLAGS="$CFLAGS"
   5151 
   5152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5157 then :
   5158   printf %s "(cached) " >&6
   5159 else case e in #(
   5160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 _ACEOF
   5164 if ac_fn_c_try_compile "$LINENO"
   5165 then :
   5166   xorg_cv_cc_flag_unknown_warning_option=yes
   5167 else case e in #(
   5168   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5169 esac
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5172 esac
   5173 fi
   5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5175 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5176 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5177 	CFLAGS="$xorg_testset_save_CFLAGS"
   5178 fi
   5179 
   5180 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5181 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5182 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5183 	fi
   5184 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5185 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5186 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5187 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5188 then :
   5189   printf %s "(cached) " >&6
   5190 else case e in #(
   5191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5192 /* end confdefs.h.  */
   5193 int i;
   5194 _ACEOF
   5195 if ac_fn_c_try_compile "$LINENO"
   5196 then :
   5197   xorg_cv_cc_flag_unused_command_line_argument=yes
   5198 else case e in #(
   5199   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5200 esac
   5201 fi
   5202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5203 esac
   5204 fi
   5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5206 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5208 	CFLAGS="$xorg_testset_save_CFLAGS"
   5209 fi
   5210 
   5211 found="no"
   5212 
   5213 	if test $found = "no" ; then
   5214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5216 		fi
   5217 
   5218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5220 		fi
   5221 
   5222 		CFLAGS="$CFLAGS -Wpointer-arith"
   5223 
   5224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5225 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5226 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5227 		if eval test \${$cacheid+y}
   5228 then :
   5229   printf %s "(cached) " >&6
   5230 else case e in #(
   5231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 int i;
   5234 int
   5235 main (void)
   5236 {
   5237 
   5238   ;
   5239   return 0;
   5240 }
   5241 _ACEOF
   5242 if ac_fn_c_try_link "$LINENO"
   5243 then :
   5244   eval $cacheid=yes
   5245 else case e in #(
   5246   e) eval $cacheid=no ;;
   5247 esac
   5248 fi
   5249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5250     conftest$ac_exeext conftest.$ac_ext ;;
   5251 esac
   5252 fi
   5253 
   5254 
   5255 		CFLAGS="$xorg_testset_save_CFLAGS"
   5256 
   5257 		eval supported=\$$cacheid
   5258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5259 printf "%s\n" "$supported" >&6; }
   5260 		if test "$supported" = "yes" ; then
   5261 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5262 			found="yes"
   5263 		fi
   5264 	fi
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 xorg_testset_save_CFLAGS="$CFLAGS"
   5281 
   5282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5285 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5286 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5287 then :
   5288   printf %s "(cached) " >&6
   5289 else case e in #(
   5290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5291 /* end confdefs.h.  */
   5292 int i;
   5293 _ACEOF
   5294 if ac_fn_c_try_compile "$LINENO"
   5295 then :
   5296   xorg_cv_cc_flag_unknown_warning_option=yes
   5297 else case e in #(
   5298   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5299 esac
   5300 fi
   5301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5302 esac
   5303 fi
   5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5307 	CFLAGS="$xorg_testset_save_CFLAGS"
   5308 fi
   5309 
   5310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5313 	fi
   5314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5318 then :
   5319   printf %s "(cached) " >&6
   5320 else case e in #(
   5321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 _ACEOF
   5325 if ac_fn_c_try_compile "$LINENO"
   5326 then :
   5327   xorg_cv_cc_flag_unused_command_line_argument=yes
   5328 else case e in #(
   5329   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5330 esac
   5331 fi
   5332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5333 esac
   5334 fi
   5335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5338 	CFLAGS="$xorg_testset_save_CFLAGS"
   5339 fi
   5340 
   5341 found="no"
   5342 
   5343 	if test $found = "no" ; then
   5344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 		fi
   5347 
   5348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5350 		fi
   5351 
   5352 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5353 
   5354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5355 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5356 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5357 		if eval test \${$cacheid+y}
   5358 then :
   5359   printf %s "(cached) " >&6
   5360 else case e in #(
   5361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5362 /* end confdefs.h.  */
   5363 int i;
   5364 int
   5365 main (void)
   5366 {
   5367 
   5368   ;
   5369   return 0;
   5370 }
   5371 _ACEOF
   5372 if ac_fn_c_try_link "$LINENO"
   5373 then :
   5374   eval $cacheid=yes
   5375 else case e in #(
   5376   e) eval $cacheid=no ;;
   5377 esac
   5378 fi
   5379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5380     conftest$ac_exeext conftest.$ac_ext ;;
   5381 esac
   5382 fi
   5383 
   5384 
   5385 		CFLAGS="$xorg_testset_save_CFLAGS"
   5386 
   5387 		eval supported=\$$cacheid
   5388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5389 printf "%s\n" "$supported" >&6; }
   5390 		if test "$supported" = "yes" ; then
   5391 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5392 			found="yes"
   5393 		fi
   5394 	fi
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 xorg_testset_save_CFLAGS="$CFLAGS"
   5411 
   5412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5417 then :
   5418   printf %s "(cached) " >&6
   5419 else case e in #(
   5420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 _ACEOF
   5424 if ac_fn_c_try_compile "$LINENO"
   5425 then :
   5426   xorg_cv_cc_flag_unknown_warning_option=yes
   5427 else case e in #(
   5428   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5429 esac
   5430 fi
   5431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5432 esac
   5433 fi
   5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5437 	CFLAGS="$xorg_testset_save_CFLAGS"
   5438 fi
   5439 
   5440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5443 	fi
   5444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5448 then :
   5449   printf %s "(cached) " >&6
   5450 else case e in #(
   5451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 _ACEOF
   5455 if ac_fn_c_try_compile "$LINENO"
   5456 then :
   5457   xorg_cv_cc_flag_unused_command_line_argument=yes
   5458 else case e in #(
   5459   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5460 esac
   5461 fi
   5462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5463 esac
   5464 fi
   5465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5468 	CFLAGS="$xorg_testset_save_CFLAGS"
   5469 fi
   5470 
   5471 found="no"
   5472 
   5473 	if test $found = "no" ; then
   5474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5476 		fi
   5477 
   5478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5480 		fi
   5481 
   5482 		CFLAGS="$CFLAGS -Wformat=2"
   5483 
   5484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5485 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5486 		cacheid=xorg_cv_cc_flag__Wformat_2
   5487 		if eval test \${$cacheid+y}
   5488 then :
   5489   printf %s "(cached) " >&6
   5490 else case e in #(
   5491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 int i;
   5494 int
   5495 main (void)
   5496 {
   5497 
   5498   ;
   5499   return 0;
   5500 }
   5501 _ACEOF
   5502 if ac_fn_c_try_link "$LINENO"
   5503 then :
   5504   eval $cacheid=yes
   5505 else case e in #(
   5506   e) eval $cacheid=no ;;
   5507 esac
   5508 fi
   5509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5510     conftest$ac_exeext conftest.$ac_ext ;;
   5511 esac
   5512 fi
   5513 
   5514 
   5515 		CFLAGS="$xorg_testset_save_CFLAGS"
   5516 
   5517 		eval supported=\$$cacheid
   5518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5519 printf "%s\n" "$supported" >&6; }
   5520 		if test "$supported" = "yes" ; then
   5521 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5522 			found="yes"
   5523 		fi
   5524 	fi
   5525 
   5526 	if test $found = "no" ; then
   5527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5529 		fi
   5530 
   5531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5533 		fi
   5534 
   5535 		CFLAGS="$CFLAGS -Wformat"
   5536 
   5537 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5538 printf %s "checking if $CC supports -Wformat... " >&6; }
   5539 		cacheid=xorg_cv_cc_flag__Wformat
   5540 		if eval test \${$cacheid+y}
   5541 then :
   5542   printf %s "(cached) " >&6
   5543 else case e in #(
   5544   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5545 /* end confdefs.h.  */
   5546 int i;
   5547 int
   5548 main (void)
   5549 {
   5550 
   5551   ;
   5552   return 0;
   5553 }
   5554 _ACEOF
   5555 if ac_fn_c_try_link "$LINENO"
   5556 then :
   5557   eval $cacheid=yes
   5558 else case e in #(
   5559   e) eval $cacheid=no ;;
   5560 esac
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5563     conftest$ac_exeext conftest.$ac_ext ;;
   5564 esac
   5565 fi
   5566 
   5567 
   5568 		CFLAGS="$xorg_testset_save_CFLAGS"
   5569 
   5570 		eval supported=\$$cacheid
   5571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5572 printf "%s\n" "$supported" >&6; }
   5573 		if test "$supported" = "yes" ; then
   5574 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5575 			found="yes"
   5576 		fi
   5577 	fi
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 xorg_testset_save_CFLAGS="$CFLAGS"
   5596 
   5597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5602 then :
   5603   printf %s "(cached) " >&6
   5604 else case e in #(
   5605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5606 /* end confdefs.h.  */
   5607 int i;
   5608 _ACEOF
   5609 if ac_fn_c_try_compile "$LINENO"
   5610 then :
   5611   xorg_cv_cc_flag_unknown_warning_option=yes
   5612 else case e in #(
   5613   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5614 esac
   5615 fi
   5616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5617 esac
   5618 fi
   5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5620 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5622 	CFLAGS="$xorg_testset_save_CFLAGS"
   5623 fi
   5624 
   5625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5628 	fi
   5629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5633 then :
   5634   printf %s "(cached) " >&6
   5635 else case e in #(
   5636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5637 /* end confdefs.h.  */
   5638 int i;
   5639 _ACEOF
   5640 if ac_fn_c_try_compile "$LINENO"
   5641 then :
   5642   xorg_cv_cc_flag_unused_command_line_argument=yes
   5643 else case e in #(
   5644   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5645 esac
   5646 fi
   5647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5648 esac
   5649 fi
   5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5653 	CFLAGS="$xorg_testset_save_CFLAGS"
   5654 fi
   5655 
   5656 found="no"
   5657 
   5658 	if test $found = "no" ; then
   5659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 		fi
   5662 
   5663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5665 		fi
   5666 
   5667 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5668 
   5669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5670 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5671 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5672 		if eval test \${$cacheid+y}
   5673 then :
   5674   printf %s "(cached) " >&6
   5675 else case e in #(
   5676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 int
   5680 main (void)
   5681 {
   5682 
   5683   ;
   5684   return 0;
   5685 }
   5686 _ACEOF
   5687 if ac_fn_c_try_link "$LINENO"
   5688 then :
   5689   eval $cacheid=yes
   5690 else case e in #(
   5691   e) eval $cacheid=no ;;
   5692 esac
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5695     conftest$ac_exeext conftest.$ac_ext ;;
   5696 esac
   5697 fi
   5698 
   5699 
   5700 		CFLAGS="$xorg_testset_save_CFLAGS"
   5701 
   5702 		eval supported=\$$cacheid
   5703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5704 printf "%s\n" "$supported" >&6; }
   5705 		if test "$supported" = "yes" ; then
   5706 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5707 			found="yes"
   5708 		fi
   5709 	fi
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 xorg_testset_save_CFLAGS="$CFLAGS"
   5726 
   5727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5732 then :
   5733   printf %s "(cached) " >&6
   5734 else case e in #(
   5735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5736 /* end confdefs.h.  */
   5737 int i;
   5738 _ACEOF
   5739 if ac_fn_c_try_compile "$LINENO"
   5740 then :
   5741   xorg_cv_cc_flag_unknown_warning_option=yes
   5742 else case e in #(
   5743   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5744 esac
   5745 fi
   5746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5747 esac
   5748 fi
   5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 	fi
   5759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5763 then :
   5764   printf %s "(cached) " >&6
   5765 else case e in #(
   5766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 _ACEOF
   5770 if ac_fn_c_try_compile "$LINENO"
   5771 then :
   5772   xorg_cv_cc_flag_unused_command_line_argument=yes
   5773 else case e in #(
   5774   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5775 esac
   5776 fi
   5777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5778 esac
   5779 fi
   5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5781 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5783 	CFLAGS="$xorg_testset_save_CFLAGS"
   5784 fi
   5785 
   5786 found="no"
   5787 
   5788 	if test $found = "no" ; then
   5789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 		fi
   5792 
   5793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5795 		fi
   5796 
   5797 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5798 
   5799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5800 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5801 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5802 		if eval test \${$cacheid+y}
   5803 then :
   5804   printf %s "(cached) " >&6
   5805 else case e in #(
   5806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 int
   5810 main (void)
   5811 {
   5812 
   5813   ;
   5814   return 0;
   5815 }
   5816 _ACEOF
   5817 if ac_fn_c_try_link "$LINENO"
   5818 then :
   5819   eval $cacheid=yes
   5820 else case e in #(
   5821   e) eval $cacheid=no ;;
   5822 esac
   5823 fi
   5824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5825     conftest$ac_exeext conftest.$ac_ext ;;
   5826 esac
   5827 fi
   5828 
   5829 
   5830 		CFLAGS="$xorg_testset_save_CFLAGS"
   5831 
   5832 		eval supported=\$$cacheid
   5833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5834 printf "%s\n" "$supported" >&6; }
   5835 		if test "$supported" = "yes" ; then
   5836 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5837 			found="yes"
   5838 		fi
   5839 	fi
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 xorg_testset_save_CFLAGS="$CFLAGS"
   5856 
   5857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5860 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5861 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5862 then :
   5863   printf %s "(cached) " >&6
   5864 else case e in #(
   5865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5866 /* end confdefs.h.  */
   5867 int i;
   5868 _ACEOF
   5869 if ac_fn_c_try_compile "$LINENO"
   5870 then :
   5871   xorg_cv_cc_flag_unknown_warning_option=yes
   5872 else case e in #(
   5873   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5874 esac
   5875 fi
   5876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5877 esac
   5878 fi
   5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5882 	CFLAGS="$xorg_testset_save_CFLAGS"
   5883 fi
   5884 
   5885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 	fi
   5889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5893 then :
   5894   printf %s "(cached) " >&6
   5895 else case e in #(
   5896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 _ACEOF
   5900 if ac_fn_c_try_compile "$LINENO"
   5901 then :
   5902   xorg_cv_cc_flag_unused_command_line_argument=yes
   5903 else case e in #(
   5904   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5905 esac
   5906 fi
   5907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5908 esac
   5909 fi
   5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5911 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5913 	CFLAGS="$xorg_testset_save_CFLAGS"
   5914 fi
   5915 
   5916 found="no"
   5917 
   5918 	if test $found = "no" ; then
   5919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 		fi
   5922 
   5923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5925 		fi
   5926 
   5927 		CFLAGS="$CFLAGS -Wnested-externs"
   5928 
   5929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5930 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5931 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5932 		if eval test \${$cacheid+y}
   5933 then :
   5934   printf %s "(cached) " >&6
   5935 else case e in #(
   5936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5937 /* end confdefs.h.  */
   5938 int i;
   5939 int
   5940 main (void)
   5941 {
   5942 
   5943   ;
   5944   return 0;
   5945 }
   5946 _ACEOF
   5947 if ac_fn_c_try_link "$LINENO"
   5948 then :
   5949   eval $cacheid=yes
   5950 else case e in #(
   5951   e) eval $cacheid=no ;;
   5952 esac
   5953 fi
   5954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5955     conftest$ac_exeext conftest.$ac_ext ;;
   5956 esac
   5957 fi
   5958 
   5959 
   5960 		CFLAGS="$xorg_testset_save_CFLAGS"
   5961 
   5962 		eval supported=\$$cacheid
   5963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5964 printf "%s\n" "$supported" >&6; }
   5965 		if test "$supported" = "yes" ; then
   5966 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5967 			found="yes"
   5968 		fi
   5969 	fi
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 xorg_testset_save_CFLAGS="$CFLAGS"
   5986 
   5987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5992 then :
   5993   printf %s "(cached) " >&6
   5994 else case e in #(
   5995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5996 /* end confdefs.h.  */
   5997 int i;
   5998 _ACEOF
   5999 if ac_fn_c_try_compile "$LINENO"
   6000 then :
   6001   xorg_cv_cc_flag_unknown_warning_option=yes
   6002 else case e in #(
   6003   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6004 esac
   6005 fi
   6006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6007 esac
   6008 fi
   6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6010 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6012 	CFLAGS="$xorg_testset_save_CFLAGS"
   6013 fi
   6014 
   6015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 	fi
   6019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6021 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6022 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6023 then :
   6024   printf %s "(cached) " >&6
   6025 else case e in #(
   6026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6027 /* end confdefs.h.  */
   6028 int i;
   6029 _ACEOF
   6030 if ac_fn_c_try_compile "$LINENO"
   6031 then :
   6032   xorg_cv_cc_flag_unused_command_line_argument=yes
   6033 else case e in #(
   6034   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6035 esac
   6036 fi
   6037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6038 esac
   6039 fi
   6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6043 	CFLAGS="$xorg_testset_save_CFLAGS"
   6044 fi
   6045 
   6046 found="no"
   6047 
   6048 	if test $found = "no" ; then
   6049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 		fi
   6052 
   6053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6055 		fi
   6056 
   6057 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6058 
   6059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6060 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6061 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6062 		if eval test \${$cacheid+y}
   6063 then :
   6064   printf %s "(cached) " >&6
   6065 else case e in #(
   6066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 int
   6070 main (void)
   6071 {
   6072 
   6073   ;
   6074   return 0;
   6075 }
   6076 _ACEOF
   6077 if ac_fn_c_try_link "$LINENO"
   6078 then :
   6079   eval $cacheid=yes
   6080 else case e in #(
   6081   e) eval $cacheid=no ;;
   6082 esac
   6083 fi
   6084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6085     conftest$ac_exeext conftest.$ac_ext ;;
   6086 esac
   6087 fi
   6088 
   6089 
   6090 		CFLAGS="$xorg_testset_save_CFLAGS"
   6091 
   6092 		eval supported=\$$cacheid
   6093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6094 printf "%s\n" "$supported" >&6; }
   6095 		if test "$supported" = "yes" ; then
   6096 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6097 			found="yes"
   6098 		fi
   6099 	fi
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 xorg_testset_save_CFLAGS="$CFLAGS"
   6116 
   6117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6120 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6121 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6122 then :
   6123   printf %s "(cached) " >&6
   6124 else case e in #(
   6125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6126 /* end confdefs.h.  */
   6127 int i;
   6128 _ACEOF
   6129 if ac_fn_c_try_compile "$LINENO"
   6130 then :
   6131   xorg_cv_cc_flag_unknown_warning_option=yes
   6132 else case e in #(
   6133   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6134 esac
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6137 esac
   6138 fi
   6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6142 	CFLAGS="$xorg_testset_save_CFLAGS"
   6143 fi
   6144 
   6145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6148 	fi
   6149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6153 then :
   6154   printf %s "(cached) " >&6
   6155 else case e in #(
   6156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 _ACEOF
   6160 if ac_fn_c_try_compile "$LINENO"
   6161 then :
   6162   xorg_cv_cc_flag_unused_command_line_argument=yes
   6163 else case e in #(
   6164   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6165 esac
   6166 fi
   6167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6168 esac
   6169 fi
   6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6171 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6173 	CFLAGS="$xorg_testset_save_CFLAGS"
   6174 fi
   6175 
   6176 found="no"
   6177 
   6178 	if test $found = "no" ; then
   6179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 		fi
   6182 
   6183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6185 		fi
   6186 
   6187 		CFLAGS="$CFLAGS -Wold-style-definition"
   6188 
   6189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6190 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6191 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6192 		if eval test \${$cacheid+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else case e in #(
   6196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 int
   6200 main (void)
   6201 {
   6202 
   6203   ;
   6204   return 0;
   6205 }
   6206 _ACEOF
   6207 if ac_fn_c_try_link "$LINENO"
   6208 then :
   6209   eval $cacheid=yes
   6210 else case e in #(
   6211   e) eval $cacheid=no ;;
   6212 esac
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6215     conftest$ac_exeext conftest.$ac_ext ;;
   6216 esac
   6217 fi
   6218 
   6219 
   6220 		CFLAGS="$xorg_testset_save_CFLAGS"
   6221 
   6222 		eval supported=\$$cacheid
   6223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6224 printf "%s\n" "$supported" >&6; }
   6225 		if test "$supported" = "yes" ; then
   6226 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6227 			found="yes"
   6228 		fi
   6229 	fi
   6230 
   6231 	if test $found = "no" ; then
   6232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 		fi
   6235 
   6236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6238 		fi
   6239 
   6240 		CFLAGS="$CFLAGS -fd"
   6241 
   6242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6243 printf %s "checking if $CC supports -fd... " >&6; }
   6244 		cacheid=xorg_cv_cc_flag__fd
   6245 		if eval test \${$cacheid+y}
   6246 then :
   6247   printf %s "(cached) " >&6
   6248 else case e in #(
   6249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6250 /* end confdefs.h.  */
   6251 int i;
   6252 int
   6253 main (void)
   6254 {
   6255 
   6256   ;
   6257   return 0;
   6258 }
   6259 _ACEOF
   6260 if ac_fn_c_try_link "$LINENO"
   6261 then :
   6262   eval $cacheid=yes
   6263 else case e in #(
   6264   e) eval $cacheid=no ;;
   6265 esac
   6266 fi
   6267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6268     conftest$ac_exeext conftest.$ac_ext ;;
   6269 esac
   6270 fi
   6271 
   6272 
   6273 		CFLAGS="$xorg_testset_save_CFLAGS"
   6274 
   6275 		eval supported=\$$cacheid
   6276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6277 printf "%s\n" "$supported" >&6; }
   6278 		if test "$supported" = "yes" ; then
   6279 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6280 			found="yes"
   6281 		fi
   6282 	fi
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 xorg_testset_save_CFLAGS="$CFLAGS"
   6299 
   6300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6305 then :
   6306   printf %s "(cached) " >&6
   6307 else case e in #(
   6308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6309 /* end confdefs.h.  */
   6310 int i;
   6311 _ACEOF
   6312 if ac_fn_c_try_compile "$LINENO"
   6313 then :
   6314   xorg_cv_cc_flag_unknown_warning_option=yes
   6315 else case e in #(
   6316   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6317 esac
   6318 fi
   6319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6320 esac
   6321 fi
   6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	fi
   6332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6336 then :
   6337   printf %s "(cached) " >&6
   6338 else case e in #(
   6339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"
   6344 then :
   6345   xorg_cv_cc_flag_unused_command_line_argument=yes
   6346 else case e in #(
   6347   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6348 esac
   6349 fi
   6350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6351 esac
   6352 fi
   6353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6354 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6356 	CFLAGS="$xorg_testset_save_CFLAGS"
   6357 fi
   6358 
   6359 found="no"
   6360 
   6361 	if test $found = "no" ; then
   6362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 		fi
   6365 
   6366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6368 		fi
   6369 
   6370 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6371 
   6372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6373 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6374 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6375 		if eval test \${$cacheid+y}
   6376 then :
   6377   printf %s "(cached) " >&6
   6378 else case e in #(
   6379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6380 /* end confdefs.h.  */
   6381 int i;
   6382 int
   6383 main (void)
   6384 {
   6385 
   6386   ;
   6387   return 0;
   6388 }
   6389 _ACEOF
   6390 if ac_fn_c_try_link "$LINENO"
   6391 then :
   6392   eval $cacheid=yes
   6393 else case e in #(
   6394   e) eval $cacheid=no ;;
   6395 esac
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6398     conftest$ac_exeext conftest.$ac_ext ;;
   6399 esac
   6400 fi
   6401 
   6402 
   6403 		CFLAGS="$xorg_testset_save_CFLAGS"
   6404 
   6405 		eval supported=\$$cacheid
   6406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6407 printf "%s\n" "$supported" >&6; }
   6408 		if test "$supported" = "yes" ; then
   6409 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6410 			found="yes"
   6411 		fi
   6412 	fi
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 # This chunk adds additional warnings that could catch undesired effects.
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 xorg_testset_save_CFLAGS="$CFLAGS"
   6433 
   6434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6436 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6437 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6438 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6439 then :
   6440   printf %s "(cached) " >&6
   6441 else case e in #(
   6442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 _ACEOF
   6446 if ac_fn_c_try_compile "$LINENO"
   6447 then :
   6448   xorg_cv_cc_flag_unknown_warning_option=yes
   6449 else case e in #(
   6450   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6451 esac
   6452 fi
   6453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6454 esac
   6455 fi
   6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6457 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6459 	CFLAGS="$xorg_testset_save_CFLAGS"
   6460 fi
   6461 
   6462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6465 	fi
   6466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6470 then :
   6471   printf %s "(cached) " >&6
   6472 else case e in #(
   6473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"
   6478 then :
   6479   xorg_cv_cc_flag_unused_command_line_argument=yes
   6480 else case e in #(
   6481   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6482 esac
   6483 fi
   6484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6485 esac
   6486 fi
   6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6490 	CFLAGS="$xorg_testset_save_CFLAGS"
   6491 fi
   6492 
   6493 found="no"
   6494 
   6495 	if test $found = "no" ; then
   6496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6498 		fi
   6499 
   6500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6502 		fi
   6503 
   6504 		CFLAGS="$CFLAGS -Wunused"
   6505 
   6506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6507 printf %s "checking if $CC supports -Wunused... " >&6; }
   6508 		cacheid=xorg_cv_cc_flag__Wunused
   6509 		if eval test \${$cacheid+y}
   6510 then :
   6511   printf %s "(cached) " >&6
   6512 else case e in #(
   6513   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 int
   6517 main (void)
   6518 {
   6519 
   6520   ;
   6521   return 0;
   6522 }
   6523 _ACEOF
   6524 if ac_fn_c_try_link "$LINENO"
   6525 then :
   6526   eval $cacheid=yes
   6527 else case e in #(
   6528   e) eval $cacheid=no ;;
   6529 esac
   6530 fi
   6531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6532     conftest$ac_exeext conftest.$ac_ext ;;
   6533 esac
   6534 fi
   6535 
   6536 
   6537 		CFLAGS="$xorg_testset_save_CFLAGS"
   6538 
   6539 		eval supported=\$$cacheid
   6540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6541 printf "%s\n" "$supported" >&6; }
   6542 		if test "$supported" = "yes" ; then
   6543 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6544 			found="yes"
   6545 		fi
   6546 	fi
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 xorg_testset_save_CFLAGS="$CFLAGS"
   6563 
   6564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6569 then :
   6570   printf %s "(cached) " >&6
   6571 else case e in #(
   6572   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 _ACEOF
   6576 if ac_fn_c_try_compile "$LINENO"
   6577 then :
   6578   xorg_cv_cc_flag_unknown_warning_option=yes
   6579 else case e in #(
   6580   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6581 esac
   6582 fi
   6583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6584 esac
   6585 fi
   6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6589 	CFLAGS="$xorg_testset_save_CFLAGS"
   6590 fi
   6591 
   6592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6595 	fi
   6596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6600 then :
   6601   printf %s "(cached) " >&6
   6602 else case e in #(
   6603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6604 /* end confdefs.h.  */
   6605 int i;
   6606 _ACEOF
   6607 if ac_fn_c_try_compile "$LINENO"
   6608 then :
   6609   xorg_cv_cc_flag_unused_command_line_argument=yes
   6610 else case e in #(
   6611   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6612 esac
   6613 fi
   6614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6615 esac
   6616 fi
   6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6620 	CFLAGS="$xorg_testset_save_CFLAGS"
   6621 fi
   6622 
   6623 found="no"
   6624 
   6625 	if test $found = "no" ; then
   6626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 		fi
   6629 
   6630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6632 		fi
   6633 
   6634 		CFLAGS="$CFLAGS -Wuninitialized"
   6635 
   6636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6637 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6638 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6639 		if eval test \${$cacheid+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else case e in #(
   6643   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 int
   6647 main (void)
   6648 {
   6649 
   6650   ;
   6651   return 0;
   6652 }
   6653 _ACEOF
   6654 if ac_fn_c_try_link "$LINENO"
   6655 then :
   6656   eval $cacheid=yes
   6657 else case e in #(
   6658   e) eval $cacheid=no ;;
   6659 esac
   6660 fi
   6661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6662     conftest$ac_exeext conftest.$ac_ext ;;
   6663 esac
   6664 fi
   6665 
   6666 
   6667 		CFLAGS="$xorg_testset_save_CFLAGS"
   6668 
   6669 		eval supported=\$$cacheid
   6670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6671 printf "%s\n" "$supported" >&6; }
   6672 		if test "$supported" = "yes" ; then
   6673 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6674 			found="yes"
   6675 		fi
   6676 	fi
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 xorg_testset_save_CFLAGS="$CFLAGS"
   6693 
   6694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6699 then :
   6700   printf %s "(cached) " >&6
   6701 else case e in #(
   6702   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 _ACEOF
   6706 if ac_fn_c_try_compile "$LINENO"
   6707 then :
   6708   xorg_cv_cc_flag_unknown_warning_option=yes
   6709 else case e in #(
   6710   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6711 esac
   6712 fi
   6713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6714 esac
   6715 fi
   6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6717 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6719 	CFLAGS="$xorg_testset_save_CFLAGS"
   6720 fi
   6721 
   6722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6725 	fi
   6726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6728 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6729 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6730 then :
   6731   printf %s "(cached) " >&6
   6732 else case e in #(
   6733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6734 /* end confdefs.h.  */
   6735 int i;
   6736 _ACEOF
   6737 if ac_fn_c_try_compile "$LINENO"
   6738 then :
   6739   xorg_cv_cc_flag_unused_command_line_argument=yes
   6740 else case e in #(
   6741   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6742 esac
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6745 esac
   6746 fi
   6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6748 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6750 	CFLAGS="$xorg_testset_save_CFLAGS"
   6751 fi
   6752 
   6753 found="no"
   6754 
   6755 	if test $found = "no" ; then
   6756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 		fi
   6759 
   6760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6762 		fi
   6763 
   6764 		CFLAGS="$CFLAGS -Wshadow"
   6765 
   6766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6767 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6768 		cacheid=xorg_cv_cc_flag__Wshadow
   6769 		if eval test \${$cacheid+y}
   6770 then :
   6771   printf %s "(cached) " >&6
   6772 else case e in #(
   6773   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 int
   6777 main (void)
   6778 {
   6779 
   6780   ;
   6781   return 0;
   6782 }
   6783 _ACEOF
   6784 if ac_fn_c_try_link "$LINENO"
   6785 then :
   6786   eval $cacheid=yes
   6787 else case e in #(
   6788   e) eval $cacheid=no ;;
   6789 esac
   6790 fi
   6791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6792     conftest$ac_exeext conftest.$ac_ext ;;
   6793 esac
   6794 fi
   6795 
   6796 
   6797 		CFLAGS="$xorg_testset_save_CFLAGS"
   6798 
   6799 		eval supported=\$$cacheid
   6800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6801 printf "%s\n" "$supported" >&6; }
   6802 		if test "$supported" = "yes" ; then
   6803 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6804 			found="yes"
   6805 		fi
   6806 	fi
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 xorg_testset_save_CFLAGS="$CFLAGS"
   6823 
   6824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6829 then :
   6830   printf %s "(cached) " >&6
   6831 else case e in #(
   6832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 _ACEOF
   6836 if ac_fn_c_try_compile "$LINENO"
   6837 then :
   6838   xorg_cv_cc_flag_unknown_warning_option=yes
   6839 else case e in #(
   6840   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6841 esac
   6842 fi
   6843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6844 esac
   6845 fi
   6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6847 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6849 	CFLAGS="$xorg_testset_save_CFLAGS"
   6850 fi
   6851 
   6852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6855 	fi
   6856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6859 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   6867 if ac_fn_c_try_compile "$LINENO"
   6868 then :
   6869   xorg_cv_cc_flag_unused_command_line_argument=yes
   6870 else case e in #(
   6871   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6872 esac
   6873 fi
   6874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6875 esac
   6876 fi
   6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6880 	CFLAGS="$xorg_testset_save_CFLAGS"
   6881 fi
   6882 
   6883 found="no"
   6884 
   6885 	if test $found = "no" ; then
   6886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 		fi
   6889 
   6890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6892 		fi
   6893 
   6894 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6895 
   6896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6897 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6898 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6899 		if eval test \${$cacheid+y}
   6900 then :
   6901   printf %s "(cached) " >&6
   6902 else case e in #(
   6903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6904 /* end confdefs.h.  */
   6905 int i;
   6906 int
   6907 main (void)
   6908 {
   6909 
   6910   ;
   6911   return 0;
   6912 }
   6913 _ACEOF
   6914 if ac_fn_c_try_link "$LINENO"
   6915 then :
   6916   eval $cacheid=yes
   6917 else case e in #(
   6918   e) eval $cacheid=no ;;
   6919 esac
   6920 fi
   6921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6922     conftest$ac_exeext conftest.$ac_ext ;;
   6923 esac
   6924 fi
   6925 
   6926 
   6927 		CFLAGS="$xorg_testset_save_CFLAGS"
   6928 
   6929 		eval supported=\$$cacheid
   6930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6931 printf "%s\n" "$supported" >&6; }
   6932 		if test "$supported" = "yes" ; then
   6933 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6934 			found="yes"
   6935 		fi
   6936 	fi
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 xorg_testset_save_CFLAGS="$CFLAGS"
   6953 
   6954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6959 then :
   6960   printf %s "(cached) " >&6
   6961 else case e in #(
   6962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6963 /* end confdefs.h.  */
   6964 int i;
   6965 _ACEOF
   6966 if ac_fn_c_try_compile "$LINENO"
   6967 then :
   6968   xorg_cv_cc_flag_unknown_warning_option=yes
   6969 else case e in #(
   6970   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6971 esac
   6972 fi
   6973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6974 esac
   6975 fi
   6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6979 	CFLAGS="$xorg_testset_save_CFLAGS"
   6980 fi
   6981 
   6982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6985 	fi
   6986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6990 then :
   6991   printf %s "(cached) " >&6
   6992 else case e in #(
   6993   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 _ACEOF
   6997 if ac_fn_c_try_compile "$LINENO"
   6998 then :
   6999   xorg_cv_cc_flag_unused_command_line_argument=yes
   7000 else case e in #(
   7001   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7002 esac
   7003 fi
   7004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7005 esac
   7006 fi
   7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7008 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7010 	CFLAGS="$xorg_testset_save_CFLAGS"
   7011 fi
   7012 
   7013 found="no"
   7014 
   7015 	if test $found = "no" ; then
   7016 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7018 		fi
   7019 
   7020 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7022 		fi
   7023 
   7024 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7025 
   7026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7027 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7028 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7029 		if eval test \${$cacheid+y}
   7030 then :
   7031   printf %s "(cached) " >&6
   7032 else case e in #(
   7033   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 int
   7037 main (void)
   7038 {
   7039 
   7040   ;
   7041   return 0;
   7042 }
   7043 _ACEOF
   7044 if ac_fn_c_try_link "$LINENO"
   7045 then :
   7046   eval $cacheid=yes
   7047 else case e in #(
   7048   e) eval $cacheid=no ;;
   7049 esac
   7050 fi
   7051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7052     conftest$ac_exeext conftest.$ac_ext ;;
   7053 esac
   7054 fi
   7055 
   7056 
   7057 		CFLAGS="$xorg_testset_save_CFLAGS"
   7058 
   7059 		eval supported=\$$cacheid
   7060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7061 printf "%s\n" "$supported" >&6; }
   7062 		if test "$supported" = "yes" ; then
   7063 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7064 			found="yes"
   7065 		fi
   7066 	fi
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 xorg_testset_save_CFLAGS="$CFLAGS"
   7083 
   7084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7089 then :
   7090   printf %s "(cached) " >&6
   7091 else case e in #(
   7092   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7093 /* end confdefs.h.  */
   7094 int i;
   7095 _ACEOF
   7096 if ac_fn_c_try_compile "$LINENO"
   7097 then :
   7098   xorg_cv_cc_flag_unknown_warning_option=yes
   7099 else case e in #(
   7100   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7101 esac
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7104 esac
   7105 fi
   7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7107 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7109 	CFLAGS="$xorg_testset_save_CFLAGS"
   7110 fi
   7111 
   7112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7115 	fi
   7116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7120 then :
   7121   printf %s "(cached) " >&6
   7122 else case e in #(
   7123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"
   7128 then :
   7129   xorg_cv_cc_flag_unused_command_line_argument=yes
   7130 else case e in #(
   7131   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7132 esac
   7133 fi
   7134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7135 esac
   7136 fi
   7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7140 	CFLAGS="$xorg_testset_save_CFLAGS"
   7141 fi
   7142 
   7143 found="no"
   7144 
   7145 	if test $found = "no" ; then
   7146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 		fi
   7149 
   7150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7152 		fi
   7153 
   7154 		CFLAGS="$CFLAGS -Wredundant-decls"
   7155 
   7156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7157 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7158 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7159 		if eval test \${$cacheid+y}
   7160 then :
   7161   printf %s "(cached) " >&6
   7162 else case e in #(
   7163   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7164 /* end confdefs.h.  */
   7165 int i;
   7166 int
   7167 main (void)
   7168 {
   7169 
   7170   ;
   7171   return 0;
   7172 }
   7173 _ACEOF
   7174 if ac_fn_c_try_link "$LINENO"
   7175 then :
   7176   eval $cacheid=yes
   7177 else case e in #(
   7178   e) eval $cacheid=no ;;
   7179 esac
   7180 fi
   7181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7182     conftest$ac_exeext conftest.$ac_ext ;;
   7183 esac
   7184 fi
   7185 
   7186 
   7187 		CFLAGS="$xorg_testset_save_CFLAGS"
   7188 
   7189 		eval supported=\$$cacheid
   7190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7191 printf "%s\n" "$supported" >&6; }
   7192 		if test "$supported" = "yes" ; then
   7193 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7194 			found="yes"
   7195 		fi
   7196 	fi
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 xorg_testset_save_CFLAGS="$CFLAGS"
   7213 
   7214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7216 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7217 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7218 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7219 then :
   7220   printf %s "(cached) " >&6
   7221 else case e in #(
   7222   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"
   7227 then :
   7228   xorg_cv_cc_flag_unknown_warning_option=yes
   7229 else case e in #(
   7230   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7231 esac
   7232 fi
   7233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7234 esac
   7235 fi
   7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7239 	CFLAGS="$xorg_testset_save_CFLAGS"
   7240 fi
   7241 
   7242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7245 	fi
   7246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7250 then :
   7251   printf %s "(cached) " >&6
   7252 else case e in #(
   7253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 _ACEOF
   7257 if ac_fn_c_try_compile "$LINENO"
   7258 then :
   7259   xorg_cv_cc_flag_unused_command_line_argument=yes
   7260 else case e in #(
   7261   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7262 esac
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7265 esac
   7266 fi
   7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7268 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7270 	CFLAGS="$xorg_testset_save_CFLAGS"
   7271 fi
   7272 
   7273 found="no"
   7274 
   7275 	if test $found = "no" ; then
   7276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 		fi
   7279 
   7280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 		fi
   7283 
   7284 		CFLAGS="$CFLAGS -Wlogical-op"
   7285 
   7286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7287 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7288 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7289 		if eval test \${$cacheid+y}
   7290 then :
   7291   printf %s "(cached) " >&6
   7292 else case e in #(
   7293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 int i;
   7296 int
   7297 main (void)
   7298 {
   7299 
   7300   ;
   7301   return 0;
   7302 }
   7303 _ACEOF
   7304 if ac_fn_c_try_link "$LINENO"
   7305 then :
   7306   eval $cacheid=yes
   7307 else case e in #(
   7308   e) eval $cacheid=no ;;
   7309 esac
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7312     conftest$ac_exeext conftest.$ac_ext ;;
   7313 esac
   7314 fi
   7315 
   7316 
   7317 		CFLAGS="$xorg_testset_save_CFLAGS"
   7318 
   7319 		eval supported=\$$cacheid
   7320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7321 printf "%s\n" "$supported" >&6; }
   7322 		if test "$supported" = "yes" ; then
   7323 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7324 			found="yes"
   7325 		fi
   7326 	fi
   7327 
   7328 
   7329 
   7330 # These are currently disabled because they are noisy.  They will be enabled
   7331 # in the future once the codebase is sufficiently modernized to silence
   7332 # them.  For now, I don't want them to drown out the other warnings.
   7333 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7334 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7335 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7336 
   7337 # Turn some warnings into errors, so we don't accidentally get successful builds
   7338 # when there are problems that should be fixed.
   7339 
   7340 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 xorg_testset_save_CFLAGS="$CFLAGS"
   7355 
   7356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7359 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7360 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7361 then :
   7362   printf %s "(cached) " >&6
   7363 else case e in #(
   7364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 _ACEOF
   7368 if ac_fn_c_try_compile "$LINENO"
   7369 then :
   7370   xorg_cv_cc_flag_unknown_warning_option=yes
   7371 else case e in #(
   7372   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7373 esac
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7376 esac
   7377 fi
   7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7379 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7381 	CFLAGS="$xorg_testset_save_CFLAGS"
   7382 fi
   7383 
   7384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7387 	fi
   7388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7390 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7391 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7392 then :
   7393   printf %s "(cached) " >&6
   7394 else case e in #(
   7395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7396 /* end confdefs.h.  */
   7397 int i;
   7398 _ACEOF
   7399 if ac_fn_c_try_compile "$LINENO"
   7400 then :
   7401   xorg_cv_cc_flag_unused_command_line_argument=yes
   7402 else case e in #(
   7403   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7404 esac
   7405 fi
   7406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7407 esac
   7408 fi
   7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7410 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7412 	CFLAGS="$xorg_testset_save_CFLAGS"
   7413 fi
   7414 
   7415 found="no"
   7416 
   7417 	if test $found = "no" ; then
   7418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7420 		fi
   7421 
   7422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7424 		fi
   7425 
   7426 		CFLAGS="$CFLAGS -Werror=implicit"
   7427 
   7428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7429 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7430 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7431 		if eval test \${$cacheid+y}
   7432 then :
   7433   printf %s "(cached) " >&6
   7434 else case e in #(
   7435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 int i;
   7438 int
   7439 main (void)
   7440 {
   7441 
   7442   ;
   7443   return 0;
   7444 }
   7445 _ACEOF
   7446 if ac_fn_c_try_link "$LINENO"
   7447 then :
   7448   eval $cacheid=yes
   7449 else case e in #(
   7450   e) eval $cacheid=no ;;
   7451 esac
   7452 fi
   7453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7454     conftest$ac_exeext conftest.$ac_ext ;;
   7455 esac
   7456 fi
   7457 
   7458 
   7459 		CFLAGS="$xorg_testset_save_CFLAGS"
   7460 
   7461 		eval supported=\$$cacheid
   7462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7463 printf "%s\n" "$supported" >&6; }
   7464 		if test "$supported" = "yes" ; then
   7465 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7466 			found="yes"
   7467 		fi
   7468 	fi
   7469 
   7470 	if test $found = "no" ; then
   7471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7473 		fi
   7474 
   7475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 		fi
   7478 
   7479 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7480 
   7481 		{ 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
   7482 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7483 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7484 		if eval test \${$cacheid+y}
   7485 then :
   7486   printf %s "(cached) " >&6
   7487 else case e in #(
   7488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7489 /* end confdefs.h.  */
   7490 int i;
   7491 int
   7492 main (void)
   7493 {
   7494 
   7495   ;
   7496   return 0;
   7497 }
   7498 _ACEOF
   7499 if ac_fn_c_try_link "$LINENO"
   7500 then :
   7501   eval $cacheid=yes
   7502 else case e in #(
   7503   e) eval $cacheid=no ;;
   7504 esac
   7505 fi
   7506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7507     conftest$ac_exeext conftest.$ac_ext ;;
   7508 esac
   7509 fi
   7510 
   7511 
   7512 		CFLAGS="$xorg_testset_save_CFLAGS"
   7513 
   7514 		eval supported=\$$cacheid
   7515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7516 printf "%s\n" "$supported" >&6; }
   7517 		if test "$supported" = "yes" ; then
   7518 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7519 			found="yes"
   7520 		fi
   7521 	fi
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 xorg_testset_save_CFLAGS="$CFLAGS"
   7538 
   7539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7544 then :
   7545   printf %s "(cached) " >&6
   7546 else case e in #(
   7547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 int i;
   7550 _ACEOF
   7551 if ac_fn_c_try_compile "$LINENO"
   7552 then :
   7553   xorg_cv_cc_flag_unknown_warning_option=yes
   7554 else case e in #(
   7555   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7556 esac
   7557 fi
   7558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7559 esac
   7560 fi
   7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7562 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7564 	CFLAGS="$xorg_testset_save_CFLAGS"
   7565 fi
   7566 
   7567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7570 	fi
   7571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7573 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7574 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7575 then :
   7576   printf %s "(cached) " >&6
   7577 else case e in #(
   7578   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7579 /* end confdefs.h.  */
   7580 int i;
   7581 _ACEOF
   7582 if ac_fn_c_try_compile "$LINENO"
   7583 then :
   7584   xorg_cv_cc_flag_unused_command_line_argument=yes
   7585 else case e in #(
   7586   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7587 esac
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7590 esac
   7591 fi
   7592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7593 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7595 	CFLAGS="$xorg_testset_save_CFLAGS"
   7596 fi
   7597 
   7598 found="no"
   7599 
   7600 	if test $found = "no" ; then
   7601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 		fi
   7604 
   7605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7607 		fi
   7608 
   7609 		CFLAGS="$CFLAGS -Werror=nonnull"
   7610 
   7611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7612 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7613 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7614 		if eval test \${$cacheid+y}
   7615 then :
   7616   printf %s "(cached) " >&6
   7617 else case e in #(
   7618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7619 /* end confdefs.h.  */
   7620 int i;
   7621 int
   7622 main (void)
   7623 {
   7624 
   7625   ;
   7626   return 0;
   7627 }
   7628 _ACEOF
   7629 if ac_fn_c_try_link "$LINENO"
   7630 then :
   7631   eval $cacheid=yes
   7632 else case e in #(
   7633   e) eval $cacheid=no ;;
   7634 esac
   7635 fi
   7636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7637     conftest$ac_exeext conftest.$ac_ext ;;
   7638 esac
   7639 fi
   7640 
   7641 
   7642 		CFLAGS="$xorg_testset_save_CFLAGS"
   7643 
   7644 		eval supported=\$$cacheid
   7645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7646 printf "%s\n" "$supported" >&6; }
   7647 		if test "$supported" = "yes" ; then
   7648 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7649 			found="yes"
   7650 		fi
   7651 	fi
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 xorg_testset_save_CFLAGS="$CFLAGS"
   7668 
   7669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7674 then :
   7675   printf %s "(cached) " >&6
   7676 else case e in #(
   7677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 _ACEOF
   7681 if ac_fn_c_try_compile "$LINENO"
   7682 then :
   7683   xorg_cv_cc_flag_unknown_warning_option=yes
   7684 else case e in #(
   7685   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7686 esac
   7687 fi
   7688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7689 esac
   7690 fi
   7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7694 	CFLAGS="$xorg_testset_save_CFLAGS"
   7695 fi
   7696 
   7697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7700 	fi
   7701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7705 then :
   7706   printf %s "(cached) " >&6
   7707 else case e in #(
   7708   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7709 /* end confdefs.h.  */
   7710 int i;
   7711 _ACEOF
   7712 if ac_fn_c_try_compile "$LINENO"
   7713 then :
   7714   xorg_cv_cc_flag_unused_command_line_argument=yes
   7715 else case e in #(
   7716   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7717 esac
   7718 fi
   7719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7720 esac
   7721 fi
   7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7723 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7725 	CFLAGS="$xorg_testset_save_CFLAGS"
   7726 fi
   7727 
   7728 found="no"
   7729 
   7730 	if test $found = "no" ; then
   7731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 		fi
   7734 
   7735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7737 		fi
   7738 
   7739 		CFLAGS="$CFLAGS -Werror=init-self"
   7740 
   7741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7742 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7743 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7744 		if eval test \${$cacheid+y}
   7745 then :
   7746   printf %s "(cached) " >&6
   7747 else case e in #(
   7748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7749 /* end confdefs.h.  */
   7750 int i;
   7751 int
   7752 main (void)
   7753 {
   7754 
   7755   ;
   7756   return 0;
   7757 }
   7758 _ACEOF
   7759 if ac_fn_c_try_link "$LINENO"
   7760 then :
   7761   eval $cacheid=yes
   7762 else case e in #(
   7763   e) eval $cacheid=no ;;
   7764 esac
   7765 fi
   7766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7767     conftest$ac_exeext conftest.$ac_ext ;;
   7768 esac
   7769 fi
   7770 
   7771 
   7772 		CFLAGS="$xorg_testset_save_CFLAGS"
   7773 
   7774 		eval supported=\$$cacheid
   7775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7776 printf "%s\n" "$supported" >&6; }
   7777 		if test "$supported" = "yes" ; then
   7778 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7779 			found="yes"
   7780 		fi
   7781 	fi
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 xorg_testset_save_CFLAGS="$CFLAGS"
   7798 
   7799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7802 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7803 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7804 then :
   7805   printf %s "(cached) " >&6
   7806 else case e in #(
   7807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7808 /* end confdefs.h.  */
   7809 int i;
   7810 _ACEOF
   7811 if ac_fn_c_try_compile "$LINENO"
   7812 then :
   7813   xorg_cv_cc_flag_unknown_warning_option=yes
   7814 else case e in #(
   7815   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7816 esac
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7819 esac
   7820 fi
   7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7822 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7824 	CFLAGS="$xorg_testset_save_CFLAGS"
   7825 fi
   7826 
   7827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 	fi
   7831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7833 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7834 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7835 then :
   7836   printf %s "(cached) " >&6
   7837 else case e in #(
   7838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7839 /* end confdefs.h.  */
   7840 int i;
   7841 _ACEOF
   7842 if ac_fn_c_try_compile "$LINENO"
   7843 then :
   7844   xorg_cv_cc_flag_unused_command_line_argument=yes
   7845 else case e in #(
   7846   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7847 esac
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7850 esac
   7851 fi
   7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7853 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 found="no"
   7859 
   7860 	if test $found = "no" ; then
   7861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 		fi
   7864 
   7865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7867 		fi
   7868 
   7869 		CFLAGS="$CFLAGS -Werror=main"
   7870 
   7871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7872 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7873 		cacheid=xorg_cv_cc_flag__Werror_main
   7874 		if eval test \${$cacheid+y}
   7875 then :
   7876   printf %s "(cached) " >&6
   7877 else case e in #(
   7878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7879 /* end confdefs.h.  */
   7880 int i;
   7881 int
   7882 main (void)
   7883 {
   7884 
   7885   ;
   7886   return 0;
   7887 }
   7888 _ACEOF
   7889 if ac_fn_c_try_link "$LINENO"
   7890 then :
   7891   eval $cacheid=yes
   7892 else case e in #(
   7893   e) eval $cacheid=no ;;
   7894 esac
   7895 fi
   7896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7897     conftest$ac_exeext conftest.$ac_ext ;;
   7898 esac
   7899 fi
   7900 
   7901 
   7902 		CFLAGS="$xorg_testset_save_CFLAGS"
   7903 
   7904 		eval supported=\$$cacheid
   7905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7906 printf "%s\n" "$supported" >&6; }
   7907 		if test "$supported" = "yes" ; then
   7908 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7909 			found="yes"
   7910 		fi
   7911 	fi
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 xorg_testset_save_CFLAGS="$CFLAGS"
   7928 
   7929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7934 then :
   7935   printf %s "(cached) " >&6
   7936 else case e in #(
   7937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 _ACEOF
   7941 if ac_fn_c_try_compile "$LINENO"
   7942 then :
   7943   xorg_cv_cc_flag_unknown_warning_option=yes
   7944 else case e in #(
   7945   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7946 esac
   7947 fi
   7948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7949 esac
   7950 fi
   7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7952 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7960 	fi
   7961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7963 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7964 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7965 then :
   7966   printf %s "(cached) " >&6
   7967 else case e in #(
   7968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 int i;
   7971 _ACEOF
   7972 if ac_fn_c_try_compile "$LINENO"
   7973 then :
   7974   xorg_cv_cc_flag_unused_command_line_argument=yes
   7975 else case e in #(
   7976   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7977 esac
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7980 esac
   7981 fi
   7982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7983 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7985 	CFLAGS="$xorg_testset_save_CFLAGS"
   7986 fi
   7987 
   7988 found="no"
   7989 
   7990 	if test $found = "no" ; then
   7991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 		fi
   7994 
   7995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7997 		fi
   7998 
   7999 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8000 
   8001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8002 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8003 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8004 		if eval test \${$cacheid+y}
   8005 then :
   8006   printf %s "(cached) " >&6
   8007 else case e in #(
   8008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 int
   8012 main (void)
   8013 {
   8014 
   8015   ;
   8016   return 0;
   8017 }
   8018 _ACEOF
   8019 if ac_fn_c_try_link "$LINENO"
   8020 then :
   8021   eval $cacheid=yes
   8022 else case e in #(
   8023   e) eval $cacheid=no ;;
   8024 esac
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8027     conftest$ac_exeext conftest.$ac_ext ;;
   8028 esac
   8029 fi
   8030 
   8031 
   8032 		CFLAGS="$xorg_testset_save_CFLAGS"
   8033 
   8034 		eval supported=\$$cacheid
   8035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8036 printf "%s\n" "$supported" >&6; }
   8037 		if test "$supported" = "yes" ; then
   8038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8039 			found="yes"
   8040 		fi
   8041 	fi
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 xorg_testset_save_CFLAGS="$CFLAGS"
   8058 
   8059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8062 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8063 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8064 then :
   8065   printf %s "(cached) " >&6
   8066 else case e in #(
   8067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8068 /* end confdefs.h.  */
   8069 int i;
   8070 _ACEOF
   8071 if ac_fn_c_try_compile "$LINENO"
   8072 then :
   8073   xorg_cv_cc_flag_unknown_warning_option=yes
   8074 else case e in #(
   8075   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8076 esac
   8077 fi
   8078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8079 esac
   8080 fi
   8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8082 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8084 	CFLAGS="$xorg_testset_save_CFLAGS"
   8085 fi
   8086 
   8087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 	fi
   8091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8095 then :
   8096   printf %s "(cached) " >&6
   8097 else case e in #(
   8098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 _ACEOF
   8102 if ac_fn_c_try_compile "$LINENO"
   8103 then :
   8104   xorg_cv_cc_flag_unused_command_line_argument=yes
   8105 else case e in #(
   8106   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8107 esac
   8108 fi
   8109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8110 esac
   8111 fi
   8112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8115 	CFLAGS="$xorg_testset_save_CFLAGS"
   8116 fi
   8117 
   8118 found="no"
   8119 
   8120 	if test $found = "no" ; then
   8121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 		fi
   8124 
   8125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8127 		fi
   8128 
   8129 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8130 
   8131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8132 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8133 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8134 		if eval test \${$cacheid+y}
   8135 then :
   8136   printf %s "(cached) " >&6
   8137 else case e in #(
   8138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8139 /* end confdefs.h.  */
   8140 int i;
   8141 int
   8142 main (void)
   8143 {
   8144 
   8145   ;
   8146   return 0;
   8147 }
   8148 _ACEOF
   8149 if ac_fn_c_try_link "$LINENO"
   8150 then :
   8151   eval $cacheid=yes
   8152 else case e in #(
   8153   e) eval $cacheid=no ;;
   8154 esac
   8155 fi
   8156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8157     conftest$ac_exeext conftest.$ac_ext ;;
   8158 esac
   8159 fi
   8160 
   8161 
   8162 		CFLAGS="$xorg_testset_save_CFLAGS"
   8163 
   8164 		eval supported=\$$cacheid
   8165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8166 printf "%s\n" "$supported" >&6; }
   8167 		if test "$supported" = "yes" ; then
   8168 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8169 			found="yes"
   8170 		fi
   8171 	fi
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 xorg_testset_save_CFLAGS="$CFLAGS"
   8188 
   8189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8192 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8193 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8194 then :
   8195   printf %s "(cached) " >&6
   8196 else case e in #(
   8197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8198 /* end confdefs.h.  */
   8199 int i;
   8200 _ACEOF
   8201 if ac_fn_c_try_compile "$LINENO"
   8202 then :
   8203   xorg_cv_cc_flag_unknown_warning_option=yes
   8204 else case e in #(
   8205   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8206 esac
   8207 fi
   8208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8209 esac
   8210 fi
   8211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8212 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8214 	CFLAGS="$xorg_testset_save_CFLAGS"
   8215 fi
   8216 
   8217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 	fi
   8221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8223 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8224 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8225 then :
   8226   printf %s "(cached) " >&6
   8227 else case e in #(
   8228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"
   8233 then :
   8234   xorg_cv_cc_flag_unused_command_line_argument=yes
   8235 else case e in #(
   8236   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8237 esac
   8238 fi
   8239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8240 esac
   8241 fi
   8242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8243 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8245 	CFLAGS="$xorg_testset_save_CFLAGS"
   8246 fi
   8247 
   8248 found="no"
   8249 
   8250 	if test $found = "no" ; then
   8251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 		fi
   8254 
   8255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8257 		fi
   8258 
   8259 		CFLAGS="$CFLAGS -Werror=return-type"
   8260 
   8261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8262 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8263 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8264 		if eval test \${$cacheid+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else case e in #(
   8268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 int
   8272 main (void)
   8273 {
   8274 
   8275   ;
   8276   return 0;
   8277 }
   8278 _ACEOF
   8279 if ac_fn_c_try_link "$LINENO"
   8280 then :
   8281   eval $cacheid=yes
   8282 else case e in #(
   8283   e) eval $cacheid=no ;;
   8284 esac
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8287     conftest$ac_exeext conftest.$ac_ext ;;
   8288 esac
   8289 fi
   8290 
   8291 
   8292 		CFLAGS="$xorg_testset_save_CFLAGS"
   8293 
   8294 		eval supported=\$$cacheid
   8295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8296 printf "%s\n" "$supported" >&6; }
   8297 		if test "$supported" = "yes" ; then
   8298 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8299 			found="yes"
   8300 		fi
   8301 	fi
   8302 
   8303 	if test $found = "no" ; then
   8304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8306 		fi
   8307 
   8308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8310 		fi
   8311 
   8312 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8313 
   8314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8315 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8316 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8317 		if eval test \${$cacheid+y}
   8318 then :
   8319   printf %s "(cached) " >&6
   8320 else case e in #(
   8321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8322 /* end confdefs.h.  */
   8323 int i;
   8324 int
   8325 main (void)
   8326 {
   8327 
   8328   ;
   8329   return 0;
   8330 }
   8331 _ACEOF
   8332 if ac_fn_c_try_link "$LINENO"
   8333 then :
   8334   eval $cacheid=yes
   8335 else case e in #(
   8336   e) eval $cacheid=no ;;
   8337 esac
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8340     conftest$ac_exeext conftest.$ac_ext ;;
   8341 esac
   8342 fi
   8343 
   8344 
   8345 		CFLAGS="$xorg_testset_save_CFLAGS"
   8346 
   8347 		eval supported=\$$cacheid
   8348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8349 printf "%s\n" "$supported" >&6; }
   8350 		if test "$supported" = "yes" ; then
   8351 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8352 			found="yes"
   8353 		fi
   8354 	fi
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 xorg_testset_save_CFLAGS="$CFLAGS"
   8371 
   8372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8375 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8376 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8377 then :
   8378   printf %s "(cached) " >&6
   8379 else case e in #(
   8380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8381 /* end confdefs.h.  */
   8382 int i;
   8383 _ACEOF
   8384 if ac_fn_c_try_compile "$LINENO"
   8385 then :
   8386   xorg_cv_cc_flag_unknown_warning_option=yes
   8387 else case e in #(
   8388   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8389 esac
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8392 esac
   8393 fi
   8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8395 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8397 	CFLAGS="$xorg_testset_save_CFLAGS"
   8398 fi
   8399 
   8400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8403 	fi
   8404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8406 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8407 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8408 then :
   8409   printf %s "(cached) " >&6
   8410 else case e in #(
   8411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 _ACEOF
   8415 if ac_fn_c_try_compile "$LINENO"
   8416 then :
   8417   xorg_cv_cc_flag_unused_command_line_argument=yes
   8418 else case e in #(
   8419   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8420 esac
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8423 esac
   8424 fi
   8425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8426 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8428 	CFLAGS="$xorg_testset_save_CFLAGS"
   8429 fi
   8430 
   8431 found="no"
   8432 
   8433 	if test $found = "no" ; then
   8434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8436 		fi
   8437 
   8438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8440 		fi
   8441 
   8442 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8443 
   8444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8445 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8446 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8447 		if eval test \${$cacheid+y}
   8448 then :
   8449   printf %s "(cached) " >&6
   8450 else case e in #(
   8451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 int
   8455 main (void)
   8456 {
   8457 
   8458   ;
   8459   return 0;
   8460 }
   8461 _ACEOF
   8462 if ac_fn_c_try_link "$LINENO"
   8463 then :
   8464   eval $cacheid=yes
   8465 else case e in #(
   8466   e) eval $cacheid=no ;;
   8467 esac
   8468 fi
   8469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8470     conftest$ac_exeext conftest.$ac_ext ;;
   8471 esac
   8472 fi
   8473 
   8474 
   8475 		CFLAGS="$xorg_testset_save_CFLAGS"
   8476 
   8477 		eval supported=\$$cacheid
   8478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8479 printf "%s\n" "$supported" >&6; }
   8480 		if test "$supported" = "yes" ; then
   8481 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8482 			found="yes"
   8483 		fi
   8484 	fi
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 xorg_testset_save_CFLAGS="$CFLAGS"
   8501 
   8502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8505 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8506 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8507 then :
   8508   printf %s "(cached) " >&6
   8509 else case e in #(
   8510   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8511 /* end confdefs.h.  */
   8512 int i;
   8513 _ACEOF
   8514 if ac_fn_c_try_compile "$LINENO"
   8515 then :
   8516   xorg_cv_cc_flag_unknown_warning_option=yes
   8517 else case e in #(
   8518   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8519 esac
   8520 fi
   8521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8522 esac
   8523 fi
   8524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8525 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8527 	CFLAGS="$xorg_testset_save_CFLAGS"
   8528 fi
   8529 
   8530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 	fi
   8534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8536 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8537 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8538 then :
   8539   printf %s "(cached) " >&6
   8540 else case e in #(
   8541   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 _ACEOF
   8545 if ac_fn_c_try_compile "$LINENO"
   8546 then :
   8547   xorg_cv_cc_flag_unused_command_line_argument=yes
   8548 else case e in #(
   8549   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8550 esac
   8551 fi
   8552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8553 esac
   8554 fi
   8555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8556 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8557 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8558 	CFLAGS="$xorg_testset_save_CFLAGS"
   8559 fi
   8560 
   8561 found="no"
   8562 
   8563 	if test $found = "no" ; then
   8564 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8565 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8566 		fi
   8567 
   8568 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8569 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8570 		fi
   8571 
   8572 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8573 
   8574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8575 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8576 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8577 		if eval test \${$cacheid+y}
   8578 then :
   8579   printf %s "(cached) " >&6
   8580 else case e in #(
   8581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8582 /* end confdefs.h.  */
   8583 int i;
   8584 int
   8585 main (void)
   8586 {
   8587 
   8588   ;
   8589   return 0;
   8590 }
   8591 _ACEOF
   8592 if ac_fn_c_try_link "$LINENO"
   8593 then :
   8594   eval $cacheid=yes
   8595 else case e in #(
   8596   e) eval $cacheid=no ;;
   8597 esac
   8598 fi
   8599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8600     conftest$ac_exeext conftest.$ac_ext ;;
   8601 esac
   8602 fi
   8603 
   8604 
   8605 		CFLAGS="$xorg_testset_save_CFLAGS"
   8606 
   8607 		eval supported=\$$cacheid
   8608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8609 printf "%s\n" "$supported" >&6; }
   8610 		if test "$supported" = "yes" ; then
   8611 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8612 			found="yes"
   8613 		fi
   8614 	fi
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 xorg_testset_save_CFLAGS="$CFLAGS"
   8631 
   8632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8635 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8636 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8637 then :
   8638   printf %s "(cached) " >&6
   8639 else case e in #(
   8640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 _ACEOF
   8644 if ac_fn_c_try_compile "$LINENO"
   8645 then :
   8646   xorg_cv_cc_flag_unknown_warning_option=yes
   8647 else case e in #(
   8648   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8649 esac
   8650 fi
   8651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8652 esac
   8653 fi
   8654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8655 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8657 	CFLAGS="$xorg_testset_save_CFLAGS"
   8658 fi
   8659 
   8660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8663 	fi
   8664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8665 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8666 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8667 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8668 then :
   8669   printf %s "(cached) " >&6
   8670 else case e in #(
   8671   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8672 /* end confdefs.h.  */
   8673 int i;
   8674 _ACEOF
   8675 if ac_fn_c_try_compile "$LINENO"
   8676 then :
   8677   xorg_cv_cc_flag_unused_command_line_argument=yes
   8678 else case e in #(
   8679   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8680 esac
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8683 esac
   8684 fi
   8685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8686 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8688 	CFLAGS="$xorg_testset_save_CFLAGS"
   8689 fi
   8690 
   8691 found="no"
   8692 
   8693 	if test $found = "no" ; then
   8694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8696 		fi
   8697 
   8698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8700 		fi
   8701 
   8702 		CFLAGS="$CFLAGS -Werror=write-strings"
   8703 
   8704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8705 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8706 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8707 		if eval test \${$cacheid+y}
   8708 then :
   8709   printf %s "(cached) " >&6
   8710 else case e in #(
   8711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8712 /* end confdefs.h.  */
   8713 int i;
   8714 int
   8715 main (void)
   8716 {
   8717 
   8718   ;
   8719   return 0;
   8720 }
   8721 _ACEOF
   8722 if ac_fn_c_try_link "$LINENO"
   8723 then :
   8724   eval $cacheid=yes
   8725 else case e in #(
   8726   e) eval $cacheid=no ;;
   8727 esac
   8728 fi
   8729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8730     conftest$ac_exeext conftest.$ac_ext ;;
   8731 esac
   8732 fi
   8733 
   8734 
   8735 		CFLAGS="$xorg_testset_save_CFLAGS"
   8736 
   8737 		eval supported=\$$cacheid
   8738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8739 printf "%s\n" "$supported" >&6; }
   8740 		if test "$supported" = "yes" ; then
   8741 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8742 			found="yes"
   8743 		fi
   8744 	fi
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 xorg_testset_save_CFLAGS="$CFLAGS"
   8761 
   8762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8764 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8765 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8766 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8767 then :
   8768   printf %s "(cached) " >&6
   8769 else case e in #(
   8770   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 _ACEOF
   8774 if ac_fn_c_try_compile "$LINENO"
   8775 then :
   8776   xorg_cv_cc_flag_unknown_warning_option=yes
   8777 else case e in #(
   8778   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8779 esac
   8780 fi
   8781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8782 esac
   8783 fi
   8784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8785 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8787 	CFLAGS="$xorg_testset_save_CFLAGS"
   8788 fi
   8789 
   8790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8793 	fi
   8794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8796 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8797 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8798 then :
   8799   printf %s "(cached) " >&6
   8800 else case e in #(
   8801   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 _ACEOF
   8805 if ac_fn_c_try_compile "$LINENO"
   8806 then :
   8807   xorg_cv_cc_flag_unused_command_line_argument=yes
   8808 else case e in #(
   8809   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8810 esac
   8811 fi
   8812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8813 esac
   8814 fi
   8815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8816 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8818 	CFLAGS="$xorg_testset_save_CFLAGS"
   8819 fi
   8820 
   8821 found="no"
   8822 
   8823 	if test $found = "no" ; then
   8824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 		fi
   8827 
   8828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 		fi
   8831 
   8832 		CFLAGS="$CFLAGS -Werror=address"
   8833 
   8834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8835 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8836 		cacheid=xorg_cv_cc_flag__Werror_address
   8837 		if eval test \${$cacheid+y}
   8838 then :
   8839   printf %s "(cached) " >&6
   8840 else case e in #(
   8841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8842 /* end confdefs.h.  */
   8843 int i;
   8844 int
   8845 main (void)
   8846 {
   8847 
   8848   ;
   8849   return 0;
   8850 }
   8851 _ACEOF
   8852 if ac_fn_c_try_link "$LINENO"
   8853 then :
   8854   eval $cacheid=yes
   8855 else case e in #(
   8856   e) eval $cacheid=no ;;
   8857 esac
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8860     conftest$ac_exeext conftest.$ac_ext ;;
   8861 esac
   8862 fi
   8863 
   8864 
   8865 		CFLAGS="$xorg_testset_save_CFLAGS"
   8866 
   8867 		eval supported=\$$cacheid
   8868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8869 printf "%s\n" "$supported" >&6; }
   8870 		if test "$supported" = "yes" ; then
   8871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8872 			found="yes"
   8873 		fi
   8874 	fi
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 xorg_testset_save_CFLAGS="$CFLAGS"
   8891 
   8892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8895 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8896 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8897 then :
   8898   printf %s "(cached) " >&6
   8899 else case e in #(
   8900   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8901 /* end confdefs.h.  */
   8902 int i;
   8903 _ACEOF
   8904 if ac_fn_c_try_compile "$LINENO"
   8905 then :
   8906   xorg_cv_cc_flag_unknown_warning_option=yes
   8907 else case e in #(
   8908   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8909 esac
   8910 fi
   8911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8912 esac
   8913 fi
   8914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8915 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8923 	fi
   8924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8926 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8927 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8928 then :
   8929   printf %s "(cached) " >&6
   8930 else case e in #(
   8931   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"
   8936 then :
   8937   xorg_cv_cc_flag_unused_command_line_argument=yes
   8938 else case e in #(
   8939   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8940 esac
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8943 esac
   8944 fi
   8945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8946 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8947 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8948 	CFLAGS="$xorg_testset_save_CFLAGS"
   8949 fi
   8950 
   8951 found="no"
   8952 
   8953 	if test $found = "no" ; then
   8954 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8955 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 		fi
   8957 
   8958 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8959 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8960 		fi
   8961 
   8962 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8963 
   8964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8965 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8966 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8967 		if eval test \${$cacheid+y}
   8968 then :
   8969   printf %s "(cached) " >&6
   8970 else case e in #(
   8971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8972 /* end confdefs.h.  */
   8973 int i;
   8974 int
   8975 main (void)
   8976 {
   8977 
   8978   ;
   8979   return 0;
   8980 }
   8981 _ACEOF
   8982 if ac_fn_c_try_link "$LINENO"
   8983 then :
   8984   eval $cacheid=yes
   8985 else case e in #(
   8986   e) eval $cacheid=no ;;
   8987 esac
   8988 fi
   8989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8990     conftest$ac_exeext conftest.$ac_ext ;;
   8991 esac
   8992 fi
   8993 
   8994 
   8995 		CFLAGS="$xorg_testset_save_CFLAGS"
   8996 
   8997 		eval supported=\$$cacheid
   8998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8999 printf "%s\n" "$supported" >&6; }
   9000 		if test "$supported" = "yes" ; then
   9001 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9002 			found="yes"
   9003 		fi
   9004 	fi
   9005 
   9006 	if test $found = "no" ; then
   9007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9009 		fi
   9010 
   9011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9013 		fi
   9014 
   9015 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9016 
   9017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9018 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9019 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9020 		if eval test \${$cacheid+y}
   9021 then :
   9022   printf %s "(cached) " >&6
   9023 else case e in #(
   9024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9025 /* end confdefs.h.  */
   9026 int i;
   9027 int
   9028 main (void)
   9029 {
   9030 
   9031   ;
   9032   return 0;
   9033 }
   9034 _ACEOF
   9035 if ac_fn_c_try_link "$LINENO"
   9036 then :
   9037   eval $cacheid=yes
   9038 else case e in #(
   9039   e) eval $cacheid=no ;;
   9040 esac
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9043     conftest$ac_exeext conftest.$ac_ext ;;
   9044 esac
   9045 fi
   9046 
   9047 
   9048 		CFLAGS="$xorg_testset_save_CFLAGS"
   9049 
   9050 		eval supported=\$$cacheid
   9051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9052 printf "%s\n" "$supported" >&6; }
   9053 		if test "$supported" = "yes" ; then
   9054 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9055 			found="yes"
   9056 		fi
   9057 	fi
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 xorg_testset_save_CFLAGS="$CFLAGS"
   9074 
   9075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9080 then :
   9081   printf %s "(cached) " >&6
   9082 else case e in #(
   9083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9084 /* end confdefs.h.  */
   9085 int i;
   9086 _ACEOF
   9087 if ac_fn_c_try_compile "$LINENO"
   9088 then :
   9089   xorg_cv_cc_flag_unknown_warning_option=yes
   9090 else case e in #(
   9091   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9092 esac
   9093 fi
   9094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9095 esac
   9096 fi
   9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9098 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 	fi
   9107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9109 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9110 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9111 then :
   9112   printf %s "(cached) " >&6
   9113 else case e in #(
   9114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9115 /* end confdefs.h.  */
   9116 int i;
   9117 _ACEOF
   9118 if ac_fn_c_try_compile "$LINENO"
   9119 then :
   9120   xorg_cv_cc_flag_unused_command_line_argument=yes
   9121 else case e in #(
   9122   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9123 esac
   9124 fi
   9125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9126 esac
   9127 fi
   9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9129 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9131 	CFLAGS="$xorg_testset_save_CFLAGS"
   9132 fi
   9133 
   9134 found="no"
   9135 
   9136 	if test $found = "no" ; then
   9137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9139 		fi
   9140 
   9141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9143 		fi
   9144 
   9145 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9146 
   9147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9148 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9149 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9150 		if eval test \${$cacheid+y}
   9151 then :
   9152   printf %s "(cached) " >&6
   9153 else case e in #(
   9154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9155 /* end confdefs.h.  */
   9156 int i;
   9157 int
   9158 main (void)
   9159 {
   9160 
   9161   ;
   9162   return 0;
   9163 }
   9164 _ACEOF
   9165 if ac_fn_c_try_link "$LINENO"
   9166 then :
   9167   eval $cacheid=yes
   9168 else case e in #(
   9169   e) eval $cacheid=no ;;
   9170 esac
   9171 fi
   9172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9173     conftest$ac_exeext conftest.$ac_ext ;;
   9174 esac
   9175 fi
   9176 
   9177 
   9178 		CFLAGS="$xorg_testset_save_CFLAGS"
   9179 
   9180 		eval supported=\$$cacheid
   9181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9182 printf "%s\n" "$supported" >&6; }
   9183 		if test "$supported" = "yes" ; then
   9184 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9185 			found="yes"
   9186 		fi
   9187 	fi
   9188 
   9189  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9190 else
   9191 { 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
   9192 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;}
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 xorg_testset_save_CFLAGS="$CFLAGS"
   9207 
   9208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9213 then :
   9214   printf %s "(cached) " >&6
   9215 else case e in #(
   9216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9217 /* end confdefs.h.  */
   9218 int i;
   9219 _ACEOF
   9220 if ac_fn_c_try_compile "$LINENO"
   9221 then :
   9222   xorg_cv_cc_flag_unknown_warning_option=yes
   9223 else case e in #(
   9224   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9225 esac
   9226 fi
   9227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9228 esac
   9229 fi
   9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9231 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9233 	CFLAGS="$xorg_testset_save_CFLAGS"
   9234 fi
   9235 
   9236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9239 	fi
   9240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9241 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9242 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9243 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9244 then :
   9245   printf %s "(cached) " >&6
   9246 else case e in #(
   9247   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9248 /* end confdefs.h.  */
   9249 int i;
   9250 _ACEOF
   9251 if ac_fn_c_try_compile "$LINENO"
   9252 then :
   9253   xorg_cv_cc_flag_unused_command_line_argument=yes
   9254 else case e in #(
   9255   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9256 esac
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9259 esac
   9260 fi
   9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9262 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9264 	CFLAGS="$xorg_testset_save_CFLAGS"
   9265 fi
   9266 
   9267 found="no"
   9268 
   9269 	if test $found = "no" ; then
   9270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 		fi
   9273 
   9274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9276 		fi
   9277 
   9278 		CFLAGS="$CFLAGS -Wimplicit"
   9279 
   9280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9281 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9282 		cacheid=xorg_cv_cc_flag__Wimplicit
   9283 		if eval test \${$cacheid+y}
   9284 then :
   9285   printf %s "(cached) " >&6
   9286 else case e in #(
   9287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 int
   9291 main (void)
   9292 {
   9293 
   9294   ;
   9295   return 0;
   9296 }
   9297 _ACEOF
   9298 if ac_fn_c_try_link "$LINENO"
   9299 then :
   9300   eval $cacheid=yes
   9301 else case e in #(
   9302   e) eval $cacheid=no ;;
   9303 esac
   9304 fi
   9305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9306     conftest$ac_exeext conftest.$ac_ext ;;
   9307 esac
   9308 fi
   9309 
   9310 
   9311 		CFLAGS="$xorg_testset_save_CFLAGS"
   9312 
   9313 		eval supported=\$$cacheid
   9314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9315 printf "%s\n" "$supported" >&6; }
   9316 		if test "$supported" = "yes" ; then
   9317 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9318 			found="yes"
   9319 		fi
   9320 	fi
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 xorg_testset_save_CFLAGS="$CFLAGS"
   9337 
   9338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9341 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9342 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9343 then :
   9344   printf %s "(cached) " >&6
   9345 else case e in #(
   9346   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9347 /* end confdefs.h.  */
   9348 int i;
   9349 _ACEOF
   9350 if ac_fn_c_try_compile "$LINENO"
   9351 then :
   9352   xorg_cv_cc_flag_unknown_warning_option=yes
   9353 else case e in #(
   9354   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9355 esac
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9358 esac
   9359 fi
   9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9369 	fi
   9370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else case e in #(
   9377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 int i;
   9380 _ACEOF
   9381 if ac_fn_c_try_compile "$LINENO"
   9382 then :
   9383   xorg_cv_cc_flag_unused_command_line_argument=yes
   9384 else case e in #(
   9385   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9386 esac
   9387 fi
   9388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9389 esac
   9390 fi
   9391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9392 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9394 	CFLAGS="$xorg_testset_save_CFLAGS"
   9395 fi
   9396 
   9397 found="no"
   9398 
   9399 	if test $found = "no" ; then
   9400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9402 		fi
   9403 
   9404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9406 		fi
   9407 
   9408 		CFLAGS="$CFLAGS -Wnonnull"
   9409 
   9410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9411 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9412 		cacheid=xorg_cv_cc_flag__Wnonnull
   9413 		if eval test \${$cacheid+y}
   9414 then :
   9415   printf %s "(cached) " >&6
   9416 else case e in #(
   9417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9418 /* end confdefs.h.  */
   9419 int i;
   9420 int
   9421 main (void)
   9422 {
   9423 
   9424   ;
   9425   return 0;
   9426 }
   9427 _ACEOF
   9428 if ac_fn_c_try_link "$LINENO"
   9429 then :
   9430   eval $cacheid=yes
   9431 else case e in #(
   9432   e) eval $cacheid=no ;;
   9433 esac
   9434 fi
   9435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9436     conftest$ac_exeext conftest.$ac_ext ;;
   9437 esac
   9438 fi
   9439 
   9440 
   9441 		CFLAGS="$xorg_testset_save_CFLAGS"
   9442 
   9443 		eval supported=\$$cacheid
   9444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9445 printf "%s\n" "$supported" >&6; }
   9446 		if test "$supported" = "yes" ; then
   9447 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9448 			found="yes"
   9449 		fi
   9450 	fi
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 xorg_testset_save_CFLAGS="$CFLAGS"
   9467 
   9468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9473 then :
   9474   printf %s "(cached) " >&6
   9475 else case e in #(
   9476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 _ACEOF
   9480 if ac_fn_c_try_compile "$LINENO"
   9481 then :
   9482   xorg_cv_cc_flag_unknown_warning_option=yes
   9483 else case e in #(
   9484   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9485 esac
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9488 esac
   9489 fi
   9490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9493 	CFLAGS="$xorg_testset_save_CFLAGS"
   9494 fi
   9495 
   9496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9499 	fi
   9500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9504 then :
   9505   printf %s "(cached) " >&6
   9506 else case e in #(
   9507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9508 /* end confdefs.h.  */
   9509 int i;
   9510 _ACEOF
   9511 if ac_fn_c_try_compile "$LINENO"
   9512 then :
   9513   xorg_cv_cc_flag_unused_command_line_argument=yes
   9514 else case e in #(
   9515   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9516 esac
   9517 fi
   9518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9519 esac
   9520 fi
   9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9524 	CFLAGS="$xorg_testset_save_CFLAGS"
   9525 fi
   9526 
   9527 found="no"
   9528 
   9529 	if test $found = "no" ; then
   9530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9532 		fi
   9533 
   9534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9536 		fi
   9537 
   9538 		CFLAGS="$CFLAGS -Winit-self"
   9539 
   9540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9541 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9542 		cacheid=xorg_cv_cc_flag__Winit_self
   9543 		if eval test \${$cacheid+y}
   9544 then :
   9545   printf %s "(cached) " >&6
   9546 else case e in #(
   9547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 int
   9551 main (void)
   9552 {
   9553 
   9554   ;
   9555   return 0;
   9556 }
   9557 _ACEOF
   9558 if ac_fn_c_try_link "$LINENO"
   9559 then :
   9560   eval $cacheid=yes
   9561 else case e in #(
   9562   e) eval $cacheid=no ;;
   9563 esac
   9564 fi
   9565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9566     conftest$ac_exeext conftest.$ac_ext ;;
   9567 esac
   9568 fi
   9569 
   9570 
   9571 		CFLAGS="$xorg_testset_save_CFLAGS"
   9572 
   9573 		eval supported=\$$cacheid
   9574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9575 printf "%s\n" "$supported" >&6; }
   9576 		if test "$supported" = "yes" ; then
   9577 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9578 			found="yes"
   9579 		fi
   9580 	fi
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 xorg_testset_save_CFLAGS="$CFLAGS"
   9597 
   9598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9601 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9602 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9603 then :
   9604   printf %s "(cached) " >&6
   9605 else case e in #(
   9606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int i;
   9609 _ACEOF
   9610 if ac_fn_c_try_compile "$LINENO"
   9611 then :
   9612   xorg_cv_cc_flag_unknown_warning_option=yes
   9613 else case e in #(
   9614   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9615 esac
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9618 esac
   9619 fi
   9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9621 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9623 	CFLAGS="$xorg_testset_save_CFLAGS"
   9624 fi
   9625 
   9626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9629 	fi
   9630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9632 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9633 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9634 then :
   9635   printf %s "(cached) " >&6
   9636 else case e in #(
   9637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9638 /* end confdefs.h.  */
   9639 int i;
   9640 _ACEOF
   9641 if ac_fn_c_try_compile "$LINENO"
   9642 then :
   9643   xorg_cv_cc_flag_unused_command_line_argument=yes
   9644 else case e in #(
   9645   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9646 esac
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9649 esac
   9650 fi
   9651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9652 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9654 	CFLAGS="$xorg_testset_save_CFLAGS"
   9655 fi
   9656 
   9657 found="no"
   9658 
   9659 	if test $found = "no" ; then
   9660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9662 		fi
   9663 
   9664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9666 		fi
   9667 
   9668 		CFLAGS="$CFLAGS -Wmain"
   9669 
   9670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9671 printf %s "checking if $CC supports -Wmain... " >&6; }
   9672 		cacheid=xorg_cv_cc_flag__Wmain
   9673 		if eval test \${$cacheid+y}
   9674 then :
   9675   printf %s "(cached) " >&6
   9676 else case e in #(
   9677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9678 /* end confdefs.h.  */
   9679 int i;
   9680 int
   9681 main (void)
   9682 {
   9683 
   9684   ;
   9685   return 0;
   9686 }
   9687 _ACEOF
   9688 if ac_fn_c_try_link "$LINENO"
   9689 then :
   9690   eval $cacheid=yes
   9691 else case e in #(
   9692   e) eval $cacheid=no ;;
   9693 esac
   9694 fi
   9695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9696     conftest$ac_exeext conftest.$ac_ext ;;
   9697 esac
   9698 fi
   9699 
   9700 
   9701 		CFLAGS="$xorg_testset_save_CFLAGS"
   9702 
   9703 		eval supported=\$$cacheid
   9704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9705 printf "%s\n" "$supported" >&6; }
   9706 		if test "$supported" = "yes" ; then
   9707 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9708 			found="yes"
   9709 		fi
   9710 	fi
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 xorg_testset_save_CFLAGS="$CFLAGS"
   9727 
   9728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9731 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9732 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9733 then :
   9734   printf %s "(cached) " >&6
   9735 else case e in #(
   9736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9737 /* end confdefs.h.  */
   9738 int i;
   9739 _ACEOF
   9740 if ac_fn_c_try_compile "$LINENO"
   9741 then :
   9742   xorg_cv_cc_flag_unknown_warning_option=yes
   9743 else case e in #(
   9744   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9745 esac
   9746 fi
   9747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9748 esac
   9749 fi
   9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9751 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9753 	CFLAGS="$xorg_testset_save_CFLAGS"
   9754 fi
   9755 
   9756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9759 	fi
   9760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9762 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9763 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9764 then :
   9765   printf %s "(cached) " >&6
   9766 else case e in #(
   9767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9768 /* end confdefs.h.  */
   9769 int i;
   9770 _ACEOF
   9771 if ac_fn_c_try_compile "$LINENO"
   9772 then :
   9773   xorg_cv_cc_flag_unused_command_line_argument=yes
   9774 else case e in #(
   9775   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9776 esac
   9777 fi
   9778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9779 esac
   9780 fi
   9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9782 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9784 	CFLAGS="$xorg_testset_save_CFLAGS"
   9785 fi
   9786 
   9787 found="no"
   9788 
   9789 	if test $found = "no" ; then
   9790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9792 		fi
   9793 
   9794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9796 		fi
   9797 
   9798 		CFLAGS="$CFLAGS -Wmissing-braces"
   9799 
   9800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9801 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9802 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9803 		if eval test \${$cacheid+y}
   9804 then :
   9805   printf %s "(cached) " >&6
   9806 else case e in #(
   9807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9808 /* end confdefs.h.  */
   9809 int i;
   9810 int
   9811 main (void)
   9812 {
   9813 
   9814   ;
   9815   return 0;
   9816 }
   9817 _ACEOF
   9818 if ac_fn_c_try_link "$LINENO"
   9819 then :
   9820   eval $cacheid=yes
   9821 else case e in #(
   9822   e) eval $cacheid=no ;;
   9823 esac
   9824 fi
   9825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9826     conftest$ac_exeext conftest.$ac_ext ;;
   9827 esac
   9828 fi
   9829 
   9830 
   9831 		CFLAGS="$xorg_testset_save_CFLAGS"
   9832 
   9833 		eval supported=\$$cacheid
   9834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9835 printf "%s\n" "$supported" >&6; }
   9836 		if test "$supported" = "yes" ; then
   9837 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9838 			found="yes"
   9839 		fi
   9840 	fi
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 xorg_testset_save_CFLAGS="$CFLAGS"
   9857 
   9858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9861 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9862 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9863 then :
   9864   printf %s "(cached) " >&6
   9865 else case e in #(
   9866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9867 /* end confdefs.h.  */
   9868 int i;
   9869 _ACEOF
   9870 if ac_fn_c_try_compile "$LINENO"
   9871 then :
   9872   xorg_cv_cc_flag_unknown_warning_option=yes
   9873 else case e in #(
   9874   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9875 esac
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9878 esac
   9879 fi
   9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9881 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9883 	CFLAGS="$xorg_testset_save_CFLAGS"
   9884 fi
   9885 
   9886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9889 	fi
   9890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9892 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9893 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9894 then :
   9895   printf %s "(cached) " >&6
   9896 else case e in #(
   9897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9898 /* end confdefs.h.  */
   9899 int i;
   9900 _ACEOF
   9901 if ac_fn_c_try_compile "$LINENO"
   9902 then :
   9903   xorg_cv_cc_flag_unused_command_line_argument=yes
   9904 else case e in #(
   9905   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9906 esac
   9907 fi
   9908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9909 esac
   9910 fi
   9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9914 	CFLAGS="$xorg_testset_save_CFLAGS"
   9915 fi
   9916 
   9917 found="no"
   9918 
   9919 	if test $found = "no" ; then
   9920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9922 		fi
   9923 
   9924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9926 		fi
   9927 
   9928 		CFLAGS="$CFLAGS -Wsequence-point"
   9929 
   9930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9931 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9932 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9933 		if eval test \${$cacheid+y}
   9934 then :
   9935   printf %s "(cached) " >&6
   9936 else case e in #(
   9937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9938 /* end confdefs.h.  */
   9939 int i;
   9940 int
   9941 main (void)
   9942 {
   9943 
   9944   ;
   9945   return 0;
   9946 }
   9947 _ACEOF
   9948 if ac_fn_c_try_link "$LINENO"
   9949 then :
   9950   eval $cacheid=yes
   9951 else case e in #(
   9952   e) eval $cacheid=no ;;
   9953 esac
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9956     conftest$ac_exeext conftest.$ac_ext ;;
   9957 esac
   9958 fi
   9959 
   9960 
   9961 		CFLAGS="$xorg_testset_save_CFLAGS"
   9962 
   9963 		eval supported=\$$cacheid
   9964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9965 printf "%s\n" "$supported" >&6; }
   9966 		if test "$supported" = "yes" ; then
   9967 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9968 			found="yes"
   9969 		fi
   9970 	fi
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 xorg_testset_save_CFLAGS="$CFLAGS"
   9987 
   9988 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9989 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9991 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9992 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9993 then :
   9994   printf %s "(cached) " >&6
   9995 else case e in #(
   9996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9997 /* end confdefs.h.  */
   9998 int i;
   9999 _ACEOF
   10000 if ac_fn_c_try_compile "$LINENO"
   10001 then :
   10002   xorg_cv_cc_flag_unknown_warning_option=yes
   10003 else case e in #(
   10004   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10005 esac
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10008 esac
   10009 fi
   10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10011 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10013 	CFLAGS="$xorg_testset_save_CFLAGS"
   10014 fi
   10015 
   10016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 	fi
   10020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10022 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10023 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10024 then :
   10025   printf %s "(cached) " >&6
   10026 else case e in #(
   10027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10028 /* end confdefs.h.  */
   10029 int i;
   10030 _ACEOF
   10031 if ac_fn_c_try_compile "$LINENO"
   10032 then :
   10033   xorg_cv_cc_flag_unused_command_line_argument=yes
   10034 else case e in #(
   10035   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10036 esac
   10037 fi
   10038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10039 esac
   10040 fi
   10041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 found="no"
   10048 
   10049 	if test $found = "no" ; then
   10050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 		fi
   10053 
   10054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 		fi
   10057 
   10058 		CFLAGS="$CFLAGS -Wreturn-type"
   10059 
   10060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10061 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10062 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10063 		if eval test \${$cacheid+y}
   10064 then :
   10065   printf %s "(cached) " >&6
   10066 else case e in #(
   10067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 int
   10071 main (void)
   10072 {
   10073 
   10074   ;
   10075   return 0;
   10076 }
   10077 _ACEOF
   10078 if ac_fn_c_try_link "$LINENO"
   10079 then :
   10080   eval $cacheid=yes
   10081 else case e in #(
   10082   e) eval $cacheid=no ;;
   10083 esac
   10084 fi
   10085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10086     conftest$ac_exeext conftest.$ac_ext ;;
   10087 esac
   10088 fi
   10089 
   10090 
   10091 		CFLAGS="$xorg_testset_save_CFLAGS"
   10092 
   10093 		eval supported=\$$cacheid
   10094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10095 printf "%s\n" "$supported" >&6; }
   10096 		if test "$supported" = "yes" ; then
   10097 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10098 			found="yes"
   10099 		fi
   10100 	fi
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 xorg_testset_save_CFLAGS="$CFLAGS"
   10117 
   10118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10121 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10122 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10123 then :
   10124   printf %s "(cached) " >&6
   10125 else case e in #(
   10126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10127 /* end confdefs.h.  */
   10128 int i;
   10129 _ACEOF
   10130 if ac_fn_c_try_compile "$LINENO"
   10131 then :
   10132   xorg_cv_cc_flag_unknown_warning_option=yes
   10133 else case e in #(
   10134   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10135 esac
   10136 fi
   10137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10138 esac
   10139 fi
   10140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10141 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10143 	CFLAGS="$xorg_testset_save_CFLAGS"
   10144 fi
   10145 
   10146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10149 	fi
   10150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10152 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10153 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10154 then :
   10155   printf %s "(cached) " >&6
   10156 else case e in #(
   10157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10158 /* end confdefs.h.  */
   10159 int i;
   10160 _ACEOF
   10161 if ac_fn_c_try_compile "$LINENO"
   10162 then :
   10163   xorg_cv_cc_flag_unused_command_line_argument=yes
   10164 else case e in #(
   10165   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10166 esac
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10169 esac
   10170 fi
   10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10172 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10174 	CFLAGS="$xorg_testset_save_CFLAGS"
   10175 fi
   10176 
   10177 found="no"
   10178 
   10179 	if test $found = "no" ; then
   10180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 		fi
   10183 
   10184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10186 		fi
   10187 
   10188 		CFLAGS="$CFLAGS -Wtrigraphs"
   10189 
   10190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10191 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10192 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10193 		if eval test \${$cacheid+y}
   10194 then :
   10195   printf %s "(cached) " >&6
   10196 else case e in #(
   10197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10198 /* end confdefs.h.  */
   10199 int i;
   10200 int
   10201 main (void)
   10202 {
   10203 
   10204   ;
   10205   return 0;
   10206 }
   10207 _ACEOF
   10208 if ac_fn_c_try_link "$LINENO"
   10209 then :
   10210   eval $cacheid=yes
   10211 else case e in #(
   10212   e) eval $cacheid=no ;;
   10213 esac
   10214 fi
   10215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10216     conftest$ac_exeext conftest.$ac_ext ;;
   10217 esac
   10218 fi
   10219 
   10220 
   10221 		CFLAGS="$xorg_testset_save_CFLAGS"
   10222 
   10223 		eval supported=\$$cacheid
   10224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10225 printf "%s\n" "$supported" >&6; }
   10226 		if test "$supported" = "yes" ; then
   10227 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10228 			found="yes"
   10229 		fi
   10230 	fi
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 xorg_testset_save_CFLAGS="$CFLAGS"
   10247 
   10248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10251 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10252 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10253 then :
   10254   printf %s "(cached) " >&6
   10255 else case e in #(
   10256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10257 /* end confdefs.h.  */
   10258 int i;
   10259 _ACEOF
   10260 if ac_fn_c_try_compile "$LINENO"
   10261 then :
   10262   xorg_cv_cc_flag_unknown_warning_option=yes
   10263 else case e in #(
   10264   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10265 esac
   10266 fi
   10267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10268 esac
   10269 fi
   10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10273 	CFLAGS="$xorg_testset_save_CFLAGS"
   10274 fi
   10275 
   10276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10279 	fi
   10280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10284 then :
   10285   printf %s "(cached) " >&6
   10286 else case e in #(
   10287   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10288 /* end confdefs.h.  */
   10289 int i;
   10290 _ACEOF
   10291 if ac_fn_c_try_compile "$LINENO"
   10292 then :
   10293   xorg_cv_cc_flag_unused_command_line_argument=yes
   10294 else case e in #(
   10295   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10296 esac
   10297 fi
   10298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10299 esac
   10300 fi
   10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10302 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10304 	CFLAGS="$xorg_testset_save_CFLAGS"
   10305 fi
   10306 
   10307 found="no"
   10308 
   10309 	if test $found = "no" ; then
   10310 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 		fi
   10313 
   10314 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10316 		fi
   10317 
   10318 		CFLAGS="$CFLAGS -Warray-bounds"
   10319 
   10320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10321 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10322 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10323 		if eval test \${$cacheid+y}
   10324 then :
   10325   printf %s "(cached) " >&6
   10326 else case e in #(
   10327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10328 /* end confdefs.h.  */
   10329 int i;
   10330 int
   10331 main (void)
   10332 {
   10333 
   10334   ;
   10335   return 0;
   10336 }
   10337 _ACEOF
   10338 if ac_fn_c_try_link "$LINENO"
   10339 then :
   10340   eval $cacheid=yes
   10341 else case e in #(
   10342   e) eval $cacheid=no ;;
   10343 esac
   10344 fi
   10345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10346     conftest$ac_exeext conftest.$ac_ext ;;
   10347 esac
   10348 fi
   10349 
   10350 
   10351 		CFLAGS="$xorg_testset_save_CFLAGS"
   10352 
   10353 		eval supported=\$$cacheid
   10354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10355 printf "%s\n" "$supported" >&6; }
   10356 		if test "$supported" = "yes" ; then
   10357 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10358 			found="yes"
   10359 		fi
   10360 	fi
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 xorg_testset_save_CFLAGS="$CFLAGS"
   10377 
   10378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10383 then :
   10384   printf %s "(cached) " >&6
   10385 else case e in #(
   10386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 int i;
   10389 _ACEOF
   10390 if ac_fn_c_try_compile "$LINENO"
   10391 then :
   10392   xorg_cv_cc_flag_unknown_warning_option=yes
   10393 else case e in #(
   10394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10395 esac
   10396 fi
   10397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10398 esac
   10399 fi
   10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10403 	CFLAGS="$xorg_testset_save_CFLAGS"
   10404 fi
   10405 
   10406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10409 	fi
   10410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10414 then :
   10415   printf %s "(cached) " >&6
   10416 else case e in #(
   10417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10418 /* end confdefs.h.  */
   10419 int i;
   10420 _ACEOF
   10421 if ac_fn_c_try_compile "$LINENO"
   10422 then :
   10423   xorg_cv_cc_flag_unused_command_line_argument=yes
   10424 else case e in #(
   10425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10426 esac
   10427 fi
   10428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10429 esac
   10430 fi
   10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10434 	CFLAGS="$xorg_testset_save_CFLAGS"
   10435 fi
   10436 
   10437 found="no"
   10438 
   10439 	if test $found = "no" ; then
   10440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 		fi
   10443 
   10444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10446 		fi
   10447 
   10448 		CFLAGS="$CFLAGS -Wwrite-strings"
   10449 
   10450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10451 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10452 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10453 		if eval test \${$cacheid+y}
   10454 then :
   10455   printf %s "(cached) " >&6
   10456 else case e in #(
   10457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 int i;
   10460 int
   10461 main (void)
   10462 {
   10463 
   10464   ;
   10465   return 0;
   10466 }
   10467 _ACEOF
   10468 if ac_fn_c_try_link "$LINENO"
   10469 then :
   10470   eval $cacheid=yes
   10471 else case e in #(
   10472   e) eval $cacheid=no ;;
   10473 esac
   10474 fi
   10475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10476     conftest$ac_exeext conftest.$ac_ext ;;
   10477 esac
   10478 fi
   10479 
   10480 
   10481 		CFLAGS="$xorg_testset_save_CFLAGS"
   10482 
   10483 		eval supported=\$$cacheid
   10484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10485 printf "%s\n" "$supported" >&6; }
   10486 		if test "$supported" = "yes" ; then
   10487 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10488 			found="yes"
   10489 		fi
   10490 	fi
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 xorg_testset_save_CFLAGS="$CFLAGS"
   10507 
   10508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10513 then :
   10514   printf %s "(cached) " >&6
   10515 else case e in #(
   10516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10517 /* end confdefs.h.  */
   10518 int i;
   10519 _ACEOF
   10520 if ac_fn_c_try_compile "$LINENO"
   10521 then :
   10522   xorg_cv_cc_flag_unknown_warning_option=yes
   10523 else case e in #(
   10524   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10525 esac
   10526 fi
   10527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10528 esac
   10529 fi
   10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10531 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10533 	CFLAGS="$xorg_testset_save_CFLAGS"
   10534 fi
   10535 
   10536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10539 	fi
   10540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10542 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10543 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10544 then :
   10545   printf %s "(cached) " >&6
   10546 else case e in #(
   10547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 _ACEOF
   10551 if ac_fn_c_try_compile "$LINENO"
   10552 then :
   10553   xorg_cv_cc_flag_unused_command_line_argument=yes
   10554 else case e in #(
   10555   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10556 esac
   10557 fi
   10558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10559 esac
   10560 fi
   10561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10564 	CFLAGS="$xorg_testset_save_CFLAGS"
   10565 fi
   10566 
   10567 found="no"
   10568 
   10569 	if test $found = "no" ; then
   10570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10572 		fi
   10573 
   10574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10576 		fi
   10577 
   10578 		CFLAGS="$CFLAGS -Waddress"
   10579 
   10580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10581 printf %s "checking if $CC supports -Waddress... " >&6; }
   10582 		cacheid=xorg_cv_cc_flag__Waddress
   10583 		if eval test \${$cacheid+y}
   10584 then :
   10585   printf %s "(cached) " >&6
   10586 else case e in #(
   10587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10588 /* end confdefs.h.  */
   10589 int i;
   10590 int
   10591 main (void)
   10592 {
   10593 
   10594   ;
   10595   return 0;
   10596 }
   10597 _ACEOF
   10598 if ac_fn_c_try_link "$LINENO"
   10599 then :
   10600   eval $cacheid=yes
   10601 else case e in #(
   10602   e) eval $cacheid=no ;;
   10603 esac
   10604 fi
   10605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10606     conftest$ac_exeext conftest.$ac_ext ;;
   10607 esac
   10608 fi
   10609 
   10610 
   10611 		CFLAGS="$xorg_testset_save_CFLAGS"
   10612 
   10613 		eval supported=\$$cacheid
   10614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10615 printf "%s\n" "$supported" >&6; }
   10616 		if test "$supported" = "yes" ; then
   10617 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10618 			found="yes"
   10619 		fi
   10620 	fi
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 xorg_testset_save_CFLAGS="$CFLAGS"
   10637 
   10638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10643 then :
   10644   printf %s "(cached) " >&6
   10645 else case e in #(
   10646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 int i;
   10649 _ACEOF
   10650 if ac_fn_c_try_compile "$LINENO"
   10651 then :
   10652   xorg_cv_cc_flag_unknown_warning_option=yes
   10653 else case e in #(
   10654   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10655 esac
   10656 fi
   10657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10658 esac
   10659 fi
   10660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10663 	CFLAGS="$xorg_testset_save_CFLAGS"
   10664 fi
   10665 
   10666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10669 	fi
   10670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10674 then :
   10675   printf %s "(cached) " >&6
   10676 else case e in #(
   10677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10678 /* end confdefs.h.  */
   10679 int i;
   10680 _ACEOF
   10681 if ac_fn_c_try_compile "$LINENO"
   10682 then :
   10683   xorg_cv_cc_flag_unused_command_line_argument=yes
   10684 else case e in #(
   10685   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10686 esac
   10687 fi
   10688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10689 esac
   10690 fi
   10691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10694 	CFLAGS="$xorg_testset_save_CFLAGS"
   10695 fi
   10696 
   10697 found="no"
   10698 
   10699 	if test $found = "no" ; then
   10700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 		fi
   10703 
   10704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10706 		fi
   10707 
   10708 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10709 
   10710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10711 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10712 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10713 		if eval test \${$cacheid+y}
   10714 then :
   10715   printf %s "(cached) " >&6
   10716 else case e in #(
   10717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10718 /* end confdefs.h.  */
   10719 int i;
   10720 int
   10721 main (void)
   10722 {
   10723 
   10724   ;
   10725   return 0;
   10726 }
   10727 _ACEOF
   10728 if ac_fn_c_try_link "$LINENO"
   10729 then :
   10730   eval $cacheid=yes
   10731 else case e in #(
   10732   e) eval $cacheid=no ;;
   10733 esac
   10734 fi
   10735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10736     conftest$ac_exeext conftest.$ac_ext ;;
   10737 esac
   10738 fi
   10739 
   10740 
   10741 		CFLAGS="$xorg_testset_save_CFLAGS"
   10742 
   10743 		eval supported=\$$cacheid
   10744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10745 printf "%s\n" "$supported" >&6; }
   10746 		if test "$supported" = "yes" ; then
   10747 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10748 			found="yes"
   10749 		fi
   10750 	fi
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 xorg_testset_save_CFLAGS="$CFLAGS"
   10767 
   10768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10773 then :
   10774   printf %s "(cached) " >&6
   10775 else case e in #(
   10776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10777 /* end confdefs.h.  */
   10778 int i;
   10779 _ACEOF
   10780 if ac_fn_c_try_compile "$LINENO"
   10781 then :
   10782   xorg_cv_cc_flag_unknown_warning_option=yes
   10783 else case e in #(
   10784   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10785 esac
   10786 fi
   10787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10788 esac
   10789 fi
   10790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10793 	CFLAGS="$xorg_testset_save_CFLAGS"
   10794 fi
   10795 
   10796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10799 	fi
   10800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10804 then :
   10805   printf %s "(cached) " >&6
   10806 else case e in #(
   10807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10808 /* end confdefs.h.  */
   10809 int i;
   10810 _ACEOF
   10811 if ac_fn_c_try_compile "$LINENO"
   10812 then :
   10813   xorg_cv_cc_flag_unused_command_line_argument=yes
   10814 else case e in #(
   10815   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10816 esac
   10817 fi
   10818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10819 esac
   10820 fi
   10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10824 	CFLAGS="$xorg_testset_save_CFLAGS"
   10825 fi
   10826 
   10827 found="no"
   10828 
   10829 	if test $found = "no" ; then
   10830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10832 		fi
   10833 
   10834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10836 		fi
   10837 
   10838 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10839 
   10840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10841 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10842 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10843 		if eval test \${$cacheid+y}
   10844 then :
   10845   printf %s "(cached) " >&6
   10846 else case e in #(
   10847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10848 /* end confdefs.h.  */
   10849 int i;
   10850 int
   10851 main (void)
   10852 {
   10853 
   10854   ;
   10855   return 0;
   10856 }
   10857 _ACEOF
   10858 if ac_fn_c_try_link "$LINENO"
   10859 then :
   10860   eval $cacheid=yes
   10861 else case e in #(
   10862   e) eval $cacheid=no ;;
   10863 esac
   10864 fi
   10865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10866     conftest$ac_exeext conftest.$ac_ext ;;
   10867 esac
   10868 fi
   10869 
   10870 
   10871 		CFLAGS="$xorg_testset_save_CFLAGS"
   10872 
   10873 		eval supported=\$$cacheid
   10874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10875 printf "%s\n" "$supported" >&6; }
   10876 		if test "$supported" = "yes" ; then
   10877 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10878 			found="yes"
   10879 		fi
   10880 	fi
   10881 
   10882 
   10883 fi
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 		CWARNFLAGS="$BASE_CFLAGS"
   10892 		if  test "x$GCC" = xyes ; then
   10893 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10894 		fi
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 # Check whether --enable-strict-compilation was given.
   10904 if test ${enable_strict_compilation+y}
   10905 then :
   10906   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10907 else case e in #(
   10908   e) STRICT_COMPILE=no ;;
   10909 esac
   10910 fi
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 STRICT_CFLAGS=""
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 xorg_testset_save_CFLAGS="$CFLAGS"
   10932 
   10933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10936 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10937 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10938 then :
   10939   printf %s "(cached) " >&6
   10940 else case e in #(
   10941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10942 /* end confdefs.h.  */
   10943 int i;
   10944 _ACEOF
   10945 if ac_fn_c_try_compile "$LINENO"
   10946 then :
   10947   xorg_cv_cc_flag_unknown_warning_option=yes
   10948 else case e in #(
   10949   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10950 esac
   10951 fi
   10952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10953 esac
   10954 fi
   10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10956 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10958 	CFLAGS="$xorg_testset_save_CFLAGS"
   10959 fi
   10960 
   10961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10964 	fi
   10965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10967 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10968 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10969 then :
   10970   printf %s "(cached) " >&6
   10971 else case e in #(
   10972   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10973 /* end confdefs.h.  */
   10974 int i;
   10975 _ACEOF
   10976 if ac_fn_c_try_compile "$LINENO"
   10977 then :
   10978   xorg_cv_cc_flag_unused_command_line_argument=yes
   10979 else case e in #(
   10980   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10981 esac
   10982 fi
   10983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10984 esac
   10985 fi
   10986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10987 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10989 	CFLAGS="$xorg_testset_save_CFLAGS"
   10990 fi
   10991 
   10992 found="no"
   10993 
   10994 	if test $found = "no" ; then
   10995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10997 		fi
   10998 
   10999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11001 		fi
   11002 
   11003 		CFLAGS="$CFLAGS -pedantic"
   11004 
   11005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11006 printf %s "checking if $CC supports -pedantic... " >&6; }
   11007 		cacheid=xorg_cv_cc_flag__pedantic
   11008 		if eval test \${$cacheid+y}
   11009 then :
   11010   printf %s "(cached) " >&6
   11011 else case e in #(
   11012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11013 /* end confdefs.h.  */
   11014 int i;
   11015 int
   11016 main (void)
   11017 {
   11018 
   11019   ;
   11020   return 0;
   11021 }
   11022 _ACEOF
   11023 if ac_fn_c_try_link "$LINENO"
   11024 then :
   11025   eval $cacheid=yes
   11026 else case e in #(
   11027   e) eval $cacheid=no ;;
   11028 esac
   11029 fi
   11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11031     conftest$ac_exeext conftest.$ac_ext ;;
   11032 esac
   11033 fi
   11034 
   11035 
   11036 		CFLAGS="$xorg_testset_save_CFLAGS"
   11037 
   11038 		eval supported=\$$cacheid
   11039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11040 printf "%s\n" "$supported" >&6; }
   11041 		if test "$supported" = "yes" ; then
   11042 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11043 			found="yes"
   11044 		fi
   11045 	fi
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 xorg_testset_save_CFLAGS="$CFLAGS"
   11062 
   11063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11066 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11067 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11068 then :
   11069   printf %s "(cached) " >&6
   11070 else case e in #(
   11071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11072 /* end confdefs.h.  */
   11073 int i;
   11074 _ACEOF
   11075 if ac_fn_c_try_compile "$LINENO"
   11076 then :
   11077   xorg_cv_cc_flag_unknown_warning_option=yes
   11078 else case e in #(
   11079   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11080 esac
   11081 fi
   11082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11083 esac
   11084 fi
   11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11086 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11088 	CFLAGS="$xorg_testset_save_CFLAGS"
   11089 fi
   11090 
   11091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11094 	fi
   11095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11096 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11097 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11098 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11099 then :
   11100   printf %s "(cached) " >&6
   11101 else case e in #(
   11102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11103 /* end confdefs.h.  */
   11104 int i;
   11105 _ACEOF
   11106 if ac_fn_c_try_compile "$LINENO"
   11107 then :
   11108   xorg_cv_cc_flag_unused_command_line_argument=yes
   11109 else case e in #(
   11110   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11111 esac
   11112 fi
   11113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11114 esac
   11115 fi
   11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11117 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11119 	CFLAGS="$xorg_testset_save_CFLAGS"
   11120 fi
   11121 
   11122 found="no"
   11123 
   11124 	if test $found = "no" ; then
   11125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11127 		fi
   11128 
   11129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11131 		fi
   11132 
   11133 		CFLAGS="$CFLAGS -Werror"
   11134 
   11135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11136 printf %s "checking if $CC supports -Werror... " >&6; }
   11137 		cacheid=xorg_cv_cc_flag__Werror
   11138 		if eval test \${$cacheid+y}
   11139 then :
   11140   printf %s "(cached) " >&6
   11141 else case e in #(
   11142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11143 /* end confdefs.h.  */
   11144 int i;
   11145 int
   11146 main (void)
   11147 {
   11148 
   11149   ;
   11150   return 0;
   11151 }
   11152 _ACEOF
   11153 if ac_fn_c_try_link "$LINENO"
   11154 then :
   11155   eval $cacheid=yes
   11156 else case e in #(
   11157   e) eval $cacheid=no ;;
   11158 esac
   11159 fi
   11160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11161     conftest$ac_exeext conftest.$ac_ext ;;
   11162 esac
   11163 fi
   11164 
   11165 
   11166 		CFLAGS="$xorg_testset_save_CFLAGS"
   11167 
   11168 		eval supported=\$$cacheid
   11169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11170 printf "%s\n" "$supported" >&6; }
   11171 		if test "$supported" = "yes" ; then
   11172 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11173 			found="yes"
   11174 		fi
   11175 	fi
   11176 
   11177 	if test $found = "no" ; then
   11178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11180 		fi
   11181 
   11182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11184 		fi
   11185 
   11186 		CFLAGS="$CFLAGS -errwarn"
   11187 
   11188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11189 printf %s "checking if $CC supports -errwarn... " >&6; }
   11190 		cacheid=xorg_cv_cc_flag__errwarn
   11191 		if eval test \${$cacheid+y}
   11192 then :
   11193   printf %s "(cached) " >&6
   11194 else case e in #(
   11195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11196 /* end confdefs.h.  */
   11197 int i;
   11198 int
   11199 main (void)
   11200 {
   11201 
   11202   ;
   11203   return 0;
   11204 }
   11205 _ACEOF
   11206 if ac_fn_c_try_link "$LINENO"
   11207 then :
   11208   eval $cacheid=yes
   11209 else case e in #(
   11210   e) eval $cacheid=no ;;
   11211 esac
   11212 fi
   11213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11214     conftest$ac_exeext conftest.$ac_ext ;;
   11215 esac
   11216 fi
   11217 
   11218 
   11219 		CFLAGS="$xorg_testset_save_CFLAGS"
   11220 
   11221 		eval supported=\$$cacheid
   11222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11223 printf "%s\n" "$supported" >&6; }
   11224 		if test "$supported" = "yes" ; then
   11225 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11226 			found="yes"
   11227 		fi
   11228 	fi
   11229 
   11230 
   11231 
   11232 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11233 # activate it with -Werror, so we add it here explicitly.
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 xorg_testset_save_CFLAGS="$CFLAGS"
   11248 
   11249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11252 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11253 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11254 then :
   11255   printf %s "(cached) " >&6
   11256 else case e in #(
   11257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11258 /* end confdefs.h.  */
   11259 int i;
   11260 _ACEOF
   11261 if ac_fn_c_try_compile "$LINENO"
   11262 then :
   11263   xorg_cv_cc_flag_unknown_warning_option=yes
   11264 else case e in #(
   11265   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11266 esac
   11267 fi
   11268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11269 esac
   11270 fi
   11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11274 	CFLAGS="$xorg_testset_save_CFLAGS"
   11275 fi
   11276 
   11277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11280 	fi
   11281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11285 then :
   11286   printf %s "(cached) " >&6
   11287 else case e in #(
   11288   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11289 /* end confdefs.h.  */
   11290 int i;
   11291 _ACEOF
   11292 if ac_fn_c_try_compile "$LINENO"
   11293 then :
   11294   xorg_cv_cc_flag_unused_command_line_argument=yes
   11295 else case e in #(
   11296   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11297 esac
   11298 fi
   11299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11300 esac
   11301 fi
   11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11303 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11305 	CFLAGS="$xorg_testset_save_CFLAGS"
   11306 fi
   11307 
   11308 found="no"
   11309 
   11310 	if test $found = "no" ; then
   11311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11313 		fi
   11314 
   11315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11317 		fi
   11318 
   11319 		CFLAGS="$CFLAGS -Werror=attributes"
   11320 
   11321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11322 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11323 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11324 		if eval test \${$cacheid+y}
   11325 then :
   11326   printf %s "(cached) " >&6
   11327 else case e in #(
   11328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11329 /* end confdefs.h.  */
   11330 int i;
   11331 int
   11332 main (void)
   11333 {
   11334 
   11335   ;
   11336   return 0;
   11337 }
   11338 _ACEOF
   11339 if ac_fn_c_try_link "$LINENO"
   11340 then :
   11341   eval $cacheid=yes
   11342 else case e in #(
   11343   e) eval $cacheid=no ;;
   11344 esac
   11345 fi
   11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11347     conftest$ac_exeext conftest.$ac_ext ;;
   11348 esac
   11349 fi
   11350 
   11351 
   11352 		CFLAGS="$xorg_testset_save_CFLAGS"
   11353 
   11354 		eval supported=\$$cacheid
   11355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11356 printf "%s\n" "$supported" >&6; }
   11357 		if test "$supported" = "yes" ; then
   11358 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11359 			found="yes"
   11360 		fi
   11361 	fi
   11362 
   11363 
   11364 
   11365 if test "x$STRICT_COMPILE" = "xyes"; then
   11366     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11367     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11368 fi
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 cat >>confdefs.h <<_ACEOF
   11378 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11379 _ACEOF
   11380 
   11381 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11382 	if test "x$PVM" = "x"; then
   11383 		PVM="0"
   11384 	fi
   11385 
   11386 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11387 
   11388 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11389 	if test "x$PVP" = "x"; then
   11390 		PVP="0"
   11391 	fi
   11392 
   11393 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11394 
   11395 
   11396 
   11397 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11398 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11399 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11400 touch \$(top_srcdir)/ChangeLog; \
   11401 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11402 
   11403 
   11404 
   11405 
   11406 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11407 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11408 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11409 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11410 touch \$(top_srcdir)/INSTALL; \
   11411 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 case $host_os in
   11419     solaris*)
   11420         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11421         # check for a man page file found in later versions that use
   11422         # traditional section numbers instead
   11423         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11424 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11425 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11426 then :
   11427   printf %s "(cached) " >&6
   11428 else case e in #(
   11429   e) test "$cross_compiling" = yes &&
   11430   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11431 if test -r "/usr/share/man/man7/attributes.7"; then
   11432   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11433 else
   11434   ac_cv_file__usr_share_man_man7_attributes_7=no
   11435 fi ;;
   11436 esac
   11437 fi
   11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11439 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11440 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11441 then :
   11442   SYSV_MAN_SECTIONS=false
   11443 else case e in #(
   11444   e) SYSV_MAN_SECTIONS=true ;;
   11445 esac
   11446 fi
   11447 
   11448         ;;
   11449     *) SYSV_MAN_SECTIONS=false ;;
   11450 esac
   11451 
   11452 if test x$APP_MAN_SUFFIX = x    ; then
   11453     APP_MAN_SUFFIX=1
   11454 fi
   11455 if test x$APP_MAN_DIR = x    ; then
   11456     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11457 fi
   11458 
   11459 if test x$LIB_MAN_SUFFIX = x    ; then
   11460     LIB_MAN_SUFFIX=3
   11461 fi
   11462 if test x$LIB_MAN_DIR = x    ; then
   11463     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11464 fi
   11465 
   11466 if test x$FILE_MAN_SUFFIX = x    ; then
   11467     case $SYSV_MAN_SECTIONS in
   11468 	true)				FILE_MAN_SUFFIX=4  ;;
   11469 	*)				FILE_MAN_SUFFIX=5  ;;
   11470     esac
   11471 fi
   11472 if test x$FILE_MAN_DIR = x    ; then
   11473     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11474 fi
   11475 
   11476 if test x$MISC_MAN_SUFFIX = x    ; then
   11477     case $SYSV_MAN_SECTIONS in
   11478 	true)				MISC_MAN_SUFFIX=5  ;;
   11479 	*)				MISC_MAN_SUFFIX=7  ;;
   11480     esac
   11481 fi
   11482 if test x$MISC_MAN_DIR = x    ; then
   11483     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11484 fi
   11485 
   11486 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11487     case $SYSV_MAN_SECTIONS in
   11488 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11489 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11490     esac
   11491 fi
   11492 if test x$DRIVER_MAN_DIR = x    ; then
   11493     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11494 fi
   11495 
   11496 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11497     case $SYSV_MAN_SECTIONS in
   11498 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11499 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11500     esac
   11501 fi
   11502 if test x$ADMIN_MAN_DIR = x    ; then
   11503     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11504 fi
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 XORG_MAN_PAGE="X Version 11"
   11521 
   11522 MAN_SUBSTS="\
   11523 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11524 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11525 	-e 's|__xservername__|Xorg|g' \
   11526 	-e 's|__xconfigfile__|xorg.conf|g' \
   11527 	-e 's|__projectroot__|\$(prefix)|g' \
   11528 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11529 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11530 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11531 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11532 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11533 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11534 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11535 
   11536 
   11537 
   11538 # Check whether --enable-silent-rules was given.
   11539 if test ${enable_silent_rules+y}
   11540 then :
   11541   enableval=$enable_silent_rules;
   11542 fi
   11543 
   11544 case $enable_silent_rules in # (((
   11545   yes) AM_DEFAULT_VERBOSITY=0;;
   11546    no) AM_DEFAULT_VERBOSITY=1;;
   11547     *) AM_DEFAULT_VERBOSITY=0;;
   11548 esac
   11549 am_make=${MAKE-make}
   11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11551 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11552 if test ${am_cv_make_support_nested_variables+y}
   11553 then :
   11554   printf %s "(cached) " >&6
   11555 else case e in #(
   11556   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11557 BAR0=false
   11558 BAR1=true
   11559 V=1
   11560 am__doit:
   11561 	@$(TRUE)
   11562 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11563   am_cv_make_support_nested_variables=yes
   11564 else
   11565   am_cv_make_support_nested_variables=no
   11566 fi ;;
   11567 esac
   11568 fi
   11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11570 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11571 if test $am_cv_make_support_nested_variables = yes; then
   11572     AM_V='$(V)'
   11573   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11574 else
   11575   AM_V=$AM_DEFAULT_VERBOSITY
   11576   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11577 fi
   11578 AM_BACKSLASH='\'
   11579 
   11580 
   11581 
   11582 
   11583 # Initialize libtool
   11584 case `pwd` in
   11585   *\ * | *\	*)
   11586     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11587 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11588 esac
   11589 
   11590 
   11591 
   11592 macro_version='2.4.7'
   11593 macro_revision='2.4.7'
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 ltmain=$ac_aux_dir/ltmain.sh
   11609 
   11610 # Backslashify metacharacters that are still active within
   11611 # double-quoted strings.
   11612 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11613 
   11614 # Same as above, but do not quote variable references.
   11615 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11616 
   11617 # Sed substitution to delay expansion of an escaped shell variable in a
   11618 # double_quote_subst'ed string.
   11619 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11620 
   11621 # Sed substitution to delay expansion of an escaped single quote.
   11622 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11623 
   11624 # Sed substitution to avoid accidental globbing in evaled expressions
   11625 no_glob_subst='s/\*/\\\*/g'
   11626 
   11627 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11628 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11629 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11630 
   11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11632 printf %s "checking how to print strings... " >&6; }
   11633 # Test print first, because it will be a builtin if present.
   11634 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11635    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11636   ECHO='print -r --'
   11637 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11638   ECHO='printf %s\n'
   11639 else
   11640   # Use this function as a fallback that always works.
   11641   func_fallback_echo ()
   11642   {
   11643     eval 'cat <<_LTECHO_EOF
   11644 $1
   11645 _LTECHO_EOF'
   11646   }
   11647   ECHO='func_fallback_echo'
   11648 fi
   11649 
   11650 # func_echo_all arg...
   11651 # Invoke $ECHO with all args, space-separated.
   11652 func_echo_all ()
   11653 {
   11654     $ECHO ""
   11655 }
   11656 
   11657 case $ECHO in
   11658   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11659 printf "%s\n" "printf" >&6; } ;;
   11660   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11661 printf "%s\n" "print -r" >&6; } ;;
   11662   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11663 printf "%s\n" "cat" >&6; } ;;
   11664 esac
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11680 printf %s "checking for a sed that does not truncate output... " >&6; }
   11681 if test ${ac_cv_path_SED+y}
   11682 then :
   11683   printf %s "(cached) " >&6
   11684 else case e in #(
   11685   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11686      for ac_i in 1 2 3 4 5 6 7; do
   11687        ac_script="$ac_script$as_nl$ac_script"
   11688      done
   11689      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11690      { ac_script=; unset ac_script;}
   11691      if test -z "$SED"; then
   11692   ac_path_SED_found=false
   11693   # Loop through the user's path and test for each of PROGNAME-LIST
   11694   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11695 for as_dir in $PATH
   11696 do
   11697   IFS=$as_save_IFS
   11698   case $as_dir in #(((
   11699     '') as_dir=./ ;;
   11700     */) ;;
   11701     *) as_dir=$as_dir/ ;;
   11702   esac
   11703     for ac_prog in sed gsed
   11704    do
   11705     for ac_exec_ext in '' $ac_executable_extensions; do
   11706       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11707       as_fn_executable_p "$ac_path_SED" || continue
   11708 # Check for GNU ac_path_SED and select it if it is found.
   11709   # Check for GNU $ac_path_SED
   11710 case `"$ac_path_SED" --version 2>&1` in #(
   11711 *GNU*)
   11712   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11713 #(
   11714 *)
   11715   ac_count=0
   11716   printf %s 0123456789 >"conftest.in"
   11717   while :
   11718   do
   11719     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11720     mv "conftest.tmp" "conftest.in"
   11721     cp "conftest.in" "conftest.nl"
   11722     printf "%s\n" '' >> "conftest.nl"
   11723     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11724     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11725     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11726     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11727       # Best one so far, save it but keep looking for a better one
   11728       ac_cv_path_SED="$ac_path_SED"
   11729       ac_path_SED_max=$ac_count
   11730     fi
   11731     # 10*(2^10) chars as input seems more than enough
   11732     test $ac_count -gt 10 && break
   11733   done
   11734   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11735 esac
   11736 
   11737       $ac_path_SED_found && break 3
   11738     done
   11739   done
   11740   done
   11741 IFS=$as_save_IFS
   11742   if test -z "$ac_cv_path_SED"; then
   11743     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11744   fi
   11745 else
   11746   ac_cv_path_SED=$SED
   11747 fi
   11748  ;;
   11749 esac
   11750 fi
   11751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11752 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11753  SED="$ac_cv_path_SED"
   11754   rm -f conftest.sed
   11755 
   11756 test -z "$SED" && SED=sed
   11757 Xsed="$SED -e 1s/^X//"
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11770 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11771 if test ${ac_cv_path_GREP+y}
   11772 then :
   11773   printf %s "(cached) " >&6
   11774 else case e in #(
   11775   e) if test -z "$GREP"; then
   11776   ac_path_GREP_found=false
   11777   # Loop through the user's path and test for each of PROGNAME-LIST
   11778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11780 do
   11781   IFS=$as_save_IFS
   11782   case $as_dir in #(((
   11783     '') as_dir=./ ;;
   11784     */) ;;
   11785     *) as_dir=$as_dir/ ;;
   11786   esac
   11787     for ac_prog in grep ggrep
   11788    do
   11789     for ac_exec_ext in '' $ac_executable_extensions; do
   11790       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11791       as_fn_executable_p "$ac_path_GREP" || continue
   11792 # Check for GNU ac_path_GREP and select it if it is found.
   11793   # Check for GNU $ac_path_GREP
   11794 case `"$ac_path_GREP" --version 2>&1` in #(
   11795 *GNU*)
   11796   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11797 #(
   11798 *)
   11799   ac_count=0
   11800   printf %s 0123456789 >"conftest.in"
   11801   while :
   11802   do
   11803     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11804     mv "conftest.tmp" "conftest.in"
   11805     cp "conftest.in" "conftest.nl"
   11806     printf "%s\n" 'GREP' >> "conftest.nl"
   11807     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11808     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11809     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11810     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11811       # Best one so far, save it but keep looking for a better one
   11812       ac_cv_path_GREP="$ac_path_GREP"
   11813       ac_path_GREP_max=$ac_count
   11814     fi
   11815     # 10*(2^10) chars as input seems more than enough
   11816     test $ac_count -gt 10 && break
   11817   done
   11818   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11819 esac
   11820 
   11821       $ac_path_GREP_found && break 3
   11822     done
   11823   done
   11824   done
   11825 IFS=$as_save_IFS
   11826   if test -z "$ac_cv_path_GREP"; then
   11827     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11828   fi
   11829 else
   11830   ac_cv_path_GREP=$GREP
   11831 fi
   11832  ;;
   11833 esac
   11834 fi
   11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11836 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11837  GREP="$ac_cv_path_GREP"
   11838 
   11839 
   11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11841 printf %s "checking for egrep... " >&6; }
   11842 if test ${ac_cv_path_EGREP+y}
   11843 then :
   11844   printf %s "(cached) " >&6
   11845 else case e in #(
   11846   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11847    then ac_cv_path_EGREP="$GREP -E"
   11848    else
   11849      if test -z "$EGREP"; then
   11850   ac_path_EGREP_found=false
   11851   # Loop through the user's path and test for each of PROGNAME-LIST
   11852   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11853 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11854 do
   11855   IFS=$as_save_IFS
   11856   case $as_dir in #(((
   11857     '') as_dir=./ ;;
   11858     */) ;;
   11859     *) as_dir=$as_dir/ ;;
   11860   esac
   11861     for ac_prog in egrep
   11862    do
   11863     for ac_exec_ext in '' $ac_executable_extensions; do
   11864       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11865       as_fn_executable_p "$ac_path_EGREP" || continue
   11866 # Check for GNU ac_path_EGREP and select it if it is found.
   11867   # Check for GNU $ac_path_EGREP
   11868 case `"$ac_path_EGREP" --version 2>&1` in #(
   11869 *GNU*)
   11870   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11871 #(
   11872 *)
   11873   ac_count=0
   11874   printf %s 0123456789 >"conftest.in"
   11875   while :
   11876   do
   11877     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11878     mv "conftest.tmp" "conftest.in"
   11879     cp "conftest.in" "conftest.nl"
   11880     printf "%s\n" 'EGREP' >> "conftest.nl"
   11881     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11882     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11883     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11884     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11885       # Best one so far, save it but keep looking for a better one
   11886       ac_cv_path_EGREP="$ac_path_EGREP"
   11887       ac_path_EGREP_max=$ac_count
   11888     fi
   11889     # 10*(2^10) chars as input seems more than enough
   11890     test $ac_count -gt 10 && break
   11891   done
   11892   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11893 esac
   11894 
   11895       $ac_path_EGREP_found && break 3
   11896     done
   11897   done
   11898   done
   11899 IFS=$as_save_IFS
   11900   if test -z "$ac_cv_path_EGREP"; then
   11901     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11902   fi
   11903 else
   11904   ac_cv_path_EGREP=$EGREP
   11905 fi
   11906 
   11907    fi ;;
   11908 esac
   11909 fi
   11910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11911 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11912  EGREP="$ac_cv_path_EGREP"
   11913 
   11914          EGREP_TRADITIONAL=$EGREP
   11915  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   11916 
   11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11918 printf %s "checking for fgrep... " >&6; }
   11919 if test ${ac_cv_path_FGREP+y}
   11920 then :
   11921   printf %s "(cached) " >&6
   11922 else case e in #(
   11923   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11924    then ac_cv_path_FGREP="$GREP -F"
   11925    else
   11926      if test -z "$FGREP"; then
   11927   ac_path_FGREP_found=false
   11928   # Loop through the user's path and test for each of PROGNAME-LIST
   11929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11931 do
   11932   IFS=$as_save_IFS
   11933   case $as_dir in #(((
   11934     '') as_dir=./ ;;
   11935     */) ;;
   11936     *) as_dir=$as_dir/ ;;
   11937   esac
   11938     for ac_prog in fgrep
   11939    do
   11940     for ac_exec_ext in '' $ac_executable_extensions; do
   11941       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11942       as_fn_executable_p "$ac_path_FGREP" || continue
   11943 # Check for GNU ac_path_FGREP and select it if it is found.
   11944   # Check for GNU $ac_path_FGREP
   11945 case `"$ac_path_FGREP" --version 2>&1` in #(
   11946 *GNU*)
   11947   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11948 #(
   11949 *)
   11950   ac_count=0
   11951   printf %s 0123456789 >"conftest.in"
   11952   while :
   11953   do
   11954     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11955     mv "conftest.tmp" "conftest.in"
   11956     cp "conftest.in" "conftest.nl"
   11957     printf "%s\n" 'FGREP' >> "conftest.nl"
   11958     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11959     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11960     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11961     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11962       # Best one so far, save it but keep looking for a better one
   11963       ac_cv_path_FGREP="$ac_path_FGREP"
   11964       ac_path_FGREP_max=$ac_count
   11965     fi
   11966     # 10*(2^10) chars as input seems more than enough
   11967     test $ac_count -gt 10 && break
   11968   done
   11969   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11970 esac
   11971 
   11972       $ac_path_FGREP_found && break 3
   11973     done
   11974   done
   11975   done
   11976 IFS=$as_save_IFS
   11977   if test -z "$ac_cv_path_FGREP"; then
   11978     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11979   fi
   11980 else
   11981   ac_cv_path_FGREP=$FGREP
   11982 fi
   11983 
   11984    fi ;;
   11985 esac
   11986 fi
   11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11988 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11989  FGREP="$ac_cv_path_FGREP"
   11990 
   11991 
   11992 test -z "$GREP" && GREP=grep
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 # Check whether --with-gnu-ld was given.
   12013 if test ${with_gnu_ld+y}
   12014 then :
   12015   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12016 else case e in #(
   12017   e) with_gnu_ld=no ;;
   12018 esac
   12019 fi
   12020 
   12021 ac_prog=ld
   12022 if test yes = "$GCC"; then
   12023   # Check if gcc -print-prog-name=ld gives a path.
   12024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12025 printf %s "checking for ld used by $CC... " >&6; }
   12026   case $host in
   12027   *-*-mingw*)
   12028     # gcc leaves a trailing carriage return, which upsets mingw
   12029     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12030   *)
   12031     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12032   esac
   12033   case $ac_prog in
   12034     # Accept absolute paths.
   12035     [\\/]* | ?:[\\/]*)
   12036       re_direlt='/[^/][^/]*/\.\./'
   12037       # Canonicalize the pathname of ld
   12038       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12039       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12040 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12041       done
   12042       test -z "$LD" && LD=$ac_prog
   12043       ;;
   12044   "")
   12045     # If it fails, then pretend we aren't using GCC.
   12046     ac_prog=ld
   12047     ;;
   12048   *)
   12049     # If it is relative, then search for the first ld in PATH.
   12050     with_gnu_ld=unknown
   12051     ;;
   12052   esac
   12053 elif test yes = "$with_gnu_ld"; then
   12054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12055 printf %s "checking for GNU ld... " >&6; }
   12056 else
   12057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12058 printf %s "checking for non-GNU ld... " >&6; }
   12059 fi
   12060 if test ${lt_cv_path_LD+y}
   12061 then :
   12062   printf %s "(cached) " >&6
   12063 else case e in #(
   12064   e) if test -z "$LD"; then
   12065   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12066   for ac_dir in $PATH; do
   12067     IFS=$lt_save_ifs
   12068     test -z "$ac_dir" && ac_dir=.
   12069     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12070       lt_cv_path_LD=$ac_dir/$ac_prog
   12071       # Check to see if the program is GNU ld.  I'd rather use --version,
   12072       # but apparently some variants of GNU ld only accept -v.
   12073       # Break only if it was the GNU/non-GNU ld that we prefer.
   12074       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12075       *GNU* | *'with BFD'*)
   12076 	test no != "$with_gnu_ld" && break
   12077 	;;
   12078       *)
   12079 	test yes != "$with_gnu_ld" && break
   12080 	;;
   12081       esac
   12082     fi
   12083   done
   12084   IFS=$lt_save_ifs
   12085 else
   12086   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12087 fi ;;
   12088 esac
   12089 fi
   12090 
   12091 LD=$lt_cv_path_LD
   12092 if test -n "$LD"; then
   12093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12094 printf "%s\n" "$LD" >&6; }
   12095 else
   12096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12097 printf "%s\n" "no" >&6; }
   12098 fi
   12099 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12101 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12102 if test ${lt_cv_prog_gnu_ld+y}
   12103 then :
   12104   printf %s "(cached) " >&6
   12105 else case e in #(
   12106   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12107 case `$LD -v 2>&1 </dev/null` in
   12108 *GNU* | *'with BFD'*)
   12109   lt_cv_prog_gnu_ld=yes
   12110   ;;
   12111 *)
   12112   lt_cv_prog_gnu_ld=no
   12113   ;;
   12114 esac ;;
   12115 esac
   12116 fi
   12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12118 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12119 with_gnu_ld=$lt_cv_prog_gnu_ld
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12130 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12131 if test ${lt_cv_path_NM+y}
   12132 then :
   12133   printf %s "(cached) " >&6
   12134 else case e in #(
   12135   e) if test -n "$NM"; then
   12136   # Let the user override the test.
   12137   lt_cv_path_NM=$NM
   12138 else
   12139   lt_nm_to_check=${ac_tool_prefix}nm
   12140   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12141     lt_nm_to_check="$lt_nm_to_check nm"
   12142   fi
   12143   for lt_tmp_nm in $lt_nm_to_check; do
   12144     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12145     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12146       IFS=$lt_save_ifs
   12147       test -z "$ac_dir" && ac_dir=.
   12148       tmp_nm=$ac_dir/$lt_tmp_nm
   12149       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12150 	# Check to see if the nm accepts a BSD-compat flag.
   12151 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12152 	#   nm: unknown option "B" ignored
   12153 	# Tru64's nm complains that /dev/null is an invalid object file
   12154 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12155 	case $build_os in
   12156 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12157 	*) lt_bad_file=/dev/null ;;
   12158 	esac
   12159 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12160 	*$lt_bad_file* | *'Invalid file or object type'*)
   12161 	  lt_cv_path_NM="$tmp_nm -B"
   12162 	  break 2
   12163 	  ;;
   12164 	*)
   12165 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12166 	  */dev/null*)
   12167 	    lt_cv_path_NM="$tmp_nm -p"
   12168 	    break 2
   12169 	    ;;
   12170 	  *)
   12171 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12172 	    continue # so that we can try to find one that supports BSD flags
   12173 	    ;;
   12174 	  esac
   12175 	  ;;
   12176 	esac
   12177       fi
   12178     done
   12179     IFS=$lt_save_ifs
   12180   done
   12181   : ${lt_cv_path_NM=no}
   12182 fi ;;
   12183 esac
   12184 fi
   12185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12186 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12187 if test no != "$lt_cv_path_NM"; then
   12188   NM=$lt_cv_path_NM
   12189 else
   12190   # Didn't find any BSD compatible name lister, look for dumpbin.
   12191   if test -n "$DUMPBIN"; then :
   12192     # Let the user override the test.
   12193   else
   12194     if test -n "$ac_tool_prefix"; then
   12195   for ac_prog in dumpbin "link -dump"
   12196   do
   12197     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12200 printf %s "checking for $ac_word... " >&6; }
   12201 if test ${ac_cv_prog_DUMPBIN+y}
   12202 then :
   12203   printf %s "(cached) " >&6
   12204 else case e in #(
   12205   e) if test -n "$DUMPBIN"; then
   12206   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12207 else
   12208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12209 for as_dir in $PATH
   12210 do
   12211   IFS=$as_save_IFS
   12212   case $as_dir in #(((
   12213     '') as_dir=./ ;;
   12214     */) ;;
   12215     *) as_dir=$as_dir/ ;;
   12216   esac
   12217     for ac_exec_ext in '' $ac_executable_extensions; do
   12218   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12219     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12220     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12221     break 2
   12222   fi
   12223 done
   12224   done
   12225 IFS=$as_save_IFS
   12226 
   12227 fi ;;
   12228 esac
   12229 fi
   12230 DUMPBIN=$ac_cv_prog_DUMPBIN
   12231 if test -n "$DUMPBIN"; then
   12232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12233 printf "%s\n" "$DUMPBIN" >&6; }
   12234 else
   12235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12236 printf "%s\n" "no" >&6; }
   12237 fi
   12238 
   12239 
   12240     test -n "$DUMPBIN" && break
   12241   done
   12242 fi
   12243 if test -z "$DUMPBIN"; then
   12244   ac_ct_DUMPBIN=$DUMPBIN
   12245   for ac_prog in dumpbin "link -dump"
   12246 do
   12247   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12248 set dummy $ac_prog; ac_word=$2
   12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12250 printf %s "checking for $ac_word... " >&6; }
   12251 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12252 then :
   12253   printf %s "(cached) " >&6
   12254 else case e in #(
   12255   e) if test -n "$ac_ct_DUMPBIN"; then
   12256   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12257 else
   12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12259 for as_dir in $PATH
   12260 do
   12261   IFS=$as_save_IFS
   12262   case $as_dir in #(((
   12263     '') as_dir=./ ;;
   12264     */) ;;
   12265     *) as_dir=$as_dir/ ;;
   12266   esac
   12267     for ac_exec_ext in '' $ac_executable_extensions; do
   12268   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12269     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12270     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12271     break 2
   12272   fi
   12273 done
   12274   done
   12275 IFS=$as_save_IFS
   12276 
   12277 fi ;;
   12278 esac
   12279 fi
   12280 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12281 if test -n "$ac_ct_DUMPBIN"; then
   12282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12283 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12284 else
   12285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12286 printf "%s\n" "no" >&6; }
   12287 fi
   12288 
   12289 
   12290   test -n "$ac_ct_DUMPBIN" && break
   12291 done
   12292 
   12293   if test "x$ac_ct_DUMPBIN" = x; then
   12294     DUMPBIN=":"
   12295   else
   12296     case $cross_compiling:$ac_tool_warned in
   12297 yes:)
   12298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12299 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12300 ac_tool_warned=yes ;;
   12301 esac
   12302     DUMPBIN=$ac_ct_DUMPBIN
   12303   fi
   12304 fi
   12305 
   12306     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12307     *COFF*)
   12308       DUMPBIN="$DUMPBIN -symbols -headers"
   12309       ;;
   12310     *)
   12311       DUMPBIN=:
   12312       ;;
   12313     esac
   12314   fi
   12315 
   12316   if test : != "$DUMPBIN"; then
   12317     NM=$DUMPBIN
   12318   fi
   12319 fi
   12320 test -z "$NM" && NM=nm
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12328 printf %s "checking the name lister ($NM) interface... " >&6; }
   12329 if test ${lt_cv_nm_interface+y}
   12330 then :
   12331   printf %s "(cached) " >&6
   12332 else case e in #(
   12333   e) lt_cv_nm_interface="BSD nm"
   12334   echo "int some_variable = 0;" > conftest.$ac_ext
   12335   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12336   (eval "$ac_compile" 2>conftest.err)
   12337   cat conftest.err >&5
   12338   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12339   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12340   cat conftest.err >&5
   12341   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12342   cat conftest.out >&5
   12343   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12344     lt_cv_nm_interface="MS dumpbin"
   12345   fi
   12346   rm -f conftest* ;;
   12347 esac
   12348 fi
   12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12350 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12351 
   12352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12353 printf %s "checking whether ln -s works... " >&6; }
   12354 LN_S=$as_ln_s
   12355 if test "$LN_S" = "ln -s"; then
   12356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12357 printf "%s\n" "yes" >&6; }
   12358 else
   12359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12360 printf "%s\n" "no, using $LN_S" >&6; }
   12361 fi
   12362 
   12363 # find the maximum length of command line arguments
   12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12365 printf %s "checking the maximum length of command line arguments... " >&6; }
   12366 if test ${lt_cv_sys_max_cmd_len+y}
   12367 then :
   12368   printf %s "(cached) " >&6
   12369 else case e in #(
   12370   e)   i=0
   12371   teststring=ABCD
   12372 
   12373   case $build_os in
   12374   msdosdjgpp*)
   12375     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12376     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12377     # during glob expansion).  Even if it were fixed, the result of this
   12378     # check would be larger than it should be.
   12379     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12380     ;;
   12381 
   12382   gnu*)
   12383     # Under GNU Hurd, this test is not required because there is
   12384     # no limit to the length of command line arguments.
   12385     # Libtool will interpret -1 as no limit whatsoever
   12386     lt_cv_sys_max_cmd_len=-1;
   12387     ;;
   12388 
   12389   cygwin* | mingw* | cegcc*)
   12390     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12391     # about 5 minutes as the teststring grows exponentially.
   12392     # Worse, since 9x/ME are not pre-emptively multitasking,
   12393     # you end up with a "frozen" computer, even though with patience
   12394     # the test eventually succeeds (with a max line length of 256k).
   12395     # Instead, let's just punt: use the minimum linelength reported by
   12396     # all of the supported platforms: 8192 (on NT/2K/XP).
   12397     lt_cv_sys_max_cmd_len=8192;
   12398     ;;
   12399 
   12400   mint*)
   12401     # On MiNT this can take a long time and run out of memory.
   12402     lt_cv_sys_max_cmd_len=8192;
   12403     ;;
   12404 
   12405   amigaos*)
   12406     # On AmigaOS with pdksh, this test takes hours, literally.
   12407     # So we just punt and use a minimum line length of 8192.
   12408     lt_cv_sys_max_cmd_len=8192;
   12409     ;;
   12410 
   12411   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12412     # This has been around since 386BSD, at least.  Likely further.
   12413     if test -x /sbin/sysctl; then
   12414       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12415     elif test -x /usr/sbin/sysctl; then
   12416       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12417     else
   12418       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12419     fi
   12420     # And add a safety zone
   12421     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12422     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12423     ;;
   12424 
   12425   interix*)
   12426     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12427     lt_cv_sys_max_cmd_len=196608
   12428     ;;
   12429 
   12430   os2*)
   12431     # The test takes a long time on OS/2.
   12432     lt_cv_sys_max_cmd_len=8192
   12433     ;;
   12434 
   12435   osf*)
   12436     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12437     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12438     # nice to cause kernel panics so lets avoid the loop below.
   12439     # First set a reasonable default.
   12440     lt_cv_sys_max_cmd_len=16384
   12441     #
   12442     if test -x /sbin/sysconfig; then
   12443       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12444         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12445       esac
   12446     fi
   12447     ;;
   12448   sco3.2v5*)
   12449     lt_cv_sys_max_cmd_len=102400
   12450     ;;
   12451   sysv5* | sco5v6* | sysv4.2uw2*)
   12452     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12453     if test -n "$kargmax"; then
   12454       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12455     else
   12456       lt_cv_sys_max_cmd_len=32768
   12457     fi
   12458     ;;
   12459   *)
   12460     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12461     if test -n "$lt_cv_sys_max_cmd_len" && \
   12462        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12463       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12464       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12465     else
   12466       # Make teststring a little bigger before we do anything with it.
   12467       # a 1K string should be a reasonable start.
   12468       for i in 1 2 3 4 5 6 7 8; do
   12469         teststring=$teststring$teststring
   12470       done
   12471       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12472       # If test is not a shell built-in, we'll probably end up computing a
   12473       # maximum length that is only half of the actual maximum length, but
   12474       # we can't tell.
   12475       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12476 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12477 	      test 17 != "$i" # 1/2 MB should be enough
   12478       do
   12479         i=`expr $i + 1`
   12480         teststring=$teststring$teststring
   12481       done
   12482       # Only check the string length outside the loop.
   12483       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12484       teststring=
   12485       # Add a significant safety factor because C++ compilers can tack on
   12486       # massive amounts of additional arguments before passing them to the
   12487       # linker.  It appears as though 1/2 is a usable value.
   12488       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12489     fi
   12490     ;;
   12491   esac
   12492  ;;
   12493 esac
   12494 fi
   12495 
   12496 if test -n "$lt_cv_sys_max_cmd_len"; then
   12497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12498 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12499 else
   12500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12501 printf "%s\n" "none" >&6; }
   12502 fi
   12503 max_cmd_len=$lt_cv_sys_max_cmd_len
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 : ${CP="cp -f"}
   12511 : ${MV="mv -f"}
   12512 : ${RM="rm -f"}
   12513 
   12514 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12515   lt_unset=unset
   12516 else
   12517   lt_unset=false
   12518 fi
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 # test EBCDIC or ASCII
   12525 case `echo X|tr X '\101'` in
   12526  A) # ASCII based system
   12527     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12528   lt_SP2NL='tr \040 \012'
   12529   lt_NL2SP='tr \015\012 \040\040'
   12530   ;;
   12531  *) # EBCDIC based system
   12532   lt_SP2NL='tr \100 \n'
   12533   lt_NL2SP='tr \r\n \100\100'
   12534   ;;
   12535 esac
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12546 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12547 if test ${lt_cv_to_host_file_cmd+y}
   12548 then :
   12549   printf %s "(cached) " >&6
   12550 else case e in #(
   12551   e) case $host in
   12552   *-*-mingw* )
   12553     case $build in
   12554       *-*-mingw* ) # actually msys
   12555         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12556         ;;
   12557       *-*-cygwin* )
   12558         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12559         ;;
   12560       * ) # otherwise, assume *nix
   12561         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12562         ;;
   12563     esac
   12564     ;;
   12565   *-*-cygwin* )
   12566     case $build in
   12567       *-*-mingw* ) # actually msys
   12568         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12569         ;;
   12570       *-*-cygwin* )
   12571         lt_cv_to_host_file_cmd=func_convert_file_noop
   12572         ;;
   12573       * ) # otherwise, assume *nix
   12574         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12575         ;;
   12576     esac
   12577     ;;
   12578   * ) # unhandled hosts (and "normal" native builds)
   12579     lt_cv_to_host_file_cmd=func_convert_file_noop
   12580     ;;
   12581 esac
   12582  ;;
   12583 esac
   12584 fi
   12585 
   12586 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12588 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12595 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12596 if test ${lt_cv_to_tool_file_cmd+y}
   12597 then :
   12598   printf %s "(cached) " >&6
   12599 else case e in #(
   12600   e) #assume ordinary cross tools, or native build.
   12601 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12602 case $host in
   12603   *-*-mingw* )
   12604     case $build in
   12605       *-*-mingw* ) # actually msys
   12606         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12607         ;;
   12608     esac
   12609     ;;
   12610 esac
   12611  ;;
   12612 esac
   12613 fi
   12614 
   12615 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12617 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12624 printf %s "checking for $LD option to reload object files... " >&6; }
   12625 if test ${lt_cv_ld_reload_flag+y}
   12626 then :
   12627   printf %s "(cached) " >&6
   12628 else case e in #(
   12629   e) lt_cv_ld_reload_flag='-r' ;;
   12630 esac
   12631 fi
   12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12633 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12634 reload_flag=$lt_cv_ld_reload_flag
   12635 case $reload_flag in
   12636 "" | " "*) ;;
   12637 *) reload_flag=" $reload_flag" ;;
   12638 esac
   12639 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12640 case $host_os in
   12641   cygwin* | mingw* | pw32* | cegcc*)
   12642     if test yes != "$GCC"; then
   12643       reload_cmds=false
   12644     fi
   12645     ;;
   12646   darwin*)
   12647     if test yes = "$GCC"; then
   12648       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12649     else
   12650       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12651     fi
   12652     ;;
   12653 esac
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 if test -n "$ac_tool_prefix"; then
   12664   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12665 set dummy ${ac_tool_prefix}file; ac_word=$2
   12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12667 printf %s "checking for $ac_word... " >&6; }
   12668 if test ${ac_cv_prog_FILECMD+y}
   12669 then :
   12670   printf %s "(cached) " >&6
   12671 else case e in #(
   12672   e) if test -n "$FILECMD"; then
   12673   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12674 else
   12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12676 for as_dir in $PATH
   12677 do
   12678   IFS=$as_save_IFS
   12679   case $as_dir in #(((
   12680     '') as_dir=./ ;;
   12681     */) ;;
   12682     *) as_dir=$as_dir/ ;;
   12683   esac
   12684     for ac_exec_ext in '' $ac_executable_extensions; do
   12685   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12686     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12687     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12688     break 2
   12689   fi
   12690 done
   12691   done
   12692 IFS=$as_save_IFS
   12693 
   12694 fi ;;
   12695 esac
   12696 fi
   12697 FILECMD=$ac_cv_prog_FILECMD
   12698 if test -n "$FILECMD"; then
   12699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12700 printf "%s\n" "$FILECMD" >&6; }
   12701 else
   12702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12703 printf "%s\n" "no" >&6; }
   12704 fi
   12705 
   12706 
   12707 fi
   12708 if test -z "$ac_cv_prog_FILECMD"; then
   12709   ac_ct_FILECMD=$FILECMD
   12710   # Extract the first word of "file", so it can be a program name with args.
   12711 set dummy file; ac_word=$2
   12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12713 printf %s "checking for $ac_word... " >&6; }
   12714 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12715 then :
   12716   printf %s "(cached) " >&6
   12717 else case e in #(
   12718   e) if test -n "$ac_ct_FILECMD"; then
   12719   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12720 else
   12721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12722 for as_dir in $PATH
   12723 do
   12724   IFS=$as_save_IFS
   12725   case $as_dir in #(((
   12726     '') as_dir=./ ;;
   12727     */) ;;
   12728     *) as_dir=$as_dir/ ;;
   12729   esac
   12730     for ac_exec_ext in '' $ac_executable_extensions; do
   12731   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12732     ac_cv_prog_ac_ct_FILECMD="file"
   12733     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12734     break 2
   12735   fi
   12736 done
   12737   done
   12738 IFS=$as_save_IFS
   12739 
   12740 fi ;;
   12741 esac
   12742 fi
   12743 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12744 if test -n "$ac_ct_FILECMD"; then
   12745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12746 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12747 else
   12748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12749 printf "%s\n" "no" >&6; }
   12750 fi
   12751 
   12752   if test "x$ac_ct_FILECMD" = x; then
   12753     FILECMD=":"
   12754   else
   12755     case $cross_compiling:$ac_tool_warned in
   12756 yes:)
   12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12759 ac_tool_warned=yes ;;
   12760 esac
   12761     FILECMD=$ac_ct_FILECMD
   12762   fi
   12763 else
   12764   FILECMD="$ac_cv_prog_FILECMD"
   12765 fi
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 if test -n "$ac_tool_prefix"; then
   12774   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12775 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12777 printf %s "checking for $ac_word... " >&6; }
   12778 if test ${ac_cv_prog_OBJDUMP+y}
   12779 then :
   12780   printf %s "(cached) " >&6
   12781 else case e in #(
   12782   e) if test -n "$OBJDUMP"; then
   12783   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12784 else
   12785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12786 for as_dir in $PATH
   12787 do
   12788   IFS=$as_save_IFS
   12789   case $as_dir in #(((
   12790     '') as_dir=./ ;;
   12791     */) ;;
   12792     *) as_dir=$as_dir/ ;;
   12793   esac
   12794     for ac_exec_ext in '' $ac_executable_extensions; do
   12795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12796     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12798     break 2
   12799   fi
   12800 done
   12801   done
   12802 IFS=$as_save_IFS
   12803 
   12804 fi ;;
   12805 esac
   12806 fi
   12807 OBJDUMP=$ac_cv_prog_OBJDUMP
   12808 if test -n "$OBJDUMP"; then
   12809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12810 printf "%s\n" "$OBJDUMP" >&6; }
   12811 else
   12812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12813 printf "%s\n" "no" >&6; }
   12814 fi
   12815 
   12816 
   12817 fi
   12818 if test -z "$ac_cv_prog_OBJDUMP"; then
   12819   ac_ct_OBJDUMP=$OBJDUMP
   12820   # Extract the first word of "objdump", so it can be a program name with args.
   12821 set dummy objdump; ac_word=$2
   12822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12823 printf %s "checking for $ac_word... " >&6; }
   12824 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12825 then :
   12826   printf %s "(cached) " >&6
   12827 else case e in #(
   12828   e) if test -n "$ac_ct_OBJDUMP"; then
   12829   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12830 else
   12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12832 for as_dir in $PATH
   12833 do
   12834   IFS=$as_save_IFS
   12835   case $as_dir in #(((
   12836     '') as_dir=./ ;;
   12837     */) ;;
   12838     *) as_dir=$as_dir/ ;;
   12839   esac
   12840     for ac_exec_ext in '' $ac_executable_extensions; do
   12841   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12842     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12843     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12844     break 2
   12845   fi
   12846 done
   12847   done
   12848 IFS=$as_save_IFS
   12849 
   12850 fi ;;
   12851 esac
   12852 fi
   12853 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12854 if test -n "$ac_ct_OBJDUMP"; then
   12855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12856 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12857 else
   12858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12859 printf "%s\n" "no" >&6; }
   12860 fi
   12861 
   12862   if test "x$ac_ct_OBJDUMP" = x; then
   12863     OBJDUMP="false"
   12864   else
   12865     case $cross_compiling:$ac_tool_warned in
   12866 yes:)
   12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12868 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12869 ac_tool_warned=yes ;;
   12870 esac
   12871     OBJDUMP=$ac_ct_OBJDUMP
   12872   fi
   12873 else
   12874   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12875 fi
   12876 
   12877 test -z "$OBJDUMP" && OBJDUMP=objdump
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12888 printf %s "checking how to recognize dependent libraries... " >&6; }
   12889 if test ${lt_cv_deplibs_check_method+y}
   12890 then :
   12891   printf %s "(cached) " >&6
   12892 else case e in #(
   12893   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   12894 lt_cv_file_magic_test_file=
   12895 lt_cv_deplibs_check_method='unknown'
   12896 # Need to set the preceding variable on all platforms that support
   12897 # interlibrary dependencies.
   12898 # 'none' -- dependencies not supported.
   12899 # 'unknown' -- same as none, but documents that we really don't know.
   12900 # 'pass_all' -- all dependencies passed with no checks.
   12901 # 'test_compile' -- check by making test program.
   12902 # 'file_magic [[regex]]' -- check by looking for files in library path
   12903 # that responds to the $file_magic_cmd with a given extended regex.
   12904 # If you have 'file' or equivalent on your system and you're not sure
   12905 # whether 'pass_all' will *always* work, you probably want this one.
   12906 
   12907 case $host_os in
   12908 aix[4-9]*)
   12909   lt_cv_deplibs_check_method=pass_all
   12910   ;;
   12911 
   12912 beos*)
   12913   lt_cv_deplibs_check_method=pass_all
   12914   ;;
   12915 
   12916 bsdi[45]*)
   12917   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12918   lt_cv_file_magic_cmd='$FILECMD -L'
   12919   lt_cv_file_magic_test_file=/shlib/libc.so
   12920   ;;
   12921 
   12922 cygwin*)
   12923   # func_win32_libid is a shell function defined in ltmain.sh
   12924   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12925   lt_cv_file_magic_cmd='func_win32_libid'
   12926   ;;
   12927 
   12928 mingw* | pw32*)
   12929   # Base MSYS/MinGW do not provide the 'file' command needed by
   12930   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12931   # unless we find 'file', for example because we are cross-compiling.
   12932   if ( file / ) >/dev/null 2>&1; then
   12933     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12934     lt_cv_file_magic_cmd='func_win32_libid'
   12935   else
   12936     # Keep this pattern in sync with the one in func_win32_libid.
   12937     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12938     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12939   fi
   12940   ;;
   12941 
   12942 cegcc*)
   12943   # use the weaker test based on 'objdump'. See mingw*.
   12944   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12945   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12946   ;;
   12947 
   12948 darwin* | rhapsody*)
   12949   lt_cv_deplibs_check_method=pass_all
   12950   ;;
   12951 
   12952 freebsd* | dragonfly* | midnightbsd*)
   12953   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12954     case $host_cpu in
   12955     i*86 )
   12956       # Not sure whether the presence of OpenBSD here was a mistake.
   12957       # Let's accept both of them until this is cleared up.
   12958       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12959       lt_cv_file_magic_cmd=$FILECMD
   12960       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12961       ;;
   12962     esac
   12963   else
   12964     lt_cv_deplibs_check_method=pass_all
   12965   fi
   12966   ;;
   12967 
   12968 haiku*)
   12969   lt_cv_deplibs_check_method=pass_all
   12970   ;;
   12971 
   12972 hpux10.20* | hpux11*)
   12973   lt_cv_file_magic_cmd=$FILECMD
   12974   case $host_cpu in
   12975   ia64*)
   12976     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12977     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12978     ;;
   12979   hppa*64*)
   12980     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]'
   12981     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12982     ;;
   12983   *)
   12984     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12985     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12986     ;;
   12987   esac
   12988   ;;
   12989 
   12990 interix[3-9]*)
   12991   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12992   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12993   ;;
   12994 
   12995 irix5* | irix6* | nonstopux*)
   12996   case $LD in
   12997   *-32|*"-32 ") libmagic=32-bit;;
   12998   *-n32|*"-n32 ") libmagic=N32;;
   12999   *-64|*"-64 ") libmagic=64-bit;;
   13000   *) libmagic=never-match;;
   13001   esac
   13002   lt_cv_deplibs_check_method=pass_all
   13003   ;;
   13004 
   13005 # This must be glibc/ELF.
   13006 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13007   lt_cv_deplibs_check_method=pass_all
   13008   ;;
   13009 
   13010 netbsd*)
   13011   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13012     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13013   else
   13014     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13015   fi
   13016   ;;
   13017 
   13018 newos6*)
   13019   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13020   lt_cv_file_magic_cmd=$FILECMD
   13021   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13022   ;;
   13023 
   13024 *nto* | *qnx*)
   13025   lt_cv_deplibs_check_method=pass_all
   13026   ;;
   13027 
   13028 openbsd* | bitrig*)
   13029   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13031   else
   13032     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13033   fi
   13034   ;;
   13035 
   13036 osf3* | osf4* | osf5*)
   13037   lt_cv_deplibs_check_method=pass_all
   13038   ;;
   13039 
   13040 rdos*)
   13041   lt_cv_deplibs_check_method=pass_all
   13042   ;;
   13043 
   13044 solaris*)
   13045   lt_cv_deplibs_check_method=pass_all
   13046   ;;
   13047 
   13048 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13049   lt_cv_deplibs_check_method=pass_all
   13050   ;;
   13051 
   13052 sysv4 | sysv4.3*)
   13053   case $host_vendor in
   13054   motorola)
   13055     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]'
   13056     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13057     ;;
   13058   ncr)
   13059     lt_cv_deplibs_check_method=pass_all
   13060     ;;
   13061   sequent)
   13062     lt_cv_file_magic_cmd='/bin/file'
   13063     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13064     ;;
   13065   sni)
   13066     lt_cv_file_magic_cmd='/bin/file'
   13067     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13068     lt_cv_file_magic_test_file=/lib/libc.so
   13069     ;;
   13070   siemens)
   13071     lt_cv_deplibs_check_method=pass_all
   13072     ;;
   13073   pc)
   13074     lt_cv_deplibs_check_method=pass_all
   13075     ;;
   13076   esac
   13077   ;;
   13078 
   13079 tpf*)
   13080   lt_cv_deplibs_check_method=pass_all
   13081   ;;
   13082 os2*)
   13083   lt_cv_deplibs_check_method=pass_all
   13084   ;;
   13085 esac
   13086  ;;
   13087 esac
   13088 fi
   13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13090 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13091 
   13092 file_magic_glob=
   13093 want_nocaseglob=no
   13094 if test "$build" = "$host"; then
   13095   case $host_os in
   13096   mingw* | pw32*)
   13097     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13098       want_nocaseglob=yes
   13099     else
   13100       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13101     fi
   13102     ;;
   13103   esac
   13104 fi
   13105 
   13106 file_magic_cmd=$lt_cv_file_magic_cmd
   13107 deplibs_check_method=$lt_cv_deplibs_check_method
   13108 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 if test -n "$ac_tool_prefix"; then
   13132   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13133 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13135 printf %s "checking for $ac_word... " >&6; }
   13136 if test ${ac_cv_prog_DLLTOOL+y}
   13137 then :
   13138   printf %s "(cached) " >&6
   13139 else case e in #(
   13140   e) if test -n "$DLLTOOL"; then
   13141   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13142 else
   13143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13144 for as_dir in $PATH
   13145 do
   13146   IFS=$as_save_IFS
   13147   case $as_dir in #(((
   13148     '') as_dir=./ ;;
   13149     */) ;;
   13150     *) as_dir=$as_dir/ ;;
   13151   esac
   13152     for ac_exec_ext in '' $ac_executable_extensions; do
   13153   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13154     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13155     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13156     break 2
   13157   fi
   13158 done
   13159   done
   13160 IFS=$as_save_IFS
   13161 
   13162 fi ;;
   13163 esac
   13164 fi
   13165 DLLTOOL=$ac_cv_prog_DLLTOOL
   13166 if test -n "$DLLTOOL"; then
   13167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13168 printf "%s\n" "$DLLTOOL" >&6; }
   13169 else
   13170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13171 printf "%s\n" "no" >&6; }
   13172 fi
   13173 
   13174 
   13175 fi
   13176 if test -z "$ac_cv_prog_DLLTOOL"; then
   13177   ac_ct_DLLTOOL=$DLLTOOL
   13178   # Extract the first word of "dlltool", so it can be a program name with args.
   13179 set dummy dlltool; ac_word=$2
   13180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13181 printf %s "checking for $ac_word... " >&6; }
   13182 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13183 then :
   13184   printf %s "(cached) " >&6
   13185 else case e in #(
   13186   e) if test -n "$ac_ct_DLLTOOL"; then
   13187   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13188 else
   13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13190 for as_dir in $PATH
   13191 do
   13192   IFS=$as_save_IFS
   13193   case $as_dir in #(((
   13194     '') as_dir=./ ;;
   13195     */) ;;
   13196     *) as_dir=$as_dir/ ;;
   13197   esac
   13198     for ac_exec_ext in '' $ac_executable_extensions; do
   13199   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13200     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13201     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13202     break 2
   13203   fi
   13204 done
   13205   done
   13206 IFS=$as_save_IFS
   13207 
   13208 fi ;;
   13209 esac
   13210 fi
   13211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13212 if test -n "$ac_ct_DLLTOOL"; then
   13213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13214 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13215 else
   13216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13217 printf "%s\n" "no" >&6; }
   13218 fi
   13219 
   13220   if test "x$ac_ct_DLLTOOL" = x; then
   13221     DLLTOOL="false"
   13222   else
   13223     case $cross_compiling:$ac_tool_warned in
   13224 yes:)
   13225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13226 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13227 ac_tool_warned=yes ;;
   13228 esac
   13229     DLLTOOL=$ac_ct_DLLTOOL
   13230   fi
   13231 else
   13232   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13233 fi
   13234 
   13235 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13247 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13248 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13249 then :
   13250   printf %s "(cached) " >&6
   13251 else case e in #(
   13252   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   13253 
   13254 case $host_os in
   13255 cygwin* | mingw* | pw32* | cegcc*)
   13256   # two different shell functions defined in ltmain.sh;
   13257   # decide which one to use based on capabilities of $DLLTOOL
   13258   case `$DLLTOOL --help 2>&1` in
   13259   *--identify-strict*)
   13260     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13261     ;;
   13262   *)
   13263     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13264     ;;
   13265   esac
   13266   ;;
   13267 *)
   13268   # fallback: assume linklib IS sharedlib
   13269   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13270   ;;
   13271 esac
   13272  ;;
   13273 esac
   13274 fi
   13275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13276 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13277 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13278 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 if test -n "$ac_tool_prefix"; then
   13287   for ac_prog in ar
   13288   do
   13289     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13292 printf %s "checking for $ac_word... " >&6; }
   13293 if test ${ac_cv_prog_AR+y}
   13294 then :
   13295   printf %s "(cached) " >&6
   13296 else case e in #(
   13297   e) if test -n "$AR"; then
   13298   ac_cv_prog_AR="$AR" # Let the user override the test.
   13299 else
   13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13301 for as_dir in $PATH
   13302 do
   13303   IFS=$as_save_IFS
   13304   case $as_dir in #(((
   13305     '') as_dir=./ ;;
   13306     */) ;;
   13307     *) as_dir=$as_dir/ ;;
   13308   esac
   13309     for ac_exec_ext in '' $ac_executable_extensions; do
   13310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13311     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13312     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13313     break 2
   13314   fi
   13315 done
   13316   done
   13317 IFS=$as_save_IFS
   13318 
   13319 fi ;;
   13320 esac
   13321 fi
   13322 AR=$ac_cv_prog_AR
   13323 if test -n "$AR"; then
   13324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13325 printf "%s\n" "$AR" >&6; }
   13326 else
   13327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13328 printf "%s\n" "no" >&6; }
   13329 fi
   13330 
   13331 
   13332     test -n "$AR" && break
   13333   done
   13334 fi
   13335 if test -z "$AR"; then
   13336   ac_ct_AR=$AR
   13337   for ac_prog in ar
   13338 do
   13339   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13340 set dummy $ac_prog; ac_word=$2
   13341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13342 printf %s "checking for $ac_word... " >&6; }
   13343 if test ${ac_cv_prog_ac_ct_AR+y}
   13344 then :
   13345   printf %s "(cached) " >&6
   13346 else case e in #(
   13347   e) if test -n "$ac_ct_AR"; then
   13348   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13349 else
   13350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13351 for as_dir in $PATH
   13352 do
   13353   IFS=$as_save_IFS
   13354   case $as_dir in #(((
   13355     '') as_dir=./ ;;
   13356     */) ;;
   13357     *) as_dir=$as_dir/ ;;
   13358   esac
   13359     for ac_exec_ext in '' $ac_executable_extensions; do
   13360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13361     ac_cv_prog_ac_ct_AR="$ac_prog"
   13362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13363     break 2
   13364   fi
   13365 done
   13366   done
   13367 IFS=$as_save_IFS
   13368 
   13369 fi ;;
   13370 esac
   13371 fi
   13372 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13373 if test -n "$ac_ct_AR"; then
   13374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13375 printf "%s\n" "$ac_ct_AR" >&6; }
   13376 else
   13377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13378 printf "%s\n" "no" >&6; }
   13379 fi
   13380 
   13381 
   13382   test -n "$ac_ct_AR" && break
   13383 done
   13384 
   13385   if test "x$ac_ct_AR" = x; then
   13386     AR="false"
   13387   else
   13388     case $cross_compiling:$ac_tool_warned in
   13389 yes:)
   13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13391 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13392 ac_tool_warned=yes ;;
   13393 esac
   13394     AR=$ac_ct_AR
   13395   fi
   13396 fi
   13397 
   13398 : ${AR=ar}
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13406 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13407 # higher priority because thats what people were doing historically (setting
   13408 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13409 # variable obsoleted/removed.
   13410 
   13411 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13412 lt_ar_flags=$AR_FLAGS
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13420 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13428 printf %s "checking for archiver @FILE support... " >&6; }
   13429 if test ${lt_cv_ar_at_file+y}
   13430 then :
   13431   printf %s "(cached) " >&6
   13432 else case e in #(
   13433   e) lt_cv_ar_at_file=no
   13434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13435 /* end confdefs.h.  */
   13436 
   13437 int
   13438 main (void)
   13439 {
   13440 
   13441   ;
   13442   return 0;
   13443 }
   13444 _ACEOF
   13445 if ac_fn_c_try_compile "$LINENO"
   13446 then :
   13447   echo conftest.$ac_objext > conftest.lst
   13448       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13449       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13450   (eval $lt_ar_try) 2>&5
   13451   ac_status=$?
   13452   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13453   test $ac_status = 0; }
   13454       if test 0 -eq "$ac_status"; then
   13455 	# Ensure the archiver fails upon bogus file names.
   13456 	rm -f conftest.$ac_objext libconftest.a
   13457 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13458   (eval $lt_ar_try) 2>&5
   13459   ac_status=$?
   13460   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13461   test $ac_status = 0; }
   13462 	if test 0 -ne "$ac_status"; then
   13463           lt_cv_ar_at_file=@
   13464         fi
   13465       fi
   13466       rm -f conftest.* libconftest.a
   13467 
   13468 fi
   13469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13470    ;;
   13471 esac
   13472 fi
   13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13474 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13475 
   13476 if test no = "$lt_cv_ar_at_file"; then
   13477   archiver_list_spec=
   13478 else
   13479   archiver_list_spec=$lt_cv_ar_at_file
   13480 fi
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 if test -n "$ac_tool_prefix"; then
   13489   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13490 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13492 printf %s "checking for $ac_word... " >&6; }
   13493 if test ${ac_cv_prog_STRIP+y}
   13494 then :
   13495   printf %s "(cached) " >&6
   13496 else case e in #(
   13497   e) if test -n "$STRIP"; then
   13498   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13499 else
   13500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13501 for as_dir in $PATH
   13502 do
   13503   IFS=$as_save_IFS
   13504   case $as_dir in #(((
   13505     '') as_dir=./ ;;
   13506     */) ;;
   13507     *) as_dir=$as_dir/ ;;
   13508   esac
   13509     for ac_exec_ext in '' $ac_executable_extensions; do
   13510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13511     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13513     break 2
   13514   fi
   13515 done
   13516   done
   13517 IFS=$as_save_IFS
   13518 
   13519 fi ;;
   13520 esac
   13521 fi
   13522 STRIP=$ac_cv_prog_STRIP
   13523 if test -n "$STRIP"; then
   13524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13525 printf "%s\n" "$STRIP" >&6; }
   13526 else
   13527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13528 printf "%s\n" "no" >&6; }
   13529 fi
   13530 
   13531 
   13532 fi
   13533 if test -z "$ac_cv_prog_STRIP"; then
   13534   ac_ct_STRIP=$STRIP
   13535   # Extract the first word of "strip", so it can be a program name with args.
   13536 set dummy strip; ac_word=$2
   13537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13538 printf %s "checking for $ac_word... " >&6; }
   13539 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13540 then :
   13541   printf %s "(cached) " >&6
   13542 else case e in #(
   13543   e) if test -n "$ac_ct_STRIP"; then
   13544   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13545 else
   13546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13547 for as_dir in $PATH
   13548 do
   13549   IFS=$as_save_IFS
   13550   case $as_dir in #(((
   13551     '') as_dir=./ ;;
   13552     */) ;;
   13553     *) as_dir=$as_dir/ ;;
   13554   esac
   13555     for ac_exec_ext in '' $ac_executable_extensions; do
   13556   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13557     ac_cv_prog_ac_ct_STRIP="strip"
   13558     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13559     break 2
   13560   fi
   13561 done
   13562   done
   13563 IFS=$as_save_IFS
   13564 
   13565 fi ;;
   13566 esac
   13567 fi
   13568 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13569 if test -n "$ac_ct_STRIP"; then
   13570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13571 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13572 else
   13573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13574 printf "%s\n" "no" >&6; }
   13575 fi
   13576 
   13577   if test "x$ac_ct_STRIP" = x; then
   13578     STRIP=":"
   13579   else
   13580     case $cross_compiling:$ac_tool_warned in
   13581 yes:)
   13582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13583 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13584 ac_tool_warned=yes ;;
   13585 esac
   13586     STRIP=$ac_ct_STRIP
   13587   fi
   13588 else
   13589   STRIP="$ac_cv_prog_STRIP"
   13590 fi
   13591 
   13592 test -z "$STRIP" && STRIP=:
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 if test -n "$ac_tool_prefix"; then
   13600   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13601 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13603 printf %s "checking for $ac_word... " >&6; }
   13604 if test ${ac_cv_prog_RANLIB+y}
   13605 then :
   13606   printf %s "(cached) " >&6
   13607 else case e in #(
   13608   e) if test -n "$RANLIB"; then
   13609   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13610 else
   13611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13612 for as_dir in $PATH
   13613 do
   13614   IFS=$as_save_IFS
   13615   case $as_dir in #(((
   13616     '') as_dir=./ ;;
   13617     */) ;;
   13618     *) as_dir=$as_dir/ ;;
   13619   esac
   13620     for ac_exec_ext in '' $ac_executable_extensions; do
   13621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13622     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13624     break 2
   13625   fi
   13626 done
   13627   done
   13628 IFS=$as_save_IFS
   13629 
   13630 fi ;;
   13631 esac
   13632 fi
   13633 RANLIB=$ac_cv_prog_RANLIB
   13634 if test -n "$RANLIB"; then
   13635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13636 printf "%s\n" "$RANLIB" >&6; }
   13637 else
   13638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13639 printf "%s\n" "no" >&6; }
   13640 fi
   13641 
   13642 
   13643 fi
   13644 if test -z "$ac_cv_prog_RANLIB"; then
   13645   ac_ct_RANLIB=$RANLIB
   13646   # Extract the first word of "ranlib", so it can be a program name with args.
   13647 set dummy ranlib; ac_word=$2
   13648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13649 printf %s "checking for $ac_word... " >&6; }
   13650 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13651 then :
   13652   printf %s "(cached) " >&6
   13653 else case e in #(
   13654   e) if test -n "$ac_ct_RANLIB"; then
   13655   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13656 else
   13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13658 for as_dir in $PATH
   13659 do
   13660   IFS=$as_save_IFS
   13661   case $as_dir in #(((
   13662     '') as_dir=./ ;;
   13663     */) ;;
   13664     *) as_dir=$as_dir/ ;;
   13665   esac
   13666     for ac_exec_ext in '' $ac_executable_extensions; do
   13667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13668     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13670     break 2
   13671   fi
   13672 done
   13673   done
   13674 IFS=$as_save_IFS
   13675 
   13676 fi ;;
   13677 esac
   13678 fi
   13679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13680 if test -n "$ac_ct_RANLIB"; then
   13681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13682 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13683 else
   13684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13685 printf "%s\n" "no" >&6; }
   13686 fi
   13687 
   13688   if test "x$ac_ct_RANLIB" = x; then
   13689     RANLIB=":"
   13690   else
   13691     case $cross_compiling:$ac_tool_warned in
   13692 yes:)
   13693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13695 ac_tool_warned=yes ;;
   13696 esac
   13697     RANLIB=$ac_ct_RANLIB
   13698   fi
   13699 else
   13700   RANLIB="$ac_cv_prog_RANLIB"
   13701 fi
   13702 
   13703 test -z "$RANLIB" && RANLIB=:
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 # Determine commands to create old-style static archives.
   13711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13712 old_postinstall_cmds='chmod 644 $oldlib'
   13713 old_postuninstall_cmds=
   13714 
   13715 if test -n "$RANLIB"; then
   13716   case $host_os in
   13717   bitrig* | openbsd*)
   13718     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13719     ;;
   13720   *)
   13721     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13722     ;;
   13723   esac
   13724   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13725 fi
   13726 
   13727 case $host_os in
   13728   darwin*)
   13729     lock_old_archive_extraction=yes ;;
   13730   *)
   13731     lock_old_archive_extraction=no ;;
   13732 esac
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 # If no C compiler was specified, use CC.
   13773 LTCC=${LTCC-"$CC"}
   13774 
   13775 # If no C compiler flags were specified, use CFLAGS.
   13776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13777 
   13778 # Allow CC to be a program name with arguments.
   13779 compiler=$CC
   13780 
   13781 
   13782 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13784 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13785 if test ${lt_cv_sys_global_symbol_pipe+y}
   13786 then :
   13787   printf %s "(cached) " >&6
   13788 else case e in #(
   13789   e)
   13790 # These are sane defaults that work on at least a few old systems.
   13791 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13792 
   13793 # Character class describing NM global symbol codes.
   13794 symcode='[BCDEGRST]'
   13795 
   13796 # Regexp to match symbols that can be accessed directly from C.
   13797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13798 
   13799 # Define system-specific variables.
   13800 case $host_os in
   13801 aix*)
   13802   symcode='[BCDT]'
   13803   ;;
   13804 cygwin* | mingw* | pw32* | cegcc*)
   13805   symcode='[ABCDGISTW]'
   13806   ;;
   13807 hpux*)
   13808   if test ia64 = "$host_cpu"; then
   13809     symcode='[ABCDEGRST]'
   13810   fi
   13811   ;;
   13812 irix* | nonstopux*)
   13813   symcode='[BCDEGRST]'
   13814   ;;
   13815 osf*)
   13816   symcode='[BCDEGQRST]'
   13817   ;;
   13818 solaris*)
   13819   symcode='[BDRT]'
   13820   ;;
   13821 sco3.2v5*)
   13822   symcode='[DT]'
   13823   ;;
   13824 sysv4.2uw2*)
   13825   symcode='[DT]'
   13826   ;;
   13827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13828   symcode='[ABDT]'
   13829   ;;
   13830 sysv4)
   13831   symcode='[DFNSTU]'
   13832   ;;
   13833 esac
   13834 
   13835 # If we're using GNU nm, then use its standard symbol codes.
   13836 case `$NM -V 2>&1` in
   13837 *GNU* | *'with BFD'*)
   13838   symcode='[ABCDGIRSTW]' ;;
   13839 esac
   13840 
   13841 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13842   # Gets list of data symbols to import.
   13843   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13844   # Adjust the below global symbol transforms to fixup imported variables.
   13845   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13846   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13847   lt_c_name_lib_hook="\
   13848   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13849   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13850 else
   13851   # Disable hooks by default.
   13852   lt_cv_sys_global_symbol_to_import=
   13853   lt_cdecl_hook=
   13854   lt_c_name_hook=
   13855   lt_c_name_lib_hook=
   13856 fi
   13857 
   13858 # Transform an extracted symbol line into a proper C declaration.
   13859 # Some systems (esp. on ia64) link data and code symbols differently,
   13860 # so use this general approach.
   13861 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13862 $lt_cdecl_hook\
   13863 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13864 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13865 
   13866 # Transform an extracted symbol line into symbol name and symbol address
   13867 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13868 $lt_c_name_hook\
   13869 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13870 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13871 
   13872 # Transform an extracted symbol line into symbol name with lib prefix and
   13873 # symbol address.
   13874 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13875 $lt_c_name_lib_hook\
   13876 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13877 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13878 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13879 
   13880 # Handle CRLF in mingw tool chain
   13881 opt_cr=
   13882 case $build_os in
   13883 mingw*)
   13884   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13885   ;;
   13886 esac
   13887 
   13888 # Try without a prefix underscore, then with it.
   13889 for ac_symprfx in "" "_"; do
   13890 
   13891   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13892   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13893 
   13894   # Write the raw and C identifiers.
   13895   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13896     # Fake it for dumpbin and say T for any non-static function,
   13897     # D for any global variable and I for any imported variable.
   13898     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13899     # which start with @ or ?.
   13900     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13901 "     {last_section=section; section=\$ 3};"\
   13902 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13903 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13904 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13905 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13906 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13907 "     \$ 0!~/External *\|/{next};"\
   13908 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13909 "     {if(hide[section]) next};"\
   13910 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13911 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13912 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13913 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13914 "     ' prfx=^$ac_symprfx"
   13915   else
   13916     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13917   fi
   13918   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13919 
   13920   # Check to see that the pipe works correctly.
   13921   pipe_works=no
   13922 
   13923   rm -f conftest*
   13924   cat > conftest.$ac_ext <<_LT_EOF
   13925 #ifdef __cplusplus
   13926 extern "C" {
   13927 #endif
   13928 char nm_test_var;
   13929 void nm_test_func(void);
   13930 void nm_test_func(void){}
   13931 #ifdef __cplusplus
   13932 }
   13933 #endif
   13934 int main(){nm_test_var='a';nm_test_func();return(0);}
   13935 _LT_EOF
   13936 
   13937   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13938   (eval $ac_compile) 2>&5
   13939   ac_status=$?
   13940   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13941   test $ac_status = 0; }; then
   13942     # Now try to grab the symbols.
   13943     nlist=conftest.nm
   13944     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13945   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13946   ac_status=$?
   13947   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13948   test $ac_status = 0; } && test -s "$nlist"; then
   13949       # Try sorting and uniquifying the output.
   13950       if sort "$nlist" | uniq > "$nlist"T; then
   13951 	mv -f "$nlist"T "$nlist"
   13952       else
   13953 	rm -f "$nlist"T
   13954       fi
   13955 
   13956       # Make sure that we snagged all the symbols we need.
   13957       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13958 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13959 	  cat <<_LT_EOF > conftest.$ac_ext
   13960 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13961 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13962 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13963    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13964 # define LT_DLSYM_CONST
   13965 #elif defined __osf__
   13966 /* This system does not cope well with relocations in const data.  */
   13967 # define LT_DLSYM_CONST
   13968 #else
   13969 # define LT_DLSYM_CONST const
   13970 #endif
   13971 
   13972 #ifdef __cplusplus
   13973 extern "C" {
   13974 #endif
   13975 
   13976 _LT_EOF
   13977 	  # Now generate the symbol file.
   13978 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13979 
   13980 	  cat <<_LT_EOF >> conftest.$ac_ext
   13981 
   13982 /* The mapping between symbol names and symbols.  */
   13983 LT_DLSYM_CONST struct {
   13984   const char *name;
   13985   void       *address;
   13986 }
   13987 lt__PROGRAM__LTX_preloaded_symbols[] =
   13988 {
   13989   { "@PROGRAM@", (void *) 0 },
   13990 _LT_EOF
   13991 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13992 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13993   {0, (void *) 0}
   13994 };
   13995 
   13996 /* This works around a problem in FreeBSD linker */
   13997 #ifdef FREEBSD_WORKAROUND
   13998 static const void *lt_preloaded_setup() {
   13999   return lt__PROGRAM__LTX_preloaded_symbols;
   14000 }
   14001 #endif
   14002 
   14003 #ifdef __cplusplus
   14004 }
   14005 #endif
   14006 _LT_EOF
   14007 	  # Now try linking the two files.
   14008 	  mv conftest.$ac_objext conftstm.$ac_objext
   14009 	  lt_globsym_save_LIBS=$LIBS
   14010 	  lt_globsym_save_CFLAGS=$CFLAGS
   14011 	  LIBS=conftstm.$ac_objext
   14012 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14013 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14014   (eval $ac_link) 2>&5
   14015   ac_status=$?
   14016   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14017   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14018 	    pipe_works=yes
   14019 	  fi
   14020 	  LIBS=$lt_globsym_save_LIBS
   14021 	  CFLAGS=$lt_globsym_save_CFLAGS
   14022 	else
   14023 	  echo "cannot find nm_test_func in $nlist" >&5
   14024 	fi
   14025       else
   14026 	echo "cannot find nm_test_var in $nlist" >&5
   14027       fi
   14028     else
   14029       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14030     fi
   14031   else
   14032     echo "$progname: failed program was:" >&5
   14033     cat conftest.$ac_ext >&5
   14034   fi
   14035   rm -rf conftest* conftst*
   14036 
   14037   # Do not use the global_symbol_pipe unless it works.
   14038   if test yes = "$pipe_works"; then
   14039     break
   14040   else
   14041     lt_cv_sys_global_symbol_pipe=
   14042   fi
   14043 done
   14044  ;;
   14045 esac
   14046 fi
   14047 
   14048 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14049   lt_cv_sys_global_symbol_to_cdecl=
   14050 fi
   14051 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14052   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14053 printf "%s\n" "failed" >&6; }
   14054 else
   14055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14056 printf "%s\n" "ok" >&6; }
   14057 fi
   14058 
   14059 # Response file support.
   14060 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14061   nm_file_list_spec='@'
   14062 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14063   nm_file_list_spec='@'
   14064 fi
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14103 printf %s "checking for sysroot... " >&6; }
   14104 
   14105 # Check whether --with-sysroot was given.
   14106 if test ${with_sysroot+y}
   14107 then :
   14108   withval=$with_sysroot;
   14109 else case e in #(
   14110   e) with_sysroot=no ;;
   14111 esac
   14112 fi
   14113 
   14114 
   14115 lt_sysroot=
   14116 case $with_sysroot in #(
   14117  yes)
   14118    if test yes = "$GCC"; then
   14119      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14120    fi
   14121    ;; #(
   14122  /*)
   14123    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14124    ;; #(
   14125  no|'')
   14126    ;; #(
   14127  *)
   14128    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14129 printf "%s\n" "$with_sysroot" >&6; }
   14130    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14131    ;;
   14132 esac
   14133 
   14134  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14135 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14142 printf %s "checking for a working dd... " >&6; }
   14143 if test ${ac_cv_path_lt_DD+y}
   14144 then :
   14145   printf %s "(cached) " >&6
   14146 else case e in #(
   14147   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14148 cat conftest.i conftest.i >conftest2.i
   14149 : ${lt_DD:=$DD}
   14150 if test -z "$lt_DD"; then
   14151   ac_path_lt_DD_found=false
   14152   # Loop through the user's path and test for each of PROGNAME-LIST
   14153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14154 for as_dir in $PATH
   14155 do
   14156   IFS=$as_save_IFS
   14157   case $as_dir in #(((
   14158     '') as_dir=./ ;;
   14159     */) ;;
   14160     *) as_dir=$as_dir/ ;;
   14161   esac
   14162     for ac_prog in dd
   14163    do
   14164     for ac_exec_ext in '' $ac_executable_extensions; do
   14165       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14166       as_fn_executable_p "$ac_path_lt_DD" || continue
   14167 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14168   cmp -s conftest.i conftest.out \
   14169   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14170 fi
   14171       $ac_path_lt_DD_found && break 3
   14172     done
   14173   done
   14174   done
   14175 IFS=$as_save_IFS
   14176   if test -z "$ac_cv_path_lt_DD"; then
   14177     :
   14178   fi
   14179 else
   14180   ac_cv_path_lt_DD=$lt_DD
   14181 fi
   14182 
   14183 rm -f conftest.i conftest2.i conftest.out ;;
   14184 esac
   14185 fi
   14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14187 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14188 
   14189 
   14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14191 printf %s "checking how to truncate binary pipes... " >&6; }
   14192 if test ${lt_cv_truncate_bin+y}
   14193 then :
   14194   printf %s "(cached) " >&6
   14195 else case e in #(
   14196   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   14197 cat conftest.i conftest.i >conftest2.i
   14198 lt_cv_truncate_bin=
   14199 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14200   cmp -s conftest.i conftest.out \
   14201   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14202 fi
   14203 rm -f conftest.i conftest2.i conftest.out
   14204 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   14205 esac
   14206 fi
   14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14208 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14217 func_cc_basename ()
   14218 {
   14219     for cc_temp in $*""; do
   14220       case $cc_temp in
   14221         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14222         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14223         \-*) ;;
   14224         *) break;;
   14225       esac
   14226     done
   14227     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14228 }
   14229 
   14230 # Check whether --enable-libtool-lock was given.
   14231 if test ${enable_libtool_lock+y}
   14232 then :
   14233   enableval=$enable_libtool_lock;
   14234 fi
   14235 
   14236 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14237 
   14238 # Some flags need to be propagated to the compiler or linker for good
   14239 # libtool support.
   14240 case $host in
   14241 ia64-*-hpux*)
   14242   # Find out what ABI is being produced by ac_compile, and set mode
   14243   # options accordingly.
   14244   echo 'int i;' > conftest.$ac_ext
   14245   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14246   (eval $ac_compile) 2>&5
   14247   ac_status=$?
   14248   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14249   test $ac_status = 0; }; then
   14250     case `$FILECMD conftest.$ac_objext` in
   14251       *ELF-32*)
   14252 	HPUX_IA64_MODE=32
   14253 	;;
   14254       *ELF-64*)
   14255 	HPUX_IA64_MODE=64
   14256 	;;
   14257     esac
   14258   fi
   14259   rm -rf conftest*
   14260   ;;
   14261 *-*-irix6*)
   14262   # Find out what ABI is being produced by ac_compile, and set linker
   14263   # options accordingly.
   14264   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14266   (eval $ac_compile) 2>&5
   14267   ac_status=$?
   14268   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14269   test $ac_status = 0; }; then
   14270     if test yes = "$lt_cv_prog_gnu_ld"; then
   14271       case `$FILECMD conftest.$ac_objext` in
   14272 	*32-bit*)
   14273 	  LD="${LD-ld} -melf32bsmip"
   14274 	  ;;
   14275 	*N32*)
   14276 	  LD="${LD-ld} -melf32bmipn32"
   14277 	  ;;
   14278 	*64-bit*)
   14279 	  LD="${LD-ld} -melf64bmip"
   14280 	;;
   14281       esac
   14282     else
   14283       case `$FILECMD conftest.$ac_objext` in
   14284 	*32-bit*)
   14285 	  LD="${LD-ld} -32"
   14286 	  ;;
   14287 	*N32*)
   14288 	  LD="${LD-ld} -n32"
   14289 	  ;;
   14290 	*64-bit*)
   14291 	  LD="${LD-ld} -64"
   14292 	  ;;
   14293       esac
   14294     fi
   14295   fi
   14296   rm -rf conftest*
   14297   ;;
   14298 
   14299 mips64*-*linux*)
   14300   # Find out what ABI is being produced by ac_compile, and set linker
   14301   # options accordingly.
   14302   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14303   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14304   (eval $ac_compile) 2>&5
   14305   ac_status=$?
   14306   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14307   test $ac_status = 0; }; then
   14308     emul=elf
   14309     case `$FILECMD conftest.$ac_objext` in
   14310       *32-bit*)
   14311 	emul="${emul}32"
   14312 	;;
   14313       *64-bit*)
   14314 	emul="${emul}64"
   14315 	;;
   14316     esac
   14317     case `$FILECMD conftest.$ac_objext` in
   14318       *MSB*)
   14319 	emul="${emul}btsmip"
   14320 	;;
   14321       *LSB*)
   14322 	emul="${emul}ltsmip"
   14323 	;;
   14324     esac
   14325     case `$FILECMD conftest.$ac_objext` in
   14326       *N32*)
   14327 	emul="${emul}n32"
   14328 	;;
   14329     esac
   14330     LD="${LD-ld} -m $emul"
   14331   fi
   14332   rm -rf conftest*
   14333   ;;
   14334 
   14335 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14336 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14337   # Find out what ABI is being produced by ac_compile, and set linker
   14338   # options accordingly.  Note that the listed cases only cover the
   14339   # situations where additional linker options are needed (such as when
   14340   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14341   # vice versa); the common cases where no linker options are needed do
   14342   # not appear in the list.
   14343   echo 'int i;' > conftest.$ac_ext
   14344   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14345   (eval $ac_compile) 2>&5
   14346   ac_status=$?
   14347   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14348   test $ac_status = 0; }; then
   14349     case `$FILECMD conftest.o` in
   14350       *32-bit*)
   14351 	case $host in
   14352 	  x86_64-*kfreebsd*-gnu)
   14353 	    LD="${LD-ld} -m elf_i386_fbsd"
   14354 	    ;;
   14355 	  x86_64-*linux*)
   14356 	    case `$FILECMD conftest.o` in
   14357 	      *x86-64*)
   14358 		LD="${LD-ld} -m elf32_x86_64"
   14359 		;;
   14360 	      *)
   14361 		LD="${LD-ld} -m elf_i386"
   14362 		;;
   14363 	    esac
   14364 	    ;;
   14365 	  powerpc64le-*linux*)
   14366 	    LD="${LD-ld} -m elf32lppclinux"
   14367 	    ;;
   14368 	  powerpc64-*linux*)
   14369 	    LD="${LD-ld} -m elf32ppclinux"
   14370 	    ;;
   14371 	  s390x-*linux*)
   14372 	    LD="${LD-ld} -m elf_s390"
   14373 	    ;;
   14374 	  sparc64-*linux*)
   14375 	    LD="${LD-ld} -m elf32_sparc"
   14376 	    ;;
   14377 	esac
   14378 	;;
   14379       *64-bit*)
   14380 	case $host in
   14381 	  x86_64-*kfreebsd*-gnu)
   14382 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14383 	    ;;
   14384 	  x86_64-*linux*)
   14385 	    LD="${LD-ld} -m elf_x86_64"
   14386 	    ;;
   14387 	  powerpcle-*linux*)
   14388 	    LD="${LD-ld} -m elf64lppc"
   14389 	    ;;
   14390 	  powerpc-*linux*)
   14391 	    LD="${LD-ld} -m elf64ppc"
   14392 	    ;;
   14393 	  s390*-*linux*|s390*-*tpf*)
   14394 	    LD="${LD-ld} -m elf64_s390"
   14395 	    ;;
   14396 	  sparc*-*linux*)
   14397 	    LD="${LD-ld} -m elf64_sparc"
   14398 	    ;;
   14399 	esac
   14400 	;;
   14401     esac
   14402   fi
   14403   rm -rf conftest*
   14404   ;;
   14405 
   14406 *-*-sco3.2v5*)
   14407   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14408   SAVE_CFLAGS=$CFLAGS
   14409   CFLAGS="$CFLAGS -belf"
   14410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14411 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14412 if test ${lt_cv_cc_needs_belf+y}
   14413 then :
   14414   printf %s "(cached) " >&6
   14415 else case e in #(
   14416   e) ac_ext=c
   14417 ac_cpp='$CPP $CPPFLAGS'
   14418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14421 
   14422      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14423 /* end confdefs.h.  */
   14424 
   14425 int
   14426 main (void)
   14427 {
   14428 
   14429   ;
   14430   return 0;
   14431 }
   14432 _ACEOF
   14433 if ac_fn_c_try_link "$LINENO"
   14434 then :
   14435   lt_cv_cc_needs_belf=yes
   14436 else case e in #(
   14437   e) lt_cv_cc_needs_belf=no ;;
   14438 esac
   14439 fi
   14440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14441     conftest$ac_exeext conftest.$ac_ext
   14442      ac_ext=c
   14443 ac_cpp='$CPP $CPPFLAGS'
   14444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14447  ;;
   14448 esac
   14449 fi
   14450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14451 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14452   if test yes != "$lt_cv_cc_needs_belf"; then
   14453     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14454     CFLAGS=$SAVE_CFLAGS
   14455   fi
   14456   ;;
   14457 *-*solaris*)
   14458   # Find out what ABI is being produced by ac_compile, and set linker
   14459   # options accordingly.
   14460   echo 'int i;' > conftest.$ac_ext
   14461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14462   (eval $ac_compile) 2>&5
   14463   ac_status=$?
   14464   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14465   test $ac_status = 0; }; then
   14466     case `$FILECMD conftest.o` in
   14467     *64-bit*)
   14468       case $lt_cv_prog_gnu_ld in
   14469       yes*)
   14470         case $host in
   14471         i?86-*-solaris*|x86_64-*-solaris*)
   14472           LD="${LD-ld} -m elf_x86_64"
   14473           ;;
   14474         sparc*-*-solaris*)
   14475           LD="${LD-ld} -m elf64_sparc"
   14476           ;;
   14477         esac
   14478         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14479         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14480           LD=${LD-ld}_sol2
   14481         fi
   14482         ;;
   14483       *)
   14484 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14485 	  LD="${LD-ld} -64"
   14486 	fi
   14487 	;;
   14488       esac
   14489       ;;
   14490     esac
   14491   fi
   14492   rm -rf conftest*
   14493   ;;
   14494 esac
   14495 
   14496 need_locks=$enable_libtool_lock
   14497 
   14498 if test -n "$ac_tool_prefix"; then
   14499   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14500 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14502 printf %s "checking for $ac_word... " >&6; }
   14503 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14504 then :
   14505   printf %s "(cached) " >&6
   14506 else case e in #(
   14507   e) if test -n "$MANIFEST_TOOL"; then
   14508   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14509 else
   14510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14511 for as_dir in $PATH
   14512 do
   14513   IFS=$as_save_IFS
   14514   case $as_dir in #(((
   14515     '') as_dir=./ ;;
   14516     */) ;;
   14517     *) as_dir=$as_dir/ ;;
   14518   esac
   14519     for ac_exec_ext in '' $ac_executable_extensions; do
   14520   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14521     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14522     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14523     break 2
   14524   fi
   14525 done
   14526   done
   14527 IFS=$as_save_IFS
   14528 
   14529 fi ;;
   14530 esac
   14531 fi
   14532 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14533 if test -n "$MANIFEST_TOOL"; then
   14534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14535 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14536 else
   14537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14538 printf "%s\n" "no" >&6; }
   14539 fi
   14540 
   14541 
   14542 fi
   14543 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14544   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14545   # Extract the first word of "mt", so it can be a program name with args.
   14546 set dummy mt; ac_word=$2
   14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14548 printf %s "checking for $ac_word... " >&6; }
   14549 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14550 then :
   14551   printf %s "(cached) " >&6
   14552 else case e in #(
   14553   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   14554   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14555 else
   14556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14557 for as_dir in $PATH
   14558 do
   14559   IFS=$as_save_IFS
   14560   case $as_dir in #(((
   14561     '') as_dir=./ ;;
   14562     */) ;;
   14563     *) as_dir=$as_dir/ ;;
   14564   esac
   14565     for ac_exec_ext in '' $ac_executable_extensions; do
   14566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14567     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14569     break 2
   14570   fi
   14571 done
   14572   done
   14573 IFS=$as_save_IFS
   14574 
   14575 fi ;;
   14576 esac
   14577 fi
   14578 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14579 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14581 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14582 else
   14583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14584 printf "%s\n" "no" >&6; }
   14585 fi
   14586 
   14587   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14588     MANIFEST_TOOL=":"
   14589   else
   14590     case $cross_compiling:$ac_tool_warned in
   14591 yes:)
   14592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14593 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14594 ac_tool_warned=yes ;;
   14595 esac
   14596     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14597   fi
   14598 else
   14599   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14600 fi
   14601 
   14602 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14604 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14605 if test ${lt_cv_path_mainfest_tool+y}
   14606 then :
   14607   printf %s "(cached) " >&6
   14608 else case e in #(
   14609   e) lt_cv_path_mainfest_tool=no
   14610   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14611   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14612   cat conftest.err >&5
   14613   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14614     lt_cv_path_mainfest_tool=yes
   14615   fi
   14616   rm -f conftest* ;;
   14617 esac
   14618 fi
   14619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14620 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14621 if test yes != "$lt_cv_path_mainfest_tool"; then
   14622   MANIFEST_TOOL=:
   14623 fi
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630   case $host_os in
   14631     rhapsody* | darwin*)
   14632     if test -n "$ac_tool_prefix"; then
   14633   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14634 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14636 printf %s "checking for $ac_word... " >&6; }
   14637 if test ${ac_cv_prog_DSYMUTIL+y}
   14638 then :
   14639   printf %s "(cached) " >&6
   14640 else case e in #(
   14641   e) if test -n "$DSYMUTIL"; then
   14642   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14643 else
   14644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14645 for as_dir in $PATH
   14646 do
   14647   IFS=$as_save_IFS
   14648   case $as_dir in #(((
   14649     '') as_dir=./ ;;
   14650     */) ;;
   14651     *) as_dir=$as_dir/ ;;
   14652   esac
   14653     for ac_exec_ext in '' $ac_executable_extensions; do
   14654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14655     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14657     break 2
   14658   fi
   14659 done
   14660   done
   14661 IFS=$as_save_IFS
   14662 
   14663 fi ;;
   14664 esac
   14665 fi
   14666 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14667 if test -n "$DSYMUTIL"; then
   14668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14669 printf "%s\n" "$DSYMUTIL" >&6; }
   14670 else
   14671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14672 printf "%s\n" "no" >&6; }
   14673 fi
   14674 
   14675 
   14676 fi
   14677 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14678   ac_ct_DSYMUTIL=$DSYMUTIL
   14679   # Extract the first word of "dsymutil", so it can be a program name with args.
   14680 set dummy dsymutil; ac_word=$2
   14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14682 printf %s "checking for $ac_word... " >&6; }
   14683 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14684 then :
   14685   printf %s "(cached) " >&6
   14686 else case e in #(
   14687   e) if test -n "$ac_ct_DSYMUTIL"; then
   14688   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14689 else
   14690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14691 for as_dir in $PATH
   14692 do
   14693   IFS=$as_save_IFS
   14694   case $as_dir in #(((
   14695     '') as_dir=./ ;;
   14696     */) ;;
   14697     *) as_dir=$as_dir/ ;;
   14698   esac
   14699     for ac_exec_ext in '' $ac_executable_extensions; do
   14700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14701     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14703     break 2
   14704   fi
   14705 done
   14706   done
   14707 IFS=$as_save_IFS
   14708 
   14709 fi ;;
   14710 esac
   14711 fi
   14712 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14713 if test -n "$ac_ct_DSYMUTIL"; then
   14714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14715 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14716 else
   14717   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14718 printf "%s\n" "no" >&6; }
   14719 fi
   14720 
   14721   if test "x$ac_ct_DSYMUTIL" = x; then
   14722     DSYMUTIL=":"
   14723   else
   14724     case $cross_compiling:$ac_tool_warned in
   14725 yes:)
   14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14728 ac_tool_warned=yes ;;
   14729 esac
   14730     DSYMUTIL=$ac_ct_DSYMUTIL
   14731   fi
   14732 else
   14733   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14734 fi
   14735 
   14736     if test -n "$ac_tool_prefix"; then
   14737   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14738 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14740 printf %s "checking for $ac_word... " >&6; }
   14741 if test ${ac_cv_prog_NMEDIT+y}
   14742 then :
   14743   printf %s "(cached) " >&6
   14744 else case e in #(
   14745   e) if test -n "$NMEDIT"; then
   14746   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14747 else
   14748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14749 for as_dir in $PATH
   14750 do
   14751   IFS=$as_save_IFS
   14752   case $as_dir in #(((
   14753     '') as_dir=./ ;;
   14754     */) ;;
   14755     *) as_dir=$as_dir/ ;;
   14756   esac
   14757     for ac_exec_ext in '' $ac_executable_extensions; do
   14758   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14759     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14760     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14761     break 2
   14762   fi
   14763 done
   14764   done
   14765 IFS=$as_save_IFS
   14766 
   14767 fi ;;
   14768 esac
   14769 fi
   14770 NMEDIT=$ac_cv_prog_NMEDIT
   14771 if test -n "$NMEDIT"; then
   14772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14773 printf "%s\n" "$NMEDIT" >&6; }
   14774 else
   14775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14776 printf "%s\n" "no" >&6; }
   14777 fi
   14778 
   14779 
   14780 fi
   14781 if test -z "$ac_cv_prog_NMEDIT"; then
   14782   ac_ct_NMEDIT=$NMEDIT
   14783   # Extract the first word of "nmedit", so it can be a program name with args.
   14784 set dummy nmedit; ac_word=$2
   14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14786 printf %s "checking for $ac_word... " >&6; }
   14787 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14788 then :
   14789   printf %s "(cached) " >&6
   14790 else case e in #(
   14791   e) if test -n "$ac_ct_NMEDIT"; then
   14792   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14793 else
   14794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14795 for as_dir in $PATH
   14796 do
   14797   IFS=$as_save_IFS
   14798   case $as_dir in #(((
   14799     '') as_dir=./ ;;
   14800     */) ;;
   14801     *) as_dir=$as_dir/ ;;
   14802   esac
   14803     for ac_exec_ext in '' $ac_executable_extensions; do
   14804   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14805     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14806     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14807     break 2
   14808   fi
   14809 done
   14810   done
   14811 IFS=$as_save_IFS
   14812 
   14813 fi ;;
   14814 esac
   14815 fi
   14816 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14817 if test -n "$ac_ct_NMEDIT"; then
   14818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14819 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14820 else
   14821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14822 printf "%s\n" "no" >&6; }
   14823 fi
   14824 
   14825   if test "x$ac_ct_NMEDIT" = x; then
   14826     NMEDIT=":"
   14827   else
   14828     case $cross_compiling:$ac_tool_warned in
   14829 yes:)
   14830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14831 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14832 ac_tool_warned=yes ;;
   14833 esac
   14834     NMEDIT=$ac_ct_NMEDIT
   14835   fi
   14836 else
   14837   NMEDIT="$ac_cv_prog_NMEDIT"
   14838 fi
   14839 
   14840     if test -n "$ac_tool_prefix"; then
   14841   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14842 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14844 printf %s "checking for $ac_word... " >&6; }
   14845 if test ${ac_cv_prog_LIPO+y}
   14846 then :
   14847   printf %s "(cached) " >&6
   14848 else case e in #(
   14849   e) if test -n "$LIPO"; then
   14850   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14851 else
   14852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14853 for as_dir in $PATH
   14854 do
   14855   IFS=$as_save_IFS
   14856   case $as_dir in #(((
   14857     '') as_dir=./ ;;
   14858     */) ;;
   14859     *) as_dir=$as_dir/ ;;
   14860   esac
   14861     for ac_exec_ext in '' $ac_executable_extensions; do
   14862   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14863     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14864     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14865     break 2
   14866   fi
   14867 done
   14868   done
   14869 IFS=$as_save_IFS
   14870 
   14871 fi ;;
   14872 esac
   14873 fi
   14874 LIPO=$ac_cv_prog_LIPO
   14875 if test -n "$LIPO"; then
   14876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14877 printf "%s\n" "$LIPO" >&6; }
   14878 else
   14879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14880 printf "%s\n" "no" >&6; }
   14881 fi
   14882 
   14883 
   14884 fi
   14885 if test -z "$ac_cv_prog_LIPO"; then
   14886   ac_ct_LIPO=$LIPO
   14887   # Extract the first word of "lipo", so it can be a program name with args.
   14888 set dummy lipo; ac_word=$2
   14889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14890 printf %s "checking for $ac_word... " >&6; }
   14891 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14892 then :
   14893   printf %s "(cached) " >&6
   14894 else case e in #(
   14895   e) if test -n "$ac_ct_LIPO"; then
   14896   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14897 else
   14898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14899 for as_dir in $PATH
   14900 do
   14901   IFS=$as_save_IFS
   14902   case $as_dir in #(((
   14903     '') as_dir=./ ;;
   14904     */) ;;
   14905     *) as_dir=$as_dir/ ;;
   14906   esac
   14907     for ac_exec_ext in '' $ac_executable_extensions; do
   14908   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14909     ac_cv_prog_ac_ct_LIPO="lipo"
   14910     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14911     break 2
   14912   fi
   14913 done
   14914   done
   14915 IFS=$as_save_IFS
   14916 
   14917 fi ;;
   14918 esac
   14919 fi
   14920 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14921 if test -n "$ac_ct_LIPO"; then
   14922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14923 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14924 else
   14925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14926 printf "%s\n" "no" >&6; }
   14927 fi
   14928 
   14929   if test "x$ac_ct_LIPO" = x; then
   14930     LIPO=":"
   14931   else
   14932     case $cross_compiling:$ac_tool_warned in
   14933 yes:)
   14934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14936 ac_tool_warned=yes ;;
   14937 esac
   14938     LIPO=$ac_ct_LIPO
   14939   fi
   14940 else
   14941   LIPO="$ac_cv_prog_LIPO"
   14942 fi
   14943 
   14944     if test -n "$ac_tool_prefix"; then
   14945   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14946 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14948 printf %s "checking for $ac_word... " >&6; }
   14949 if test ${ac_cv_prog_OTOOL+y}
   14950 then :
   14951   printf %s "(cached) " >&6
   14952 else case e in #(
   14953   e) if test -n "$OTOOL"; then
   14954   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14955 else
   14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14957 for as_dir in $PATH
   14958 do
   14959   IFS=$as_save_IFS
   14960   case $as_dir in #(((
   14961     '') as_dir=./ ;;
   14962     */) ;;
   14963     *) as_dir=$as_dir/ ;;
   14964   esac
   14965     for ac_exec_ext in '' $ac_executable_extensions; do
   14966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14967     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14969     break 2
   14970   fi
   14971 done
   14972   done
   14973 IFS=$as_save_IFS
   14974 
   14975 fi ;;
   14976 esac
   14977 fi
   14978 OTOOL=$ac_cv_prog_OTOOL
   14979 if test -n "$OTOOL"; then
   14980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14981 printf "%s\n" "$OTOOL" >&6; }
   14982 else
   14983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14984 printf "%s\n" "no" >&6; }
   14985 fi
   14986 
   14987 
   14988 fi
   14989 if test -z "$ac_cv_prog_OTOOL"; then
   14990   ac_ct_OTOOL=$OTOOL
   14991   # Extract the first word of "otool", so it can be a program name with args.
   14992 set dummy otool; ac_word=$2
   14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14994 printf %s "checking for $ac_word... " >&6; }
   14995 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14996 then :
   14997   printf %s "(cached) " >&6
   14998 else case e in #(
   14999   e) if test -n "$ac_ct_OTOOL"; then
   15000   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   15001 else
   15002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15003 for as_dir in $PATH
   15004 do
   15005   IFS=$as_save_IFS
   15006   case $as_dir in #(((
   15007     '') as_dir=./ ;;
   15008     */) ;;
   15009     *) as_dir=$as_dir/ ;;
   15010   esac
   15011     for ac_exec_ext in '' $ac_executable_extensions; do
   15012   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15013     ac_cv_prog_ac_ct_OTOOL="otool"
   15014     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15015     break 2
   15016   fi
   15017 done
   15018   done
   15019 IFS=$as_save_IFS
   15020 
   15021 fi ;;
   15022 esac
   15023 fi
   15024 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15025 if test -n "$ac_ct_OTOOL"; then
   15026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15027 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15028 else
   15029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15030 printf "%s\n" "no" >&6; }
   15031 fi
   15032 
   15033   if test "x$ac_ct_OTOOL" = x; then
   15034     OTOOL=":"
   15035   else
   15036     case $cross_compiling:$ac_tool_warned in
   15037 yes:)
   15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15039 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15040 ac_tool_warned=yes ;;
   15041 esac
   15042     OTOOL=$ac_ct_OTOOL
   15043   fi
   15044 else
   15045   OTOOL="$ac_cv_prog_OTOOL"
   15046 fi
   15047 
   15048     if test -n "$ac_tool_prefix"; then
   15049   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15050 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15052 printf %s "checking for $ac_word... " >&6; }
   15053 if test ${ac_cv_prog_OTOOL64+y}
   15054 then :
   15055   printf %s "(cached) " >&6
   15056 else case e in #(
   15057   e) if test -n "$OTOOL64"; then
   15058   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15059 else
   15060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15061 for as_dir in $PATH
   15062 do
   15063   IFS=$as_save_IFS
   15064   case $as_dir in #(((
   15065     '') as_dir=./ ;;
   15066     */) ;;
   15067     *) as_dir=$as_dir/ ;;
   15068   esac
   15069     for ac_exec_ext in '' $ac_executable_extensions; do
   15070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15071     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15072     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15073     break 2
   15074   fi
   15075 done
   15076   done
   15077 IFS=$as_save_IFS
   15078 
   15079 fi ;;
   15080 esac
   15081 fi
   15082 OTOOL64=$ac_cv_prog_OTOOL64
   15083 if test -n "$OTOOL64"; then
   15084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15085 printf "%s\n" "$OTOOL64" >&6; }
   15086 else
   15087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15088 printf "%s\n" "no" >&6; }
   15089 fi
   15090 
   15091 
   15092 fi
   15093 if test -z "$ac_cv_prog_OTOOL64"; then
   15094   ac_ct_OTOOL64=$OTOOL64
   15095   # Extract the first word of "otool64", so it can be a program name with args.
   15096 set dummy otool64; ac_word=$2
   15097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15098 printf %s "checking for $ac_word... " >&6; }
   15099 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15100 then :
   15101   printf %s "(cached) " >&6
   15102 else case e in #(
   15103   e) if test -n "$ac_ct_OTOOL64"; then
   15104   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15105 else
   15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15107 for as_dir in $PATH
   15108 do
   15109   IFS=$as_save_IFS
   15110   case $as_dir in #(((
   15111     '') as_dir=./ ;;
   15112     */) ;;
   15113     *) as_dir=$as_dir/ ;;
   15114   esac
   15115     for ac_exec_ext in '' $ac_executable_extensions; do
   15116   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15117     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15118     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15119     break 2
   15120   fi
   15121 done
   15122   done
   15123 IFS=$as_save_IFS
   15124 
   15125 fi ;;
   15126 esac
   15127 fi
   15128 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15129 if test -n "$ac_ct_OTOOL64"; then
   15130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15131 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15132 else
   15133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15134 printf "%s\n" "no" >&6; }
   15135 fi
   15136 
   15137   if test "x$ac_ct_OTOOL64" = x; then
   15138     OTOOL64=":"
   15139   else
   15140     case $cross_compiling:$ac_tool_warned in
   15141 yes:)
   15142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15143 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15144 ac_tool_warned=yes ;;
   15145 esac
   15146     OTOOL64=$ac_ct_OTOOL64
   15147   fi
   15148 else
   15149   OTOOL64="$ac_cv_prog_OTOOL64"
   15150 fi
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15179 printf %s "checking for -single_module linker flag... " >&6; }
   15180 if test ${lt_cv_apple_cc_single_mod+y}
   15181 then :
   15182   printf %s "(cached) " >&6
   15183 else case e in #(
   15184   e) lt_cv_apple_cc_single_mod=no
   15185       if test -z "$LT_MULTI_MODULE"; then
   15186 	# By default we will add the -single_module flag. You can override
   15187 	# by either setting the environment variable LT_MULTI_MODULE
   15188 	# non-empty at configure time, or by adding -multi_module to the
   15189 	# link flags.
   15190 	rm -rf libconftest.dylib*
   15191 	echo "int foo(void){return 1;}" > conftest.c
   15192 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15193 -dynamiclib -Wl,-single_module conftest.c" >&5
   15194 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15195 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15196         _lt_result=$?
   15197 	# If there is a non-empty error log, and "single_module"
   15198 	# appears in it, assume the flag caused a linker warning
   15199         if test -s conftest.err && $GREP single_module conftest.err; then
   15200 	  cat conftest.err >&5
   15201 	# Otherwise, if the output was created with a 0 exit code from
   15202 	# the compiler, it worked.
   15203 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15204 	  lt_cv_apple_cc_single_mod=yes
   15205 	else
   15206 	  cat conftest.err >&5
   15207 	fi
   15208 	rm -rf libconftest.dylib*
   15209 	rm -f conftest.*
   15210       fi ;;
   15211 esac
   15212 fi
   15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15214 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15215 
   15216     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15217 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15218 if test ${lt_cv_ld_exported_symbols_list+y}
   15219 then :
   15220   printf %s "(cached) " >&6
   15221 else case e in #(
   15222   e) lt_cv_ld_exported_symbols_list=no
   15223       save_LDFLAGS=$LDFLAGS
   15224       echo "_main" > conftest.sym
   15225       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15227 /* end confdefs.h.  */
   15228 
   15229 int
   15230 main (void)
   15231 {
   15232 
   15233   ;
   15234   return 0;
   15235 }
   15236 _ACEOF
   15237 if ac_fn_c_try_link "$LINENO"
   15238 then :
   15239   lt_cv_ld_exported_symbols_list=yes
   15240 else case e in #(
   15241   e) lt_cv_ld_exported_symbols_list=no ;;
   15242 esac
   15243 fi
   15244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15245     conftest$ac_exeext conftest.$ac_ext
   15246 	LDFLAGS=$save_LDFLAGS
   15247      ;;
   15248 esac
   15249 fi
   15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15251 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15252 
   15253     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15254 printf %s "checking for -force_load linker flag... " >&6; }
   15255 if test ${lt_cv_ld_force_load+y}
   15256 then :
   15257   printf %s "(cached) " >&6
   15258 else case e in #(
   15259   e) lt_cv_ld_force_load=no
   15260       cat > conftest.c << _LT_EOF
   15261 int forced_loaded() { return 2;}
   15262 _LT_EOF
   15263       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15264       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15265       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15266       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15267       echo "$RANLIB libconftest.a" >&5
   15268       $RANLIB libconftest.a 2>&5
   15269       cat > conftest.c << _LT_EOF
   15270 int main() { return 0;}
   15271 _LT_EOF
   15272       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15273       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15274       _lt_result=$?
   15275       if test -s conftest.err && $GREP force_load conftest.err; then
   15276 	cat conftest.err >&5
   15277       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15278 	lt_cv_ld_force_load=yes
   15279       else
   15280 	cat conftest.err >&5
   15281       fi
   15282         rm -f conftest.err libconftest.a conftest conftest.c
   15283         rm -rf conftest.dSYM
   15284      ;;
   15285 esac
   15286 fi
   15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15288 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15289     case $host_os in
   15290     rhapsody* | darwin1.[012])
   15291       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15292     darwin1.*)
   15293       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15294     darwin*)
   15295       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15296         10.[012],*|,*powerpc*-darwin[5-8]*)
   15297           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15298         *)
   15299           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15300       esac
   15301     ;;
   15302   esac
   15303     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15304       _lt_dar_single_mod='$single_module'
   15305     fi
   15306     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15307       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15308     else
   15309       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15310     fi
   15311     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15312       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15313     else
   15314       _lt_dsymutil=
   15315     fi
   15316     ;;
   15317   esac
   15318 
   15319 # func_munge_path_list VARIABLE PATH
   15320 # -----------------------------------
   15321 # VARIABLE is name of variable containing _space_ separated list of
   15322 # directories to be munged by the contents of PATH, which is string
   15323 # having a format:
   15324 # "DIR[:DIR]:"
   15325 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15326 # ":DIR[:DIR]"
   15327 #       string "DIR[ DIR]" will be appended to VARIABLE
   15328 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15329 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15330 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15331 # "DIR[:DIR]"
   15332 #       VARIABLE will be replaced by "DIR[ DIR]"
   15333 func_munge_path_list ()
   15334 {
   15335     case x$2 in
   15336     x)
   15337         ;;
   15338     *:)
   15339         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15340         ;;
   15341     x:*)
   15342         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15343         ;;
   15344     *::*)
   15345         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15346         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15347         ;;
   15348     *)
   15349         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15350         ;;
   15351     esac
   15352 }
   15353 
   15354 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15355 "
   15356 if test "x$ac_cv_header_dlfcn_h" = xyes
   15357 then :
   15358   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15359 
   15360 fi
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 # Set options
   15367 # Check whether --enable-static was given.
   15368 if test ${enable_static+y}
   15369 then :
   15370   enableval=$enable_static; p=${PACKAGE-default}
   15371     case $enableval in
   15372     yes) enable_static=yes ;;
   15373     no) enable_static=no ;;
   15374     *)
   15375      enable_static=no
   15376       # Look at the argument we got.  We use all the common list separators.
   15377       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15378       for pkg in $enableval; do
   15379 	IFS=$lt_save_ifs
   15380 	if test "X$pkg" = "X$p"; then
   15381 	  enable_static=yes
   15382 	fi
   15383       done
   15384       IFS=$lt_save_ifs
   15385       ;;
   15386     esac
   15387 else case e in #(
   15388   e) enable_static=no ;;
   15389 esac
   15390 fi
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401         enable_dlopen=no
   15402 
   15403 
   15404   enable_win32_dll=no
   15405 
   15406 
   15407             # Check whether --enable-shared was given.
   15408 if test ${enable_shared+y}
   15409 then :
   15410   enableval=$enable_shared; p=${PACKAGE-default}
   15411     case $enableval in
   15412     yes) enable_shared=yes ;;
   15413     no) enable_shared=no ;;
   15414     *)
   15415       enable_shared=no
   15416       # Look at the argument we got.  We use all the common list separators.
   15417       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15418       for pkg in $enableval; do
   15419 	IFS=$lt_save_ifs
   15420 	if test "X$pkg" = "X$p"; then
   15421 	  enable_shared=yes
   15422 	fi
   15423       done
   15424       IFS=$lt_save_ifs
   15425       ;;
   15426     esac
   15427 else case e in #(
   15428   e) enable_shared=yes ;;
   15429 esac
   15430 fi
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 # Check whether --with-pic was given.
   15443 if test ${with_pic+y}
   15444 then :
   15445   withval=$with_pic; lt_p=${PACKAGE-default}
   15446     case $withval in
   15447     yes|no) pic_mode=$withval ;;
   15448     *)
   15449       pic_mode=default
   15450       # Look at the argument we got.  We use all the common list separators.
   15451       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15452       for lt_pkg in $withval; do
   15453 	IFS=$lt_save_ifs
   15454 	if test "X$lt_pkg" = "X$lt_p"; then
   15455 	  pic_mode=yes
   15456 	fi
   15457       done
   15458       IFS=$lt_save_ifs
   15459       ;;
   15460     esac
   15461 else case e in #(
   15462   e) pic_mode=default ;;
   15463 esac
   15464 fi
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473   # Check whether --enable-fast-install was given.
   15474 if test ${enable_fast_install+y}
   15475 then :
   15476   enableval=$enable_fast_install; p=${PACKAGE-default}
   15477     case $enableval in
   15478     yes) enable_fast_install=yes ;;
   15479     no) enable_fast_install=no ;;
   15480     *)
   15481       enable_fast_install=no
   15482       # Look at the argument we got.  We use all the common list separators.
   15483       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15484       for pkg in $enableval; do
   15485 	IFS=$lt_save_ifs
   15486 	if test "X$pkg" = "X$p"; then
   15487 	  enable_fast_install=yes
   15488 	fi
   15489       done
   15490       IFS=$lt_save_ifs
   15491       ;;
   15492     esac
   15493 else case e in #(
   15494   e) enable_fast_install=yes ;;
   15495 esac
   15496 fi
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505   shared_archive_member_spec=
   15506 case $host,$enable_shared in
   15507 power*-*-aix[5-9]*,yes)
   15508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15509 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15510 
   15511 # Check whether --with-aix-soname was given.
   15512 if test ${with_aix_soname+y}
   15513 then :
   15514   withval=$with_aix_soname; case $withval in
   15515     aix|svr4|both)
   15516       ;;
   15517     *)
   15518       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15519       ;;
   15520     esac
   15521     lt_cv_with_aix_soname=$with_aix_soname
   15522 else case e in #(
   15523   e) if test ${lt_cv_with_aix_soname+y}
   15524 then :
   15525   printf %s "(cached) " >&6
   15526 else case e in #(
   15527   e) lt_cv_with_aix_soname=aix ;;
   15528 esac
   15529 fi
   15530 
   15531     with_aix_soname=$lt_cv_with_aix_soname ;;
   15532 esac
   15533 fi
   15534 
   15535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15536 printf "%s\n" "$with_aix_soname" >&6; }
   15537   if test aix != "$with_aix_soname"; then
   15538     # For the AIX way of multilib, we name the shared archive member
   15539     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15540     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15541     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15542     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15543     if test 64 = "${OBJECT_MODE-32}"; then
   15544       shared_archive_member_spec=shr_64
   15545     else
   15546       shared_archive_member_spec=shr
   15547     fi
   15548   fi
   15549   ;;
   15550 *)
   15551   with_aix_soname=aix
   15552   ;;
   15553 esac
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 # This can be used to rebuild libtool when needed
   15565 LIBTOOL_DEPS=$ltmain
   15566 
   15567 # Always use our own libtool.
   15568 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 test -z "$LN_S" && LN_S="ln -s"
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 if test -n "${ZSH_VERSION+set}"; then
   15615    setopt NO_GLOB_SUBST
   15616 fi
   15617 
   15618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15619 printf %s "checking for objdir... " >&6; }
   15620 if test ${lt_cv_objdir+y}
   15621 then :
   15622   printf %s "(cached) " >&6
   15623 else case e in #(
   15624   e) rm -f .libs 2>/dev/null
   15625 mkdir .libs 2>/dev/null
   15626 if test -d .libs; then
   15627   lt_cv_objdir=.libs
   15628 else
   15629   # MS-DOS does not allow filenames that begin with a dot.
   15630   lt_cv_objdir=_libs
   15631 fi
   15632 rmdir .libs 2>/dev/null ;;
   15633 esac
   15634 fi
   15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15636 printf "%s\n" "$lt_cv_objdir" >&6; }
   15637 objdir=$lt_cv_objdir
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15644 
   15645 
   15646 
   15647 
   15648 case $host_os in
   15649 aix3*)
   15650   # AIX sometimes has problems with the GCC collect2 program.  For some
   15651   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15652   # vanish in a puff of smoke.
   15653   if test set != "${COLLECT_NAMES+set}"; then
   15654     COLLECT_NAMES=
   15655     export COLLECT_NAMES
   15656   fi
   15657   ;;
   15658 esac
   15659 
   15660 # Global variables:
   15661 ofile=libtool
   15662 can_build_shared=yes
   15663 
   15664 # All known linkers require a '.a' archive for static linking (except MSVC and
   15665 # ICC, which need '.lib').
   15666 libext=a
   15667 
   15668 with_gnu_ld=$lt_cv_prog_gnu_ld
   15669 
   15670 old_CC=$CC
   15671 old_CFLAGS=$CFLAGS
   15672 
   15673 # Set sane defaults for various variables
   15674 test -z "$CC" && CC=cc
   15675 test -z "$LTCC" && LTCC=$CC
   15676 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15677 test -z "$LD" && LD=ld
   15678 test -z "$ac_objext" && ac_objext=o
   15679 
   15680 func_cc_basename $compiler
   15681 cc_basename=$func_cc_basename_result
   15682 
   15683 
   15684 # Only perform the check for file, if the check method requires it
   15685 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15686 case $deplibs_check_method in
   15687 file_magic*)
   15688   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15689     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15690 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15691 if test ${lt_cv_path_MAGIC_CMD+y}
   15692 then :
   15693   printf %s "(cached) " >&6
   15694 else case e in #(
   15695   e) case $MAGIC_CMD in
   15696 [\\/*] |  ?:[\\/]*)
   15697   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15698   ;;
   15699 *)
   15700   lt_save_MAGIC_CMD=$MAGIC_CMD
   15701   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15702   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15703   for ac_dir in $ac_dummy; do
   15704     IFS=$lt_save_ifs
   15705     test -z "$ac_dir" && ac_dir=.
   15706     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15707       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15708       if test -n "$file_magic_test_file"; then
   15709 	case $deplibs_check_method in
   15710 	"file_magic "*)
   15711 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15712 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15713 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15714 	    $EGREP "$file_magic_regex" > /dev/null; then
   15715 	    :
   15716 	  else
   15717 	    cat <<_LT_EOF 1>&2
   15718 
   15719 *** Warning: the command libtool uses to detect shared libraries,
   15720 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15721 *** The result is that libtool may fail to recognize shared libraries
   15722 *** as such.  This will affect the creation of libtool libraries that
   15723 *** depend on shared libraries, but programs linked with such libtool
   15724 *** libraries will work regardless of this problem.  Nevertheless, you
   15725 *** may want to report the problem to your system manager and/or to
   15726 *** bug-libtool@gnu.org
   15727 
   15728 _LT_EOF
   15729 	  fi ;;
   15730 	esac
   15731       fi
   15732       break
   15733     fi
   15734   done
   15735   IFS=$lt_save_ifs
   15736   MAGIC_CMD=$lt_save_MAGIC_CMD
   15737   ;;
   15738 esac ;;
   15739 esac
   15740 fi
   15741 
   15742 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15743 if test -n "$MAGIC_CMD"; then
   15744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15745 printf "%s\n" "$MAGIC_CMD" >&6; }
   15746 else
   15747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15748 printf "%s\n" "no" >&6; }
   15749 fi
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15756   if test -n "$ac_tool_prefix"; then
   15757     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15758 printf %s "checking for file... " >&6; }
   15759 if test ${lt_cv_path_MAGIC_CMD+y}
   15760 then :
   15761   printf %s "(cached) " >&6
   15762 else case e in #(
   15763   e) case $MAGIC_CMD in
   15764 [\\/*] |  ?:[\\/]*)
   15765   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15766   ;;
   15767 *)
   15768   lt_save_MAGIC_CMD=$MAGIC_CMD
   15769   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15770   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15771   for ac_dir in $ac_dummy; do
   15772     IFS=$lt_save_ifs
   15773     test -z "$ac_dir" && ac_dir=.
   15774     if test -f "$ac_dir/file"; then
   15775       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15776       if test -n "$file_magic_test_file"; then
   15777 	case $deplibs_check_method in
   15778 	"file_magic "*)
   15779 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15780 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15781 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15782 	    $EGREP "$file_magic_regex" > /dev/null; then
   15783 	    :
   15784 	  else
   15785 	    cat <<_LT_EOF 1>&2
   15786 
   15787 *** Warning: the command libtool uses to detect shared libraries,
   15788 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15789 *** The result is that libtool may fail to recognize shared libraries
   15790 *** as such.  This will affect the creation of libtool libraries that
   15791 *** depend on shared libraries, but programs linked with such libtool
   15792 *** libraries will work regardless of this problem.  Nevertheless, you
   15793 *** may want to report the problem to your system manager and/or to
   15794 *** bug-libtool@gnu.org
   15795 
   15796 _LT_EOF
   15797 	  fi ;;
   15798 	esac
   15799       fi
   15800       break
   15801     fi
   15802   done
   15803   IFS=$lt_save_ifs
   15804   MAGIC_CMD=$lt_save_MAGIC_CMD
   15805   ;;
   15806 esac ;;
   15807 esac
   15808 fi
   15809 
   15810 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15811 if test -n "$MAGIC_CMD"; then
   15812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15813 printf "%s\n" "$MAGIC_CMD" >&6; }
   15814 else
   15815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15816 printf "%s\n" "no" >&6; }
   15817 fi
   15818 
   15819 
   15820   else
   15821     MAGIC_CMD=:
   15822   fi
   15823 fi
   15824 
   15825   fi
   15826   ;;
   15827 esac
   15828 
   15829 # Use C for the default configuration in the libtool script
   15830 
   15831 lt_save_CC=$CC
   15832 ac_ext=c
   15833 ac_cpp='$CPP $CPPFLAGS'
   15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15837 
   15838 
   15839 # Source file extension for C test sources.
   15840 ac_ext=c
   15841 
   15842 # Object file extension for compiled C test sources.
   15843 objext=o
   15844 objext=$objext
   15845 
   15846 # Code to be used in simple compile tests
   15847 lt_simple_compile_test_code="int some_variable = 0;"
   15848 
   15849 # Code to be used in simple link tests
   15850 lt_simple_link_test_code='int main(){return(0);}'
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 # If no C compiler was specified, use CC.
   15859 LTCC=${LTCC-"$CC"}
   15860 
   15861 # If no C compiler flags were specified, use CFLAGS.
   15862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15863 
   15864 # Allow CC to be a program name with arguments.
   15865 compiler=$CC
   15866 
   15867 # Save the default compiler, since it gets overwritten when the other
   15868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15869 compiler_DEFAULT=$CC
   15870 
   15871 # save warnings/boilerplate of simple test code
   15872 ac_outfile=conftest.$ac_objext
   15873 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15874 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15875 _lt_compiler_boilerplate=`cat conftest.err`
   15876 $RM conftest*
   15877 
   15878 ac_outfile=conftest.$ac_objext
   15879 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15880 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15881 _lt_linker_boilerplate=`cat conftest.err`
   15882 $RM -r conftest*
   15883 
   15884 
   15885 if test -n "$compiler"; then
   15886 
   15887 lt_prog_compiler_no_builtin_flag=
   15888 
   15889 if test yes = "$GCC"; then
   15890   case $cc_basename in
   15891   nvcc*)
   15892     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15893   *)
   15894     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15895   esac
   15896 
   15897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15898 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15899 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15900 then :
   15901   printf %s "(cached) " >&6
   15902 else case e in #(
   15903   e) lt_cv_prog_compiler_rtti_exceptions=no
   15904    ac_outfile=conftest.$ac_objext
   15905    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15906    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15907    # Insert the option either (1) after the last *FLAGS variable, or
   15908    # (2) before a word containing "conftest.", or (3) at the end.
   15909    # Note that $ac_compile itself does not contain backslashes and begins
   15910    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15911    # The option is referenced via a variable to avoid confusing sed.
   15912    lt_compile=`echo "$ac_compile" | $SED \
   15913    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15914    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15915    -e 's:$: $lt_compiler_flag:'`
   15916    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15917    (eval "$lt_compile" 2>conftest.err)
   15918    ac_status=$?
   15919    cat conftest.err >&5
   15920    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15921    if (exit $ac_status) && test -s "$ac_outfile"; then
   15922      # The compiler can only warn and ignore the option if not recognized
   15923      # So say no if there are warnings other than the usual output.
   15924      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15925      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15926      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15927        lt_cv_prog_compiler_rtti_exceptions=yes
   15928      fi
   15929    fi
   15930    $RM conftest*
   15931  ;;
   15932 esac
   15933 fi
   15934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15935 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15936 
   15937 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15938     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15939 else
   15940     :
   15941 fi
   15942 
   15943 fi
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950   lt_prog_compiler_wl=
   15951 lt_prog_compiler_pic=
   15952 lt_prog_compiler_static=
   15953 
   15954 
   15955   if test yes = "$GCC"; then
   15956     lt_prog_compiler_wl='-Wl,'
   15957     lt_prog_compiler_static='-static'
   15958 
   15959     case $host_os in
   15960       aix*)
   15961       # All AIX code is PIC.
   15962       if test ia64 = "$host_cpu"; then
   15963 	# AIX 5 now supports IA64 processor
   15964 	lt_prog_compiler_static='-Bstatic'
   15965       fi
   15966       lt_prog_compiler_pic='-fPIC'
   15967       ;;
   15968 
   15969     amigaos*)
   15970       case $host_cpu in
   15971       powerpc)
   15972             # see comment about AmigaOS4 .so support
   15973             lt_prog_compiler_pic='-fPIC'
   15974         ;;
   15975       m68k)
   15976             # FIXME: we need at least 68020 code to build shared libraries, but
   15977             # adding the '-m68020' flag to GCC prevents building anything better,
   15978             # like '-m68040'.
   15979             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15980         ;;
   15981       esac
   15982       ;;
   15983 
   15984     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15985       # PIC is the default for these OSes.
   15986       ;;
   15987 
   15988     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15989       # This hack is so that the source file can tell whether it is being
   15990       # built for inclusion in a dll (and should export symbols for example).
   15991       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15992       # (--disable-auto-import) libraries
   15993       lt_prog_compiler_pic='-DDLL_EXPORT'
   15994       case $host_os in
   15995       os2*)
   15996 	lt_prog_compiler_static='$wl-static'
   15997 	;;
   15998       esac
   15999       ;;
   16000 
   16001     darwin* | rhapsody*)
   16002       # PIC is the default on this platform
   16003       # Common symbols not allowed in MH_DYLIB files
   16004       lt_prog_compiler_pic='-fno-common'
   16005       ;;
   16006 
   16007     haiku*)
   16008       # PIC is the default for Haiku.
   16009       # The "-static" flag exists, but is broken.
   16010       lt_prog_compiler_static=
   16011       ;;
   16012 
   16013     hpux*)
   16014       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16015       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16016       # sets the default TLS model and affects inlining.
   16017       case $host_cpu in
   16018       hppa*64*)
   16019 	# +Z the default
   16020 	;;
   16021       *)
   16022 	lt_prog_compiler_pic='-fPIC'
   16023 	;;
   16024       esac
   16025       ;;
   16026 
   16027     interix[3-9]*)
   16028       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16029       # Instead, we relocate shared libraries at runtime.
   16030       ;;
   16031 
   16032     msdosdjgpp*)
   16033       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16034       # on systems that don't support them.
   16035       lt_prog_compiler_can_build_shared=no
   16036       enable_shared=no
   16037       ;;
   16038 
   16039     *nto* | *qnx*)
   16040       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16041       # it will coredump.
   16042       lt_prog_compiler_pic='-fPIC -shared'
   16043       ;;
   16044 
   16045     sysv4*MP*)
   16046       if test -d /usr/nec; then
   16047 	lt_prog_compiler_pic=-Kconform_pic
   16048       fi
   16049       ;;
   16050 
   16051     *)
   16052       lt_prog_compiler_pic='-fPIC'
   16053       ;;
   16054     esac
   16055 
   16056     case $cc_basename in
   16057     nvcc*) # Cuda Compiler Driver 2.2
   16058       lt_prog_compiler_wl='-Xlinker '
   16059       if test -n "$lt_prog_compiler_pic"; then
   16060         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16061       fi
   16062       ;;
   16063     esac
   16064   else
   16065     # PORTME Check for flag to pass linker flags through the system compiler.
   16066     case $host_os in
   16067     aix*)
   16068       lt_prog_compiler_wl='-Wl,'
   16069       if test ia64 = "$host_cpu"; then
   16070 	# AIX 5 now supports IA64 processor
   16071 	lt_prog_compiler_static='-Bstatic'
   16072       else
   16073 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16074       fi
   16075       ;;
   16076 
   16077     darwin* | rhapsody*)
   16078       # PIC is the default on this platform
   16079       # Common symbols not allowed in MH_DYLIB files
   16080       lt_prog_compiler_pic='-fno-common'
   16081       case $cc_basename in
   16082       nagfor*)
   16083         # NAG Fortran compiler
   16084         lt_prog_compiler_wl='-Wl,-Wl,,'
   16085         lt_prog_compiler_pic='-PIC'
   16086         lt_prog_compiler_static='-Bstatic'
   16087         ;;
   16088       esac
   16089       ;;
   16090 
   16091     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16092       # This hack is so that the source file can tell whether it is being
   16093       # built for inclusion in a dll (and should export symbols for example).
   16094       lt_prog_compiler_pic='-DDLL_EXPORT'
   16095       case $host_os in
   16096       os2*)
   16097 	lt_prog_compiler_static='$wl-static'
   16098 	;;
   16099       esac
   16100       ;;
   16101 
   16102     hpux9* | hpux10* | hpux11*)
   16103       lt_prog_compiler_wl='-Wl,'
   16104       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16105       # not for PA HP-UX.
   16106       case $host_cpu in
   16107       hppa*64*|ia64*)
   16108 	# +Z the default
   16109 	;;
   16110       *)
   16111 	lt_prog_compiler_pic='+Z'
   16112 	;;
   16113       esac
   16114       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16115       lt_prog_compiler_static='$wl-a ${wl}archive'
   16116       ;;
   16117 
   16118     irix5* | irix6* | nonstopux*)
   16119       lt_prog_compiler_wl='-Wl,'
   16120       # PIC (with -KPIC) is the default.
   16121       lt_prog_compiler_static='-non_shared'
   16122       ;;
   16123 
   16124     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16125       case $cc_basename in
   16126       # old Intel for x86_64, which still supported -KPIC.
   16127       ecc*)
   16128 	lt_prog_compiler_wl='-Wl,'
   16129 	lt_prog_compiler_pic='-KPIC'
   16130 	lt_prog_compiler_static='-static'
   16131         ;;
   16132       # icc used to be incompatible with GCC.
   16133       # ICC 10 doesn't accept -KPIC any more.
   16134       icc* | ifort*)
   16135 	lt_prog_compiler_wl='-Wl,'
   16136 	lt_prog_compiler_pic='-fPIC'
   16137 	lt_prog_compiler_static='-static'
   16138         ;;
   16139       # Lahey Fortran 8.1.
   16140       lf95*)
   16141 	lt_prog_compiler_wl='-Wl,'
   16142 	lt_prog_compiler_pic='--shared'
   16143 	lt_prog_compiler_static='--static'
   16144 	;;
   16145       nagfor*)
   16146 	# NAG Fortran compiler
   16147 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16148 	lt_prog_compiler_pic='-PIC'
   16149 	lt_prog_compiler_static='-Bstatic'
   16150 	;;
   16151       tcc*)
   16152 	# Fabrice Bellard et al's Tiny C Compiler
   16153 	lt_prog_compiler_wl='-Wl,'
   16154 	lt_prog_compiler_pic='-fPIC'
   16155 	lt_prog_compiler_static='-static'
   16156 	;;
   16157       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16158         # Portland Group compilers (*not* the Pentium gcc compiler,
   16159 	# which looks to be a dead project)
   16160 	lt_prog_compiler_wl='-Wl,'
   16161 	lt_prog_compiler_pic='-fpic'
   16162 	lt_prog_compiler_static='-Bstatic'
   16163         ;;
   16164       ccc*)
   16165         lt_prog_compiler_wl='-Wl,'
   16166         # All Alpha code is PIC.
   16167         lt_prog_compiler_static='-non_shared'
   16168         ;;
   16169       xl* | bgxl* | bgf* | mpixl*)
   16170 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16171 	lt_prog_compiler_wl='-Wl,'
   16172 	lt_prog_compiler_pic='-qpic'
   16173 	lt_prog_compiler_static='-qstaticlink'
   16174 	;;
   16175       *)
   16176 	case `$CC -V 2>&1 | $SED 5q` in
   16177 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16178 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16179 	  lt_prog_compiler_pic='-KPIC'
   16180 	  lt_prog_compiler_static='-Bstatic'
   16181 	  lt_prog_compiler_wl=''
   16182 	  ;;
   16183 	*Sun\ F* | *Sun*Fortran*)
   16184 	  lt_prog_compiler_pic='-KPIC'
   16185 	  lt_prog_compiler_static='-Bstatic'
   16186 	  lt_prog_compiler_wl='-Qoption ld '
   16187 	  ;;
   16188 	*Sun\ C*)
   16189 	  # Sun C 5.9
   16190 	  lt_prog_compiler_pic='-KPIC'
   16191 	  lt_prog_compiler_static='-Bstatic'
   16192 	  lt_prog_compiler_wl='-Wl,'
   16193 	  ;;
   16194         *Intel*\ [CF]*Compiler*)
   16195 	  lt_prog_compiler_wl='-Wl,'
   16196 	  lt_prog_compiler_pic='-fPIC'
   16197 	  lt_prog_compiler_static='-static'
   16198 	  ;;
   16199 	*Portland\ Group*)
   16200 	  lt_prog_compiler_wl='-Wl,'
   16201 	  lt_prog_compiler_pic='-fpic'
   16202 	  lt_prog_compiler_static='-Bstatic'
   16203 	  ;;
   16204 	esac
   16205 	;;
   16206       esac
   16207       ;;
   16208 
   16209     newsos6)
   16210       lt_prog_compiler_pic='-KPIC'
   16211       lt_prog_compiler_static='-Bstatic'
   16212       ;;
   16213 
   16214     *nto* | *qnx*)
   16215       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16216       # it will coredump.
   16217       lt_prog_compiler_pic='-fPIC -shared'
   16218       ;;
   16219 
   16220     osf3* | osf4* | osf5*)
   16221       lt_prog_compiler_wl='-Wl,'
   16222       # All OSF/1 code is PIC.
   16223       lt_prog_compiler_static='-non_shared'
   16224       ;;
   16225 
   16226     rdos*)
   16227       lt_prog_compiler_static='-non_shared'
   16228       ;;
   16229 
   16230     solaris*)
   16231       lt_prog_compiler_pic='-KPIC'
   16232       lt_prog_compiler_static='-Bstatic'
   16233       case $cc_basename in
   16234       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16235 	lt_prog_compiler_wl='-Qoption ld ';;
   16236       *)
   16237 	lt_prog_compiler_wl='-Wl,';;
   16238       esac
   16239       ;;
   16240 
   16241     sunos4*)
   16242       lt_prog_compiler_wl='-Qoption ld '
   16243       lt_prog_compiler_pic='-PIC'
   16244       lt_prog_compiler_static='-Bstatic'
   16245       ;;
   16246 
   16247     sysv4 | sysv4.2uw2* | sysv4.3*)
   16248       lt_prog_compiler_wl='-Wl,'
   16249       lt_prog_compiler_pic='-KPIC'
   16250       lt_prog_compiler_static='-Bstatic'
   16251       ;;
   16252 
   16253     sysv4*MP*)
   16254       if test -d /usr/nec; then
   16255 	lt_prog_compiler_pic='-Kconform_pic'
   16256 	lt_prog_compiler_static='-Bstatic'
   16257       fi
   16258       ;;
   16259 
   16260     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16261       lt_prog_compiler_wl='-Wl,'
   16262       lt_prog_compiler_pic='-KPIC'
   16263       lt_prog_compiler_static='-Bstatic'
   16264       ;;
   16265 
   16266     unicos*)
   16267       lt_prog_compiler_wl='-Wl,'
   16268       lt_prog_compiler_can_build_shared=no
   16269       ;;
   16270 
   16271     uts4*)
   16272       lt_prog_compiler_pic='-pic'
   16273       lt_prog_compiler_static='-Bstatic'
   16274       ;;
   16275 
   16276     *)
   16277       lt_prog_compiler_can_build_shared=no
   16278       ;;
   16279     esac
   16280   fi
   16281 
   16282 case $host_os in
   16283   # For platforms that do not support PIC, -DPIC is meaningless:
   16284   *djgpp*)
   16285     lt_prog_compiler_pic=
   16286     ;;
   16287   *)
   16288     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16289     ;;
   16290 esac
   16291 
   16292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16293 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16294 if test ${lt_cv_prog_compiler_pic+y}
   16295 then :
   16296   printf %s "(cached) " >&6
   16297 else case e in #(
   16298   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   16299 esac
   16300 fi
   16301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16302 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16303 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16304 
   16305 #
   16306 # Check to make sure the PIC flag actually works.
   16307 #
   16308 if test -n "$lt_prog_compiler_pic"; then
   16309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16310 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16311 if test ${lt_cv_prog_compiler_pic_works+y}
   16312 then :
   16313   printf %s "(cached) " >&6
   16314 else case e in #(
   16315   e) lt_cv_prog_compiler_pic_works=no
   16316    ac_outfile=conftest.$ac_objext
   16317    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16318    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16319    # Insert the option either (1) after the last *FLAGS variable, or
   16320    # (2) before a word containing "conftest.", or (3) at the end.
   16321    # Note that $ac_compile itself does not contain backslashes and begins
   16322    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16323    # The option is referenced via a variable to avoid confusing sed.
   16324    lt_compile=`echo "$ac_compile" | $SED \
   16325    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16326    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16327    -e 's:$: $lt_compiler_flag:'`
   16328    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16329    (eval "$lt_compile" 2>conftest.err)
   16330    ac_status=$?
   16331    cat conftest.err >&5
   16332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16333    if (exit $ac_status) && test -s "$ac_outfile"; then
   16334      # The compiler can only warn and ignore the option if not recognized
   16335      # So say no if there are warnings other than the usual output.
   16336      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16337      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16338      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16339        lt_cv_prog_compiler_pic_works=yes
   16340      fi
   16341    fi
   16342    $RM conftest*
   16343  ;;
   16344 esac
   16345 fi
   16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16347 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16348 
   16349 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16350     case $lt_prog_compiler_pic in
   16351      "" | " "*) ;;
   16352      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16353      esac
   16354 else
   16355     lt_prog_compiler_pic=
   16356      lt_prog_compiler_can_build_shared=no
   16357 fi
   16358 
   16359 fi
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 #
   16372 # Check to make sure the static flag actually works.
   16373 #
   16374 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16376 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16377 if test ${lt_cv_prog_compiler_static_works+y}
   16378 then :
   16379   printf %s "(cached) " >&6
   16380 else case e in #(
   16381   e) lt_cv_prog_compiler_static_works=no
   16382    save_LDFLAGS=$LDFLAGS
   16383    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16384    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16385    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16386      # The linker can only warn and ignore the option if not recognized
   16387      # So say no if there are warnings
   16388      if test -s conftest.err; then
   16389        # Append any errors to the config.log.
   16390        cat conftest.err 1>&5
   16391        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16392        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16393        if diff conftest.exp conftest.er2 >/dev/null; then
   16394          lt_cv_prog_compiler_static_works=yes
   16395        fi
   16396      else
   16397        lt_cv_prog_compiler_static_works=yes
   16398      fi
   16399    fi
   16400    $RM -r conftest*
   16401    LDFLAGS=$save_LDFLAGS
   16402  ;;
   16403 esac
   16404 fi
   16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16406 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16407 
   16408 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16409     :
   16410 else
   16411     lt_prog_compiler_static=
   16412 fi
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16421 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16422 if test ${lt_cv_prog_compiler_c_o+y}
   16423 then :
   16424   printf %s "(cached) " >&6
   16425 else case e in #(
   16426   e) lt_cv_prog_compiler_c_o=no
   16427    $RM -r conftest 2>/dev/null
   16428    mkdir conftest
   16429    cd conftest
   16430    mkdir out
   16431    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16432 
   16433    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16434    # Insert the option either (1) after the last *FLAGS variable, or
   16435    # (2) before a word containing "conftest.", or (3) at the end.
   16436    # Note that $ac_compile itself does not contain backslashes and begins
   16437    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16438    lt_compile=`echo "$ac_compile" | $SED \
   16439    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16440    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16441    -e 's:$: $lt_compiler_flag:'`
   16442    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16443    (eval "$lt_compile" 2>out/conftest.err)
   16444    ac_status=$?
   16445    cat out/conftest.err >&5
   16446    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16447    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16448    then
   16449      # The compiler can only warn and ignore the option if not recognized
   16450      # So say no if there are warnings
   16451      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16452      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16453      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16454        lt_cv_prog_compiler_c_o=yes
   16455      fi
   16456    fi
   16457    chmod u+w . 2>&5
   16458    $RM conftest*
   16459    # SGI C++ compiler will create directory out/ii_files/ for
   16460    # template instantiation
   16461    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16462    $RM out/* && rmdir out
   16463    cd ..
   16464    $RM -r conftest
   16465    $RM conftest*
   16466  ;;
   16467 esac
   16468 fi
   16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16470 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16478 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16479 if test ${lt_cv_prog_compiler_c_o+y}
   16480 then :
   16481   printf %s "(cached) " >&6
   16482 else case e in #(
   16483   e) lt_cv_prog_compiler_c_o=no
   16484    $RM -r conftest 2>/dev/null
   16485    mkdir conftest
   16486    cd conftest
   16487    mkdir out
   16488    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16489 
   16490    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16491    # Insert the option either (1) after the last *FLAGS variable, or
   16492    # (2) before a word containing "conftest.", or (3) at the end.
   16493    # Note that $ac_compile itself does not contain backslashes and begins
   16494    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16495    lt_compile=`echo "$ac_compile" | $SED \
   16496    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16497    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16498    -e 's:$: $lt_compiler_flag:'`
   16499    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16500    (eval "$lt_compile" 2>out/conftest.err)
   16501    ac_status=$?
   16502    cat out/conftest.err >&5
   16503    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16504    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16505    then
   16506      # The compiler can only warn and ignore the option if not recognized
   16507      # So say no if there are warnings
   16508      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16509      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16510      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16511        lt_cv_prog_compiler_c_o=yes
   16512      fi
   16513    fi
   16514    chmod u+w . 2>&5
   16515    $RM conftest*
   16516    # SGI C++ compiler will create directory out/ii_files/ for
   16517    # template instantiation
   16518    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16519    $RM out/* && rmdir out
   16520    cd ..
   16521    $RM -r conftest
   16522    $RM conftest*
   16523  ;;
   16524 esac
   16525 fi
   16526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16527 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16528 
   16529 
   16530 
   16531 
   16532 hard_links=nottested
   16533 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16534   # do not overwrite the value of need_locks provided by the user
   16535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16536 printf %s "checking if we can lock with hard links... " >&6; }
   16537   hard_links=yes
   16538   $RM conftest*
   16539   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16540   touch conftest.a
   16541   ln conftest.a conftest.b 2>&5 || hard_links=no
   16542   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16544 printf "%s\n" "$hard_links" >&6; }
   16545   if test no = "$hard_links"; then
   16546     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16547 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16548     need_locks=warn
   16549   fi
   16550 else
   16551   need_locks=no
   16552 fi
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16560 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16561 
   16562   runpath_var=
   16563   allow_undefined_flag=
   16564   always_export_symbols=no
   16565   archive_cmds=
   16566   archive_expsym_cmds=
   16567   compiler_needs_object=no
   16568   enable_shared_with_static_runtimes=no
   16569   export_dynamic_flag_spec=
   16570   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16571   hardcode_automatic=no
   16572   hardcode_direct=no
   16573   hardcode_direct_absolute=no
   16574   hardcode_libdir_flag_spec=
   16575   hardcode_libdir_separator=
   16576   hardcode_minus_L=no
   16577   hardcode_shlibpath_var=unsupported
   16578   inherit_rpath=no
   16579   link_all_deplibs=unknown
   16580   module_cmds=
   16581   module_expsym_cmds=
   16582   old_archive_from_new_cmds=
   16583   old_archive_from_expsyms_cmds=
   16584   thread_safe_flag_spec=
   16585   whole_archive_flag_spec=
   16586   # include_expsyms should be a list of space-separated symbols to be *always*
   16587   # included in the symbol list
   16588   include_expsyms=
   16589   # exclude_expsyms can be an extended regexp of symbols to exclude
   16590   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16591   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16592   # as well as any symbol that contains 'd'.
   16593   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16594   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16595   # platforms (ab)use it in PIC code, but their linkers get confused if
   16596   # the symbol is explicitly referenced.  Since portable code cannot
   16597   # rely on this symbol name, it's probably fine to never include it in
   16598   # preloaded symbol tables.
   16599   # Exclude shared library initialization/finalization symbols.
   16600   extract_expsyms_cmds=
   16601 
   16602   case $host_os in
   16603   cygwin* | mingw* | pw32* | cegcc*)
   16604     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16605     # When not using gcc, we currently assume that we are using
   16606     # Microsoft Visual C++ or Intel C++ Compiler.
   16607     if test yes != "$GCC"; then
   16608       with_gnu_ld=no
   16609     fi
   16610     ;;
   16611   interix*)
   16612     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16613     with_gnu_ld=yes
   16614     ;;
   16615   openbsd* | bitrig*)
   16616     with_gnu_ld=no
   16617     ;;
   16618   esac
   16619 
   16620   ld_shlibs=yes
   16621 
   16622   # On some targets, GNU ld is compatible enough with the native linker
   16623   # that we're better off using the native interface for both.
   16624   lt_use_gnu_ld_interface=no
   16625   if test yes = "$with_gnu_ld"; then
   16626     case $host_os in
   16627       aix*)
   16628 	# The AIX port of GNU ld has always aspired to compatibility
   16629 	# with the native linker.  However, as the warning in the GNU ld
   16630 	# block says, versions before 2.19.5* couldn't really create working
   16631 	# shared libraries, regardless of the interface used.
   16632 	case `$LD -v 2>&1` in
   16633 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16634 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16635 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16636 	  *)
   16637 	    lt_use_gnu_ld_interface=yes
   16638 	    ;;
   16639 	esac
   16640 	;;
   16641       *)
   16642 	lt_use_gnu_ld_interface=yes
   16643 	;;
   16644     esac
   16645   fi
   16646 
   16647   if test yes = "$lt_use_gnu_ld_interface"; then
   16648     # If archive_cmds runs LD, not CC, wlarc should be empty
   16649     wlarc='$wl'
   16650 
   16651     # Set some defaults for GNU ld with shared library support. These
   16652     # are reset later if shared libraries are not supported. Putting them
   16653     # here allows them to be overridden if necessary.
   16654     runpath_var=LD_RUN_PATH
   16655     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16656     export_dynamic_flag_spec='$wl--export-dynamic'
   16657     # ancient GNU ld didn't support --whole-archive et. al.
   16658     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16659       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16660     else
   16661       whole_archive_flag_spec=
   16662     fi
   16663     supports_anon_versioning=no
   16664     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16665       *GNU\ gold*) supports_anon_versioning=yes ;;
   16666       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16667       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16668       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16669       *\ 2.11.*) ;; # other 2.11 versions
   16670       *) supports_anon_versioning=yes ;;
   16671     esac
   16672 
   16673     # See if GNU ld supports shared libraries.
   16674     case $host_os in
   16675     aix[3-9]*)
   16676       # On AIX/PPC, the GNU linker is very broken
   16677       if test ia64 != "$host_cpu"; then
   16678 	ld_shlibs=no
   16679 	cat <<_LT_EOF 1>&2
   16680 
   16681 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16682 *** to be unable to reliably create shared libraries on AIX.
   16683 *** Therefore, libtool is disabling shared libraries support.  If you
   16684 *** really care for shared libraries, you may want to install binutils
   16685 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16686 *** You will then need to restart the configuration process.
   16687 
   16688 _LT_EOF
   16689       fi
   16690       ;;
   16691 
   16692     amigaos*)
   16693       case $host_cpu in
   16694       powerpc)
   16695             # see comment about AmigaOS4 .so support
   16696             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16697             archive_expsym_cmds=''
   16698         ;;
   16699       m68k)
   16700             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)'
   16701             hardcode_libdir_flag_spec='-L$libdir'
   16702             hardcode_minus_L=yes
   16703         ;;
   16704       esac
   16705       ;;
   16706 
   16707     beos*)
   16708       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16709 	allow_undefined_flag=unsupported
   16710 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16711 	# support --undefined.  This deserves some investigation.  FIXME
   16712 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16713       else
   16714 	ld_shlibs=no
   16715       fi
   16716       ;;
   16717 
   16718     cygwin* | mingw* | pw32* | cegcc*)
   16719       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16720       # as there is no search path for DLLs.
   16721       hardcode_libdir_flag_spec='-L$libdir'
   16722       export_dynamic_flag_spec='$wl--export-all-symbols'
   16723       allow_undefined_flag=unsupported
   16724       always_export_symbols=no
   16725       enable_shared_with_static_runtimes=yes
   16726       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'
   16727       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16728 
   16729       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16730         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16731 	# If the export-symbols file already is a .def file, use it as
   16732 	# is; otherwise, prepend EXPORTS...
   16733 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16734           cp $export_symbols $output_objdir/$soname.def;
   16735         else
   16736           echo EXPORTS > $output_objdir/$soname.def;
   16737           cat $export_symbols >> $output_objdir/$soname.def;
   16738         fi~
   16739         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16740       else
   16741 	ld_shlibs=no
   16742       fi
   16743       ;;
   16744 
   16745     haiku*)
   16746       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16747       link_all_deplibs=yes
   16748       ;;
   16749 
   16750     os2*)
   16751       hardcode_libdir_flag_spec='-L$libdir'
   16752       hardcode_minus_L=yes
   16753       allow_undefined_flag=unsupported
   16754       shrext_cmds=.dll
   16755       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16756 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16757 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16758 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16759 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16760 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16761 	emximp -o $lib $output_objdir/$libname.def'
   16762       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16763 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16764 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16765 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16766 	prefix_cmds="$SED"~
   16767 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16768 	  prefix_cmds="$prefix_cmds -e 1d";
   16769 	fi~
   16770 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16771 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16772 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16773 	emximp -o $lib $output_objdir/$libname.def'
   16774       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16775       enable_shared_with_static_runtimes=yes
   16776       file_list_spec='@'
   16777       ;;
   16778 
   16779     interix[3-9]*)
   16780       hardcode_direct=no
   16781       hardcode_shlibpath_var=no
   16782       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16783       export_dynamic_flag_spec='$wl-E'
   16784       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16785       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16786       # default) and relocated if they conflict, which is a slow very memory
   16787       # consuming and fragmenting process.  To avoid this, we pick a random,
   16788       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16789       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16790       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16791       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'
   16792       ;;
   16793 
   16794     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16795       tmp_diet=no
   16796       if test linux-dietlibc = "$host_os"; then
   16797 	case $cc_basename in
   16798 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16799 	esac
   16800       fi
   16801       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16802 	 && test no = "$tmp_diet"
   16803       then
   16804 	tmp_addflag=' $pic_flag'
   16805 	tmp_sharedflag='-shared'
   16806 	case $cc_basename,$host_cpu in
   16807         pgcc*)				# Portland Group C compiler
   16808 	  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'
   16809 	  tmp_addflag=' $pic_flag'
   16810 	  ;;
   16811 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16812 					# Portland Group f77 and f90 compilers
   16813 	  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'
   16814 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16815 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16816 	  tmp_addflag=' -i_dynamic' ;;
   16817 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16818 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16819 	ifc* | ifort*)			# Intel Fortran compiler
   16820 	  tmp_addflag=' -nofor_main' ;;
   16821 	lf95*)				# Lahey Fortran 8.1
   16822 	  whole_archive_flag_spec=
   16823 	  tmp_sharedflag='--shared' ;;
   16824         nagfor*)                        # NAGFOR 5.3
   16825           tmp_sharedflag='-Wl,-shared' ;;
   16826 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16827 	  tmp_sharedflag='-qmkshrobj'
   16828 	  tmp_addflag= ;;
   16829 	nvcc*)	# Cuda Compiler Driver 2.2
   16830 	  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'
   16831 	  compiler_needs_object=yes
   16832 	  ;;
   16833 	esac
   16834 	case `$CC -V 2>&1 | $SED 5q` in
   16835 	*Sun\ C*)			# Sun C 5.9
   16836 	  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'
   16837 	  compiler_needs_object=yes
   16838 	  tmp_sharedflag='-G' ;;
   16839 	*Sun\ F*)			# Sun Fortran 8.3
   16840 	  tmp_sharedflag='-G' ;;
   16841 	esac
   16842 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16843 
   16844         if test yes = "$supports_anon_versioning"; then
   16845           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16846             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16847             echo "local: *; };" >> $output_objdir/$libname.ver~
   16848             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16849         fi
   16850 
   16851 	case $cc_basename in
   16852 	tcc*)
   16853 	  export_dynamic_flag_spec='-rdynamic'
   16854 	  ;;
   16855 	xlf* | bgf* | bgxlf* | mpixlf*)
   16856 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16857 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16858 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16859 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16860 	  if test yes = "$supports_anon_versioning"; then
   16861 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16862               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16863               echo "local: *; };" >> $output_objdir/$libname.ver~
   16864               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16865 	  fi
   16866 	  ;;
   16867 	esac
   16868       else
   16869         ld_shlibs=no
   16870       fi
   16871       ;;
   16872 
   16873     netbsd*)
   16874       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16875 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16876 	wlarc=
   16877       else
   16878 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16879 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16880       fi
   16881       ;;
   16882 
   16883     solaris*)
   16884       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16885 	ld_shlibs=no
   16886 	cat <<_LT_EOF 1>&2
   16887 
   16888 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16889 *** create shared libraries on Solaris systems.  Therefore, libtool
   16890 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16891 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16892 *** your PATH or compiler configuration so that the native linker is
   16893 *** used, and then restart.
   16894 
   16895 _LT_EOF
   16896       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16897 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16898 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16899       else
   16900 	ld_shlibs=no
   16901       fi
   16902       ;;
   16903 
   16904     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16905       case `$LD -v 2>&1` in
   16906         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16907 	ld_shlibs=no
   16908 	cat <<_LT_EOF 1>&2
   16909 
   16910 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16911 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16912 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16913 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16914 *** your PATH or compiler configuration so that the native linker is
   16915 *** used, and then restart.
   16916 
   16917 _LT_EOF
   16918 	;;
   16919 	*)
   16920 	  # For security reasons, it is highly recommended that you always
   16921 	  # use absolute paths for naming shared libraries, and exclude the
   16922 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16923 	  # requires that you compile everything twice, which is a pain.
   16924 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16925 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16926 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16927 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16928 	  else
   16929 	    ld_shlibs=no
   16930 	  fi
   16931 	;;
   16932       esac
   16933       ;;
   16934 
   16935     sunos4*)
   16936       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16937       wlarc=
   16938       hardcode_direct=yes
   16939       hardcode_shlibpath_var=no
   16940       ;;
   16941 
   16942     *)
   16943       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16944 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16945 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16946       else
   16947 	ld_shlibs=no
   16948       fi
   16949       ;;
   16950     esac
   16951 
   16952     if test no = "$ld_shlibs"; then
   16953       runpath_var=
   16954       hardcode_libdir_flag_spec=
   16955       export_dynamic_flag_spec=
   16956       whole_archive_flag_spec=
   16957     fi
   16958   else
   16959     # PORTME fill in a description of your system's linker (not GNU ld)
   16960     case $host_os in
   16961     aix3*)
   16962       allow_undefined_flag=unsupported
   16963       always_export_symbols=yes
   16964       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'
   16965       # Note: this linker hardcodes the directories in LIBPATH if there
   16966       # are no directories specified by -L.
   16967       hardcode_minus_L=yes
   16968       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16969 	# Neither direct hardcoding nor static linking is supported with a
   16970 	# broken collect2.
   16971 	hardcode_direct=unsupported
   16972       fi
   16973       ;;
   16974 
   16975     aix[4-9]*)
   16976       if test ia64 = "$host_cpu"; then
   16977 	# On IA64, the linker does run time linking by default, so we don't
   16978 	# have to do anything special.
   16979 	aix_use_runtimelinking=no
   16980 	exp_sym_flag='-Bexport'
   16981 	no_entry_flag=
   16982       else
   16983 	# If we're using GNU nm, then we don't want the "-C" option.
   16984 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16985 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16986 	# weak defined symbols like other global defined symbols, whereas
   16987 	# GNU nm marks them as "W".
   16988 	# While the 'weak' keyword is ignored in the Export File, we need
   16989 	# it in the Import File for the 'aix-soname' feature, so we have
   16990 	# to replace the "-B" option with "-P" for AIX nm.
   16991 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16992 	  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'
   16993 	else
   16994 	  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'
   16995 	fi
   16996 	aix_use_runtimelinking=no
   16997 
   16998 	# Test if we are trying to use run time linking or normal
   16999 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17000 	# have runtime linking enabled, and use it for executables.
   17001 	# For shared libraries, we enable/disable runtime linking
   17002 	# depending on the kind of the shared library created -
   17003 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17004 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17005 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17006 	#            lib.a           static archive
   17007 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17008 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17009 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17010 	#            lib.a(lib.so.V) shared, rtl:no
   17011 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17012 	#            lib.a           static archive
   17013 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17014 	  for ld_flag in $LDFLAGS; do
   17015 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17016 	    aix_use_runtimelinking=yes
   17017 	    break
   17018 	  fi
   17019 	  done
   17020 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17021 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17022 	    # so we don't have lib.a shared libs to link our executables.
   17023 	    # We have to force runtime linking in this case.
   17024 	    aix_use_runtimelinking=yes
   17025 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17026 	  fi
   17027 	  ;;
   17028 	esac
   17029 
   17030 	exp_sym_flag='-bexport'
   17031 	no_entry_flag='-bnoentry'
   17032       fi
   17033 
   17034       # When large executables or shared objects are built, AIX ld can
   17035       # have problems creating the table of contents.  If linking a library
   17036       # or program results in "error TOC overflow" add -mminimal-toc to
   17037       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17038       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17039 
   17040       archive_cmds=''
   17041       hardcode_direct=yes
   17042       hardcode_direct_absolute=yes
   17043       hardcode_libdir_separator=':'
   17044       link_all_deplibs=yes
   17045       file_list_spec='$wl-f,'
   17046       case $with_aix_soname,$aix_use_runtimelinking in
   17047       aix,*) ;; # traditional, no import file
   17048       svr4,* | *,yes) # use import file
   17049 	# The Import File defines what to hardcode.
   17050 	hardcode_direct=no
   17051 	hardcode_direct_absolute=no
   17052 	;;
   17053       esac
   17054 
   17055       if test yes = "$GCC"; then
   17056 	case $host_os in aix4.[012]|aix4.[012].*)
   17057 	# We only want to do this on AIX 4.2 and lower, the check
   17058 	# below for broken collect2 doesn't work under 4.3+
   17059 	  collect2name=`$CC -print-prog-name=collect2`
   17060 	  if test -f "$collect2name" &&
   17061 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17062 	  then
   17063 	  # We have reworked collect2
   17064 	  :
   17065 	  else
   17066 	  # We have old collect2
   17067 	  hardcode_direct=unsupported
   17068 	  # It fails to find uninstalled libraries when the uninstalled
   17069 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17070 	  # to unsupported forces relinking
   17071 	  hardcode_minus_L=yes
   17072 	  hardcode_libdir_flag_spec='-L$libdir'
   17073 	  hardcode_libdir_separator=
   17074 	  fi
   17075 	  ;;
   17076 	esac
   17077 	shared_flag='-shared'
   17078 	if test yes = "$aix_use_runtimelinking"; then
   17079 	  shared_flag="$shared_flag "'$wl-G'
   17080 	fi
   17081 	# Need to ensure runtime linking is disabled for the traditional
   17082 	# shared library, or the linker may eventually find shared libraries
   17083 	# /with/ Import File - we do not want to mix them.
   17084 	shared_flag_aix='-shared'
   17085 	shared_flag_svr4='-shared $wl-G'
   17086       else
   17087 	# not using gcc
   17088 	if test ia64 = "$host_cpu"; then
   17089 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17090 	# chokes on -Wl,-G. The following line is correct:
   17091 	  shared_flag='-G'
   17092 	else
   17093 	  if test yes = "$aix_use_runtimelinking"; then
   17094 	    shared_flag='$wl-G'
   17095 	  else
   17096 	    shared_flag='$wl-bM:SRE'
   17097 	  fi
   17098 	  shared_flag_aix='$wl-bM:SRE'
   17099 	  shared_flag_svr4='$wl-G'
   17100 	fi
   17101       fi
   17102 
   17103       export_dynamic_flag_spec='$wl-bexpall'
   17104       # It seems that -bexpall does not export symbols beginning with
   17105       # underscore (_), so it is better to generate a list of symbols to export.
   17106       always_export_symbols=yes
   17107       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17108 	# Warning - without using the other runtime loading flags (-brtl),
   17109 	# -berok will link without error, but may produce a broken library.
   17110 	allow_undefined_flag='-berok'
   17111         # Determine the default libpath from the value encoded in an
   17112         # empty executable.
   17113         if test set = "${lt_cv_aix_libpath+set}"; then
   17114   aix_libpath=$lt_cv_aix_libpath
   17115 else
   17116   if test ${lt_cv_aix_libpath_+y}
   17117 then :
   17118   printf %s "(cached) " >&6
   17119 else case e in #(
   17120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17121 /* end confdefs.h.  */
   17122 
   17123 int
   17124 main (void)
   17125 {
   17126 
   17127   ;
   17128   return 0;
   17129 }
   17130 _ACEOF
   17131 if ac_fn_c_try_link "$LINENO"
   17132 then :
   17133 
   17134   lt_aix_libpath_sed='
   17135       /Import File Strings/,/^$/ {
   17136 	  /^0/ {
   17137 	      s/^0  *\([^ ]*\) *$/\1/
   17138 	      p
   17139 	  }
   17140       }'
   17141   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17142   # Check for a 64-bit object if we didn't find anything.
   17143   if test -z "$lt_cv_aix_libpath_"; then
   17144     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17145   fi
   17146 fi
   17147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17148     conftest$ac_exeext conftest.$ac_ext
   17149   if test -z "$lt_cv_aix_libpath_"; then
   17150     lt_cv_aix_libpath_=/usr/lib:/lib
   17151   fi
   17152    ;;
   17153 esac
   17154 fi
   17155 
   17156   aix_libpath=$lt_cv_aix_libpath_
   17157 fi
   17158 
   17159         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17160         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
   17161       else
   17162 	if test ia64 = "$host_cpu"; then
   17163 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17164 	  allow_undefined_flag="-z nodefs"
   17165 	  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"
   17166 	else
   17167 	 # Determine the default libpath from the value encoded in an
   17168 	 # empty executable.
   17169 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17170   aix_libpath=$lt_cv_aix_libpath
   17171 else
   17172   if test ${lt_cv_aix_libpath_+y}
   17173 then :
   17174   printf %s "(cached) " >&6
   17175 else case e in #(
   17176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17177 /* end confdefs.h.  */
   17178 
   17179 int
   17180 main (void)
   17181 {
   17182 
   17183   ;
   17184   return 0;
   17185 }
   17186 _ACEOF
   17187 if ac_fn_c_try_link "$LINENO"
   17188 then :
   17189 
   17190   lt_aix_libpath_sed='
   17191       /Import File Strings/,/^$/ {
   17192 	  /^0/ {
   17193 	      s/^0  *\([^ ]*\) *$/\1/
   17194 	      p
   17195 	  }
   17196       }'
   17197   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17198   # Check for a 64-bit object if we didn't find anything.
   17199   if test -z "$lt_cv_aix_libpath_"; then
   17200     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17201   fi
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17204     conftest$ac_exeext conftest.$ac_ext
   17205   if test -z "$lt_cv_aix_libpath_"; then
   17206     lt_cv_aix_libpath_=/usr/lib:/lib
   17207   fi
   17208    ;;
   17209 esac
   17210 fi
   17211 
   17212   aix_libpath=$lt_cv_aix_libpath_
   17213 fi
   17214 
   17215 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17216 	  # Warning - without using the other run time loading flags,
   17217 	  # -berok will link without error, but may produce a broken library.
   17218 	  no_undefined_flag=' $wl-bernotok'
   17219 	  allow_undefined_flag=' $wl-berok'
   17220 	  if test yes = "$with_gnu_ld"; then
   17221 	    # We only use this code for GNU lds that support --whole-archive.
   17222 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17223 	  else
   17224 	    # Exported symbols can be pulled into shared objects from archives
   17225 	    whole_archive_flag_spec='$convenience'
   17226 	  fi
   17227 	  archive_cmds_need_lc=yes
   17228 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17229 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17230 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17231 	  if test svr4 != "$with_aix_soname"; then
   17232 	    # This is similar to how AIX traditionally builds its shared libraries.
   17233 	    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'
   17234 	  fi
   17235 	  if test aix != "$with_aix_soname"; then
   17236 	    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'
   17237 	  else
   17238 	    # used by -dlpreopen to get the symbols
   17239 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17240 	  fi
   17241 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17242 	fi
   17243       fi
   17244       ;;
   17245 
   17246     amigaos*)
   17247       case $host_cpu in
   17248       powerpc)
   17249             # see comment about AmigaOS4 .so support
   17250             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17251             archive_expsym_cmds=''
   17252         ;;
   17253       m68k)
   17254             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)'
   17255             hardcode_libdir_flag_spec='-L$libdir'
   17256             hardcode_minus_L=yes
   17257         ;;
   17258       esac
   17259       ;;
   17260 
   17261     bsdi[45]*)
   17262       export_dynamic_flag_spec=-rdynamic
   17263       ;;
   17264 
   17265     cygwin* | mingw* | pw32* | cegcc*)
   17266       # When not using gcc, we currently assume that we are using
   17267       # Microsoft Visual C++ or Intel C++ Compiler.
   17268       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17269       # no search path for DLLs.
   17270       case $cc_basename in
   17271       cl* | icl*)
   17272 	# Native MSVC or ICC
   17273 	hardcode_libdir_flag_spec=' '
   17274 	allow_undefined_flag=unsupported
   17275 	always_export_symbols=yes
   17276 	file_list_spec='@'
   17277 	# Tell ltmain to make .lib files, not .a files.
   17278 	libext=lib
   17279 	# Tell ltmain to make .dll files, not .so files.
   17280 	shrext_cmds=.dll
   17281 	# FIXME: Setting linknames here is a bad hack.
   17282 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17283 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17284             cp "$export_symbols" "$output_objdir/$soname.def";
   17285             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17286           else
   17287             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17288           fi~
   17289           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17290           linknames='
   17291 	# The linker will not automatically build a static lib if we build a DLL.
   17292 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17293 	enable_shared_with_static_runtimes=yes
   17294 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17295 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17296 	# Don't use ranlib
   17297 	old_postinstall_cmds='chmod 644 $oldlib'
   17298 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17299           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17300           case $lt_outputfile in
   17301             *.exe|*.EXE) ;;
   17302             *)
   17303               lt_outputfile=$lt_outputfile.exe
   17304               lt_tool_outputfile=$lt_tool_outputfile.exe
   17305               ;;
   17306           esac~
   17307           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17308             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17309             $RM "$lt_outputfile.manifest";
   17310           fi'
   17311 	;;
   17312       *)
   17313 	# Assume MSVC and ICC wrapper
   17314 	hardcode_libdir_flag_spec=' '
   17315 	allow_undefined_flag=unsupported
   17316 	# Tell ltmain to make .lib files, not .a files.
   17317 	libext=lib
   17318 	# Tell ltmain to make .dll files, not .so files.
   17319 	shrext_cmds=.dll
   17320 	# FIXME: Setting linknames here is a bad hack.
   17321 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17322 	# The linker will automatically build a .lib file if we build a DLL.
   17323 	old_archive_from_new_cmds='true'
   17324 	# FIXME: Should let the user specify the lib program.
   17325 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17326 	enable_shared_with_static_runtimes=yes
   17327 	;;
   17328       esac
   17329       ;;
   17330 
   17331     darwin* | rhapsody*)
   17332 
   17333 
   17334   archive_cmds_need_lc=no
   17335   hardcode_direct=no
   17336   hardcode_automatic=yes
   17337   hardcode_shlibpath_var=unsupported
   17338   if test yes = "$lt_cv_ld_force_load"; then
   17339     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\"`'
   17340 
   17341   else
   17342     whole_archive_flag_spec=''
   17343   fi
   17344   link_all_deplibs=yes
   17345   allow_undefined_flag=$_lt_dar_allow_undefined
   17346   case $cc_basename in
   17347      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17348      *) _lt_dar_can_shared=$GCC ;;
   17349   esac
   17350   if test yes = "$_lt_dar_can_shared"; then
   17351     output_verbose_link_cmd=func_echo_all
   17352     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17353     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17354     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"
   17355     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"
   17356 
   17357   else
   17358   ld_shlibs=no
   17359   fi
   17360 
   17361       ;;
   17362 
   17363     dgux*)
   17364       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17365       hardcode_libdir_flag_spec='-L$libdir'
   17366       hardcode_shlibpath_var=no
   17367       ;;
   17368 
   17369     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17370     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17371     # does not break anything, and helps significantly (at the cost of a little
   17372     # extra space).
   17373     freebsd2.2*)
   17374       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17375       hardcode_libdir_flag_spec='-R$libdir'
   17376       hardcode_direct=yes
   17377       hardcode_shlibpath_var=no
   17378       ;;
   17379 
   17380     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17381     freebsd2.*)
   17382       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17383       hardcode_direct=yes
   17384       hardcode_minus_L=yes
   17385       hardcode_shlibpath_var=no
   17386       ;;
   17387 
   17388     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17389     freebsd* | dragonfly* | midnightbsd*)
   17390       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17391       hardcode_libdir_flag_spec='-R$libdir'
   17392       hardcode_direct=yes
   17393       hardcode_shlibpath_var=no
   17394       ;;
   17395 
   17396     hpux9*)
   17397       if test yes = "$GCC"; then
   17398 	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'
   17399       else
   17400 	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'
   17401       fi
   17402       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17403       hardcode_libdir_separator=:
   17404       hardcode_direct=yes
   17405 
   17406       # hardcode_minus_L: Not really in the search PATH,
   17407       # but as the default location of the library.
   17408       hardcode_minus_L=yes
   17409       export_dynamic_flag_spec='$wl-E'
   17410       ;;
   17411 
   17412     hpux10*)
   17413       if test yes,no = "$GCC,$with_gnu_ld"; then
   17414 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17415       else
   17416 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17417       fi
   17418       if test no = "$with_gnu_ld"; then
   17419 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17420 	hardcode_libdir_separator=:
   17421 	hardcode_direct=yes
   17422 	hardcode_direct_absolute=yes
   17423 	export_dynamic_flag_spec='$wl-E'
   17424 	# hardcode_minus_L: Not really in the search PATH,
   17425 	# but as the default location of the library.
   17426 	hardcode_minus_L=yes
   17427       fi
   17428       ;;
   17429 
   17430     hpux11*)
   17431       if test yes,no = "$GCC,$with_gnu_ld"; then
   17432 	case $host_cpu in
   17433 	hppa*64*)
   17434 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17435 	  ;;
   17436 	ia64*)
   17437 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17438 	  ;;
   17439 	*)
   17440 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17441 	  ;;
   17442 	esac
   17443       else
   17444 	case $host_cpu in
   17445 	hppa*64*)
   17446 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17447 	  ;;
   17448 	ia64*)
   17449 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17450 	  ;;
   17451 	*)
   17452 
   17453 	  # Older versions of the 11.00 compiler do not understand -b yet
   17454 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17455 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17456 printf %s "checking if $CC understands -b... " >&6; }
   17457 if test ${lt_cv_prog_compiler__b+y}
   17458 then :
   17459   printf %s "(cached) " >&6
   17460 else case e in #(
   17461   e) lt_cv_prog_compiler__b=no
   17462    save_LDFLAGS=$LDFLAGS
   17463    LDFLAGS="$LDFLAGS -b"
   17464    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17465    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17466      # The linker can only warn and ignore the option if not recognized
   17467      # So say no if there are warnings
   17468      if test -s conftest.err; then
   17469        # Append any errors to the config.log.
   17470        cat conftest.err 1>&5
   17471        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17472        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17473        if diff conftest.exp conftest.er2 >/dev/null; then
   17474          lt_cv_prog_compiler__b=yes
   17475        fi
   17476      else
   17477        lt_cv_prog_compiler__b=yes
   17478      fi
   17479    fi
   17480    $RM -r conftest*
   17481    LDFLAGS=$save_LDFLAGS
   17482  ;;
   17483 esac
   17484 fi
   17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17486 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17487 
   17488 if test yes = "$lt_cv_prog_compiler__b"; then
   17489     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17490 else
   17491     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17492 fi
   17493 
   17494 	  ;;
   17495 	esac
   17496       fi
   17497       if test no = "$with_gnu_ld"; then
   17498 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17499 	hardcode_libdir_separator=:
   17500 
   17501 	case $host_cpu in
   17502 	hppa*64*|ia64*)
   17503 	  hardcode_direct=no
   17504 	  hardcode_shlibpath_var=no
   17505 	  ;;
   17506 	*)
   17507 	  hardcode_direct=yes
   17508 	  hardcode_direct_absolute=yes
   17509 	  export_dynamic_flag_spec='$wl-E'
   17510 
   17511 	  # hardcode_minus_L: Not really in the search PATH,
   17512 	  # but as the default location of the library.
   17513 	  hardcode_minus_L=yes
   17514 	  ;;
   17515 	esac
   17516       fi
   17517       ;;
   17518 
   17519     irix5* | irix6* | nonstopux*)
   17520       if test yes = "$GCC"; then
   17521 	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'
   17522 	# Try to use the -exported_symbol ld option, if it does not
   17523 	# work, assume that -exports_file does not work either and
   17524 	# implicitly export all symbols.
   17525 	# This should be the same for all languages, so no per-tag cache variable.
   17526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17527 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17528 if test ${lt_cv_irix_exported_symbol+y}
   17529 then :
   17530   printf %s "(cached) " >&6
   17531 else case e in #(
   17532   e) save_LDFLAGS=$LDFLAGS
   17533 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17534 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17535 /* end confdefs.h.  */
   17536 int foo (void) { return 0; }
   17537 _ACEOF
   17538 if ac_fn_c_try_link "$LINENO"
   17539 then :
   17540   lt_cv_irix_exported_symbol=yes
   17541 else case e in #(
   17542   e) lt_cv_irix_exported_symbol=no ;;
   17543 esac
   17544 fi
   17545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17546     conftest$ac_exeext conftest.$ac_ext
   17547            LDFLAGS=$save_LDFLAGS ;;
   17548 esac
   17549 fi
   17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17551 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17552 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17553           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'
   17554 	fi
   17555       else
   17556 	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'
   17557 	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'
   17558       fi
   17559       archive_cmds_need_lc='no'
   17560       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17561       hardcode_libdir_separator=:
   17562       inherit_rpath=yes
   17563       link_all_deplibs=yes
   17564       ;;
   17565 
   17566     linux*)
   17567       case $cc_basename in
   17568       tcc*)
   17569 	# Fabrice Bellard et al's Tiny C Compiler
   17570 	ld_shlibs=yes
   17571 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17572 	;;
   17573       esac
   17574       ;;
   17575 
   17576     netbsd*)
   17577       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17578 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17579       else
   17580 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17581       fi
   17582       hardcode_libdir_flag_spec='-R$libdir'
   17583       hardcode_direct=yes
   17584       hardcode_shlibpath_var=no
   17585       ;;
   17586 
   17587     newsos6)
   17588       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17589       hardcode_direct=yes
   17590       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17591       hardcode_libdir_separator=:
   17592       hardcode_shlibpath_var=no
   17593       ;;
   17594 
   17595     *nto* | *qnx*)
   17596       ;;
   17597 
   17598     openbsd* | bitrig*)
   17599       if test -f /usr/libexec/ld.so; then
   17600 	hardcode_direct=yes
   17601 	hardcode_shlibpath_var=no
   17602 	hardcode_direct_absolute=yes
   17603 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17604 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17605 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17606 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17607 	  export_dynamic_flag_spec='$wl-E'
   17608 	else
   17609 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17610 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17611 	fi
   17612       else
   17613 	ld_shlibs=no
   17614       fi
   17615       ;;
   17616 
   17617     os2*)
   17618       hardcode_libdir_flag_spec='-L$libdir'
   17619       hardcode_minus_L=yes
   17620       allow_undefined_flag=unsupported
   17621       shrext_cmds=.dll
   17622       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17623 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17624 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17625 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17626 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17627 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17628 	emximp -o $lib $output_objdir/$libname.def'
   17629       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17630 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17631 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17632 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17633 	prefix_cmds="$SED"~
   17634 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17635 	  prefix_cmds="$prefix_cmds -e 1d";
   17636 	fi~
   17637 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17638 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17639 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17640 	emximp -o $lib $output_objdir/$libname.def'
   17641       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17642       enable_shared_with_static_runtimes=yes
   17643       file_list_spec='@'
   17644       ;;
   17645 
   17646     osf3*)
   17647       if test yes = "$GCC"; then
   17648 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17649 	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'
   17650       else
   17651 	allow_undefined_flag=' -expect_unresolved \*'
   17652 	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'
   17653       fi
   17654       archive_cmds_need_lc='no'
   17655       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17656       hardcode_libdir_separator=:
   17657       ;;
   17658 
   17659     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17660       if test yes = "$GCC"; then
   17661 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17662 	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'
   17663 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17664       else
   17665 	allow_undefined_flag=' -expect_unresolved \*'
   17666 	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'
   17667 	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~
   17668           $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'
   17669 
   17670 	# Both c and cxx compiler support -rpath directly
   17671 	hardcode_libdir_flag_spec='-rpath $libdir'
   17672       fi
   17673       archive_cmds_need_lc='no'
   17674       hardcode_libdir_separator=:
   17675       ;;
   17676 
   17677     solaris*)
   17678       no_undefined_flag=' -z defs'
   17679       if test yes = "$GCC"; then
   17680 	wlarc='$wl'
   17681 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17682 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17683           $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'
   17684       else
   17685 	case `$CC -V 2>&1` in
   17686 	*"Compilers 5.0"*)
   17687 	  wlarc=''
   17688 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17689 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17690             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17691 	  ;;
   17692 	*)
   17693 	  wlarc='$wl'
   17694 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17695 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17696             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17697 	  ;;
   17698 	esac
   17699       fi
   17700       hardcode_libdir_flag_spec='-R$libdir'
   17701       hardcode_shlibpath_var=no
   17702       case $host_os in
   17703       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17704       *)
   17705 	# The compiler driver will combine and reorder linker options,
   17706 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17707 	# but is careful enough not to reorder.
   17708 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17709 	if test yes = "$GCC"; then
   17710 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17711 	else
   17712 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17713 	fi
   17714 	;;
   17715       esac
   17716       link_all_deplibs=yes
   17717       ;;
   17718 
   17719     sunos4*)
   17720       if test sequent = "$host_vendor"; then
   17721 	# Use $CC to link under sequent, because it throws in some extra .o
   17722 	# files that make .init and .fini sections work.
   17723 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17724       else
   17725 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17726       fi
   17727       hardcode_libdir_flag_spec='-L$libdir'
   17728       hardcode_direct=yes
   17729       hardcode_minus_L=yes
   17730       hardcode_shlibpath_var=no
   17731       ;;
   17732 
   17733     sysv4)
   17734       case $host_vendor in
   17735 	sni)
   17736 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17737 	  hardcode_direct=yes # is this really true???
   17738 	;;
   17739 	siemens)
   17740 	  ## LD is ld it makes a PLAMLIB
   17741 	  ## CC just makes a GrossModule.
   17742 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17743 	  reload_cmds='$CC -r -o $output$reload_objs'
   17744 	  hardcode_direct=no
   17745         ;;
   17746 	motorola)
   17747 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17748 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17749 	;;
   17750       esac
   17751       runpath_var='LD_RUN_PATH'
   17752       hardcode_shlibpath_var=no
   17753       ;;
   17754 
   17755     sysv4.3*)
   17756       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17757       hardcode_shlibpath_var=no
   17758       export_dynamic_flag_spec='-Bexport'
   17759       ;;
   17760 
   17761     sysv4*MP*)
   17762       if test -d /usr/nec; then
   17763 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17764 	hardcode_shlibpath_var=no
   17765 	runpath_var=LD_RUN_PATH
   17766 	hardcode_runpath_var=yes
   17767 	ld_shlibs=yes
   17768       fi
   17769       ;;
   17770 
   17771     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17772       no_undefined_flag='$wl-z,text'
   17773       archive_cmds_need_lc=no
   17774       hardcode_shlibpath_var=no
   17775       runpath_var='LD_RUN_PATH'
   17776 
   17777       if test yes = "$GCC"; then
   17778 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17779 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17780       else
   17781 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17782 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17783       fi
   17784       ;;
   17785 
   17786     sysv5* | sco3.2v5* | sco5v6*)
   17787       # Note: We CANNOT use -z defs as we might desire, because we do not
   17788       # link with -lc, and that would cause any symbols used from libc to
   17789       # always be unresolved, which means just about no library would
   17790       # ever link correctly.  If we're not using GNU ld we use -z text
   17791       # though, which does catch some bad symbols but isn't as heavy-handed
   17792       # as -z defs.
   17793       no_undefined_flag='$wl-z,text'
   17794       allow_undefined_flag='$wl-z,nodefs'
   17795       archive_cmds_need_lc=no
   17796       hardcode_shlibpath_var=no
   17797       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17798       hardcode_libdir_separator=':'
   17799       link_all_deplibs=yes
   17800       export_dynamic_flag_spec='$wl-Bexport'
   17801       runpath_var='LD_RUN_PATH'
   17802 
   17803       if test yes = "$GCC"; then
   17804 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17805 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17806       else
   17807 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17808 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17809       fi
   17810       ;;
   17811 
   17812     uts4*)
   17813       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17814       hardcode_libdir_flag_spec='-L$libdir'
   17815       hardcode_shlibpath_var=no
   17816       ;;
   17817 
   17818     *)
   17819       ld_shlibs=no
   17820       ;;
   17821     esac
   17822 
   17823     if test sni = "$host_vendor"; then
   17824       case $host in
   17825       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17826 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17827 	;;
   17828       esac
   17829     fi
   17830   fi
   17831 
   17832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17833 printf "%s\n" "$ld_shlibs" >&6; }
   17834 test no = "$ld_shlibs" && can_build_shared=no
   17835 
   17836 with_gnu_ld=$with_gnu_ld
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 #
   17853 # Do we need to explicitly link libc?
   17854 #
   17855 case "x$archive_cmds_need_lc" in
   17856 x|xyes)
   17857   # Assume -lc should be added
   17858   archive_cmds_need_lc=yes
   17859 
   17860   if test yes,yes = "$GCC,$enable_shared"; then
   17861     case $archive_cmds in
   17862     *'~'*)
   17863       # FIXME: we may have to deal with multi-command sequences.
   17864       ;;
   17865     '$CC '*)
   17866       # Test whether the compiler implicitly links with -lc since on some
   17867       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17868       # to ld, don't add -lc before -lgcc.
   17869       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17870 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17871 if test ${lt_cv_archive_cmds_need_lc+y}
   17872 then :
   17873   printf %s "(cached) " >&6
   17874 else case e in #(
   17875   e) $RM conftest*
   17876 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17877 
   17878 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17879   (eval $ac_compile) 2>&5
   17880   ac_status=$?
   17881   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17882   test $ac_status = 0; } 2>conftest.err; then
   17883 	  soname=conftest
   17884 	  lib=conftest
   17885 	  libobjs=conftest.$ac_objext
   17886 	  deplibs=
   17887 	  wl=$lt_prog_compiler_wl
   17888 	  pic_flag=$lt_prog_compiler_pic
   17889 	  compiler_flags=-v
   17890 	  linker_flags=-v
   17891 	  verstring=
   17892 	  output_objdir=.
   17893 	  libname=conftest
   17894 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17895 	  allow_undefined_flag=
   17896 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17897   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17898   ac_status=$?
   17899   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17900   test $ac_status = 0; }
   17901 	  then
   17902 	    lt_cv_archive_cmds_need_lc=no
   17903 	  else
   17904 	    lt_cv_archive_cmds_need_lc=yes
   17905 	  fi
   17906 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17907 	else
   17908 	  cat conftest.err 1>&5
   17909 	fi
   17910 	$RM conftest*
   17911 	 ;;
   17912 esac
   17913 fi
   17914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17915 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17916       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17917       ;;
   17918     esac
   17919   fi
   17920   ;;
   17921 esac
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18075 printf %s "checking dynamic linker characteristics... " >&6; }
   18076 
   18077 if test yes = "$GCC"; then
   18078   case $host_os in
   18079     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18080     *) lt_awk_arg='/^libraries:/' ;;
   18081   esac
   18082   case $host_os in
   18083     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18084     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18085   esac
   18086   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18087   case $lt_search_path_spec in
   18088   *\;*)
   18089     # if the path contains ";" then we assume it to be the separator
   18090     # otherwise default to the standard path separator (i.e. ":") - it is
   18091     # assumed that no part of a normal pathname contains ";" but that should
   18092     # okay in the real world where ";" in dirpaths is itself problematic.
   18093     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18094     ;;
   18095   *)
   18096     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18097     ;;
   18098   esac
   18099   # Ok, now we have the path, separated by spaces, we can step through it
   18100   # and add multilib dir if necessary...
   18101   lt_tmp_lt_search_path_spec=
   18102   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18103   # ...but if some path component already ends with the multilib dir we assume
   18104   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18105   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18106   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18107     lt_multi_os_dir=
   18108     ;;
   18109   esac
   18110   for lt_sys_path in $lt_search_path_spec; do
   18111     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18112       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18113     elif test -n "$lt_multi_os_dir"; then
   18114       test -d "$lt_sys_path" && \
   18115 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18116     fi
   18117   done
   18118   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18119 BEGIN {RS = " "; FS = "/|\n";} {
   18120   lt_foo = "";
   18121   lt_count = 0;
   18122   for (lt_i = NF; lt_i > 0; lt_i--) {
   18123     if ($lt_i != "" && $lt_i != ".") {
   18124       if ($lt_i == "..") {
   18125         lt_count++;
   18126       } else {
   18127         if (lt_count == 0) {
   18128           lt_foo = "/" $lt_i lt_foo;
   18129         } else {
   18130           lt_count--;
   18131         }
   18132       }
   18133     }
   18134   }
   18135   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18136   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18137 }'`
   18138   # AWK program above erroneously prepends '/' to C:/dos/paths
   18139   # for these hosts.
   18140   case $host_os in
   18141     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18142       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18143   esac
   18144   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18145 else
   18146   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18147 fi
   18148 library_names_spec=
   18149 libname_spec='lib$name'
   18150 soname_spec=
   18151 shrext_cmds=.so
   18152 postinstall_cmds=
   18153 postuninstall_cmds=
   18154 finish_cmds=
   18155 finish_eval=
   18156 shlibpath_var=
   18157 shlibpath_overrides_runpath=unknown
   18158 version_type=none
   18159 dynamic_linker="$host_os ld.so"
   18160 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18161 need_lib_prefix=unknown
   18162 hardcode_into_libs=no
   18163 
   18164 # when you set need_version to no, make sure it does not cause -set_version
   18165 # flags to be left without arguments
   18166 need_version=unknown
   18167 
   18168 
   18169 
   18170 case $host_os in
   18171 aix3*)
   18172   version_type=linux # correct to gnu/linux during the next big refactor
   18173   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18174   shlibpath_var=LIBPATH
   18175 
   18176   # AIX 3 has no versioning support, so we append a major version to the name.
   18177   soname_spec='$libname$release$shared_ext$major'
   18178   ;;
   18179 
   18180 aix[4-9]*)
   18181   version_type=linux # correct to gnu/linux during the next big refactor
   18182   need_lib_prefix=no
   18183   need_version=no
   18184   hardcode_into_libs=yes
   18185   if test ia64 = "$host_cpu"; then
   18186     # AIX 5 supports IA64
   18187     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18188     shlibpath_var=LD_LIBRARY_PATH
   18189   else
   18190     # With GCC up to 2.95.x, collect2 would create an import file
   18191     # for dependence libraries.  The import file would start with
   18192     # the line '#! .'.  This would cause the generated library to
   18193     # depend on '.', always an invalid library.  This was fixed in
   18194     # development snapshots of GCC prior to 3.0.
   18195     case $host_os in
   18196       aix4 | aix4.[01] | aix4.[01].*)
   18197       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18198 	   echo ' yes '
   18199 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18200 	:
   18201       else
   18202 	can_build_shared=no
   18203       fi
   18204       ;;
   18205     esac
   18206     # Using Import Files as archive members, it is possible to support
   18207     # filename-based versioning of shared library archives on AIX. While
   18208     # this would work for both with and without runtime linking, it will
   18209     # prevent static linking of such archives. So we do filename-based
   18210     # shared library versioning with .so extension only, which is used
   18211     # when both runtime linking and shared linking is enabled.
   18212     # Unfortunately, runtime linking may impact performance, so we do
   18213     # not want this to be the default eventually. Also, we use the
   18214     # versioned .so libs for executables only if there is the -brtl
   18215     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18216     # To allow for filename-based versioning support, we need to create
   18217     # libNAME.so.V as an archive file, containing:
   18218     # *) an Import File, referring to the versioned filename of the
   18219     #    archive as well as the shared archive member, telling the
   18220     #    bitwidth (32 or 64) of that shared object, and providing the
   18221     #    list of exported symbols of that shared object, eventually
   18222     #    decorated with the 'weak' keyword
   18223     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18224     #    it being seen by the linker.
   18225     # At run time we better use the real file rather than another symlink,
   18226     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18227 
   18228     case $with_aix_soname,$aix_use_runtimelinking in
   18229     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18230     # soname into executable. Probably we can add versioning support to
   18231     # collect2, so additional links can be useful in future.
   18232     aix,yes) # traditional libtool
   18233       dynamic_linker='AIX unversionable lib.so'
   18234       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18235       # instead of lib<name>.a to let people know that these are not
   18236       # typical AIX shared libraries.
   18237       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18238       ;;
   18239     aix,no) # traditional AIX only
   18240       dynamic_linker='AIX lib.a(lib.so.V)'
   18241       # We preserve .a as extension for shared libraries through AIX4.2
   18242       # and later when we are not doing run time linking.
   18243       library_names_spec='$libname$release.a $libname.a'
   18244       soname_spec='$libname$release$shared_ext$major'
   18245       ;;
   18246     svr4,*) # full svr4 only
   18247       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18248       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18249       # We do not specify a path in Import Files, so LIBPATH fires.
   18250       shlibpath_overrides_runpath=yes
   18251       ;;
   18252     *,yes) # both, prefer svr4
   18253       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18254       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18255       # unpreferred sharedlib libNAME.a needs extra handling
   18256       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"'
   18257       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"'
   18258       # We do not specify a path in Import Files, so LIBPATH fires.
   18259       shlibpath_overrides_runpath=yes
   18260       ;;
   18261     *,no) # both, prefer aix
   18262       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18263       library_names_spec='$libname$release.a $libname.a'
   18264       soname_spec='$libname$release$shared_ext$major'
   18265       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18266       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)'
   18267       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"'
   18268       ;;
   18269     esac
   18270     shlibpath_var=LIBPATH
   18271   fi
   18272   ;;
   18273 
   18274 amigaos*)
   18275   case $host_cpu in
   18276   powerpc)
   18277     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18278     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18279     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18280     ;;
   18281   m68k)
   18282     library_names_spec='$libname.ixlibrary $libname.a'
   18283     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18284     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'
   18285     ;;
   18286   esac
   18287   ;;
   18288 
   18289 beos*)
   18290   library_names_spec='$libname$shared_ext'
   18291   dynamic_linker="$host_os ld.so"
   18292   shlibpath_var=LIBRARY_PATH
   18293   ;;
   18294 
   18295 bsdi[45]*)
   18296   version_type=linux # correct to gnu/linux during the next big refactor
   18297   need_version=no
   18298   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18299   soname_spec='$libname$release$shared_ext$major'
   18300   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18301   shlibpath_var=LD_LIBRARY_PATH
   18302   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18303   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18304   # the default ld.so.conf also contains /usr/contrib/lib and
   18305   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18306   # libtool to hard-code these into programs
   18307   ;;
   18308 
   18309 cygwin* | mingw* | pw32* | cegcc*)
   18310   version_type=windows
   18311   shrext_cmds=.dll
   18312   need_version=no
   18313   need_lib_prefix=no
   18314 
   18315   case $GCC,$cc_basename in
   18316   yes,*)
   18317     # gcc
   18318     library_names_spec='$libname.dll.a'
   18319     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18320     postinstall_cmds='base_file=`basename \$file`~
   18321       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18322       dldir=$destdir/`dirname \$dlpath`~
   18323       test -d \$dldir || mkdir -p \$dldir~
   18324       $install_prog $dir/$dlname \$dldir/$dlname~
   18325       chmod a+x \$dldir/$dlname~
   18326       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18327         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18328       fi'
   18329     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18330       dlpath=$dir/\$dldll~
   18331        $RM \$dlpath'
   18332     shlibpath_overrides_runpath=yes
   18333 
   18334     case $host_os in
   18335     cygwin*)
   18336       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18337       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18338 
   18339       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18340       ;;
   18341     mingw* | cegcc*)
   18342       # MinGW DLLs use traditional 'lib' prefix
   18343       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18344       ;;
   18345     pw32*)
   18346       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18347       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18348       ;;
   18349     esac
   18350     dynamic_linker='Win32 ld.exe'
   18351     ;;
   18352 
   18353   *,cl* | *,icl*)
   18354     # Native MSVC or ICC
   18355     libname_spec='$name'
   18356     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18357     library_names_spec='$libname.dll.lib'
   18358 
   18359     case $build_os in
   18360     mingw*)
   18361       sys_lib_search_path_spec=
   18362       lt_save_ifs=$IFS
   18363       IFS=';'
   18364       for lt_path in $LIB
   18365       do
   18366         IFS=$lt_save_ifs
   18367         # Let DOS variable expansion print the short 8.3 style file name.
   18368         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18369         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18370       done
   18371       IFS=$lt_save_ifs
   18372       # Convert to MSYS style.
   18373       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18374       ;;
   18375     cygwin*)
   18376       # Convert to unix form, then to dos form, then back to unix form
   18377       # but this time dos style (no spaces!) so that the unix form looks
   18378       # like /cygdrive/c/PROGRA~1:/cygdr...
   18379       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18380       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18381       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18382       ;;
   18383     *)
   18384       sys_lib_search_path_spec=$LIB
   18385       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18386         # It is most probably a Windows format PATH.
   18387         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18388       else
   18389         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18390       fi
   18391       # FIXME: find the short name or the path components, as spaces are
   18392       # common. (e.g. "Program Files" -> "PROGRA~1")
   18393       ;;
   18394     esac
   18395 
   18396     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18397     postinstall_cmds='base_file=`basename \$file`~
   18398       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18399       dldir=$destdir/`dirname \$dlpath`~
   18400       test -d \$dldir || mkdir -p \$dldir~
   18401       $install_prog $dir/$dlname \$dldir/$dlname'
   18402     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18403       dlpath=$dir/\$dldll~
   18404        $RM \$dlpath'
   18405     shlibpath_overrides_runpath=yes
   18406     dynamic_linker='Win32 link.exe'
   18407     ;;
   18408 
   18409   *)
   18410     # Assume MSVC and ICC wrapper
   18411     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18412     dynamic_linker='Win32 ld.exe'
   18413     ;;
   18414   esac
   18415   # FIXME: first we should search . and the directory the executable is in
   18416   shlibpath_var=PATH
   18417   ;;
   18418 
   18419 darwin* | rhapsody*)
   18420   dynamic_linker="$host_os dyld"
   18421   version_type=darwin
   18422   need_lib_prefix=no
   18423   need_version=no
   18424   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18425   soname_spec='$libname$release$major$shared_ext'
   18426   shlibpath_overrides_runpath=yes
   18427   shlibpath_var=DYLD_LIBRARY_PATH
   18428   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18429 
   18430   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18431   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18432   ;;
   18433 
   18434 dgux*)
   18435   version_type=linux # correct to gnu/linux during the next big refactor
   18436   need_lib_prefix=no
   18437   need_version=no
   18438   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18439   soname_spec='$libname$release$shared_ext$major'
   18440   shlibpath_var=LD_LIBRARY_PATH
   18441   ;;
   18442 
   18443 freebsd* | dragonfly* | midnightbsd*)
   18444   # DragonFly does not have aout.  When/if they implement a new
   18445   # versioning mechanism, adjust this.
   18446   if test -x /usr/bin/objformat; then
   18447     objformat=`/usr/bin/objformat`
   18448   else
   18449     case $host_os in
   18450     freebsd[23].*) objformat=aout ;;
   18451     *) objformat=elf ;;
   18452     esac
   18453   fi
   18454   version_type=freebsd-$objformat
   18455   case $version_type in
   18456     freebsd-elf*)
   18457       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18458       soname_spec='$libname$release$shared_ext$major'
   18459       need_version=no
   18460       need_lib_prefix=no
   18461       ;;
   18462     freebsd-*)
   18463       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18464       need_version=yes
   18465       ;;
   18466   esac
   18467   shlibpath_var=LD_LIBRARY_PATH
   18468   case $host_os in
   18469   freebsd2.*)
   18470     shlibpath_overrides_runpath=yes
   18471     ;;
   18472   freebsd3.[01]* | freebsdelf3.[01]*)
   18473     shlibpath_overrides_runpath=yes
   18474     hardcode_into_libs=yes
   18475     ;;
   18476   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18477   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18478     shlibpath_overrides_runpath=no
   18479     hardcode_into_libs=yes
   18480     ;;
   18481   *) # from 4.6 on, and DragonFly
   18482     shlibpath_overrides_runpath=yes
   18483     hardcode_into_libs=yes
   18484     ;;
   18485   esac
   18486   ;;
   18487 
   18488 haiku*)
   18489   version_type=linux # correct to gnu/linux during the next big refactor
   18490   need_lib_prefix=no
   18491   need_version=no
   18492   dynamic_linker="$host_os runtime_loader"
   18493   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18494   soname_spec='$libname$release$shared_ext$major'
   18495   shlibpath_var=LIBRARY_PATH
   18496   shlibpath_overrides_runpath=no
   18497   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18498   hardcode_into_libs=yes
   18499   ;;
   18500 
   18501 hpux9* | hpux10* | hpux11*)
   18502   # Give a soname corresponding to the major version so that dld.sl refuses to
   18503   # link against other versions.
   18504   version_type=sunos
   18505   need_lib_prefix=no
   18506   need_version=no
   18507   case $host_cpu in
   18508   ia64*)
   18509     shrext_cmds='.so'
   18510     hardcode_into_libs=yes
   18511     dynamic_linker="$host_os dld.so"
   18512     shlibpath_var=LD_LIBRARY_PATH
   18513     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18514     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18515     soname_spec='$libname$release$shared_ext$major'
   18516     if test 32 = "$HPUX_IA64_MODE"; then
   18517       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18518       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18519     else
   18520       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18521       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18522     fi
   18523     ;;
   18524   hppa*64*)
   18525     shrext_cmds='.sl'
   18526     hardcode_into_libs=yes
   18527     dynamic_linker="$host_os dld.sl"
   18528     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18529     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18530     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18531     soname_spec='$libname$release$shared_ext$major'
   18532     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18533     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18534     ;;
   18535   *)
   18536     shrext_cmds='.sl'
   18537     dynamic_linker="$host_os dld.sl"
   18538     shlibpath_var=SHLIB_PATH
   18539     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18540     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18541     soname_spec='$libname$release$shared_ext$major'
   18542     ;;
   18543   esac
   18544   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18545   postinstall_cmds='chmod 555 $lib'
   18546   # or fails outright, so override atomically:
   18547   install_override_mode=555
   18548   ;;
   18549 
   18550 interix[3-9]*)
   18551   version_type=linux # correct to gnu/linux during the next big refactor
   18552   need_lib_prefix=no
   18553   need_version=no
   18554   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18555   soname_spec='$libname$release$shared_ext$major'
   18556   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18557   shlibpath_var=LD_LIBRARY_PATH
   18558   shlibpath_overrides_runpath=no
   18559   hardcode_into_libs=yes
   18560   ;;
   18561 
   18562 irix5* | irix6* | nonstopux*)
   18563   case $host_os in
   18564     nonstopux*) version_type=nonstopux ;;
   18565     *)
   18566 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18567 		version_type=linux # correct to gnu/linux during the next big refactor
   18568 	else
   18569 		version_type=irix
   18570 	fi ;;
   18571   esac
   18572   need_lib_prefix=no
   18573   need_version=no
   18574   soname_spec='$libname$release$shared_ext$major'
   18575   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18576   case $host_os in
   18577   irix5* | nonstopux*)
   18578     libsuff= shlibsuff=
   18579     ;;
   18580   *)
   18581     case $LD in # libtool.m4 will add one of these switches to LD
   18582     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18583       libsuff= shlibsuff= libmagic=32-bit;;
   18584     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18585       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18586     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18587       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18588     *) libsuff= shlibsuff= libmagic=never-match;;
   18589     esac
   18590     ;;
   18591   esac
   18592   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18593   shlibpath_overrides_runpath=no
   18594   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18595   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18596   hardcode_into_libs=yes
   18597   ;;
   18598 
   18599 # No shared lib support for Linux oldld, aout, or coff.
   18600 linux*oldld* | linux*aout* | linux*coff*)
   18601   dynamic_linker=no
   18602   ;;
   18603 
   18604 linux*android*)
   18605   version_type=none # Android doesn't support versioned libraries.
   18606   need_lib_prefix=no
   18607   need_version=no
   18608   library_names_spec='$libname$release$shared_ext'
   18609   soname_spec='$libname$release$shared_ext'
   18610   finish_cmds=
   18611   shlibpath_var=LD_LIBRARY_PATH
   18612   shlibpath_overrides_runpath=yes
   18613 
   18614   # This implies no fast_install, which is unacceptable.
   18615   # Some rework will be needed to allow for fast_install
   18616   # before this can be enabled.
   18617   hardcode_into_libs=yes
   18618 
   18619   dynamic_linker='Android linker'
   18620   # Don't embed -rpath directories since the linker doesn't support them.
   18621   hardcode_libdir_flag_spec='-L$libdir'
   18622   ;;
   18623 
   18624 # This must be glibc/ELF.
   18625 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18626   version_type=linux # correct to gnu/linux during the next big refactor
   18627   need_lib_prefix=no
   18628   need_version=no
   18629   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18630   soname_spec='$libname$release$shared_ext$major'
   18631   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18632   shlibpath_var=LD_LIBRARY_PATH
   18633   shlibpath_overrides_runpath=no
   18634 
   18635   # Some binutils ld are patched to set DT_RUNPATH
   18636   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18637 then :
   18638   printf %s "(cached) " >&6
   18639 else case e in #(
   18640   e) lt_cv_shlibpath_overrides_runpath=no
   18641     save_LDFLAGS=$LDFLAGS
   18642     save_libdir=$libdir
   18643     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18644 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18646 /* end confdefs.h.  */
   18647 
   18648 int
   18649 main (void)
   18650 {
   18651 
   18652   ;
   18653   return 0;
   18654 }
   18655 _ACEOF
   18656 if ac_fn_c_try_link "$LINENO"
   18657 then :
   18658   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18659 then :
   18660   lt_cv_shlibpath_overrides_runpath=yes
   18661 fi
   18662 fi
   18663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18664     conftest$ac_exeext conftest.$ac_ext
   18665     LDFLAGS=$save_LDFLAGS
   18666     libdir=$save_libdir
   18667      ;;
   18668 esac
   18669 fi
   18670 
   18671   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18672 
   18673   # This implies no fast_install, which is unacceptable.
   18674   # Some rework will be needed to allow for fast_install
   18675   # before this can be enabled.
   18676   hardcode_into_libs=yes
   18677 
   18678   # Ideally, we could use ldconfig to report *all* directores which are
   18679   # searched for libraries, however this is still not possible.  Aside from not
   18680   # being certain /sbin/ldconfig is available, command
   18681   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18682   # even though it is searched at run-time.  Try to do the best guess by
   18683   # appending ld.so.conf contents (and includes) to the search path.
   18684   if test -f /etc/ld.so.conf; then
   18685     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' ' '`
   18686     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18687   fi
   18688 
   18689   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18690   # powerpc, because MkLinux only supported shared libraries with the
   18691   # GNU dynamic linker.  Since this was broken with cross compilers,
   18692   # most powerpc-linux boxes support dynamic linking these days and
   18693   # people can always --disable-shared, the test was removed, and we
   18694   # assume the GNU/Linux dynamic linker is in use.
   18695   dynamic_linker='GNU/Linux ld.so'
   18696   ;;
   18697 
   18698 netbsd*)
   18699   version_type=sunos
   18700   need_lib_prefix=no
   18701   need_version=no
   18702   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18703     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18704     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18705     dynamic_linker='NetBSD (a.out) ld.so'
   18706   else
   18707     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18708     soname_spec='$libname$release$shared_ext$major'
   18709     dynamic_linker='NetBSD ld.elf_so'
   18710   fi
   18711   shlibpath_var=LD_LIBRARY_PATH
   18712   shlibpath_overrides_runpath=yes
   18713   hardcode_into_libs=yes
   18714   ;;
   18715 
   18716 newsos6)
   18717   version_type=linux # correct to gnu/linux during the next big refactor
   18718   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18719   shlibpath_var=LD_LIBRARY_PATH
   18720   shlibpath_overrides_runpath=yes
   18721   ;;
   18722 
   18723 *nto* | *qnx*)
   18724   version_type=qnx
   18725   need_lib_prefix=no
   18726   need_version=no
   18727   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18728   soname_spec='$libname$release$shared_ext$major'
   18729   shlibpath_var=LD_LIBRARY_PATH
   18730   shlibpath_overrides_runpath=no
   18731   hardcode_into_libs=yes
   18732   dynamic_linker='ldqnx.so'
   18733   ;;
   18734 
   18735 openbsd* | bitrig*)
   18736   version_type=sunos
   18737   sys_lib_dlsearch_path_spec=/usr/lib
   18738   need_lib_prefix=no
   18739   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18740     need_version=no
   18741   else
   18742     need_version=yes
   18743   fi
   18744   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18745   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18746   shlibpath_var=LD_LIBRARY_PATH
   18747   shlibpath_overrides_runpath=yes
   18748   ;;
   18749 
   18750 os2*)
   18751   libname_spec='$name'
   18752   version_type=windows
   18753   shrext_cmds=.dll
   18754   need_version=no
   18755   need_lib_prefix=no
   18756   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18757   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18758     v=$($ECHO $release$versuffix | tr -d .-);
   18759     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18760     $ECHO $n$v`$shared_ext'
   18761   library_names_spec='${libname}_dll.$libext'
   18762   dynamic_linker='OS/2 ld.exe'
   18763   shlibpath_var=BEGINLIBPATH
   18764   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18765   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18766   postinstall_cmds='base_file=`basename \$file`~
   18767     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18768     dldir=$destdir/`dirname \$dlpath`~
   18769     test -d \$dldir || mkdir -p \$dldir~
   18770     $install_prog $dir/$dlname \$dldir/$dlname~
   18771     chmod a+x \$dldir/$dlname~
   18772     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18773       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18774     fi'
   18775   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18776     dlpath=$dir/\$dldll~
   18777     $RM \$dlpath'
   18778   ;;
   18779 
   18780 osf3* | osf4* | osf5*)
   18781   version_type=osf
   18782   need_lib_prefix=no
   18783   need_version=no
   18784   soname_spec='$libname$release$shared_ext$major'
   18785   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18786   shlibpath_var=LD_LIBRARY_PATH
   18787   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18788   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18789   ;;
   18790 
   18791 rdos*)
   18792   dynamic_linker=no
   18793   ;;
   18794 
   18795 solaris*)
   18796   version_type=linux # correct to gnu/linux during the next big refactor
   18797   need_lib_prefix=no
   18798   need_version=no
   18799   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18800   soname_spec='$libname$release$shared_ext$major'
   18801   shlibpath_var=LD_LIBRARY_PATH
   18802   shlibpath_overrides_runpath=yes
   18803   hardcode_into_libs=yes
   18804   # ldd complains unless libraries are executable
   18805   postinstall_cmds='chmod +x $lib'
   18806   ;;
   18807 
   18808 sunos4*)
   18809   version_type=sunos
   18810   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18811   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18812   shlibpath_var=LD_LIBRARY_PATH
   18813   shlibpath_overrides_runpath=yes
   18814   if test yes = "$with_gnu_ld"; then
   18815     need_lib_prefix=no
   18816   fi
   18817   need_version=yes
   18818   ;;
   18819 
   18820 sysv4 | sysv4.3*)
   18821   version_type=linux # correct to gnu/linux during the next big refactor
   18822   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18823   soname_spec='$libname$release$shared_ext$major'
   18824   shlibpath_var=LD_LIBRARY_PATH
   18825   case $host_vendor in
   18826     sni)
   18827       shlibpath_overrides_runpath=no
   18828       need_lib_prefix=no
   18829       runpath_var=LD_RUN_PATH
   18830       ;;
   18831     siemens)
   18832       need_lib_prefix=no
   18833       ;;
   18834     motorola)
   18835       need_lib_prefix=no
   18836       need_version=no
   18837       shlibpath_overrides_runpath=no
   18838       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18839       ;;
   18840   esac
   18841   ;;
   18842 
   18843 sysv4*MP*)
   18844   if test -d /usr/nec; then
   18845     version_type=linux # correct to gnu/linux during the next big refactor
   18846     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18847     soname_spec='$libname$shared_ext.$major'
   18848     shlibpath_var=LD_LIBRARY_PATH
   18849   fi
   18850   ;;
   18851 
   18852 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18853   version_type=sco
   18854   need_lib_prefix=no
   18855   need_version=no
   18856   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18857   soname_spec='$libname$release$shared_ext$major'
   18858   shlibpath_var=LD_LIBRARY_PATH
   18859   shlibpath_overrides_runpath=yes
   18860   hardcode_into_libs=yes
   18861   if test yes = "$with_gnu_ld"; then
   18862     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18863   else
   18864     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18865     case $host_os in
   18866       sco3.2v5*)
   18867         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18868 	;;
   18869     esac
   18870   fi
   18871   sys_lib_dlsearch_path_spec='/usr/lib'
   18872   ;;
   18873 
   18874 tpf*)
   18875   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18876   version_type=linux # correct to gnu/linux during the next big refactor
   18877   need_lib_prefix=no
   18878   need_version=no
   18879   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18880   shlibpath_var=LD_LIBRARY_PATH
   18881   shlibpath_overrides_runpath=no
   18882   hardcode_into_libs=yes
   18883   ;;
   18884 
   18885 uts4*)
   18886   version_type=linux # correct to gnu/linux during the next big refactor
   18887   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18888   soname_spec='$libname$release$shared_ext$major'
   18889   shlibpath_var=LD_LIBRARY_PATH
   18890   ;;
   18891 
   18892 *)
   18893   dynamic_linker=no
   18894   ;;
   18895 esac
   18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18897 printf "%s\n" "$dynamic_linker" >&6; }
   18898 test no = "$dynamic_linker" && can_build_shared=no
   18899 
   18900 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18901 if test yes = "$GCC"; then
   18902   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18903 fi
   18904 
   18905 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18906   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18907 fi
   18908 
   18909 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18910   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18911 fi
   18912 
   18913 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18914 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18915 
   18916 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18917 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18918 
   18919 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18920 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 
   18928 
   18929 
   18930 
   18931 
   18932 
   18933 
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 
   18980 
   18981 
   18982 
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 
   19018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19019 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19020 hardcode_action=
   19021 if test -n "$hardcode_libdir_flag_spec" ||
   19022    test -n "$runpath_var" ||
   19023    test yes = "$hardcode_automatic"; then
   19024 
   19025   # We can hardcode non-existent directories.
   19026   if test no != "$hardcode_direct" &&
   19027      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19028      # have to relink, otherwise we might link with an installed library
   19029      # when we should be linking with a yet-to-be-installed one
   19030      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19031      test no != "$hardcode_minus_L"; then
   19032     # Linking always hardcodes the temporary library directory.
   19033     hardcode_action=relink
   19034   else
   19035     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19036     hardcode_action=immediate
   19037   fi
   19038 else
   19039   # We cannot hardcode anything, or else we can only hardcode existing
   19040   # directories.
   19041   hardcode_action=unsupported
   19042 fi
   19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19044 printf "%s\n" "$hardcode_action" >&6; }
   19045 
   19046 if test relink = "$hardcode_action" ||
   19047    test yes = "$inherit_rpath"; then
   19048   # Fast installation is not supported
   19049   enable_fast_install=no
   19050 elif test yes = "$shlibpath_overrides_runpath" ||
   19051      test no = "$enable_shared"; then
   19052   # Fast installation is not necessary
   19053   enable_fast_install=needless
   19054 fi
   19055 
   19056 
   19057 
   19058 
   19059 
   19060 
   19061   if test yes != "$enable_dlopen"; then
   19062   enable_dlopen=unknown
   19063   enable_dlopen_self=unknown
   19064   enable_dlopen_self_static=unknown
   19065 else
   19066   lt_cv_dlopen=no
   19067   lt_cv_dlopen_libs=
   19068 
   19069   case $host_os in
   19070   beos*)
   19071     lt_cv_dlopen=load_add_on
   19072     lt_cv_dlopen_libs=
   19073     lt_cv_dlopen_self=yes
   19074     ;;
   19075 
   19076   mingw* | pw32* | cegcc*)
   19077     lt_cv_dlopen=LoadLibrary
   19078     lt_cv_dlopen_libs=
   19079     ;;
   19080 
   19081   cygwin*)
   19082     lt_cv_dlopen=dlopen
   19083     lt_cv_dlopen_libs=
   19084     ;;
   19085 
   19086   darwin*)
   19087     # if libdl is installed we need to link against it
   19088     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19089 printf %s "checking for dlopen in -ldl... " >&6; }
   19090 if test ${ac_cv_lib_dl_dlopen+y}
   19091 then :
   19092   printf %s "(cached) " >&6
   19093 else case e in #(
   19094   e) ac_check_lib_save_LIBS=$LIBS
   19095 LIBS="-ldl  $LIBS"
   19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19097 /* end confdefs.h.  */
   19098 
   19099 /* Override any GCC internal prototype to avoid an error.
   19100    Use char because int might match the return type of a GCC
   19101    builtin and then its argument prototype would still apply.
   19102    The 'extern "C"' is for builds by C++ compilers;
   19103    although this is not generally supported in C code supporting it here
   19104    has little cost and some practical benefit (sr 110532).  */
   19105 #ifdef __cplusplus
   19106 extern "C"
   19107 #endif
   19108 char dlopen (void);
   19109 int
   19110 main (void)
   19111 {
   19112 return dlopen ();
   19113   ;
   19114   return 0;
   19115 }
   19116 _ACEOF
   19117 if ac_fn_c_try_link "$LINENO"
   19118 then :
   19119   ac_cv_lib_dl_dlopen=yes
   19120 else case e in #(
   19121   e) ac_cv_lib_dl_dlopen=no ;;
   19122 esac
   19123 fi
   19124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19125     conftest$ac_exeext conftest.$ac_ext
   19126 LIBS=$ac_check_lib_save_LIBS ;;
   19127 esac
   19128 fi
   19129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19130 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19131 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19132 then :
   19133   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19134 else case e in #(
   19135   e)
   19136     lt_cv_dlopen=dyld
   19137     lt_cv_dlopen_libs=
   19138     lt_cv_dlopen_self=yes
   19139      ;;
   19140 esac
   19141 fi
   19142 
   19143     ;;
   19144 
   19145   tpf*)
   19146     # Don't try to run any link tests for TPF.  We know it's impossible
   19147     # because TPF is a cross-compiler, and we know how we open DSOs.
   19148     lt_cv_dlopen=dlopen
   19149     lt_cv_dlopen_libs=
   19150     lt_cv_dlopen_self=no
   19151     ;;
   19152 
   19153   *)
   19154     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19155 if test "x$ac_cv_func_shl_load" = xyes
   19156 then :
   19157   lt_cv_dlopen=shl_load
   19158 else case e in #(
   19159   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19160 printf %s "checking for shl_load in -ldld... " >&6; }
   19161 if test ${ac_cv_lib_dld_shl_load+y}
   19162 then :
   19163   printf %s "(cached) " >&6
   19164 else case e in #(
   19165   e) ac_check_lib_save_LIBS=$LIBS
   19166 LIBS="-ldld  $LIBS"
   19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19168 /* end confdefs.h.  */
   19169 
   19170 /* Override any GCC internal prototype to avoid an error.
   19171    Use char because int might match the return type of a GCC
   19172    builtin and then its argument prototype would still apply.
   19173    The 'extern "C"' is for builds by C++ compilers;
   19174    although this is not generally supported in C code supporting it here
   19175    has little cost and some practical benefit (sr 110532).  */
   19176 #ifdef __cplusplus
   19177 extern "C"
   19178 #endif
   19179 char shl_load (void);
   19180 int
   19181 main (void)
   19182 {
   19183 return shl_load ();
   19184   ;
   19185   return 0;
   19186 }
   19187 _ACEOF
   19188 if ac_fn_c_try_link "$LINENO"
   19189 then :
   19190   ac_cv_lib_dld_shl_load=yes
   19191 else case e in #(
   19192   e) ac_cv_lib_dld_shl_load=no ;;
   19193 esac
   19194 fi
   19195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19196     conftest$ac_exeext conftest.$ac_ext
   19197 LIBS=$ac_check_lib_save_LIBS ;;
   19198 esac
   19199 fi
   19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19201 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19202 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19203 then :
   19204   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19205 else case e in #(
   19206   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19207 if test "x$ac_cv_func_dlopen" = xyes
   19208 then :
   19209   lt_cv_dlopen=dlopen
   19210 else case e in #(
   19211   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19212 printf %s "checking for dlopen in -ldl... " >&6; }
   19213 if test ${ac_cv_lib_dl_dlopen+y}
   19214 then :
   19215   printf %s "(cached) " >&6
   19216 else case e in #(
   19217   e) ac_check_lib_save_LIBS=$LIBS
   19218 LIBS="-ldl  $LIBS"
   19219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19220 /* end confdefs.h.  */
   19221 
   19222 /* Override any GCC internal prototype to avoid an error.
   19223    Use char because int might match the return type of a GCC
   19224    builtin and then its argument prototype would still apply.
   19225    The 'extern "C"' is for builds by C++ compilers;
   19226    although this is not generally supported in C code supporting it here
   19227    has little cost and some practical benefit (sr 110532).  */
   19228 #ifdef __cplusplus
   19229 extern "C"
   19230 #endif
   19231 char dlopen (void);
   19232 int
   19233 main (void)
   19234 {
   19235 return dlopen ();
   19236   ;
   19237   return 0;
   19238 }
   19239 _ACEOF
   19240 if ac_fn_c_try_link "$LINENO"
   19241 then :
   19242   ac_cv_lib_dl_dlopen=yes
   19243 else case e in #(
   19244   e) ac_cv_lib_dl_dlopen=no ;;
   19245 esac
   19246 fi
   19247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19248     conftest$ac_exeext conftest.$ac_ext
   19249 LIBS=$ac_check_lib_save_LIBS ;;
   19250 esac
   19251 fi
   19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19253 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19254 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19255 then :
   19256   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19257 else case e in #(
   19258   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19259 printf %s "checking for dlopen in -lsvld... " >&6; }
   19260 if test ${ac_cv_lib_svld_dlopen+y}
   19261 then :
   19262   printf %s "(cached) " >&6
   19263 else case e in #(
   19264   e) ac_check_lib_save_LIBS=$LIBS
   19265 LIBS="-lsvld  $LIBS"
   19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19267 /* end confdefs.h.  */
   19268 
   19269 /* Override any GCC internal prototype to avoid an error.
   19270    Use char because int might match the return type of a GCC
   19271    builtin and then its argument prototype would still apply.
   19272    The 'extern "C"' is for builds by C++ compilers;
   19273    although this is not generally supported in C code supporting it here
   19274    has little cost and some practical benefit (sr 110532).  */
   19275 #ifdef __cplusplus
   19276 extern "C"
   19277 #endif
   19278 char dlopen (void);
   19279 int
   19280 main (void)
   19281 {
   19282 return dlopen ();
   19283   ;
   19284   return 0;
   19285 }
   19286 _ACEOF
   19287 if ac_fn_c_try_link "$LINENO"
   19288 then :
   19289   ac_cv_lib_svld_dlopen=yes
   19290 else case e in #(
   19291   e) ac_cv_lib_svld_dlopen=no ;;
   19292 esac
   19293 fi
   19294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19295     conftest$ac_exeext conftest.$ac_ext
   19296 LIBS=$ac_check_lib_save_LIBS ;;
   19297 esac
   19298 fi
   19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19300 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19301 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19302 then :
   19303   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19304 else case e in #(
   19305   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19306 printf %s "checking for dld_link in -ldld... " >&6; }
   19307 if test ${ac_cv_lib_dld_dld_link+y}
   19308 then :
   19309   printf %s "(cached) " >&6
   19310 else case e in #(
   19311   e) ac_check_lib_save_LIBS=$LIBS
   19312 LIBS="-ldld  $LIBS"
   19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19314 /* end confdefs.h.  */
   19315 
   19316 /* Override any GCC internal prototype to avoid an error.
   19317    Use char because int might match the return type of a GCC
   19318    builtin and then its argument prototype would still apply.
   19319    The 'extern "C"' is for builds by C++ compilers;
   19320    although this is not generally supported in C code supporting it here
   19321    has little cost and some practical benefit (sr 110532).  */
   19322 #ifdef __cplusplus
   19323 extern "C"
   19324 #endif
   19325 char dld_link (void);
   19326 int
   19327 main (void)
   19328 {
   19329 return dld_link ();
   19330   ;
   19331   return 0;
   19332 }
   19333 _ACEOF
   19334 if ac_fn_c_try_link "$LINENO"
   19335 then :
   19336   ac_cv_lib_dld_dld_link=yes
   19337 else case e in #(
   19338   e) ac_cv_lib_dld_dld_link=no ;;
   19339 esac
   19340 fi
   19341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19342     conftest$ac_exeext conftest.$ac_ext
   19343 LIBS=$ac_check_lib_save_LIBS ;;
   19344 esac
   19345 fi
   19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19347 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19348 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19349 then :
   19350   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19351 fi
   19352 
   19353 	       ;;
   19354 esac
   19355 fi
   19356 
   19357 	     ;;
   19358 esac
   19359 fi
   19360 
   19361 	   ;;
   19362 esac
   19363 fi
   19364 
   19365 	 ;;
   19366 esac
   19367 fi
   19368 
   19369        ;;
   19370 esac
   19371 fi
   19372 
   19373     ;;
   19374   esac
   19375 
   19376   if test no = "$lt_cv_dlopen"; then
   19377     enable_dlopen=no
   19378   else
   19379     enable_dlopen=yes
   19380   fi
   19381 
   19382   case $lt_cv_dlopen in
   19383   dlopen)
   19384     save_CPPFLAGS=$CPPFLAGS
   19385     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19386 
   19387     save_LDFLAGS=$LDFLAGS
   19388     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19389 
   19390     save_LIBS=$LIBS
   19391     LIBS="$lt_cv_dlopen_libs $LIBS"
   19392 
   19393     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19394 printf %s "checking whether a program can dlopen itself... " >&6; }
   19395 if test ${lt_cv_dlopen_self+y}
   19396 then :
   19397   printf %s "(cached) " >&6
   19398 else case e in #(
   19399   e) 	  if test yes = "$cross_compiling"; then :
   19400   lt_cv_dlopen_self=cross
   19401 else
   19402   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19403   lt_status=$lt_dlunknown
   19404   cat > conftest.$ac_ext <<_LT_EOF
   19405 #line $LINENO "configure"
   19406 #include "confdefs.h"
   19407 
   19408 #if HAVE_DLFCN_H
   19409 #include <dlfcn.h>
   19410 #endif
   19411 
   19412 #include <stdio.h>
   19413 
   19414 #ifdef RTLD_GLOBAL
   19415 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19416 #else
   19417 #  ifdef DL_GLOBAL
   19418 #    define LT_DLGLOBAL		DL_GLOBAL
   19419 #  else
   19420 #    define LT_DLGLOBAL		0
   19421 #  endif
   19422 #endif
   19423 
   19424 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19425    find out it does not work in some platform. */
   19426 #ifndef LT_DLLAZY_OR_NOW
   19427 #  ifdef RTLD_LAZY
   19428 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19429 #  else
   19430 #    ifdef DL_LAZY
   19431 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19432 #    else
   19433 #      ifdef RTLD_NOW
   19434 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19435 #      else
   19436 #        ifdef DL_NOW
   19437 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19438 #        else
   19439 #          define LT_DLLAZY_OR_NOW	0
   19440 #        endif
   19441 #      endif
   19442 #    endif
   19443 #  endif
   19444 #endif
   19445 
   19446 /* When -fvisibility=hidden is used, assume the code has been annotated
   19447    correspondingly for the symbols needed.  */
   19448 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19449 int fnord () __attribute__((visibility("default")));
   19450 #endif
   19451 
   19452 int fnord () { return 42; }
   19453 int main ()
   19454 {
   19455   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19456   int status = $lt_dlunknown;
   19457 
   19458   if (self)
   19459     {
   19460       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19461       else
   19462         {
   19463 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19464           else puts (dlerror ());
   19465 	}
   19466       /* dlclose (self); */
   19467     }
   19468   else
   19469     puts (dlerror ());
   19470 
   19471   return status;
   19472 }
   19473 _LT_EOF
   19474   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19475   (eval $ac_link) 2>&5
   19476   ac_status=$?
   19477   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19478   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19479     (./conftest; exit; ) >&5 2>/dev/null
   19480     lt_status=$?
   19481     case x$lt_status in
   19482       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19483       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19484       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19485     esac
   19486   else :
   19487     # compilation failed
   19488     lt_cv_dlopen_self=no
   19489   fi
   19490 fi
   19491 rm -fr conftest*
   19492 
   19493      ;;
   19494 esac
   19495 fi
   19496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19497 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19498 
   19499     if test yes = "$lt_cv_dlopen_self"; then
   19500       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19501       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19502 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19503 if test ${lt_cv_dlopen_self_static+y}
   19504 then :
   19505   printf %s "(cached) " >&6
   19506 else case e in #(
   19507   e) 	  if test yes = "$cross_compiling"; then :
   19508   lt_cv_dlopen_self_static=cross
   19509 else
   19510   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19511   lt_status=$lt_dlunknown
   19512   cat > conftest.$ac_ext <<_LT_EOF
   19513 #line $LINENO "configure"
   19514 #include "confdefs.h"
   19515 
   19516 #if HAVE_DLFCN_H
   19517 #include <dlfcn.h>
   19518 #endif
   19519 
   19520 #include <stdio.h>
   19521 
   19522 #ifdef RTLD_GLOBAL
   19523 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19524 #else
   19525 #  ifdef DL_GLOBAL
   19526 #    define LT_DLGLOBAL		DL_GLOBAL
   19527 #  else
   19528 #    define LT_DLGLOBAL		0
   19529 #  endif
   19530 #endif
   19531 
   19532 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19533    find out it does not work in some platform. */
   19534 #ifndef LT_DLLAZY_OR_NOW
   19535 #  ifdef RTLD_LAZY
   19536 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19537 #  else
   19538 #    ifdef DL_LAZY
   19539 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19540 #    else
   19541 #      ifdef RTLD_NOW
   19542 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19543 #      else
   19544 #        ifdef DL_NOW
   19545 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19546 #        else
   19547 #          define LT_DLLAZY_OR_NOW	0
   19548 #        endif
   19549 #      endif
   19550 #    endif
   19551 #  endif
   19552 #endif
   19553 
   19554 /* When -fvisibility=hidden is used, assume the code has been annotated
   19555    correspondingly for the symbols needed.  */
   19556 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19557 int fnord () __attribute__((visibility("default")));
   19558 #endif
   19559 
   19560 int fnord () { return 42; }
   19561 int main ()
   19562 {
   19563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19564   int status = $lt_dlunknown;
   19565 
   19566   if (self)
   19567     {
   19568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19569       else
   19570         {
   19571 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19572           else puts (dlerror ());
   19573 	}
   19574       /* dlclose (self); */
   19575     }
   19576   else
   19577     puts (dlerror ());
   19578 
   19579   return status;
   19580 }
   19581 _LT_EOF
   19582   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19583   (eval $ac_link) 2>&5
   19584   ac_status=$?
   19585   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19586   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19587     (./conftest; exit; ) >&5 2>/dev/null
   19588     lt_status=$?
   19589     case x$lt_status in
   19590       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19591       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19592       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19593     esac
   19594   else :
   19595     # compilation failed
   19596     lt_cv_dlopen_self_static=no
   19597   fi
   19598 fi
   19599 rm -fr conftest*
   19600 
   19601        ;;
   19602 esac
   19603 fi
   19604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19605 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19606     fi
   19607 
   19608     CPPFLAGS=$save_CPPFLAGS
   19609     LDFLAGS=$save_LDFLAGS
   19610     LIBS=$save_LIBS
   19611     ;;
   19612   esac
   19613 
   19614   case $lt_cv_dlopen_self in
   19615   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19616   *) enable_dlopen_self=unknown ;;
   19617   esac
   19618 
   19619   case $lt_cv_dlopen_self_static in
   19620   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19621   *) enable_dlopen_self_static=unknown ;;
   19622   esac
   19623 fi
   19624 
   19625 
   19626 
   19627 
   19628 
   19629 
   19630 
   19631 
   19632 
   19633 
   19634 
   19635 
   19636 
   19637 
   19638 
   19639 
   19640 
   19641 striplib=
   19642 old_striplib=
   19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19644 printf %s "checking whether stripping libraries is possible... " >&6; }
   19645 if test -z "$STRIP"; then
   19646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19647 printf "%s\n" "no" >&6; }
   19648 else
   19649   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19650     old_striplib="$STRIP --strip-debug"
   19651     striplib="$STRIP --strip-unneeded"
   19652     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19653 printf "%s\n" "yes" >&6; }
   19654   else
   19655     case $host_os in
   19656     darwin*)
   19657       # FIXME - insert some real tests, host_os isn't really good enough
   19658       striplib="$STRIP -x"
   19659       old_striplib="$STRIP -S"
   19660       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19661 printf "%s\n" "yes" >&6; }
   19662       ;;
   19663     freebsd*)
   19664       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19665         old_striplib="$STRIP --strip-debug"
   19666         striplib="$STRIP --strip-unneeded"
   19667         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19668 printf "%s\n" "yes" >&6; }
   19669       else
   19670         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19671 printf "%s\n" "no" >&6; }
   19672       fi
   19673       ;;
   19674     *)
   19675       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19676 printf "%s\n" "no" >&6; }
   19677       ;;
   19678     esac
   19679   fi
   19680 fi
   19681 
   19682 
   19683 
   19684 
   19685 
   19686 
   19687 
   19688 
   19689 
   19690 
   19691 
   19692 
   19693   # Report what library types will actually be built
   19694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19695 printf %s "checking if libtool supports shared libraries... " >&6; }
   19696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19697 printf "%s\n" "$can_build_shared" >&6; }
   19698 
   19699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19700 printf %s "checking whether to build shared libraries... " >&6; }
   19701   test no = "$can_build_shared" && enable_shared=no
   19702 
   19703   # On AIX, shared libraries and static libraries use the same namespace, and
   19704   # are all built from PIC.
   19705   case $host_os in
   19706   aix3*)
   19707     test yes = "$enable_shared" && enable_static=no
   19708     if test -n "$RANLIB"; then
   19709       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19710       postinstall_cmds='$RANLIB $lib'
   19711     fi
   19712     ;;
   19713 
   19714   aix[4-9]*)
   19715     if test ia64 != "$host_cpu"; then
   19716       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19717       yes,aix,yes) ;;			# shared object as lib.so file only
   19718       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19719       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19720       esac
   19721     fi
   19722     ;;
   19723   esac
   19724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19725 printf "%s\n" "$enable_shared" >&6; }
   19726 
   19727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19728 printf %s "checking whether to build static libraries... " >&6; }
   19729   # Make sure either enable_shared or enable_static is yes.
   19730   test yes = "$enable_shared" || enable_static=yes
   19731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19732 printf "%s\n" "$enable_static" >&6; }
   19733 
   19734 
   19735 
   19736 
   19737 fi
   19738 ac_ext=c
   19739 ac_cpp='$CPP $CPPFLAGS'
   19740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19743 
   19744 CC=$lt_save_CC
   19745 
   19746 
   19747 
   19748 
   19749 
   19750 
   19751 
   19752 
   19753 
   19754 
   19755 
   19756 
   19757 
   19758 
   19759 
   19760         ac_config_commands="$ac_config_commands libtool"
   19761 
   19762 
   19763 
   19764 
   19765 # Only expand once:
   19766 
   19767 
   19768 
   19769 
   19770 
   19771 
   19772 # Check whether --with-xorg-module-dir was given.
   19773 if test ${with_xorg_module_dir+y}
   19774 then :
   19775   withval=$with_xorg_module_dir; moduledir="$withval"
   19776 else case e in #(
   19777   e) moduledir="$libdir/xorg/modules" ;;
   19778 esac
   19779 fi
   19780 
   19781 inputdir=${moduledir}/input
   19782 
   19783 
   19784 # Checks for extensions
   19785 
   19786 
   19787 	SAVE_CFLAGS="$CFLAGS"
   19788 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19789 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19790 /* end confdefs.h.  */
   19791 
   19792 #include "xorg-server.h"
   19793 #if !defined RANDR
   19794 #error RANDR not defined
   19795 #endif
   19796 
   19797 int
   19798 main (void)
   19799 {
   19800 
   19801   ;
   19802   return 0;
   19803 }
   19804 _ACEOF
   19805 if ac_fn_c_try_compile "$LINENO"
   19806 then :
   19807   _EXT_CHECK=yes
   19808 else case e in #(
   19809   e) _EXT_CHECK=no ;;
   19810 esac
   19811 fi
   19812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19813 	CFLAGS="$SAVE_CFLAGS"
   19814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19815 printf %s "checking if RANDR is defined... " >&6; }
   19816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19817 printf "%s\n" "$_EXT_CHECK" >&6; }
   19818 	if test "$_EXT_CHECK" != no; then
   19819 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19820 	fi
   19821 
   19822 
   19823 
   19824 	SAVE_CFLAGS="$CFLAGS"
   19825 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19826 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19827 /* end confdefs.h.  */
   19828 
   19829 #include "xorg-server.h"
   19830 #if !defined XINPUT
   19831 #error XINPUT not defined
   19832 #endif
   19833 
   19834 int
   19835 main (void)
   19836 {
   19837 
   19838   ;
   19839   return 0;
   19840 }
   19841 _ACEOF
   19842 if ac_fn_c_try_compile "$LINENO"
   19843 then :
   19844   _EXT_CHECK=yes
   19845 else case e in #(
   19846   e) _EXT_CHECK=no ;;
   19847 esac
   19848 fi
   19849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19850 	CFLAGS="$SAVE_CFLAGS"
   19851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XINPUT is defined" >&5
   19852 printf %s "checking if XINPUT is defined... " >&6; }
   19853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19854 printf "%s\n" "$_EXT_CHECK" >&6; }
   19855 	if test "$_EXT_CHECK" != no; then
   19856 		REQUIRED_MODULES="$REQUIRED_MODULES inputproto"
   19857 	fi
   19858 
   19859 
   19860 # Checks for pkg-config packages
   19861 
   19862 pkg_failed=no
   19863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19864 printf %s "checking for XORG... " >&6; }
   19865 
   19866 if test -n "$XORG_CFLAGS"; then
   19867     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19868  elif test -n "$PKG_CONFIG"; then
   19869     if test -n "$PKG_CONFIG" && \
   19870     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10.0 xproto \$REQUIRED_MODULES\""; } >&5
   19871   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES") 2>&5
   19872   ac_status=$?
   19873   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19874   test $ac_status = 0; }; then
   19875   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>/dev/null`
   19876 		      test "x$?" != "x0" && pkg_failed=yes
   19877 else
   19878   pkg_failed=yes
   19879 fi
   19880  else
   19881     pkg_failed=untried
   19882 fi
   19883 if test -n "$XORG_LIBS"; then
   19884     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19885  elif test -n "$PKG_CONFIG"; then
   19886     if test -n "$PKG_CONFIG" && \
   19887     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10.0 xproto \$REQUIRED_MODULES\""; } >&5
   19888   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES") 2>&5
   19889   ac_status=$?
   19890   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19891   test $ac_status = 0; }; then
   19892   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>/dev/null`
   19893 		      test "x$?" != "x0" && pkg_failed=yes
   19894 else
   19895   pkg_failed=yes
   19896 fi
   19897  else
   19898     pkg_failed=untried
   19899 fi
   19900 
   19901 
   19902 
   19903 if test $pkg_failed = yes; then
   19904    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19905 printf "%s\n" "no" >&6; }
   19906 
   19907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19908         _pkg_short_errors_supported=yes
   19909 else
   19910         _pkg_short_errors_supported=no
   19911 fi
   19912         if test $_pkg_short_errors_supported = yes; then
   19913 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>&1`
   19914         else
   19915 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>&1`
   19916         fi
   19917 	# Put the nasty error message in config.log where it belongs
   19918 	echo "$XORG_PKG_ERRORS" >&5
   19919 
   19920 	as_fn_error $? "Package requirements (xorg-server >= 1.10.0 xproto $REQUIRED_MODULES) were not met:
   19921 
   19922 $XORG_PKG_ERRORS
   19923 
   19924 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19925 installed software in a non-standard prefix.
   19926 
   19927 Alternatively, you may set the environment variables XORG_CFLAGS
   19928 and XORG_LIBS to avoid the need to call pkg-config.
   19929 See the pkg-config man page for more details." "$LINENO" 5
   19930 elif test $pkg_failed = untried; then
   19931      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19932 printf "%s\n" "no" >&6; }
   19933 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   19934 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   19935 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19936 is in your PATH or set the PKG_CONFIG environment variable to the full
   19937 path to pkg-config.
   19938 
   19939 Alternatively, you may set the environment variables XORG_CFLAGS
   19940 and XORG_LIBS to avoid the need to call pkg-config.
   19941 See the pkg-config man page for more details.
   19942 
   19943 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19944 See 'config.log' for more details" "$LINENO" 5; }
   19945 else
   19946 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19947 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19948         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19949 printf "%s\n" "yes" >&6; }
   19950 
   19951 fi
   19952 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   19953 
   19954 # Checks for libraries.
   19955 
   19956 # Checks for header files.
   19957 
   19958 # Checks for library functions
   19959 # We don't use strlcat, strlcpy, or timingsafe_memcmp, but check to quiet
   19960 # -Wredundant-decls warning from xorg/os.h which will otherwise redefine them.
   19961 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   19962 if test "x$ac_cv_func_strlcat" = xyes
   19963 then :
   19964   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   19965 
   19966 fi
   19967 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   19968 if test "x$ac_cv_func_strlcpy" = xyes
   19969 then :
   19970   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   19971 
   19972 fi
   19973 ac_fn_c_check_func "$LINENO" "timingsafe_memcmp" "ac_cv_func_timingsafe_memcmp"
   19974 if test "x$ac_cv_func_timingsafe_memcmp" = xyes
   19975 then :
   19976   printf "%s\n" "#define HAVE_TIMINGSAFE_MEMCMP 1" >>confdefs.h
   19977 
   19978 fi
   19979 
   19980 
   19981 DRIVER_NAME=elographics
   19982 
   19983 
   19984 
   19985 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19986 
   19987 cat >confcache <<\_ACEOF
   19988 # This file is a shell script that caches the results of configure
   19989 # tests run on this system so they can be shared between configure
   19990 # scripts and configure runs, see configure's option --config-cache.
   19991 # It is not useful on other systems.  If it contains results you don't
   19992 # want to keep, you may remove or edit it.
   19993 #
   19994 # config.status only pays attention to the cache file if you give it
   19995 # the --recheck option to rerun configure.
   19996 #
   19997 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   19998 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   19999 # following values.
   20000 
   20001 _ACEOF
   20002 
   20003 # The following way of writing the cache mishandles newlines in values,
   20004 # but we know of no workaround that is simple, portable, and efficient.
   20005 # So, we kill variables containing newlines.
   20006 # Ultrix sh set writes to stderr and can't be redirected directly,
   20007 # and sets the high bit in the cache file unless we assign to the vars.
   20008 (
   20009   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20010     eval ac_val=\$$ac_var
   20011     case $ac_val in #(
   20012     *${as_nl}*)
   20013       case $ac_var in #(
   20014       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20015 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20016       esac
   20017       case $ac_var in #(
   20018       _ | IFS | as_nl) ;; #(
   20019       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20020       *) { eval $ac_var=; unset $ac_var;} ;;
   20021       esac ;;
   20022     esac
   20023   done
   20024 
   20025   (set) 2>&1 |
   20026     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20027     *${as_nl}ac_space=\ *)
   20028       # 'set' does not quote correctly, so add quotes: double-quote
   20029       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20030       sed -n \
   20031 	"s/'/'\\\\''/g;
   20032 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20033       ;; #(
   20034     *)
   20035       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20036       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20037       ;;
   20038     esac |
   20039     sort
   20040 ) |
   20041   sed '
   20042      /^ac_cv_env_/b end
   20043      t clear
   20044      :clear
   20045      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20046      t end
   20047      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20048      :end' >>confcache
   20049 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20050   if test -w "$cache_file"; then
   20051     if test "x$cache_file" != "x/dev/null"; then
   20052       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20053 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20054       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20055 	cat confcache >"$cache_file"
   20056       else
   20057         case $cache_file in #(
   20058         */* | ?:*)
   20059 	  mv -f confcache "$cache_file"$$ &&
   20060 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20061         *)
   20062 	  mv -f confcache "$cache_file" ;;
   20063 	esac
   20064       fi
   20065     fi
   20066   else
   20067     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20068 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20069   fi
   20070 fi
   20071 rm -f confcache
   20072 
   20073 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20074 # Let make expand exec_prefix.
   20075 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20076 
   20077 DEFS=-DHAVE_CONFIG_H
   20078 
   20079 ac_libobjs=
   20080 ac_ltlibobjs=
   20081 U=
   20082 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20083   # 1. Remove the extension, and $U if already installed.
   20084   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20085   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20086   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20087   #    will be set to the directory where LIBOBJS objects are built.
   20088   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20089   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20090 done
   20091 LIBOBJS=$ac_libobjs
   20092 
   20093 LTLIBOBJS=$ac_ltlibobjs
   20094 
   20095 
   20096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20097 printf %s "checking that generated files are newer than configure... " >&6; }
   20098    if test -n "$am_sleep_pid"; then
   20099      # Hide warnings about reused PIDs.
   20100      wait $am_sleep_pid 2>/dev/null
   20101    fi
   20102    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20103 printf "%s\n" "done" >&6; }
   20104  if test -n "$EXEEXT"; then
   20105   am__EXEEXT_TRUE=
   20106   am__EXEEXT_FALSE='#'
   20107 else
   20108   am__EXEEXT_TRUE='#'
   20109   am__EXEEXT_FALSE=
   20110 fi
   20111 
   20112 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20113   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20115 fi
   20116 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20117   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20119 fi
   20120 
   20121 : "${CONFIG_STATUS=./config.status}"
   20122 ac_write_fail=0
   20123 ac_clean_files_save=$ac_clean_files
   20124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20126 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20127 as_write_fail=0
   20128 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20129 #! $SHELL
   20130 # Generated by $as_me.
   20131 # Run this file to recreate the current configuration.
   20132 # Compiler output produced by configure, useful for debugging
   20133 # configure, is in config.log if it exists.
   20134 
   20135 debug=false
   20136 ac_cs_recheck=false
   20137 ac_cs_silent=false
   20138 
   20139 SHELL=\${CONFIG_SHELL-$SHELL}
   20140 export SHELL
   20141 _ASEOF
   20142 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20143 ## -------------------- ##
   20144 ## M4sh Initialization. ##
   20145 ## -------------------- ##
   20146 
   20147 # Be more Bourne compatible
   20148 DUALCASE=1; export DUALCASE # for MKS sh
   20149 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20150 then :
   20151   emulate sh
   20152   NULLCMD=:
   20153   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20154   # is contrary to our usage.  Disable this feature.
   20155   alias -g '${1+"$@"}'='"$@"'
   20156   setopt NO_GLOB_SUBST
   20157 else case e in #(
   20158   e) case `(set -o) 2>/dev/null` in #(
   20159   *posix*) :
   20160     set -o posix ;; #(
   20161   *) :
   20162      ;;
   20163 esac ;;
   20164 esac
   20165 fi
   20166 
   20167 
   20168 
   20169 # Reset variables that may have inherited troublesome values from
   20170 # the environment.
   20171 
   20172 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20173 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20174 # side effect of setting IFS to empty, thus disabling word splitting.)
   20175 # Quoting is to prevent editors from complaining about space-tab.
   20176 as_nl='
   20177 '
   20178 export as_nl
   20179 IFS=" ""	$as_nl"
   20180 
   20181 PS1='$ '
   20182 PS2='> '
   20183 PS4='+ '
   20184 
   20185 # Ensure predictable behavior from utilities with locale-dependent output.
   20186 LC_ALL=C
   20187 export LC_ALL
   20188 LANGUAGE=C
   20189 export LANGUAGE
   20190 
   20191 # We cannot yet rely on "unset" to work, but we need these variables
   20192 # to be unset--not just set to an empty or harmless value--now, to
   20193 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20194 # also avoids known problems related to "unset" and subshell syntax
   20195 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20196 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20197 do eval test \${$as_var+y} \
   20198   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20199 done
   20200 
   20201 # Ensure that fds 0, 1, and 2 are open.
   20202 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20203 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20204 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20205 
   20206 # The user is always right.
   20207 if ${PATH_SEPARATOR+false} :; then
   20208   PATH_SEPARATOR=:
   20209   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20210     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20211       PATH_SEPARATOR=';'
   20212   }
   20213 fi
   20214 
   20215 
   20216 # Find who we are.  Look in the path if we contain no directory separator.
   20217 as_myself=
   20218 case $0 in #((
   20219   *[\\/]* ) as_myself=$0 ;;
   20220   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20221 for as_dir in $PATH
   20222 do
   20223   IFS=$as_save_IFS
   20224   case $as_dir in #(((
   20225     '') as_dir=./ ;;
   20226     */) ;;
   20227     *) as_dir=$as_dir/ ;;
   20228   esac
   20229     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20230   done
   20231 IFS=$as_save_IFS
   20232 
   20233      ;;
   20234 esac
   20235 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20236 # in which case we are not to be found in the path.
   20237 if test "x$as_myself" = x; then
   20238   as_myself=$0
   20239 fi
   20240 if test ! -f "$as_myself"; then
   20241   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20242   exit 1
   20243 fi
   20244 
   20245 
   20246 
   20247 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20248 # ----------------------------------------
   20249 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20250 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20251 # script with STATUS, using 1 if that was 0.
   20252 as_fn_error ()
   20253 {
   20254   as_status=$1; test $as_status -eq 0 && as_status=1
   20255   if test "$4"; then
   20256     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20257     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20258   fi
   20259   printf "%s\n" "$as_me: error: $2" >&2
   20260   as_fn_exit $as_status
   20261 } # as_fn_error
   20262 
   20263 
   20264 # as_fn_set_status STATUS
   20265 # -----------------------
   20266 # Set $? to STATUS, without forking.
   20267 as_fn_set_status ()
   20268 {
   20269   return $1
   20270 } # as_fn_set_status
   20271 
   20272 # as_fn_exit STATUS
   20273 # -----------------
   20274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20275 as_fn_exit ()
   20276 {
   20277   set +e
   20278   as_fn_set_status $1
   20279   exit $1
   20280 } # as_fn_exit
   20281 
   20282 # as_fn_unset VAR
   20283 # ---------------
   20284 # Portably unset VAR.
   20285 as_fn_unset ()
   20286 {
   20287   { eval $1=; unset $1;}
   20288 }
   20289 as_unset=as_fn_unset
   20290 
   20291 # as_fn_append VAR VALUE
   20292 # ----------------------
   20293 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20294 # advantage of any shell optimizations that allow amortized linear growth over
   20295 # repeated appends, instead of the typical quadratic growth present in naive
   20296 # implementations.
   20297 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20298 then :
   20299   eval 'as_fn_append ()
   20300   {
   20301     eval $1+=\$2
   20302   }'
   20303 else case e in #(
   20304   e) as_fn_append ()
   20305   {
   20306     eval $1=\$$1\$2
   20307   } ;;
   20308 esac
   20309 fi # as_fn_append
   20310 
   20311 # as_fn_arith ARG...
   20312 # ------------------
   20313 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20314 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20315 # must be portable across $(()) and expr.
   20316 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20317 then :
   20318   eval 'as_fn_arith ()
   20319   {
   20320     as_val=$(( $* ))
   20321   }'
   20322 else case e in #(
   20323   e) as_fn_arith ()
   20324   {
   20325     as_val=`expr "$@" || test $? -eq 1`
   20326   } ;;
   20327 esac
   20328 fi # as_fn_arith
   20329 
   20330 
   20331 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20332    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20333   as_expr=expr
   20334 else
   20335   as_expr=false
   20336 fi
   20337 
   20338 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20339   as_basename=basename
   20340 else
   20341   as_basename=false
   20342 fi
   20343 
   20344 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20345   as_dirname=dirname
   20346 else
   20347   as_dirname=false
   20348 fi
   20349 
   20350 as_me=`$as_basename -- "$0" ||
   20351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20352 	 X"$0" : 'X\(//\)$' \| \
   20353 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20354 printf "%s\n" X/"$0" |
   20355     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20356 	    s//\1/
   20357 	    q
   20358 	  }
   20359 	  /^X\/\(\/\/\)$/{
   20360 	    s//\1/
   20361 	    q
   20362 	  }
   20363 	  /^X\/\(\/\).*/{
   20364 	    s//\1/
   20365 	    q
   20366 	  }
   20367 	  s/.*/./; q'`
   20368 
   20369 # Avoid depending upon Character Ranges.
   20370 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20371 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20372 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20373 as_cr_digits='0123456789'
   20374 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20375 
   20376 
   20377 # Determine whether it's possible to make 'echo' print without a newline.
   20378 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20379 # for compatibility with existing Makefiles.
   20380 ECHO_C= ECHO_N= ECHO_T=
   20381 case `echo -n x` in #(((((
   20382 -n*)
   20383   case `echo 'xy\c'` in
   20384   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20385   xy)  ECHO_C='\c';;
   20386   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20387        ECHO_T='	';;
   20388   esac;;
   20389 *)
   20390   ECHO_N='-n';;
   20391 esac
   20392 
   20393 # For backward compatibility with old third-party macros, we provide
   20394 # the shell variables $as_echo and $as_echo_n.  New code should use
   20395 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20396 as_echo='printf %s\n'
   20397 as_echo_n='printf %s'
   20398 
   20399 rm -f conf$$ conf$$.exe conf$$.file
   20400 if test -d conf$$.dir; then
   20401   rm -f conf$$.dir/conf$$.file
   20402 else
   20403   rm -f conf$$.dir
   20404   mkdir conf$$.dir 2>/dev/null
   20405 fi
   20406 if (echo >conf$$.file) 2>/dev/null; then
   20407   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20408     as_ln_s='ln -s'
   20409     # ... but there are two gotchas:
   20410     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   20411     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   20412     # In both cases, we have to default to 'cp -pR'.
   20413     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20414       as_ln_s='cp -pR'
   20415   elif ln conf$$.file conf$$ 2>/dev/null; then
   20416     as_ln_s=ln
   20417   else
   20418     as_ln_s='cp -pR'
   20419   fi
   20420 else
   20421   as_ln_s='cp -pR'
   20422 fi
   20423 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20424 rmdir conf$$.dir 2>/dev/null
   20425 
   20426 
   20427 # as_fn_mkdir_p
   20428 # -------------
   20429 # Create "$as_dir" as a directory, including parents if necessary.
   20430 as_fn_mkdir_p ()
   20431 {
   20432 
   20433   case $as_dir in #(
   20434   -*) as_dir=./$as_dir;;
   20435   esac
   20436   test -d "$as_dir" || eval $as_mkdir_p || {
   20437     as_dirs=
   20438     while :; do
   20439       case $as_dir in #(
   20440       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20441       *) as_qdir=$as_dir;;
   20442       esac
   20443       as_dirs="'$as_qdir' $as_dirs"
   20444       as_dir=`$as_dirname -- "$as_dir" ||
   20445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20446 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20447 	 X"$as_dir" : 'X\(//\)$' \| \
   20448 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20449 printf "%s\n" X"$as_dir" |
   20450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20451 	    s//\1/
   20452 	    q
   20453 	  }
   20454 	  /^X\(\/\/\)[^/].*/{
   20455 	    s//\1/
   20456 	    q
   20457 	  }
   20458 	  /^X\(\/\/\)$/{
   20459 	    s//\1/
   20460 	    q
   20461 	  }
   20462 	  /^X\(\/\).*/{
   20463 	    s//\1/
   20464 	    q
   20465 	  }
   20466 	  s/.*/./; q'`
   20467       test -d "$as_dir" && break
   20468     done
   20469     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20470   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20471 
   20472 
   20473 } # as_fn_mkdir_p
   20474 if mkdir -p . 2>/dev/null; then
   20475   as_mkdir_p='mkdir -p "$as_dir"'
   20476 else
   20477   test -d ./-p && rmdir ./-p
   20478   as_mkdir_p=false
   20479 fi
   20480 
   20481 
   20482 # as_fn_executable_p FILE
   20483 # -----------------------
   20484 # Test if FILE is an executable regular file.
   20485 as_fn_executable_p ()
   20486 {
   20487   test -f "$1" && test -x "$1"
   20488 } # as_fn_executable_p
   20489 as_test_x='test -x'
   20490 as_executable_p=as_fn_executable_p
   20491 
   20492 # Sed expression to map a string onto a valid CPP name.
   20493 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   20494 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   20495 
   20496 # Sed expression to map a string onto a valid variable name.
   20497 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   20498 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   20499 
   20500 
   20501 exec 6>&1
   20502 ## ----------------------------------- ##
   20503 ## Main body of $CONFIG_STATUS script. ##
   20504 ## ----------------------------------- ##
   20505 _ASEOF
   20506 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20507 
   20508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20509 # Save the log message, to keep $0 and so on meaningful, and to
   20510 # report actual input values of CONFIG_FILES etc. instead of their
   20511 # values after options handling.
   20512 ac_log="
   20513 This file was extended by xf86-input-elographics $as_me 1.4.4, which was
   20514 generated by GNU Autoconf 2.72.  Invocation command line was
   20515 
   20516   CONFIG_FILES    = $CONFIG_FILES
   20517   CONFIG_HEADERS  = $CONFIG_HEADERS
   20518   CONFIG_LINKS    = $CONFIG_LINKS
   20519   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20520   $ $0 $@
   20521 
   20522 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20523 "
   20524 
   20525 _ACEOF
   20526 
   20527 case $ac_config_files in *"
   20528 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20529 esac
   20530 
   20531 case $ac_config_headers in *"
   20532 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20533 esac
   20534 
   20535 
   20536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20537 # Files that config.status was made for.
   20538 config_files="$ac_config_files"
   20539 config_headers="$ac_config_headers"
   20540 config_commands="$ac_config_commands"
   20541 
   20542 _ACEOF
   20543 
   20544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20545 ac_cs_usage="\
   20546 '$as_me' instantiates files and other configuration actions
   20547 from templates according to the current configuration.  Unless the files
   20548 and actions are specified as TAGs, all are instantiated by default.
   20549 
   20550 Usage: $0 [OPTION]... [TAG]...
   20551 
   20552   -h, --help       print this help, then exit
   20553   -V, --version    print version number and configuration settings, then exit
   20554       --config     print configuration, then exit
   20555   -q, --quiet, --silent
   20556                    do not print progress messages
   20557   -d, --debug      don't remove temporary files
   20558       --recheck    update $as_me by reconfiguring in the same conditions
   20559       --file=FILE[:TEMPLATE]
   20560                    instantiate the configuration file FILE
   20561       --header=FILE[:TEMPLATE]
   20562                    instantiate the configuration header FILE
   20563 
   20564 Configuration files:
   20565 $config_files
   20566 
   20567 Configuration headers:
   20568 $config_headers
   20569 
   20570 Configuration commands:
   20571 $config_commands
   20572 
   20573 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues>."
   20574 
   20575 _ACEOF
   20576 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20577 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20579 ac_cs_config='$ac_cs_config_escaped'
   20580 ac_cs_version="\\
   20581 xf86-input-elographics config.status 1.4.4
   20582 configured by $0, generated by GNU Autoconf 2.72,
   20583   with options \\"\$ac_cs_config\\"
   20584 
   20585 Copyright (C) 2023 Free Software Foundation, Inc.
   20586 This config.status script is free software; the Free Software Foundation
   20587 gives unlimited permission to copy, distribute and modify it."
   20588 
   20589 ac_pwd='$ac_pwd'
   20590 srcdir='$srcdir'
   20591 INSTALL='$INSTALL'
   20592 MKDIR_P='$MKDIR_P'
   20593 AWK='$AWK'
   20594 test -n "\$AWK" || AWK=awk
   20595 _ACEOF
   20596 
   20597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20598 # The default lists apply if the user does not specify any file.
   20599 ac_need_defaults=:
   20600 while test $# != 0
   20601 do
   20602   case $1 in
   20603   --*=?*)
   20604     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20605     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20606     ac_shift=:
   20607     ;;
   20608   --*=)
   20609     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20610     ac_optarg=
   20611     ac_shift=:
   20612     ;;
   20613   *)
   20614     ac_option=$1
   20615     ac_optarg=$2
   20616     ac_shift=shift
   20617     ;;
   20618   esac
   20619 
   20620   case $ac_option in
   20621   # Handling of the options.
   20622   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20623     ac_cs_recheck=: ;;
   20624   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20625     printf "%s\n" "$ac_cs_version"; exit ;;
   20626   --config | --confi | --conf | --con | --co | --c )
   20627     printf "%s\n" "$ac_cs_config"; exit ;;
   20628   --debug | --debu | --deb | --de | --d | -d )
   20629     debug=: ;;
   20630   --file | --fil | --fi | --f )
   20631     $ac_shift
   20632     case $ac_optarg in
   20633     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20634     '') as_fn_error $? "missing file argument" ;;
   20635     esac
   20636     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20637     ac_need_defaults=false;;
   20638   --header | --heade | --head | --hea )
   20639     $ac_shift
   20640     case $ac_optarg in
   20641     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20642     esac
   20643     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20644     ac_need_defaults=false;;
   20645   --he | --h)
   20646     # Conflict between --help and --header
   20647     as_fn_error $? "ambiguous option: '$1'
   20648 Try '$0 --help' for more information.";;
   20649   --help | --hel | -h )
   20650     printf "%s\n" "$ac_cs_usage"; exit ;;
   20651   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20652   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20653     ac_cs_silent=: ;;
   20654 
   20655   # This is an error.
   20656   -*) as_fn_error $? "unrecognized option: '$1'
   20657 Try '$0 --help' for more information." ;;
   20658 
   20659   *) as_fn_append ac_config_targets " $1"
   20660      ac_need_defaults=false ;;
   20661 
   20662   esac
   20663   shift
   20664 done
   20665 
   20666 ac_configure_extra_args=
   20667 
   20668 if $ac_cs_silent; then
   20669   exec 6>/dev/null
   20670   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20671 fi
   20672 
   20673 _ACEOF
   20674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20675 if \$ac_cs_recheck; then
   20676   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20677   shift
   20678   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20679   CONFIG_SHELL='$SHELL'
   20680   export CONFIG_SHELL
   20681   exec "\$@"
   20682 fi
   20683 
   20684 _ACEOF
   20685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20686 exec 5>>config.log
   20687 {
   20688   echo
   20689   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20690 ## Running $as_me. ##
   20691 _ASBOX
   20692   printf "%s\n" "$ac_log"
   20693 } >&5
   20694 
   20695 _ACEOF
   20696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20697 #
   20698 # INIT-COMMANDS
   20699 #
   20700 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20701 
   20702 
   20703 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20704 # if CDPATH is set.
   20705 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20706 
   20707 sed_quote_subst='$sed_quote_subst'
   20708 double_quote_subst='$double_quote_subst'
   20709 delay_variable_subst='$delay_variable_subst'
   20710 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20711 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20712 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20713 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20714 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20715 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20716 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20717 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20718 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20719 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20720 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20721 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20722 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20723 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20724 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20725 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20726 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20727 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20728 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20729 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20730 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20731 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20732 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20733 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20734 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20735 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20736 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20737 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20738 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20739 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20740 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20741 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20742 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20743 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20744 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20745 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20746 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20747 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20748 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20749 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20750 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20751 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20752 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20753 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20754 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20755 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20756 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20757 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20758 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20759 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20760 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20761 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20762 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20763 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20764 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20765 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20766 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20767 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20768 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20770 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"`'
   20771 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20772 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20773 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20774 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20775 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20776 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20777 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20778 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20779 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20780 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20781 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20782 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20783 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20784 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20785 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20786 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20787 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20788 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20789 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20790 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20791 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20792 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20793 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20794 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20795 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20796 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20797 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20798 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20799 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20800 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20801 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20802 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20803 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20804 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20805 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20806 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20807 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20808 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20809 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20810 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20811 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20812 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20813 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20814 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20815 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20816 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20817 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20818 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20819 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20820 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20821 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20822 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20823 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20824 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20825 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20826 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20827 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20828 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20829 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20830 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20831 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20832 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20833 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20834 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20835 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20836 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20837 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20838 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20839 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20840 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20841 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20842 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20843 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20844 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20845 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20846 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20847 
   20848 LTCC='$LTCC'
   20849 LTCFLAGS='$LTCFLAGS'
   20850 compiler='$compiler_DEFAULT'
   20851 
   20852 # A function that is used when there is no print builtin or printf.
   20853 func_fallback_echo ()
   20854 {
   20855   eval 'cat <<_LTECHO_EOF
   20856 \$1
   20857 _LTECHO_EOF'
   20858 }
   20859 
   20860 # Quote evaled strings.
   20861 for var in SHELL \
   20862 ECHO \
   20863 PATH_SEPARATOR \
   20864 SED \
   20865 GREP \
   20866 EGREP \
   20867 FGREP \
   20868 LD \
   20869 NM \
   20870 LN_S \
   20871 lt_SP2NL \
   20872 lt_NL2SP \
   20873 reload_flag \
   20874 FILECMD \
   20875 OBJDUMP \
   20876 deplibs_check_method \
   20877 file_magic_cmd \
   20878 file_magic_glob \
   20879 want_nocaseglob \
   20880 DLLTOOL \
   20881 sharedlib_from_linklib_cmd \
   20882 AR \
   20883 archiver_list_spec \
   20884 STRIP \
   20885 RANLIB \
   20886 CC \
   20887 CFLAGS \
   20888 compiler \
   20889 lt_cv_sys_global_symbol_pipe \
   20890 lt_cv_sys_global_symbol_to_cdecl \
   20891 lt_cv_sys_global_symbol_to_import \
   20892 lt_cv_sys_global_symbol_to_c_name_address \
   20893 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20894 lt_cv_nm_interface \
   20895 nm_file_list_spec \
   20896 lt_cv_truncate_bin \
   20897 lt_prog_compiler_no_builtin_flag \
   20898 lt_prog_compiler_pic \
   20899 lt_prog_compiler_wl \
   20900 lt_prog_compiler_static \
   20901 lt_cv_prog_compiler_c_o \
   20902 need_locks \
   20903 MANIFEST_TOOL \
   20904 DSYMUTIL \
   20905 NMEDIT \
   20906 LIPO \
   20907 OTOOL \
   20908 OTOOL64 \
   20909 shrext_cmds \
   20910 export_dynamic_flag_spec \
   20911 whole_archive_flag_spec \
   20912 compiler_needs_object \
   20913 with_gnu_ld \
   20914 allow_undefined_flag \
   20915 no_undefined_flag \
   20916 hardcode_libdir_flag_spec \
   20917 hardcode_libdir_separator \
   20918 exclude_expsyms \
   20919 include_expsyms \
   20920 file_list_spec \
   20921 variables_saved_for_relink \
   20922 libname_spec \
   20923 library_names_spec \
   20924 soname_spec \
   20925 install_override_mode \
   20926 finish_eval \
   20927 old_striplib \
   20928 striplib; do
   20929     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20930     *[\\\\\\\`\\"\\\$]*)
   20931       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20932       ;;
   20933     *)
   20934       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20935       ;;
   20936     esac
   20937 done
   20938 
   20939 # Double-quote double-evaled strings.
   20940 for var in reload_cmds \
   20941 old_postinstall_cmds \
   20942 old_postuninstall_cmds \
   20943 old_archive_cmds \
   20944 extract_expsyms_cmds \
   20945 old_archive_from_new_cmds \
   20946 old_archive_from_expsyms_cmds \
   20947 archive_cmds \
   20948 archive_expsym_cmds \
   20949 module_cmds \
   20950 module_expsym_cmds \
   20951 export_symbols_cmds \
   20952 prelink_cmds \
   20953 postlink_cmds \
   20954 postinstall_cmds \
   20955 postuninstall_cmds \
   20956 finish_cmds \
   20957 sys_lib_search_path_spec \
   20958 configure_time_dlsearch_path \
   20959 configure_time_lt_sys_library_path; do
   20960     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20961     *[\\\\\\\`\\"\\\$]*)
   20962       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20963       ;;
   20964     *)
   20965       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20966       ;;
   20967     esac
   20968 done
   20969 
   20970 ac_aux_dir='$ac_aux_dir'
   20971 
   20972 # See if we are running on zsh, and set the options that allow our
   20973 # commands through without removal of \ escapes INIT.
   20974 if test -n "\${ZSH_VERSION+set}"; then
   20975    setopt NO_GLOB_SUBST
   20976 fi
   20977 
   20978 
   20979     PACKAGE='$PACKAGE'
   20980     VERSION='$VERSION'
   20981     RM='$RM'
   20982     ofile='$ofile'
   20983 
   20984 
   20985 
   20986 
   20987 _ACEOF
   20988 
   20989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20990 
   20991 # Handling of arguments.
   20992 for ac_config_target in $ac_config_targets
   20993 do
   20994   case $ac_config_target in
   20995     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20996     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20997     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20998     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20999     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21000     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21001 
   21002   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21003   esac
   21004 done
   21005 
   21006 
   21007 # If the user did not use the arguments to specify the items to instantiate,
   21008 # then the envvar interface is used.  Set only those that are not.
   21009 # We use the long form for the default assignment because of an extremely
   21010 # bizarre bug on SunOS 4.1.3.
   21011 if $ac_need_defaults; then
   21012   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21013   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21014   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21015 fi
   21016 
   21017 # Have a temporary directory for convenience.  Make it in the build tree
   21018 # simply because there is no reason against having it here, and in addition,
   21019 # creating and moving files from /tmp can sometimes cause problems.
   21020 # Hook for its removal unless debugging.
   21021 # Note that there is a small window in which the directory will not be cleaned:
   21022 # after its creation but before its name has been assigned to '$tmp'.
   21023 $debug ||
   21024 {
   21025   tmp= ac_tmp=
   21026   trap 'exit_status=$?
   21027   : "${ac_tmp:=$tmp}"
   21028   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21029 ' 0
   21030   trap 'as_fn_exit 1' 1 2 13 15
   21031 }
   21032 # Create a (secure) tmp directory for tmp files.
   21033 
   21034 {
   21035   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21036   test -d "$tmp"
   21037 }  ||
   21038 {
   21039   tmp=./conf$$-$RANDOM
   21040   (umask 077 && mkdir "$tmp")
   21041 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21042 ac_tmp=$tmp
   21043 
   21044 # Set up the scripts for CONFIG_FILES section.
   21045 # No need to generate them if there are no CONFIG_FILES.
   21046 # This happens for instance with './config.status config.h'.
   21047 if test -n "$CONFIG_FILES"; then
   21048 
   21049 
   21050 ac_cr=`echo X | tr X '\015'`
   21051 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21052 # But we know of no other shell where ac_cr would be empty at this
   21053 # point, so we can use a bashism as a fallback.
   21054 if test "x$ac_cr" = x; then
   21055   eval ac_cr=\$\'\\r\'
   21056 fi
   21057 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21058 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21059   ac_cs_awk_cr='\\r'
   21060 else
   21061   ac_cs_awk_cr=$ac_cr
   21062 fi
   21063 
   21064 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21065 _ACEOF
   21066 
   21067 
   21068 {
   21069   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21070   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21071   echo "_ACEOF"
   21072 } >conf$$subs.sh ||
   21073   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21074 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21075 ac_delim='%!_!# '
   21076 for ac_last_try in false false false false false :; do
   21077   . ./conf$$subs.sh ||
   21078     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21079 
   21080   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21081   if test $ac_delim_n = $ac_delim_num; then
   21082     break
   21083   elif $ac_last_try; then
   21084     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21085   else
   21086     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21087   fi
   21088 done
   21089 rm -f conf$$subs.sh
   21090 
   21091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21092 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21093 _ACEOF
   21094 sed -n '
   21095 h
   21096 s/^/S["/; s/!.*/"]=/
   21097 p
   21098 g
   21099 s/^[^!]*!//
   21100 :repl
   21101 t repl
   21102 s/'"$ac_delim"'$//
   21103 t delim
   21104 :nl
   21105 h
   21106 s/\(.\{148\}\)..*/\1/
   21107 t more1
   21108 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21109 p
   21110 n
   21111 b repl
   21112 :more1
   21113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21114 p
   21115 g
   21116 s/.\{148\}//
   21117 t nl
   21118 :delim
   21119 h
   21120 s/\(.\{148\}\)..*/\1/
   21121 t more2
   21122 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21123 p
   21124 b
   21125 :more2
   21126 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21127 p
   21128 g
   21129 s/.\{148\}//
   21130 t delim
   21131 ' <conf$$subs.awk | sed '
   21132 /^[^""]/{
   21133   N
   21134   s/\n//
   21135 }
   21136 ' >>$CONFIG_STATUS || ac_write_fail=1
   21137 rm -f conf$$subs.awk
   21138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21139 _ACAWK
   21140 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21141   for (key in S) S_is_set[key] = 1
   21142   FS = ""
   21143 
   21144 }
   21145 {
   21146   line = $ 0
   21147   nfields = split(line, field, "@")
   21148   substed = 0
   21149   len = length(field[1])
   21150   for (i = 2; i < nfields; i++) {
   21151     key = field[i]
   21152     keylen = length(key)
   21153     if (S_is_set[key]) {
   21154       value = S[key]
   21155       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21156       len += length(value) + length(field[++i])
   21157       substed = 1
   21158     } else
   21159       len += 1 + keylen
   21160   }
   21161 
   21162   print line
   21163 }
   21164 
   21165 _ACAWK
   21166 _ACEOF
   21167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21168 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21169   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21170 else
   21171   cat
   21172 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21173   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21174 _ACEOF
   21175 
   21176 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21177 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21178 # trailing colons and then remove the whole line if VPATH becomes empty
   21179 # (actually we leave an empty line to preserve line numbers).
   21180 if test "x$srcdir" = x.; then
   21181   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21182 h
   21183 s///
   21184 s/^/:/
   21185 s/[	 ]*$/:/
   21186 s/:\$(srcdir):/:/g
   21187 s/:\${srcdir}:/:/g
   21188 s/:@srcdir@:/:/g
   21189 s/^:*//
   21190 s/:*$//
   21191 x
   21192 s/\(=[	 ]*\).*/\1/
   21193 G
   21194 s/\n//
   21195 s/^[^=]*=[	 ]*$//
   21196 }'
   21197 fi
   21198 
   21199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21200 fi # test -n "$CONFIG_FILES"
   21201 
   21202 # Set up the scripts for CONFIG_HEADERS section.
   21203 # No need to generate them if there are no CONFIG_HEADERS.
   21204 # This happens for instance with './config.status Makefile'.
   21205 if test -n "$CONFIG_HEADERS"; then
   21206 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21207 BEGIN {
   21208 _ACEOF
   21209 
   21210 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21211 # here-document in config.status, that substitutes the proper values into
   21212 # config.h.in to produce config.h.
   21213 
   21214 # Create a delimiter string that does not exist in confdefs.h, to ease
   21215 # handling of long lines.
   21216 ac_delim='%!_!# '
   21217 for ac_last_try in false false :; do
   21218   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21219   if test -z "$ac_tt"; then
   21220     break
   21221   elif $ac_last_try; then
   21222     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21223   else
   21224     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21225   fi
   21226 done
   21227 
   21228 # For the awk script, D is an array of macro values keyed by name,
   21229 # likewise P contains macro parameters if any.  Preserve backslash
   21230 # newline sequences.
   21231 
   21232 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21233 sed -n '
   21234 s/.\{148\}/&'"$ac_delim"'/g
   21235 t rset
   21236 :rset
   21237 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21238 t def
   21239 d
   21240 :def
   21241 s/\\$//
   21242 t bsnl
   21243 s/["\\]/\\&/g
   21244 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21245 D["\1"]=" \3"/p
   21246 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21247 d
   21248 :bsnl
   21249 s/["\\]/\\&/g
   21250 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21251 D["\1"]=" \3\\\\\\n"\\/p
   21252 t cont
   21253 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21254 t cont
   21255 d
   21256 :cont
   21257 n
   21258 s/.\{148\}/&'"$ac_delim"'/g
   21259 t clear
   21260 :clear
   21261 s/\\$//
   21262 t bsnlc
   21263 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21264 d
   21265 :bsnlc
   21266 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21267 b cont
   21268 ' <confdefs.h | sed '
   21269 s/'"$ac_delim"'/"\\\
   21270 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21271 
   21272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21273   for (key in D) D_is_set[key] = 1
   21274   FS = ""
   21275 }
   21276 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21277   line = \$ 0
   21278   split(line, arg, " ")
   21279   if (arg[1] == "#") {
   21280     defundef = arg[2]
   21281     mac1 = arg[3]
   21282   } else {
   21283     defundef = substr(arg[1], 2)
   21284     mac1 = arg[2]
   21285   }
   21286   split(mac1, mac2, "(") #)
   21287   macro = mac2[1]
   21288   prefix = substr(line, 1, index(line, defundef) - 1)
   21289   if (D_is_set[macro]) {
   21290     # Preserve the white space surrounding the "#".
   21291     print prefix "define", macro P[macro] D[macro]
   21292     next
   21293   } else {
   21294     # Replace #undef with comments.  This is necessary, for example,
   21295     # in the case of _POSIX_SOURCE, which is predefined and required
   21296     # on some systems where configure will not decide to define it.
   21297     if (defundef == "undef") {
   21298       print "/*", prefix defundef, macro, "*/"
   21299       next
   21300     }
   21301   }
   21302 }
   21303 { print }
   21304 _ACAWK
   21305 _ACEOF
   21306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21307   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21308 fi # test -n "$CONFIG_HEADERS"
   21309 
   21310 
   21311 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21312 shift
   21313 for ac_tag
   21314 do
   21315   case $ac_tag in
   21316   :[FHLC]) ac_mode=$ac_tag; continue;;
   21317   esac
   21318   case $ac_mode$ac_tag in
   21319   :[FHL]*:*);;
   21320   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21321   :[FH]-) ac_tag=-:-;;
   21322   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21323   esac
   21324   ac_save_IFS=$IFS
   21325   IFS=:
   21326   set x $ac_tag
   21327   IFS=$ac_save_IFS
   21328   shift
   21329   ac_file=$1
   21330   shift
   21331 
   21332   case $ac_mode in
   21333   :L) ac_source=$1;;
   21334   :[FH])
   21335     ac_file_inputs=
   21336     for ac_f
   21337     do
   21338       case $ac_f in
   21339       -) ac_f="$ac_tmp/stdin";;
   21340       *) # Look for the file first in the build tree, then in the source tree
   21341 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21342 	 # because $ac_f cannot contain ':'.
   21343 	 test -f "$ac_f" ||
   21344 	   case $ac_f in
   21345 	   [\\/$]*) false;;
   21346 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21347 	   esac ||
   21348 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21349       esac
   21350       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21351       as_fn_append ac_file_inputs " '$ac_f'"
   21352     done
   21353 
   21354     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21355     # use $as_me), people would be surprised to read:
   21356     #    /* config.h.  Generated by config.status.  */
   21357     configure_input='Generated from '`
   21358 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21359 	`' by configure.'
   21360     if test x"$ac_file" != x-; then
   21361       configure_input="$ac_file.  $configure_input"
   21362       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21363 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21364     fi
   21365     # Neutralize special characters interpreted by sed in replacement strings.
   21366     case $configure_input in #(
   21367     *\&* | *\|* | *\\* )
   21368        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21369        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21370     *) ac_sed_conf_input=$configure_input;;
   21371     esac
   21372 
   21373     case $ac_tag in
   21374     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21375       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21376     esac
   21377     ;;
   21378   esac
   21379 
   21380   ac_dir=`$as_dirname -- "$ac_file" ||
   21381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21382 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21383 	 X"$ac_file" : 'X\(//\)$' \| \
   21384 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21385 printf "%s\n" X"$ac_file" |
   21386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21387 	    s//\1/
   21388 	    q
   21389 	  }
   21390 	  /^X\(\/\/\)[^/].*/{
   21391 	    s//\1/
   21392 	    q
   21393 	  }
   21394 	  /^X\(\/\/\)$/{
   21395 	    s//\1/
   21396 	    q
   21397 	  }
   21398 	  /^X\(\/\).*/{
   21399 	    s//\1/
   21400 	    q
   21401 	  }
   21402 	  s/.*/./; q'`
   21403   as_dir="$ac_dir"; as_fn_mkdir_p
   21404   ac_builddir=.
   21405 
   21406 case "$ac_dir" in
   21407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21408 *)
   21409   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21410   # A ".." for each directory in $ac_dir_suffix.
   21411   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21412   case $ac_top_builddir_sub in
   21413   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21414   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21415   esac ;;
   21416 esac
   21417 ac_abs_top_builddir=$ac_pwd
   21418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21419 # for backward compatibility:
   21420 ac_top_builddir=$ac_top_build_prefix
   21421 
   21422 case $srcdir in
   21423   .)  # We are building in place.
   21424     ac_srcdir=.
   21425     ac_top_srcdir=$ac_top_builddir_sub
   21426     ac_abs_top_srcdir=$ac_pwd ;;
   21427   [\\/]* | ?:[\\/]* )  # Absolute name.
   21428     ac_srcdir=$srcdir$ac_dir_suffix;
   21429     ac_top_srcdir=$srcdir
   21430     ac_abs_top_srcdir=$srcdir ;;
   21431   *) # Relative name.
   21432     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21433     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21434     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21435 esac
   21436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21437 
   21438 
   21439   case $ac_mode in
   21440   :F)
   21441   #
   21442   # CONFIG_FILE
   21443   #
   21444 
   21445   case $INSTALL in
   21446   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21447   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21448   esac
   21449   ac_MKDIR_P=$MKDIR_P
   21450   case $MKDIR_P in
   21451   [\\/$]* | ?:[\\/]* ) ;;
   21452   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21453   esac
   21454 _ACEOF
   21455 
   21456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21457 # If the template does not know about datarootdir, expand it.
   21458 # FIXME: This hack should be removed a few years after 2.60.
   21459 ac_datarootdir_hack=; ac_datarootdir_seen=
   21460 ac_sed_dataroot='
   21461 /datarootdir/ {
   21462   p
   21463   q
   21464 }
   21465 /@datadir@/p
   21466 /@docdir@/p
   21467 /@infodir@/p
   21468 /@localedir@/p
   21469 /@mandir@/p'
   21470 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21471 *datarootdir*) ac_datarootdir_seen=yes;;
   21472 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21474 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21475 _ACEOF
   21476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21477   ac_datarootdir_hack='
   21478   s&@datadir@&$datadir&g
   21479   s&@docdir@&$docdir&g
   21480   s&@infodir@&$infodir&g
   21481   s&@localedir@&$localedir&g
   21482   s&@mandir@&$mandir&g
   21483   s&\\\${datarootdir}&$datarootdir&g' ;;
   21484 esac
   21485 _ACEOF
   21486 
   21487 # Neutralize VPATH when '$srcdir' = '.'.
   21488 # Shell code in configure.ac might set extrasub.
   21489 # FIXME: do we really want to maintain this feature?
   21490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21491 ac_sed_extra="$ac_vpsub
   21492 $extrasub
   21493 _ACEOF
   21494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21495 :t
   21496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21497 s|@configure_input@|$ac_sed_conf_input|;t t
   21498 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21499 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21500 s&@srcdir@&$ac_srcdir&;t t
   21501 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21502 s&@top_srcdir@&$ac_top_srcdir&;t t
   21503 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21504 s&@builddir@&$ac_builddir&;t t
   21505 s&@abs_builddir@&$ac_abs_builddir&;t t
   21506 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21507 s&@INSTALL@&$ac_INSTALL&;t t
   21508 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21509 $ac_datarootdir_hack
   21510 "
   21511 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21512   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21513 
   21514 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21515   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21516   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21517       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21519 which seems to be undefined.  Please make sure it is defined" >&5
   21520 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   21521 which seems to be undefined.  Please make sure it is defined" >&2;}
   21522 
   21523   rm -f "$ac_tmp/stdin"
   21524   case $ac_file in
   21525   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21526   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21527   esac \
   21528   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21529  ;;
   21530   :H)
   21531   #
   21532   # CONFIG_HEADER
   21533   #
   21534   if test x"$ac_file" != x-; then
   21535     {
   21536       printf "%s\n" "/* $configure_input  */" >&1 \
   21537       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21538     } >"$ac_tmp/config.h" \
   21539       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21540     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21541       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21542 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21543     else
   21544       rm -f "$ac_file"
   21545       mv "$ac_tmp/config.h" "$ac_file" \
   21546 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21547     fi
   21548   else
   21549     printf "%s\n" "/* $configure_input  */" >&1 \
   21550       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21551       || as_fn_error $? "could not create -" "$LINENO" 5
   21552   fi
   21553 # Compute "$ac_file"'s index in $config_headers.
   21554 _am_arg="$ac_file"
   21555 _am_stamp_count=1
   21556 for _am_header in $config_headers :; do
   21557   case $_am_header in
   21558     $_am_arg | $_am_arg:* )
   21559       break ;;
   21560     * )
   21561       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21562   esac
   21563 done
   21564 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21565 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21566 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21567 	 X"$_am_arg" : 'X\(//\)$' \| \
   21568 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21569 printf "%s\n" X"$_am_arg" |
   21570     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21571 	    s//\1/
   21572 	    q
   21573 	  }
   21574 	  /^X\(\/\/\)[^/].*/{
   21575 	    s//\1/
   21576 	    q
   21577 	  }
   21578 	  /^X\(\/\/\)$/{
   21579 	    s//\1/
   21580 	    q
   21581 	  }
   21582 	  /^X\(\/\).*/{
   21583 	    s//\1/
   21584 	    q
   21585 	  }
   21586 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21587  ;;
   21588 
   21589   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21590 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21591  ;;
   21592   esac
   21593 
   21594 
   21595   case $ac_file$ac_mode in
   21596     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21597   # Older Autoconf quotes --file arguments for eval, but not when files
   21598   # are listed without --file.  Let's play safe and only enable the eval
   21599   # if we detect the quoting.
   21600   # TODO: see whether this extra hack can be removed once we start
   21601   # requiring Autoconf 2.70 or later.
   21602   case $CONFIG_FILES in #(
   21603   *\'*) :
   21604     eval set x "$CONFIG_FILES" ;; #(
   21605   *) :
   21606     set x $CONFIG_FILES ;; #(
   21607   *) :
   21608      ;;
   21609 esac
   21610   shift
   21611   # Used to flag and report bootstrapping failures.
   21612   am_rc=0
   21613   for am_mf
   21614   do
   21615     # Strip MF so we end up with the name of the file.
   21616     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21617     # Check whether this is an Automake generated Makefile which includes
   21618     # dependency-tracking related rules and includes.
   21619     # Grep'ing the whole file directly is not great: AIX grep has a line
   21620     # limit of 2048, but all sed's we know have understand at least 4000.
   21621     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21622       || continue
   21623     am_dirpart=`$as_dirname -- "$am_mf" ||
   21624 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21625 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21626 	 X"$am_mf" : 'X\(//\)$' \| \
   21627 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21628 printf "%s\n" X"$am_mf" |
   21629     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21630 	    s//\1/
   21631 	    q
   21632 	  }
   21633 	  /^X\(\/\/\)[^/].*/{
   21634 	    s//\1/
   21635 	    q
   21636 	  }
   21637 	  /^X\(\/\/\)$/{
   21638 	    s//\1/
   21639 	    q
   21640 	  }
   21641 	  /^X\(\/\).*/{
   21642 	    s//\1/
   21643 	    q
   21644 	  }
   21645 	  s/.*/./; q'`
   21646     am_filepart=`$as_basename -- "$am_mf" ||
   21647 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21648 	 X"$am_mf" : 'X\(//\)$' \| \
   21649 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21650 printf "%s\n" X/"$am_mf" |
   21651     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21652 	    s//\1/
   21653 	    q
   21654 	  }
   21655 	  /^X\/\(\/\/\)$/{
   21656 	    s//\1/
   21657 	    q
   21658 	  }
   21659 	  /^X\/\(\/\).*/{
   21660 	    s//\1/
   21661 	    q
   21662 	  }
   21663 	  s/.*/./; q'`
   21664     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21665       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21666         | $MAKE -f - am--depfiles" >&5
   21667    (cd "$am_dirpart" \
   21668       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21669         | $MAKE -f - am--depfiles) >&5 2>&5
   21670    ac_status=$?
   21671    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21672    (exit $ac_status); } || am_rc=$?
   21673   done
   21674   if test $am_rc -ne 0; then
   21675     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21676 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21677 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21678     for automatic dependency tracking.  If GNU make was not used, consider
   21679     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21680     necessary).  You can also try re-running configure with the
   21681     '--disable-dependency-tracking' option to at least be able to build
   21682     the package (albeit without support for automatic dependency tracking).
   21683 See 'config.log' for more details" "$LINENO" 5; }
   21684   fi
   21685   { am_dirpart=; unset am_dirpart;}
   21686   { am_filepart=; unset am_filepart;}
   21687   { am_mf=; unset am_mf;}
   21688   { am_rc=; unset am_rc;}
   21689   rm -f conftest-deps.mk
   21690 }
   21691  ;;
   21692     "libtool":C)
   21693 
   21694     # See if we are running on zsh, and set the options that allow our
   21695     # commands through without removal of \ escapes.
   21696     if test -n "${ZSH_VERSION+set}"; then
   21697       setopt NO_GLOB_SUBST
   21698     fi
   21699 
   21700     cfgfile=${ofile}T
   21701     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21702     $RM "$cfgfile"
   21703 
   21704     cat <<_LT_EOF >> "$cfgfile"
   21705 #! $SHELL
   21706 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21707 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21708 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21709 
   21710 # Provide generalized library-building support services.
   21711 # Written by Gordon Matzigkeit, 1996
   21712 
   21713 # Copyright (C) 2014 Free Software Foundation, Inc.
   21714 # This is free software; see the source for copying conditions.  There is NO
   21715 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21716 
   21717 # GNU Libtool is free software; you can redistribute it and/or modify
   21718 # it under the terms of the GNU General Public License as published by
   21719 # the Free Software Foundation; either version 2 of of the License, or
   21720 # (at your option) any later version.
   21721 #
   21722 # As a special exception to the GNU General Public License, if you
   21723 # distribute this file as part of a program or library that is built
   21724 # using GNU Libtool, you may include this file under the  same
   21725 # distribution terms that you use for the rest of that program.
   21726 #
   21727 # GNU Libtool is distributed in the hope that it will be useful, but
   21728 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21729 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21730 # GNU General Public License for more details.
   21731 #
   21732 # You should have received a copy of the GNU General Public License
   21733 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21734 
   21735 
   21736 # The names of the tagged configurations supported by this script.
   21737 available_tags=''
   21738 
   21739 # Configured defaults for sys_lib_dlsearch_path munging.
   21740 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21741 
   21742 # ### BEGIN LIBTOOL CONFIG
   21743 
   21744 # Which release of libtool.m4 was used?
   21745 macro_version=$macro_version
   21746 macro_revision=$macro_revision
   21747 
   21748 # Whether or not to build static libraries.
   21749 build_old_libs=$enable_static
   21750 
   21751 # Whether or not to build shared libraries.
   21752 build_libtool_libs=$enable_shared
   21753 
   21754 # What type of objects to build.
   21755 pic_mode=$pic_mode
   21756 
   21757 # Whether or not to optimize for fast installation.
   21758 fast_install=$enable_fast_install
   21759 
   21760 # Shared archive member basename,for filename based shared library versioning on AIX.
   21761 shared_archive_member_spec=$shared_archive_member_spec
   21762 
   21763 # Shell to use when invoking shell scripts.
   21764 SHELL=$lt_SHELL
   21765 
   21766 # An echo program that protects backslashes.
   21767 ECHO=$lt_ECHO
   21768 
   21769 # The PATH separator for the build system.
   21770 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21771 
   21772 # The host system.
   21773 host_alias=$host_alias
   21774 host=$host
   21775 host_os=$host_os
   21776 
   21777 # The build system.
   21778 build_alias=$build_alias
   21779 build=$build
   21780 build_os=$build_os
   21781 
   21782 # A sed program that does not truncate output.
   21783 SED=$lt_SED
   21784 
   21785 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21786 Xsed="\$SED -e 1s/^X//"
   21787 
   21788 # A grep program that handles long lines.
   21789 GREP=$lt_GREP
   21790 
   21791 # An ERE matcher.
   21792 EGREP=$lt_EGREP
   21793 
   21794 # A literal string matcher.
   21795 FGREP=$lt_FGREP
   21796 
   21797 # A BSD- or MS-compatible name lister.
   21798 NM=$lt_NM
   21799 
   21800 # Whether we need soft or hard links.
   21801 LN_S=$lt_LN_S
   21802 
   21803 # What is the maximum length of a command?
   21804 max_cmd_len=$max_cmd_len
   21805 
   21806 # Object file suffix (normally "o").
   21807 objext=$ac_objext
   21808 
   21809 # Executable file suffix (normally "").
   21810 exeext=$exeext
   21811 
   21812 # whether the shell understands "unset".
   21813 lt_unset=$lt_unset
   21814 
   21815 # turn spaces into newlines.
   21816 SP2NL=$lt_lt_SP2NL
   21817 
   21818 # turn newlines into spaces.
   21819 NL2SP=$lt_lt_NL2SP
   21820 
   21821 # convert \$build file names to \$host format.
   21822 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21823 
   21824 # convert \$build files to toolchain format.
   21825 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21826 
   21827 # A file(cmd) program that detects file types.
   21828 FILECMD=$lt_FILECMD
   21829 
   21830 # An object symbol dumper.
   21831 OBJDUMP=$lt_OBJDUMP
   21832 
   21833 # Method to check whether dependent libraries are shared objects.
   21834 deplibs_check_method=$lt_deplibs_check_method
   21835 
   21836 # Command to use when deplibs_check_method = "file_magic".
   21837 file_magic_cmd=$lt_file_magic_cmd
   21838 
   21839 # How to find potential files when deplibs_check_method = "file_magic".
   21840 file_magic_glob=$lt_file_magic_glob
   21841 
   21842 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21843 want_nocaseglob=$lt_want_nocaseglob
   21844 
   21845 # DLL creation program.
   21846 DLLTOOL=$lt_DLLTOOL
   21847 
   21848 # Command to associate shared and link libraries.
   21849 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21850 
   21851 # The archiver.
   21852 AR=$lt_AR
   21853 
   21854 # Flags to create an archive (by configure).
   21855 lt_ar_flags=$lt_ar_flags
   21856 
   21857 # Flags to create an archive.
   21858 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21859 
   21860 # How to feed a file listing to the archiver.
   21861 archiver_list_spec=$lt_archiver_list_spec
   21862 
   21863 # A symbol stripping program.
   21864 STRIP=$lt_STRIP
   21865 
   21866 # Commands used to install an old-style archive.
   21867 RANLIB=$lt_RANLIB
   21868 old_postinstall_cmds=$lt_old_postinstall_cmds
   21869 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21870 
   21871 # Whether to use a lock for old archive extraction.
   21872 lock_old_archive_extraction=$lock_old_archive_extraction
   21873 
   21874 # A C compiler.
   21875 LTCC=$lt_CC
   21876 
   21877 # LTCC compiler flags.
   21878 LTCFLAGS=$lt_CFLAGS
   21879 
   21880 # Take the output of nm and produce a listing of raw symbols and C names.
   21881 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21882 
   21883 # Transform the output of nm in a proper C declaration.
   21884 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21885 
   21886 # Transform the output of nm into a list of symbols to manually relocate.
   21887 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21888 
   21889 # Transform the output of nm in a C name address pair.
   21890 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21891 
   21892 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21893 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21894 
   21895 # The name lister interface.
   21896 nm_interface=$lt_lt_cv_nm_interface
   21897 
   21898 # Specify filename containing input files for \$NM.
   21899 nm_file_list_spec=$lt_nm_file_list_spec
   21900 
   21901 # The root where to search for dependent libraries,and where our libraries should be installed.
   21902 lt_sysroot=$lt_sysroot
   21903 
   21904 # Command to truncate a binary pipe.
   21905 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21906 
   21907 # The name of the directory that contains temporary libtool files.
   21908 objdir=$objdir
   21909 
   21910 # Used to examine libraries when file_magic_cmd begins with "file".
   21911 MAGIC_CMD=$MAGIC_CMD
   21912 
   21913 # Must we lock files when doing compilation?
   21914 need_locks=$lt_need_locks
   21915 
   21916 # Manifest tool.
   21917 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21918 
   21919 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21920 DSYMUTIL=$lt_DSYMUTIL
   21921 
   21922 # Tool to change global to local symbols on Mac OS X.
   21923 NMEDIT=$lt_NMEDIT
   21924 
   21925 # Tool to manipulate fat objects and archives on Mac OS X.
   21926 LIPO=$lt_LIPO
   21927 
   21928 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21929 OTOOL=$lt_OTOOL
   21930 
   21931 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21932 OTOOL64=$lt_OTOOL64
   21933 
   21934 # Old archive suffix (normally "a").
   21935 libext=$libext
   21936 
   21937 # Shared library suffix (normally ".so").
   21938 shrext_cmds=$lt_shrext_cmds
   21939 
   21940 # The commands to extract the exported symbol list from a shared archive.
   21941 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21942 
   21943 # Variables whose values should be saved in libtool wrapper scripts and
   21944 # restored at link time.
   21945 variables_saved_for_relink=$lt_variables_saved_for_relink
   21946 
   21947 # Do we need the "lib" prefix for modules?
   21948 need_lib_prefix=$need_lib_prefix
   21949 
   21950 # Do we need a version for libraries?
   21951 need_version=$need_version
   21952 
   21953 # Library versioning type.
   21954 version_type=$version_type
   21955 
   21956 # Shared library runtime path variable.
   21957 runpath_var=$runpath_var
   21958 
   21959 # Shared library path variable.
   21960 shlibpath_var=$shlibpath_var
   21961 
   21962 # Is shlibpath searched before the hard-coded library search path?
   21963 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21964 
   21965 # Format of library name prefix.
   21966 libname_spec=$lt_libname_spec
   21967 
   21968 # List of archive names.  First name is the real one, the rest are links.
   21969 # The last name is the one that the linker finds with -lNAME
   21970 library_names_spec=$lt_library_names_spec
   21971 
   21972 # The coded name of the library, if different from the real name.
   21973 soname_spec=$lt_soname_spec
   21974 
   21975 # Permission mode override for installation of shared libraries.
   21976 install_override_mode=$lt_install_override_mode
   21977 
   21978 # Command to use after installation of a shared archive.
   21979 postinstall_cmds=$lt_postinstall_cmds
   21980 
   21981 # Command to use after uninstallation of a shared archive.
   21982 postuninstall_cmds=$lt_postuninstall_cmds
   21983 
   21984 # Commands used to finish a libtool library installation in a directory.
   21985 finish_cmds=$lt_finish_cmds
   21986 
   21987 # As "finish_cmds", except a single script fragment to be evaled but
   21988 # not shown.
   21989 finish_eval=$lt_finish_eval
   21990 
   21991 # Whether we should hardcode library paths into libraries.
   21992 hardcode_into_libs=$hardcode_into_libs
   21993 
   21994 # Compile-time system search path for libraries.
   21995 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21996 
   21997 # Detected run-time system search path for libraries.
   21998 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21999 
   22000 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22001 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22002 
   22003 # Whether dlopen is supported.
   22004 dlopen_support=$enable_dlopen
   22005 
   22006 # Whether dlopen of programs is supported.
   22007 dlopen_self=$enable_dlopen_self
   22008 
   22009 # Whether dlopen of statically linked programs is supported.
   22010 dlopen_self_static=$enable_dlopen_self_static
   22011 
   22012 # Commands to strip libraries.
   22013 old_striplib=$lt_old_striplib
   22014 striplib=$lt_striplib
   22015 
   22016 
   22017 # The linker used to build libraries.
   22018 LD=$lt_LD
   22019 
   22020 # How to create reloadable object files.
   22021 reload_flag=$lt_reload_flag
   22022 reload_cmds=$lt_reload_cmds
   22023 
   22024 # Commands used to build an old-style archive.
   22025 old_archive_cmds=$lt_old_archive_cmds
   22026 
   22027 # A language specific compiler.
   22028 CC=$lt_compiler
   22029 
   22030 # Is the compiler the GNU compiler?
   22031 with_gcc=$GCC
   22032 
   22033 # Compiler flag to turn off builtin functions.
   22034 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22035 
   22036 # Additional compiler flags for building library objects.
   22037 pic_flag=$lt_lt_prog_compiler_pic
   22038 
   22039 # How to pass a linker flag through the compiler.
   22040 wl=$lt_lt_prog_compiler_wl
   22041 
   22042 # Compiler flag to prevent dynamic linking.
   22043 link_static_flag=$lt_lt_prog_compiler_static
   22044 
   22045 # Does compiler simultaneously support -c and -o options?
   22046 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22047 
   22048 # Whether or not to add -lc for building shared libraries.
   22049 build_libtool_need_lc=$archive_cmds_need_lc
   22050 
   22051 # Whether or not to disallow shared libs when runtime libs are static.
   22052 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22053 
   22054 # Compiler flag to allow reflexive dlopens.
   22055 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22056 
   22057 # Compiler flag to generate shared objects directly from archives.
   22058 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22059 
   22060 # Whether the compiler copes with passing no objects directly.
   22061 compiler_needs_object=$lt_compiler_needs_object
   22062 
   22063 # Create an old-style archive from a shared archive.
   22064 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22065 
   22066 # Create a temporary old-style archive to link instead of a shared archive.
   22067 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22068 
   22069 # Commands used to build a shared archive.
   22070 archive_cmds=$lt_archive_cmds
   22071 archive_expsym_cmds=$lt_archive_expsym_cmds
   22072 
   22073 # Commands used to build a loadable module if different from building
   22074 # a shared archive.
   22075 module_cmds=$lt_module_cmds
   22076 module_expsym_cmds=$lt_module_expsym_cmds
   22077 
   22078 # Whether we are building with GNU ld or not.
   22079 with_gnu_ld=$lt_with_gnu_ld
   22080 
   22081 # Flag that allows shared libraries with undefined symbols to be built.
   22082 allow_undefined_flag=$lt_allow_undefined_flag
   22083 
   22084 # Flag that enforces no undefined symbols.
   22085 no_undefined_flag=$lt_no_undefined_flag
   22086 
   22087 # Flag to hardcode \$libdir into a binary during linking.
   22088 # This must work even if \$libdir does not exist
   22089 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22090 
   22091 # Whether we need a single "-rpath" flag with a separated argument.
   22092 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22093 
   22094 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22095 # DIR into the resulting binary.
   22096 hardcode_direct=$hardcode_direct
   22097 
   22098 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22099 # DIR into the resulting binary and the resulting library dependency is
   22100 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22101 # library is relocated.
   22102 hardcode_direct_absolute=$hardcode_direct_absolute
   22103 
   22104 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22105 # into the resulting binary.
   22106 hardcode_minus_L=$hardcode_minus_L
   22107 
   22108 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22109 # into the resulting binary.
   22110 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22111 
   22112 # Set to "yes" if building a shared library automatically hardcodes DIR
   22113 # into the library and all subsequent libraries and executables linked
   22114 # against it.
   22115 hardcode_automatic=$hardcode_automatic
   22116 
   22117 # Set to yes if linker adds runtime paths of dependent libraries
   22118 # to runtime path list.
   22119 inherit_rpath=$inherit_rpath
   22120 
   22121 # Whether libtool must link a program against all its dependency libraries.
   22122 link_all_deplibs=$link_all_deplibs
   22123 
   22124 # Set to "yes" if exported symbols are required.
   22125 always_export_symbols=$always_export_symbols
   22126 
   22127 # The commands to list exported symbols.
   22128 export_symbols_cmds=$lt_export_symbols_cmds
   22129 
   22130 # Symbols that should not be listed in the preloaded symbols.
   22131 exclude_expsyms=$lt_exclude_expsyms
   22132 
   22133 # Symbols that must always be exported.
   22134 include_expsyms=$lt_include_expsyms
   22135 
   22136 # Commands necessary for linking programs (against libraries) with templates.
   22137 prelink_cmds=$lt_prelink_cmds
   22138 
   22139 # Commands necessary for finishing linking programs.
   22140 postlink_cmds=$lt_postlink_cmds
   22141 
   22142 # Specify filename containing input files.
   22143 file_list_spec=$lt_file_list_spec
   22144 
   22145 # How to hardcode a shared library path into an executable.
   22146 hardcode_action=$hardcode_action
   22147 
   22148 # ### END LIBTOOL CONFIG
   22149 
   22150 _LT_EOF
   22151 
   22152     cat <<'_LT_EOF' >> "$cfgfile"
   22153 
   22154 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22155 
   22156 # func_munge_path_list VARIABLE PATH
   22157 # -----------------------------------
   22158 # VARIABLE is name of variable containing _space_ separated list of
   22159 # directories to be munged by the contents of PATH, which is string
   22160 # having a format:
   22161 # "DIR[:DIR]:"
   22162 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22163 # ":DIR[:DIR]"
   22164 #       string "DIR[ DIR]" will be appended to VARIABLE
   22165 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22166 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22167 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22168 # "DIR[:DIR]"
   22169 #       VARIABLE will be replaced by "DIR[ DIR]"
   22170 func_munge_path_list ()
   22171 {
   22172     case x$2 in
   22173     x)
   22174         ;;
   22175     *:)
   22176         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22177         ;;
   22178     x:*)
   22179         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22180         ;;
   22181     *::*)
   22182         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22183         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22184         ;;
   22185     *)
   22186         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22187         ;;
   22188     esac
   22189 }
   22190 
   22191 
   22192 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22193 func_cc_basename ()
   22194 {
   22195     for cc_temp in $*""; do
   22196       case $cc_temp in
   22197         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22198         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22199         \-*) ;;
   22200         *) break;;
   22201       esac
   22202     done
   22203     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22204 }
   22205 
   22206 
   22207 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22208 
   22209 _LT_EOF
   22210 
   22211   case $host_os in
   22212   aix3*)
   22213     cat <<\_LT_EOF >> "$cfgfile"
   22214 # AIX sometimes has problems with the GCC collect2 program.  For some
   22215 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22216 # vanish in a puff of smoke.
   22217 if test set != "${COLLECT_NAMES+set}"; then
   22218   COLLECT_NAMES=
   22219   export COLLECT_NAMES
   22220 fi
   22221 _LT_EOF
   22222     ;;
   22223   esac
   22224 
   22225 
   22226 
   22227 ltmain=$ac_aux_dir/ltmain.sh
   22228 
   22229 
   22230   # We use sed instead of cat because bash on DJGPP gets confused if
   22231   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22232   # text mode, it properly converts lines to CR/LF.  This bash problem
   22233   # is reportedly fixed, but why not run on old versions too?
   22234   $SED '$q' "$ltmain" >> "$cfgfile" \
   22235      || (rm -f "$cfgfile"; exit 1)
   22236 
   22237    mv -f "$cfgfile" "$ofile" ||
   22238     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22239   chmod +x "$ofile"
   22240 
   22241  ;;
   22242 
   22243   esac
   22244 done # for ac_tag
   22245 
   22246 
   22247 as_fn_exit 0
   22248 _ACEOF
   22249 ac_clean_files=$ac_clean_files_save
   22250 
   22251 test $ac_write_fail = 0 ||
   22252   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22253 
   22254 
   22255 # configure is writing to config.log, and then calls config.status.
   22256 # config.status does its own redirection, appending to config.log.
   22257 # Unfortunately, on DOS this fails, as config.log is still kept open
   22258 # by configure, so config.status won't be able to write to it; its
   22259 # output is simply discarded.  So we exec the FD to /dev/null,
   22260 # effectively closing config.log, so it can be properly (re)opened and
   22261 # appended to by config.status.  When coming back to configure, we
   22262 # need to make the FD available again.
   22263 if test "$no_create" != yes; then
   22264   ac_cs_success=:
   22265   ac_config_status_args=
   22266   test "$silent" = yes &&
   22267     ac_config_status_args="$ac_config_status_args --quiet"
   22268   exec 5>/dev/null
   22269   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22270   exec 5>>config.log
   22271   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22272   # would make configure fail if this is the last instruction.
   22273   $ac_cs_success || as_fn_exit 1
   22274 fi
   22275 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22277 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22278 fi
   22279 
   22280 
   22281