Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXrandr 1.5.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    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   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXrandr'
    593 PACKAGE_TARNAME='libXrandr'
    594 PACKAGE_VERSION='1.5.0'
    595 PACKAGE_STRING='libXrandr 1.5.0'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 RANDR_LIBS
    641 RANDR_CFLAGS
    642 RANDR_VERSION
    643 XTMALLOC_ZERO_CFLAGS
    644 XMALLOC_ZERO_CFLAGS
    645 MALLOC_ZERO_CFLAGS
    646 MAN_SUBSTS
    647 XORG_MAN_PAGE
    648 ADMIN_MAN_DIR
    649 DRIVER_MAN_DIR
    650 MISC_MAN_DIR
    651 FILE_MAN_DIR
    652 LIB_MAN_DIR
    653 APP_MAN_DIR
    654 ADMIN_MAN_SUFFIX
    655 DRIVER_MAN_SUFFIX
    656 MISC_MAN_SUFFIX
    657 FILE_MAN_SUFFIX
    658 LIB_MAN_SUFFIX
    659 APP_MAN_SUFFIX
    660 INSTALL_CMD
    661 PKG_CONFIG_LIBDIR
    662 PKG_CONFIG_PATH
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 CPP
    669 OTOOL64
    670 OTOOL
    671 LIPO
    672 NMEDIT
    673 DSYMUTIL
    674 MANIFEST_TOOL
    675 RANLIB
    676 ac_ct_AR
    677 AR
    678 DLLTOOL
    679 OBJDUMP
    680 LN_S
    681 NM
    682 ac_ct_DUMPBIN
    683 DUMPBIN
    684 LD
    685 FGREP
    686 EGREP
    687 GREP
    688 SED
    689 am__fastdepCC_FALSE
    690 am__fastdepCC_TRUE
    691 CCDEPMODE
    692 am__nodep
    693 AMDEPBACKSLASH
    694 AMDEP_FALSE
    695 AMDEP_TRUE
    696 am__quote
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 host_os
    707 host_vendor
    708 host_cpu
    709 host
    710 build_os
    711 build_vendor
    712 build_cpu
    713 build
    714 LIBTOOL
    715 AM_BACKSLASH
    716 AM_DEFAULT_VERBOSITY
    717 AM_DEFAULT_V
    718 AM_V
    719 am__untar
    720 am__tar
    721 AMTAR
    722 am__leading_dot
    723 SET_MAKE
    724 AWK
    725 mkdir_p
    726 MKDIR_P
    727 INSTALL_STRIP_PROGRAM
    728 STRIP
    729 install_sh
    730 MAKEINFO
    731 AUTOHEADER
    732 AUTOMAKE
    733 AUTOCONF
    734 ACLOCAL
    735 VERSION
    736 PACKAGE
    737 CYGPATH_W
    738 am__isrc
    739 INSTALL_DATA
    740 INSTALL_SCRIPT
    741 INSTALL_PROGRAM
    742 target_alias
    743 host_alias
    744 build_alias
    745 LIBS
    746 ECHO_T
    747 ECHO_N
    748 ECHO_C
    749 DEFS
    750 mandir
    751 localedir
    752 libdir
    753 psdir
    754 pdfdir
    755 dvidir
    756 htmldir
    757 infodir
    758 docdir
    759 oldincludedir
    760 includedir
    761 localstatedir
    762 sharedstatedir
    763 sysconfdir
    764 datadir
    765 datarootdir
    766 libexecdir
    767 sbindir
    768 bindir
    769 program_transform_name
    770 prefix
    771 exec_prefix
    772 PACKAGE_URL
    773 PACKAGE_BUGREPORT
    774 PACKAGE_STRING
    775 PACKAGE_VERSION
    776 PACKAGE_TARNAME
    777 PACKAGE_NAME
    778 PATH_SEPARATOR
    779 SHELL'
    780 ac_subst_files=''
    781 ac_user_opts='
    782 enable_option_checking
    783 enable_silent_rules
    784 enable_shared
    785 enable_static
    786 with_pic
    787 enable_fast_install
    788 enable_dependency_tracking
    789 with_gnu_ld
    790 with_sysroot
    791 enable_libtool_lock
    792 enable_selective_werror
    793 enable_strict_compilation
    794 enable_malloc0returnsnull
    795 '
    796       ac_precious_vars='build_alias
    797 host_alias
    798 target_alias
    799 CC
    800 CFLAGS
    801 LDFLAGS
    802 LIBS
    803 CPPFLAGS
    804 CPP
    805 PKG_CONFIG
    806 PKG_CONFIG_PATH
    807 PKG_CONFIG_LIBDIR
    808 RANDR_CFLAGS
    809 RANDR_LIBS'
    810 
    811 
    812 # Initialize some variables set by options.
    813 ac_init_help=
    814 ac_init_version=false
    815 ac_unrecognized_opts=
    816 ac_unrecognized_sep=
    817 # The variables have the same names as the options, with
    818 # dashes changed to underlines.
    819 cache_file=/dev/null
    820 exec_prefix=NONE
    821 no_create=
    822 no_recursion=
    823 prefix=NONE
    824 program_prefix=NONE
    825 program_suffix=NONE
    826 program_transform_name=s,x,x,
    827 silent=
    828 site=
    829 srcdir=
    830 verbose=
    831 x_includes=NONE
    832 x_libraries=NONE
    833 
    834 # Installation directory options.
    835 # These are left unexpanded so users can "make install exec_prefix=/foo"
    836 # and all the variables that are supposed to be based on exec_prefix
    837 # by default will actually change.
    838 # Use braces instead of parens because sh, perl, etc. also accept them.
    839 # (The list follows the same order as the GNU Coding Standards.)
    840 bindir='${exec_prefix}/bin'
    841 sbindir='${exec_prefix}/sbin'
    842 libexecdir='${exec_prefix}/libexec'
    843 datarootdir='${prefix}/share'
    844 datadir='${datarootdir}'
    845 sysconfdir='${prefix}/etc'
    846 sharedstatedir='${prefix}/com'
    847 localstatedir='${prefix}/var'
    848 includedir='${prefix}/include'
    849 oldincludedir='/usr/include'
    850 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    851 infodir='${datarootdir}/info'
    852 htmldir='${docdir}'
    853 dvidir='${docdir}'
    854 pdfdir='${docdir}'
    855 psdir='${docdir}'
    856 libdir='${exec_prefix}/lib'
    857 localedir='${datarootdir}/locale'
    858 mandir='${datarootdir}/man'
    859 
    860 ac_prev=
    861 ac_dashdash=
    862 for ac_option
    863 do
    864   # If the previous option needs an argument, assign it.
    865   if test -n "$ac_prev"; then
    866     eval $ac_prev=\$ac_option
    867     ac_prev=
    868     continue
    869   fi
    870 
    871   case $ac_option in
    872   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    873   *=)   ac_optarg= ;;
    874   *)    ac_optarg=yes ;;
    875   esac
    876 
    877   # Accept the important Cygnus configure options, so we can diagnose typos.
    878 
    879   case $ac_dashdash$ac_option in
    880   --)
    881     ac_dashdash=yes ;;
    882 
    883   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    884     ac_prev=bindir ;;
    885   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    886     bindir=$ac_optarg ;;
    887 
    888   -build | --build | --buil | --bui | --bu)
    889     ac_prev=build_alias ;;
    890   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    891     build_alias=$ac_optarg ;;
    892 
    893   -cache-file | --cache-file | --cache-fil | --cache-fi \
    894   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    895     ac_prev=cache_file ;;
    896   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    897   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    898     cache_file=$ac_optarg ;;
    899 
    900   --config-cache | -C)
    901     cache_file=config.cache ;;
    902 
    903   -datadir | --datadir | --datadi | --datad)
    904     ac_prev=datadir ;;
    905   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    906     datadir=$ac_optarg ;;
    907 
    908   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    909   | --dataroo | --dataro | --datar)
    910     ac_prev=datarootdir ;;
    911   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    912   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    913     datarootdir=$ac_optarg ;;
    914 
    915   -disable-* | --disable-*)
    916     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    917     # Reject names that are not valid shell variable names.
    918     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    919       as_fn_error $? "invalid feature name: $ac_useropt"
    920     ac_useropt_orig=$ac_useropt
    921     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    922     case $ac_user_opts in
    923       *"
    924 "enable_$ac_useropt"
    925 "*) ;;
    926       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    927 	 ac_unrecognized_sep=', ';;
    928     esac
    929     eval enable_$ac_useropt=no ;;
    930 
    931   -docdir | --docdir | --docdi | --doc | --do)
    932     ac_prev=docdir ;;
    933   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    934     docdir=$ac_optarg ;;
    935 
    936   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    937     ac_prev=dvidir ;;
    938   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    939     dvidir=$ac_optarg ;;
    940 
    941   -enable-* | --enable-*)
    942     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    943     # Reject names that are not valid shell variable names.
    944     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    945       as_fn_error $? "invalid feature name: $ac_useropt"
    946     ac_useropt_orig=$ac_useropt
    947     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    948     case $ac_user_opts in
    949       *"
    950 "enable_$ac_useropt"
    951 "*) ;;
    952       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    953 	 ac_unrecognized_sep=', ';;
    954     esac
    955     eval enable_$ac_useropt=\$ac_optarg ;;
    956 
    957   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    958   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    959   | --exec | --exe | --ex)
    960     ac_prev=exec_prefix ;;
    961   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    962   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    963   | --exec=* | --exe=* | --ex=*)
    964     exec_prefix=$ac_optarg ;;
    965 
    966   -gas | --gas | --ga | --g)
    967     # Obsolete; use --with-gas.
    968     with_gas=yes ;;
    969 
    970   -help | --help | --hel | --he | -h)
    971     ac_init_help=long ;;
    972   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    973     ac_init_help=recursive ;;
    974   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    975     ac_init_help=short ;;
    976 
    977   -host | --host | --hos | --ho)
    978     ac_prev=host_alias ;;
    979   -host=* | --host=* | --hos=* | --ho=*)
    980     host_alias=$ac_optarg ;;
    981 
    982   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    983     ac_prev=htmldir ;;
    984   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    985   | --ht=*)
    986     htmldir=$ac_optarg ;;
    987 
    988   -includedir | --includedir | --includedi | --included | --include \
    989   | --includ | --inclu | --incl | --inc)
    990     ac_prev=includedir ;;
    991   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    992   | --includ=* | --inclu=* | --incl=* | --inc=*)
    993     includedir=$ac_optarg ;;
    994 
    995   -infodir | --infodir | --infodi | --infod | --info | --inf)
    996     ac_prev=infodir ;;
    997   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    998     infodir=$ac_optarg ;;
    999 
   1000   -libdir | --libdir | --libdi | --libd)
   1001     ac_prev=libdir ;;
   1002   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1003     libdir=$ac_optarg ;;
   1004 
   1005   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1006   | --libexe | --libex | --libe)
   1007     ac_prev=libexecdir ;;
   1008   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1009   | --libexe=* | --libex=* | --libe=*)
   1010     libexecdir=$ac_optarg ;;
   1011 
   1012   -localedir | --localedir | --localedi | --localed | --locale)
   1013     ac_prev=localedir ;;
   1014   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1015     localedir=$ac_optarg ;;
   1016 
   1017   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1018   | --localstate | --localstat | --localsta | --localst | --locals)
   1019     ac_prev=localstatedir ;;
   1020   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1021   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1022     localstatedir=$ac_optarg ;;
   1023 
   1024   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1025     ac_prev=mandir ;;
   1026   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1027     mandir=$ac_optarg ;;
   1028 
   1029   -nfp | --nfp | --nf)
   1030     # Obsolete; use --without-fp.
   1031     with_fp=no ;;
   1032 
   1033   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1034   | --no-cr | --no-c | -n)
   1035     no_create=yes ;;
   1036 
   1037   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1038   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1039     no_recursion=yes ;;
   1040 
   1041   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1042   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1043   | --oldin | --oldi | --old | --ol | --o)
   1044     ac_prev=oldincludedir ;;
   1045   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1046   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1047   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1048     oldincludedir=$ac_optarg ;;
   1049 
   1050   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1051     ac_prev=prefix ;;
   1052   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1053     prefix=$ac_optarg ;;
   1054 
   1055   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1056   | --program-pre | --program-pr | --program-p)
   1057     ac_prev=program_prefix ;;
   1058   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1059   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1060     program_prefix=$ac_optarg ;;
   1061 
   1062   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1063   | --program-suf | --program-su | --program-s)
   1064     ac_prev=program_suffix ;;
   1065   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1066   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1067     program_suffix=$ac_optarg ;;
   1068 
   1069   -program-transform-name | --program-transform-name \
   1070   | --program-transform-nam | --program-transform-na \
   1071   | --program-transform-n | --program-transform- \
   1072   | --program-transform | --program-transfor \
   1073   | --program-transfo | --program-transf \
   1074   | --program-trans | --program-tran \
   1075   | --progr-tra | --program-tr | --program-t)
   1076     ac_prev=program_transform_name ;;
   1077   -program-transform-name=* | --program-transform-name=* \
   1078   | --program-transform-nam=* | --program-transform-na=* \
   1079   | --program-transform-n=* | --program-transform-=* \
   1080   | --program-transform=* | --program-transfor=* \
   1081   | --program-transfo=* | --program-transf=* \
   1082   | --program-trans=* | --program-tran=* \
   1083   | --progr-tra=* | --program-tr=* | --program-t=*)
   1084     program_transform_name=$ac_optarg ;;
   1085 
   1086   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1087     ac_prev=pdfdir ;;
   1088   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1089     pdfdir=$ac_optarg ;;
   1090 
   1091   -psdir | --psdir | --psdi | --psd | --ps)
   1092     ac_prev=psdir ;;
   1093   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1094     psdir=$ac_optarg ;;
   1095 
   1096   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1097   | -silent | --silent | --silen | --sile | --sil)
   1098     silent=yes ;;
   1099 
   1100   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1101     ac_prev=sbindir ;;
   1102   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1103   | --sbi=* | --sb=*)
   1104     sbindir=$ac_optarg ;;
   1105 
   1106   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1107   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1108   | --sharedst | --shareds | --shared | --share | --shar \
   1109   | --sha | --sh)
   1110     ac_prev=sharedstatedir ;;
   1111   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1112   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1113   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1114   | --sha=* | --sh=*)
   1115     sharedstatedir=$ac_optarg ;;
   1116 
   1117   -site | --site | --sit)
   1118     ac_prev=site ;;
   1119   -site=* | --site=* | --sit=*)
   1120     site=$ac_optarg ;;
   1121 
   1122   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1123     ac_prev=srcdir ;;
   1124   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1125     srcdir=$ac_optarg ;;
   1126 
   1127   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1128   | --syscon | --sysco | --sysc | --sys | --sy)
   1129     ac_prev=sysconfdir ;;
   1130   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1131   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1132     sysconfdir=$ac_optarg ;;
   1133 
   1134   -target | --target | --targe | --targ | --tar | --ta | --t)
   1135     ac_prev=target_alias ;;
   1136   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1137     target_alias=$ac_optarg ;;
   1138 
   1139   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1140     verbose=yes ;;
   1141 
   1142   -version | --version | --versio | --versi | --vers | -V)
   1143     ac_init_version=: ;;
   1144 
   1145   -with-* | --with-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: $ac_useropt"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=\$ac_optarg ;;
   1160 
   1161   -without-* | --without-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error $? "invalid package name: $ac_useropt"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=no ;;
   1176 
   1177   --x)
   1178     # Obsolete; use --with-x.
   1179     with_x=yes ;;
   1180 
   1181   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1182   | --x-incl | --x-inc | --x-in | --x-i)
   1183     ac_prev=x_includes ;;
   1184   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1185   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1186     x_includes=$ac_optarg ;;
   1187 
   1188   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1189   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1190     ac_prev=x_libraries ;;
   1191   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1192   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1193     x_libraries=$ac_optarg ;;
   1194 
   1195   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1196 Try \`$0 --help' for more information"
   1197     ;;
   1198 
   1199   *=*)
   1200     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1201     # Reject names that are not valid shell variable names.
   1202     case $ac_envvar in #(
   1203       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1204       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1205     esac
   1206     eval $ac_envvar=\$ac_optarg
   1207     export $ac_envvar ;;
   1208 
   1209   *)
   1210     # FIXME: should be removed in autoconf 3.0.
   1211     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1212     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1213       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1214     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1215     ;;
   1216 
   1217   esac
   1218 done
   1219 
   1220 if test -n "$ac_prev"; then
   1221   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1222   as_fn_error $? "missing argument to $ac_option"
   1223 fi
   1224 
   1225 if test -n "$ac_unrecognized_opts"; then
   1226   case $enable_option_checking in
   1227     no) ;;
   1228     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1229     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1230   esac
   1231 fi
   1232 
   1233 # Check all directory arguments for consistency.
   1234 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1235 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1236 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1237 		libdir localedir mandir
   1238 do
   1239   eval ac_val=\$$ac_var
   1240   # Remove trailing slashes.
   1241   case $ac_val in
   1242     */ )
   1243       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1244       eval $ac_var=\$ac_val;;
   1245   esac
   1246   # Be sure to have absolute directory names.
   1247   case $ac_val in
   1248     [\\/$]* | ?:[\\/]* )  continue;;
   1249     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1250   esac
   1251   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1252 done
   1253 
   1254 # There might be people who depend on the old broken behavior: `$host'
   1255 # used to hold the argument of --host etc.
   1256 # FIXME: To remove some day.
   1257 build=$build_alias
   1258 host=$host_alias
   1259 target=$target_alias
   1260 
   1261 # FIXME: To remove some day.
   1262 if test "x$host_alias" != x; then
   1263   if test "x$build_alias" = x; then
   1264     cross_compiling=maybe
   1265   elif test "x$build_alias" != "x$host_alias"; then
   1266     cross_compiling=yes
   1267   fi
   1268 fi
   1269 
   1270 ac_tool_prefix=
   1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1272 
   1273 test "$silent" = yes && exec 6>/dev/null
   1274 
   1275 
   1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1277 ac_ls_di=`ls -di .` &&
   1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1279   as_fn_error $? "working directory cannot be determined"
   1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1281   as_fn_error $? "pwd does not report name of working directory"
   1282 
   1283 
   1284 # Find the source files, if location was not specified.
   1285 if test -z "$srcdir"; then
   1286   ac_srcdir_defaulted=yes
   1287   # Try the directory containing this script, then the parent directory.
   1288   ac_confdir=`$as_dirname -- "$as_myself" ||
   1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1290 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1291 	 X"$as_myself" : 'X\(//\)$' \| \
   1292 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1293 $as_echo X"$as_myself" |
   1294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)[^/].*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\).*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  s/.*/./; q'`
   1311   srcdir=$ac_confdir
   1312   if test ! -r "$srcdir/$ac_unique_file"; then
   1313     srcdir=..
   1314   fi
   1315 else
   1316   ac_srcdir_defaulted=no
   1317 fi
   1318 if test ! -r "$srcdir/$ac_unique_file"; then
   1319   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1320   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1321 fi
   1322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1323 ac_abs_confdir=`(
   1324 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1325 	pwd)`
   1326 # When building in place, set srcdir=.
   1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1328   srcdir=.
   1329 fi
   1330 # Remove unnecessary trailing slashes from srcdir.
   1331 # Double slashes in file names in object file debugging info
   1332 # mess up M-x gdb in Emacs.
   1333 case $srcdir in
   1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1335 esac
   1336 for ac_var in $ac_precious_vars; do
   1337   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_env_${ac_var}_value=\$${ac_var}
   1339   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1341 done
   1342 
   1343 #
   1344 # Report the --help message.
   1345 #
   1346 if test "$ac_init_help" = "long"; then
   1347   # Omit some internal or obsolete options to make the list less imposing.
   1348   # This message is too long to be a string in the A/UX 3.1 sh.
   1349   cat <<_ACEOF
   1350 \`configure' configures libXrandr 1.5.0 to adapt to many kinds of systems.
   1351 
   1352 Usage: $0 [OPTION]... [VAR=VALUE]...
   1353 
   1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1355 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1356 
   1357 Defaults for the options are specified in brackets.
   1358 
   1359 Configuration:
   1360   -h, --help              display this help and exit
   1361       --help=short        display options specific to this package
   1362       --help=recursive    display the short help of all the included packages
   1363   -V, --version           display version information and exit
   1364   -q, --quiet, --silent   do not print \`checking ...' messages
   1365       --cache-file=FILE   cache test results in FILE [disabled]
   1366   -C, --config-cache      alias for \`--cache-file=config.cache'
   1367   -n, --no-create         do not create output files
   1368       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1369 
   1370 Installation directories:
   1371   --prefix=PREFIX         install architecture-independent files in PREFIX
   1372                           [$ac_default_prefix]
   1373   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1374                           [PREFIX]
   1375 
   1376 By default, \`make install' will install all the files in
   1377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1379 for instance \`--prefix=\$HOME'.
   1380 
   1381 For better control, use the options below.
   1382 
   1383 Fine tuning of the installation directories:
   1384   --bindir=DIR            user executables [EPREFIX/bin]
   1385   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1386   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1387   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1388   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1389   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1390   --libdir=DIR            object code libraries [EPREFIX/lib]
   1391   --includedir=DIR        C header files [PREFIX/include]
   1392   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1393   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1394   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1395   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1396   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1397   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1398   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrandr]
   1399   --htmldir=DIR           html documentation [DOCDIR]
   1400   --dvidir=DIR            dvi documentation [DOCDIR]
   1401   --pdfdir=DIR            pdf documentation [DOCDIR]
   1402   --psdir=DIR             ps documentation [DOCDIR]
   1403 _ACEOF
   1404 
   1405   cat <<\_ACEOF
   1406 
   1407 Program names:
   1408   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1409   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1410   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1411 
   1412 System types:
   1413   --build=BUILD     configure for building on BUILD [guessed]
   1414   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1415 _ACEOF
   1416 fi
   1417 
   1418 if test -n "$ac_init_help"; then
   1419   case $ac_init_help in
   1420      short | recursive ) echo "Configuration of libXrandr 1.5.0:";;
   1421    esac
   1422   cat <<\_ACEOF
   1423 
   1424 Optional Features:
   1425   --disable-option-checking  ignore unrecognized --enable/--with options
   1426   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1427   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1428   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1429   --disable-silent-rules  verbose build output (undo: "make V=0")
   1430   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1431   --enable-static[=PKGS]  build static libraries [default=yes]
   1432   --enable-fast-install[=PKGS]
   1433                           optimize for fast installation [default=yes]
   1434   --enable-dependency-tracking
   1435                           do not reject slow dependency extractors
   1436   --disable-dependency-tracking
   1437                           speeds up one-time build
   1438   --disable-libtool-lock  avoid locking (might break parallel builds)
   1439   --disable-selective-werror
   1440                           Turn off selective compiler errors. (default:
   1441                           enabled)
   1442   --enable-strict-compilation
   1443                           Enable all warnings from compiler and make them
   1444                           errors (default: disabled)
   1445   --enable-malloc0returnsnull
   1446                           malloc(0) returns NULL (default: auto)
   1447 
   1448 Optional Packages:
   1449   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1450   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1451   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1452                           both]
   1453   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1454   --with-sysroot=DIR Search for dependent libraries within DIR
   1455                         (or the compiler's sysroot if not specified).
   1456 
   1457 Some influential environment variables:
   1458   CC          C compiler command
   1459   CFLAGS      C compiler flags
   1460   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1461               nonstandard directory <lib dir>
   1462   LIBS        libraries to pass to the linker, e.g. -l<library>
   1463   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1464               you have headers in a nonstandard directory <include dir>
   1465   CPP         C preprocessor
   1466   PKG_CONFIG  path to pkg-config utility
   1467   PKG_CONFIG_PATH
   1468               directories to add to pkg-config's search path
   1469   PKG_CONFIG_LIBDIR
   1470               path overriding pkg-config's built-in search path
   1471   RANDR_CFLAGS
   1472               C compiler flags for RANDR, overriding pkg-config
   1473   RANDR_LIBS  linker flags for RANDR, overriding pkg-config
   1474 
   1475 Use these variables to override the choices made by `configure' or to help
   1476 it to find libraries and programs with nonstandard names/locations.
   1477 
   1478 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1479 _ACEOF
   1480 ac_status=$?
   1481 fi
   1482 
   1483 if test "$ac_init_help" = "recursive"; then
   1484   # If there are subdirs, report their specific --help.
   1485   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1486     test -d "$ac_dir" ||
   1487       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1488       continue
   1489     ac_builddir=.
   1490 
   1491 case "$ac_dir" in
   1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493 *)
   1494   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1495   # A ".." for each directory in $ac_dir_suffix.
   1496   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1497   case $ac_top_builddir_sub in
   1498   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1499   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1500   esac ;;
   1501 esac
   1502 ac_abs_top_builddir=$ac_pwd
   1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1504 # for backward compatibility:
   1505 ac_top_builddir=$ac_top_build_prefix
   1506 
   1507 case $srcdir in
   1508   .)  # We are building in place.
   1509     ac_srcdir=.
   1510     ac_top_srcdir=$ac_top_builddir_sub
   1511     ac_abs_top_srcdir=$ac_pwd ;;
   1512   [\\/]* | ?:[\\/]* )  # Absolute name.
   1513     ac_srcdir=$srcdir$ac_dir_suffix;
   1514     ac_top_srcdir=$srcdir
   1515     ac_abs_top_srcdir=$srcdir ;;
   1516   *) # Relative name.
   1517     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1518     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1519     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1520 esac
   1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1522 
   1523     cd "$ac_dir" || { ac_status=$?; continue; }
   1524     # Check for guested configure.
   1525     if test -f "$ac_srcdir/configure.gnu"; then
   1526       echo &&
   1527       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1528     elif test -f "$ac_srcdir/configure"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure" --help=recursive
   1531     else
   1532       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1533     fi || ac_status=$?
   1534     cd "$ac_pwd" || { ac_status=$?; break; }
   1535   done
   1536 fi
   1537 
   1538 test -n "$ac_init_help" && exit $ac_status
   1539 if $ac_init_version; then
   1540   cat <<\_ACEOF
   1541 libXrandr configure 1.5.0
   1542 generated by GNU Autoconf 2.69
   1543 
   1544 Copyright (C) 2012 Free Software Foundation, Inc.
   1545 This configure script is free software; the Free Software Foundation
   1546 gives unlimited permission to copy, distribute and modify it.
   1547 _ACEOF
   1548   exit
   1549 fi
   1550 
   1551 ## ------------------------ ##
   1552 ## Autoconf initialization. ##
   1553 ## ------------------------ ##
   1554 
   1555 # ac_fn_c_try_compile LINENO
   1556 # --------------------------
   1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_compile ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   rm -f conftest.$ac_objext
   1562   if { { ac_try="$ac_compile"
   1563 case "(($ac_try" in
   1564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1565   *) ac_try_echo=$ac_try;;
   1566 esac
   1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1568 $as_echo "$ac_try_echo"; } >&5
   1569   (eval "$ac_compile") 2>conftest.err
   1570   ac_status=$?
   1571   if test -s conftest.err; then
   1572     grep -v '^ *+' conftest.err >conftest.er1
   1573     cat conftest.er1 >&5
   1574     mv -f conftest.er1 conftest.err
   1575   fi
   1576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1577   test $ac_status = 0; } && {
   1578 	 test -z "$ac_c_werror_flag" ||
   1579 	 test ! -s conftest.err
   1580        } && test -s conftest.$ac_objext; then :
   1581   ac_retval=0
   1582 else
   1583   $as_echo "$as_me: failed program was:" >&5
   1584 sed 's/^/| /' conftest.$ac_ext >&5
   1585 
   1586 	ac_retval=1
   1587 fi
   1588   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1589   as_fn_set_status $ac_retval
   1590 
   1591 } # ac_fn_c_try_compile
   1592 
   1593 # ac_fn_c_try_link LINENO
   1594 # -----------------------
   1595 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1596 ac_fn_c_try_link ()
   1597 {
   1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1599   rm -f conftest.$ac_objext conftest$ac_exeext
   1600   if { { ac_try="$ac_link"
   1601 case "(($ac_try" in
   1602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1603   *) ac_try_echo=$ac_try;;
   1604 esac
   1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1606 $as_echo "$ac_try_echo"; } >&5
   1607   (eval "$ac_link") 2>conftest.err
   1608   ac_status=$?
   1609   if test -s conftest.err; then
   1610     grep -v '^ *+' conftest.err >conftest.er1
   1611     cat conftest.er1 >&5
   1612     mv -f conftest.er1 conftest.err
   1613   fi
   1614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1615   test $ac_status = 0; } && {
   1616 	 test -z "$ac_c_werror_flag" ||
   1617 	 test ! -s conftest.err
   1618        } && test -s conftest$ac_exeext && {
   1619 	 test "$cross_compiling" = yes ||
   1620 	 test -x conftest$ac_exeext
   1621        }; then :
   1622   ac_retval=0
   1623 else
   1624   $as_echo "$as_me: failed program was:" >&5
   1625 sed 's/^/| /' conftest.$ac_ext >&5
   1626 
   1627 	ac_retval=1
   1628 fi
   1629   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1630   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1631   # interfere with the next link command; also delete a directory that is
   1632   # left behind by Apple's compiler.  We do this before executing the actions.
   1633   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635   as_fn_set_status $ac_retval
   1636 
   1637 } # ac_fn_c_try_link
   1638 
   1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1640 # -------------------------------------------------------
   1641 # Tests whether HEADER exists and can be compiled using the include files in
   1642 # INCLUDES, setting the cache variable VAR accordingly.
   1643 ac_fn_c_check_header_compile ()
   1644 {
   1645   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1647 $as_echo_n "checking for $2... " >&6; }
   1648 if eval \${$3+:} false; then :
   1649   $as_echo_n "(cached) " >&6
   1650 else
   1651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1652 /* end confdefs.h.  */
   1653 $4
   1654 #include <$2>
   1655 _ACEOF
   1656 if ac_fn_c_try_compile "$LINENO"; then :
   1657   eval "$3=yes"
   1658 else
   1659   eval "$3=no"
   1660 fi
   1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1662 fi
   1663 eval ac_res=\$$3
   1664 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1665 $as_echo "$ac_res" >&6; }
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667 
   1668 } # ac_fn_c_check_header_compile
   1669 
   1670 # ac_fn_c_try_cpp LINENO
   1671 # ----------------------
   1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_cpp ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1677 case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1684   ac_status=$?
   1685   if test -s conftest.err; then
   1686     grep -v '^ *+' conftest.err >conftest.er1
   1687     cat conftest.er1 >&5
   1688     mv -f conftest.er1 conftest.err
   1689   fi
   1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1691   test $ac_status = 0; } > conftest.i && {
   1692 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1693 	 test ! -s conftest.err
   1694        }; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700     ac_retval=1
   1701 fi
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_cpp
   1706 
   1707 # ac_fn_c_try_run LINENO
   1708 # ----------------------
   1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1710 # that executables *can* be run.
   1711 ac_fn_c_try_run ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   if { { ac_try="$ac_link"
   1715 case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_link") 2>&5
   1722   ac_status=$?
   1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1724   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1725   { { case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 $as_echo "$ac_try_echo"; } >&5
   1731   (eval "$ac_try") 2>&5
   1732   ac_status=$?
   1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1734   test $ac_status = 0; }; }; then :
   1735   ac_retval=0
   1736 else
   1737   $as_echo "$as_me: program exited with status $ac_status" >&5
   1738        $as_echo "$as_me: failed program was:" >&5
   1739 sed 's/^/| /' conftest.$ac_ext >&5
   1740 
   1741        ac_retval=$ac_status
   1742 fi
   1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1745   as_fn_set_status $ac_retval
   1746 
   1747 } # ac_fn_c_try_run
   1748 
   1749 # ac_fn_c_check_func LINENO FUNC VAR
   1750 # ----------------------------------
   1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1752 ac_fn_c_check_func ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1756 $as_echo_n "checking for $2... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 else
   1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1761 /* end confdefs.h.  */
   1762 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1764 #define $2 innocuous_$2
   1765 
   1766 /* System header to define __stub macros and hopefully few prototypes,
   1767     which can conflict with char $2 (); below.
   1768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1769     <limits.h> exists even on freestanding compilers.  */
   1770 
   1771 #ifdef __STDC__
   1772 # include <limits.h>
   1773 #else
   1774 # include <assert.h>
   1775 #endif
   1776 
   1777 #undef $2
   1778 
   1779 /* Override any GCC internal prototype to avoid an error.
   1780    Use char because int might match the return type of a GCC
   1781    builtin and then its argument prototype would still apply.  */
   1782 #ifdef __cplusplus
   1783 extern "C"
   1784 #endif
   1785 char $2 ();
   1786 /* The GNU C library defines this for functions which it implements
   1787     to always fail with ENOSYS.  Some functions are actually named
   1788     something starting with __ and the normal name is an alias.  */
   1789 #if defined __stub_$2 || defined __stub___$2
   1790 choke me
   1791 #endif
   1792 
   1793 int
   1794 main ()
   1795 {
   1796 return $2 ();
   1797   ;
   1798   return 0;
   1799 }
   1800 _ACEOF
   1801 if ac_fn_c_try_link "$LINENO"; then :
   1802   eval "$3=yes"
   1803 else
   1804   eval "$3=no"
   1805 fi
   1806 rm -f core conftest.err conftest.$ac_objext \
   1807     conftest$ac_exeext conftest.$ac_ext
   1808 fi
   1809 eval ac_res=\$$3
   1810 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1811 $as_echo "$ac_res" >&6; }
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_func
   1815 
   1816 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1817 # ---------------------------------------------
   1818 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1819 # accordingly.
   1820 ac_fn_c_check_decl ()
   1821 {
   1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1823   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1824   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1826 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1827 if eval \${$3+:} false; then :
   1828   $as_echo_n "(cached) " >&6
   1829 else
   1830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1831 /* end confdefs.h.  */
   1832 $4
   1833 int
   1834 main ()
   1835 {
   1836 #ifndef $as_decl_name
   1837 #ifdef __cplusplus
   1838   (void) $as_decl_use;
   1839 #else
   1840   (void) $as_decl_name;
   1841 #endif
   1842 #endif
   1843 
   1844   ;
   1845   return 0;
   1846 }
   1847 _ACEOF
   1848 if ac_fn_c_try_compile "$LINENO"; then :
   1849   eval "$3=yes"
   1850 else
   1851   eval "$3=no"
   1852 fi
   1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1854 fi
   1855 eval ac_res=\$$3
   1856 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1857 $as_echo "$ac_res" >&6; }
   1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1859 
   1860 } # ac_fn_c_check_decl
   1861 cat >config.log <<_ACEOF
   1862 This file contains any messages produced by compilers while
   1863 running configure, to aid debugging if configure makes a mistake.
   1864 
   1865 It was created by libXrandr $as_me 1.5.0, which was
   1866 generated by GNU Autoconf 2.69.  Invocation command line was
   1867 
   1868   $ $0 $@
   1869 
   1870 _ACEOF
   1871 exec 5>>config.log
   1872 {
   1873 cat <<_ASUNAME
   1874 ## --------- ##
   1875 ## Platform. ##
   1876 ## --------- ##
   1877 
   1878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1883 
   1884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1885 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1886 
   1887 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1888 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1890 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1891 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1892 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1893 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1894 
   1895 _ASUNAME
   1896 
   1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1898 for as_dir in $PATH
   1899 do
   1900   IFS=$as_save_IFS
   1901   test -z "$as_dir" && as_dir=.
   1902     $as_echo "PATH: $as_dir"
   1903   done
   1904 IFS=$as_save_IFS
   1905 
   1906 } >&5
   1907 
   1908 cat >&5 <<_ACEOF
   1909 
   1910 
   1911 ## ----------- ##
   1912 ## Core tests. ##
   1913 ## ----------- ##
   1914 
   1915 _ACEOF
   1916 
   1917 
   1918 # Keep a trace of the command line.
   1919 # Strip out --no-create and --no-recursion so they do not pile up.
   1920 # Strip out --silent because we don't want to record it for future runs.
   1921 # Also quote any args containing shell meta-characters.
   1922 # Make two passes to allow for proper duplicate-argument suppression.
   1923 ac_configure_args=
   1924 ac_configure_args0=
   1925 ac_configure_args1=
   1926 ac_must_keep_next=false
   1927 for ac_pass in 1 2
   1928 do
   1929   for ac_arg
   1930   do
   1931     case $ac_arg in
   1932     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1933     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1934     | -silent | --silent | --silen | --sile | --sil)
   1935       continue ;;
   1936     *\'*)
   1937       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1938     esac
   1939     case $ac_pass in
   1940     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1941     2)
   1942       as_fn_append ac_configure_args1 " '$ac_arg'"
   1943       if test $ac_must_keep_next = true; then
   1944 	ac_must_keep_next=false # Got value, back to normal.
   1945       else
   1946 	case $ac_arg in
   1947 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1948 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1949 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1950 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1951 	    case "$ac_configure_args0 " in
   1952 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1953 	    esac
   1954 	    ;;
   1955 	  -* ) ac_must_keep_next=true ;;
   1956 	esac
   1957       fi
   1958       as_fn_append ac_configure_args " '$ac_arg'"
   1959       ;;
   1960     esac
   1961   done
   1962 done
   1963 { ac_configure_args0=; unset ac_configure_args0;}
   1964 { ac_configure_args1=; unset ac_configure_args1;}
   1965 
   1966 # When interrupted or exit'd, cleanup temporary files, and complete
   1967 # config.log.  We remove comments because anyway the quotes in there
   1968 # would cause problems or look ugly.
   1969 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1970 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1971 trap 'exit_status=$?
   1972   # Save into config.log some information that might help in debugging.
   1973   {
   1974     echo
   1975 
   1976     $as_echo "## ---------------- ##
   1977 ## Cache variables. ##
   1978 ## ---------------- ##"
   1979     echo
   1980     # The following way of writing the cache mishandles newlines in values,
   1981 (
   1982   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1983     eval ac_val=\$$ac_var
   1984     case $ac_val in #(
   1985     *${as_nl}*)
   1986       case $ac_var in #(
   1987       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1989       esac
   1990       case $ac_var in #(
   1991       _ | IFS | as_nl) ;; #(
   1992       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1993       *) { eval $ac_var=; unset $ac_var;} ;;
   1994       esac ;;
   1995     esac
   1996   done
   1997   (set) 2>&1 |
   1998     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1999     *${as_nl}ac_space=\ *)
   2000       sed -n \
   2001 	"s/'\''/'\''\\\\'\'''\''/g;
   2002 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2003       ;; #(
   2004     *)
   2005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2006       ;;
   2007     esac |
   2008     sort
   2009 )
   2010     echo
   2011 
   2012     $as_echo "## ----------------- ##
   2013 ## Output variables. ##
   2014 ## ----------------- ##"
   2015     echo
   2016     for ac_var in $ac_subst_vars
   2017     do
   2018       eval ac_val=\$$ac_var
   2019       case $ac_val in
   2020       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2021       esac
   2022       $as_echo "$ac_var='\''$ac_val'\''"
   2023     done | sort
   2024     echo
   2025 
   2026     if test -n "$ac_subst_files"; then
   2027       $as_echo "## ------------------- ##
   2028 ## File substitutions. ##
   2029 ## ------------------- ##"
   2030       echo
   2031       for ac_var in $ac_subst_files
   2032       do
   2033 	eval ac_val=\$$ac_var
   2034 	case $ac_val in
   2035 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2036 	esac
   2037 	$as_echo "$ac_var='\''$ac_val'\''"
   2038       done | sort
   2039       echo
   2040     fi
   2041 
   2042     if test -s confdefs.h; then
   2043       $as_echo "## ----------- ##
   2044 ## confdefs.h. ##
   2045 ## ----------- ##"
   2046       echo
   2047       cat confdefs.h
   2048       echo
   2049     fi
   2050     test "$ac_signal" != 0 &&
   2051       $as_echo "$as_me: caught signal $ac_signal"
   2052     $as_echo "$as_me: exit $exit_status"
   2053   } >&5
   2054   rm -f core *.core core.conftest.* &&
   2055     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2056     exit $exit_status
   2057 ' 0
   2058 for ac_signal in 1 2 13 15; do
   2059   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2060 done
   2061 ac_signal=0
   2062 
   2063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2064 rm -f -r conftest* confdefs.h
   2065 
   2066 $as_echo "/* confdefs.h */" > confdefs.h
   2067 
   2068 # Predefined preprocessor variables.
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_NAME "$PACKAGE_NAME"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2076 _ACEOF
   2077 
   2078 cat >>confdefs.h <<_ACEOF
   2079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2080 _ACEOF
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_STRING "$PACKAGE_STRING"
   2084 _ACEOF
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_URL "$PACKAGE_URL"
   2092 _ACEOF
   2093 
   2094 
   2095 # Let the site file select an alternate cache file if it wants to.
   2096 # Prefer an explicitly selected file to automatically selected ones.
   2097 ac_site_file1=NONE
   2098 ac_site_file2=NONE
   2099 if test -n "$CONFIG_SITE"; then
   2100   # We do not want a PATH search for config.site.
   2101   case $CONFIG_SITE in #((
   2102     -*)  ac_site_file1=./$CONFIG_SITE;;
   2103     */*) ac_site_file1=$CONFIG_SITE;;
   2104     *)   ac_site_file1=./$CONFIG_SITE;;
   2105   esac
   2106 elif test "x$prefix" != xNONE; then
   2107   ac_site_file1=$prefix/share/config.site
   2108   ac_site_file2=$prefix/etc/config.site
   2109 else
   2110   ac_site_file1=$ac_default_prefix/share/config.site
   2111   ac_site_file2=$ac_default_prefix/etc/config.site
   2112 fi
   2113 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2114 do
   2115   test "x$ac_site_file" = xNONE && continue
   2116   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2118 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2119     sed 's/^/| /' "$ac_site_file" >&5
   2120     . "$ac_site_file" \
   2121       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2123 as_fn_error $? "failed to load site script $ac_site_file
   2124 See \`config.log' for more details" "$LINENO" 5; }
   2125   fi
   2126 done
   2127 
   2128 if test -r "$cache_file"; then
   2129   # Some versions of bash will fail to source /dev/null (special files
   2130   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2131   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2132     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2133 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2134     case $cache_file in
   2135       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2136       *)                      . "./$cache_file";;
   2137     esac
   2138   fi
   2139 else
   2140   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2141 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2142   >$cache_file
   2143 fi
   2144 
   2145 # Check that the precious variables saved in the cache have kept the same
   2146 # value.
   2147 ac_cache_corrupted=false
   2148 for ac_var in $ac_precious_vars; do
   2149   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2150   eval ac_new_set=\$ac_env_${ac_var}_set
   2151   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2152   eval ac_new_val=\$ac_env_${ac_var}_value
   2153   case $ac_old_set,$ac_new_set in
   2154     set,)
   2155       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2157       ac_cache_corrupted=: ;;
   2158     ,set)
   2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2161       ac_cache_corrupted=: ;;
   2162     ,);;
   2163     *)
   2164       if test "x$ac_old_val" != "x$ac_new_val"; then
   2165 	# differences in whitespace do not lead to failure.
   2166 	ac_old_val_w=`echo x $ac_old_val`
   2167 	ac_new_val_w=`echo x $ac_new_val`
   2168 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2169 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2171 	  ac_cache_corrupted=:
   2172 	else
   2173 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2175 	  eval $ac_var=\$ac_old_val
   2176 	fi
   2177 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2178 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2179 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2180 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2181       fi;;
   2182   esac
   2183   # Pass precious variables to config.status.
   2184   if test "$ac_new_set" = set; then
   2185     case $ac_new_val in
   2186     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2187     *) ac_arg=$ac_var=$ac_new_val ;;
   2188     esac
   2189     case " $ac_configure_args " in
   2190       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2191       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2192     esac
   2193   fi
   2194 done
   2195 if $ac_cache_corrupted; then
   2196   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2198   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2200   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2201 fi
   2202 ## -------------------- ##
   2203 ## Main body of script. ##
   2204 ## -------------------- ##
   2205 
   2206 ac_ext=c
   2207 ac_cpp='$CPP $CPPFLAGS'
   2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2211 
   2212 
   2213 
   2214 ac_config_headers="$ac_config_headers config.h"
   2215 
   2216 
   2217 # Initialize Automake
   2218 am__api_version='1.13'
   2219 
   2220 ac_aux_dir=
   2221 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2222   if test -f "$ac_dir/install-sh"; then
   2223     ac_aux_dir=$ac_dir
   2224     ac_install_sh="$ac_aux_dir/install-sh -c"
   2225     break
   2226   elif test -f "$ac_dir/install.sh"; then
   2227     ac_aux_dir=$ac_dir
   2228     ac_install_sh="$ac_aux_dir/install.sh -c"
   2229     break
   2230   elif test -f "$ac_dir/shtool"; then
   2231     ac_aux_dir=$ac_dir
   2232     ac_install_sh="$ac_aux_dir/shtool install -c"
   2233     break
   2234   fi
   2235 done
   2236 if test -z "$ac_aux_dir"; then
   2237   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2238 fi
   2239 
   2240 # These three variables are undocumented and unsupported,
   2241 # and are intended to be withdrawn in a future Autoconf release.
   2242 # They can cause serious problems if a builder's source tree is in a directory
   2243 # whose full name contains unusual characters.
   2244 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2245 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2246 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2247 
   2248 
   2249 # Find a good install program.  We prefer a C program (faster),
   2250 # so one script is as good as another.  But avoid the broken or
   2251 # incompatible versions:
   2252 # SysV /etc/install, /usr/sbin/install
   2253 # SunOS /usr/etc/install
   2254 # IRIX /sbin/install
   2255 # AIX /bin/install
   2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2260 # OS/2's system install, which has a completely different semantic
   2261 # ./install, which can be erroneously created by make from ./install.sh.
   2262 # Reject install programs that cannot install multiple files.
   2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2264 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2265 if test -z "$INSTALL"; then
   2266 if ${ac_cv_path_install+:} false; then :
   2267   $as_echo_n "(cached) " >&6
   2268 else
   2269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2270 for as_dir in $PATH
   2271 do
   2272   IFS=$as_save_IFS
   2273   test -z "$as_dir" && as_dir=.
   2274     # Account for people who put trailing slashes in PATH elements.
   2275 case $as_dir/ in #((
   2276   ./ | .// | /[cC]/* | \
   2277   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2278   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2279   /usr/ucb/* ) ;;
   2280   *)
   2281     # OSF1 and SCO ODT 3.0 have their own names for install.
   2282     # Don't use installbsd from OSF since it installs stuff as root
   2283     # by default.
   2284     for ac_prog in ginstall scoinst install; do
   2285       for ac_exec_ext in '' $ac_executable_extensions; do
   2286 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2287 	  if test $ac_prog = install &&
   2288 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2289 	    # AIX install.  It has an incompatible calling convention.
   2290 	    :
   2291 	  elif test $ac_prog = install &&
   2292 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2293 	    # program-specific install script used by HP pwplus--don't use.
   2294 	    :
   2295 	  else
   2296 	    rm -rf conftest.one conftest.two conftest.dir
   2297 	    echo one > conftest.one
   2298 	    echo two > conftest.two
   2299 	    mkdir conftest.dir
   2300 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2301 	      test -s conftest.one && test -s conftest.two &&
   2302 	      test -s conftest.dir/conftest.one &&
   2303 	      test -s conftest.dir/conftest.two
   2304 	    then
   2305 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2306 	      break 3
   2307 	    fi
   2308 	  fi
   2309 	fi
   2310       done
   2311     done
   2312     ;;
   2313 esac
   2314 
   2315   done
   2316 IFS=$as_save_IFS
   2317 
   2318 rm -rf conftest.one conftest.two conftest.dir
   2319 
   2320 fi
   2321   if test "${ac_cv_path_install+set}" = set; then
   2322     INSTALL=$ac_cv_path_install
   2323   else
   2324     # As a last resort, use the slow shell script.  Don't cache a
   2325     # value for INSTALL within a source directory, because that will
   2326     # break other packages using the cache if that directory is
   2327     # removed, or if the value is a relative name.
   2328     INSTALL=$ac_install_sh
   2329   fi
   2330 fi
   2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2332 $as_echo "$INSTALL" >&6; }
   2333 
   2334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2335 # It thinks the first close brace ends the variable substitution.
   2336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2337 
   2338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2339 
   2340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2341 
   2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2343 $as_echo_n "checking whether build environment is sane... " >&6; }
   2344 # Reject unsafe characters in $srcdir or the absolute working directory
   2345 # name.  Accept space and tab only in the latter.
   2346 am_lf='
   2347 '
   2348 case `pwd` in
   2349   *[\\\"\#\$\&\'\`$am_lf]*)
   2350     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2351 esac
   2352 case $srcdir in
   2353   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2354     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2355 esac
   2356 
   2357 # Do 'set' in a subshell so we don't clobber the current shell's
   2358 # arguments.  Must try -L first in case configure is actually a
   2359 # symlink; some systems play weird games with the mod time of symlinks
   2360 # (eg FreeBSD returns the mod time of the symlink's containing
   2361 # directory).
   2362 if (
   2363    am_has_slept=no
   2364    for am_try in 1 2; do
   2365      echo "timestamp, slept: $am_has_slept" > conftest.file
   2366      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2367      if test "$*" = "X"; then
   2368 	# -L didn't work.
   2369 	set X `ls -t "$srcdir/configure" conftest.file`
   2370      fi
   2371      if test "$*" != "X $srcdir/configure conftest.file" \
   2372 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2373 
   2374 	# If neither matched, then we have a broken ls.  This can happen
   2375 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2376 	# broken ls alias from the environment.  This has actually
   2377 	# happened.  Such a system could not be considered "sane".
   2378 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2379   alias in your environment" "$LINENO" 5
   2380      fi
   2381      if test "$2" = conftest.file || test $am_try -eq 2; then
   2382        break
   2383      fi
   2384      # Just in case.
   2385      sleep 1
   2386      am_has_slept=yes
   2387    done
   2388    test "$2" = conftest.file
   2389    )
   2390 then
   2391    # Ok.
   2392    :
   2393 else
   2394    as_fn_error $? "newly created file is older than distributed files!
   2395 Check your system clock" "$LINENO" 5
   2396 fi
   2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2398 $as_echo "yes" >&6; }
   2399 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2400 # generated files are strictly newer.
   2401 am_sleep_pid=
   2402 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2403   ( sleep 1 ) &
   2404   am_sleep_pid=$!
   2405 fi
   2406 
   2407 rm -f conftest.file
   2408 
   2409 test "$program_prefix" != NONE &&
   2410   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2411 # Use a double $ so make ignores it.
   2412 test "$program_suffix" != NONE &&
   2413   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2414 # Double any \ or $.
   2415 # By default was `s,x,x', remove it if useless.
   2416 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2417 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2418 
   2419 # expand $ac_aux_dir to an absolute path
   2420 am_aux_dir=`cd $ac_aux_dir && pwd`
   2421 
   2422 if test x"${MISSING+set}" != xset; then
   2423   case $am_aux_dir in
   2424   *\ * | *\	*)
   2425     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2426   *)
   2427     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2428   esac
   2429 fi
   2430 # Use eval to expand $SHELL
   2431 if eval "$MISSING --is-lightweight"; then
   2432   am_missing_run="$MISSING "
   2433 else
   2434   am_missing_run=
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2436 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2437 fi
   2438 
   2439 if test x"${install_sh}" != xset; then
   2440   case $am_aux_dir in
   2441   *\ * | *\	*)
   2442     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2443   *)
   2444     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2445   esac
   2446 fi
   2447 
   2448 # Installed binaries are usually stripped using 'strip' when the user
   2449 # run "make install-strip".  However 'strip' might not be the right
   2450 # tool to use in cross-compilation environments, therefore Automake
   2451 # will honor the 'STRIP' environment variable to overrule this program.
   2452 if test "$cross_compiling" != no; then
   2453   if test -n "$ac_tool_prefix"; then
   2454   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2455 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2457 $as_echo_n "checking for $ac_word... " >&6; }
   2458 if ${ac_cv_prog_STRIP+:} false; then :
   2459   $as_echo_n "(cached) " >&6
   2460 else
   2461   if test -n "$STRIP"; then
   2462   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2463 else
   2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2465 for as_dir in $PATH
   2466 do
   2467   IFS=$as_save_IFS
   2468   test -z "$as_dir" && as_dir=.
   2469     for ac_exec_ext in '' $ac_executable_extensions; do
   2470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2471     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2473     break 2
   2474   fi
   2475 done
   2476   done
   2477 IFS=$as_save_IFS
   2478 
   2479 fi
   2480 fi
   2481 STRIP=$ac_cv_prog_STRIP
   2482 if test -n "$STRIP"; then
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2484 $as_echo "$STRIP" >&6; }
   2485 else
   2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2487 $as_echo "no" >&6; }
   2488 fi
   2489 
   2490 
   2491 fi
   2492 if test -z "$ac_cv_prog_STRIP"; then
   2493   ac_ct_STRIP=$STRIP
   2494   # Extract the first word of "strip", so it can be a program name with args.
   2495 set dummy strip; ac_word=$2
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2497 $as_echo_n "checking for $ac_word... " >&6; }
   2498 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   if test -n "$ac_ct_STRIP"; then
   2502   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2503 else
   2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2505 for as_dir in $PATH
   2506 do
   2507   IFS=$as_save_IFS
   2508   test -z "$as_dir" && as_dir=.
   2509     for ac_exec_ext in '' $ac_executable_extensions; do
   2510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2511     ac_cv_prog_ac_ct_STRIP="strip"
   2512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2513     break 2
   2514   fi
   2515 done
   2516   done
   2517 IFS=$as_save_IFS
   2518 
   2519 fi
   2520 fi
   2521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2522 if test -n "$ac_ct_STRIP"; then
   2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2524 $as_echo "$ac_ct_STRIP" >&6; }
   2525 else
   2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2527 $as_echo "no" >&6; }
   2528 fi
   2529 
   2530   if test "x$ac_ct_STRIP" = x; then
   2531     STRIP=":"
   2532   else
   2533     case $cross_compiling:$ac_tool_warned in
   2534 yes:)
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2537 ac_tool_warned=yes ;;
   2538 esac
   2539     STRIP=$ac_ct_STRIP
   2540   fi
   2541 else
   2542   STRIP="$ac_cv_prog_STRIP"
   2543 fi
   2544 
   2545 fi
   2546 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2547 
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2549 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2550 if test -z "$MKDIR_P"; then
   2551   if ${ac_cv_path_mkdir+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2555 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2556 do
   2557   IFS=$as_save_IFS
   2558   test -z "$as_dir" && as_dir=.
   2559     for ac_prog in mkdir gmkdir; do
   2560 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2561 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2562 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2563 	     'mkdir (GNU coreutils) '* | \
   2564 	     'mkdir (coreutils) '* | \
   2565 	     'mkdir (fileutils) '4.1*)
   2566 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2567 	       break 3;;
   2568 	   esac
   2569 	 done
   2570        done
   2571   done
   2572 IFS=$as_save_IFS
   2573 
   2574 fi
   2575 
   2576   test -d ./--version && rmdir ./--version
   2577   if test "${ac_cv_path_mkdir+set}" = set; then
   2578     MKDIR_P="$ac_cv_path_mkdir -p"
   2579   else
   2580     # As a last resort, use the slow shell script.  Don't cache a
   2581     # value for MKDIR_P within a source directory, because that will
   2582     # break other packages using the cache if that directory is
   2583     # removed, or if the value is a relative name.
   2584     MKDIR_P="$ac_install_sh -d"
   2585   fi
   2586 fi
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2588 $as_echo "$MKDIR_P" >&6; }
   2589 
   2590 for ac_prog in gawk mawk nawk awk
   2591 do
   2592   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2593 set dummy $ac_prog; ac_word=$2
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2595 $as_echo_n "checking for $ac_word... " >&6; }
   2596 if ${ac_cv_prog_AWK+:} false; then :
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   if test -n "$AWK"; then
   2600   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2601 else
   2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2603 for as_dir in $PATH
   2604 do
   2605   IFS=$as_save_IFS
   2606   test -z "$as_dir" && as_dir=.
   2607     for ac_exec_ext in '' $ac_executable_extensions; do
   2608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2609     ac_cv_prog_AWK="$ac_prog"
   2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2611     break 2
   2612   fi
   2613 done
   2614   done
   2615 IFS=$as_save_IFS
   2616 
   2617 fi
   2618 fi
   2619 AWK=$ac_cv_prog_AWK
   2620 if test -n "$AWK"; then
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2622 $as_echo "$AWK" >&6; }
   2623 else
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2625 $as_echo "no" >&6; }
   2626 fi
   2627 
   2628 
   2629   test -n "$AWK" && break
   2630 done
   2631 
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2633 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2634 set x ${MAKE-make}
   2635 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2636 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   cat >conftest.make <<\_ACEOF
   2640 SHELL = /bin/sh
   2641 all:
   2642 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2643 _ACEOF
   2644 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2646   *@@@%%%=?*=@@@%%%*)
   2647     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2648   *)
   2649     eval ac_cv_prog_make_${ac_make}_set=no;;
   2650 esac
   2651 rm -f conftest.make
   2652 fi
   2653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2655 $as_echo "yes" >&6; }
   2656   SET_MAKE=
   2657 else
   2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2659 $as_echo "no" >&6; }
   2660   SET_MAKE="MAKE=${MAKE-make}"
   2661 fi
   2662 
   2663 rm -rf .tst 2>/dev/null
   2664 mkdir .tst 2>/dev/null
   2665 if test -d .tst; then
   2666   am__leading_dot=.
   2667 else
   2668   am__leading_dot=_
   2669 fi
   2670 rmdir .tst 2>/dev/null
   2671 
   2672 # Check whether --enable-silent-rules was given.
   2673 if test "${enable_silent_rules+set}" = set; then :
   2674   enableval=$enable_silent_rules;
   2675 fi
   2676 
   2677 case $enable_silent_rules in # (((
   2678   yes) AM_DEFAULT_VERBOSITY=0;;
   2679    no) AM_DEFAULT_VERBOSITY=1;;
   2680     *) AM_DEFAULT_VERBOSITY=1;;
   2681 esac
   2682 am_make=${MAKE-make}
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2684 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2685 if ${am_cv_make_support_nested_variables+:} false; then :
   2686   $as_echo_n "(cached) " >&6
   2687 else
   2688   if $as_echo 'TRUE=$(BAR$(V))
   2689 BAR0=false
   2690 BAR1=true
   2691 V=1
   2692 am__doit:
   2693 	@$(TRUE)
   2694 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2695   am_cv_make_support_nested_variables=yes
   2696 else
   2697   am_cv_make_support_nested_variables=no
   2698 fi
   2699 fi
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2701 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2702 if test $am_cv_make_support_nested_variables = yes; then
   2703     AM_V='$(V)'
   2704   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2705 else
   2706   AM_V=$AM_DEFAULT_VERBOSITY
   2707   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2708 fi
   2709 AM_BACKSLASH='\'
   2710 
   2711 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2712   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2713   # is not polluted with repeated "-I."
   2714   am__isrc=' -I$(srcdir)'
   2715   # test to see if srcdir already configured
   2716   if test -f $srcdir/config.status; then
   2717     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2718   fi
   2719 fi
   2720 
   2721 # test whether we have cygpath
   2722 if test -z "$CYGPATH_W"; then
   2723   if (cygpath --version) >/dev/null 2>/dev/null; then
   2724     CYGPATH_W='cygpath -w'
   2725   else
   2726     CYGPATH_W=echo
   2727   fi
   2728 fi
   2729 
   2730 
   2731 # Define the identity of the package.
   2732  PACKAGE='libXrandr'
   2733  VERSION='1.5.0'
   2734 
   2735 
   2736 cat >>confdefs.h <<_ACEOF
   2737 #define PACKAGE "$PACKAGE"
   2738 _ACEOF
   2739 
   2740 
   2741 cat >>confdefs.h <<_ACEOF
   2742 #define VERSION "$VERSION"
   2743 _ACEOF
   2744 
   2745 # Some tools Automake needs.
   2746 
   2747 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2748 
   2749 
   2750 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2751 
   2752 
   2753 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2754 
   2755 
   2756 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2757 
   2758 
   2759 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2760 
   2761 # For better backward compatibility.  To be removed once Automake 1.9.x
   2762 # dies out for good.  For more background, see:
   2763 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2764 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2765 mkdir_p='$(MKDIR_P)'
   2766 
   2767 # We need awk for the "check" target.  The system "awk" is bad on
   2768 # some platforms.
   2769 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2770 # in the wild :-(  We should find a proper way to deprecate it ...
   2771 AMTAR='$${TAR-tar}'
   2772 
   2773 
   2774 # We'll loop over all known methods to create a tar archive until one works.
   2775 _am_tools='gnutar  pax cpio none'
   2776 
   2777 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2778 
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 # Initialize libtool
   2786 case `pwd` in
   2787   *\ * | *\	*)
   2788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2789 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2790 esac
   2791 
   2792 
   2793 
   2794 macro_version='2.4.2'
   2795 macro_revision='1.3337'
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 
   2809 ltmain="$ac_aux_dir/ltmain.sh"
   2810 
   2811 # Make sure we can run config.sub.
   2812 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2813   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2814 
   2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2816 $as_echo_n "checking build system type... " >&6; }
   2817 if ${ac_cv_build+:} false; then :
   2818   $as_echo_n "(cached) " >&6
   2819 else
   2820   ac_build_alias=$build_alias
   2821 test "x$ac_build_alias" = x &&
   2822   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2823 test "x$ac_build_alias" = x &&
   2824   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2825 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2826   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2827 
   2828 fi
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2830 $as_echo "$ac_cv_build" >&6; }
   2831 case $ac_cv_build in
   2832 *-*-*) ;;
   2833 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2834 esac
   2835 build=$ac_cv_build
   2836 ac_save_IFS=$IFS; IFS='-'
   2837 set x $ac_cv_build
   2838 shift
   2839 build_cpu=$1
   2840 build_vendor=$2
   2841 shift; shift
   2842 # Remember, the first character of IFS is used to create $*,
   2843 # except with old shells:
   2844 build_os=$*
   2845 IFS=$ac_save_IFS
   2846 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2847 
   2848 
   2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2850 $as_echo_n "checking host system type... " >&6; }
   2851 if ${ac_cv_host+:} false; then :
   2852   $as_echo_n "(cached) " >&6
   2853 else
   2854   if test "x$host_alias" = x; then
   2855   ac_cv_host=$ac_cv_build
   2856 else
   2857   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2858     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2859 fi
   2860 
   2861 fi
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2863 $as_echo "$ac_cv_host" >&6; }
   2864 case $ac_cv_host in
   2865 *-*-*) ;;
   2866 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2867 esac
   2868 host=$ac_cv_host
   2869 ac_save_IFS=$IFS; IFS='-'
   2870 set x $ac_cv_host
   2871 shift
   2872 host_cpu=$1
   2873 host_vendor=$2
   2874 shift; shift
   2875 # Remember, the first character of IFS is used to create $*,
   2876 # except with old shells:
   2877 host_os=$*
   2878 IFS=$ac_save_IFS
   2879 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2880 
   2881 
   2882 # Backslashify metacharacters that are still active within
   2883 # double-quoted strings.
   2884 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2885 
   2886 # Same as above, but do not quote variable references.
   2887 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2888 
   2889 # Sed substitution to delay expansion of an escaped shell variable in a
   2890 # double_quote_subst'ed string.
   2891 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2892 
   2893 # Sed substitution to delay expansion of an escaped single quote.
   2894 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2895 
   2896 # Sed substitution to avoid accidental globbing in evaled expressions
   2897 no_glob_subst='s/\*/\\\*/g'
   2898 
   2899 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2900 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2901 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2902 
   2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2904 $as_echo_n "checking how to print strings... " >&6; }
   2905 # Test print first, because it will be a builtin if present.
   2906 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2907    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2908   ECHO='print -r --'
   2909 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2910   ECHO='printf %s\n'
   2911 else
   2912   # Use this function as a fallback that always works.
   2913   func_fallback_echo ()
   2914   {
   2915     eval 'cat <<_LTECHO_EOF
   2916 $1
   2917 _LTECHO_EOF'
   2918   }
   2919   ECHO='func_fallback_echo'
   2920 fi
   2921 
   2922 # func_echo_all arg...
   2923 # Invoke $ECHO with all args, space-separated.
   2924 func_echo_all ()
   2925 {
   2926     $ECHO ""
   2927 }
   2928 
   2929 case "$ECHO" in
   2930   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2931 $as_echo "printf" >&6; } ;;
   2932   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2933 $as_echo "print -r" >&6; } ;;
   2934   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2935 $as_echo "cat" >&6; } ;;
   2936 esac
   2937 
   2938 
   2939 
   2940 
   2941 
   2942 
   2943 
   2944 
   2945 
   2946 
   2947 
   2948 
   2949 
   2950 
   2951 DEPDIR="${am__leading_dot}deps"
   2952 
   2953 ac_config_commands="$ac_config_commands depfiles"
   2954 
   2955 
   2956 am_make=${MAKE-make}
   2957 cat > confinc << 'END'
   2958 am__doit:
   2959 	@echo this is the am__doit target
   2960 .PHONY: am__doit
   2961 END
   2962 # If we don't find an include directive, just comment out the code.
   2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2964 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2965 am__include="#"
   2966 am__quote=
   2967 _am_result=none
   2968 # First try GNU make style include.
   2969 echo "include confinc" > confmf
   2970 # Ignore all kinds of additional output from 'make'.
   2971 case `$am_make -s -f confmf 2> /dev/null` in #(
   2972 *the\ am__doit\ target*)
   2973   am__include=include
   2974   am__quote=
   2975   _am_result=GNU
   2976   ;;
   2977 esac
   2978 # Now try BSD make style include.
   2979 if test "$am__include" = "#"; then
   2980    echo '.include "confinc"' > confmf
   2981    case `$am_make -s -f confmf 2> /dev/null` in #(
   2982    *the\ am__doit\ target*)
   2983      am__include=.include
   2984      am__quote="\""
   2985      _am_result=BSD
   2986      ;;
   2987    esac
   2988 fi
   2989 
   2990 
   2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2992 $as_echo "$_am_result" >&6; }
   2993 rm -f confinc confmf
   2994 
   2995 # Check whether --enable-dependency-tracking was given.
   2996 if test "${enable_dependency_tracking+set}" = set; then :
   2997   enableval=$enable_dependency_tracking;
   2998 fi
   2999 
   3000 if test "x$enable_dependency_tracking" != xno; then
   3001   am_depcomp="$ac_aux_dir/depcomp"
   3002   AMDEPBACKSLASH='\'
   3003   am__nodep='_no'
   3004 fi
   3005  if test "x$enable_dependency_tracking" != xno; then
   3006   AMDEP_TRUE=
   3007   AMDEP_FALSE='#'
   3008 else
   3009   AMDEP_TRUE='#'
   3010   AMDEP_FALSE=
   3011 fi
   3012 
   3013 
   3014 ac_ext=c
   3015 ac_cpp='$CPP $CPPFLAGS'
   3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3019 if test -n "$ac_tool_prefix"; then
   3020   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3021 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3023 $as_echo_n "checking for $ac_word... " >&6; }
   3024 if ${ac_cv_prog_CC+:} false; then :
   3025   $as_echo_n "(cached) " >&6
   3026 else
   3027   if test -n "$CC"; then
   3028   ac_cv_prog_CC="$CC" # Let the user override the test.
   3029 else
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035     for ac_exec_ext in '' $ac_executable_extensions; do
   3036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3037     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3039     break 2
   3040   fi
   3041 done
   3042   done
   3043 IFS=$as_save_IFS
   3044 
   3045 fi
   3046 fi
   3047 CC=$ac_cv_prog_CC
   3048 if test -n "$CC"; then
   3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3050 $as_echo "$CC" >&6; }
   3051 else
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3053 $as_echo "no" >&6; }
   3054 fi
   3055 
   3056 
   3057 fi
   3058 if test -z "$ac_cv_prog_CC"; then
   3059   ac_ct_CC=$CC
   3060   # Extract the first word of "gcc", so it can be a program name with args.
   3061 set dummy gcc; ac_word=$2
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3063 $as_echo_n "checking for $ac_word... " >&6; }
   3064 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   if test -n "$ac_ct_CC"; then
   3068   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3069 else
   3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3071 for as_dir in $PATH
   3072 do
   3073   IFS=$as_save_IFS
   3074   test -z "$as_dir" && as_dir=.
   3075     for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3077     ac_cv_prog_ac_ct_CC="gcc"
   3078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082   done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi
   3086 fi
   3087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3088 if test -n "$ac_ct_CC"; then
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3090 $as_echo "$ac_ct_CC" >&6; }
   3091 else
   3092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3093 $as_echo "no" >&6; }
   3094 fi
   3095 
   3096   if test "x$ac_ct_CC" = x; then
   3097     CC=""
   3098   else
   3099     case $cross_compiling:$ac_tool_warned in
   3100 yes:)
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3103 ac_tool_warned=yes ;;
   3104 esac
   3105     CC=$ac_ct_CC
   3106   fi
   3107 else
   3108   CC="$ac_cv_prog_CC"
   3109 fi
   3110 
   3111 if test -z "$CC"; then
   3112           if test -n "$ac_tool_prefix"; then
   3113     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3114 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3116 $as_echo_n "checking for $ac_word... " >&6; }
   3117 if ${ac_cv_prog_CC+:} false; then :
   3118   $as_echo_n "(cached) " >&6
   3119 else
   3120   if test -n "$CC"; then
   3121   ac_cv_prog_CC="$CC" # Let the user override the test.
   3122 else
   3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3124 for as_dir in $PATH
   3125 do
   3126   IFS=$as_save_IFS
   3127   test -z "$as_dir" && as_dir=.
   3128     for ac_exec_ext in '' $ac_executable_extensions; do
   3129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3130     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3132     break 2
   3133   fi
   3134 done
   3135   done
   3136 IFS=$as_save_IFS
   3137 
   3138 fi
   3139 fi
   3140 CC=$ac_cv_prog_CC
   3141 if test -n "$CC"; then
   3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3143 $as_echo "$CC" >&6; }
   3144 else
   3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3146 $as_echo "no" >&6; }
   3147 fi
   3148 
   3149 
   3150   fi
   3151 fi
   3152 if test -z "$CC"; then
   3153   # Extract the first word of "cc", so it can be a program name with args.
   3154 set dummy cc; ac_word=$2
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3156 $as_echo_n "checking for $ac_word... " >&6; }
   3157 if ${ac_cv_prog_CC+:} false; then :
   3158   $as_echo_n "(cached) " >&6
   3159 else
   3160   if test -n "$CC"; then
   3161   ac_cv_prog_CC="$CC" # Let the user override the test.
   3162 else
   3163   ac_prog_rejected=no
   3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3165 for as_dir in $PATH
   3166 do
   3167   IFS=$as_save_IFS
   3168   test -z "$as_dir" && as_dir=.
   3169     for ac_exec_ext in '' $ac_executable_extensions; do
   3170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3171     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3172        ac_prog_rejected=yes
   3173        continue
   3174      fi
   3175     ac_cv_prog_CC="cc"
   3176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3177     break 2
   3178   fi
   3179 done
   3180   done
   3181 IFS=$as_save_IFS
   3182 
   3183 if test $ac_prog_rejected = yes; then
   3184   # We found a bogon in the path, so make sure we never use it.
   3185   set dummy $ac_cv_prog_CC
   3186   shift
   3187   if test $# != 0; then
   3188     # We chose a different compiler from the bogus one.
   3189     # However, it has the same basename, so the bogon will be chosen
   3190     # first if we set CC to just the basename; use the full file name.
   3191     shift
   3192     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3193   fi
   3194 fi
   3195 fi
   3196 fi
   3197 CC=$ac_cv_prog_CC
   3198 if test -n "$CC"; then
   3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3200 $as_echo "$CC" >&6; }
   3201 else
   3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3203 $as_echo "no" >&6; }
   3204 fi
   3205 
   3206 
   3207 fi
   3208 if test -z "$CC"; then
   3209   if test -n "$ac_tool_prefix"; then
   3210   for ac_prog in cl.exe
   3211   do
   3212     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3215 $as_echo_n "checking for $ac_word... " >&6; }
   3216 if ${ac_cv_prog_CC+:} false; then :
   3217   $as_echo_n "(cached) " >&6
   3218 else
   3219   if test -n "$CC"; then
   3220   ac_cv_prog_CC="$CC" # Let the user override the test.
   3221 else
   3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3223 for as_dir in $PATH
   3224 do
   3225   IFS=$as_save_IFS
   3226   test -z "$as_dir" && as_dir=.
   3227     for ac_exec_ext in '' $ac_executable_extensions; do
   3228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3229     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3231     break 2
   3232   fi
   3233 done
   3234   done
   3235 IFS=$as_save_IFS
   3236 
   3237 fi
   3238 fi
   3239 CC=$ac_cv_prog_CC
   3240 if test -n "$CC"; then
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3242 $as_echo "$CC" >&6; }
   3243 else
   3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3245 $as_echo "no" >&6; }
   3246 fi
   3247 
   3248 
   3249     test -n "$CC" && break
   3250   done
   3251 fi
   3252 if test -z "$CC"; then
   3253   ac_ct_CC=$CC
   3254   for ac_prog in cl.exe
   3255 do
   3256   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3257 set dummy $ac_prog; ac_word=$2
   3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3259 $as_echo_n "checking for $ac_word... " >&6; }
   3260 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3261   $as_echo_n "(cached) " >&6
   3262 else
   3263   if test -n "$ac_ct_CC"; then
   3264   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3265 else
   3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3267 for as_dir in $PATH
   3268 do
   3269   IFS=$as_save_IFS
   3270   test -z "$as_dir" && as_dir=.
   3271     for ac_exec_ext in '' $ac_executable_extensions; do
   3272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3273     ac_cv_prog_ac_ct_CC="$ac_prog"
   3274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3275     break 2
   3276   fi
   3277 done
   3278   done
   3279 IFS=$as_save_IFS
   3280 
   3281 fi
   3282 fi
   3283 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3284 if test -n "$ac_ct_CC"; then
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3286 $as_echo "$ac_ct_CC" >&6; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3289 $as_echo "no" >&6; }
   3290 fi
   3291 
   3292 
   3293   test -n "$ac_ct_CC" && break
   3294 done
   3295 
   3296   if test "x$ac_ct_CC" = x; then
   3297     CC=""
   3298   else
   3299     case $cross_compiling:$ac_tool_warned in
   3300 yes:)
   3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3303 ac_tool_warned=yes ;;
   3304 esac
   3305     CC=$ac_ct_CC
   3306   fi
   3307 fi
   3308 
   3309 fi
   3310 
   3311 
   3312 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3314 as_fn_error $? "no acceptable C compiler found in \$PATH
   3315 See \`config.log' for more details" "$LINENO" 5; }
   3316 
   3317 # Provide some information about the compiler.
   3318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3319 set X $ac_compile
   3320 ac_compiler=$2
   3321 for ac_option in --version -v -V -qversion; do
   3322   { { ac_try="$ac_compiler $ac_option >&5"
   3323 case "(($ac_try" in
   3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3325   *) ac_try_echo=$ac_try;;
   3326 esac
   3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3328 $as_echo "$ac_try_echo"; } >&5
   3329   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3330   ac_status=$?
   3331   if test -s conftest.err; then
   3332     sed '10a\
   3333 ... rest of stderr output deleted ...
   3334          10q' conftest.err >conftest.er1
   3335     cat conftest.er1 >&5
   3336   fi
   3337   rm -f conftest.er1 conftest.err
   3338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3339   test $ac_status = 0; }
   3340 done
   3341 
   3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3343 /* end confdefs.h.  */
   3344 
   3345 int
   3346 main ()
   3347 {
   3348 
   3349   ;
   3350   return 0;
   3351 }
   3352 _ACEOF
   3353 ac_clean_files_save=$ac_clean_files
   3354 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3355 # Try to create an executable without -o first, disregard a.out.
   3356 # It will help us diagnose broken compilers, and finding out an intuition
   3357 # of exeext.
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3359 $as_echo_n "checking whether the C compiler works... " >&6; }
   3360 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3361 
   3362 # The possible output files:
   3363 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3364 
   3365 ac_rmfiles=
   3366 for ac_file in $ac_files
   3367 do
   3368   case $ac_file in
   3369     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3370     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3371   esac
   3372 done
   3373 rm -f $ac_rmfiles
   3374 
   3375 if { { ac_try="$ac_link_default"
   3376 case "(($ac_try" in
   3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3378   *) ac_try_echo=$ac_try;;
   3379 esac
   3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3381 $as_echo "$ac_try_echo"; } >&5
   3382   (eval "$ac_link_default") 2>&5
   3383   ac_status=$?
   3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3385   test $ac_status = 0; }; then :
   3386   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3388 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3389 # so that the user can short-circuit this test for compilers unknown to
   3390 # Autoconf.
   3391 for ac_file in $ac_files ''
   3392 do
   3393   test -f "$ac_file" || continue
   3394   case $ac_file in
   3395     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3396 	;;
   3397     [ab].out )
   3398 	# We found the default executable, but exeext='' is most
   3399 	# certainly right.
   3400 	break;;
   3401     *.* )
   3402 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3403 	then :; else
   3404 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3405 	fi
   3406 	# We set ac_cv_exeext here because the later test for it is not
   3407 	# safe: cross compilers may not add the suffix if given an `-o'
   3408 	# argument, so we may need to know it at that point already.
   3409 	# Even if this section looks crufty: it has the advantage of
   3410 	# actually working.
   3411 	break;;
   3412     * )
   3413 	break;;
   3414   esac
   3415 done
   3416 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3417 
   3418 else
   3419   ac_file=''
   3420 fi
   3421 if test -z "$ac_file"; then :
   3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 $as_echo "no" >&6; }
   3424 $as_echo "$as_me: failed program was:" >&5
   3425 sed 's/^/| /' conftest.$ac_ext >&5
   3426 
   3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3429 as_fn_error 77 "C compiler cannot create executables
   3430 See \`config.log' for more details" "$LINENO" 5; }
   3431 else
   3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3433 $as_echo "yes" >&6; }
   3434 fi
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3436 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3438 $as_echo "$ac_file" >&6; }
   3439 ac_exeext=$ac_cv_exeext
   3440 
   3441 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3442 ac_clean_files=$ac_clean_files_save
   3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3444 $as_echo_n "checking for suffix of executables... " >&6; }
   3445 if { { ac_try="$ac_link"
   3446 case "(($ac_try" in
   3447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3448   *) ac_try_echo=$ac_try;;
   3449 esac
   3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3451 $as_echo "$ac_try_echo"; } >&5
   3452   (eval "$ac_link") 2>&5
   3453   ac_status=$?
   3454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3455   test $ac_status = 0; }; then :
   3456   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3457 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3458 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3459 # `rm'.
   3460 for ac_file in conftest.exe conftest conftest.*; do
   3461   test -f "$ac_file" || continue
   3462   case $ac_file in
   3463     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3464     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3465 	  break;;
   3466     * ) break;;
   3467   esac
   3468 done
   3469 else
   3470   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3472 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3473 See \`config.log' for more details" "$LINENO" 5; }
   3474 fi
   3475 rm -f conftest conftest$ac_cv_exeext
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3477 $as_echo "$ac_cv_exeext" >&6; }
   3478 
   3479 rm -f conftest.$ac_ext
   3480 EXEEXT=$ac_cv_exeext
   3481 ac_exeext=$EXEEXT
   3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3483 /* end confdefs.h.  */
   3484 #include <stdio.h>
   3485 int
   3486 main ()
   3487 {
   3488 FILE *f = fopen ("conftest.out", "w");
   3489  return ferror (f) || fclose (f) != 0;
   3490 
   3491   ;
   3492   return 0;
   3493 }
   3494 _ACEOF
   3495 ac_clean_files="$ac_clean_files conftest.out"
   3496 # Check that the compiler produces executables we can run.  If not, either
   3497 # the compiler is broken, or we cross compile.
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3499 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3500 if test "$cross_compiling" != yes; then
   3501   { { ac_try="$ac_link"
   3502 case "(($ac_try" in
   3503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3504   *) ac_try_echo=$ac_try;;
   3505 esac
   3506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3507 $as_echo "$ac_try_echo"; } >&5
   3508   (eval "$ac_link") 2>&5
   3509   ac_status=$?
   3510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3511   test $ac_status = 0; }
   3512   if { ac_try='./conftest$ac_cv_exeext'
   3513   { { case "(($ac_try" in
   3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3515   *) ac_try_echo=$ac_try;;
   3516 esac
   3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3518 $as_echo "$ac_try_echo"; } >&5
   3519   (eval "$ac_try") 2>&5
   3520   ac_status=$?
   3521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3522   test $ac_status = 0; }; }; then
   3523     cross_compiling=no
   3524   else
   3525     if test "$cross_compiling" = maybe; then
   3526 	cross_compiling=yes
   3527     else
   3528 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3530 as_fn_error $? "cannot run C compiled programs.
   3531 If you meant to cross compile, use \`--host'.
   3532 See \`config.log' for more details" "$LINENO" 5; }
   3533     fi
   3534   fi
   3535 fi
   3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3537 $as_echo "$cross_compiling" >&6; }
   3538 
   3539 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3540 ac_clean_files=$ac_clean_files_save
   3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3542 $as_echo_n "checking for suffix of object files... " >&6; }
   3543 if ${ac_cv_objext+:} false; then :
   3544   $as_echo_n "(cached) " >&6
   3545 else
   3546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3547 /* end confdefs.h.  */
   3548 
   3549 int
   3550 main ()
   3551 {
   3552 
   3553   ;
   3554   return 0;
   3555 }
   3556 _ACEOF
   3557 rm -f conftest.o conftest.obj
   3558 if { { ac_try="$ac_compile"
   3559 case "(($ac_try" in
   3560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3561   *) ac_try_echo=$ac_try;;
   3562 esac
   3563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3564 $as_echo "$ac_try_echo"; } >&5
   3565   (eval "$ac_compile") 2>&5
   3566   ac_status=$?
   3567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3568   test $ac_status = 0; }; then :
   3569   for ac_file in conftest.o conftest.obj conftest.*; do
   3570   test -f "$ac_file" || continue;
   3571   case $ac_file in
   3572     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3573     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3574        break;;
   3575   esac
   3576 done
   3577 else
   3578   $as_echo "$as_me: failed program was:" >&5
   3579 sed 's/^/| /' conftest.$ac_ext >&5
   3580 
   3581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3583 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3584 See \`config.log' for more details" "$LINENO" 5; }
   3585 fi
   3586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3587 fi
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3589 $as_echo "$ac_cv_objext" >&6; }
   3590 OBJEXT=$ac_cv_objext
   3591 ac_objext=$OBJEXT
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3594 if ${ac_cv_c_compiler_gnu+:} false; then :
   3595   $as_echo_n "(cached) " >&6
   3596 else
   3597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3598 /* end confdefs.h.  */
   3599 
   3600 int
   3601 main ()
   3602 {
   3603 #ifndef __GNUC__
   3604        choke me
   3605 #endif
   3606 
   3607   ;
   3608   return 0;
   3609 }
   3610 _ACEOF
   3611 if ac_fn_c_try_compile "$LINENO"; then :
   3612   ac_compiler_gnu=yes
   3613 else
   3614   ac_compiler_gnu=no
   3615 fi
   3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3618 
   3619 fi
   3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3621 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3622 if test $ac_compiler_gnu = yes; then
   3623   GCC=yes
   3624 else
   3625   GCC=
   3626 fi
   3627 ac_test_CFLAGS=${CFLAGS+set}
   3628 ac_save_CFLAGS=$CFLAGS
   3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3630 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3631 if ${ac_cv_prog_cc_g+:} false; then :
   3632   $as_echo_n "(cached) " >&6
   3633 else
   3634   ac_save_c_werror_flag=$ac_c_werror_flag
   3635    ac_c_werror_flag=yes
   3636    ac_cv_prog_cc_g=no
   3637    CFLAGS="-g"
   3638    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 
   3641 int
   3642 main ()
   3643 {
   3644 
   3645   ;
   3646   return 0;
   3647 }
   3648 _ACEOF
   3649 if ac_fn_c_try_compile "$LINENO"; then :
   3650   ac_cv_prog_cc_g=yes
   3651 else
   3652   CFLAGS=""
   3653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 
   3656 int
   3657 main ()
   3658 {
   3659 
   3660   ;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 if ac_fn_c_try_compile "$LINENO"; then :
   3665 
   3666 else
   3667   ac_c_werror_flag=$ac_save_c_werror_flag
   3668 	 CFLAGS="-g"
   3669 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 
   3672 int
   3673 main ()
   3674 {
   3675 
   3676   ;
   3677   return 0;
   3678 }
   3679 _ACEOF
   3680 if ac_fn_c_try_compile "$LINENO"; then :
   3681   ac_cv_prog_cc_g=yes
   3682 fi
   3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3684 fi
   3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3686 fi
   3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3688    ac_c_werror_flag=$ac_save_c_werror_flag
   3689 fi
   3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3691 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3692 if test "$ac_test_CFLAGS" = set; then
   3693   CFLAGS=$ac_save_CFLAGS
   3694 elif test $ac_cv_prog_cc_g = yes; then
   3695   if test "$GCC" = yes; then
   3696     CFLAGS="-g -O2"
   3697   else
   3698     CFLAGS="-g"
   3699   fi
   3700 else
   3701   if test "$GCC" = yes; then
   3702     CFLAGS="-O2"
   3703   else
   3704     CFLAGS=
   3705   fi
   3706 fi
   3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3709 if ${ac_cv_prog_cc_c89+:} false; then :
   3710   $as_echo_n "(cached) " >&6
   3711 else
   3712   ac_cv_prog_cc_c89=no
   3713 ac_save_CC=$CC
   3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3715 /* end confdefs.h.  */
   3716 #include <stdarg.h>
   3717 #include <stdio.h>
   3718 struct stat;
   3719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3720 struct buf { int x; };
   3721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3722 static char *e (p, i)
   3723      char **p;
   3724      int i;
   3725 {
   3726   return p[i];
   3727 }
   3728 static char *f (char * (*g) (char **, int), char **p, ...)
   3729 {
   3730   char *s;
   3731   va_list v;
   3732   va_start (v,p);
   3733   s = g (p, va_arg (v,int));
   3734   va_end (v);
   3735   return s;
   3736 }
   3737 
   3738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3739    function prototypes and stuff, but not '\xHH' hex character constants.
   3740    These don't provoke an error unfortunately, instead are silently treated
   3741    as 'x'.  The following induces an error, until -std is added to get
   3742    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3743    array size at least.  It's necessary to write '\x00'==0 to get something
   3744    that's true only with -std.  */
   3745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3746 
   3747 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3748    inside strings and character constants.  */
   3749 #define FOO(x) 'x'
   3750 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3751 
   3752 int test (int i, double x);
   3753 struct s1 {int (*f) (int a);};
   3754 struct s2 {int (*f) (double a);};
   3755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3756 int argc;
   3757 char **argv;
   3758 int
   3759 main ()
   3760 {
   3761 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3762   ;
   3763   return 0;
   3764 }
   3765 _ACEOF
   3766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3767 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3768 do
   3769   CC="$ac_save_CC $ac_arg"
   3770   if ac_fn_c_try_compile "$LINENO"; then :
   3771   ac_cv_prog_cc_c89=$ac_arg
   3772 fi
   3773 rm -f core conftest.err conftest.$ac_objext
   3774   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3775 done
   3776 rm -f conftest.$ac_ext
   3777 CC=$ac_save_CC
   3778 
   3779 fi
   3780 # AC_CACHE_VAL
   3781 case "x$ac_cv_prog_cc_c89" in
   3782   x)
   3783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3784 $as_echo "none needed" >&6; } ;;
   3785   xno)
   3786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3787 $as_echo "unsupported" >&6; } ;;
   3788   *)
   3789     CC="$CC $ac_cv_prog_cc_c89"
   3790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3791 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3792 esac
   3793 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3794 
   3795 fi
   3796 
   3797 ac_ext=c
   3798 ac_cpp='$CPP $CPPFLAGS'
   3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3802 
   3803 depcc="$CC"   am_compiler_list=
   3804 
   3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3806 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3807 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3808   $as_echo_n "(cached) " >&6
   3809 else
   3810   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3811   # We make a subdir and do the tests there.  Otherwise we can end up
   3812   # making bogus files that we don't know about and never remove.  For
   3813   # instance it was reported that on HP-UX the gcc test will end up
   3814   # making a dummy file named 'D' -- because '-MD' means "put the output
   3815   # in D".
   3816   rm -rf conftest.dir
   3817   mkdir conftest.dir
   3818   # Copy depcomp to subdir because otherwise we won't find it if we're
   3819   # using a relative directory.
   3820   cp "$am_depcomp" conftest.dir
   3821   cd conftest.dir
   3822   # We will build objects and dependencies in a subdirectory because
   3823   # it helps to detect inapplicable dependency modes.  For instance
   3824   # both Tru64's cc and ICC support -MD to output dependencies as a
   3825   # side effect of compilation, but ICC will put the dependencies in
   3826   # the current directory while Tru64 will put them in the object
   3827   # directory.
   3828   mkdir sub
   3829 
   3830   am_cv_CC_dependencies_compiler_type=none
   3831   if test "$am_compiler_list" = ""; then
   3832      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3833   fi
   3834   am__universal=false
   3835   case " $depcc " in #(
   3836      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3837      esac
   3838 
   3839   for depmode in $am_compiler_list; do
   3840     # Setup a source with many dependencies, because some compilers
   3841     # like to wrap large dependency lists on column 80 (with \), and
   3842     # we should not choose a depcomp mode which is confused by this.
   3843     #
   3844     # We need to recreate these files for each test, as the compiler may
   3845     # overwrite some of them when testing with obscure command lines.
   3846     # This happens at least with the AIX C compiler.
   3847     : > sub/conftest.c
   3848     for i in 1 2 3 4 5 6; do
   3849       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3850       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3851       # Solaris 10 /bin/sh.
   3852       echo '/* dummy */' > sub/conftst$i.h
   3853     done
   3854     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3855 
   3856     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3857     # mode.  It turns out that the SunPro C++ compiler does not properly
   3858     # handle '-M -o', and we need to detect this.  Also, some Intel
   3859     # versions had trouble with output in subdirs.
   3860     am__obj=sub/conftest.${OBJEXT-o}
   3861     am__minus_obj="-o $am__obj"
   3862     case $depmode in
   3863     gcc)
   3864       # This depmode causes a compiler race in universal mode.
   3865       test "$am__universal" = false || continue
   3866       ;;
   3867     nosideeffect)
   3868       # After this tag, mechanisms are not by side-effect, so they'll
   3869       # only be used when explicitly requested.
   3870       if test "x$enable_dependency_tracking" = xyes; then
   3871 	continue
   3872       else
   3873 	break
   3874       fi
   3875       ;;
   3876     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3877       # This compiler won't grok '-c -o', but also, the minuso test has
   3878       # not run yet.  These depmodes are late enough in the game, and
   3879       # so weak that their functioning should not be impacted.
   3880       am__obj=conftest.${OBJEXT-o}
   3881       am__minus_obj=
   3882       ;;
   3883     none) break ;;
   3884     esac
   3885     if depmode=$depmode \
   3886        source=sub/conftest.c object=$am__obj \
   3887        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3888        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3889          >/dev/null 2>conftest.err &&
   3890        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3891        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3892        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3893        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3894       # icc doesn't choke on unknown options, it will just issue warnings
   3895       # or remarks (even with -Werror).  So we grep stderr for any message
   3896       # that says an option was ignored or not supported.
   3897       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3898       #   icc: Command line warning: ignoring option '-M'; no argument required
   3899       # The diagnosis changed in icc 8.0:
   3900       #   icc: Command line remark: option '-MP' not supported
   3901       if (grep 'ignoring option' conftest.err ||
   3902           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3903         am_cv_CC_dependencies_compiler_type=$depmode
   3904         break
   3905       fi
   3906     fi
   3907   done
   3908 
   3909   cd ..
   3910   rm -rf conftest.dir
   3911 else
   3912   am_cv_CC_dependencies_compiler_type=none
   3913 fi
   3914 
   3915 fi
   3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3917 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3918 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3919 
   3920  if
   3921   test "x$enable_dependency_tracking" != xno \
   3922   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3923   am__fastdepCC_TRUE=
   3924   am__fastdepCC_FALSE='#'
   3925 else
   3926   am__fastdepCC_TRUE='#'
   3927   am__fastdepCC_FALSE=
   3928 fi
   3929 
   3930 
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3932 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3933 if ${ac_cv_path_SED+:} false; then :
   3934   $as_echo_n "(cached) " >&6
   3935 else
   3936             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3937      for ac_i in 1 2 3 4 5 6 7; do
   3938        ac_script="$ac_script$as_nl$ac_script"
   3939      done
   3940      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3941      { ac_script=; unset ac_script;}
   3942      if test -z "$SED"; then
   3943   ac_path_SED_found=false
   3944   # Loop through the user's path and test for each of PROGNAME-LIST
   3945   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3946 for as_dir in $PATH
   3947 do
   3948   IFS=$as_save_IFS
   3949   test -z "$as_dir" && as_dir=.
   3950     for ac_prog in sed gsed; do
   3951     for ac_exec_ext in '' $ac_executable_extensions; do
   3952       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3953       as_fn_executable_p "$ac_path_SED" || continue
   3954 # Check for GNU ac_path_SED and select it if it is found.
   3955   # Check for GNU $ac_path_SED
   3956 case `"$ac_path_SED" --version 2>&1` in
   3957 *GNU*)
   3958   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3959 *)
   3960   ac_count=0
   3961   $as_echo_n 0123456789 >"conftest.in"
   3962   while :
   3963   do
   3964     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3965     mv "conftest.tmp" "conftest.in"
   3966     cp "conftest.in" "conftest.nl"
   3967     $as_echo '' >> "conftest.nl"
   3968     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3969     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3970     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3971     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3972       # Best one so far, save it but keep looking for a better one
   3973       ac_cv_path_SED="$ac_path_SED"
   3974       ac_path_SED_max=$ac_count
   3975     fi
   3976     # 10*(2^10) chars as input seems more than enough
   3977     test $ac_count -gt 10 && break
   3978   done
   3979   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3980 esac
   3981 
   3982       $ac_path_SED_found && break 3
   3983     done
   3984   done
   3985   done
   3986 IFS=$as_save_IFS
   3987   if test -z "$ac_cv_path_SED"; then
   3988     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3989   fi
   3990 else
   3991   ac_cv_path_SED=$SED
   3992 fi
   3993 
   3994 fi
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3996 $as_echo "$ac_cv_path_SED" >&6; }
   3997  SED="$ac_cv_path_SED"
   3998   rm -f conftest.sed
   3999 
   4000 test -z "$SED" && SED=sed
   4001 Xsed="$SED -e 1s/^X//"
   4002 
   4003 
   4004 
   4005 
   4006 
   4007 
   4008 
   4009 
   4010 
   4011 
   4012 
   4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4014 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4015 if ${ac_cv_path_GREP+:} false; then :
   4016   $as_echo_n "(cached) " >&6
   4017 else
   4018   if test -z "$GREP"; then
   4019   ac_path_GREP_found=false
   4020   # Loop through the user's path and test for each of PROGNAME-LIST
   4021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4022 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4023 do
   4024   IFS=$as_save_IFS
   4025   test -z "$as_dir" && as_dir=.
   4026     for ac_prog in grep ggrep; do
   4027     for ac_exec_ext in '' $ac_executable_extensions; do
   4028       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4029       as_fn_executable_p "$ac_path_GREP" || continue
   4030 # Check for GNU ac_path_GREP and select it if it is found.
   4031   # Check for GNU $ac_path_GREP
   4032 case `"$ac_path_GREP" --version 2>&1` in
   4033 *GNU*)
   4034   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4035 *)
   4036   ac_count=0
   4037   $as_echo_n 0123456789 >"conftest.in"
   4038   while :
   4039   do
   4040     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4041     mv "conftest.tmp" "conftest.in"
   4042     cp "conftest.in" "conftest.nl"
   4043     $as_echo 'GREP' >> "conftest.nl"
   4044     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4045     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4046     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4047     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4048       # Best one so far, save it but keep looking for a better one
   4049       ac_cv_path_GREP="$ac_path_GREP"
   4050       ac_path_GREP_max=$ac_count
   4051     fi
   4052     # 10*(2^10) chars as input seems more than enough
   4053     test $ac_count -gt 10 && break
   4054   done
   4055   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4056 esac
   4057 
   4058       $ac_path_GREP_found && break 3
   4059     done
   4060   done
   4061   done
   4062 IFS=$as_save_IFS
   4063   if test -z "$ac_cv_path_GREP"; then
   4064     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4065   fi
   4066 else
   4067   ac_cv_path_GREP=$GREP
   4068 fi
   4069 
   4070 fi
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4072 $as_echo "$ac_cv_path_GREP" >&6; }
   4073  GREP="$ac_cv_path_GREP"
   4074 
   4075 
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4077 $as_echo_n "checking for egrep... " >&6; }
   4078 if ${ac_cv_path_EGREP+:} false; then :
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4082    then ac_cv_path_EGREP="$GREP -E"
   4083    else
   4084      if test -z "$EGREP"; then
   4085   ac_path_EGREP_found=false
   4086   # Loop through the user's path and test for each of PROGNAME-LIST
   4087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4089 do
   4090   IFS=$as_save_IFS
   4091   test -z "$as_dir" && as_dir=.
   4092     for ac_prog in egrep; do
   4093     for ac_exec_ext in '' $ac_executable_extensions; do
   4094       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4095       as_fn_executable_p "$ac_path_EGREP" || continue
   4096 # Check for GNU ac_path_EGREP and select it if it is found.
   4097   # Check for GNU $ac_path_EGREP
   4098 case `"$ac_path_EGREP" --version 2>&1` in
   4099 *GNU*)
   4100   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4101 *)
   4102   ac_count=0
   4103   $as_echo_n 0123456789 >"conftest.in"
   4104   while :
   4105   do
   4106     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4107     mv "conftest.tmp" "conftest.in"
   4108     cp "conftest.in" "conftest.nl"
   4109     $as_echo 'EGREP' >> "conftest.nl"
   4110     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4112     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4113     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4114       # Best one so far, save it but keep looking for a better one
   4115       ac_cv_path_EGREP="$ac_path_EGREP"
   4116       ac_path_EGREP_max=$ac_count
   4117     fi
   4118     # 10*(2^10) chars as input seems more than enough
   4119     test $ac_count -gt 10 && break
   4120   done
   4121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4122 esac
   4123 
   4124       $ac_path_EGREP_found && break 3
   4125     done
   4126   done
   4127   done
   4128 IFS=$as_save_IFS
   4129   if test -z "$ac_cv_path_EGREP"; then
   4130     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4131   fi
   4132 else
   4133   ac_cv_path_EGREP=$EGREP
   4134 fi
   4135 
   4136    fi
   4137 fi
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4139 $as_echo "$ac_cv_path_EGREP" >&6; }
   4140  EGREP="$ac_cv_path_EGREP"
   4141 
   4142 
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4144 $as_echo_n "checking for fgrep... " >&6; }
   4145 if ${ac_cv_path_FGREP+:} false; then :
   4146   $as_echo_n "(cached) " >&6
   4147 else
   4148   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4149    then ac_cv_path_FGREP="$GREP -F"
   4150    else
   4151      if test -z "$FGREP"; then
   4152   ac_path_FGREP_found=false
   4153   # Loop through the user's path and test for each of PROGNAME-LIST
   4154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4156 do
   4157   IFS=$as_save_IFS
   4158   test -z "$as_dir" && as_dir=.
   4159     for ac_prog in fgrep; do
   4160     for ac_exec_ext in '' $ac_executable_extensions; do
   4161       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4162       as_fn_executable_p "$ac_path_FGREP" || continue
   4163 # Check for GNU ac_path_FGREP and select it if it is found.
   4164   # Check for GNU $ac_path_FGREP
   4165 case `"$ac_path_FGREP" --version 2>&1` in
   4166 *GNU*)
   4167   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4168 *)
   4169   ac_count=0
   4170   $as_echo_n 0123456789 >"conftest.in"
   4171   while :
   4172   do
   4173     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4174     mv "conftest.tmp" "conftest.in"
   4175     cp "conftest.in" "conftest.nl"
   4176     $as_echo 'FGREP' >> "conftest.nl"
   4177     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4178     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4179     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4180     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4181       # Best one so far, save it but keep looking for a better one
   4182       ac_cv_path_FGREP="$ac_path_FGREP"
   4183       ac_path_FGREP_max=$ac_count
   4184     fi
   4185     # 10*(2^10) chars as input seems more than enough
   4186     test $ac_count -gt 10 && break
   4187   done
   4188   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4189 esac
   4190 
   4191       $ac_path_FGREP_found && break 3
   4192     done
   4193   done
   4194   done
   4195 IFS=$as_save_IFS
   4196   if test -z "$ac_cv_path_FGREP"; then
   4197     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4198   fi
   4199 else
   4200   ac_cv_path_FGREP=$FGREP
   4201 fi
   4202 
   4203    fi
   4204 fi
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4206 $as_echo "$ac_cv_path_FGREP" >&6; }
   4207  FGREP="$ac_cv_path_FGREP"
   4208 
   4209 
   4210 test -z "$GREP" && GREP=grep
   4211 
   4212 
   4213 
   4214 
   4215 
   4216 
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 # Check whether --with-gnu-ld was given.
   4231 if test "${with_gnu_ld+set}" = set; then :
   4232   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4233 else
   4234   with_gnu_ld=no
   4235 fi
   4236 
   4237 ac_prog=ld
   4238 if test "$GCC" = yes; then
   4239   # Check if gcc -print-prog-name=ld gives a path.
   4240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4241 $as_echo_n "checking for ld used by $CC... " >&6; }
   4242   case $host in
   4243   *-*-mingw*)
   4244     # gcc leaves a trailing carriage return which upsets mingw
   4245     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4246   *)
   4247     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4248   esac
   4249   case $ac_prog in
   4250     # Accept absolute paths.
   4251     [\\/]* | ?:[\\/]*)
   4252       re_direlt='/[^/][^/]*/\.\./'
   4253       # Canonicalize the pathname of ld
   4254       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4255       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4256 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4257       done
   4258       test -z "$LD" && LD="$ac_prog"
   4259       ;;
   4260   "")
   4261     # If it fails, then pretend we aren't using GCC.
   4262     ac_prog=ld
   4263     ;;
   4264   *)
   4265     # If it is relative, then search for the first ld in PATH.
   4266     with_gnu_ld=unknown
   4267     ;;
   4268   esac
   4269 elif test "$with_gnu_ld" = yes; then
   4270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4271 $as_echo_n "checking for GNU ld... " >&6; }
   4272 else
   4273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4274 $as_echo_n "checking for non-GNU ld... " >&6; }
   4275 fi
   4276 if ${lt_cv_path_LD+:} false; then :
   4277   $as_echo_n "(cached) " >&6
   4278 else
   4279   if test -z "$LD"; then
   4280   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4281   for ac_dir in $PATH; do
   4282     IFS="$lt_save_ifs"
   4283     test -z "$ac_dir" && ac_dir=.
   4284     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4285       lt_cv_path_LD="$ac_dir/$ac_prog"
   4286       # Check to see if the program is GNU ld.  I'd rather use --version,
   4287       # but apparently some variants of GNU ld only accept -v.
   4288       # Break only if it was the GNU/non-GNU ld that we prefer.
   4289       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4290       *GNU* | *'with BFD'*)
   4291 	test "$with_gnu_ld" != no && break
   4292 	;;
   4293       *)
   4294 	test "$with_gnu_ld" != yes && break
   4295 	;;
   4296       esac
   4297     fi
   4298   done
   4299   IFS="$lt_save_ifs"
   4300 else
   4301   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4302 fi
   4303 fi
   4304 
   4305 LD="$lt_cv_path_LD"
   4306 if test -n "$LD"; then
   4307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4308 $as_echo "$LD" >&6; }
   4309 else
   4310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4311 $as_echo "no" >&6; }
   4312 fi
   4313 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4315 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4316 if ${lt_cv_prog_gnu_ld+:} false; then :
   4317   $as_echo_n "(cached) " >&6
   4318 else
   4319   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4320 case `$LD -v 2>&1 </dev/null` in
   4321 *GNU* | *'with BFD'*)
   4322   lt_cv_prog_gnu_ld=yes
   4323   ;;
   4324 *)
   4325   lt_cv_prog_gnu_ld=no
   4326   ;;
   4327 esac
   4328 fi
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4330 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4331 with_gnu_ld=$lt_cv_prog_gnu_ld
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4342 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4343 if ${lt_cv_path_NM+:} false; then :
   4344   $as_echo_n "(cached) " >&6
   4345 else
   4346   if test -n "$NM"; then
   4347   # Let the user override the test.
   4348   lt_cv_path_NM="$NM"
   4349 else
   4350   lt_nm_to_check="${ac_tool_prefix}nm"
   4351   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4352     lt_nm_to_check="$lt_nm_to_check nm"
   4353   fi
   4354   for lt_tmp_nm in $lt_nm_to_check; do
   4355     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4356     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4357       IFS="$lt_save_ifs"
   4358       test -z "$ac_dir" && ac_dir=.
   4359       tmp_nm="$ac_dir/$lt_tmp_nm"
   4360       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4361 	# Check to see if the nm accepts a BSD-compat flag.
   4362 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4363 	#   nm: unknown option "B" ignored
   4364 	# Tru64's nm complains that /dev/null is an invalid object file
   4365 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4366 	*/dev/null* | *'Invalid file or object type'*)
   4367 	  lt_cv_path_NM="$tmp_nm -B"
   4368 	  break
   4369 	  ;;
   4370 	*)
   4371 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4372 	  */dev/null*)
   4373 	    lt_cv_path_NM="$tmp_nm -p"
   4374 	    break
   4375 	    ;;
   4376 	  *)
   4377 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4378 	    continue # so that we can try to find one that supports BSD flags
   4379 	    ;;
   4380 	  esac
   4381 	  ;;
   4382 	esac
   4383       fi
   4384     done
   4385     IFS="$lt_save_ifs"
   4386   done
   4387   : ${lt_cv_path_NM=no}
   4388 fi
   4389 fi
   4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4391 $as_echo "$lt_cv_path_NM" >&6; }
   4392 if test "$lt_cv_path_NM" != "no"; then
   4393   NM="$lt_cv_path_NM"
   4394 else
   4395   # Didn't find any BSD compatible name lister, look for dumpbin.
   4396   if test -n "$DUMPBIN"; then :
   4397     # Let the user override the test.
   4398   else
   4399     if test -n "$ac_tool_prefix"; then
   4400   for ac_prog in dumpbin "link -dump"
   4401   do
   4402     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4405 $as_echo_n "checking for $ac_word... " >&6; }
   4406 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4407   $as_echo_n "(cached) " >&6
   4408 else
   4409   if test -n "$DUMPBIN"; then
   4410   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4411 else
   4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4413 for as_dir in $PATH
   4414 do
   4415   IFS=$as_save_IFS
   4416   test -z "$as_dir" && as_dir=.
   4417     for ac_exec_ext in '' $ac_executable_extensions; do
   4418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4419     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4421     break 2
   4422   fi
   4423 done
   4424   done
   4425 IFS=$as_save_IFS
   4426 
   4427 fi
   4428 fi
   4429 DUMPBIN=$ac_cv_prog_DUMPBIN
   4430 if test -n "$DUMPBIN"; then
   4431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4432 $as_echo "$DUMPBIN" >&6; }
   4433 else
   4434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4435 $as_echo "no" >&6; }
   4436 fi
   4437 
   4438 
   4439     test -n "$DUMPBIN" && break
   4440   done
   4441 fi
   4442 if test -z "$DUMPBIN"; then
   4443   ac_ct_DUMPBIN=$DUMPBIN
   4444   for ac_prog in dumpbin "link -dump"
   4445 do
   4446   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4447 set dummy $ac_prog; ac_word=$2
   4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4449 $as_echo_n "checking for $ac_word... " >&6; }
   4450 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4451   $as_echo_n "(cached) " >&6
   4452 else
   4453   if test -n "$ac_ct_DUMPBIN"; then
   4454   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4455 else
   4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4457 for as_dir in $PATH
   4458 do
   4459   IFS=$as_save_IFS
   4460   test -z "$as_dir" && as_dir=.
   4461     for ac_exec_ext in '' $ac_executable_extensions; do
   4462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4463     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4465     break 2
   4466   fi
   4467 done
   4468   done
   4469 IFS=$as_save_IFS
   4470 
   4471 fi
   4472 fi
   4473 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4474 if test -n "$ac_ct_DUMPBIN"; then
   4475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4476 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4477 else
   4478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4479 $as_echo "no" >&6; }
   4480 fi
   4481 
   4482 
   4483   test -n "$ac_ct_DUMPBIN" && break
   4484 done
   4485 
   4486   if test "x$ac_ct_DUMPBIN" = x; then
   4487     DUMPBIN=":"
   4488   else
   4489     case $cross_compiling:$ac_tool_warned in
   4490 yes:)
   4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4493 ac_tool_warned=yes ;;
   4494 esac
   4495     DUMPBIN=$ac_ct_DUMPBIN
   4496   fi
   4497 fi
   4498 
   4499     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4500     *COFF*)
   4501       DUMPBIN="$DUMPBIN -symbols"
   4502       ;;
   4503     *)
   4504       DUMPBIN=:
   4505       ;;
   4506     esac
   4507   fi
   4508 
   4509   if test "$DUMPBIN" != ":"; then
   4510     NM="$DUMPBIN"
   4511   fi
   4512 fi
   4513 test -z "$NM" && NM=nm
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 
   4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4521 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4522 if ${lt_cv_nm_interface+:} false; then :
   4523   $as_echo_n "(cached) " >&6
   4524 else
   4525   lt_cv_nm_interface="BSD nm"
   4526   echo "int some_variable = 0;" > conftest.$ac_ext
   4527   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4528   (eval "$ac_compile" 2>conftest.err)
   4529   cat conftest.err >&5
   4530   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4531   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4532   cat conftest.err >&5
   4533   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4534   cat conftest.out >&5
   4535   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4536     lt_cv_nm_interface="MS dumpbin"
   4537   fi
   4538   rm -f conftest*
   4539 fi
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4541 $as_echo "$lt_cv_nm_interface" >&6; }
   4542 
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4544 $as_echo_n "checking whether ln -s works... " >&6; }
   4545 LN_S=$as_ln_s
   4546 if test "$LN_S" = "ln -s"; then
   4547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4548 $as_echo "yes" >&6; }
   4549 else
   4550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4551 $as_echo "no, using $LN_S" >&6; }
   4552 fi
   4553 
   4554 # find the maximum length of command line arguments
   4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4556 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4557 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4558   $as_echo_n "(cached) " >&6
   4559 else
   4560     i=0
   4561   teststring="ABCD"
   4562 
   4563   case $build_os in
   4564   msdosdjgpp*)
   4565     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4566     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4567     # during glob expansion).  Even if it were fixed, the result of this
   4568     # check would be larger than it should be.
   4569     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4570     ;;
   4571 
   4572   gnu*)
   4573     # Under GNU Hurd, this test is not required because there is
   4574     # no limit to the length of command line arguments.
   4575     # Libtool will interpret -1 as no limit whatsoever
   4576     lt_cv_sys_max_cmd_len=-1;
   4577     ;;
   4578 
   4579   cygwin* | mingw* | cegcc*)
   4580     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4581     # about 5 minutes as the teststring grows exponentially.
   4582     # Worse, since 9x/ME are not pre-emptively multitasking,
   4583     # you end up with a "frozen" computer, even though with patience
   4584     # the test eventually succeeds (with a max line length of 256k).
   4585     # Instead, let's just punt: use the minimum linelength reported by
   4586     # all of the supported platforms: 8192 (on NT/2K/XP).
   4587     lt_cv_sys_max_cmd_len=8192;
   4588     ;;
   4589 
   4590   mint*)
   4591     # On MiNT this can take a long time and run out of memory.
   4592     lt_cv_sys_max_cmd_len=8192;
   4593     ;;
   4594 
   4595   amigaos*)
   4596     # On AmigaOS with pdksh, this test takes hours, literally.
   4597     # So we just punt and use a minimum line length of 8192.
   4598     lt_cv_sys_max_cmd_len=8192;
   4599     ;;
   4600 
   4601   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4602     # This has been around since 386BSD, at least.  Likely further.
   4603     if test -x /sbin/sysctl; then
   4604       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4605     elif test -x /usr/sbin/sysctl; then
   4606       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4607     else
   4608       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4609     fi
   4610     # And add a safety zone
   4611     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4612     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4613     ;;
   4614 
   4615   interix*)
   4616     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4617     lt_cv_sys_max_cmd_len=196608
   4618     ;;
   4619 
   4620   os2*)
   4621     # The test takes a long time on OS/2.
   4622     lt_cv_sys_max_cmd_len=8192
   4623     ;;
   4624 
   4625   osf*)
   4626     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4627     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4628     # nice to cause kernel panics so lets avoid the loop below.
   4629     # First set a reasonable default.
   4630     lt_cv_sys_max_cmd_len=16384
   4631     #
   4632     if test -x /sbin/sysconfig; then
   4633       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4634         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4635       esac
   4636     fi
   4637     ;;
   4638   sco3.2v5*)
   4639     lt_cv_sys_max_cmd_len=102400
   4640     ;;
   4641   sysv5* | sco5v6* | sysv4.2uw2*)
   4642     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4643     if test -n "$kargmax"; then
   4644       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4645     else
   4646       lt_cv_sys_max_cmd_len=32768
   4647     fi
   4648     ;;
   4649   *)
   4650     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4651     if test -n "$lt_cv_sys_max_cmd_len"; then
   4652       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4653       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4654     else
   4655       # Make teststring a little bigger before we do anything with it.
   4656       # a 1K string should be a reasonable start.
   4657       for i in 1 2 3 4 5 6 7 8 ; do
   4658         teststring=$teststring$teststring
   4659       done
   4660       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4661       # If test is not a shell built-in, we'll probably end up computing a
   4662       # maximum length that is only half of the actual maximum length, but
   4663       # we can't tell.
   4664       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4665 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4666 	      test $i != 17 # 1/2 MB should be enough
   4667       do
   4668         i=`expr $i + 1`
   4669         teststring=$teststring$teststring
   4670       done
   4671       # Only check the string length outside the loop.
   4672       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4673       teststring=
   4674       # Add a significant safety factor because C++ compilers can tack on
   4675       # massive amounts of additional arguments before passing them to the
   4676       # linker.  It appears as though 1/2 is a usable value.
   4677       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4678     fi
   4679     ;;
   4680   esac
   4681 
   4682 fi
   4683 
   4684 if test -n $lt_cv_sys_max_cmd_len ; then
   4685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4686 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4687 else
   4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4689 $as_echo "none" >&6; }
   4690 fi
   4691 max_cmd_len=$lt_cv_sys_max_cmd_len
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 : ${CP="cp -f"}
   4699 : ${MV="mv -f"}
   4700 : ${RM="rm -f"}
   4701 
   4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4703 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4704 # Try some XSI features
   4705 xsi_shell=no
   4706 ( _lt_dummy="a/b/c"
   4707   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4708       = c,a/b,b/c, \
   4709     && eval 'test $(( 1 + 1 )) -eq 2 \
   4710     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4711   && xsi_shell=yes
   4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4713 $as_echo "$xsi_shell" >&6; }
   4714 
   4715 
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4717 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4718 lt_shell_append=no
   4719 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4720     >/dev/null 2>&1 \
   4721   && lt_shell_append=yes
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4723 $as_echo "$lt_shell_append" >&6; }
   4724 
   4725 
   4726 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4727   lt_unset=unset
   4728 else
   4729   lt_unset=false
   4730 fi
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 # test EBCDIC or ASCII
   4737 case `echo X|tr X '\101'` in
   4738  A) # ASCII based system
   4739     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4740   lt_SP2NL='tr \040 \012'
   4741   lt_NL2SP='tr \015\012 \040\040'
   4742   ;;
   4743  *) # EBCDIC based system
   4744   lt_SP2NL='tr \100 \n'
   4745   lt_NL2SP='tr \r\n \100\100'
   4746   ;;
   4747 esac
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4758 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4759 if ${lt_cv_to_host_file_cmd+:} false; then :
   4760   $as_echo_n "(cached) " >&6
   4761 else
   4762   case $host in
   4763   *-*-mingw* )
   4764     case $build in
   4765       *-*-mingw* ) # actually msys
   4766         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4767         ;;
   4768       *-*-cygwin* )
   4769         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4770         ;;
   4771       * ) # otherwise, assume *nix
   4772         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4773         ;;
   4774     esac
   4775     ;;
   4776   *-*-cygwin* )
   4777     case $build in
   4778       *-*-mingw* ) # actually msys
   4779         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4780         ;;
   4781       *-*-cygwin* )
   4782         lt_cv_to_host_file_cmd=func_convert_file_noop
   4783         ;;
   4784       * ) # otherwise, assume *nix
   4785         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4786         ;;
   4787     esac
   4788     ;;
   4789   * ) # unhandled hosts (and "normal" native builds)
   4790     lt_cv_to_host_file_cmd=func_convert_file_noop
   4791     ;;
   4792 esac
   4793 
   4794 fi
   4795 
   4796 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4798 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4805 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4806 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4807   $as_echo_n "(cached) " >&6
   4808 else
   4809   #assume ordinary cross tools, or native build.
   4810 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4811 case $host in
   4812   *-*-mingw* )
   4813     case $build in
   4814       *-*-mingw* ) # actually msys
   4815         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4816         ;;
   4817     esac
   4818     ;;
   4819 esac
   4820 
   4821 fi
   4822 
   4823 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4825 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4832 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4833 if ${lt_cv_ld_reload_flag+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   lt_cv_ld_reload_flag='-r'
   4837 fi
   4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4839 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4840 reload_flag=$lt_cv_ld_reload_flag
   4841 case $reload_flag in
   4842 "" | " "*) ;;
   4843 *) reload_flag=" $reload_flag" ;;
   4844 esac
   4845 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4846 case $host_os in
   4847   cygwin* | mingw* | pw32* | cegcc*)
   4848     if test "$GCC" != yes; then
   4849       reload_cmds=false
   4850     fi
   4851     ;;
   4852   darwin*)
   4853     if test "$GCC" = yes; then
   4854       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4855     else
   4856       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4857     fi
   4858     ;;
   4859 esac
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 if test -n "$ac_tool_prefix"; then
   4870   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4871 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4873 $as_echo_n "checking for $ac_word... " >&6; }
   4874 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4875   $as_echo_n "(cached) " >&6
   4876 else
   4877   if test -n "$OBJDUMP"; then
   4878   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4879 else
   4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4881 for as_dir in $PATH
   4882 do
   4883   IFS=$as_save_IFS
   4884   test -z "$as_dir" && as_dir=.
   4885     for ac_exec_ext in '' $ac_executable_extensions; do
   4886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4887     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4889     break 2
   4890   fi
   4891 done
   4892   done
   4893 IFS=$as_save_IFS
   4894 
   4895 fi
   4896 fi
   4897 OBJDUMP=$ac_cv_prog_OBJDUMP
   4898 if test -n "$OBJDUMP"; then
   4899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4900 $as_echo "$OBJDUMP" >&6; }
   4901 else
   4902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4903 $as_echo "no" >&6; }
   4904 fi
   4905 
   4906 
   4907 fi
   4908 if test -z "$ac_cv_prog_OBJDUMP"; then
   4909   ac_ct_OBJDUMP=$OBJDUMP
   4910   # Extract the first word of "objdump", so it can be a program name with args.
   4911 set dummy objdump; ac_word=$2
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4913 $as_echo_n "checking for $ac_word... " >&6; }
   4914 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4915   $as_echo_n "(cached) " >&6
   4916 else
   4917   if test -n "$ac_ct_OBJDUMP"; then
   4918   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4919 else
   4920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4921 for as_dir in $PATH
   4922 do
   4923   IFS=$as_save_IFS
   4924   test -z "$as_dir" && as_dir=.
   4925     for ac_exec_ext in '' $ac_executable_extensions; do
   4926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4927     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4929     break 2
   4930   fi
   4931 done
   4932   done
   4933 IFS=$as_save_IFS
   4934 
   4935 fi
   4936 fi
   4937 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4938 if test -n "$ac_ct_OBJDUMP"; then
   4939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4940 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4941 else
   4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4943 $as_echo "no" >&6; }
   4944 fi
   4945 
   4946   if test "x$ac_ct_OBJDUMP" = x; then
   4947     OBJDUMP="false"
   4948   else
   4949     case $cross_compiling:$ac_tool_warned in
   4950 yes:)
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4953 ac_tool_warned=yes ;;
   4954 esac
   4955     OBJDUMP=$ac_ct_OBJDUMP
   4956   fi
   4957 else
   4958   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4959 fi
   4960 
   4961 test -z "$OBJDUMP" && OBJDUMP=objdump
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4972 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4973 if ${lt_cv_deplibs_check_method+:} false; then :
   4974   $as_echo_n "(cached) " >&6
   4975 else
   4976   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4977 lt_cv_file_magic_test_file=
   4978 lt_cv_deplibs_check_method='unknown'
   4979 # Need to set the preceding variable on all platforms that support
   4980 # interlibrary dependencies.
   4981 # 'none' -- dependencies not supported.
   4982 # `unknown' -- same as none, but documents that we really don't know.
   4983 # 'pass_all' -- all dependencies passed with no checks.
   4984 # 'test_compile' -- check by making test program.
   4985 # 'file_magic [[regex]]' -- check by looking for files in library path
   4986 # which responds to the $file_magic_cmd with a given extended regex.
   4987 # If you have `file' or equivalent on your system and you're not sure
   4988 # whether `pass_all' will *always* work, you probably want this one.
   4989 
   4990 case $host_os in
   4991 aix[4-9]*)
   4992   lt_cv_deplibs_check_method=pass_all
   4993   ;;
   4994 
   4995 beos*)
   4996   lt_cv_deplibs_check_method=pass_all
   4997   ;;
   4998 
   4999 bsdi[45]*)
   5000   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5001   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5002   lt_cv_file_magic_test_file=/shlib/libc.so
   5003   ;;
   5004 
   5005 cygwin*)
   5006   # func_win32_libid is a shell function defined in ltmain.sh
   5007   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5008   lt_cv_file_magic_cmd='func_win32_libid'
   5009   ;;
   5010 
   5011 mingw* | pw32*)
   5012   # Base MSYS/MinGW do not provide the 'file' command needed by
   5013   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5014   # unless we find 'file', for example because we are cross-compiling.
   5015   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5016   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5017     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5018     lt_cv_file_magic_cmd='func_win32_libid'
   5019   else
   5020     # Keep this pattern in sync with the one in func_win32_libid.
   5021     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5022     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5023   fi
   5024   ;;
   5025 
   5026 cegcc*)
   5027   # use the weaker test based on 'objdump'. See mingw*.
   5028   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5029   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5030   ;;
   5031 
   5032 darwin* | rhapsody*)
   5033   lt_cv_deplibs_check_method=pass_all
   5034   ;;
   5035 
   5036 freebsd* | dragonfly*)
   5037   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5038     case $host_cpu in
   5039     i*86 )
   5040       # Not sure whether the presence of OpenBSD here was a mistake.
   5041       # Let's accept both of them until this is cleared up.
   5042       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5043       lt_cv_file_magic_cmd=/usr/bin/file
   5044       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5045       ;;
   5046     esac
   5047   else
   5048     lt_cv_deplibs_check_method=pass_all
   5049   fi
   5050   ;;
   5051 
   5052 gnu*)
   5053   lt_cv_deplibs_check_method=pass_all
   5054   ;;
   5055 
   5056 haiku*)
   5057   lt_cv_deplibs_check_method=pass_all
   5058   ;;
   5059 
   5060 hpux10.20* | hpux11*)
   5061   lt_cv_file_magic_cmd=/usr/bin/file
   5062   case $host_cpu in
   5063   ia64*)
   5064     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5065     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5066     ;;
   5067   hppa*64*)
   5068     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]'
   5069     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5070     ;;
   5071   *)
   5072     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5073     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5074     ;;
   5075   esac
   5076   ;;
   5077 
   5078 interix[3-9]*)
   5079   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5080   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5081   ;;
   5082 
   5083 irix5* | irix6* | nonstopux*)
   5084   case $LD in
   5085   *-32|*"-32 ") libmagic=32-bit;;
   5086   *-n32|*"-n32 ") libmagic=N32;;
   5087   *-64|*"-64 ") libmagic=64-bit;;
   5088   *) libmagic=never-match;;
   5089   esac
   5090   lt_cv_deplibs_check_method=pass_all
   5091   ;;
   5092 
   5093 # This must be glibc/ELF.
   5094 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5095   lt_cv_deplibs_check_method=pass_all
   5096   ;;
   5097 
   5098 netbsd*)
   5099   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5100     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5101   else
   5102     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5103   fi
   5104   ;;
   5105 
   5106 newos6*)
   5107   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5108   lt_cv_file_magic_cmd=/usr/bin/file
   5109   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5110   ;;
   5111 
   5112 *nto* | *qnx*)
   5113   lt_cv_deplibs_check_method=pass_all
   5114   ;;
   5115 
   5116 openbsd*)
   5117   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5118     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5119   else
   5120     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5121   fi
   5122   ;;
   5123 
   5124 osf3* | osf4* | osf5*)
   5125   lt_cv_deplibs_check_method=pass_all
   5126   ;;
   5127 
   5128 rdos*)
   5129   lt_cv_deplibs_check_method=pass_all
   5130   ;;
   5131 
   5132 solaris*)
   5133   lt_cv_deplibs_check_method=pass_all
   5134   ;;
   5135 
   5136 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5137   lt_cv_deplibs_check_method=pass_all
   5138   ;;
   5139 
   5140 sysv4 | sysv4.3*)
   5141   case $host_vendor in
   5142   motorola)
   5143     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]'
   5144     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5145     ;;
   5146   ncr)
   5147     lt_cv_deplibs_check_method=pass_all
   5148     ;;
   5149   sequent)
   5150     lt_cv_file_magic_cmd='/bin/file'
   5151     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5152     ;;
   5153   sni)
   5154     lt_cv_file_magic_cmd='/bin/file'
   5155     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5156     lt_cv_file_magic_test_file=/lib/libc.so
   5157     ;;
   5158   siemens)
   5159     lt_cv_deplibs_check_method=pass_all
   5160     ;;
   5161   pc)
   5162     lt_cv_deplibs_check_method=pass_all
   5163     ;;
   5164   esac
   5165   ;;
   5166 
   5167 tpf*)
   5168   lt_cv_deplibs_check_method=pass_all
   5169   ;;
   5170 esac
   5171 
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5174 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5175 
   5176 file_magic_glob=
   5177 want_nocaseglob=no
   5178 if test "$build" = "$host"; then
   5179   case $host_os in
   5180   mingw* | pw32*)
   5181     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5182       want_nocaseglob=yes
   5183     else
   5184       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5185     fi
   5186     ;;
   5187   esac
   5188 fi
   5189 
   5190 file_magic_cmd=$lt_cv_file_magic_cmd
   5191 deplibs_check_method=$lt_cv_deplibs_check_method
   5192 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 if test -n "$ac_tool_prefix"; then
   5216   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5217 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5219 $as_echo_n "checking for $ac_word... " >&6; }
   5220 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5221   $as_echo_n "(cached) " >&6
   5222 else
   5223   if test -n "$DLLTOOL"; then
   5224   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5225 else
   5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5227 for as_dir in $PATH
   5228 do
   5229   IFS=$as_save_IFS
   5230   test -z "$as_dir" && as_dir=.
   5231     for ac_exec_ext in '' $ac_executable_extensions; do
   5232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5233     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5235     break 2
   5236   fi
   5237 done
   5238   done
   5239 IFS=$as_save_IFS
   5240 
   5241 fi
   5242 fi
   5243 DLLTOOL=$ac_cv_prog_DLLTOOL
   5244 if test -n "$DLLTOOL"; then
   5245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5246 $as_echo "$DLLTOOL" >&6; }
   5247 else
   5248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5249 $as_echo "no" >&6; }
   5250 fi
   5251 
   5252 
   5253 fi
   5254 if test -z "$ac_cv_prog_DLLTOOL"; then
   5255   ac_ct_DLLTOOL=$DLLTOOL
   5256   # Extract the first word of "dlltool", so it can be a program name with args.
   5257 set dummy dlltool; ac_word=$2
   5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5259 $as_echo_n "checking for $ac_word... " >&6; }
   5260 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   if test -n "$ac_ct_DLLTOOL"; then
   5264   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5265 else
   5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5267 for as_dir in $PATH
   5268 do
   5269   IFS=$as_save_IFS
   5270   test -z "$as_dir" && as_dir=.
   5271     for ac_exec_ext in '' $ac_executable_extensions; do
   5272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5273     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5275     break 2
   5276   fi
   5277 done
   5278   done
   5279 IFS=$as_save_IFS
   5280 
   5281 fi
   5282 fi
   5283 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5284 if test -n "$ac_ct_DLLTOOL"; then
   5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5286 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5287 else
   5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5289 $as_echo "no" >&6; }
   5290 fi
   5291 
   5292   if test "x$ac_ct_DLLTOOL" = x; then
   5293     DLLTOOL="false"
   5294   else
   5295     case $cross_compiling:$ac_tool_warned in
   5296 yes:)
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5299 ac_tool_warned=yes ;;
   5300 esac
   5301     DLLTOOL=$ac_ct_DLLTOOL
   5302   fi
   5303 else
   5304   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5305 fi
   5306 
   5307 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5319 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5320 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5321   $as_echo_n "(cached) " >&6
   5322 else
   5323   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5324 
   5325 case $host_os in
   5326 cygwin* | mingw* | pw32* | cegcc*)
   5327   # two different shell functions defined in ltmain.sh
   5328   # decide which to use based on capabilities of $DLLTOOL
   5329   case `$DLLTOOL --help 2>&1` in
   5330   *--identify-strict*)
   5331     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5332     ;;
   5333   *)
   5334     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5335     ;;
   5336   esac
   5337   ;;
   5338 *)
   5339   # fallback: assume linklib IS sharedlib
   5340   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5341   ;;
   5342 esac
   5343 
   5344 fi
   5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5346 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5347 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5348 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 if test -n "$ac_tool_prefix"; then
   5358   for ac_prog in ar
   5359   do
   5360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5363 $as_echo_n "checking for $ac_word... " >&6; }
   5364 if ${ac_cv_prog_AR+:} false; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   if test -n "$AR"; then
   5368   ac_cv_prog_AR="$AR" # Let the user override the test.
   5369 else
   5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5371 for as_dir in $PATH
   5372 do
   5373   IFS=$as_save_IFS
   5374   test -z "$as_dir" && as_dir=.
   5375     for ac_exec_ext in '' $ac_executable_extensions; do
   5376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5377     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5379     break 2
   5380   fi
   5381 done
   5382   done
   5383 IFS=$as_save_IFS
   5384 
   5385 fi
   5386 fi
   5387 AR=$ac_cv_prog_AR
   5388 if test -n "$AR"; then
   5389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5390 $as_echo "$AR" >&6; }
   5391 else
   5392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5393 $as_echo "no" >&6; }
   5394 fi
   5395 
   5396 
   5397     test -n "$AR" && break
   5398   done
   5399 fi
   5400 if test -z "$AR"; then
   5401   ac_ct_AR=$AR
   5402   for ac_prog in ar
   5403 do
   5404   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5405 set dummy $ac_prog; ac_word=$2
   5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5407 $as_echo_n "checking for $ac_word... " >&6; }
   5408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5409   $as_echo_n "(cached) " >&6
   5410 else
   5411   if test -n "$ac_ct_AR"; then
   5412   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5413 else
   5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5415 for as_dir in $PATH
   5416 do
   5417   IFS=$as_save_IFS
   5418   test -z "$as_dir" && as_dir=.
   5419     for ac_exec_ext in '' $ac_executable_extensions; do
   5420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5421     ac_cv_prog_ac_ct_AR="$ac_prog"
   5422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5423     break 2
   5424   fi
   5425 done
   5426   done
   5427 IFS=$as_save_IFS
   5428 
   5429 fi
   5430 fi
   5431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5432 if test -n "$ac_ct_AR"; then
   5433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5434 $as_echo "$ac_ct_AR" >&6; }
   5435 else
   5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5437 $as_echo "no" >&6; }
   5438 fi
   5439 
   5440 
   5441   test -n "$ac_ct_AR" && break
   5442 done
   5443 
   5444   if test "x$ac_ct_AR" = x; then
   5445     AR="false"
   5446   else
   5447     case $cross_compiling:$ac_tool_warned in
   5448 yes:)
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5451 ac_tool_warned=yes ;;
   5452 esac
   5453     AR=$ac_ct_AR
   5454   fi
   5455 fi
   5456 
   5457 : ${AR=ar}
   5458 : ${AR_FLAGS=cru}
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5471 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5472 if ${lt_cv_ar_at_file+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   lt_cv_ar_at_file=no
   5476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5477 /* end confdefs.h.  */
   5478 
   5479 int
   5480 main ()
   5481 {
   5482 
   5483   ;
   5484   return 0;
   5485 }
   5486 _ACEOF
   5487 if ac_fn_c_try_compile "$LINENO"; then :
   5488   echo conftest.$ac_objext > conftest.lst
   5489       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5490       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5491   (eval $lt_ar_try) 2>&5
   5492   ac_status=$?
   5493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5494   test $ac_status = 0; }
   5495       if test "$ac_status" -eq 0; then
   5496 	# Ensure the archiver fails upon bogus file names.
   5497 	rm -f conftest.$ac_objext libconftest.a
   5498 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5499   (eval $lt_ar_try) 2>&5
   5500   ac_status=$?
   5501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5502   test $ac_status = 0; }
   5503 	if test "$ac_status" -ne 0; then
   5504           lt_cv_ar_at_file=@
   5505         fi
   5506       fi
   5507       rm -f conftest.* libconftest.a
   5508 
   5509 fi
   5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5511 
   5512 fi
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5514 $as_echo "$lt_cv_ar_at_file" >&6; }
   5515 
   5516 if test "x$lt_cv_ar_at_file" = xno; then
   5517   archiver_list_spec=
   5518 else
   5519   archiver_list_spec=$lt_cv_ar_at_file
   5520 fi
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 if test -n "$ac_tool_prefix"; then
   5529   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5530 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5532 $as_echo_n "checking for $ac_word... " >&6; }
   5533 if ${ac_cv_prog_STRIP+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   if test -n "$STRIP"; then
   5537   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5538 else
   5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5540 for as_dir in $PATH
   5541 do
   5542   IFS=$as_save_IFS
   5543   test -z "$as_dir" && as_dir=.
   5544     for ac_exec_ext in '' $ac_executable_extensions; do
   5545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5546     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5548     break 2
   5549   fi
   5550 done
   5551   done
   5552 IFS=$as_save_IFS
   5553 
   5554 fi
   5555 fi
   5556 STRIP=$ac_cv_prog_STRIP
   5557 if test -n "$STRIP"; then
   5558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5559 $as_echo "$STRIP" >&6; }
   5560 else
   5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5562 $as_echo "no" >&6; }
   5563 fi
   5564 
   5565 
   5566 fi
   5567 if test -z "$ac_cv_prog_STRIP"; then
   5568   ac_ct_STRIP=$STRIP
   5569   # Extract the first word of "strip", so it can be a program name with args.
   5570 set dummy strip; ac_word=$2
   5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5572 $as_echo_n "checking for $ac_word... " >&6; }
   5573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5574   $as_echo_n "(cached) " >&6
   5575 else
   5576   if test -n "$ac_ct_STRIP"; then
   5577   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5578 else
   5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5580 for as_dir in $PATH
   5581 do
   5582   IFS=$as_save_IFS
   5583   test -z "$as_dir" && as_dir=.
   5584     for ac_exec_ext in '' $ac_executable_extensions; do
   5585   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5586     ac_cv_prog_ac_ct_STRIP="strip"
   5587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5588     break 2
   5589   fi
   5590 done
   5591   done
   5592 IFS=$as_save_IFS
   5593 
   5594 fi
   5595 fi
   5596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5597 if test -n "$ac_ct_STRIP"; then
   5598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5599 $as_echo "$ac_ct_STRIP" >&6; }
   5600 else
   5601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5602 $as_echo "no" >&6; }
   5603 fi
   5604 
   5605   if test "x$ac_ct_STRIP" = x; then
   5606     STRIP=":"
   5607   else
   5608     case $cross_compiling:$ac_tool_warned in
   5609 yes:)
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5612 ac_tool_warned=yes ;;
   5613 esac
   5614     STRIP=$ac_ct_STRIP
   5615   fi
   5616 else
   5617   STRIP="$ac_cv_prog_STRIP"
   5618 fi
   5619 
   5620 test -z "$STRIP" && STRIP=:
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 if test -n "$ac_tool_prefix"; then
   5628   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5631 $as_echo_n "checking for $ac_word... " >&6; }
   5632 if ${ac_cv_prog_RANLIB+:} false; then :
   5633   $as_echo_n "(cached) " >&6
   5634 else
   5635   if test -n "$RANLIB"; then
   5636   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5637 else
   5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5639 for as_dir in $PATH
   5640 do
   5641   IFS=$as_save_IFS
   5642   test -z "$as_dir" && as_dir=.
   5643     for ac_exec_ext in '' $ac_executable_extensions; do
   5644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5645     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5647     break 2
   5648   fi
   5649 done
   5650   done
   5651 IFS=$as_save_IFS
   5652 
   5653 fi
   5654 fi
   5655 RANLIB=$ac_cv_prog_RANLIB
   5656 if test -n "$RANLIB"; then
   5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5658 $as_echo "$RANLIB" >&6; }
   5659 else
   5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5661 $as_echo "no" >&6; }
   5662 fi
   5663 
   5664 
   5665 fi
   5666 if test -z "$ac_cv_prog_RANLIB"; then
   5667   ac_ct_RANLIB=$RANLIB
   5668   # Extract the first word of "ranlib", so it can be a program name with args.
   5669 set dummy ranlib; ac_word=$2
   5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5671 $as_echo_n "checking for $ac_word... " >&6; }
   5672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5673   $as_echo_n "(cached) " >&6
   5674 else
   5675   if test -n "$ac_ct_RANLIB"; then
   5676   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5677 else
   5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5679 for as_dir in $PATH
   5680 do
   5681   IFS=$as_save_IFS
   5682   test -z "$as_dir" && as_dir=.
   5683     for ac_exec_ext in '' $ac_executable_extensions; do
   5684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5685     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5687     break 2
   5688   fi
   5689 done
   5690   done
   5691 IFS=$as_save_IFS
   5692 
   5693 fi
   5694 fi
   5695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5696 if test -n "$ac_ct_RANLIB"; then
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5698 $as_echo "$ac_ct_RANLIB" >&6; }
   5699 else
   5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5701 $as_echo "no" >&6; }
   5702 fi
   5703 
   5704   if test "x$ac_ct_RANLIB" = x; then
   5705     RANLIB=":"
   5706   else
   5707     case $cross_compiling:$ac_tool_warned in
   5708 yes:)
   5709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5711 ac_tool_warned=yes ;;
   5712 esac
   5713     RANLIB=$ac_ct_RANLIB
   5714   fi
   5715 else
   5716   RANLIB="$ac_cv_prog_RANLIB"
   5717 fi
   5718 
   5719 test -z "$RANLIB" && RANLIB=:
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 # Determine commands to create old-style static archives.
   5727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5728 old_postinstall_cmds='chmod 644 $oldlib'
   5729 old_postuninstall_cmds=
   5730 
   5731 if test -n "$RANLIB"; then
   5732   case $host_os in
   5733   openbsd*)
   5734     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5735     ;;
   5736   *)
   5737     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5738     ;;
   5739   esac
   5740   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5741 fi
   5742 
   5743 case $host_os in
   5744   darwin*)
   5745     lock_old_archive_extraction=yes ;;
   5746   *)
   5747     lock_old_archive_extraction=no ;;
   5748 esac
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 # If no C compiler was specified, use CC.
   5789 LTCC=${LTCC-"$CC"}
   5790 
   5791 # If no C compiler flags were specified, use CFLAGS.
   5792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5793 
   5794 # Allow CC to be a program name with arguments.
   5795 compiler=$CC
   5796 
   5797 
   5798 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5802   $as_echo_n "(cached) " >&6
   5803 else
   5804 
   5805 # These are sane defaults that work on at least a few old systems.
   5806 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5807 
   5808 # Character class describing NM global symbol codes.
   5809 symcode='[BCDEGRST]'
   5810 
   5811 # Regexp to match symbols that can be accessed directly from C.
   5812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5813 
   5814 # Define system-specific variables.
   5815 case $host_os in
   5816 aix*)
   5817   symcode='[BCDT]'
   5818   ;;
   5819 cygwin* | mingw* | pw32* | cegcc*)
   5820   symcode='[ABCDGISTW]'
   5821   ;;
   5822 hpux*)
   5823   if test "$host_cpu" = ia64; then
   5824     symcode='[ABCDEGRST]'
   5825   fi
   5826   ;;
   5827 irix* | nonstopux*)
   5828   symcode='[BCDEGRST]'
   5829   ;;
   5830 osf*)
   5831   symcode='[BCDEGQRST]'
   5832   ;;
   5833 solaris*)
   5834   symcode='[BDRT]'
   5835   ;;
   5836 sco3.2v5*)
   5837   symcode='[DT]'
   5838   ;;
   5839 sysv4.2uw2*)
   5840   symcode='[DT]'
   5841   ;;
   5842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5843   symcode='[ABDT]'
   5844   ;;
   5845 sysv4)
   5846   symcode='[DFNSTU]'
   5847   ;;
   5848 esac
   5849 
   5850 # If we're using GNU nm, then use its standard symbol codes.
   5851 case `$NM -V 2>&1` in
   5852 *GNU* | *'with BFD'*)
   5853   symcode='[ABCDGIRSTW]' ;;
   5854 esac
   5855 
   5856 # Transform an extracted symbol line into a proper C declaration.
   5857 # Some systems (esp. on ia64) link data and code symbols differently,
   5858 # so use this general approach.
   5859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5860 
   5861 # Transform an extracted symbol line into symbol name and symbol address
   5862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5863 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5864 
   5865 # Handle CRLF in mingw tool chain
   5866 opt_cr=
   5867 case $build_os in
   5868 mingw*)
   5869   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5870   ;;
   5871 esac
   5872 
   5873 # Try without a prefix underscore, then with it.
   5874 for ac_symprfx in "" "_"; do
   5875 
   5876   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5877   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5878 
   5879   # Write the raw and C identifiers.
   5880   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5881     # Fake it for dumpbin and say T for any non-static function
   5882     # and D for any global variable.
   5883     # Also find C++ and __fastcall symbols from MSVC++,
   5884     # which start with @ or ?.
   5885     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5886 "     {last_section=section; section=\$ 3};"\
   5887 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5889 "     \$ 0!~/External *\|/{next};"\
   5890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5891 "     {if(hide[section]) next};"\
   5892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5896 "     ' prfx=^$ac_symprfx"
   5897   else
   5898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5899   fi
   5900   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5901 
   5902   # Check to see that the pipe works correctly.
   5903   pipe_works=no
   5904 
   5905   rm -f conftest*
   5906   cat > conftest.$ac_ext <<_LT_EOF
   5907 #ifdef __cplusplus
   5908 extern "C" {
   5909 #endif
   5910 char nm_test_var;
   5911 void nm_test_func(void);
   5912 void nm_test_func(void){}
   5913 #ifdef __cplusplus
   5914 }
   5915 #endif
   5916 int main(){nm_test_var='a';nm_test_func();return(0);}
   5917 _LT_EOF
   5918 
   5919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5920   (eval $ac_compile) 2>&5
   5921   ac_status=$?
   5922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5923   test $ac_status = 0; }; then
   5924     # Now try to grab the symbols.
   5925     nlist=conftest.nm
   5926     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5927   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5928   ac_status=$?
   5929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5930   test $ac_status = 0; } && test -s "$nlist"; then
   5931       # Try sorting and uniquifying the output.
   5932       if sort "$nlist" | uniq > "$nlist"T; then
   5933 	mv -f "$nlist"T "$nlist"
   5934       else
   5935 	rm -f "$nlist"T
   5936       fi
   5937 
   5938       # Make sure that we snagged all the symbols we need.
   5939       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5940 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5941 	  cat <<_LT_EOF > conftest.$ac_ext
   5942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5945    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5946 # define LT_DLSYM_CONST
   5947 #elif defined(__osf__)
   5948 /* This system does not cope well with relocations in const data.  */
   5949 # define LT_DLSYM_CONST
   5950 #else
   5951 # define LT_DLSYM_CONST const
   5952 #endif
   5953 
   5954 #ifdef __cplusplus
   5955 extern "C" {
   5956 #endif
   5957 
   5958 _LT_EOF
   5959 	  # Now generate the symbol file.
   5960 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5961 
   5962 	  cat <<_LT_EOF >> conftest.$ac_ext
   5963 
   5964 /* The mapping between symbol names and symbols.  */
   5965 LT_DLSYM_CONST struct {
   5966   const char *name;
   5967   void       *address;
   5968 }
   5969 lt__PROGRAM__LTX_preloaded_symbols[] =
   5970 {
   5971   { "@PROGRAM@", (void *) 0 },
   5972 _LT_EOF
   5973 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5974 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5975   {0, (void *) 0}
   5976 };
   5977 
   5978 /* This works around a problem in FreeBSD linker */
   5979 #ifdef FREEBSD_WORKAROUND
   5980 static const void *lt_preloaded_setup() {
   5981   return lt__PROGRAM__LTX_preloaded_symbols;
   5982 }
   5983 #endif
   5984 
   5985 #ifdef __cplusplus
   5986 }
   5987 #endif
   5988 _LT_EOF
   5989 	  # Now try linking the two files.
   5990 	  mv conftest.$ac_objext conftstm.$ac_objext
   5991 	  lt_globsym_save_LIBS=$LIBS
   5992 	  lt_globsym_save_CFLAGS=$CFLAGS
   5993 	  LIBS="conftstm.$ac_objext"
   5994 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5995 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5996   (eval $ac_link) 2>&5
   5997   ac_status=$?
   5998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5999   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6000 	    pipe_works=yes
   6001 	  fi
   6002 	  LIBS=$lt_globsym_save_LIBS
   6003 	  CFLAGS=$lt_globsym_save_CFLAGS
   6004 	else
   6005 	  echo "cannot find nm_test_func in $nlist" >&5
   6006 	fi
   6007       else
   6008 	echo "cannot find nm_test_var in $nlist" >&5
   6009       fi
   6010     else
   6011       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6012     fi
   6013   else
   6014     echo "$progname: failed program was:" >&5
   6015     cat conftest.$ac_ext >&5
   6016   fi
   6017   rm -rf conftest* conftst*
   6018 
   6019   # Do not use the global_symbol_pipe unless it works.
   6020   if test "$pipe_works" = yes; then
   6021     break
   6022   else
   6023     lt_cv_sys_global_symbol_pipe=
   6024   fi
   6025 done
   6026 
   6027 fi
   6028 
   6029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6030   lt_cv_sys_global_symbol_to_cdecl=
   6031 fi
   6032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6034 $as_echo "failed" >&6; }
   6035 else
   6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6037 $as_echo "ok" >&6; }
   6038 fi
   6039 
   6040 # Response file support.
   6041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6042   nm_file_list_spec='@'
   6043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6044   nm_file_list_spec='@'
   6045 fi
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6074 $as_echo_n "checking for sysroot... " >&6; }
   6075 
   6076 # Check whether --with-sysroot was given.
   6077 if test "${with_sysroot+set}" = set; then :
   6078   withval=$with_sysroot;
   6079 else
   6080   with_sysroot=no
   6081 fi
   6082 
   6083 
   6084 lt_sysroot=
   6085 case ${with_sysroot} in #(
   6086  yes)
   6087    if test "$GCC" = yes; then
   6088      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6089    fi
   6090    ;; #(
   6091  /*)
   6092    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6093    ;; #(
   6094  no|'')
   6095    ;; #(
   6096  *)
   6097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6098 $as_echo "${with_sysroot}" >&6; }
   6099    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6100    ;;
   6101 esac
   6102 
   6103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6104 $as_echo "${lt_sysroot:-no}" >&6; }
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 # Check whether --enable-libtool-lock was given.
   6111 if test "${enable_libtool_lock+set}" = set; then :
   6112   enableval=$enable_libtool_lock;
   6113 fi
   6114 
   6115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6116 
   6117 # Some flags need to be propagated to the compiler or linker for good
   6118 # libtool support.
   6119 case $host in
   6120 ia64-*-hpux*)
   6121   # Find out which ABI we are using.
   6122   echo 'int i;' > conftest.$ac_ext
   6123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6124   (eval $ac_compile) 2>&5
   6125   ac_status=$?
   6126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6127   test $ac_status = 0; }; then
   6128     case `/usr/bin/file conftest.$ac_objext` in
   6129       *ELF-32*)
   6130 	HPUX_IA64_MODE="32"
   6131 	;;
   6132       *ELF-64*)
   6133 	HPUX_IA64_MODE="64"
   6134 	;;
   6135     esac
   6136   fi
   6137   rm -rf conftest*
   6138   ;;
   6139 *-*-irix6*)
   6140   # Find out which ABI we are using.
   6141   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6142   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6143   (eval $ac_compile) 2>&5
   6144   ac_status=$?
   6145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6146   test $ac_status = 0; }; then
   6147     if test "$lt_cv_prog_gnu_ld" = yes; then
   6148       case `/usr/bin/file conftest.$ac_objext` in
   6149 	*32-bit*)
   6150 	  LD="${LD-ld} -melf32bsmip"
   6151 	  ;;
   6152 	*N32*)
   6153 	  LD="${LD-ld} -melf32bmipn32"
   6154 	  ;;
   6155 	*64-bit*)
   6156 	  LD="${LD-ld} -melf64bmip"
   6157 	;;
   6158       esac
   6159     else
   6160       case `/usr/bin/file conftest.$ac_objext` in
   6161 	*32-bit*)
   6162 	  LD="${LD-ld} -32"
   6163 	  ;;
   6164 	*N32*)
   6165 	  LD="${LD-ld} -n32"
   6166 	  ;;
   6167 	*64-bit*)
   6168 	  LD="${LD-ld} -64"
   6169 	  ;;
   6170       esac
   6171     fi
   6172   fi
   6173   rm -rf conftest*
   6174   ;;
   6175 
   6176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6178   # Find out which ABI we are using.
   6179   echo 'int i;' > conftest.$ac_ext
   6180   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6181   (eval $ac_compile) 2>&5
   6182   ac_status=$?
   6183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6184   test $ac_status = 0; }; then
   6185     case `/usr/bin/file conftest.o` in
   6186       *32-bit*)
   6187 	case $host in
   6188 	  x86_64-*kfreebsd*-gnu)
   6189 	    LD="${LD-ld} -m elf_i386_fbsd"
   6190 	    ;;
   6191 	  x86_64-*linux*)
   6192 	    LD="${LD-ld} -m elf_i386"
   6193 	    ;;
   6194 	  powerpc64le-*linux*)
   6195 	    LD="${LD-ld} -m elf32lppclinux"
   6196 	    ;;
   6197 	  powerpc64-*linux*)
   6198 	    LD="${LD-ld} -m elf32ppclinux"
   6199 	    ;;
   6200 	  s390x-*linux*)
   6201 	    LD="${LD-ld} -m elf_s390"
   6202 	    ;;
   6203 	  sparc64-*linux*)
   6204 	    LD="${LD-ld} -m elf32_sparc"
   6205 	    ;;
   6206 	esac
   6207 	;;
   6208       *64-bit*)
   6209 	case $host in
   6210 	  x86_64-*kfreebsd*-gnu)
   6211 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6212 	    ;;
   6213 	  x86_64-*linux*)
   6214 	    LD="${LD-ld} -m elf_x86_64"
   6215 	    ;;
   6216 	  powerpcle-*linux*)
   6217 	    LD="${LD-ld} -m elf64lppc"
   6218 	    ;;
   6219 	  powerpc-*linux*)
   6220 	    LD="${LD-ld} -m elf64ppc"
   6221 	    ;;
   6222 	  s390*-*linux*|s390*-*tpf*)
   6223 	    LD="${LD-ld} -m elf64_s390"
   6224 	    ;;
   6225 	  sparc*-*linux*)
   6226 	    LD="${LD-ld} -m elf64_sparc"
   6227 	    ;;
   6228 	esac
   6229 	;;
   6230     esac
   6231   fi
   6232   rm -rf conftest*
   6233   ;;
   6234 
   6235 *-*-sco3.2v5*)
   6236   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6237   SAVE_CFLAGS="$CFLAGS"
   6238   CFLAGS="$CFLAGS -belf"
   6239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6240 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6241 if ${lt_cv_cc_needs_belf+:} false; then :
   6242   $as_echo_n "(cached) " >&6
   6243 else
   6244   ac_ext=c
   6245 ac_cpp='$CPP $CPPFLAGS'
   6246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6249 
   6250      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 
   6253 int
   6254 main ()
   6255 {
   6256 
   6257   ;
   6258   return 0;
   6259 }
   6260 _ACEOF
   6261 if ac_fn_c_try_link "$LINENO"; then :
   6262   lt_cv_cc_needs_belf=yes
   6263 else
   6264   lt_cv_cc_needs_belf=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268      ac_ext=c
   6269 ac_cpp='$CPP $CPPFLAGS'
   6270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6273 
   6274 fi
   6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6276 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6277   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6278     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6279     CFLAGS="$SAVE_CFLAGS"
   6280   fi
   6281   ;;
   6282 *-*solaris*)
   6283   # Find out which ABI we are using.
   6284   echo 'int i;' > conftest.$ac_ext
   6285   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6286   (eval $ac_compile) 2>&5
   6287   ac_status=$?
   6288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6289   test $ac_status = 0; }; then
   6290     case `/usr/bin/file conftest.o` in
   6291     *64-bit*)
   6292       case $lt_cv_prog_gnu_ld in
   6293       yes*)
   6294         case $host in
   6295         i?86-*-solaris*)
   6296           LD="${LD-ld} -m elf_x86_64"
   6297           ;;
   6298         sparc*-*-solaris*)
   6299           LD="${LD-ld} -m elf64_sparc"
   6300           ;;
   6301         esac
   6302         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6303         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6304           LD="${LD-ld}_sol2"
   6305         fi
   6306         ;;
   6307       *)
   6308 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6309 	  LD="${LD-ld} -64"
   6310 	fi
   6311 	;;
   6312       esac
   6313       ;;
   6314     esac
   6315   fi
   6316   rm -rf conftest*
   6317   ;;
   6318 esac
   6319 
   6320 need_locks="$enable_libtool_lock"
   6321 
   6322 if test -n "$ac_tool_prefix"; then
   6323   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6324 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6326 $as_echo_n "checking for $ac_word... " >&6; }
   6327 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   if test -n "$MANIFEST_TOOL"; then
   6331   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6332 else
   6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6334 for as_dir in $PATH
   6335 do
   6336   IFS=$as_save_IFS
   6337   test -z "$as_dir" && as_dir=.
   6338     for ac_exec_ext in '' $ac_executable_extensions; do
   6339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6340     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6342     break 2
   6343   fi
   6344 done
   6345   done
   6346 IFS=$as_save_IFS
   6347 
   6348 fi
   6349 fi
   6350 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6351 if test -n "$MANIFEST_TOOL"; then
   6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6353 $as_echo "$MANIFEST_TOOL" >&6; }
   6354 else
   6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6356 $as_echo "no" >&6; }
   6357 fi
   6358 
   6359 
   6360 fi
   6361 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6362   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6363   # Extract the first word of "mt", so it can be a program name with args.
   6364 set dummy mt; ac_word=$2
   6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6366 $as_echo_n "checking for $ac_word... " >&6; }
   6367 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6368   $as_echo_n "(cached) " >&6
   6369 else
   6370   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6371   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6372 else
   6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6374 for as_dir in $PATH
   6375 do
   6376   IFS=$as_save_IFS
   6377   test -z "$as_dir" && as_dir=.
   6378     for ac_exec_ext in '' $ac_executable_extensions; do
   6379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6380     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6382     break 2
   6383   fi
   6384 done
   6385   done
   6386 IFS=$as_save_IFS
   6387 
   6388 fi
   6389 fi
   6390 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6391 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6393 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6394 else
   6395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6396 $as_echo "no" >&6; }
   6397 fi
   6398 
   6399   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6400     MANIFEST_TOOL=":"
   6401   else
   6402     case $cross_compiling:$ac_tool_warned in
   6403 yes:)
   6404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6406 ac_tool_warned=yes ;;
   6407 esac
   6408     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6409   fi
   6410 else
   6411   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6412 fi
   6413 
   6414 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6416 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6417 if ${lt_cv_path_mainfest_tool+:} false; then :
   6418   $as_echo_n "(cached) " >&6
   6419 else
   6420   lt_cv_path_mainfest_tool=no
   6421   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6422   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6423   cat conftest.err >&5
   6424   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6425     lt_cv_path_mainfest_tool=yes
   6426   fi
   6427   rm -f conftest*
   6428 fi
   6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6430 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6431 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6432   MANIFEST_TOOL=:
   6433 fi
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440   case $host_os in
   6441     rhapsody* | darwin*)
   6442     if test -n "$ac_tool_prefix"; then
   6443   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6444 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6446 $as_echo_n "checking for $ac_word... " >&6; }
   6447 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   if test -n "$DSYMUTIL"; then
   6451   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6452 else
   6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6454 for as_dir in $PATH
   6455 do
   6456   IFS=$as_save_IFS
   6457   test -z "$as_dir" && as_dir=.
   6458     for ac_exec_ext in '' $ac_executable_extensions; do
   6459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6460     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6462     break 2
   6463   fi
   6464 done
   6465   done
   6466 IFS=$as_save_IFS
   6467 
   6468 fi
   6469 fi
   6470 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6471 if test -n "$DSYMUTIL"; then
   6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6473 $as_echo "$DSYMUTIL" >&6; }
   6474 else
   6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6476 $as_echo "no" >&6; }
   6477 fi
   6478 
   6479 
   6480 fi
   6481 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6482   ac_ct_DSYMUTIL=$DSYMUTIL
   6483   # Extract the first word of "dsymutil", so it can be a program name with args.
   6484 set dummy dsymutil; ac_word=$2
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6486 $as_echo_n "checking for $ac_word... " >&6; }
   6487 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   if test -n "$ac_ct_DSYMUTIL"; then
   6491   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6492 else
   6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6494 for as_dir in $PATH
   6495 do
   6496   IFS=$as_save_IFS
   6497   test -z "$as_dir" && as_dir=.
   6498     for ac_exec_ext in '' $ac_executable_extensions; do
   6499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6500     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6502     break 2
   6503   fi
   6504 done
   6505   done
   6506 IFS=$as_save_IFS
   6507 
   6508 fi
   6509 fi
   6510 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6511 if test -n "$ac_ct_DSYMUTIL"; then
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6513 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6514 else
   6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6516 $as_echo "no" >&6; }
   6517 fi
   6518 
   6519   if test "x$ac_ct_DSYMUTIL" = x; then
   6520     DSYMUTIL=":"
   6521   else
   6522     case $cross_compiling:$ac_tool_warned in
   6523 yes:)
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6526 ac_tool_warned=yes ;;
   6527 esac
   6528     DSYMUTIL=$ac_ct_DSYMUTIL
   6529   fi
   6530 else
   6531   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6532 fi
   6533 
   6534     if test -n "$ac_tool_prefix"; then
   6535   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6536 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6538 $as_echo_n "checking for $ac_word... " >&6; }
   6539 if ${ac_cv_prog_NMEDIT+:} false; then :
   6540   $as_echo_n "(cached) " >&6
   6541 else
   6542   if test -n "$NMEDIT"; then
   6543   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6544 else
   6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6546 for as_dir in $PATH
   6547 do
   6548   IFS=$as_save_IFS
   6549   test -z "$as_dir" && as_dir=.
   6550     for ac_exec_ext in '' $ac_executable_extensions; do
   6551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6552     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6554     break 2
   6555   fi
   6556 done
   6557   done
   6558 IFS=$as_save_IFS
   6559 
   6560 fi
   6561 fi
   6562 NMEDIT=$ac_cv_prog_NMEDIT
   6563 if test -n "$NMEDIT"; then
   6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6565 $as_echo "$NMEDIT" >&6; }
   6566 else
   6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6568 $as_echo "no" >&6; }
   6569 fi
   6570 
   6571 
   6572 fi
   6573 if test -z "$ac_cv_prog_NMEDIT"; then
   6574   ac_ct_NMEDIT=$NMEDIT
   6575   # Extract the first word of "nmedit", so it can be a program name with args.
   6576 set dummy nmedit; ac_word=$2
   6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6578 $as_echo_n "checking for $ac_word... " >&6; }
   6579 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6580   $as_echo_n "(cached) " >&6
   6581 else
   6582   if test -n "$ac_ct_NMEDIT"; then
   6583   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6584 else
   6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6586 for as_dir in $PATH
   6587 do
   6588   IFS=$as_save_IFS
   6589   test -z "$as_dir" && as_dir=.
   6590     for ac_exec_ext in '' $ac_executable_extensions; do
   6591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6592     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6594     break 2
   6595   fi
   6596 done
   6597   done
   6598 IFS=$as_save_IFS
   6599 
   6600 fi
   6601 fi
   6602 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6603 if test -n "$ac_ct_NMEDIT"; then
   6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6605 $as_echo "$ac_ct_NMEDIT" >&6; }
   6606 else
   6607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6608 $as_echo "no" >&6; }
   6609 fi
   6610 
   6611   if test "x$ac_ct_NMEDIT" = x; then
   6612     NMEDIT=":"
   6613   else
   6614     case $cross_compiling:$ac_tool_warned in
   6615 yes:)
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6618 ac_tool_warned=yes ;;
   6619 esac
   6620     NMEDIT=$ac_ct_NMEDIT
   6621   fi
   6622 else
   6623   NMEDIT="$ac_cv_prog_NMEDIT"
   6624 fi
   6625 
   6626     if test -n "$ac_tool_prefix"; then
   6627   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6628 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6630 $as_echo_n "checking for $ac_word... " >&6; }
   6631 if ${ac_cv_prog_LIPO+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634   if test -n "$LIPO"; then
   6635   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6636 else
   6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6638 for as_dir in $PATH
   6639 do
   6640   IFS=$as_save_IFS
   6641   test -z "$as_dir" && as_dir=.
   6642     for ac_exec_ext in '' $ac_executable_extensions; do
   6643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6644     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6646     break 2
   6647   fi
   6648 done
   6649   done
   6650 IFS=$as_save_IFS
   6651 
   6652 fi
   6653 fi
   6654 LIPO=$ac_cv_prog_LIPO
   6655 if test -n "$LIPO"; then
   6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6657 $as_echo "$LIPO" >&6; }
   6658 else
   6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6660 $as_echo "no" >&6; }
   6661 fi
   6662 
   6663 
   6664 fi
   6665 if test -z "$ac_cv_prog_LIPO"; then
   6666   ac_ct_LIPO=$LIPO
   6667   # Extract the first word of "lipo", so it can be a program name with args.
   6668 set dummy lipo; ac_word=$2
   6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6670 $as_echo_n "checking for $ac_word... " >&6; }
   6671 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6672   $as_echo_n "(cached) " >&6
   6673 else
   6674   if test -n "$ac_ct_LIPO"; then
   6675   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6676 else
   6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6678 for as_dir in $PATH
   6679 do
   6680   IFS=$as_save_IFS
   6681   test -z "$as_dir" && as_dir=.
   6682     for ac_exec_ext in '' $ac_executable_extensions; do
   6683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6684     ac_cv_prog_ac_ct_LIPO="lipo"
   6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6686     break 2
   6687   fi
   6688 done
   6689   done
   6690 IFS=$as_save_IFS
   6691 
   6692 fi
   6693 fi
   6694 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6695 if test -n "$ac_ct_LIPO"; then
   6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6697 $as_echo "$ac_ct_LIPO" >&6; }
   6698 else
   6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6700 $as_echo "no" >&6; }
   6701 fi
   6702 
   6703   if test "x$ac_ct_LIPO" = x; then
   6704     LIPO=":"
   6705   else
   6706     case $cross_compiling:$ac_tool_warned in
   6707 yes:)
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6710 ac_tool_warned=yes ;;
   6711 esac
   6712     LIPO=$ac_ct_LIPO
   6713   fi
   6714 else
   6715   LIPO="$ac_cv_prog_LIPO"
   6716 fi
   6717 
   6718     if test -n "$ac_tool_prefix"; then
   6719   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6720 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6722 $as_echo_n "checking for $ac_word... " >&6; }
   6723 if ${ac_cv_prog_OTOOL+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   if test -n "$OTOOL"; then
   6727   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734     for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6736     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741   done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 OTOOL=$ac_cv_prog_OTOOL
   6747 if test -n "$OTOOL"; then
   6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6749 $as_echo "$OTOOL" >&6; }
   6750 else
   6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6752 $as_echo "no" >&6; }
   6753 fi
   6754 
   6755 
   6756 fi
   6757 if test -z "$ac_cv_prog_OTOOL"; then
   6758   ac_ct_OTOOL=$OTOOL
   6759   # Extract the first word of "otool", so it can be a program name with args.
   6760 set dummy otool; ac_word=$2
   6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6762 $as_echo_n "checking for $ac_word... " >&6; }
   6763 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6764   $as_echo_n "(cached) " >&6
   6765 else
   6766   if test -n "$ac_ct_OTOOL"; then
   6767   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6768 else
   6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6770 for as_dir in $PATH
   6771 do
   6772   IFS=$as_save_IFS
   6773   test -z "$as_dir" && as_dir=.
   6774     for ac_exec_ext in '' $ac_executable_extensions; do
   6775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6776     ac_cv_prog_ac_ct_OTOOL="otool"
   6777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6778     break 2
   6779   fi
   6780 done
   6781   done
   6782 IFS=$as_save_IFS
   6783 
   6784 fi
   6785 fi
   6786 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6787 if test -n "$ac_ct_OTOOL"; then
   6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6789 $as_echo "$ac_ct_OTOOL" >&6; }
   6790 else
   6791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6792 $as_echo "no" >&6; }
   6793 fi
   6794 
   6795   if test "x$ac_ct_OTOOL" = x; then
   6796     OTOOL=":"
   6797   else
   6798     case $cross_compiling:$ac_tool_warned in
   6799 yes:)
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6802 ac_tool_warned=yes ;;
   6803 esac
   6804     OTOOL=$ac_ct_OTOOL
   6805   fi
   6806 else
   6807   OTOOL="$ac_cv_prog_OTOOL"
   6808 fi
   6809 
   6810     if test -n "$ac_tool_prefix"; then
   6811   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6812 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6814 $as_echo_n "checking for $ac_word... " >&6; }
   6815 if ${ac_cv_prog_OTOOL64+:} false; then :
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818   if test -n "$OTOOL64"; then
   6819   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6820 else
   6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6822 for as_dir in $PATH
   6823 do
   6824   IFS=$as_save_IFS
   6825   test -z "$as_dir" && as_dir=.
   6826     for ac_exec_ext in '' $ac_executable_extensions; do
   6827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6828     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6830     break 2
   6831   fi
   6832 done
   6833   done
   6834 IFS=$as_save_IFS
   6835 
   6836 fi
   6837 fi
   6838 OTOOL64=$ac_cv_prog_OTOOL64
   6839 if test -n "$OTOOL64"; then
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6841 $as_echo "$OTOOL64" >&6; }
   6842 else
   6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6844 $as_echo "no" >&6; }
   6845 fi
   6846 
   6847 
   6848 fi
   6849 if test -z "$ac_cv_prog_OTOOL64"; then
   6850   ac_ct_OTOOL64=$OTOOL64
   6851   # Extract the first word of "otool64", so it can be a program name with args.
   6852 set dummy otool64; ac_word=$2
   6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6854 $as_echo_n "checking for $ac_word... " >&6; }
   6855 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6856   $as_echo_n "(cached) " >&6
   6857 else
   6858   if test -n "$ac_ct_OTOOL64"; then
   6859   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6860 else
   6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6862 for as_dir in $PATH
   6863 do
   6864   IFS=$as_save_IFS
   6865   test -z "$as_dir" && as_dir=.
   6866     for ac_exec_ext in '' $ac_executable_extensions; do
   6867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6868     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6870     break 2
   6871   fi
   6872 done
   6873   done
   6874 IFS=$as_save_IFS
   6875 
   6876 fi
   6877 fi
   6878 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6879 if test -n "$ac_ct_OTOOL64"; then
   6880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6881 $as_echo "$ac_ct_OTOOL64" >&6; }
   6882 else
   6883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6884 $as_echo "no" >&6; }
   6885 fi
   6886 
   6887   if test "x$ac_ct_OTOOL64" = x; then
   6888     OTOOL64=":"
   6889   else
   6890     case $cross_compiling:$ac_tool_warned in
   6891 yes:)
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6894 ac_tool_warned=yes ;;
   6895 esac
   6896     OTOOL64=$ac_ct_OTOOL64
   6897   fi
   6898 else
   6899   OTOOL64="$ac_cv_prog_OTOOL64"
   6900 fi
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6929 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6930 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   lt_cv_apple_cc_single_mod=no
   6934       if test -z "${LT_MULTI_MODULE}"; then
   6935 	# By default we will add the -single_module flag. You can override
   6936 	# by either setting the environment variable LT_MULTI_MODULE
   6937 	# non-empty at configure time, or by adding -multi_module to the
   6938 	# link flags.
   6939 	rm -rf libconftest.dylib*
   6940 	echo "int foo(void){return 1;}" > conftest.c
   6941 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6942 -dynamiclib -Wl,-single_module conftest.c" >&5
   6943 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6944 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6945         _lt_result=$?
   6946 	# If there is a non-empty error log, and "single_module"
   6947 	# appears in it, assume the flag caused a linker warning
   6948         if test -s conftest.err && $GREP single_module conftest.err; then
   6949 	  cat conftest.err >&5
   6950 	# Otherwise, if the output was created with a 0 exit code from
   6951 	# the compiler, it worked.
   6952 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6953 	  lt_cv_apple_cc_single_mod=yes
   6954 	else
   6955 	  cat conftest.err >&5
   6956 	fi
   6957 	rm -rf libconftest.dylib*
   6958 	rm -f conftest.*
   6959       fi
   6960 fi
   6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6962 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6963 
   6964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6965 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6966 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6967   $as_echo_n "(cached) " >&6
   6968 else
   6969   lt_cv_ld_exported_symbols_list=no
   6970       save_LDFLAGS=$LDFLAGS
   6971       echo "_main" > conftest.sym
   6972       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 
   6976 int
   6977 main ()
   6978 {
   6979 
   6980   ;
   6981   return 0;
   6982 }
   6983 _ACEOF
   6984 if ac_fn_c_try_link "$LINENO"; then :
   6985   lt_cv_ld_exported_symbols_list=yes
   6986 else
   6987   lt_cv_ld_exported_symbols_list=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext \
   6990     conftest$ac_exeext conftest.$ac_ext
   6991 	LDFLAGS="$save_LDFLAGS"
   6992 
   6993 fi
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6995 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6996 
   6997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6998 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6999 if ${lt_cv_ld_force_load+:} false; then :
   7000   $as_echo_n "(cached) " >&6
   7001 else
   7002   lt_cv_ld_force_load=no
   7003       cat > conftest.c << _LT_EOF
   7004 int forced_loaded() { return 2;}
   7005 _LT_EOF
   7006       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7007       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7008       echo "$AR cru libconftest.a conftest.o" >&5
   7009       $AR cru libconftest.a conftest.o 2>&5
   7010       echo "$RANLIB libconftest.a" >&5
   7011       $RANLIB libconftest.a 2>&5
   7012       cat > conftest.c << _LT_EOF
   7013 int main() { return 0;}
   7014 _LT_EOF
   7015       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7016       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7017       _lt_result=$?
   7018       if test -s conftest.err && $GREP force_load conftest.err; then
   7019 	cat conftest.err >&5
   7020       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7021 	lt_cv_ld_force_load=yes
   7022       else
   7023 	cat conftest.err >&5
   7024       fi
   7025         rm -f conftest.err libconftest.a conftest conftest.c
   7026         rm -rf conftest.dSYM
   7027 
   7028 fi
   7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7030 $as_echo "$lt_cv_ld_force_load" >&6; }
   7031     case $host_os in
   7032     rhapsody* | darwin1.[012])
   7033       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7034     darwin1.*)
   7035       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7036     darwin*) # darwin 5.x on
   7037       # if running on 10.5 or later, the deployment target defaults
   7038       # to the OS version, if on x86, and 10.4, the deployment
   7039       # target defaults to 10.4. Don't you love it?
   7040       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7041 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7042 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7043 	10.[012]*)
   7044 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7045 	10.*)
   7046 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7047       esac
   7048     ;;
   7049   esac
   7050     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7051       _lt_dar_single_mod='$single_module'
   7052     fi
   7053     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7054       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7055     else
   7056       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7057     fi
   7058     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7059       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7060     else
   7061       _lt_dsymutil=
   7062     fi
   7063     ;;
   7064   esac
   7065 
   7066 ac_ext=c
   7067 ac_cpp='$CPP $CPPFLAGS'
   7068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7073 # On Suns, sometimes $CPP names a directory.
   7074 if test -n "$CPP" && test -d "$CPP"; then
   7075   CPP=
   7076 fi
   7077 if test -z "$CPP"; then
   7078   if ${ac_cv_prog_CPP+:} false; then :
   7079   $as_echo_n "(cached) " >&6
   7080 else
   7081       # Double quotes because CPP needs to be expanded
   7082     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7083     do
   7084       ac_preproc_ok=false
   7085 for ac_c_preproc_warn_flag in '' yes
   7086 do
   7087   # Use a header file that comes with gcc, so configuring glibc
   7088   # with a fresh cross-compiler works.
   7089   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7090   # <limits.h> exists even on freestanding compilers.
   7091   # On the NeXT, cc -E runs the code through the compiler's parser,
   7092   # not just through cpp. "Syntax error" is here to catch this case.
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 #ifdef __STDC__
   7096 # include <limits.h>
   7097 #else
   7098 # include <assert.h>
   7099 #endif
   7100 		     Syntax error
   7101 _ACEOF
   7102 if ac_fn_c_try_cpp "$LINENO"; then :
   7103 
   7104 else
   7105   # Broken: fails on valid input.
   7106 continue
   7107 fi
   7108 rm -f conftest.err conftest.i conftest.$ac_ext
   7109 
   7110   # OK, works on sane cases.  Now check whether nonexistent headers
   7111   # can be detected and how.
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 #include <ac_nonexistent.h>
   7115 _ACEOF
   7116 if ac_fn_c_try_cpp "$LINENO"; then :
   7117   # Broken: success on invalid input.
   7118 continue
   7119 else
   7120   # Passes both tests.
   7121 ac_preproc_ok=:
   7122 break
   7123 fi
   7124 rm -f conftest.err conftest.i conftest.$ac_ext
   7125 
   7126 done
   7127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7128 rm -f conftest.i conftest.err conftest.$ac_ext
   7129 if $ac_preproc_ok; then :
   7130   break
   7131 fi
   7132 
   7133     done
   7134     ac_cv_prog_CPP=$CPP
   7135 
   7136 fi
   7137   CPP=$ac_cv_prog_CPP
   7138 else
   7139   ac_cv_prog_CPP=$CPP
   7140 fi
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7142 $as_echo "$CPP" >&6; }
   7143 ac_preproc_ok=false
   7144 for ac_c_preproc_warn_flag in '' yes
   7145 do
   7146   # Use a header file that comes with gcc, so configuring glibc
   7147   # with a fresh cross-compiler works.
   7148   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7149   # <limits.h> exists even on freestanding compilers.
   7150   # On the NeXT, cc -E runs the code through the compiler's parser,
   7151   # not just through cpp. "Syntax error" is here to catch this case.
   7152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7153 /* end confdefs.h.  */
   7154 #ifdef __STDC__
   7155 # include <limits.h>
   7156 #else
   7157 # include <assert.h>
   7158 #endif
   7159 		     Syntax error
   7160 _ACEOF
   7161 if ac_fn_c_try_cpp "$LINENO"; then :
   7162 
   7163 else
   7164   # Broken: fails on valid input.
   7165 continue
   7166 fi
   7167 rm -f conftest.err conftest.i conftest.$ac_ext
   7168 
   7169   # OK, works on sane cases.  Now check whether nonexistent headers
   7170   # can be detected and how.
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 #include <ac_nonexistent.h>
   7174 _ACEOF
   7175 if ac_fn_c_try_cpp "$LINENO"; then :
   7176   # Broken: success on invalid input.
   7177 continue
   7178 else
   7179   # Passes both tests.
   7180 ac_preproc_ok=:
   7181 break
   7182 fi
   7183 rm -f conftest.err conftest.i conftest.$ac_ext
   7184 
   7185 done
   7186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7187 rm -f conftest.i conftest.err conftest.$ac_ext
   7188 if $ac_preproc_ok; then :
   7189 
   7190 else
   7191   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7193 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7194 See \`config.log' for more details" "$LINENO" 5; }
   7195 fi
   7196 
   7197 ac_ext=c
   7198 ac_cpp='$CPP $CPPFLAGS'
   7199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7202 
   7203 
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7205 $as_echo_n "checking for ANSI C header files... " >&6; }
   7206 if ${ac_cv_header_stdc+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 #include <stdlib.h>
   7212 #include <stdarg.h>
   7213 #include <string.h>
   7214 #include <float.h>
   7215 
   7216 int
   7217 main ()
   7218 {
   7219 
   7220   ;
   7221   return 0;
   7222 }
   7223 _ACEOF
   7224 if ac_fn_c_try_compile "$LINENO"; then :
   7225   ac_cv_header_stdc=yes
   7226 else
   7227   ac_cv_header_stdc=no
   7228 fi
   7229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7230 
   7231 if test $ac_cv_header_stdc = yes; then
   7232   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 #include <string.h>
   7236 
   7237 _ACEOF
   7238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7239   $EGREP "memchr" >/dev/null 2>&1; then :
   7240 
   7241 else
   7242   ac_cv_header_stdc=no
   7243 fi
   7244 rm -f conftest*
   7245 
   7246 fi
   7247 
   7248 if test $ac_cv_header_stdc = yes; then
   7249   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 #include <stdlib.h>
   7253 
   7254 _ACEOF
   7255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7256   $EGREP "free" >/dev/null 2>&1; then :
   7257 
   7258 else
   7259   ac_cv_header_stdc=no
   7260 fi
   7261 rm -f conftest*
   7262 
   7263 fi
   7264 
   7265 if test $ac_cv_header_stdc = yes; then
   7266   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7267   if test "$cross_compiling" = yes; then :
   7268   :
   7269 else
   7270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 #include <ctype.h>
   7273 #include <stdlib.h>
   7274 #if ((' ' & 0x0FF) == 0x020)
   7275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7277 #else
   7278 # define ISLOWER(c) \
   7279 		   (('a' <= (c) && (c) <= 'i') \
   7280 		     || ('j' <= (c) && (c) <= 'r') \
   7281 		     || ('s' <= (c) && (c) <= 'z'))
   7282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7283 #endif
   7284 
   7285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7286 int
   7287 main ()
   7288 {
   7289   int i;
   7290   for (i = 0; i < 256; i++)
   7291     if (XOR (islower (i), ISLOWER (i))
   7292 	|| toupper (i) != TOUPPER (i))
   7293       return 2;
   7294   return 0;
   7295 }
   7296 _ACEOF
   7297 if ac_fn_c_try_run "$LINENO"; then :
   7298 
   7299 else
   7300   ac_cv_header_stdc=no
   7301 fi
   7302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7303   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7304 fi
   7305 
   7306 fi
   7307 fi
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7309 $as_echo "$ac_cv_header_stdc" >&6; }
   7310 if test $ac_cv_header_stdc = yes; then
   7311 
   7312 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7313 
   7314 fi
   7315 
   7316 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7317 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7318 		  inttypes.h stdint.h unistd.h
   7319 do :
   7320   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7322 "
   7323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7324   cat >>confdefs.h <<_ACEOF
   7325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7326 _ACEOF
   7327 
   7328 fi
   7329 
   7330 done
   7331 
   7332 
   7333 for ac_header in dlfcn.h
   7334 do :
   7335   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7336 "
   7337 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7338   cat >>confdefs.h <<_ACEOF
   7339 #define HAVE_DLFCN_H 1
   7340 _ACEOF
   7341 
   7342 fi
   7343 
   7344 done
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 # Set options
   7351 
   7352 
   7353 
   7354         enable_dlopen=no
   7355 
   7356 
   7357   enable_win32_dll=no
   7358 
   7359 
   7360             # Check whether --enable-shared was given.
   7361 if test "${enable_shared+set}" = set; then :
   7362   enableval=$enable_shared; p=${PACKAGE-default}
   7363     case $enableval in
   7364     yes) enable_shared=yes ;;
   7365     no) enable_shared=no ;;
   7366     *)
   7367       enable_shared=no
   7368       # Look at the argument we got.  We use all the common list separators.
   7369       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7370       for pkg in $enableval; do
   7371 	IFS="$lt_save_ifs"
   7372 	if test "X$pkg" = "X$p"; then
   7373 	  enable_shared=yes
   7374 	fi
   7375       done
   7376       IFS="$lt_save_ifs"
   7377       ;;
   7378     esac
   7379 else
   7380   enable_shared=yes
   7381 fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391   # Check whether --enable-static was given.
   7392 if test "${enable_static+set}" = set; then :
   7393   enableval=$enable_static; p=${PACKAGE-default}
   7394     case $enableval in
   7395     yes) enable_static=yes ;;
   7396     no) enable_static=no ;;
   7397     *)
   7398      enable_static=no
   7399       # Look at the argument we got.  We use all the common list separators.
   7400       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7401       for pkg in $enableval; do
   7402 	IFS="$lt_save_ifs"
   7403 	if test "X$pkg" = "X$p"; then
   7404 	  enable_static=yes
   7405 	fi
   7406       done
   7407       IFS="$lt_save_ifs"
   7408       ;;
   7409     esac
   7410 else
   7411   enable_static=yes
   7412 fi
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 # Check whether --with-pic was given.
   7424 if test "${with_pic+set}" = set; then :
   7425   withval=$with_pic; lt_p=${PACKAGE-default}
   7426     case $withval in
   7427     yes|no) pic_mode=$withval ;;
   7428     *)
   7429       pic_mode=default
   7430       # Look at the argument we got.  We use all the common list separators.
   7431       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7432       for lt_pkg in $withval; do
   7433 	IFS="$lt_save_ifs"
   7434 	if test "X$lt_pkg" = "X$lt_p"; then
   7435 	  pic_mode=yes
   7436 	fi
   7437       done
   7438       IFS="$lt_save_ifs"
   7439       ;;
   7440     esac
   7441 else
   7442   pic_mode=default
   7443 fi
   7444 
   7445 
   7446 test -z "$pic_mode" && pic_mode=default
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454   # Check whether --enable-fast-install was given.
   7455 if test "${enable_fast_install+set}" = set; then :
   7456   enableval=$enable_fast_install; p=${PACKAGE-default}
   7457     case $enableval in
   7458     yes) enable_fast_install=yes ;;
   7459     no) enable_fast_install=no ;;
   7460     *)
   7461       enable_fast_install=no
   7462       # Look at the argument we got.  We use all the common list separators.
   7463       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7464       for pkg in $enableval; do
   7465 	IFS="$lt_save_ifs"
   7466 	if test "X$pkg" = "X$p"; then
   7467 	  enable_fast_install=yes
   7468 	fi
   7469       done
   7470       IFS="$lt_save_ifs"
   7471       ;;
   7472     esac
   7473 else
   7474   enable_fast_install=yes
   7475 fi
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 # This can be used to rebuild libtool when needed
   7488 LIBTOOL_DEPS="$ltmain"
   7489 
   7490 # Always use our own libtool.
   7491 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 test -z "$LN_S" && LN_S="ln -s"
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 if test -n "${ZSH_VERSION+set}" ; then
   7538    setopt NO_GLOB_SUBST
   7539 fi
   7540 
   7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7542 $as_echo_n "checking for objdir... " >&6; }
   7543 if ${lt_cv_objdir+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   rm -f .libs 2>/dev/null
   7547 mkdir .libs 2>/dev/null
   7548 if test -d .libs; then
   7549   lt_cv_objdir=.libs
   7550 else
   7551   # MS-DOS does not allow filenames that begin with a dot.
   7552   lt_cv_objdir=_libs
   7553 fi
   7554 rmdir .libs 2>/dev/null
   7555 fi
   7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7557 $as_echo "$lt_cv_objdir" >&6; }
   7558 objdir=$lt_cv_objdir
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 cat >>confdefs.h <<_ACEOF
   7565 #define LT_OBJDIR "$lt_cv_objdir/"
   7566 _ACEOF
   7567 
   7568 
   7569 
   7570 
   7571 case $host_os in
   7572 aix3*)
   7573   # AIX sometimes has problems with the GCC collect2 program.  For some
   7574   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7575   # vanish in a puff of smoke.
   7576   if test "X${COLLECT_NAMES+set}" != Xset; then
   7577     COLLECT_NAMES=
   7578     export COLLECT_NAMES
   7579   fi
   7580   ;;
   7581 esac
   7582 
   7583 # Global variables:
   7584 ofile=libtool
   7585 can_build_shared=yes
   7586 
   7587 # All known linkers require a `.a' archive for static linking (except MSVC,
   7588 # which needs '.lib').
   7589 libext=a
   7590 
   7591 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7592 
   7593 old_CC="$CC"
   7594 old_CFLAGS="$CFLAGS"
   7595 
   7596 # Set sane defaults for various variables
   7597 test -z "$CC" && CC=cc
   7598 test -z "$LTCC" && LTCC=$CC
   7599 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7600 test -z "$LD" && LD=ld
   7601 test -z "$ac_objext" && ac_objext=o
   7602 
   7603 for cc_temp in $compiler""; do
   7604   case $cc_temp in
   7605     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7606     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7607     \-*) ;;
   7608     *) break;;
   7609   esac
   7610 done
   7611 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7612 
   7613 
   7614 # Only perform the check for file, if the check method requires it
   7615 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7616 case $deplibs_check_method in
   7617 file_magic*)
   7618   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7620 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7621 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7622   $as_echo_n "(cached) " >&6
   7623 else
   7624   case $MAGIC_CMD in
   7625 [\\/*] |  ?:[\\/]*)
   7626   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7627   ;;
   7628 *)
   7629   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7630   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7631   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7632   for ac_dir in $ac_dummy; do
   7633     IFS="$lt_save_ifs"
   7634     test -z "$ac_dir" && ac_dir=.
   7635     if test -f $ac_dir/${ac_tool_prefix}file; then
   7636       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7637       if test -n "$file_magic_test_file"; then
   7638 	case $deplibs_check_method in
   7639 	"file_magic "*)
   7640 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7641 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7642 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7643 	    $EGREP "$file_magic_regex" > /dev/null; then
   7644 	    :
   7645 	  else
   7646 	    cat <<_LT_EOF 1>&2
   7647 
   7648 *** Warning: the command libtool uses to detect shared libraries,
   7649 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7650 *** The result is that libtool may fail to recognize shared libraries
   7651 *** as such.  This will affect the creation of libtool libraries that
   7652 *** depend on shared libraries, but programs linked with such libtool
   7653 *** libraries will work regardless of this problem.  Nevertheless, you
   7654 *** may want to report the problem to your system manager and/or to
   7655 *** bug-libtool@gnu.org
   7656 
   7657 _LT_EOF
   7658 	  fi ;;
   7659 	esac
   7660       fi
   7661       break
   7662     fi
   7663   done
   7664   IFS="$lt_save_ifs"
   7665   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7666   ;;
   7667 esac
   7668 fi
   7669 
   7670 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7671 if test -n "$MAGIC_CMD"; then
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7673 $as_echo "$MAGIC_CMD" >&6; }
   7674 else
   7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7676 $as_echo "no" >&6; }
   7677 fi
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7684   if test -n "$ac_tool_prefix"; then
   7685     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7686 $as_echo_n "checking for file... " >&6; }
   7687 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7688   $as_echo_n "(cached) " >&6
   7689 else
   7690   case $MAGIC_CMD in
   7691 [\\/*] |  ?:[\\/]*)
   7692   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7693   ;;
   7694 *)
   7695   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7696   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7697   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7698   for ac_dir in $ac_dummy; do
   7699     IFS="$lt_save_ifs"
   7700     test -z "$ac_dir" && ac_dir=.
   7701     if test -f $ac_dir/file; then
   7702       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7703       if test -n "$file_magic_test_file"; then
   7704 	case $deplibs_check_method in
   7705 	"file_magic "*)
   7706 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7707 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7708 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7709 	    $EGREP "$file_magic_regex" > /dev/null; then
   7710 	    :
   7711 	  else
   7712 	    cat <<_LT_EOF 1>&2
   7713 
   7714 *** Warning: the command libtool uses to detect shared libraries,
   7715 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7716 *** The result is that libtool may fail to recognize shared libraries
   7717 *** as such.  This will affect the creation of libtool libraries that
   7718 *** depend on shared libraries, but programs linked with such libtool
   7719 *** libraries will work regardless of this problem.  Nevertheless, you
   7720 *** may want to report the problem to your system manager and/or to
   7721 *** bug-libtool@gnu.org
   7722 
   7723 _LT_EOF
   7724 	  fi ;;
   7725 	esac
   7726       fi
   7727       break
   7728     fi
   7729   done
   7730   IFS="$lt_save_ifs"
   7731   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7732   ;;
   7733 esac
   7734 fi
   7735 
   7736 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7737 if test -n "$MAGIC_CMD"; then
   7738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7739 $as_echo "$MAGIC_CMD" >&6; }
   7740 else
   7741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7742 $as_echo "no" >&6; }
   7743 fi
   7744 
   7745 
   7746   else
   7747     MAGIC_CMD=:
   7748   fi
   7749 fi
   7750 
   7751   fi
   7752   ;;
   7753 esac
   7754 
   7755 # Use C for the default configuration in the libtool script
   7756 
   7757 lt_save_CC="$CC"
   7758 ac_ext=c
   7759 ac_cpp='$CPP $CPPFLAGS'
   7760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7763 
   7764 
   7765 # Source file extension for C test sources.
   7766 ac_ext=c
   7767 
   7768 # Object file extension for compiled C test sources.
   7769 objext=o
   7770 objext=$objext
   7771 
   7772 # Code to be used in simple compile tests
   7773 lt_simple_compile_test_code="int some_variable = 0;"
   7774 
   7775 # Code to be used in simple link tests
   7776 lt_simple_link_test_code='int main(){return(0);}'
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 # If no C compiler was specified, use CC.
   7785 LTCC=${LTCC-"$CC"}
   7786 
   7787 # If no C compiler flags were specified, use CFLAGS.
   7788 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7789 
   7790 # Allow CC to be a program name with arguments.
   7791 compiler=$CC
   7792 
   7793 # Save the default compiler, since it gets overwritten when the other
   7794 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7795 compiler_DEFAULT=$CC
   7796 
   7797 # save warnings/boilerplate of simple test code
   7798 ac_outfile=conftest.$ac_objext
   7799 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7800 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7801 _lt_compiler_boilerplate=`cat conftest.err`
   7802 $RM conftest*
   7803 
   7804 ac_outfile=conftest.$ac_objext
   7805 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7806 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7807 _lt_linker_boilerplate=`cat conftest.err`
   7808 $RM -r conftest*
   7809 
   7810 
   7811 if test -n "$compiler"; then
   7812 
   7813 lt_prog_compiler_no_builtin_flag=
   7814 
   7815 if test "$GCC" = yes; then
   7816   case $cc_basename in
   7817   nvcc*)
   7818     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7819   *)
   7820     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7821   esac
   7822 
   7823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7824 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7825 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7826   $as_echo_n "(cached) " >&6
   7827 else
   7828   lt_cv_prog_compiler_rtti_exceptions=no
   7829    ac_outfile=conftest.$ac_objext
   7830    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7831    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7832    # Insert the option either (1) after the last *FLAGS variable, or
   7833    # (2) before a word containing "conftest.", or (3) at the end.
   7834    # Note that $ac_compile itself does not contain backslashes and begins
   7835    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7836    # The option is referenced via a variable to avoid confusing sed.
   7837    lt_compile=`echo "$ac_compile" | $SED \
   7838    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7839    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7840    -e 's:$: $lt_compiler_flag:'`
   7841    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7842    (eval "$lt_compile" 2>conftest.err)
   7843    ac_status=$?
   7844    cat conftest.err >&5
   7845    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7846    if (exit $ac_status) && test -s "$ac_outfile"; then
   7847      # The compiler can only warn and ignore the option if not recognized
   7848      # So say no if there are warnings other than the usual output.
   7849      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7850      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7851      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7852        lt_cv_prog_compiler_rtti_exceptions=yes
   7853      fi
   7854    fi
   7855    $RM conftest*
   7856 
   7857 fi
   7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7859 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7860 
   7861 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7862     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7863 else
   7864     :
   7865 fi
   7866 
   7867 fi
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874   lt_prog_compiler_wl=
   7875 lt_prog_compiler_pic=
   7876 lt_prog_compiler_static=
   7877 
   7878 
   7879   if test "$GCC" = yes; then
   7880     lt_prog_compiler_wl='-Wl,'
   7881     lt_prog_compiler_static='-static'
   7882 
   7883     case $host_os in
   7884       aix*)
   7885       # All AIX code is PIC.
   7886       if test "$host_cpu" = ia64; then
   7887 	# AIX 5 now supports IA64 processor
   7888 	lt_prog_compiler_static='-Bstatic'
   7889       fi
   7890       ;;
   7891 
   7892     amigaos*)
   7893       case $host_cpu in
   7894       powerpc)
   7895             # see comment about AmigaOS4 .so support
   7896             lt_prog_compiler_pic='-fPIC'
   7897         ;;
   7898       m68k)
   7899             # FIXME: we need at least 68020 code to build shared libraries, but
   7900             # adding the `-m68020' flag to GCC prevents building anything better,
   7901             # like `-m68040'.
   7902             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7903         ;;
   7904       esac
   7905       ;;
   7906 
   7907     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7908       # PIC is the default for these OSes.
   7909       ;;
   7910 
   7911     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7912       # This hack is so that the source file can tell whether it is being
   7913       # built for inclusion in a dll (and should export symbols for example).
   7914       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7915       # (--disable-auto-import) libraries
   7916       lt_prog_compiler_pic='-DDLL_EXPORT'
   7917       ;;
   7918 
   7919     darwin* | rhapsody*)
   7920       # PIC is the default on this platform
   7921       # Common symbols not allowed in MH_DYLIB files
   7922       lt_prog_compiler_pic='-fno-common'
   7923       ;;
   7924 
   7925     haiku*)
   7926       # PIC is the default for Haiku.
   7927       # The "-static" flag exists, but is broken.
   7928       lt_prog_compiler_static=
   7929       ;;
   7930 
   7931     hpux*)
   7932       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7933       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7934       # sets the default TLS model and affects inlining.
   7935       case $host_cpu in
   7936       hppa*64*)
   7937 	# +Z the default
   7938 	;;
   7939       *)
   7940 	lt_prog_compiler_pic='-fPIC'
   7941 	;;
   7942       esac
   7943       ;;
   7944 
   7945     interix[3-9]*)
   7946       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7947       # Instead, we relocate shared libraries at runtime.
   7948       ;;
   7949 
   7950     msdosdjgpp*)
   7951       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7952       # on systems that don't support them.
   7953       lt_prog_compiler_can_build_shared=no
   7954       enable_shared=no
   7955       ;;
   7956 
   7957     *nto* | *qnx*)
   7958       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7959       # it will coredump.
   7960       lt_prog_compiler_pic='-fPIC -shared'
   7961       ;;
   7962 
   7963     sysv4*MP*)
   7964       if test -d /usr/nec; then
   7965 	lt_prog_compiler_pic=-Kconform_pic
   7966       fi
   7967       ;;
   7968 
   7969     *)
   7970       lt_prog_compiler_pic='-fPIC'
   7971       ;;
   7972     esac
   7973 
   7974     case $cc_basename in
   7975     nvcc*) # Cuda Compiler Driver 2.2
   7976       lt_prog_compiler_wl='-Xlinker '
   7977       if test -n "$lt_prog_compiler_pic"; then
   7978         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7979       fi
   7980       ;;
   7981     esac
   7982   else
   7983     # PORTME Check for flag to pass linker flags through the system compiler.
   7984     case $host_os in
   7985     aix*)
   7986       lt_prog_compiler_wl='-Wl,'
   7987       if test "$host_cpu" = ia64; then
   7988 	# AIX 5 now supports IA64 processor
   7989 	lt_prog_compiler_static='-Bstatic'
   7990       else
   7991 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7992       fi
   7993       ;;
   7994 
   7995     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7996       # This hack is so that the source file can tell whether it is being
   7997       # built for inclusion in a dll (and should export symbols for example).
   7998       lt_prog_compiler_pic='-DDLL_EXPORT'
   7999       ;;
   8000 
   8001     hpux9* | hpux10* | hpux11*)
   8002       lt_prog_compiler_wl='-Wl,'
   8003       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8004       # not for PA HP-UX.
   8005       case $host_cpu in
   8006       hppa*64*|ia64*)
   8007 	# +Z the default
   8008 	;;
   8009       *)
   8010 	lt_prog_compiler_pic='+Z'
   8011 	;;
   8012       esac
   8013       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8014       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8015       ;;
   8016 
   8017     irix5* | irix6* | nonstopux*)
   8018       lt_prog_compiler_wl='-Wl,'
   8019       # PIC (with -KPIC) is the default.
   8020       lt_prog_compiler_static='-non_shared'
   8021       ;;
   8022 
   8023     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8024       case $cc_basename in
   8025       # old Intel for x86_64 which still supported -KPIC.
   8026       ecc*)
   8027 	lt_prog_compiler_wl='-Wl,'
   8028 	lt_prog_compiler_pic='-KPIC'
   8029 	lt_prog_compiler_static='-static'
   8030         ;;
   8031       # icc used to be incompatible with GCC.
   8032       # ICC 10 doesn't accept -KPIC any more.
   8033       icc* | ifort*)
   8034 	lt_prog_compiler_wl='-Wl,'
   8035 	lt_prog_compiler_pic='-fPIC'
   8036 	lt_prog_compiler_static='-static'
   8037         ;;
   8038       # Lahey Fortran 8.1.
   8039       lf95*)
   8040 	lt_prog_compiler_wl='-Wl,'
   8041 	lt_prog_compiler_pic='--shared'
   8042 	lt_prog_compiler_static='--static'
   8043 	;;
   8044       nagfor*)
   8045 	# NAG Fortran compiler
   8046 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8047 	lt_prog_compiler_pic='-PIC'
   8048 	lt_prog_compiler_static='-Bstatic'
   8049 	;;
   8050       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8051         # Portland Group compilers (*not* the Pentium gcc compiler,
   8052 	# which looks to be a dead project)
   8053 	lt_prog_compiler_wl='-Wl,'
   8054 	lt_prog_compiler_pic='-fpic'
   8055 	lt_prog_compiler_static='-Bstatic'
   8056         ;;
   8057       ccc*)
   8058         lt_prog_compiler_wl='-Wl,'
   8059         # All Alpha code is PIC.
   8060         lt_prog_compiler_static='-non_shared'
   8061         ;;
   8062       xl* | bgxl* | bgf* | mpixl*)
   8063 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8064 	lt_prog_compiler_wl='-Wl,'
   8065 	lt_prog_compiler_pic='-qpic'
   8066 	lt_prog_compiler_static='-qstaticlink'
   8067 	;;
   8068       *)
   8069 	case `$CC -V 2>&1 | sed 5q` in
   8070 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8071 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8072 	  lt_prog_compiler_pic='-KPIC'
   8073 	  lt_prog_compiler_static='-Bstatic'
   8074 	  lt_prog_compiler_wl=''
   8075 	  ;;
   8076 	*Sun\ F* | *Sun*Fortran*)
   8077 	  lt_prog_compiler_pic='-KPIC'
   8078 	  lt_prog_compiler_static='-Bstatic'
   8079 	  lt_prog_compiler_wl='-Qoption ld '
   8080 	  ;;
   8081 	*Sun\ C*)
   8082 	  # Sun C 5.9
   8083 	  lt_prog_compiler_pic='-KPIC'
   8084 	  lt_prog_compiler_static='-Bstatic'
   8085 	  lt_prog_compiler_wl='-Wl,'
   8086 	  ;;
   8087         *Intel*\ [CF]*Compiler*)
   8088 	  lt_prog_compiler_wl='-Wl,'
   8089 	  lt_prog_compiler_pic='-fPIC'
   8090 	  lt_prog_compiler_static='-static'
   8091 	  ;;
   8092 	*Portland\ Group*)
   8093 	  lt_prog_compiler_wl='-Wl,'
   8094 	  lt_prog_compiler_pic='-fpic'
   8095 	  lt_prog_compiler_static='-Bstatic'
   8096 	  ;;
   8097 	esac
   8098 	;;
   8099       esac
   8100       ;;
   8101 
   8102     newsos6)
   8103       lt_prog_compiler_pic='-KPIC'
   8104       lt_prog_compiler_static='-Bstatic'
   8105       ;;
   8106 
   8107     *nto* | *qnx*)
   8108       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8109       # it will coredump.
   8110       lt_prog_compiler_pic='-fPIC -shared'
   8111       ;;
   8112 
   8113     osf3* | osf4* | osf5*)
   8114       lt_prog_compiler_wl='-Wl,'
   8115       # All OSF/1 code is PIC.
   8116       lt_prog_compiler_static='-non_shared'
   8117       ;;
   8118 
   8119     rdos*)
   8120       lt_prog_compiler_static='-non_shared'
   8121       ;;
   8122 
   8123     solaris*)
   8124       lt_prog_compiler_pic='-KPIC'
   8125       lt_prog_compiler_static='-Bstatic'
   8126       case $cc_basename in
   8127       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8128 	lt_prog_compiler_wl='-Qoption ld ';;
   8129       *)
   8130 	lt_prog_compiler_wl='-Wl,';;
   8131       esac
   8132       ;;
   8133 
   8134     sunos4*)
   8135       lt_prog_compiler_wl='-Qoption ld '
   8136       lt_prog_compiler_pic='-PIC'
   8137       lt_prog_compiler_static='-Bstatic'
   8138       ;;
   8139 
   8140     sysv4 | sysv4.2uw2* | sysv4.3*)
   8141       lt_prog_compiler_wl='-Wl,'
   8142       lt_prog_compiler_pic='-KPIC'
   8143       lt_prog_compiler_static='-Bstatic'
   8144       ;;
   8145 
   8146     sysv4*MP*)
   8147       if test -d /usr/nec ;then
   8148 	lt_prog_compiler_pic='-Kconform_pic'
   8149 	lt_prog_compiler_static='-Bstatic'
   8150       fi
   8151       ;;
   8152 
   8153     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8154       lt_prog_compiler_wl='-Wl,'
   8155       lt_prog_compiler_pic='-KPIC'
   8156       lt_prog_compiler_static='-Bstatic'
   8157       ;;
   8158 
   8159     unicos*)
   8160       lt_prog_compiler_wl='-Wl,'
   8161       lt_prog_compiler_can_build_shared=no
   8162       ;;
   8163 
   8164     uts4*)
   8165       lt_prog_compiler_pic='-pic'
   8166       lt_prog_compiler_static='-Bstatic'
   8167       ;;
   8168 
   8169     *)
   8170       lt_prog_compiler_can_build_shared=no
   8171       ;;
   8172     esac
   8173   fi
   8174 
   8175 case $host_os in
   8176   # For platforms which do not support PIC, -DPIC is meaningless:
   8177   *djgpp*)
   8178     lt_prog_compiler_pic=
   8179     ;;
   8180   *)
   8181     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8182     ;;
   8183 esac
   8184 
   8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8186 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8187 if ${lt_cv_prog_compiler_pic+:} false; then :
   8188   $as_echo_n "(cached) " >&6
   8189 else
   8190   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8191 fi
   8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8193 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8194 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8195 
   8196 #
   8197 # Check to make sure the PIC flag actually works.
   8198 #
   8199 if test -n "$lt_prog_compiler_pic"; then
   8200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8201 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8202 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8203   $as_echo_n "(cached) " >&6
   8204 else
   8205   lt_cv_prog_compiler_pic_works=no
   8206    ac_outfile=conftest.$ac_objext
   8207    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8208    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8209    # Insert the option either (1) after the last *FLAGS variable, or
   8210    # (2) before a word containing "conftest.", or (3) at the end.
   8211    # Note that $ac_compile itself does not contain backslashes and begins
   8212    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8213    # The option is referenced via a variable to avoid confusing sed.
   8214    lt_compile=`echo "$ac_compile" | $SED \
   8215    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8216    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8217    -e 's:$: $lt_compiler_flag:'`
   8218    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8219    (eval "$lt_compile" 2>conftest.err)
   8220    ac_status=$?
   8221    cat conftest.err >&5
   8222    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8223    if (exit $ac_status) && test -s "$ac_outfile"; then
   8224      # The compiler can only warn and ignore the option if not recognized
   8225      # So say no if there are warnings other than the usual output.
   8226      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8227      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8228      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8229        lt_cv_prog_compiler_pic_works=yes
   8230      fi
   8231    fi
   8232    $RM conftest*
   8233 
   8234 fi
   8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8236 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8237 
   8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8239     case $lt_prog_compiler_pic in
   8240      "" | " "*) ;;
   8241      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8242      esac
   8243 else
   8244     lt_prog_compiler_pic=
   8245      lt_prog_compiler_can_build_shared=no
   8246 fi
   8247 
   8248 fi
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 #
   8261 # Check to make sure the static flag actually works.
   8262 #
   8263 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8265 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8266 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   lt_cv_prog_compiler_static_works=no
   8270    save_LDFLAGS="$LDFLAGS"
   8271    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8272    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8273    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8274      # The linker can only warn and ignore the option if not recognized
   8275      # So say no if there are warnings
   8276      if test -s conftest.err; then
   8277        # Append any errors to the config.log.
   8278        cat conftest.err 1>&5
   8279        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8280        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8281        if diff conftest.exp conftest.er2 >/dev/null; then
   8282          lt_cv_prog_compiler_static_works=yes
   8283        fi
   8284      else
   8285        lt_cv_prog_compiler_static_works=yes
   8286      fi
   8287    fi
   8288    $RM -r conftest*
   8289    LDFLAGS="$save_LDFLAGS"
   8290 
   8291 fi
   8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8293 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8294 
   8295 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8296     :
   8297 else
   8298     lt_prog_compiler_static=
   8299 fi
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8308 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8309 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8310   $as_echo_n "(cached) " >&6
   8311 else
   8312   lt_cv_prog_compiler_c_o=no
   8313    $RM -r conftest 2>/dev/null
   8314    mkdir conftest
   8315    cd conftest
   8316    mkdir out
   8317    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8318 
   8319    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8320    # Insert the option either (1) after the last *FLAGS variable, or
   8321    # (2) before a word containing "conftest.", or (3) at the end.
   8322    # Note that $ac_compile itself does not contain backslashes and begins
   8323    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8324    lt_compile=`echo "$ac_compile" | $SED \
   8325    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8326    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8327    -e 's:$: $lt_compiler_flag:'`
   8328    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8329    (eval "$lt_compile" 2>out/conftest.err)
   8330    ac_status=$?
   8331    cat out/conftest.err >&5
   8332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8333    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8334    then
   8335      # The compiler can only warn and ignore the option if not recognized
   8336      # So say no if there are warnings
   8337      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8338      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8339      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8340        lt_cv_prog_compiler_c_o=yes
   8341      fi
   8342    fi
   8343    chmod u+w . 2>&5
   8344    $RM conftest*
   8345    # SGI C++ compiler will create directory out/ii_files/ for
   8346    # template instantiation
   8347    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8348    $RM out/* && rmdir out
   8349    cd ..
   8350    $RM -r conftest
   8351    $RM conftest*
   8352 
   8353 fi
   8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8355 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8363 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8364 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   lt_cv_prog_compiler_c_o=no
   8368    $RM -r conftest 2>/dev/null
   8369    mkdir conftest
   8370    cd conftest
   8371    mkdir out
   8372    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8373 
   8374    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8375    # Insert the option either (1) after the last *FLAGS variable, or
   8376    # (2) before a word containing "conftest.", or (3) at the end.
   8377    # Note that $ac_compile itself does not contain backslashes and begins
   8378    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8379    lt_compile=`echo "$ac_compile" | $SED \
   8380    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8381    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8382    -e 's:$: $lt_compiler_flag:'`
   8383    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8384    (eval "$lt_compile" 2>out/conftest.err)
   8385    ac_status=$?
   8386    cat out/conftest.err >&5
   8387    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8388    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8389    then
   8390      # The compiler can only warn and ignore the option if not recognized
   8391      # So say no if there are warnings
   8392      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8393      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8394      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8395        lt_cv_prog_compiler_c_o=yes
   8396      fi
   8397    fi
   8398    chmod u+w . 2>&5
   8399    $RM conftest*
   8400    # SGI C++ compiler will create directory out/ii_files/ for
   8401    # template instantiation
   8402    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8403    $RM out/* && rmdir out
   8404    cd ..
   8405    $RM -r conftest
   8406    $RM conftest*
   8407 
   8408 fi
   8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8410 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8411 
   8412 
   8413 
   8414 
   8415 hard_links="nottested"
   8416 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8417   # do not overwrite the value of need_locks provided by the user
   8418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8419 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8420   hard_links=yes
   8421   $RM conftest*
   8422   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8423   touch conftest.a
   8424   ln conftest.a conftest.b 2>&5 || hard_links=no
   8425   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8427 $as_echo "$hard_links" >&6; }
   8428   if test "$hard_links" = no; then
   8429     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8430 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8431     need_locks=warn
   8432   fi
   8433 else
   8434   need_locks=no
   8435 fi
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8443 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8444 
   8445   runpath_var=
   8446   allow_undefined_flag=
   8447   always_export_symbols=no
   8448   archive_cmds=
   8449   archive_expsym_cmds=
   8450   compiler_needs_object=no
   8451   enable_shared_with_static_runtimes=no
   8452   export_dynamic_flag_spec=
   8453   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8454   hardcode_automatic=no
   8455   hardcode_direct=no
   8456   hardcode_direct_absolute=no
   8457   hardcode_libdir_flag_spec=
   8458   hardcode_libdir_separator=
   8459   hardcode_minus_L=no
   8460   hardcode_shlibpath_var=unsupported
   8461   inherit_rpath=no
   8462   link_all_deplibs=unknown
   8463   module_cmds=
   8464   module_expsym_cmds=
   8465   old_archive_from_new_cmds=
   8466   old_archive_from_expsyms_cmds=
   8467   thread_safe_flag_spec=
   8468   whole_archive_flag_spec=
   8469   # include_expsyms should be a list of space-separated symbols to be *always*
   8470   # included in the symbol list
   8471   include_expsyms=
   8472   # exclude_expsyms can be an extended regexp of symbols to exclude
   8473   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8474   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8475   # as well as any symbol that contains `d'.
   8476   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8477   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8478   # platforms (ab)use it in PIC code, but their linkers get confused if
   8479   # the symbol is explicitly referenced.  Since portable code cannot
   8480   # rely on this symbol name, it's probably fine to never include it in
   8481   # preloaded symbol tables.
   8482   # Exclude shared library initialization/finalization symbols.
   8483   extract_expsyms_cmds=
   8484 
   8485   case $host_os in
   8486   cygwin* | mingw* | pw32* | cegcc*)
   8487     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8488     # When not using gcc, we currently assume that we are using
   8489     # Microsoft Visual C++.
   8490     if test "$GCC" != yes; then
   8491       with_gnu_ld=no
   8492     fi
   8493     ;;
   8494   interix*)
   8495     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8496     with_gnu_ld=yes
   8497     ;;
   8498   openbsd*)
   8499     with_gnu_ld=no
   8500     ;;
   8501   esac
   8502 
   8503   ld_shlibs=yes
   8504 
   8505   # On some targets, GNU ld is compatible enough with the native linker
   8506   # that we're better off using the native interface for both.
   8507   lt_use_gnu_ld_interface=no
   8508   if test "$with_gnu_ld" = yes; then
   8509     case $host_os in
   8510       aix*)
   8511 	# The AIX port of GNU ld has always aspired to compatibility
   8512 	# with the native linker.  However, as the warning in the GNU ld
   8513 	# block says, versions before 2.19.5* couldn't really create working
   8514 	# shared libraries, regardless of the interface used.
   8515 	case `$LD -v 2>&1` in
   8516 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8517 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8518 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8519 	  *)
   8520 	    lt_use_gnu_ld_interface=yes
   8521 	    ;;
   8522 	esac
   8523 	;;
   8524       *)
   8525 	lt_use_gnu_ld_interface=yes
   8526 	;;
   8527     esac
   8528   fi
   8529 
   8530   if test "$lt_use_gnu_ld_interface" = yes; then
   8531     # If archive_cmds runs LD, not CC, wlarc should be empty
   8532     wlarc='${wl}'
   8533 
   8534     # Set some defaults for GNU ld with shared library support. These
   8535     # are reset later if shared libraries are not supported. Putting them
   8536     # here allows them to be overridden if necessary.
   8537     runpath_var=LD_RUN_PATH
   8538     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8539     export_dynamic_flag_spec='${wl}--export-dynamic'
   8540     # ancient GNU ld didn't support --whole-archive et. al.
   8541     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8542       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8543     else
   8544       whole_archive_flag_spec=
   8545     fi
   8546     supports_anon_versioning=no
   8547     case `$LD -v 2>&1` in
   8548       *GNU\ gold*) supports_anon_versioning=yes ;;
   8549       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8550       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8551       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8552       *\ 2.11.*) ;; # other 2.11 versions
   8553       *) supports_anon_versioning=yes ;;
   8554     esac
   8555 
   8556     # See if GNU ld supports shared libraries.
   8557     case $host_os in
   8558     aix[3-9]*)
   8559       # On AIX/PPC, the GNU linker is very broken
   8560       if test "$host_cpu" != ia64; then
   8561 	ld_shlibs=no
   8562 	cat <<_LT_EOF 1>&2
   8563 
   8564 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8565 *** to be unable to reliably create shared libraries on AIX.
   8566 *** Therefore, libtool is disabling shared libraries support.  If you
   8567 *** really care for shared libraries, you may want to install binutils
   8568 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8569 *** You will then need to restart the configuration process.
   8570 
   8571 _LT_EOF
   8572       fi
   8573       ;;
   8574 
   8575     amigaos*)
   8576       case $host_cpu in
   8577       powerpc)
   8578             # see comment about AmigaOS4 .so support
   8579             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8580             archive_expsym_cmds=''
   8581         ;;
   8582       m68k)
   8583             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)'
   8584             hardcode_libdir_flag_spec='-L$libdir'
   8585             hardcode_minus_L=yes
   8586         ;;
   8587       esac
   8588       ;;
   8589 
   8590     beos*)
   8591       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8592 	allow_undefined_flag=unsupported
   8593 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8594 	# support --undefined.  This deserves some investigation.  FIXME
   8595 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8596       else
   8597 	ld_shlibs=no
   8598       fi
   8599       ;;
   8600 
   8601     cygwin* | mingw* | pw32* | cegcc*)
   8602       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8603       # as there is no search path for DLLs.
   8604       hardcode_libdir_flag_spec='-L$libdir'
   8605       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8606       allow_undefined_flag=unsupported
   8607       always_export_symbols=no
   8608       enable_shared_with_static_runtimes=yes
   8609       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'
   8610       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8611 
   8612       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8613         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8614 	# If the export-symbols file already is a .def file (1st line
   8615 	# is EXPORTS), use it as is; otherwise, prepend...
   8616 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8617 	  cp $export_symbols $output_objdir/$soname.def;
   8618 	else
   8619 	  echo EXPORTS > $output_objdir/$soname.def;
   8620 	  cat $export_symbols >> $output_objdir/$soname.def;
   8621 	fi~
   8622 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8623       else
   8624 	ld_shlibs=no
   8625       fi
   8626       ;;
   8627 
   8628     haiku*)
   8629       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8630       link_all_deplibs=yes
   8631       ;;
   8632 
   8633     interix[3-9]*)
   8634       hardcode_direct=no
   8635       hardcode_shlibpath_var=no
   8636       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8637       export_dynamic_flag_spec='${wl}-E'
   8638       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8639       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8640       # default) and relocated if they conflict, which is a slow very memory
   8641       # consuming and fragmenting process.  To avoid this, we pick a random,
   8642       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8643       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8644       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8645       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'
   8646       ;;
   8647 
   8648     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8649       tmp_diet=no
   8650       if test "$host_os" = linux-dietlibc; then
   8651 	case $cc_basename in
   8652 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8653 	esac
   8654       fi
   8655       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8656 	 && test "$tmp_diet" = no
   8657       then
   8658 	tmp_addflag=' $pic_flag'
   8659 	tmp_sharedflag='-shared'
   8660 	case $cc_basename,$host_cpu in
   8661         pgcc*)				# Portland Group C compiler
   8662 	  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'
   8663 	  tmp_addflag=' $pic_flag'
   8664 	  ;;
   8665 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8666 					# Portland Group f77 and f90 compilers
   8667 	  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'
   8668 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8669 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8670 	  tmp_addflag=' -i_dynamic' ;;
   8671 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8672 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8673 	ifc* | ifort*)			# Intel Fortran compiler
   8674 	  tmp_addflag=' -nofor_main' ;;
   8675 	lf95*)				# Lahey Fortran 8.1
   8676 	  whole_archive_flag_spec=
   8677 	  tmp_sharedflag='--shared' ;;
   8678 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8679 	  tmp_sharedflag='-qmkshrobj'
   8680 	  tmp_addflag= ;;
   8681 	nvcc*)	# Cuda Compiler Driver 2.2
   8682 	  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'
   8683 	  compiler_needs_object=yes
   8684 	  ;;
   8685 	esac
   8686 	case `$CC -V 2>&1 | sed 5q` in
   8687 	*Sun\ C*)			# Sun C 5.9
   8688 	  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'
   8689 	  compiler_needs_object=yes
   8690 	  tmp_sharedflag='-G' ;;
   8691 	*Sun\ F*)			# Sun Fortran 8.3
   8692 	  tmp_sharedflag='-G' ;;
   8693 	esac
   8694 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8695 
   8696         if test "x$supports_anon_versioning" = xyes; then
   8697           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8698 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8699 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8700 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8701         fi
   8702 
   8703 	case $cc_basename in
   8704 	xlf* | bgf* | bgxlf* | mpixlf*)
   8705 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8706 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8707 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8708 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8709 	  if test "x$supports_anon_versioning" = xyes; then
   8710 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8711 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8712 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8713 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8714 	  fi
   8715 	  ;;
   8716 	esac
   8717       else
   8718         ld_shlibs=no
   8719       fi
   8720       ;;
   8721 
   8722     netbsd*)
   8723       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8724 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8725 	wlarc=
   8726       else
   8727 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8728 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8729       fi
   8730       ;;
   8731 
   8732     solaris*)
   8733       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8734 	ld_shlibs=no
   8735 	cat <<_LT_EOF 1>&2
   8736 
   8737 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8738 *** create shared libraries on Solaris systems.  Therefore, libtool
   8739 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8740 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8741 *** your PATH or compiler configuration so that the native linker is
   8742 *** used, and then restart.
   8743 
   8744 _LT_EOF
   8745       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8746 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8747 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8748       else
   8749 	ld_shlibs=no
   8750       fi
   8751       ;;
   8752 
   8753     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8754       case `$LD -v 2>&1` in
   8755         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8756 	ld_shlibs=no
   8757 	cat <<_LT_EOF 1>&2
   8758 
   8759 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8760 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8761 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8762 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8763 *** your PATH or compiler configuration so that the native linker is
   8764 *** used, and then restart.
   8765 
   8766 _LT_EOF
   8767 	;;
   8768 	*)
   8769 	  # For security reasons, it is highly recommended that you always
   8770 	  # use absolute paths for naming shared libraries, and exclude the
   8771 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8772 	  # requires that you compile everything twice, which is a pain.
   8773 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8774 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8775 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8776 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8777 	  else
   8778 	    ld_shlibs=no
   8779 	  fi
   8780 	;;
   8781       esac
   8782       ;;
   8783 
   8784     sunos4*)
   8785       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8786       wlarc=
   8787       hardcode_direct=yes
   8788       hardcode_shlibpath_var=no
   8789       ;;
   8790 
   8791     *)
   8792       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8793 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8794 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8795       else
   8796 	ld_shlibs=no
   8797       fi
   8798       ;;
   8799     esac
   8800 
   8801     if test "$ld_shlibs" = no; then
   8802       runpath_var=
   8803       hardcode_libdir_flag_spec=
   8804       export_dynamic_flag_spec=
   8805       whole_archive_flag_spec=
   8806     fi
   8807   else
   8808     # PORTME fill in a description of your system's linker (not GNU ld)
   8809     case $host_os in
   8810     aix3*)
   8811       allow_undefined_flag=unsupported
   8812       always_export_symbols=yes
   8813       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'
   8814       # Note: this linker hardcodes the directories in LIBPATH if there
   8815       # are no directories specified by -L.
   8816       hardcode_minus_L=yes
   8817       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8818 	# Neither direct hardcoding nor static linking is supported with a
   8819 	# broken collect2.
   8820 	hardcode_direct=unsupported
   8821       fi
   8822       ;;
   8823 
   8824     aix[4-9]*)
   8825       if test "$host_cpu" = ia64; then
   8826 	# On IA64, the linker does run time linking by default, so we don't
   8827 	# have to do anything special.
   8828 	aix_use_runtimelinking=no
   8829 	exp_sym_flag='-Bexport'
   8830 	no_entry_flag=""
   8831       else
   8832 	# If we're using GNU nm, then we don't want the "-C" option.
   8833 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8834 	# Also, AIX nm treats weak defined symbols like other global
   8835 	# defined symbols, whereas GNU nm marks them as "W".
   8836 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8837 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8838 	else
   8839 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8840 	fi
   8841 	aix_use_runtimelinking=no
   8842 
   8843 	# Test if we are trying to use run time linking or normal
   8844 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8845 	# need to do runtime linking.
   8846 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8847 	  for ld_flag in $LDFLAGS; do
   8848 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8849 	    aix_use_runtimelinking=yes
   8850 	    break
   8851 	  fi
   8852 	  done
   8853 	  ;;
   8854 	esac
   8855 
   8856 	exp_sym_flag='-bexport'
   8857 	no_entry_flag='-bnoentry'
   8858       fi
   8859 
   8860       # When large executables or shared objects are built, AIX ld can
   8861       # have problems creating the table of contents.  If linking a library
   8862       # or program results in "error TOC overflow" add -mminimal-toc to
   8863       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8864       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8865 
   8866       archive_cmds=''
   8867       hardcode_direct=yes
   8868       hardcode_direct_absolute=yes
   8869       hardcode_libdir_separator=':'
   8870       link_all_deplibs=yes
   8871       file_list_spec='${wl}-f,'
   8872 
   8873       if test "$GCC" = yes; then
   8874 	case $host_os in aix4.[012]|aix4.[012].*)
   8875 	# We only want to do this on AIX 4.2 and lower, the check
   8876 	# below for broken collect2 doesn't work under 4.3+
   8877 	  collect2name=`${CC} -print-prog-name=collect2`
   8878 	  if test -f "$collect2name" &&
   8879 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8880 	  then
   8881 	  # We have reworked collect2
   8882 	  :
   8883 	  else
   8884 	  # We have old collect2
   8885 	  hardcode_direct=unsupported
   8886 	  # It fails to find uninstalled libraries when the uninstalled
   8887 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8888 	  # to unsupported forces relinking
   8889 	  hardcode_minus_L=yes
   8890 	  hardcode_libdir_flag_spec='-L$libdir'
   8891 	  hardcode_libdir_separator=
   8892 	  fi
   8893 	  ;;
   8894 	esac
   8895 	shared_flag='-shared'
   8896 	if test "$aix_use_runtimelinking" = yes; then
   8897 	  shared_flag="$shared_flag "'${wl}-G'
   8898 	fi
   8899       else
   8900 	# not using gcc
   8901 	if test "$host_cpu" = ia64; then
   8902 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8903 	# chokes on -Wl,-G. The following line is correct:
   8904 	  shared_flag='-G'
   8905 	else
   8906 	  if test "$aix_use_runtimelinking" = yes; then
   8907 	    shared_flag='${wl}-G'
   8908 	  else
   8909 	    shared_flag='${wl}-bM:SRE'
   8910 	  fi
   8911 	fi
   8912       fi
   8913 
   8914       export_dynamic_flag_spec='${wl}-bexpall'
   8915       # It seems that -bexpall does not export symbols beginning with
   8916       # underscore (_), so it is better to generate a list of symbols to export.
   8917       always_export_symbols=yes
   8918       if test "$aix_use_runtimelinking" = yes; then
   8919 	# Warning - without using the other runtime loading flags (-brtl),
   8920 	# -berok will link without error, but may produce a broken library.
   8921 	allow_undefined_flag='-berok'
   8922         # Determine the default libpath from the value encoded in an
   8923         # empty executable.
   8924         if test "${lt_cv_aix_libpath+set}" = set; then
   8925   aix_libpath=$lt_cv_aix_libpath
   8926 else
   8927   if ${lt_cv_aix_libpath_+:} false; then :
   8928   $as_echo_n "(cached) " >&6
   8929 else
   8930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8931 /* end confdefs.h.  */
   8932 
   8933 int
   8934 main ()
   8935 {
   8936 
   8937   ;
   8938   return 0;
   8939 }
   8940 _ACEOF
   8941 if ac_fn_c_try_link "$LINENO"; then :
   8942 
   8943   lt_aix_libpath_sed='
   8944       /Import File Strings/,/^$/ {
   8945 	  /^0/ {
   8946 	      s/^0  *\([^ ]*\) *$/\1/
   8947 	      p
   8948 	  }
   8949       }'
   8950   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8951   # Check for a 64-bit object if we didn't find anything.
   8952   if test -z "$lt_cv_aix_libpath_"; then
   8953     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8954   fi
   8955 fi
   8956 rm -f core conftest.err conftest.$ac_objext \
   8957     conftest$ac_exeext conftest.$ac_ext
   8958   if test -z "$lt_cv_aix_libpath_"; then
   8959     lt_cv_aix_libpath_="/usr/lib:/lib"
   8960   fi
   8961 
   8962 fi
   8963 
   8964   aix_libpath=$lt_cv_aix_libpath_
   8965 fi
   8966 
   8967         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8968         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8969       else
   8970 	if test "$host_cpu" = ia64; then
   8971 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8972 	  allow_undefined_flag="-z nodefs"
   8973 	  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"
   8974 	else
   8975 	 # Determine the default libpath from the value encoded in an
   8976 	 # empty executable.
   8977 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8978   aix_libpath=$lt_cv_aix_libpath
   8979 else
   8980   if ${lt_cv_aix_libpath_+:} false; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 
   8986 int
   8987 main ()
   8988 {
   8989 
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"; then :
   8995 
   8996   lt_aix_libpath_sed='
   8997       /Import File Strings/,/^$/ {
   8998 	  /^0/ {
   8999 	      s/^0  *\([^ ]*\) *$/\1/
   9000 	      p
   9001 	  }
   9002       }'
   9003   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9004   # Check for a 64-bit object if we didn't find anything.
   9005   if test -z "$lt_cv_aix_libpath_"; then
   9006     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9007   fi
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext \
   9010     conftest$ac_exeext conftest.$ac_ext
   9011   if test -z "$lt_cv_aix_libpath_"; then
   9012     lt_cv_aix_libpath_="/usr/lib:/lib"
   9013   fi
   9014 
   9015 fi
   9016 
   9017   aix_libpath=$lt_cv_aix_libpath_
   9018 fi
   9019 
   9020 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9021 	  # Warning - without using the other run time loading flags,
   9022 	  # -berok will link without error, but may produce a broken library.
   9023 	  no_undefined_flag=' ${wl}-bernotok'
   9024 	  allow_undefined_flag=' ${wl}-berok'
   9025 	  if test "$with_gnu_ld" = yes; then
   9026 	    # We only use this code for GNU lds that support --whole-archive.
   9027 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9028 	  else
   9029 	    # Exported symbols can be pulled into shared objects from archives
   9030 	    whole_archive_flag_spec='$convenience'
   9031 	  fi
   9032 	  archive_cmds_need_lc=yes
   9033 	  # This is similar to how AIX traditionally builds its shared libraries.
   9034 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9035 	fi
   9036       fi
   9037       ;;
   9038 
   9039     amigaos*)
   9040       case $host_cpu in
   9041       powerpc)
   9042             # see comment about AmigaOS4 .so support
   9043             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9044             archive_expsym_cmds=''
   9045         ;;
   9046       m68k)
   9047             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)'
   9048             hardcode_libdir_flag_spec='-L$libdir'
   9049             hardcode_minus_L=yes
   9050         ;;
   9051       esac
   9052       ;;
   9053 
   9054     bsdi[45]*)
   9055       export_dynamic_flag_spec=-rdynamic
   9056       ;;
   9057 
   9058     cygwin* | mingw* | pw32* | cegcc*)
   9059       # When not using gcc, we currently assume that we are using
   9060       # Microsoft Visual C++.
   9061       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9062       # no search path for DLLs.
   9063       case $cc_basename in
   9064       cl*)
   9065 	# Native MSVC
   9066 	hardcode_libdir_flag_spec=' '
   9067 	allow_undefined_flag=unsupported
   9068 	always_export_symbols=yes
   9069 	file_list_spec='@'
   9070 	# Tell ltmain to make .lib files, not .a files.
   9071 	libext=lib
   9072 	# Tell ltmain to make .dll files, not .so files.
   9073 	shrext_cmds=".dll"
   9074 	# FIXME: Setting linknames here is a bad hack.
   9075 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9076 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9077 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9078 	  else
   9079 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9080 	  fi~
   9081 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9082 	  linknames='
   9083 	# The linker will not automatically build a static lib if we build a DLL.
   9084 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9085 	enable_shared_with_static_runtimes=yes
   9086 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9087 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9088 	# Don't use ranlib
   9089 	old_postinstall_cmds='chmod 644 $oldlib'
   9090 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9091 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9092 	  case $lt_outputfile in
   9093 	    *.exe|*.EXE) ;;
   9094 	    *)
   9095 	      lt_outputfile="$lt_outputfile.exe"
   9096 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9097 	      ;;
   9098 	  esac~
   9099 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9100 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9101 	    $RM "$lt_outputfile.manifest";
   9102 	  fi'
   9103 	;;
   9104       *)
   9105 	# Assume MSVC wrapper
   9106 	hardcode_libdir_flag_spec=' '
   9107 	allow_undefined_flag=unsupported
   9108 	# Tell ltmain to make .lib files, not .a files.
   9109 	libext=lib
   9110 	# Tell ltmain to make .dll files, not .so files.
   9111 	shrext_cmds=".dll"
   9112 	# FIXME: Setting linknames here is a bad hack.
   9113 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9114 	# The linker will automatically build a .lib file if we build a DLL.
   9115 	old_archive_from_new_cmds='true'
   9116 	# FIXME: Should let the user specify the lib program.
   9117 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9118 	enable_shared_with_static_runtimes=yes
   9119 	;;
   9120       esac
   9121       ;;
   9122 
   9123     darwin* | rhapsody*)
   9124 
   9125 
   9126   archive_cmds_need_lc=no
   9127   hardcode_direct=no
   9128   hardcode_automatic=yes
   9129   hardcode_shlibpath_var=unsupported
   9130   if test "$lt_cv_ld_force_load" = "yes"; then
   9131     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\"`'
   9132 
   9133   else
   9134     whole_archive_flag_spec=''
   9135   fi
   9136   link_all_deplibs=yes
   9137   allow_undefined_flag="$_lt_dar_allow_undefined"
   9138   case $cc_basename in
   9139      ifort*) _lt_dar_can_shared=yes ;;
   9140      *) _lt_dar_can_shared=$GCC ;;
   9141   esac
   9142   if test "$_lt_dar_can_shared" = "yes"; then
   9143     output_verbose_link_cmd=func_echo_all
   9144     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9145     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9146     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}"
   9147     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}"
   9148 
   9149   else
   9150   ld_shlibs=no
   9151   fi
   9152 
   9153       ;;
   9154 
   9155     dgux*)
   9156       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9157       hardcode_libdir_flag_spec='-L$libdir'
   9158       hardcode_shlibpath_var=no
   9159       ;;
   9160 
   9161     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9162     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9163     # does not break anything, and helps significantly (at the cost of a little
   9164     # extra space).
   9165     freebsd2.2*)
   9166       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9167       hardcode_libdir_flag_spec='-R$libdir'
   9168       hardcode_direct=yes
   9169       hardcode_shlibpath_var=no
   9170       ;;
   9171 
   9172     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9173     freebsd2.*)
   9174       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9175       hardcode_direct=yes
   9176       hardcode_minus_L=yes
   9177       hardcode_shlibpath_var=no
   9178       ;;
   9179 
   9180     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9181     freebsd* | dragonfly*)
   9182       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9183       hardcode_libdir_flag_spec='-R$libdir'
   9184       hardcode_direct=yes
   9185       hardcode_shlibpath_var=no
   9186       ;;
   9187 
   9188     hpux9*)
   9189       if test "$GCC" = yes; then
   9190 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9191       else
   9192 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9193       fi
   9194       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9195       hardcode_libdir_separator=:
   9196       hardcode_direct=yes
   9197 
   9198       # hardcode_minus_L: Not really in the search PATH,
   9199       # but as the default location of the library.
   9200       hardcode_minus_L=yes
   9201       export_dynamic_flag_spec='${wl}-E'
   9202       ;;
   9203 
   9204     hpux10*)
   9205       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9206 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9207       else
   9208 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9209       fi
   9210       if test "$with_gnu_ld" = no; then
   9211 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9212 	hardcode_libdir_separator=:
   9213 	hardcode_direct=yes
   9214 	hardcode_direct_absolute=yes
   9215 	export_dynamic_flag_spec='${wl}-E'
   9216 	# hardcode_minus_L: Not really in the search PATH,
   9217 	# but as the default location of the library.
   9218 	hardcode_minus_L=yes
   9219       fi
   9220       ;;
   9221 
   9222     hpux11*)
   9223       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9224 	case $host_cpu in
   9225 	hppa*64*)
   9226 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9227 	  ;;
   9228 	ia64*)
   9229 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9230 	  ;;
   9231 	*)
   9232 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9233 	  ;;
   9234 	esac
   9235       else
   9236 	case $host_cpu in
   9237 	hppa*64*)
   9238 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9239 	  ;;
   9240 	ia64*)
   9241 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9242 	  ;;
   9243 	*)
   9244 
   9245 	  # Older versions of the 11.00 compiler do not understand -b yet
   9246 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9247 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9248 $as_echo_n "checking if $CC understands -b... " >&6; }
   9249 if ${lt_cv_prog_compiler__b+:} false; then :
   9250   $as_echo_n "(cached) " >&6
   9251 else
   9252   lt_cv_prog_compiler__b=no
   9253    save_LDFLAGS="$LDFLAGS"
   9254    LDFLAGS="$LDFLAGS -b"
   9255    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9256    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9257      # The linker can only warn and ignore the option if not recognized
   9258      # So say no if there are warnings
   9259      if test -s conftest.err; then
   9260        # Append any errors to the config.log.
   9261        cat conftest.err 1>&5
   9262        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9263        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9264        if diff conftest.exp conftest.er2 >/dev/null; then
   9265          lt_cv_prog_compiler__b=yes
   9266        fi
   9267      else
   9268        lt_cv_prog_compiler__b=yes
   9269      fi
   9270    fi
   9271    $RM -r conftest*
   9272    LDFLAGS="$save_LDFLAGS"
   9273 
   9274 fi
   9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9276 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9277 
   9278 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9279     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9280 else
   9281     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9282 fi
   9283 
   9284 	  ;;
   9285 	esac
   9286       fi
   9287       if test "$with_gnu_ld" = no; then
   9288 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9289 	hardcode_libdir_separator=:
   9290 
   9291 	case $host_cpu in
   9292 	hppa*64*|ia64*)
   9293 	  hardcode_direct=no
   9294 	  hardcode_shlibpath_var=no
   9295 	  ;;
   9296 	*)
   9297 	  hardcode_direct=yes
   9298 	  hardcode_direct_absolute=yes
   9299 	  export_dynamic_flag_spec='${wl}-E'
   9300 
   9301 	  # hardcode_minus_L: Not really in the search PATH,
   9302 	  # but as the default location of the library.
   9303 	  hardcode_minus_L=yes
   9304 	  ;;
   9305 	esac
   9306       fi
   9307       ;;
   9308 
   9309     irix5* | irix6* | nonstopux*)
   9310       if test "$GCC" = yes; then
   9311 	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'
   9312 	# Try to use the -exported_symbol ld option, if it does not
   9313 	# work, assume that -exports_file does not work either and
   9314 	# implicitly export all symbols.
   9315 	# This should be the same for all languages, so no per-tag cache variable.
   9316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9317 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9318 if ${lt_cv_irix_exported_symbol+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   save_LDFLAGS="$LDFLAGS"
   9322 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9323 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9324 /* end confdefs.h.  */
   9325 int foo (void) { return 0; }
   9326 _ACEOF
   9327 if ac_fn_c_try_link "$LINENO"; then :
   9328   lt_cv_irix_exported_symbol=yes
   9329 else
   9330   lt_cv_irix_exported_symbol=no
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext \
   9333     conftest$ac_exeext conftest.$ac_ext
   9334            LDFLAGS="$save_LDFLAGS"
   9335 fi
   9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9337 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9338 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9339           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'
   9340 	fi
   9341       else
   9342 	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'
   9343 	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'
   9344       fi
   9345       archive_cmds_need_lc='no'
   9346       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9347       hardcode_libdir_separator=:
   9348       inherit_rpath=yes
   9349       link_all_deplibs=yes
   9350       ;;
   9351 
   9352     netbsd*)
   9353       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9354 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9355       else
   9356 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9357       fi
   9358       hardcode_libdir_flag_spec='-R$libdir'
   9359       hardcode_direct=yes
   9360       hardcode_shlibpath_var=no
   9361       ;;
   9362 
   9363     newsos6)
   9364       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9365       hardcode_direct=yes
   9366       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9367       hardcode_libdir_separator=:
   9368       hardcode_shlibpath_var=no
   9369       ;;
   9370 
   9371     *nto* | *qnx*)
   9372       ;;
   9373 
   9374     openbsd*)
   9375       if test -f /usr/libexec/ld.so; then
   9376 	hardcode_direct=yes
   9377 	hardcode_shlibpath_var=no
   9378 	hardcode_direct_absolute=yes
   9379 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9380 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9381 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9382 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9383 	  export_dynamic_flag_spec='${wl}-E'
   9384 	else
   9385 	  case $host_os in
   9386 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9387 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9388 	     hardcode_libdir_flag_spec='-R$libdir'
   9389 	     ;;
   9390 	   *)
   9391 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9392 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9393 	     ;;
   9394 	  esac
   9395 	fi
   9396       else
   9397 	ld_shlibs=no
   9398       fi
   9399       ;;
   9400 
   9401     os2*)
   9402       hardcode_libdir_flag_spec='-L$libdir'
   9403       hardcode_minus_L=yes
   9404       allow_undefined_flag=unsupported
   9405       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9406       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9407       ;;
   9408 
   9409     osf3*)
   9410       if test "$GCC" = yes; then
   9411 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9412 	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'
   9413       else
   9414 	allow_undefined_flag=' -expect_unresolved \*'
   9415 	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'
   9416       fi
   9417       archive_cmds_need_lc='no'
   9418       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9419       hardcode_libdir_separator=:
   9420       ;;
   9421 
   9422     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9423       if test "$GCC" = yes; then
   9424 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9425 	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'
   9426 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9427       else
   9428 	allow_undefined_flag=' -expect_unresolved \*'
   9429 	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'
   9430 	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~
   9431 	$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'
   9432 
   9433 	# Both c and cxx compiler support -rpath directly
   9434 	hardcode_libdir_flag_spec='-rpath $libdir'
   9435       fi
   9436       archive_cmds_need_lc='no'
   9437       hardcode_libdir_separator=:
   9438       ;;
   9439 
   9440     solaris*)
   9441       no_undefined_flag=' -z defs'
   9442       if test "$GCC" = yes; then
   9443 	wlarc='${wl}'
   9444 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9445 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9446 	  $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'
   9447       else
   9448 	case `$CC -V 2>&1` in
   9449 	*"Compilers 5.0"*)
   9450 	  wlarc=''
   9451 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9452 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9453 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9454 	  ;;
   9455 	*)
   9456 	  wlarc='${wl}'
   9457 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9458 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9459 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9460 	  ;;
   9461 	esac
   9462       fi
   9463       hardcode_libdir_flag_spec='-R$libdir'
   9464       hardcode_shlibpath_var=no
   9465       case $host_os in
   9466       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9467       *)
   9468 	# The compiler driver will combine and reorder linker options,
   9469 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9470 	# but is careful enough not to reorder.
   9471 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9472 	if test "$GCC" = yes; then
   9473 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9474 	else
   9475 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9476 	fi
   9477 	;;
   9478       esac
   9479       link_all_deplibs=yes
   9480       ;;
   9481 
   9482     sunos4*)
   9483       if test "x$host_vendor" = xsequent; then
   9484 	# Use $CC to link under sequent, because it throws in some extra .o
   9485 	# files that make .init and .fini sections work.
   9486 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9487       else
   9488 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9489       fi
   9490       hardcode_libdir_flag_spec='-L$libdir'
   9491       hardcode_direct=yes
   9492       hardcode_minus_L=yes
   9493       hardcode_shlibpath_var=no
   9494       ;;
   9495 
   9496     sysv4)
   9497       case $host_vendor in
   9498 	sni)
   9499 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9500 	  hardcode_direct=yes # is this really true???
   9501 	;;
   9502 	siemens)
   9503 	  ## LD is ld it makes a PLAMLIB
   9504 	  ## CC just makes a GrossModule.
   9505 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9506 	  reload_cmds='$CC -r -o $output$reload_objs'
   9507 	  hardcode_direct=no
   9508         ;;
   9509 	motorola)
   9510 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9511 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9512 	;;
   9513       esac
   9514       runpath_var='LD_RUN_PATH'
   9515       hardcode_shlibpath_var=no
   9516       ;;
   9517 
   9518     sysv4.3*)
   9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9520       hardcode_shlibpath_var=no
   9521       export_dynamic_flag_spec='-Bexport'
   9522       ;;
   9523 
   9524     sysv4*MP*)
   9525       if test -d /usr/nec; then
   9526 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9527 	hardcode_shlibpath_var=no
   9528 	runpath_var=LD_RUN_PATH
   9529 	hardcode_runpath_var=yes
   9530 	ld_shlibs=yes
   9531       fi
   9532       ;;
   9533 
   9534     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9535       no_undefined_flag='${wl}-z,text'
   9536       archive_cmds_need_lc=no
   9537       hardcode_shlibpath_var=no
   9538       runpath_var='LD_RUN_PATH'
   9539 
   9540       if test "$GCC" = yes; then
   9541 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9543       else
   9544 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9545 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9546       fi
   9547       ;;
   9548 
   9549     sysv5* | sco3.2v5* | sco5v6*)
   9550       # Note: We can NOT use -z defs as we might desire, because we do not
   9551       # link with -lc, and that would cause any symbols used from libc to
   9552       # always be unresolved, which means just about no library would
   9553       # ever link correctly.  If we're not using GNU ld we use -z text
   9554       # though, which does catch some bad symbols but isn't as heavy-handed
   9555       # as -z defs.
   9556       no_undefined_flag='${wl}-z,text'
   9557       allow_undefined_flag='${wl}-z,nodefs'
   9558       archive_cmds_need_lc=no
   9559       hardcode_shlibpath_var=no
   9560       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9561       hardcode_libdir_separator=':'
   9562       link_all_deplibs=yes
   9563       export_dynamic_flag_spec='${wl}-Bexport'
   9564       runpath_var='LD_RUN_PATH'
   9565 
   9566       if test "$GCC" = yes; then
   9567 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9568 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9569       else
   9570 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9571 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9572       fi
   9573       ;;
   9574 
   9575     uts4*)
   9576       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9577       hardcode_libdir_flag_spec='-L$libdir'
   9578       hardcode_shlibpath_var=no
   9579       ;;
   9580 
   9581     *)
   9582       ld_shlibs=no
   9583       ;;
   9584     esac
   9585 
   9586     if test x$host_vendor = xsni; then
   9587       case $host in
   9588       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9589 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9590 	;;
   9591       esac
   9592     fi
   9593   fi
   9594 
   9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9596 $as_echo "$ld_shlibs" >&6; }
   9597 test "$ld_shlibs" = no && can_build_shared=no
   9598 
   9599 with_gnu_ld=$with_gnu_ld
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 #
   9616 # Do we need to explicitly link libc?
   9617 #
   9618 case "x$archive_cmds_need_lc" in
   9619 x|xyes)
   9620   # Assume -lc should be added
   9621   archive_cmds_need_lc=yes
   9622 
   9623   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9624     case $archive_cmds in
   9625     *'~'*)
   9626       # FIXME: we may have to deal with multi-command sequences.
   9627       ;;
   9628     '$CC '*)
   9629       # Test whether the compiler implicitly links with -lc since on some
   9630       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9631       # to ld, don't add -lc before -lgcc.
   9632       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9633 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9634 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9635   $as_echo_n "(cached) " >&6
   9636 else
   9637   $RM conftest*
   9638 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9639 
   9640 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9641   (eval $ac_compile) 2>&5
   9642   ac_status=$?
   9643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9644   test $ac_status = 0; } 2>conftest.err; then
   9645 	  soname=conftest
   9646 	  lib=conftest
   9647 	  libobjs=conftest.$ac_objext
   9648 	  deplibs=
   9649 	  wl=$lt_prog_compiler_wl
   9650 	  pic_flag=$lt_prog_compiler_pic
   9651 	  compiler_flags=-v
   9652 	  linker_flags=-v
   9653 	  verstring=
   9654 	  output_objdir=.
   9655 	  libname=conftest
   9656 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9657 	  allow_undefined_flag=
   9658 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9659   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9660   ac_status=$?
   9661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9662   test $ac_status = 0; }
   9663 	  then
   9664 	    lt_cv_archive_cmds_need_lc=no
   9665 	  else
   9666 	    lt_cv_archive_cmds_need_lc=yes
   9667 	  fi
   9668 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9669 	else
   9670 	  cat conftest.err 1>&5
   9671 	fi
   9672 	$RM conftest*
   9673 
   9674 fi
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9676 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9677       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9678       ;;
   9679     esac
   9680   fi
   9681   ;;
   9682 esac
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9836 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9837 
   9838 if test "$GCC" = yes; then
   9839   case $host_os in
   9840     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9841     *) lt_awk_arg="/^libraries:/" ;;
   9842   esac
   9843   case $host_os in
   9844     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9845     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9846   esac
   9847   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9848   case $lt_search_path_spec in
   9849   *\;*)
   9850     # if the path contains ";" then we assume it to be the separator
   9851     # otherwise default to the standard path separator (i.e. ":") - it is
   9852     # assumed that no part of a normal pathname contains ";" but that should
   9853     # okay in the real world where ";" in dirpaths is itself problematic.
   9854     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9855     ;;
   9856   *)
   9857     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9858     ;;
   9859   esac
   9860   # Ok, now we have the path, separated by spaces, we can step through it
   9861   # and add multilib dir if necessary.
   9862   lt_tmp_lt_search_path_spec=
   9863   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9864   for lt_sys_path in $lt_search_path_spec; do
   9865     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9866       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9867     else
   9868       test -d "$lt_sys_path" && \
   9869 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9870     fi
   9871   done
   9872   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9873 BEGIN {RS=" "; FS="/|\n";} {
   9874   lt_foo="";
   9875   lt_count=0;
   9876   for (lt_i = NF; lt_i > 0; lt_i--) {
   9877     if ($lt_i != "" && $lt_i != ".") {
   9878       if ($lt_i == "..") {
   9879         lt_count++;
   9880       } else {
   9881         if (lt_count == 0) {
   9882           lt_foo="/" $lt_i lt_foo;
   9883         } else {
   9884           lt_count--;
   9885         }
   9886       }
   9887     }
   9888   }
   9889   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9890   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9891 }'`
   9892   # AWK program above erroneously prepends '/' to C:/dos/paths
   9893   # for these hosts.
   9894   case $host_os in
   9895     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9896       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9897   esac
   9898   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9899 else
   9900   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9901 fi
   9902 library_names_spec=
   9903 libname_spec='lib$name'
   9904 soname_spec=
   9905 shrext_cmds=".so"
   9906 postinstall_cmds=
   9907 postuninstall_cmds=
   9908 finish_cmds=
   9909 finish_eval=
   9910 shlibpath_var=
   9911 shlibpath_overrides_runpath=unknown
   9912 version_type=none
   9913 dynamic_linker="$host_os ld.so"
   9914 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9915 need_lib_prefix=unknown
   9916 hardcode_into_libs=no
   9917 
   9918 # when you set need_version to no, make sure it does not cause -set_version
   9919 # flags to be left without arguments
   9920 need_version=unknown
   9921 
   9922 case $host_os in
   9923 aix3*)
   9924   version_type=linux # correct to gnu/linux during the next big refactor
   9925   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9926   shlibpath_var=LIBPATH
   9927 
   9928   # AIX 3 has no versioning support, so we append a major version to the name.
   9929   soname_spec='${libname}${release}${shared_ext}$major'
   9930   ;;
   9931 
   9932 aix[4-9]*)
   9933   version_type=linux # correct to gnu/linux during the next big refactor
   9934   need_lib_prefix=no
   9935   need_version=no
   9936   hardcode_into_libs=yes
   9937   if test "$host_cpu" = ia64; then
   9938     # AIX 5 supports IA64
   9939     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9940     shlibpath_var=LD_LIBRARY_PATH
   9941   else
   9942     # With GCC up to 2.95.x, collect2 would create an import file
   9943     # for dependence libraries.  The import file would start with
   9944     # the line `#! .'.  This would cause the generated library to
   9945     # depend on `.', always an invalid library.  This was fixed in
   9946     # development snapshots of GCC prior to 3.0.
   9947     case $host_os in
   9948       aix4 | aix4.[01] | aix4.[01].*)
   9949       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9950 	   echo ' yes '
   9951 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9952 	:
   9953       else
   9954 	can_build_shared=no
   9955       fi
   9956       ;;
   9957     esac
   9958     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9959     # soname into executable. Probably we can add versioning support to
   9960     # collect2, so additional links can be useful in future.
   9961     if test "$aix_use_runtimelinking" = yes; then
   9962       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9963       # instead of lib<name>.a to let people know that these are not
   9964       # typical AIX shared libraries.
   9965       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9966     else
   9967       # We preserve .a as extension for shared libraries through AIX4.2
   9968       # and later when we are not doing run time linking.
   9969       library_names_spec='${libname}${release}.a $libname.a'
   9970       soname_spec='${libname}${release}${shared_ext}$major'
   9971     fi
   9972     shlibpath_var=LIBPATH
   9973   fi
   9974   ;;
   9975 
   9976 amigaos*)
   9977   case $host_cpu in
   9978   powerpc)
   9979     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9980     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9981     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9982     ;;
   9983   m68k)
   9984     library_names_spec='$libname.ixlibrary $libname.a'
   9985     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9986     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   9987     ;;
   9988   esac
   9989   ;;
   9990 
   9991 beos*)
   9992   library_names_spec='${libname}${shared_ext}'
   9993   dynamic_linker="$host_os ld.so"
   9994   shlibpath_var=LIBRARY_PATH
   9995   ;;
   9996 
   9997 bsdi[45]*)
   9998   version_type=linux # correct to gnu/linux during the next big refactor
   9999   need_version=no
   10000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10001   soname_spec='${libname}${release}${shared_ext}$major'
   10002   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10003   shlibpath_var=LD_LIBRARY_PATH
   10004   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10005   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10006   # the default ld.so.conf also contains /usr/contrib/lib and
   10007   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10008   # libtool to hard-code these into programs
   10009   ;;
   10010 
   10011 cygwin* | mingw* | pw32* | cegcc*)
   10012   version_type=windows
   10013   shrext_cmds=".dll"
   10014   need_version=no
   10015   need_lib_prefix=no
   10016 
   10017   case $GCC,$cc_basename in
   10018   yes,*)
   10019     # gcc
   10020     library_names_spec='$libname.dll.a'
   10021     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10022     postinstall_cmds='base_file=`basename \${file}`~
   10023       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10024       dldir=$destdir/`dirname \$dlpath`~
   10025       test -d \$dldir || mkdir -p \$dldir~
   10026       $install_prog $dir/$dlname \$dldir/$dlname~
   10027       chmod a+x \$dldir/$dlname~
   10028       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10029         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10030       fi'
   10031     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10032       dlpath=$dir/\$dldll~
   10033        $RM \$dlpath'
   10034     shlibpath_overrides_runpath=yes
   10035 
   10036     case $host_os in
   10037     cygwin*)
   10038       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10039       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10040 
   10041       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10042       ;;
   10043     mingw* | cegcc*)
   10044       # MinGW DLLs use traditional 'lib' prefix
   10045       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10046       ;;
   10047     pw32*)
   10048       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10049       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10050       ;;
   10051     esac
   10052     dynamic_linker='Win32 ld.exe'
   10053     ;;
   10054 
   10055   *,cl*)
   10056     # Native MSVC
   10057     libname_spec='$name'
   10058     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10059     library_names_spec='${libname}.dll.lib'
   10060 
   10061     case $build_os in
   10062     mingw*)
   10063       sys_lib_search_path_spec=
   10064       lt_save_ifs=$IFS
   10065       IFS=';'
   10066       for lt_path in $LIB
   10067       do
   10068         IFS=$lt_save_ifs
   10069         # Let DOS variable expansion print the short 8.3 style file name.
   10070         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10071         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10072       done
   10073       IFS=$lt_save_ifs
   10074       # Convert to MSYS style.
   10075       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10076       ;;
   10077     cygwin*)
   10078       # Convert to unix form, then to dos form, then back to unix form
   10079       # but this time dos style (no spaces!) so that the unix form looks
   10080       # like /cygdrive/c/PROGRA~1:/cygdr...
   10081       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10082       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10083       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10084       ;;
   10085     *)
   10086       sys_lib_search_path_spec="$LIB"
   10087       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10088         # It is most probably a Windows format PATH.
   10089         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10090       else
   10091         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10092       fi
   10093       # FIXME: find the short name or the path components, as spaces are
   10094       # common. (e.g. "Program Files" -> "PROGRA~1")
   10095       ;;
   10096     esac
   10097 
   10098     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10099     postinstall_cmds='base_file=`basename \${file}`~
   10100       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10101       dldir=$destdir/`dirname \$dlpath`~
   10102       test -d \$dldir || mkdir -p \$dldir~
   10103       $install_prog $dir/$dlname \$dldir/$dlname'
   10104     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10105       dlpath=$dir/\$dldll~
   10106        $RM \$dlpath'
   10107     shlibpath_overrides_runpath=yes
   10108     dynamic_linker='Win32 link.exe'
   10109     ;;
   10110 
   10111   *)
   10112     # Assume MSVC wrapper
   10113     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10114     dynamic_linker='Win32 ld.exe'
   10115     ;;
   10116   esac
   10117   # FIXME: first we should search . and the directory the executable is in
   10118   shlibpath_var=PATH
   10119   ;;
   10120 
   10121 darwin* | rhapsody*)
   10122   dynamic_linker="$host_os dyld"
   10123   version_type=darwin
   10124   need_lib_prefix=no
   10125   need_version=no
   10126   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10127   soname_spec='${libname}${release}${major}$shared_ext'
   10128   shlibpath_overrides_runpath=yes
   10129   shlibpath_var=DYLD_LIBRARY_PATH
   10130   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10131 
   10132   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10133   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10134   ;;
   10135 
   10136 dgux*)
   10137   version_type=linux # correct to gnu/linux during the next big refactor
   10138   need_lib_prefix=no
   10139   need_version=no
   10140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10141   soname_spec='${libname}${release}${shared_ext}$major'
   10142   shlibpath_var=LD_LIBRARY_PATH
   10143   ;;
   10144 
   10145 freebsd* | dragonfly*)
   10146   # DragonFly does not have aout.  When/if they implement a new
   10147   # versioning mechanism, adjust this.
   10148   if test -x /usr/bin/objformat; then
   10149     objformat=`/usr/bin/objformat`
   10150   else
   10151     case $host_os in
   10152     freebsd[23].*) objformat=aout ;;
   10153     *) objformat=elf ;;
   10154     esac
   10155   fi
   10156   version_type=freebsd-$objformat
   10157   case $version_type in
   10158     freebsd-elf*)
   10159       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10160       need_version=no
   10161       need_lib_prefix=no
   10162       ;;
   10163     freebsd-*)
   10164       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10165       need_version=yes
   10166       ;;
   10167   esac
   10168   shlibpath_var=LD_LIBRARY_PATH
   10169   case $host_os in
   10170   freebsd2.*)
   10171     shlibpath_overrides_runpath=yes
   10172     ;;
   10173   freebsd3.[01]* | freebsdelf3.[01]*)
   10174     shlibpath_overrides_runpath=yes
   10175     hardcode_into_libs=yes
   10176     ;;
   10177   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10178   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10179     shlibpath_overrides_runpath=no
   10180     hardcode_into_libs=yes
   10181     ;;
   10182   *) # from 4.6 on, and DragonFly
   10183     shlibpath_overrides_runpath=yes
   10184     hardcode_into_libs=yes
   10185     ;;
   10186   esac
   10187   ;;
   10188 
   10189 gnu*)
   10190   version_type=linux # correct to gnu/linux during the next big refactor
   10191   need_lib_prefix=no
   10192   need_version=no
   10193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10194   soname_spec='${libname}${release}${shared_ext}$major'
   10195   shlibpath_var=LD_LIBRARY_PATH
   10196   shlibpath_overrides_runpath=no
   10197   hardcode_into_libs=yes
   10198   ;;
   10199 
   10200 haiku*)
   10201   version_type=linux # correct to gnu/linux during the next big refactor
   10202   need_lib_prefix=no
   10203   need_version=no
   10204   dynamic_linker="$host_os runtime_loader"
   10205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10206   soname_spec='${libname}${release}${shared_ext}$major'
   10207   shlibpath_var=LIBRARY_PATH
   10208   shlibpath_overrides_runpath=yes
   10209   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10210   hardcode_into_libs=yes
   10211   ;;
   10212 
   10213 hpux9* | hpux10* | hpux11*)
   10214   # Give a soname corresponding to the major version so that dld.sl refuses to
   10215   # link against other versions.
   10216   version_type=sunos
   10217   need_lib_prefix=no
   10218   need_version=no
   10219   case $host_cpu in
   10220   ia64*)
   10221     shrext_cmds='.so'
   10222     hardcode_into_libs=yes
   10223     dynamic_linker="$host_os dld.so"
   10224     shlibpath_var=LD_LIBRARY_PATH
   10225     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10227     soname_spec='${libname}${release}${shared_ext}$major'
   10228     if test "X$HPUX_IA64_MODE" = X32; then
   10229       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10230     else
   10231       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10232     fi
   10233     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10234     ;;
   10235   hppa*64*)
   10236     shrext_cmds='.sl'
   10237     hardcode_into_libs=yes
   10238     dynamic_linker="$host_os dld.sl"
   10239     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10240     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10241     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10242     soname_spec='${libname}${release}${shared_ext}$major'
   10243     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10244     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10245     ;;
   10246   *)
   10247     shrext_cmds='.sl'
   10248     dynamic_linker="$host_os dld.sl"
   10249     shlibpath_var=SHLIB_PATH
   10250     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10251     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10252     soname_spec='${libname}${release}${shared_ext}$major'
   10253     ;;
   10254   esac
   10255   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10256   postinstall_cmds='chmod 555 $lib'
   10257   # or fails outright, so override atomically:
   10258   install_override_mode=555
   10259   ;;
   10260 
   10261 interix[3-9]*)
   10262   version_type=linux # correct to gnu/linux during the next big refactor
   10263   need_lib_prefix=no
   10264   need_version=no
   10265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10266   soname_spec='${libname}${release}${shared_ext}$major'
   10267   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10268   shlibpath_var=LD_LIBRARY_PATH
   10269   shlibpath_overrides_runpath=no
   10270   hardcode_into_libs=yes
   10271   ;;
   10272 
   10273 irix5* | irix6* | nonstopux*)
   10274   case $host_os in
   10275     nonstopux*) version_type=nonstopux ;;
   10276     *)
   10277 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10278 		version_type=linux # correct to gnu/linux during the next big refactor
   10279 	else
   10280 		version_type=irix
   10281 	fi ;;
   10282   esac
   10283   need_lib_prefix=no
   10284   need_version=no
   10285   soname_spec='${libname}${release}${shared_ext}$major'
   10286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10287   case $host_os in
   10288   irix5* | nonstopux*)
   10289     libsuff= shlibsuff=
   10290     ;;
   10291   *)
   10292     case $LD in # libtool.m4 will add one of these switches to LD
   10293     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10294       libsuff= shlibsuff= libmagic=32-bit;;
   10295     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10296       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10297     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10298       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10299     *) libsuff= shlibsuff= libmagic=never-match;;
   10300     esac
   10301     ;;
   10302   esac
   10303   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10304   shlibpath_overrides_runpath=no
   10305   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10306   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10307   hardcode_into_libs=yes
   10308   ;;
   10309 
   10310 # No shared lib support for Linux oldld, aout, or coff.
   10311 linux*oldld* | linux*aout* | linux*coff*)
   10312   dynamic_linker=no
   10313   ;;
   10314 
   10315 # This must be glibc/ELF.
   10316 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10317   version_type=linux # correct to gnu/linux during the next big refactor
   10318   need_lib_prefix=no
   10319   need_version=no
   10320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10321   soname_spec='${libname}${release}${shared_ext}$major'
   10322   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10323   shlibpath_var=LD_LIBRARY_PATH
   10324   shlibpath_overrides_runpath=no
   10325 
   10326   # Some binutils ld are patched to set DT_RUNPATH
   10327   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   lt_cv_shlibpath_overrides_runpath=no
   10331     save_LDFLAGS=$LDFLAGS
   10332     save_libdir=$libdir
   10333     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10334 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10335     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10348   lt_cv_shlibpath_overrides_runpath=yes
   10349 fi
   10350 fi
   10351 rm -f core conftest.err conftest.$ac_objext \
   10352     conftest$ac_exeext conftest.$ac_ext
   10353     LDFLAGS=$save_LDFLAGS
   10354     libdir=$save_libdir
   10355 
   10356 fi
   10357 
   10358   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10359 
   10360   # This implies no fast_install, which is unacceptable.
   10361   # Some rework will be needed to allow for fast_install
   10362   # before this can be enabled.
   10363   hardcode_into_libs=yes
   10364 
   10365   # Add ABI-specific directories to the system library path.
   10366   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10367 
   10368   # Append ld.so.conf contents to the search path
   10369   if test -f /etc/ld.so.conf; then
   10370     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' ' '`
   10371     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10372 
   10373   fi
   10374 
   10375   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10376   # powerpc, because MkLinux only supported shared libraries with the
   10377   # GNU dynamic linker.  Since this was broken with cross compilers,
   10378   # most powerpc-linux boxes support dynamic linking these days and
   10379   # people can always --disable-shared, the test was removed, and we
   10380   # assume the GNU/Linux dynamic linker is in use.
   10381   dynamic_linker='GNU/Linux ld.so'
   10382   ;;
   10383 
   10384 netbsd*)
   10385   version_type=sunos
   10386   need_lib_prefix=no
   10387   need_version=no
   10388   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10390     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10391     dynamic_linker='NetBSD (a.out) ld.so'
   10392   else
   10393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10394     soname_spec='${libname}${release}${shared_ext}$major'
   10395     dynamic_linker='NetBSD ld.elf_so'
   10396   fi
   10397   shlibpath_var=LD_LIBRARY_PATH
   10398   shlibpath_overrides_runpath=yes
   10399   hardcode_into_libs=yes
   10400   ;;
   10401 
   10402 newsos6)
   10403   version_type=linux # correct to gnu/linux during the next big refactor
   10404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10405   shlibpath_var=LD_LIBRARY_PATH
   10406   shlibpath_overrides_runpath=yes
   10407   ;;
   10408 
   10409 *nto* | *qnx*)
   10410   version_type=qnx
   10411   need_lib_prefix=no
   10412   need_version=no
   10413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10414   soname_spec='${libname}${release}${shared_ext}$major'
   10415   shlibpath_var=LD_LIBRARY_PATH
   10416   shlibpath_overrides_runpath=no
   10417   hardcode_into_libs=yes
   10418   dynamic_linker='ldqnx.so'
   10419   ;;
   10420 
   10421 openbsd*)
   10422   version_type=sunos
   10423   sys_lib_dlsearch_path_spec="/usr/lib"
   10424   need_lib_prefix=no
   10425   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10426   case $host_os in
   10427     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10428     *)				need_version=no  ;;
   10429   esac
   10430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10431   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10432   shlibpath_var=LD_LIBRARY_PATH
   10433   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10434     case $host_os in
   10435       openbsd2.[89] | openbsd2.[89].*)
   10436 	shlibpath_overrides_runpath=no
   10437 	;;
   10438       *)
   10439 	shlibpath_overrides_runpath=yes
   10440 	;;
   10441       esac
   10442   else
   10443     shlibpath_overrides_runpath=yes
   10444   fi
   10445   ;;
   10446 
   10447 os2*)
   10448   libname_spec='$name'
   10449   shrext_cmds=".dll"
   10450   need_lib_prefix=no
   10451   library_names_spec='$libname${shared_ext} $libname.a'
   10452   dynamic_linker='OS/2 ld.exe'
   10453   shlibpath_var=LIBPATH
   10454   ;;
   10455 
   10456 osf3* | osf4* | osf5*)
   10457   version_type=osf
   10458   need_lib_prefix=no
   10459   need_version=no
   10460   soname_spec='${libname}${release}${shared_ext}$major'
   10461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10462   shlibpath_var=LD_LIBRARY_PATH
   10463   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10464   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10465   ;;
   10466 
   10467 rdos*)
   10468   dynamic_linker=no
   10469   ;;
   10470 
   10471 solaris*)
   10472   version_type=linux # correct to gnu/linux during the next big refactor
   10473   need_lib_prefix=no
   10474   need_version=no
   10475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10476   soname_spec='${libname}${release}${shared_ext}$major'
   10477   shlibpath_var=LD_LIBRARY_PATH
   10478   shlibpath_overrides_runpath=yes
   10479   hardcode_into_libs=yes
   10480   # ldd complains unless libraries are executable
   10481   postinstall_cmds='chmod +x $lib'
   10482   ;;
   10483 
   10484 sunos4*)
   10485   version_type=sunos
   10486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10487   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10488   shlibpath_var=LD_LIBRARY_PATH
   10489   shlibpath_overrides_runpath=yes
   10490   if test "$with_gnu_ld" = yes; then
   10491     need_lib_prefix=no
   10492   fi
   10493   need_version=yes
   10494   ;;
   10495 
   10496 sysv4 | sysv4.3*)
   10497   version_type=linux # correct to gnu/linux during the next big refactor
   10498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10499   soname_spec='${libname}${release}${shared_ext}$major'
   10500   shlibpath_var=LD_LIBRARY_PATH
   10501   case $host_vendor in
   10502     sni)
   10503       shlibpath_overrides_runpath=no
   10504       need_lib_prefix=no
   10505       runpath_var=LD_RUN_PATH
   10506       ;;
   10507     siemens)
   10508       need_lib_prefix=no
   10509       ;;
   10510     motorola)
   10511       need_lib_prefix=no
   10512       need_version=no
   10513       shlibpath_overrides_runpath=no
   10514       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10515       ;;
   10516   esac
   10517   ;;
   10518 
   10519 sysv4*MP*)
   10520   if test -d /usr/nec ;then
   10521     version_type=linux # correct to gnu/linux during the next big refactor
   10522     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10523     soname_spec='$libname${shared_ext}.$major'
   10524     shlibpath_var=LD_LIBRARY_PATH
   10525   fi
   10526   ;;
   10527 
   10528 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10529   version_type=freebsd-elf
   10530   need_lib_prefix=no
   10531   need_version=no
   10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10533   soname_spec='${libname}${release}${shared_ext}$major'
   10534   shlibpath_var=LD_LIBRARY_PATH
   10535   shlibpath_overrides_runpath=yes
   10536   hardcode_into_libs=yes
   10537   if test "$with_gnu_ld" = yes; then
   10538     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10539   else
   10540     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10541     case $host_os in
   10542       sco3.2v5*)
   10543         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10544 	;;
   10545     esac
   10546   fi
   10547   sys_lib_dlsearch_path_spec='/usr/lib'
   10548   ;;
   10549 
   10550 tpf*)
   10551   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10552   version_type=linux # correct to gnu/linux during the next big refactor
   10553   need_lib_prefix=no
   10554   need_version=no
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10556   shlibpath_var=LD_LIBRARY_PATH
   10557   shlibpath_overrides_runpath=no
   10558   hardcode_into_libs=yes
   10559   ;;
   10560 
   10561 uts4*)
   10562   version_type=linux # correct to gnu/linux during the next big refactor
   10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10564   soname_spec='${libname}${release}${shared_ext}$major'
   10565   shlibpath_var=LD_LIBRARY_PATH
   10566   ;;
   10567 
   10568 *)
   10569   dynamic_linker=no
   10570   ;;
   10571 esac
   10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10573 $as_echo "$dynamic_linker" >&6; }
   10574 test "$dynamic_linker" = no && can_build_shared=no
   10575 
   10576 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10577 if test "$GCC" = yes; then
   10578   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10579 fi
   10580 
   10581 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10582   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10583 fi
   10584 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10585   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10586 fi
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10680 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10681 hardcode_action=
   10682 if test -n "$hardcode_libdir_flag_spec" ||
   10683    test -n "$runpath_var" ||
   10684    test "X$hardcode_automatic" = "Xyes" ; then
   10685 
   10686   # We can hardcode non-existent directories.
   10687   if test "$hardcode_direct" != no &&
   10688      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10689      # have to relink, otherwise we might link with an installed library
   10690      # when we should be linking with a yet-to-be-installed one
   10691      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10692      test "$hardcode_minus_L" != no; then
   10693     # Linking always hardcodes the temporary library directory.
   10694     hardcode_action=relink
   10695   else
   10696     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10697     hardcode_action=immediate
   10698   fi
   10699 else
   10700   # We cannot hardcode anything, or else we can only hardcode existing
   10701   # directories.
   10702   hardcode_action=unsupported
   10703 fi
   10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10705 $as_echo "$hardcode_action" >&6; }
   10706 
   10707 if test "$hardcode_action" = relink ||
   10708    test "$inherit_rpath" = yes; then
   10709   # Fast installation is not supported
   10710   enable_fast_install=no
   10711 elif test "$shlibpath_overrides_runpath" = yes ||
   10712      test "$enable_shared" = no; then
   10713   # Fast installation is not necessary
   10714   enable_fast_install=needless
   10715 fi
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722   if test "x$enable_dlopen" != xyes; then
   10723   enable_dlopen=unknown
   10724   enable_dlopen_self=unknown
   10725   enable_dlopen_self_static=unknown
   10726 else
   10727   lt_cv_dlopen=no
   10728   lt_cv_dlopen_libs=
   10729 
   10730   case $host_os in
   10731   beos*)
   10732     lt_cv_dlopen="load_add_on"
   10733     lt_cv_dlopen_libs=
   10734     lt_cv_dlopen_self=yes
   10735     ;;
   10736 
   10737   mingw* | pw32* | cegcc*)
   10738     lt_cv_dlopen="LoadLibrary"
   10739     lt_cv_dlopen_libs=
   10740     ;;
   10741 
   10742   cygwin*)
   10743     lt_cv_dlopen="dlopen"
   10744     lt_cv_dlopen_libs=
   10745     ;;
   10746 
   10747   darwin*)
   10748   # if libdl is installed we need to link against it
   10749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10750 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10751 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10752   $as_echo_n "(cached) " >&6
   10753 else
   10754   ac_check_lib_save_LIBS=$LIBS
   10755 LIBS="-ldl  $LIBS"
   10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10757 /* end confdefs.h.  */
   10758 
   10759 /* Override any GCC internal prototype to avoid an error.
   10760    Use char because int might match the return type of a GCC
   10761    builtin and then its argument prototype would still apply.  */
   10762 #ifdef __cplusplus
   10763 extern "C"
   10764 #endif
   10765 char dlopen ();
   10766 int
   10767 main ()
   10768 {
   10769 return dlopen ();
   10770   ;
   10771   return 0;
   10772 }
   10773 _ACEOF
   10774 if ac_fn_c_try_link "$LINENO"; then :
   10775   ac_cv_lib_dl_dlopen=yes
   10776 else
   10777   ac_cv_lib_dl_dlopen=no
   10778 fi
   10779 rm -f core conftest.err conftest.$ac_objext \
   10780     conftest$ac_exeext conftest.$ac_ext
   10781 LIBS=$ac_check_lib_save_LIBS
   10782 fi
   10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10784 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10785 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10786   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10787 else
   10788 
   10789     lt_cv_dlopen="dyld"
   10790     lt_cv_dlopen_libs=
   10791     lt_cv_dlopen_self=yes
   10792 
   10793 fi
   10794 
   10795     ;;
   10796 
   10797   *)
   10798     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10799 if test "x$ac_cv_func_shl_load" = xyes; then :
   10800   lt_cv_dlopen="shl_load"
   10801 else
   10802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10803 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10804 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10805   $as_echo_n "(cached) " >&6
   10806 else
   10807   ac_check_lib_save_LIBS=$LIBS
   10808 LIBS="-ldld  $LIBS"
   10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 
   10812 /* Override any GCC internal prototype to avoid an error.
   10813    Use char because int might match the return type of a GCC
   10814    builtin and then its argument prototype would still apply.  */
   10815 #ifdef __cplusplus
   10816 extern "C"
   10817 #endif
   10818 char shl_load ();
   10819 int
   10820 main ()
   10821 {
   10822 return shl_load ();
   10823   ;
   10824   return 0;
   10825 }
   10826 _ACEOF
   10827 if ac_fn_c_try_link "$LINENO"; then :
   10828   ac_cv_lib_dld_shl_load=yes
   10829 else
   10830   ac_cv_lib_dld_shl_load=no
   10831 fi
   10832 rm -f core conftest.err conftest.$ac_objext \
   10833     conftest$ac_exeext conftest.$ac_ext
   10834 LIBS=$ac_check_lib_save_LIBS
   10835 fi
   10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10837 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10838 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10839   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10840 else
   10841   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10842 if test "x$ac_cv_func_dlopen" = xyes; then :
   10843   lt_cv_dlopen="dlopen"
   10844 else
   10845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10847 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10848   $as_echo_n "(cached) " >&6
   10849 else
   10850   ac_check_lib_save_LIBS=$LIBS
   10851 LIBS="-ldl  $LIBS"
   10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10853 /* end confdefs.h.  */
   10854 
   10855 /* Override any GCC internal prototype to avoid an error.
   10856    Use char because int might match the return type of a GCC
   10857    builtin and then its argument prototype would still apply.  */
   10858 #ifdef __cplusplus
   10859 extern "C"
   10860 #endif
   10861 char dlopen ();
   10862 int
   10863 main ()
   10864 {
   10865 return dlopen ();
   10866   ;
   10867   return 0;
   10868 }
   10869 _ACEOF
   10870 if ac_fn_c_try_link "$LINENO"; then :
   10871   ac_cv_lib_dl_dlopen=yes
   10872 else
   10873   ac_cv_lib_dl_dlopen=no
   10874 fi
   10875 rm -f core conftest.err conftest.$ac_objext \
   10876     conftest$ac_exeext conftest.$ac_ext
   10877 LIBS=$ac_check_lib_save_LIBS
   10878 fi
   10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10880 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10881 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10882   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10883 else
   10884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10885 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10886 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10887   $as_echo_n "(cached) " >&6
   10888 else
   10889   ac_check_lib_save_LIBS=$LIBS
   10890 LIBS="-lsvld  $LIBS"
   10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10892 /* end confdefs.h.  */
   10893 
   10894 /* Override any GCC internal prototype to avoid an error.
   10895    Use char because int might match the return type of a GCC
   10896    builtin and then its argument prototype would still apply.  */
   10897 #ifdef __cplusplus
   10898 extern "C"
   10899 #endif
   10900 char dlopen ();
   10901 int
   10902 main ()
   10903 {
   10904 return dlopen ();
   10905   ;
   10906   return 0;
   10907 }
   10908 _ACEOF
   10909 if ac_fn_c_try_link "$LINENO"; then :
   10910   ac_cv_lib_svld_dlopen=yes
   10911 else
   10912   ac_cv_lib_svld_dlopen=no
   10913 fi
   10914 rm -f core conftest.err conftest.$ac_objext \
   10915     conftest$ac_exeext conftest.$ac_ext
   10916 LIBS=$ac_check_lib_save_LIBS
   10917 fi
   10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10919 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10920 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10921   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10922 else
   10923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10924 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10925 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10926   $as_echo_n "(cached) " >&6
   10927 else
   10928   ac_check_lib_save_LIBS=$LIBS
   10929 LIBS="-ldld  $LIBS"
   10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10931 /* end confdefs.h.  */
   10932 
   10933 /* Override any GCC internal prototype to avoid an error.
   10934    Use char because int might match the return type of a GCC
   10935    builtin and then its argument prototype would still apply.  */
   10936 #ifdef __cplusplus
   10937 extern "C"
   10938 #endif
   10939 char dld_link ();
   10940 int
   10941 main ()
   10942 {
   10943 return dld_link ();
   10944   ;
   10945   return 0;
   10946 }
   10947 _ACEOF
   10948 if ac_fn_c_try_link "$LINENO"; then :
   10949   ac_cv_lib_dld_dld_link=yes
   10950 else
   10951   ac_cv_lib_dld_dld_link=no
   10952 fi
   10953 rm -f core conftest.err conftest.$ac_objext \
   10954     conftest$ac_exeext conftest.$ac_ext
   10955 LIBS=$ac_check_lib_save_LIBS
   10956 fi
   10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10958 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10959 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10960   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10961 fi
   10962 
   10963 
   10964 fi
   10965 
   10966 
   10967 fi
   10968 
   10969 
   10970 fi
   10971 
   10972 
   10973 fi
   10974 
   10975 
   10976 fi
   10977 
   10978     ;;
   10979   esac
   10980 
   10981   if test "x$lt_cv_dlopen" != xno; then
   10982     enable_dlopen=yes
   10983   else
   10984     enable_dlopen=no
   10985   fi
   10986 
   10987   case $lt_cv_dlopen in
   10988   dlopen)
   10989     save_CPPFLAGS="$CPPFLAGS"
   10990     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10991 
   10992     save_LDFLAGS="$LDFLAGS"
   10993     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10994 
   10995     save_LIBS="$LIBS"
   10996     LIBS="$lt_cv_dlopen_libs $LIBS"
   10997 
   10998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10999 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11000 if ${lt_cv_dlopen_self+:} false; then :
   11001   $as_echo_n "(cached) " >&6
   11002 else
   11003   	  if test "$cross_compiling" = yes; then :
   11004   lt_cv_dlopen_self=cross
   11005 else
   11006   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11007   lt_status=$lt_dlunknown
   11008   cat > conftest.$ac_ext <<_LT_EOF
   11009 #line $LINENO "configure"
   11010 #include "confdefs.h"
   11011 
   11012 #if HAVE_DLFCN_H
   11013 #include <dlfcn.h>
   11014 #endif
   11015 
   11016 #include <stdio.h>
   11017 
   11018 #ifdef RTLD_GLOBAL
   11019 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11020 #else
   11021 #  ifdef DL_GLOBAL
   11022 #    define LT_DLGLOBAL		DL_GLOBAL
   11023 #  else
   11024 #    define LT_DLGLOBAL		0
   11025 #  endif
   11026 #endif
   11027 
   11028 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11029    find out it does not work in some platform. */
   11030 #ifndef LT_DLLAZY_OR_NOW
   11031 #  ifdef RTLD_LAZY
   11032 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11033 #  else
   11034 #    ifdef DL_LAZY
   11035 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11036 #    else
   11037 #      ifdef RTLD_NOW
   11038 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11039 #      else
   11040 #        ifdef DL_NOW
   11041 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11042 #        else
   11043 #          define LT_DLLAZY_OR_NOW	0
   11044 #        endif
   11045 #      endif
   11046 #    endif
   11047 #  endif
   11048 #endif
   11049 
   11050 /* When -fvisbility=hidden is used, assume the code has been annotated
   11051    correspondingly for the symbols needed.  */
   11052 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11053 int fnord () __attribute__((visibility("default")));
   11054 #endif
   11055 
   11056 int fnord () { return 42; }
   11057 int main ()
   11058 {
   11059   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11060   int status = $lt_dlunknown;
   11061 
   11062   if (self)
   11063     {
   11064       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11065       else
   11066         {
   11067 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11068           else puts (dlerror ());
   11069 	}
   11070       /* dlclose (self); */
   11071     }
   11072   else
   11073     puts (dlerror ());
   11074 
   11075   return status;
   11076 }
   11077 _LT_EOF
   11078   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11079   (eval $ac_link) 2>&5
   11080   ac_status=$?
   11081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11082   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11083     (./conftest; exit; ) >&5 2>/dev/null
   11084     lt_status=$?
   11085     case x$lt_status in
   11086       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11087       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11088       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11089     esac
   11090   else :
   11091     # compilation failed
   11092     lt_cv_dlopen_self=no
   11093   fi
   11094 fi
   11095 rm -fr conftest*
   11096 
   11097 
   11098 fi
   11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11100 $as_echo "$lt_cv_dlopen_self" >&6; }
   11101 
   11102     if test "x$lt_cv_dlopen_self" = xyes; then
   11103       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11104       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11105 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11106 if ${lt_cv_dlopen_self_static+:} false; then :
   11107   $as_echo_n "(cached) " >&6
   11108 else
   11109   	  if test "$cross_compiling" = yes; then :
   11110   lt_cv_dlopen_self_static=cross
   11111 else
   11112   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11113   lt_status=$lt_dlunknown
   11114   cat > conftest.$ac_ext <<_LT_EOF
   11115 #line $LINENO "configure"
   11116 #include "confdefs.h"
   11117 
   11118 #if HAVE_DLFCN_H
   11119 #include <dlfcn.h>
   11120 #endif
   11121 
   11122 #include <stdio.h>
   11123 
   11124 #ifdef RTLD_GLOBAL
   11125 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11126 #else
   11127 #  ifdef DL_GLOBAL
   11128 #    define LT_DLGLOBAL		DL_GLOBAL
   11129 #  else
   11130 #    define LT_DLGLOBAL		0
   11131 #  endif
   11132 #endif
   11133 
   11134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11135    find out it does not work in some platform. */
   11136 #ifndef LT_DLLAZY_OR_NOW
   11137 #  ifdef RTLD_LAZY
   11138 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11139 #  else
   11140 #    ifdef DL_LAZY
   11141 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11142 #    else
   11143 #      ifdef RTLD_NOW
   11144 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11145 #      else
   11146 #        ifdef DL_NOW
   11147 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11148 #        else
   11149 #          define LT_DLLAZY_OR_NOW	0
   11150 #        endif
   11151 #      endif
   11152 #    endif
   11153 #  endif
   11154 #endif
   11155 
   11156 /* When -fvisbility=hidden is used, assume the code has been annotated
   11157    correspondingly for the symbols needed.  */
   11158 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11159 int fnord () __attribute__((visibility("default")));
   11160 #endif
   11161 
   11162 int fnord () { return 42; }
   11163 int main ()
   11164 {
   11165   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11166   int status = $lt_dlunknown;
   11167 
   11168   if (self)
   11169     {
   11170       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11171       else
   11172         {
   11173 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11174           else puts (dlerror ());
   11175 	}
   11176       /* dlclose (self); */
   11177     }
   11178   else
   11179     puts (dlerror ());
   11180 
   11181   return status;
   11182 }
   11183 _LT_EOF
   11184   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11185   (eval $ac_link) 2>&5
   11186   ac_status=$?
   11187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11188   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11189     (./conftest; exit; ) >&5 2>/dev/null
   11190     lt_status=$?
   11191     case x$lt_status in
   11192       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11193       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11194       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11195     esac
   11196   else :
   11197     # compilation failed
   11198     lt_cv_dlopen_self_static=no
   11199   fi
   11200 fi
   11201 rm -fr conftest*
   11202 
   11203 
   11204 fi
   11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11206 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11207     fi
   11208 
   11209     CPPFLAGS="$save_CPPFLAGS"
   11210     LDFLAGS="$save_LDFLAGS"
   11211     LIBS="$save_LIBS"
   11212     ;;
   11213   esac
   11214 
   11215   case $lt_cv_dlopen_self in
   11216   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11217   *) enable_dlopen_self=unknown ;;
   11218   esac
   11219 
   11220   case $lt_cv_dlopen_self_static in
   11221   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11222   *) enable_dlopen_self_static=unknown ;;
   11223   esac
   11224 fi
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 striplib=
   11243 old_striplib=
   11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11245 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11246 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11247   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11248   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11250 $as_echo "yes" >&6; }
   11251 else
   11252 # FIXME - insert some real tests, host_os isn't really good enough
   11253   case $host_os in
   11254   darwin*)
   11255     if test -n "$STRIP" ; then
   11256       striplib="$STRIP -x"
   11257       old_striplib="$STRIP -S"
   11258       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11259 $as_echo "yes" >&6; }
   11260     else
   11261       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11262 $as_echo "no" >&6; }
   11263     fi
   11264     ;;
   11265   *)
   11266     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11267 $as_echo "no" >&6; }
   11268     ;;
   11269   esac
   11270 fi
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283   # Report which library types will actually be built
   11284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11285 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11287 $as_echo "$can_build_shared" >&6; }
   11288 
   11289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11290 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11291   test "$can_build_shared" = "no" && enable_shared=no
   11292 
   11293   # On AIX, shared libraries and static libraries use the same namespace, and
   11294   # are all built from PIC.
   11295   case $host_os in
   11296   aix3*)
   11297     test "$enable_shared" = yes && enable_static=no
   11298     if test -n "$RANLIB"; then
   11299       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11300       postinstall_cmds='$RANLIB $lib'
   11301     fi
   11302     ;;
   11303 
   11304   aix[4-9]*)
   11305     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11306       test "$enable_shared" = yes && enable_static=no
   11307     fi
   11308     ;;
   11309   esac
   11310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11311 $as_echo "$enable_shared" >&6; }
   11312 
   11313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11314 $as_echo_n "checking whether to build static libraries... " >&6; }
   11315   # Make sure either enable_shared or enable_static is yes.
   11316   test "$enable_shared" = yes || enable_static=yes
   11317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11318 $as_echo "$enable_static" >&6; }
   11319 
   11320 
   11321 
   11322 
   11323 fi
   11324 ac_ext=c
   11325 ac_cpp='$CPP $CPPFLAGS'
   11326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11329 
   11330 CC="$lt_save_CC"
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346         ac_config_commands="$ac_config_commands libtool"
   11347 
   11348 
   11349 
   11350 
   11351 # Only expand once:
   11352 
   11353 
   11354 
   11355 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11368 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11369 if ${ac_cv_prog_cc_c99+:} false; then :
   11370   $as_echo_n "(cached) " >&6
   11371 else
   11372   ac_cv_prog_cc_c99=no
   11373 ac_save_CC=$CC
   11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11375 /* end confdefs.h.  */
   11376 #include <stdarg.h>
   11377 #include <stdbool.h>
   11378 #include <stdlib.h>
   11379 #include <wchar.h>
   11380 #include <stdio.h>
   11381 
   11382 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11383 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11384 #define showlist(...) puts (#__VA_ARGS__)
   11385 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11386 static void
   11387 test_varargs_macros (void)
   11388 {
   11389   int x = 1234;
   11390   int y = 5678;
   11391   debug ("Flag");
   11392   debug ("X = %d\n", x);
   11393   showlist (The first, second, and third items.);
   11394   report (x>y, "x is %d but y is %d", x, y);
   11395 }
   11396 
   11397 // Check long long types.
   11398 #define BIG64 18446744073709551615ull
   11399 #define BIG32 4294967295ul
   11400 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11401 #if !BIG_OK
   11402   your preprocessor is broken;
   11403 #endif
   11404 #if BIG_OK
   11405 #else
   11406   your preprocessor is broken;
   11407 #endif
   11408 static long long int bignum = -9223372036854775807LL;
   11409 static unsigned long long int ubignum = BIG64;
   11410 
   11411 struct incomplete_array
   11412 {
   11413   int datasize;
   11414   double data[];
   11415 };
   11416 
   11417 struct named_init {
   11418   int number;
   11419   const wchar_t *name;
   11420   double average;
   11421 };
   11422 
   11423 typedef const char *ccp;
   11424 
   11425 static inline int
   11426 test_restrict (ccp restrict text)
   11427 {
   11428   // See if C++-style comments work.
   11429   // Iterate through items via the restricted pointer.
   11430   // Also check for declarations in for loops.
   11431   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11432     continue;
   11433   return 0;
   11434 }
   11435 
   11436 // Check varargs and va_copy.
   11437 static void
   11438 test_varargs (const char *format, ...)
   11439 {
   11440   va_list args;
   11441   va_start (args, format);
   11442   va_list args_copy;
   11443   va_copy (args_copy, args);
   11444 
   11445   const char *str;
   11446   int number;
   11447   float fnumber;
   11448 
   11449   while (*format)
   11450     {
   11451       switch (*format++)
   11452 	{
   11453 	case 's': // string
   11454 	  str = va_arg (args_copy, const char *);
   11455 	  break;
   11456 	case 'd': // int
   11457 	  number = va_arg (args_copy, int);
   11458 	  break;
   11459 	case 'f': // float
   11460 	  fnumber = va_arg (args_copy, double);
   11461 	  break;
   11462 	default:
   11463 	  break;
   11464 	}
   11465     }
   11466   va_end (args_copy);
   11467   va_end (args);
   11468 }
   11469 
   11470 int
   11471 main ()
   11472 {
   11473 
   11474   // Check bool.
   11475   _Bool success = false;
   11476 
   11477   // Check restrict.
   11478   if (test_restrict ("String literal") == 0)
   11479     success = true;
   11480   char *restrict newvar = "Another string";
   11481 
   11482   // Check varargs.
   11483   test_varargs ("s, d' f .", "string", 65, 34.234);
   11484   test_varargs_macros ();
   11485 
   11486   // Check flexible array members.
   11487   struct incomplete_array *ia =
   11488     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11489   ia->datasize = 10;
   11490   for (int i = 0; i < ia->datasize; ++i)
   11491     ia->data[i] = i * 1.234;
   11492 
   11493   // Check named initializers.
   11494   struct named_init ni = {
   11495     .number = 34,
   11496     .name = L"Test wide string",
   11497     .average = 543.34343,
   11498   };
   11499 
   11500   ni.number = 58;
   11501 
   11502   int dynamic_array[ni.number];
   11503   dynamic_array[ni.number - 1] = 543;
   11504 
   11505   // work around unused variable warnings
   11506   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11507 	  || dynamic_array[ni.number - 1] != 543);
   11508 
   11509   ;
   11510   return 0;
   11511 }
   11512 _ACEOF
   11513 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11514 do
   11515   CC="$ac_save_CC $ac_arg"
   11516   if ac_fn_c_try_compile "$LINENO"; then :
   11517   ac_cv_prog_cc_c99=$ac_arg
   11518 fi
   11519 rm -f core conftest.err conftest.$ac_objext
   11520   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11521 done
   11522 rm -f conftest.$ac_ext
   11523 CC=$ac_save_CC
   11524 
   11525 fi
   11526 # AC_CACHE_VAL
   11527 case "x$ac_cv_prog_cc_c99" in
   11528   x)
   11529     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11530 $as_echo "none needed" >&6; } ;;
   11531   xno)
   11532     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11533 $as_echo "unsupported" >&6; } ;;
   11534   *)
   11535     CC="$CC $ac_cv_prog_cc_c99"
   11536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11537 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11538 esac
   11539 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11540 
   11541 fi
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11549 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11550   CLANGCC="yes"
   11551 else
   11552   CLANGCC="no"
   11553 fi
   11554 
   11555 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11556 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11557   INTELCC="yes"
   11558 else
   11559   INTELCC="no"
   11560 fi
   11561 
   11562 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11563 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11564   SUNCC="yes"
   11565 else
   11566   SUNCC="no"
   11567 fi
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11578 	if test -n "$ac_tool_prefix"; then
   11579   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11580 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11582 $as_echo_n "checking for $ac_word... " >&6; }
   11583 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11584   $as_echo_n "(cached) " >&6
   11585 else
   11586   case $PKG_CONFIG in
   11587   [\\/]* | ?:[\\/]*)
   11588   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11589   ;;
   11590   *)
   11591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11592 for as_dir in $PATH
   11593 do
   11594   IFS=$as_save_IFS
   11595   test -z "$as_dir" && as_dir=.
   11596     for ac_exec_ext in '' $ac_executable_extensions; do
   11597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11598     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11600     break 2
   11601   fi
   11602 done
   11603   done
   11604 IFS=$as_save_IFS
   11605 
   11606   ;;
   11607 esac
   11608 fi
   11609 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11610 if test -n "$PKG_CONFIG"; then
   11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11612 $as_echo "$PKG_CONFIG" >&6; }
   11613 else
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11615 $as_echo "no" >&6; }
   11616 fi
   11617 
   11618 
   11619 fi
   11620 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11621   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11622   # Extract the first word of "pkg-config", so it can be a program name with args.
   11623 set dummy pkg-config; ac_word=$2
   11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11625 $as_echo_n "checking for $ac_word... " >&6; }
   11626 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11627   $as_echo_n "(cached) " >&6
   11628 else
   11629   case $ac_pt_PKG_CONFIG in
   11630   [\\/]* | ?:[\\/]*)
   11631   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11632   ;;
   11633   *)
   11634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11635 for as_dir in $PATH
   11636 do
   11637   IFS=$as_save_IFS
   11638   test -z "$as_dir" && as_dir=.
   11639     for ac_exec_ext in '' $ac_executable_extensions; do
   11640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11641     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11643     break 2
   11644   fi
   11645 done
   11646   done
   11647 IFS=$as_save_IFS
   11648 
   11649   ;;
   11650 esac
   11651 fi
   11652 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11653 if test -n "$ac_pt_PKG_CONFIG"; then
   11654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11655 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11656 else
   11657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11658 $as_echo "no" >&6; }
   11659 fi
   11660 
   11661   if test "x$ac_pt_PKG_CONFIG" = x; then
   11662     PKG_CONFIG=""
   11663   else
   11664     case $cross_compiling:$ac_tool_warned in
   11665 yes:)
   11666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11668 ac_tool_warned=yes ;;
   11669 esac
   11670     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11671   fi
   11672 else
   11673   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11674 fi
   11675 
   11676 fi
   11677 if test -n "$PKG_CONFIG"; then
   11678 	_pkg_min_version=0.9.0
   11679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11680 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11681 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11683 $as_echo "yes" >&6; }
   11684 	else
   11685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11686 $as_echo "no" >&6; }
   11687 		PKG_CONFIG=""
   11688 	fi
   11689 fi
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 # Check whether --enable-selective-werror was given.
   11696 if test "${enable_selective_werror+set}" = set; then :
   11697   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11698 else
   11699   SELECTIVE_WERROR=yes
   11700 fi
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11707 if test "x$SUNCC" = "xyes"; then
   11708     BASE_CFLAGS="-v"
   11709 else
   11710     BASE_CFLAGS=""
   11711 fi
   11712 
   11713 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 xorg_testset_save_CFLAGS="$CFLAGS"
   11728 
   11729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11734   $as_echo_n "(cached) " >&6
   11735 else
   11736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11737 /* end confdefs.h.  */
   11738 int i;
   11739 _ACEOF
   11740 if ac_fn_c_try_compile "$LINENO"; then :
   11741   xorg_cv_cc_flag_unknown_warning_option=yes
   11742 else
   11743   xorg_cv_cc_flag_unknown_warning_option=no
   11744 fi
   11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11746 fi
   11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11750 	CFLAGS="$xorg_testset_save_CFLAGS"
   11751 fi
   11752 
   11753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11756 	fi
   11757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11761   $as_echo_n "(cached) " >&6
   11762 else
   11763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11764 /* end confdefs.h.  */
   11765 int i;
   11766 _ACEOF
   11767 if ac_fn_c_try_compile "$LINENO"; then :
   11768   xorg_cv_cc_flag_unused_command_line_argument=yes
   11769 else
   11770   xorg_cv_cc_flag_unused_command_line_argument=no
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11773 fi
   11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11777 	CFLAGS="$xorg_testset_save_CFLAGS"
   11778 fi
   11779 
   11780 found="no"
   11781 
   11782 	if test $found = "no" ; then
   11783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11785 		fi
   11786 
   11787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11789 		fi
   11790 
   11791 		CFLAGS="$CFLAGS -Wall"
   11792 
   11793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11794 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11795 		cacheid=xorg_cv_cc_flag__Wall
   11796 		if eval \${$cacheid+:} false; then :
   11797   $as_echo_n "(cached) " >&6
   11798 else
   11799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11800 /* end confdefs.h.  */
   11801 int i;
   11802 int
   11803 main ()
   11804 {
   11805 
   11806   ;
   11807   return 0;
   11808 }
   11809 _ACEOF
   11810 if ac_fn_c_try_link "$LINENO"; then :
   11811   eval $cacheid=yes
   11812 else
   11813   eval $cacheid=no
   11814 fi
   11815 rm -f core conftest.err conftest.$ac_objext \
   11816     conftest$ac_exeext conftest.$ac_ext
   11817 fi
   11818 
   11819 
   11820 		CFLAGS="$xorg_testset_save_CFLAGS"
   11821 
   11822 		eval supported=\$$cacheid
   11823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11824 $as_echo "$supported" >&6; }
   11825 		if test "$supported" = "yes" ; then
   11826 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11827 			found="yes"
   11828 		fi
   11829 	fi
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 xorg_testset_save_CFLAGS="$CFLAGS"
   11846 
   11847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11852   $as_echo_n "(cached) " >&6
   11853 else
   11854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11855 /* end confdefs.h.  */
   11856 int i;
   11857 _ACEOF
   11858 if ac_fn_c_try_compile "$LINENO"; then :
   11859   xorg_cv_cc_flag_unknown_warning_option=yes
   11860 else
   11861   xorg_cv_cc_flag_unknown_warning_option=no
   11862 fi
   11863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11864 fi
   11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11868 	CFLAGS="$xorg_testset_save_CFLAGS"
   11869 fi
   11870 
   11871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11874 	fi
   11875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11879   $as_echo_n "(cached) " >&6
   11880 else
   11881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11882 /* end confdefs.h.  */
   11883 int i;
   11884 _ACEOF
   11885 if ac_fn_c_try_compile "$LINENO"; then :
   11886   xorg_cv_cc_flag_unused_command_line_argument=yes
   11887 else
   11888   xorg_cv_cc_flag_unused_command_line_argument=no
   11889 fi
   11890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11891 fi
   11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11895 	CFLAGS="$xorg_testset_save_CFLAGS"
   11896 fi
   11897 
   11898 found="no"
   11899 
   11900 	if test $found = "no" ; then
   11901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11903 		fi
   11904 
   11905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11907 		fi
   11908 
   11909 		CFLAGS="$CFLAGS -Wpointer-arith"
   11910 
   11911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11912 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11913 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11914 		if eval \${$cacheid+:} false; then :
   11915   $as_echo_n "(cached) " >&6
   11916 else
   11917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11918 /* end confdefs.h.  */
   11919 int i;
   11920 int
   11921 main ()
   11922 {
   11923 
   11924   ;
   11925   return 0;
   11926 }
   11927 _ACEOF
   11928 if ac_fn_c_try_link "$LINENO"; then :
   11929   eval $cacheid=yes
   11930 else
   11931   eval $cacheid=no
   11932 fi
   11933 rm -f core conftest.err conftest.$ac_objext \
   11934     conftest$ac_exeext conftest.$ac_ext
   11935 fi
   11936 
   11937 
   11938 		CFLAGS="$xorg_testset_save_CFLAGS"
   11939 
   11940 		eval supported=\$$cacheid
   11941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11942 $as_echo "$supported" >&6; }
   11943 		if test "$supported" = "yes" ; then
   11944 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11945 			found="yes"
   11946 		fi
   11947 	fi
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 xorg_testset_save_CFLAGS="$CFLAGS"
   11964 
   11965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11970   $as_echo_n "(cached) " >&6
   11971 else
   11972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11973 /* end confdefs.h.  */
   11974 int i;
   11975 _ACEOF
   11976 if ac_fn_c_try_compile "$LINENO"; then :
   11977   xorg_cv_cc_flag_unknown_warning_option=yes
   11978 else
   11979   xorg_cv_cc_flag_unknown_warning_option=no
   11980 fi
   11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11982 fi
   11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11986 	CFLAGS="$xorg_testset_save_CFLAGS"
   11987 fi
   11988 
   11989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11992 	fi
   11993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11997   $as_echo_n "(cached) " >&6
   11998 else
   11999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12000 /* end confdefs.h.  */
   12001 int i;
   12002 _ACEOF
   12003 if ac_fn_c_try_compile "$LINENO"; then :
   12004   xorg_cv_cc_flag_unused_command_line_argument=yes
   12005 else
   12006   xorg_cv_cc_flag_unused_command_line_argument=no
   12007 fi
   12008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12009 fi
   12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12013 	CFLAGS="$xorg_testset_save_CFLAGS"
   12014 fi
   12015 
   12016 found="no"
   12017 
   12018 	if test $found = "no" ; then
   12019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12021 		fi
   12022 
   12023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12025 		fi
   12026 
   12027 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12028 
   12029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12030 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12031 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12032 		if eval \${$cacheid+:} false; then :
   12033   $as_echo_n "(cached) " >&6
   12034 else
   12035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12036 /* end confdefs.h.  */
   12037 int i;
   12038 int
   12039 main ()
   12040 {
   12041 
   12042   ;
   12043   return 0;
   12044 }
   12045 _ACEOF
   12046 if ac_fn_c_try_link "$LINENO"; then :
   12047   eval $cacheid=yes
   12048 else
   12049   eval $cacheid=no
   12050 fi
   12051 rm -f core conftest.err conftest.$ac_objext \
   12052     conftest$ac_exeext conftest.$ac_ext
   12053 fi
   12054 
   12055 
   12056 		CFLAGS="$xorg_testset_save_CFLAGS"
   12057 
   12058 		eval supported=\$$cacheid
   12059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12060 $as_echo "$supported" >&6; }
   12061 		if test "$supported" = "yes" ; then
   12062 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12063 			found="yes"
   12064 		fi
   12065 	fi
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 xorg_testset_save_CFLAGS="$CFLAGS"
   12082 
   12083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12088   $as_echo_n "(cached) " >&6
   12089 else
   12090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12091 /* end confdefs.h.  */
   12092 int i;
   12093 _ACEOF
   12094 if ac_fn_c_try_compile "$LINENO"; then :
   12095   xorg_cv_cc_flag_unknown_warning_option=yes
   12096 else
   12097   xorg_cv_cc_flag_unknown_warning_option=no
   12098 fi
   12099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12100 fi
   12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12104 	CFLAGS="$xorg_testset_save_CFLAGS"
   12105 fi
   12106 
   12107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12110 	fi
   12111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12115   $as_echo_n "(cached) " >&6
   12116 else
   12117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12118 /* end confdefs.h.  */
   12119 int i;
   12120 _ACEOF
   12121 if ac_fn_c_try_compile "$LINENO"; then :
   12122   xorg_cv_cc_flag_unused_command_line_argument=yes
   12123 else
   12124   xorg_cv_cc_flag_unused_command_line_argument=no
   12125 fi
   12126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12127 fi
   12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12131 	CFLAGS="$xorg_testset_save_CFLAGS"
   12132 fi
   12133 
   12134 found="no"
   12135 
   12136 	if test $found = "no" ; then
   12137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12139 		fi
   12140 
   12141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12143 		fi
   12144 
   12145 		CFLAGS="$CFLAGS -Wformat=2"
   12146 
   12147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12148 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12149 		cacheid=xorg_cv_cc_flag__Wformat_2
   12150 		if eval \${$cacheid+:} false; then :
   12151   $as_echo_n "(cached) " >&6
   12152 else
   12153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12154 /* end confdefs.h.  */
   12155 int i;
   12156 int
   12157 main ()
   12158 {
   12159 
   12160   ;
   12161   return 0;
   12162 }
   12163 _ACEOF
   12164 if ac_fn_c_try_link "$LINENO"; then :
   12165   eval $cacheid=yes
   12166 else
   12167   eval $cacheid=no
   12168 fi
   12169 rm -f core conftest.err conftest.$ac_objext \
   12170     conftest$ac_exeext conftest.$ac_ext
   12171 fi
   12172 
   12173 
   12174 		CFLAGS="$xorg_testset_save_CFLAGS"
   12175 
   12176 		eval supported=\$$cacheid
   12177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12178 $as_echo "$supported" >&6; }
   12179 		if test "$supported" = "yes" ; then
   12180 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12181 			found="yes"
   12182 		fi
   12183 	fi
   12184 
   12185 	if test $found = "no" ; then
   12186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12188 		fi
   12189 
   12190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12192 		fi
   12193 
   12194 		CFLAGS="$CFLAGS -Wformat"
   12195 
   12196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12197 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12198 		cacheid=xorg_cv_cc_flag__Wformat
   12199 		if eval \${$cacheid+:} false; then :
   12200   $as_echo_n "(cached) " >&6
   12201 else
   12202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12203 /* end confdefs.h.  */
   12204 int i;
   12205 int
   12206 main ()
   12207 {
   12208 
   12209   ;
   12210   return 0;
   12211 }
   12212 _ACEOF
   12213 if ac_fn_c_try_link "$LINENO"; then :
   12214   eval $cacheid=yes
   12215 else
   12216   eval $cacheid=no
   12217 fi
   12218 rm -f core conftest.err conftest.$ac_objext \
   12219     conftest$ac_exeext conftest.$ac_ext
   12220 fi
   12221 
   12222 
   12223 		CFLAGS="$xorg_testset_save_CFLAGS"
   12224 
   12225 		eval supported=\$$cacheid
   12226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12227 $as_echo "$supported" >&6; }
   12228 		if test "$supported" = "yes" ; then
   12229 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12230 			found="yes"
   12231 		fi
   12232 	fi
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 xorg_testset_save_CFLAGS="$CFLAGS"
   12251 
   12252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12257   $as_echo_n "(cached) " >&6
   12258 else
   12259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12260 /* end confdefs.h.  */
   12261 int i;
   12262 _ACEOF
   12263 if ac_fn_c_try_compile "$LINENO"; then :
   12264   xorg_cv_cc_flag_unknown_warning_option=yes
   12265 else
   12266   xorg_cv_cc_flag_unknown_warning_option=no
   12267 fi
   12268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12269 fi
   12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12273 	CFLAGS="$xorg_testset_save_CFLAGS"
   12274 fi
   12275 
   12276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12279 	fi
   12280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12287 /* end confdefs.h.  */
   12288 int i;
   12289 _ACEOF
   12290 if ac_fn_c_try_compile "$LINENO"; then :
   12291   xorg_cv_cc_flag_unused_command_line_argument=yes
   12292 else
   12293   xorg_cv_cc_flag_unused_command_line_argument=no
   12294 fi
   12295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12296 fi
   12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12300 	CFLAGS="$xorg_testset_save_CFLAGS"
   12301 fi
   12302 
   12303 found="no"
   12304 
   12305 	if test $found = "no" ; then
   12306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12308 		fi
   12309 
   12310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12312 		fi
   12313 
   12314 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12315 
   12316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12317 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12318 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12319 		if eval \${$cacheid+:} false; then :
   12320   $as_echo_n "(cached) " >&6
   12321 else
   12322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12323 /* end confdefs.h.  */
   12324 int i;
   12325 int
   12326 main ()
   12327 {
   12328 
   12329   ;
   12330   return 0;
   12331 }
   12332 _ACEOF
   12333 if ac_fn_c_try_link "$LINENO"; then :
   12334   eval $cacheid=yes
   12335 else
   12336   eval $cacheid=no
   12337 fi
   12338 rm -f core conftest.err conftest.$ac_objext \
   12339     conftest$ac_exeext conftest.$ac_ext
   12340 fi
   12341 
   12342 
   12343 		CFLAGS="$xorg_testset_save_CFLAGS"
   12344 
   12345 		eval supported=\$$cacheid
   12346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12347 $as_echo "$supported" >&6; }
   12348 		if test "$supported" = "yes" ; then
   12349 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12350 			found="yes"
   12351 		fi
   12352 	fi
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 xorg_testset_save_CFLAGS="$CFLAGS"
   12369 
   12370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12373 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12374 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12375   $as_echo_n "(cached) " >&6
   12376 else
   12377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12378 /* end confdefs.h.  */
   12379 int i;
   12380 _ACEOF
   12381 if ac_fn_c_try_compile "$LINENO"; then :
   12382   xorg_cv_cc_flag_unknown_warning_option=yes
   12383 else
   12384   xorg_cv_cc_flag_unknown_warning_option=no
   12385 fi
   12386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12387 fi
   12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12389 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12391 	CFLAGS="$xorg_testset_save_CFLAGS"
   12392 fi
   12393 
   12394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12397 	fi
   12398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12400 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12401 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12402   $as_echo_n "(cached) " >&6
   12403 else
   12404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12405 /* end confdefs.h.  */
   12406 int i;
   12407 _ACEOF
   12408 if ac_fn_c_try_compile "$LINENO"; then :
   12409   xorg_cv_cc_flag_unused_command_line_argument=yes
   12410 else
   12411   xorg_cv_cc_flag_unused_command_line_argument=no
   12412 fi
   12413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12414 fi
   12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12416 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12418 	CFLAGS="$xorg_testset_save_CFLAGS"
   12419 fi
   12420 
   12421 found="no"
   12422 
   12423 	if test $found = "no" ; then
   12424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12426 		fi
   12427 
   12428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12430 		fi
   12431 
   12432 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12433 
   12434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12435 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12436 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12437 		if eval \${$cacheid+:} false; then :
   12438   $as_echo_n "(cached) " >&6
   12439 else
   12440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12441 /* end confdefs.h.  */
   12442 int i;
   12443 int
   12444 main ()
   12445 {
   12446 
   12447   ;
   12448   return 0;
   12449 }
   12450 _ACEOF
   12451 if ac_fn_c_try_link "$LINENO"; then :
   12452   eval $cacheid=yes
   12453 else
   12454   eval $cacheid=no
   12455 fi
   12456 rm -f core conftest.err conftest.$ac_objext \
   12457     conftest$ac_exeext conftest.$ac_ext
   12458 fi
   12459 
   12460 
   12461 		CFLAGS="$xorg_testset_save_CFLAGS"
   12462 
   12463 		eval supported=\$$cacheid
   12464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12465 $as_echo "$supported" >&6; }
   12466 		if test "$supported" = "yes" ; then
   12467 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12468 			found="yes"
   12469 		fi
   12470 	fi
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 xorg_testset_save_CFLAGS="$CFLAGS"
   12487 
   12488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12491 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12492 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12493   $as_echo_n "(cached) " >&6
   12494 else
   12495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12496 /* end confdefs.h.  */
   12497 int i;
   12498 _ACEOF
   12499 if ac_fn_c_try_compile "$LINENO"; then :
   12500   xorg_cv_cc_flag_unknown_warning_option=yes
   12501 else
   12502   xorg_cv_cc_flag_unknown_warning_option=no
   12503 fi
   12504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12505 fi
   12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12507 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12509 	CFLAGS="$xorg_testset_save_CFLAGS"
   12510 fi
   12511 
   12512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12515 	fi
   12516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12518 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12519 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12520   $as_echo_n "(cached) " >&6
   12521 else
   12522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12523 /* end confdefs.h.  */
   12524 int i;
   12525 _ACEOF
   12526 if ac_fn_c_try_compile "$LINENO"; then :
   12527   xorg_cv_cc_flag_unused_command_line_argument=yes
   12528 else
   12529   xorg_cv_cc_flag_unused_command_line_argument=no
   12530 fi
   12531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12532 fi
   12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12534 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12536 	CFLAGS="$xorg_testset_save_CFLAGS"
   12537 fi
   12538 
   12539 found="no"
   12540 
   12541 	if test $found = "no" ; then
   12542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12544 		fi
   12545 
   12546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12548 		fi
   12549 
   12550 		CFLAGS="$CFLAGS -Wnested-externs"
   12551 
   12552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12553 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12554 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12555 		if eval \${$cacheid+:} false; then :
   12556   $as_echo_n "(cached) " >&6
   12557 else
   12558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12559 /* end confdefs.h.  */
   12560 int i;
   12561 int
   12562 main ()
   12563 {
   12564 
   12565   ;
   12566   return 0;
   12567 }
   12568 _ACEOF
   12569 if ac_fn_c_try_link "$LINENO"; then :
   12570   eval $cacheid=yes
   12571 else
   12572   eval $cacheid=no
   12573 fi
   12574 rm -f core conftest.err conftest.$ac_objext \
   12575     conftest$ac_exeext conftest.$ac_ext
   12576 fi
   12577 
   12578 
   12579 		CFLAGS="$xorg_testset_save_CFLAGS"
   12580 
   12581 		eval supported=\$$cacheid
   12582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12583 $as_echo "$supported" >&6; }
   12584 		if test "$supported" = "yes" ; then
   12585 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12586 			found="yes"
   12587 		fi
   12588 	fi
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 xorg_testset_save_CFLAGS="$CFLAGS"
   12605 
   12606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12609 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12610 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12611   $as_echo_n "(cached) " >&6
   12612 else
   12613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12614 /* end confdefs.h.  */
   12615 int i;
   12616 _ACEOF
   12617 if ac_fn_c_try_compile "$LINENO"; then :
   12618   xorg_cv_cc_flag_unknown_warning_option=yes
   12619 else
   12620   xorg_cv_cc_flag_unknown_warning_option=no
   12621 fi
   12622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12623 fi
   12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12625 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12627 	CFLAGS="$xorg_testset_save_CFLAGS"
   12628 fi
   12629 
   12630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12633 	fi
   12634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12636 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12637 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12638   $as_echo_n "(cached) " >&6
   12639 else
   12640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12641 /* end confdefs.h.  */
   12642 int i;
   12643 _ACEOF
   12644 if ac_fn_c_try_compile "$LINENO"; then :
   12645   xorg_cv_cc_flag_unused_command_line_argument=yes
   12646 else
   12647   xorg_cv_cc_flag_unused_command_line_argument=no
   12648 fi
   12649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12650 fi
   12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12652 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12654 	CFLAGS="$xorg_testset_save_CFLAGS"
   12655 fi
   12656 
   12657 found="no"
   12658 
   12659 	if test $found = "no" ; then
   12660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12662 		fi
   12663 
   12664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12666 		fi
   12667 
   12668 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12669 
   12670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12671 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12672 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12673 		if eval \${$cacheid+:} false; then :
   12674   $as_echo_n "(cached) " >&6
   12675 else
   12676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12677 /* end confdefs.h.  */
   12678 int i;
   12679 int
   12680 main ()
   12681 {
   12682 
   12683   ;
   12684   return 0;
   12685 }
   12686 _ACEOF
   12687 if ac_fn_c_try_link "$LINENO"; then :
   12688   eval $cacheid=yes
   12689 else
   12690   eval $cacheid=no
   12691 fi
   12692 rm -f core conftest.err conftest.$ac_objext \
   12693     conftest$ac_exeext conftest.$ac_ext
   12694 fi
   12695 
   12696 
   12697 		CFLAGS="$xorg_testset_save_CFLAGS"
   12698 
   12699 		eval supported=\$$cacheid
   12700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12701 $as_echo "$supported" >&6; }
   12702 		if test "$supported" = "yes" ; then
   12703 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12704 			found="yes"
   12705 		fi
   12706 	fi
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 xorg_testset_save_CFLAGS="$CFLAGS"
   12723 
   12724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12727 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12728 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12729   $as_echo_n "(cached) " >&6
   12730 else
   12731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12732 /* end confdefs.h.  */
   12733 int i;
   12734 _ACEOF
   12735 if ac_fn_c_try_compile "$LINENO"; then :
   12736   xorg_cv_cc_flag_unknown_warning_option=yes
   12737 else
   12738   xorg_cv_cc_flag_unknown_warning_option=no
   12739 fi
   12740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12741 fi
   12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12743 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12745 	CFLAGS="$xorg_testset_save_CFLAGS"
   12746 fi
   12747 
   12748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12751 	fi
   12752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12754 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12755 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12756   $as_echo_n "(cached) " >&6
   12757 else
   12758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12759 /* end confdefs.h.  */
   12760 int i;
   12761 _ACEOF
   12762 if ac_fn_c_try_compile "$LINENO"; then :
   12763   xorg_cv_cc_flag_unused_command_line_argument=yes
   12764 else
   12765   xorg_cv_cc_flag_unused_command_line_argument=no
   12766 fi
   12767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12768 fi
   12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12770 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12772 	CFLAGS="$xorg_testset_save_CFLAGS"
   12773 fi
   12774 
   12775 found="no"
   12776 
   12777 	if test $found = "no" ; then
   12778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12780 		fi
   12781 
   12782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12784 		fi
   12785 
   12786 		CFLAGS="$CFLAGS -Wold-style-definition"
   12787 
   12788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12789 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12790 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12791 		if eval \${$cacheid+:} false; then :
   12792   $as_echo_n "(cached) " >&6
   12793 else
   12794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12795 /* end confdefs.h.  */
   12796 int i;
   12797 int
   12798 main ()
   12799 {
   12800 
   12801   ;
   12802   return 0;
   12803 }
   12804 _ACEOF
   12805 if ac_fn_c_try_link "$LINENO"; then :
   12806   eval $cacheid=yes
   12807 else
   12808   eval $cacheid=no
   12809 fi
   12810 rm -f core conftest.err conftest.$ac_objext \
   12811     conftest$ac_exeext conftest.$ac_ext
   12812 fi
   12813 
   12814 
   12815 		CFLAGS="$xorg_testset_save_CFLAGS"
   12816 
   12817 		eval supported=\$$cacheid
   12818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12819 $as_echo "$supported" >&6; }
   12820 		if test "$supported" = "yes" ; then
   12821 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12822 			found="yes"
   12823 		fi
   12824 	fi
   12825 
   12826 	if test $found = "no" ; then
   12827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12829 		fi
   12830 
   12831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12833 		fi
   12834 
   12835 		CFLAGS="$CFLAGS -fd"
   12836 
   12837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12838 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12839 		cacheid=xorg_cv_cc_flag__fd
   12840 		if eval \${$cacheid+:} false; then :
   12841   $as_echo_n "(cached) " >&6
   12842 else
   12843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12844 /* end confdefs.h.  */
   12845 int i;
   12846 int
   12847 main ()
   12848 {
   12849 
   12850   ;
   12851   return 0;
   12852 }
   12853 _ACEOF
   12854 if ac_fn_c_try_link "$LINENO"; then :
   12855   eval $cacheid=yes
   12856 else
   12857   eval $cacheid=no
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext \
   12860     conftest$ac_exeext conftest.$ac_ext
   12861 fi
   12862 
   12863 
   12864 		CFLAGS="$xorg_testset_save_CFLAGS"
   12865 
   12866 		eval supported=\$$cacheid
   12867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12868 $as_echo "$supported" >&6; }
   12869 		if test "$supported" = "yes" ; then
   12870 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12871 			found="yes"
   12872 		fi
   12873 	fi
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 xorg_testset_save_CFLAGS="$CFLAGS"
   12890 
   12891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12896   $as_echo_n "(cached) " >&6
   12897 else
   12898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12899 /* end confdefs.h.  */
   12900 int i;
   12901 _ACEOF
   12902 if ac_fn_c_try_compile "$LINENO"; then :
   12903   xorg_cv_cc_flag_unknown_warning_option=yes
   12904 else
   12905   xorg_cv_cc_flag_unknown_warning_option=no
   12906 fi
   12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12908 fi
   12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12912 	CFLAGS="$xorg_testset_save_CFLAGS"
   12913 fi
   12914 
   12915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12918 	fi
   12919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12923   $as_echo_n "(cached) " >&6
   12924 else
   12925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12926 /* end confdefs.h.  */
   12927 int i;
   12928 _ACEOF
   12929 if ac_fn_c_try_compile "$LINENO"; then :
   12930   xorg_cv_cc_flag_unused_command_line_argument=yes
   12931 else
   12932   xorg_cv_cc_flag_unused_command_line_argument=no
   12933 fi
   12934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12935 fi
   12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12939 	CFLAGS="$xorg_testset_save_CFLAGS"
   12940 fi
   12941 
   12942 found="no"
   12943 
   12944 	if test $found = "no" ; then
   12945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12947 		fi
   12948 
   12949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12951 		fi
   12952 
   12953 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12954 
   12955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12956 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12957 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12958 		if eval \${$cacheid+:} false; then :
   12959   $as_echo_n "(cached) " >&6
   12960 else
   12961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12962 /* end confdefs.h.  */
   12963 int i;
   12964 int
   12965 main ()
   12966 {
   12967 
   12968   ;
   12969   return 0;
   12970 }
   12971 _ACEOF
   12972 if ac_fn_c_try_link "$LINENO"; then :
   12973   eval $cacheid=yes
   12974 else
   12975   eval $cacheid=no
   12976 fi
   12977 rm -f core conftest.err conftest.$ac_objext \
   12978     conftest$ac_exeext conftest.$ac_ext
   12979 fi
   12980 
   12981 
   12982 		CFLAGS="$xorg_testset_save_CFLAGS"
   12983 
   12984 		eval supported=\$$cacheid
   12985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12986 $as_echo "$supported" >&6; }
   12987 		if test "$supported" = "yes" ; then
   12988 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12989 			found="yes"
   12990 		fi
   12991 	fi
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 # This chunk adds additional warnings that could catch undesired effects.
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 xorg_testset_save_CFLAGS="$CFLAGS"
   13012 
   13013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13018   $as_echo_n "(cached) " >&6
   13019 else
   13020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13021 /* end confdefs.h.  */
   13022 int i;
   13023 _ACEOF
   13024 if ac_fn_c_try_compile "$LINENO"; then :
   13025   xorg_cv_cc_flag_unknown_warning_option=yes
   13026 else
   13027   xorg_cv_cc_flag_unknown_warning_option=no
   13028 fi
   13029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13030 fi
   13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13034 	CFLAGS="$xorg_testset_save_CFLAGS"
   13035 fi
   13036 
   13037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 	fi
   13041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13045   $as_echo_n "(cached) " >&6
   13046 else
   13047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13048 /* end confdefs.h.  */
   13049 int i;
   13050 _ACEOF
   13051 if ac_fn_c_try_compile "$LINENO"; then :
   13052   xorg_cv_cc_flag_unused_command_line_argument=yes
   13053 else
   13054   xorg_cv_cc_flag_unused_command_line_argument=no
   13055 fi
   13056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13057 fi
   13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13061 	CFLAGS="$xorg_testset_save_CFLAGS"
   13062 fi
   13063 
   13064 found="no"
   13065 
   13066 	if test $found = "no" ; then
   13067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13069 		fi
   13070 
   13071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13073 		fi
   13074 
   13075 		CFLAGS="$CFLAGS -Wunused"
   13076 
   13077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13078 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13079 		cacheid=xorg_cv_cc_flag__Wunused
   13080 		if eval \${$cacheid+:} false; then :
   13081   $as_echo_n "(cached) " >&6
   13082 else
   13083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13084 /* end confdefs.h.  */
   13085 int i;
   13086 int
   13087 main ()
   13088 {
   13089 
   13090   ;
   13091   return 0;
   13092 }
   13093 _ACEOF
   13094 if ac_fn_c_try_link "$LINENO"; then :
   13095   eval $cacheid=yes
   13096 else
   13097   eval $cacheid=no
   13098 fi
   13099 rm -f core conftest.err conftest.$ac_objext \
   13100     conftest$ac_exeext conftest.$ac_ext
   13101 fi
   13102 
   13103 
   13104 		CFLAGS="$xorg_testset_save_CFLAGS"
   13105 
   13106 		eval supported=\$$cacheid
   13107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13108 $as_echo "$supported" >&6; }
   13109 		if test "$supported" = "yes" ; then
   13110 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13111 			found="yes"
   13112 		fi
   13113 	fi
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 xorg_testset_save_CFLAGS="$CFLAGS"
   13130 
   13131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13136   $as_echo_n "(cached) " >&6
   13137 else
   13138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13139 /* end confdefs.h.  */
   13140 int i;
   13141 _ACEOF
   13142 if ac_fn_c_try_compile "$LINENO"; then :
   13143   xorg_cv_cc_flag_unknown_warning_option=yes
   13144 else
   13145   xorg_cv_cc_flag_unknown_warning_option=no
   13146 fi
   13147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13148 fi
   13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13152 	CFLAGS="$xorg_testset_save_CFLAGS"
   13153 fi
   13154 
   13155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13158 	fi
   13159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13163   $as_echo_n "(cached) " >&6
   13164 else
   13165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13166 /* end confdefs.h.  */
   13167 int i;
   13168 _ACEOF
   13169 if ac_fn_c_try_compile "$LINENO"; then :
   13170   xorg_cv_cc_flag_unused_command_line_argument=yes
   13171 else
   13172   xorg_cv_cc_flag_unused_command_line_argument=no
   13173 fi
   13174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13175 fi
   13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13179 	CFLAGS="$xorg_testset_save_CFLAGS"
   13180 fi
   13181 
   13182 found="no"
   13183 
   13184 	if test $found = "no" ; then
   13185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13187 		fi
   13188 
   13189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13191 		fi
   13192 
   13193 		CFLAGS="$CFLAGS -Wuninitialized"
   13194 
   13195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13196 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13197 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13198 		if eval \${$cacheid+:} false; then :
   13199   $as_echo_n "(cached) " >&6
   13200 else
   13201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13202 /* end confdefs.h.  */
   13203 int i;
   13204 int
   13205 main ()
   13206 {
   13207 
   13208   ;
   13209   return 0;
   13210 }
   13211 _ACEOF
   13212 if ac_fn_c_try_link "$LINENO"; then :
   13213   eval $cacheid=yes
   13214 else
   13215   eval $cacheid=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext \
   13218     conftest$ac_exeext conftest.$ac_ext
   13219 fi
   13220 
   13221 
   13222 		CFLAGS="$xorg_testset_save_CFLAGS"
   13223 
   13224 		eval supported=\$$cacheid
   13225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13226 $as_echo "$supported" >&6; }
   13227 		if test "$supported" = "yes" ; then
   13228 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13229 			found="yes"
   13230 		fi
   13231 	fi
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 xorg_testset_save_CFLAGS="$CFLAGS"
   13248 
   13249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13254   $as_echo_n "(cached) " >&6
   13255 else
   13256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13257 /* end confdefs.h.  */
   13258 int i;
   13259 _ACEOF
   13260 if ac_fn_c_try_compile "$LINENO"; then :
   13261   xorg_cv_cc_flag_unknown_warning_option=yes
   13262 else
   13263   xorg_cv_cc_flag_unknown_warning_option=no
   13264 fi
   13265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13266 fi
   13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13270 	CFLAGS="$xorg_testset_save_CFLAGS"
   13271 fi
   13272 
   13273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 	fi
   13277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13281   $as_echo_n "(cached) " >&6
   13282 else
   13283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13284 /* end confdefs.h.  */
   13285 int i;
   13286 _ACEOF
   13287 if ac_fn_c_try_compile "$LINENO"; then :
   13288   xorg_cv_cc_flag_unused_command_line_argument=yes
   13289 else
   13290   xorg_cv_cc_flag_unused_command_line_argument=no
   13291 fi
   13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13293 fi
   13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13297 	CFLAGS="$xorg_testset_save_CFLAGS"
   13298 fi
   13299 
   13300 found="no"
   13301 
   13302 	if test $found = "no" ; then
   13303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13305 		fi
   13306 
   13307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13309 		fi
   13310 
   13311 		CFLAGS="$CFLAGS -Wshadow"
   13312 
   13313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13314 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13315 		cacheid=xorg_cv_cc_flag__Wshadow
   13316 		if eval \${$cacheid+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13320 /* end confdefs.h.  */
   13321 int i;
   13322 int
   13323 main ()
   13324 {
   13325 
   13326   ;
   13327   return 0;
   13328 }
   13329 _ACEOF
   13330 if ac_fn_c_try_link "$LINENO"; then :
   13331   eval $cacheid=yes
   13332 else
   13333   eval $cacheid=no
   13334 fi
   13335 rm -f core conftest.err conftest.$ac_objext \
   13336     conftest$ac_exeext conftest.$ac_ext
   13337 fi
   13338 
   13339 
   13340 		CFLAGS="$xorg_testset_save_CFLAGS"
   13341 
   13342 		eval supported=\$$cacheid
   13343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13344 $as_echo "$supported" >&6; }
   13345 		if test "$supported" = "yes" ; then
   13346 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13347 			found="yes"
   13348 		fi
   13349 	fi
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 xorg_testset_save_CFLAGS="$CFLAGS"
   13366 
   13367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13372   $as_echo_n "(cached) " >&6
   13373 else
   13374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13375 /* end confdefs.h.  */
   13376 int i;
   13377 _ACEOF
   13378 if ac_fn_c_try_compile "$LINENO"; then :
   13379   xorg_cv_cc_flag_unknown_warning_option=yes
   13380 else
   13381   xorg_cv_cc_flag_unknown_warning_option=no
   13382 fi
   13383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13384 fi
   13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13388 	CFLAGS="$xorg_testset_save_CFLAGS"
   13389 fi
   13390 
   13391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13394 	fi
   13395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13399   $as_echo_n "(cached) " >&6
   13400 else
   13401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13402 /* end confdefs.h.  */
   13403 int i;
   13404 _ACEOF
   13405 if ac_fn_c_try_compile "$LINENO"; then :
   13406   xorg_cv_cc_flag_unused_command_line_argument=yes
   13407 else
   13408   xorg_cv_cc_flag_unused_command_line_argument=no
   13409 fi
   13410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13411 fi
   13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13415 	CFLAGS="$xorg_testset_save_CFLAGS"
   13416 fi
   13417 
   13418 found="no"
   13419 
   13420 	if test $found = "no" ; then
   13421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13423 		fi
   13424 
   13425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13427 		fi
   13428 
   13429 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13430 
   13431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13432 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13433 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13434 		if eval \${$cacheid+:} false; then :
   13435   $as_echo_n "(cached) " >&6
   13436 else
   13437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13438 /* end confdefs.h.  */
   13439 int i;
   13440 int
   13441 main ()
   13442 {
   13443 
   13444   ;
   13445   return 0;
   13446 }
   13447 _ACEOF
   13448 if ac_fn_c_try_link "$LINENO"; then :
   13449   eval $cacheid=yes
   13450 else
   13451   eval $cacheid=no
   13452 fi
   13453 rm -f core conftest.err conftest.$ac_objext \
   13454     conftest$ac_exeext conftest.$ac_ext
   13455 fi
   13456 
   13457 
   13458 		CFLAGS="$xorg_testset_save_CFLAGS"
   13459 
   13460 		eval supported=\$$cacheid
   13461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13462 $as_echo "$supported" >&6; }
   13463 		if test "$supported" = "yes" ; then
   13464 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13465 			found="yes"
   13466 		fi
   13467 	fi
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 xorg_testset_save_CFLAGS="$CFLAGS"
   13484 
   13485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13490   $as_echo_n "(cached) " >&6
   13491 else
   13492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13493 /* end confdefs.h.  */
   13494 int i;
   13495 _ACEOF
   13496 if ac_fn_c_try_compile "$LINENO"; then :
   13497   xorg_cv_cc_flag_unknown_warning_option=yes
   13498 else
   13499   xorg_cv_cc_flag_unknown_warning_option=no
   13500 fi
   13501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13502 fi
   13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13506 	CFLAGS="$xorg_testset_save_CFLAGS"
   13507 fi
   13508 
   13509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13512 	fi
   13513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13517   $as_echo_n "(cached) " >&6
   13518 else
   13519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13520 /* end confdefs.h.  */
   13521 int i;
   13522 _ACEOF
   13523 if ac_fn_c_try_compile "$LINENO"; then :
   13524   xorg_cv_cc_flag_unused_command_line_argument=yes
   13525 else
   13526   xorg_cv_cc_flag_unused_command_line_argument=no
   13527 fi
   13528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13529 fi
   13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13533 	CFLAGS="$xorg_testset_save_CFLAGS"
   13534 fi
   13535 
   13536 found="no"
   13537 
   13538 	if test $found = "no" ; then
   13539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13541 		fi
   13542 
   13543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13545 		fi
   13546 
   13547 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13548 
   13549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13550 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13551 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13552 		if eval \${$cacheid+:} false; then :
   13553   $as_echo_n "(cached) " >&6
   13554 else
   13555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 int i;
   13558 int
   13559 main ()
   13560 {
   13561 
   13562   ;
   13563   return 0;
   13564 }
   13565 _ACEOF
   13566 if ac_fn_c_try_link "$LINENO"; then :
   13567   eval $cacheid=yes
   13568 else
   13569   eval $cacheid=no
   13570 fi
   13571 rm -f core conftest.err conftest.$ac_objext \
   13572     conftest$ac_exeext conftest.$ac_ext
   13573 fi
   13574 
   13575 
   13576 		CFLAGS="$xorg_testset_save_CFLAGS"
   13577 
   13578 		eval supported=\$$cacheid
   13579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13580 $as_echo "$supported" >&6; }
   13581 		if test "$supported" = "yes" ; then
   13582 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13583 			found="yes"
   13584 		fi
   13585 	fi
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 xorg_testset_save_CFLAGS="$CFLAGS"
   13602 
   13603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13607 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13608   $as_echo_n "(cached) " >&6
   13609 else
   13610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13611 /* end confdefs.h.  */
   13612 int i;
   13613 _ACEOF
   13614 if ac_fn_c_try_compile "$LINENO"; then :
   13615   xorg_cv_cc_flag_unknown_warning_option=yes
   13616 else
   13617   xorg_cv_cc_flag_unknown_warning_option=no
   13618 fi
   13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13620 fi
   13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13624 	CFLAGS="$xorg_testset_save_CFLAGS"
   13625 fi
   13626 
   13627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13630 	fi
   13631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13635   $as_echo_n "(cached) " >&6
   13636 else
   13637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13638 /* end confdefs.h.  */
   13639 int i;
   13640 _ACEOF
   13641 if ac_fn_c_try_compile "$LINENO"; then :
   13642   xorg_cv_cc_flag_unused_command_line_argument=yes
   13643 else
   13644   xorg_cv_cc_flag_unused_command_line_argument=no
   13645 fi
   13646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13647 fi
   13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13651 	CFLAGS="$xorg_testset_save_CFLAGS"
   13652 fi
   13653 
   13654 found="no"
   13655 
   13656 	if test $found = "no" ; then
   13657 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13659 		fi
   13660 
   13661 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13663 		fi
   13664 
   13665 		CFLAGS="$CFLAGS -Wredundant-decls"
   13666 
   13667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13668 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13669 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13670 		if eval \${$cacheid+:} false; then :
   13671   $as_echo_n "(cached) " >&6
   13672 else
   13673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13674 /* end confdefs.h.  */
   13675 int i;
   13676 int
   13677 main ()
   13678 {
   13679 
   13680   ;
   13681   return 0;
   13682 }
   13683 _ACEOF
   13684 if ac_fn_c_try_link "$LINENO"; then :
   13685   eval $cacheid=yes
   13686 else
   13687   eval $cacheid=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext \
   13690     conftest$ac_exeext conftest.$ac_ext
   13691 fi
   13692 
   13693 
   13694 		CFLAGS="$xorg_testset_save_CFLAGS"
   13695 
   13696 		eval supported=\$$cacheid
   13697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13698 $as_echo "$supported" >&6; }
   13699 		if test "$supported" = "yes" ; then
   13700 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13701 			found="yes"
   13702 		fi
   13703 	fi
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 xorg_testset_save_CFLAGS="$CFLAGS"
   13720 
   13721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13724 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13725 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13726   $as_echo_n "(cached) " >&6
   13727 else
   13728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13729 /* end confdefs.h.  */
   13730 int i;
   13731 _ACEOF
   13732 if ac_fn_c_try_compile "$LINENO"; then :
   13733   xorg_cv_cc_flag_unknown_warning_option=yes
   13734 else
   13735   xorg_cv_cc_flag_unknown_warning_option=no
   13736 fi
   13737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13738 fi
   13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13740 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13742 	CFLAGS="$xorg_testset_save_CFLAGS"
   13743 fi
   13744 
   13745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13748 	fi
   13749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13751 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13752 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13753   $as_echo_n "(cached) " >&6
   13754 else
   13755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13756 /* end confdefs.h.  */
   13757 int i;
   13758 _ACEOF
   13759 if ac_fn_c_try_compile "$LINENO"; then :
   13760   xorg_cv_cc_flag_unused_command_line_argument=yes
   13761 else
   13762   xorg_cv_cc_flag_unused_command_line_argument=no
   13763 fi
   13764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13765 fi
   13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13767 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13769 	CFLAGS="$xorg_testset_save_CFLAGS"
   13770 fi
   13771 
   13772 found="no"
   13773 
   13774 	if test $found = "no" ; then
   13775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13777 		fi
   13778 
   13779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13781 		fi
   13782 
   13783 		CFLAGS="$CFLAGS -Wlogical-op"
   13784 
   13785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13786 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13787 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13788 		if eval \${$cacheid+:} false; then :
   13789   $as_echo_n "(cached) " >&6
   13790 else
   13791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13792 /* end confdefs.h.  */
   13793 int i;
   13794 int
   13795 main ()
   13796 {
   13797 
   13798   ;
   13799   return 0;
   13800 }
   13801 _ACEOF
   13802 if ac_fn_c_try_link "$LINENO"; then :
   13803   eval $cacheid=yes
   13804 else
   13805   eval $cacheid=no
   13806 fi
   13807 rm -f core conftest.err conftest.$ac_objext \
   13808     conftest$ac_exeext conftest.$ac_ext
   13809 fi
   13810 
   13811 
   13812 		CFLAGS="$xorg_testset_save_CFLAGS"
   13813 
   13814 		eval supported=\$$cacheid
   13815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13816 $as_echo "$supported" >&6; }
   13817 		if test "$supported" = "yes" ; then
   13818 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   13819 			found="yes"
   13820 		fi
   13821 	fi
   13822 
   13823 
   13824 
   13825 # These are currently disabled because they are noisy.  They will be enabled
   13826 # in the future once the codebase is sufficiently modernized to silence
   13827 # them.  For now, I don't want them to drown out the other warnings.
   13828 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13829 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13830 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13831 
   13832 # Turn some warnings into errors, so we don't accidently get successful builds
   13833 # when there are problems that should be fixed.
   13834 
   13835 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 xorg_testset_save_CFLAGS="$CFLAGS"
   13850 
   13851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13854 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13855 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13856   $as_echo_n "(cached) " >&6
   13857 else
   13858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13859 /* end confdefs.h.  */
   13860 int i;
   13861 _ACEOF
   13862 if ac_fn_c_try_compile "$LINENO"; then :
   13863   xorg_cv_cc_flag_unknown_warning_option=yes
   13864 else
   13865   xorg_cv_cc_flag_unknown_warning_option=no
   13866 fi
   13867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13868 fi
   13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13870 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13872 	CFLAGS="$xorg_testset_save_CFLAGS"
   13873 fi
   13874 
   13875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13878 	fi
   13879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13881 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13882 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13883   $as_echo_n "(cached) " >&6
   13884 else
   13885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13886 /* end confdefs.h.  */
   13887 int i;
   13888 _ACEOF
   13889 if ac_fn_c_try_compile "$LINENO"; then :
   13890   xorg_cv_cc_flag_unused_command_line_argument=yes
   13891 else
   13892   xorg_cv_cc_flag_unused_command_line_argument=no
   13893 fi
   13894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13895 fi
   13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13897 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13899 	CFLAGS="$xorg_testset_save_CFLAGS"
   13900 fi
   13901 
   13902 found="no"
   13903 
   13904 	if test $found = "no" ; then
   13905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13907 		fi
   13908 
   13909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13911 		fi
   13912 
   13913 		CFLAGS="$CFLAGS -Werror=implicit"
   13914 
   13915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13916 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13917 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13918 		if eval \${$cacheid+:} false; then :
   13919   $as_echo_n "(cached) " >&6
   13920 else
   13921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13922 /* end confdefs.h.  */
   13923 int i;
   13924 int
   13925 main ()
   13926 {
   13927 
   13928   ;
   13929   return 0;
   13930 }
   13931 _ACEOF
   13932 if ac_fn_c_try_link "$LINENO"; then :
   13933   eval $cacheid=yes
   13934 else
   13935   eval $cacheid=no
   13936 fi
   13937 rm -f core conftest.err conftest.$ac_objext \
   13938     conftest$ac_exeext conftest.$ac_ext
   13939 fi
   13940 
   13941 
   13942 		CFLAGS="$xorg_testset_save_CFLAGS"
   13943 
   13944 		eval supported=\$$cacheid
   13945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13946 $as_echo "$supported" >&6; }
   13947 		if test "$supported" = "yes" ; then
   13948 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13949 			found="yes"
   13950 		fi
   13951 	fi
   13952 
   13953 	if test $found = "no" ; then
   13954 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13955 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13956 		fi
   13957 
   13958 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13959 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13960 		fi
   13961 
   13962 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13963 
   13964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13965 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13966 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   13967 		if eval \${$cacheid+:} false; then :
   13968   $as_echo_n "(cached) " >&6
   13969 else
   13970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13971 /* end confdefs.h.  */
   13972 int i;
   13973 int
   13974 main ()
   13975 {
   13976 
   13977   ;
   13978   return 0;
   13979 }
   13980 _ACEOF
   13981 if ac_fn_c_try_link "$LINENO"; then :
   13982   eval $cacheid=yes
   13983 else
   13984   eval $cacheid=no
   13985 fi
   13986 rm -f core conftest.err conftest.$ac_objext \
   13987     conftest$ac_exeext conftest.$ac_ext
   13988 fi
   13989 
   13990 
   13991 		CFLAGS="$xorg_testset_save_CFLAGS"
   13992 
   13993 		eval supported=\$$cacheid
   13994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13995 $as_echo "$supported" >&6; }
   13996 		if test "$supported" = "yes" ; then
   13997 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13998 			found="yes"
   13999 		fi
   14000 	fi
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 xorg_testset_save_CFLAGS="$CFLAGS"
   14017 
   14018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14021 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14022 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14023   $as_echo_n "(cached) " >&6
   14024 else
   14025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14026 /* end confdefs.h.  */
   14027 int i;
   14028 _ACEOF
   14029 if ac_fn_c_try_compile "$LINENO"; then :
   14030   xorg_cv_cc_flag_unknown_warning_option=yes
   14031 else
   14032   xorg_cv_cc_flag_unknown_warning_option=no
   14033 fi
   14034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14035 fi
   14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14037 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14038 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14039 	CFLAGS="$xorg_testset_save_CFLAGS"
   14040 fi
   14041 
   14042 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14043 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14044 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14045 	fi
   14046 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14048 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14049 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14050   $as_echo_n "(cached) " >&6
   14051 else
   14052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14053 /* end confdefs.h.  */
   14054 int i;
   14055 _ACEOF
   14056 if ac_fn_c_try_compile "$LINENO"; then :
   14057   xorg_cv_cc_flag_unused_command_line_argument=yes
   14058 else
   14059   xorg_cv_cc_flag_unused_command_line_argument=no
   14060 fi
   14061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14062 fi
   14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14064 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14065 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14066 	CFLAGS="$xorg_testset_save_CFLAGS"
   14067 fi
   14068 
   14069 found="no"
   14070 
   14071 	if test $found = "no" ; then
   14072 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14073 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14074 		fi
   14075 
   14076 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14077 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14078 		fi
   14079 
   14080 		CFLAGS="$CFLAGS -Werror=nonnull"
   14081 
   14082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14083 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14084 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14085 		if eval \${$cacheid+:} false; then :
   14086   $as_echo_n "(cached) " >&6
   14087 else
   14088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14089 /* end confdefs.h.  */
   14090 int i;
   14091 int
   14092 main ()
   14093 {
   14094 
   14095   ;
   14096   return 0;
   14097 }
   14098 _ACEOF
   14099 if ac_fn_c_try_link "$LINENO"; then :
   14100   eval $cacheid=yes
   14101 else
   14102   eval $cacheid=no
   14103 fi
   14104 rm -f core conftest.err conftest.$ac_objext \
   14105     conftest$ac_exeext conftest.$ac_ext
   14106 fi
   14107 
   14108 
   14109 		CFLAGS="$xorg_testset_save_CFLAGS"
   14110 
   14111 		eval supported=\$$cacheid
   14112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14113 $as_echo "$supported" >&6; }
   14114 		if test "$supported" = "yes" ; then
   14115 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14116 			found="yes"
   14117 		fi
   14118 	fi
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 xorg_testset_save_CFLAGS="$CFLAGS"
   14135 
   14136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14139 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14140 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14141   $as_echo_n "(cached) " >&6
   14142 else
   14143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14144 /* end confdefs.h.  */
   14145 int i;
   14146 _ACEOF
   14147 if ac_fn_c_try_compile "$LINENO"; then :
   14148   xorg_cv_cc_flag_unknown_warning_option=yes
   14149 else
   14150   xorg_cv_cc_flag_unknown_warning_option=no
   14151 fi
   14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14153 fi
   14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14155 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14157 	CFLAGS="$xorg_testset_save_CFLAGS"
   14158 fi
   14159 
   14160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 	fi
   14164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14166 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14167 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14168   $as_echo_n "(cached) " >&6
   14169 else
   14170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14171 /* end confdefs.h.  */
   14172 int i;
   14173 _ACEOF
   14174 if ac_fn_c_try_compile "$LINENO"; then :
   14175   xorg_cv_cc_flag_unused_command_line_argument=yes
   14176 else
   14177   xorg_cv_cc_flag_unused_command_line_argument=no
   14178 fi
   14179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14180 fi
   14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14182 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14184 	CFLAGS="$xorg_testset_save_CFLAGS"
   14185 fi
   14186 
   14187 found="no"
   14188 
   14189 	if test $found = "no" ; then
   14190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14192 		fi
   14193 
   14194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14196 		fi
   14197 
   14198 		CFLAGS="$CFLAGS -Werror=init-self"
   14199 
   14200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14201 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14202 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14203 		if eval \${$cacheid+:} false; then :
   14204   $as_echo_n "(cached) " >&6
   14205 else
   14206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14207 /* end confdefs.h.  */
   14208 int i;
   14209 int
   14210 main ()
   14211 {
   14212 
   14213   ;
   14214   return 0;
   14215 }
   14216 _ACEOF
   14217 if ac_fn_c_try_link "$LINENO"; then :
   14218   eval $cacheid=yes
   14219 else
   14220   eval $cacheid=no
   14221 fi
   14222 rm -f core conftest.err conftest.$ac_objext \
   14223     conftest$ac_exeext conftest.$ac_ext
   14224 fi
   14225 
   14226 
   14227 		CFLAGS="$xorg_testset_save_CFLAGS"
   14228 
   14229 		eval supported=\$$cacheid
   14230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14231 $as_echo "$supported" >&6; }
   14232 		if test "$supported" = "yes" ; then
   14233 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14234 			found="yes"
   14235 		fi
   14236 	fi
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 xorg_testset_save_CFLAGS="$CFLAGS"
   14253 
   14254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14257 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14258 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14259   $as_echo_n "(cached) " >&6
   14260 else
   14261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14262 /* end confdefs.h.  */
   14263 int i;
   14264 _ACEOF
   14265 if ac_fn_c_try_compile "$LINENO"; then :
   14266   xorg_cv_cc_flag_unknown_warning_option=yes
   14267 else
   14268   xorg_cv_cc_flag_unknown_warning_option=no
   14269 fi
   14270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14271 fi
   14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14273 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14275 	CFLAGS="$xorg_testset_save_CFLAGS"
   14276 fi
   14277 
   14278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 	fi
   14282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14284 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14285 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14286   $as_echo_n "(cached) " >&6
   14287 else
   14288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14289 /* end confdefs.h.  */
   14290 int i;
   14291 _ACEOF
   14292 if ac_fn_c_try_compile "$LINENO"; then :
   14293   xorg_cv_cc_flag_unused_command_line_argument=yes
   14294 else
   14295   xorg_cv_cc_flag_unused_command_line_argument=no
   14296 fi
   14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14298 fi
   14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14300 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14302 	CFLAGS="$xorg_testset_save_CFLAGS"
   14303 fi
   14304 
   14305 found="no"
   14306 
   14307 	if test $found = "no" ; then
   14308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14310 		fi
   14311 
   14312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14314 		fi
   14315 
   14316 		CFLAGS="$CFLAGS -Werror=main"
   14317 
   14318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14319 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14320 		cacheid=xorg_cv_cc_flag__Werror_main
   14321 		if eval \${$cacheid+:} false; then :
   14322   $as_echo_n "(cached) " >&6
   14323 else
   14324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14325 /* end confdefs.h.  */
   14326 int i;
   14327 int
   14328 main ()
   14329 {
   14330 
   14331   ;
   14332   return 0;
   14333 }
   14334 _ACEOF
   14335 if ac_fn_c_try_link "$LINENO"; then :
   14336   eval $cacheid=yes
   14337 else
   14338   eval $cacheid=no
   14339 fi
   14340 rm -f core conftest.err conftest.$ac_objext \
   14341     conftest$ac_exeext conftest.$ac_ext
   14342 fi
   14343 
   14344 
   14345 		CFLAGS="$xorg_testset_save_CFLAGS"
   14346 
   14347 		eval supported=\$$cacheid
   14348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14349 $as_echo "$supported" >&6; }
   14350 		if test "$supported" = "yes" ; then
   14351 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14352 			found="yes"
   14353 		fi
   14354 	fi
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 xorg_testset_save_CFLAGS="$CFLAGS"
   14371 
   14372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14375 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14376 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14377   $as_echo_n "(cached) " >&6
   14378 else
   14379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14380 /* end confdefs.h.  */
   14381 int i;
   14382 _ACEOF
   14383 if ac_fn_c_try_compile "$LINENO"; then :
   14384   xorg_cv_cc_flag_unknown_warning_option=yes
   14385 else
   14386   xorg_cv_cc_flag_unknown_warning_option=no
   14387 fi
   14388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14389 fi
   14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14391 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14393 	CFLAGS="$xorg_testset_save_CFLAGS"
   14394 fi
   14395 
   14396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14399 	fi
   14400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14402 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14403 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14404   $as_echo_n "(cached) " >&6
   14405 else
   14406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14407 /* end confdefs.h.  */
   14408 int i;
   14409 _ACEOF
   14410 if ac_fn_c_try_compile "$LINENO"; then :
   14411   xorg_cv_cc_flag_unused_command_line_argument=yes
   14412 else
   14413   xorg_cv_cc_flag_unused_command_line_argument=no
   14414 fi
   14415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14416 fi
   14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14418 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14420 	CFLAGS="$xorg_testset_save_CFLAGS"
   14421 fi
   14422 
   14423 found="no"
   14424 
   14425 	if test $found = "no" ; then
   14426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14428 		fi
   14429 
   14430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14432 		fi
   14433 
   14434 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14435 
   14436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14437 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14438 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14439 		if eval \${$cacheid+:} false; then :
   14440   $as_echo_n "(cached) " >&6
   14441 else
   14442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14443 /* end confdefs.h.  */
   14444 int i;
   14445 int
   14446 main ()
   14447 {
   14448 
   14449   ;
   14450   return 0;
   14451 }
   14452 _ACEOF
   14453 if ac_fn_c_try_link "$LINENO"; then :
   14454   eval $cacheid=yes
   14455 else
   14456   eval $cacheid=no
   14457 fi
   14458 rm -f core conftest.err conftest.$ac_objext \
   14459     conftest$ac_exeext conftest.$ac_ext
   14460 fi
   14461 
   14462 
   14463 		CFLAGS="$xorg_testset_save_CFLAGS"
   14464 
   14465 		eval supported=\$$cacheid
   14466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14467 $as_echo "$supported" >&6; }
   14468 		if test "$supported" = "yes" ; then
   14469 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14470 			found="yes"
   14471 		fi
   14472 	fi
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 xorg_testset_save_CFLAGS="$CFLAGS"
   14489 
   14490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14495   $as_echo_n "(cached) " >&6
   14496 else
   14497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14498 /* end confdefs.h.  */
   14499 int i;
   14500 _ACEOF
   14501 if ac_fn_c_try_compile "$LINENO"; then :
   14502   xorg_cv_cc_flag_unknown_warning_option=yes
   14503 else
   14504   xorg_cv_cc_flag_unknown_warning_option=no
   14505 fi
   14506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14507 fi
   14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14511 	CFLAGS="$xorg_testset_save_CFLAGS"
   14512 fi
   14513 
   14514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14517 	fi
   14518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14522   $as_echo_n "(cached) " >&6
   14523 else
   14524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14525 /* end confdefs.h.  */
   14526 int i;
   14527 _ACEOF
   14528 if ac_fn_c_try_compile "$LINENO"; then :
   14529   xorg_cv_cc_flag_unused_command_line_argument=yes
   14530 else
   14531   xorg_cv_cc_flag_unused_command_line_argument=no
   14532 fi
   14533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14534 fi
   14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14538 	CFLAGS="$xorg_testset_save_CFLAGS"
   14539 fi
   14540 
   14541 found="no"
   14542 
   14543 	if test $found = "no" ; then
   14544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14546 		fi
   14547 
   14548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14550 		fi
   14551 
   14552 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14553 
   14554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14555 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14556 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14557 		if eval \${$cacheid+:} false; then :
   14558   $as_echo_n "(cached) " >&6
   14559 else
   14560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14561 /* end confdefs.h.  */
   14562 int i;
   14563 int
   14564 main ()
   14565 {
   14566 
   14567   ;
   14568   return 0;
   14569 }
   14570 _ACEOF
   14571 if ac_fn_c_try_link "$LINENO"; then :
   14572   eval $cacheid=yes
   14573 else
   14574   eval $cacheid=no
   14575 fi
   14576 rm -f core conftest.err conftest.$ac_objext \
   14577     conftest$ac_exeext conftest.$ac_ext
   14578 fi
   14579 
   14580 
   14581 		CFLAGS="$xorg_testset_save_CFLAGS"
   14582 
   14583 		eval supported=\$$cacheid
   14584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14585 $as_echo "$supported" >&6; }
   14586 		if test "$supported" = "yes" ; then
   14587 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14588 			found="yes"
   14589 		fi
   14590 	fi
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 xorg_testset_save_CFLAGS="$CFLAGS"
   14607 
   14608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14613   $as_echo_n "(cached) " >&6
   14614 else
   14615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14616 /* end confdefs.h.  */
   14617 int i;
   14618 _ACEOF
   14619 if ac_fn_c_try_compile "$LINENO"; then :
   14620   xorg_cv_cc_flag_unknown_warning_option=yes
   14621 else
   14622   xorg_cv_cc_flag_unknown_warning_option=no
   14623 fi
   14624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14625 fi
   14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14629 	CFLAGS="$xorg_testset_save_CFLAGS"
   14630 fi
   14631 
   14632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14635 	fi
   14636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14640   $as_echo_n "(cached) " >&6
   14641 else
   14642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14643 /* end confdefs.h.  */
   14644 int i;
   14645 _ACEOF
   14646 if ac_fn_c_try_compile "$LINENO"; then :
   14647   xorg_cv_cc_flag_unused_command_line_argument=yes
   14648 else
   14649   xorg_cv_cc_flag_unused_command_line_argument=no
   14650 fi
   14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14652 fi
   14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14656 	CFLAGS="$xorg_testset_save_CFLAGS"
   14657 fi
   14658 
   14659 found="no"
   14660 
   14661 	if test $found = "no" ; then
   14662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14664 		fi
   14665 
   14666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14668 		fi
   14669 
   14670 		CFLAGS="$CFLAGS -Werror=return-type"
   14671 
   14672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14673 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14674 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14675 		if eval \${$cacheid+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 int
   14682 main ()
   14683 {
   14684 
   14685   ;
   14686   return 0;
   14687 }
   14688 _ACEOF
   14689 if ac_fn_c_try_link "$LINENO"; then :
   14690   eval $cacheid=yes
   14691 else
   14692   eval $cacheid=no
   14693 fi
   14694 rm -f core conftest.err conftest.$ac_objext \
   14695     conftest$ac_exeext conftest.$ac_ext
   14696 fi
   14697 
   14698 
   14699 		CFLAGS="$xorg_testset_save_CFLAGS"
   14700 
   14701 		eval supported=\$$cacheid
   14702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14703 $as_echo "$supported" >&6; }
   14704 		if test "$supported" = "yes" ; then
   14705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14706 			found="yes"
   14707 		fi
   14708 	fi
   14709 
   14710 	if test $found = "no" ; then
   14711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14713 		fi
   14714 
   14715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14717 		fi
   14718 
   14719 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14720 
   14721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14722 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14723 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14724 		if eval \${$cacheid+:} false; then :
   14725   $as_echo_n "(cached) " >&6
   14726 else
   14727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14728 /* end confdefs.h.  */
   14729 int i;
   14730 int
   14731 main ()
   14732 {
   14733 
   14734   ;
   14735   return 0;
   14736 }
   14737 _ACEOF
   14738 if ac_fn_c_try_link "$LINENO"; then :
   14739   eval $cacheid=yes
   14740 else
   14741   eval $cacheid=no
   14742 fi
   14743 rm -f core conftest.err conftest.$ac_objext \
   14744     conftest$ac_exeext conftest.$ac_ext
   14745 fi
   14746 
   14747 
   14748 		CFLAGS="$xorg_testset_save_CFLAGS"
   14749 
   14750 		eval supported=\$$cacheid
   14751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14752 $as_echo "$supported" >&6; }
   14753 		if test "$supported" = "yes" ; then
   14754 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14755 			found="yes"
   14756 		fi
   14757 	fi
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 xorg_testset_save_CFLAGS="$CFLAGS"
   14774 
   14775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14780   $as_echo_n "(cached) " >&6
   14781 else
   14782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14783 /* end confdefs.h.  */
   14784 int i;
   14785 _ACEOF
   14786 if ac_fn_c_try_compile "$LINENO"; then :
   14787   xorg_cv_cc_flag_unknown_warning_option=yes
   14788 else
   14789   xorg_cv_cc_flag_unknown_warning_option=no
   14790 fi
   14791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14792 fi
   14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14796 	CFLAGS="$xorg_testset_save_CFLAGS"
   14797 fi
   14798 
   14799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14802 	fi
   14803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14807   $as_echo_n "(cached) " >&6
   14808 else
   14809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14810 /* end confdefs.h.  */
   14811 int i;
   14812 _ACEOF
   14813 if ac_fn_c_try_compile "$LINENO"; then :
   14814   xorg_cv_cc_flag_unused_command_line_argument=yes
   14815 else
   14816   xorg_cv_cc_flag_unused_command_line_argument=no
   14817 fi
   14818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14819 fi
   14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14823 	CFLAGS="$xorg_testset_save_CFLAGS"
   14824 fi
   14825 
   14826 found="no"
   14827 
   14828 	if test $found = "no" ; then
   14829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14831 		fi
   14832 
   14833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14835 		fi
   14836 
   14837 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14838 
   14839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14840 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14841 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14842 		if eval \${$cacheid+:} false; then :
   14843   $as_echo_n "(cached) " >&6
   14844 else
   14845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14846 /* end confdefs.h.  */
   14847 int i;
   14848 int
   14849 main ()
   14850 {
   14851 
   14852   ;
   14853   return 0;
   14854 }
   14855 _ACEOF
   14856 if ac_fn_c_try_link "$LINENO"; then :
   14857   eval $cacheid=yes
   14858 else
   14859   eval $cacheid=no
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext \
   14862     conftest$ac_exeext conftest.$ac_ext
   14863 fi
   14864 
   14865 
   14866 		CFLAGS="$xorg_testset_save_CFLAGS"
   14867 
   14868 		eval supported=\$$cacheid
   14869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14870 $as_echo "$supported" >&6; }
   14871 		if test "$supported" = "yes" ; then
   14872 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14873 			found="yes"
   14874 		fi
   14875 	fi
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 xorg_testset_save_CFLAGS="$CFLAGS"
   14892 
   14893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14898   $as_echo_n "(cached) " >&6
   14899 else
   14900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14901 /* end confdefs.h.  */
   14902 int i;
   14903 _ACEOF
   14904 if ac_fn_c_try_compile "$LINENO"; then :
   14905   xorg_cv_cc_flag_unknown_warning_option=yes
   14906 else
   14907   xorg_cv_cc_flag_unknown_warning_option=no
   14908 fi
   14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14910 fi
   14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14914 	CFLAGS="$xorg_testset_save_CFLAGS"
   14915 fi
   14916 
   14917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 	fi
   14921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14925   $as_echo_n "(cached) " >&6
   14926 else
   14927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14928 /* end confdefs.h.  */
   14929 int i;
   14930 _ACEOF
   14931 if ac_fn_c_try_compile "$LINENO"; then :
   14932   xorg_cv_cc_flag_unused_command_line_argument=yes
   14933 else
   14934   xorg_cv_cc_flag_unused_command_line_argument=no
   14935 fi
   14936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14937 fi
   14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14941 	CFLAGS="$xorg_testset_save_CFLAGS"
   14942 fi
   14943 
   14944 found="no"
   14945 
   14946 	if test $found = "no" ; then
   14947 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14949 		fi
   14950 
   14951 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14953 		fi
   14954 
   14955 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14956 
   14957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14958 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14959 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   14960 		if eval \${$cacheid+:} false; then :
   14961   $as_echo_n "(cached) " >&6
   14962 else
   14963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14964 /* end confdefs.h.  */
   14965 int i;
   14966 int
   14967 main ()
   14968 {
   14969 
   14970   ;
   14971   return 0;
   14972 }
   14973 _ACEOF
   14974 if ac_fn_c_try_link "$LINENO"; then :
   14975   eval $cacheid=yes
   14976 else
   14977   eval $cacheid=no
   14978 fi
   14979 rm -f core conftest.err conftest.$ac_objext \
   14980     conftest$ac_exeext conftest.$ac_ext
   14981 fi
   14982 
   14983 
   14984 		CFLAGS="$xorg_testset_save_CFLAGS"
   14985 
   14986 		eval supported=\$$cacheid
   14987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14988 $as_echo "$supported" >&6; }
   14989 		if test "$supported" = "yes" ; then
   14990 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14991 			found="yes"
   14992 		fi
   14993 	fi
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 xorg_testset_save_CFLAGS="$CFLAGS"
   15010 
   15011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15016   $as_echo_n "(cached) " >&6
   15017 else
   15018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15019 /* end confdefs.h.  */
   15020 int i;
   15021 _ACEOF
   15022 if ac_fn_c_try_compile "$LINENO"; then :
   15023   xorg_cv_cc_flag_unknown_warning_option=yes
   15024 else
   15025   xorg_cv_cc_flag_unknown_warning_option=no
   15026 fi
   15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15028 fi
   15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15032 	CFLAGS="$xorg_testset_save_CFLAGS"
   15033 fi
   15034 
   15035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 	fi
   15039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15043   $as_echo_n "(cached) " >&6
   15044 else
   15045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15046 /* end confdefs.h.  */
   15047 int i;
   15048 _ACEOF
   15049 if ac_fn_c_try_compile "$LINENO"; then :
   15050   xorg_cv_cc_flag_unused_command_line_argument=yes
   15051 else
   15052   xorg_cv_cc_flag_unused_command_line_argument=no
   15053 fi
   15054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15055 fi
   15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15059 	CFLAGS="$xorg_testset_save_CFLAGS"
   15060 fi
   15061 
   15062 found="no"
   15063 
   15064 	if test $found = "no" ; then
   15065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15067 		fi
   15068 
   15069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15071 		fi
   15072 
   15073 		CFLAGS="$CFLAGS -Werror=write-strings"
   15074 
   15075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15076 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15077 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15078 		if eval \${$cacheid+:} false; then :
   15079   $as_echo_n "(cached) " >&6
   15080 else
   15081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15082 /* end confdefs.h.  */
   15083 int i;
   15084 int
   15085 main ()
   15086 {
   15087 
   15088   ;
   15089   return 0;
   15090 }
   15091 _ACEOF
   15092 if ac_fn_c_try_link "$LINENO"; then :
   15093   eval $cacheid=yes
   15094 else
   15095   eval $cacheid=no
   15096 fi
   15097 rm -f core conftest.err conftest.$ac_objext \
   15098     conftest$ac_exeext conftest.$ac_ext
   15099 fi
   15100 
   15101 
   15102 		CFLAGS="$xorg_testset_save_CFLAGS"
   15103 
   15104 		eval supported=\$$cacheid
   15105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15106 $as_echo "$supported" >&6; }
   15107 		if test "$supported" = "yes" ; then
   15108 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15109 			found="yes"
   15110 		fi
   15111 	fi
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 xorg_testset_save_CFLAGS="$CFLAGS"
   15128 
   15129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15134   $as_echo_n "(cached) " >&6
   15135 else
   15136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15137 /* end confdefs.h.  */
   15138 int i;
   15139 _ACEOF
   15140 if ac_fn_c_try_compile "$LINENO"; then :
   15141   xorg_cv_cc_flag_unknown_warning_option=yes
   15142 else
   15143   xorg_cv_cc_flag_unknown_warning_option=no
   15144 fi
   15145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15146 fi
   15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15150 	CFLAGS="$xorg_testset_save_CFLAGS"
   15151 fi
   15152 
   15153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15156 	fi
   15157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15161   $as_echo_n "(cached) " >&6
   15162 else
   15163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15164 /* end confdefs.h.  */
   15165 int i;
   15166 _ACEOF
   15167 if ac_fn_c_try_compile "$LINENO"; then :
   15168   xorg_cv_cc_flag_unused_command_line_argument=yes
   15169 else
   15170   xorg_cv_cc_flag_unused_command_line_argument=no
   15171 fi
   15172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15173 fi
   15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15177 	CFLAGS="$xorg_testset_save_CFLAGS"
   15178 fi
   15179 
   15180 found="no"
   15181 
   15182 	if test $found = "no" ; then
   15183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15185 		fi
   15186 
   15187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15189 		fi
   15190 
   15191 		CFLAGS="$CFLAGS -Werror=address"
   15192 
   15193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15194 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15195 		cacheid=xorg_cv_cc_flag__Werror_address
   15196 		if eval \${$cacheid+:} false; then :
   15197   $as_echo_n "(cached) " >&6
   15198 else
   15199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15200 /* end confdefs.h.  */
   15201 int i;
   15202 int
   15203 main ()
   15204 {
   15205 
   15206   ;
   15207   return 0;
   15208 }
   15209 _ACEOF
   15210 if ac_fn_c_try_link "$LINENO"; then :
   15211   eval $cacheid=yes
   15212 else
   15213   eval $cacheid=no
   15214 fi
   15215 rm -f core conftest.err conftest.$ac_objext \
   15216     conftest$ac_exeext conftest.$ac_ext
   15217 fi
   15218 
   15219 
   15220 		CFLAGS="$xorg_testset_save_CFLAGS"
   15221 
   15222 		eval supported=\$$cacheid
   15223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15224 $as_echo "$supported" >&6; }
   15225 		if test "$supported" = "yes" ; then
   15226 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15227 			found="yes"
   15228 		fi
   15229 	fi
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 xorg_testset_save_CFLAGS="$CFLAGS"
   15246 
   15247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15250 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15251 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15252   $as_echo_n "(cached) " >&6
   15253 else
   15254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15255 /* end confdefs.h.  */
   15256 int i;
   15257 _ACEOF
   15258 if ac_fn_c_try_compile "$LINENO"; then :
   15259   xorg_cv_cc_flag_unknown_warning_option=yes
   15260 else
   15261   xorg_cv_cc_flag_unknown_warning_option=no
   15262 fi
   15263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15264 fi
   15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15266 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15268 	CFLAGS="$xorg_testset_save_CFLAGS"
   15269 fi
   15270 
   15271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15274 	fi
   15275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15277 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15278 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15279   $as_echo_n "(cached) " >&6
   15280 else
   15281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15282 /* end confdefs.h.  */
   15283 int i;
   15284 _ACEOF
   15285 if ac_fn_c_try_compile "$LINENO"; then :
   15286   xorg_cv_cc_flag_unused_command_line_argument=yes
   15287 else
   15288   xorg_cv_cc_flag_unused_command_line_argument=no
   15289 fi
   15290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15291 fi
   15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15293 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15295 	CFLAGS="$xorg_testset_save_CFLAGS"
   15296 fi
   15297 
   15298 found="no"
   15299 
   15300 	if test $found = "no" ; then
   15301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15303 		fi
   15304 
   15305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15307 		fi
   15308 
   15309 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15310 
   15311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15312 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15313 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15314 		if eval \${$cacheid+:} false; then :
   15315   $as_echo_n "(cached) " >&6
   15316 else
   15317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15318 /* end confdefs.h.  */
   15319 int i;
   15320 int
   15321 main ()
   15322 {
   15323 
   15324   ;
   15325   return 0;
   15326 }
   15327 _ACEOF
   15328 if ac_fn_c_try_link "$LINENO"; then :
   15329   eval $cacheid=yes
   15330 else
   15331   eval $cacheid=no
   15332 fi
   15333 rm -f core conftest.err conftest.$ac_objext \
   15334     conftest$ac_exeext conftest.$ac_ext
   15335 fi
   15336 
   15337 
   15338 		CFLAGS="$xorg_testset_save_CFLAGS"
   15339 
   15340 		eval supported=\$$cacheid
   15341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15342 $as_echo "$supported" >&6; }
   15343 		if test "$supported" = "yes" ; then
   15344 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15345 			found="yes"
   15346 		fi
   15347 	fi
   15348 
   15349 	if test $found = "no" ; then
   15350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15352 		fi
   15353 
   15354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15356 		fi
   15357 
   15358 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15359 
   15360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15361 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15362 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15363 		if eval \${$cacheid+:} false; then :
   15364   $as_echo_n "(cached) " >&6
   15365 else
   15366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15367 /* end confdefs.h.  */
   15368 int i;
   15369 int
   15370 main ()
   15371 {
   15372 
   15373   ;
   15374   return 0;
   15375 }
   15376 _ACEOF
   15377 if ac_fn_c_try_link "$LINENO"; then :
   15378   eval $cacheid=yes
   15379 else
   15380   eval $cacheid=no
   15381 fi
   15382 rm -f core conftest.err conftest.$ac_objext \
   15383     conftest$ac_exeext conftest.$ac_ext
   15384 fi
   15385 
   15386 
   15387 		CFLAGS="$xorg_testset_save_CFLAGS"
   15388 
   15389 		eval supported=\$$cacheid
   15390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15391 $as_echo "$supported" >&6; }
   15392 		if test "$supported" = "yes" ; then
   15393 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15394 			found="yes"
   15395 		fi
   15396 	fi
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 xorg_testset_save_CFLAGS="$CFLAGS"
   15413 
   15414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15419   $as_echo_n "(cached) " >&6
   15420 else
   15421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15422 /* end confdefs.h.  */
   15423 int i;
   15424 _ACEOF
   15425 if ac_fn_c_try_compile "$LINENO"; then :
   15426   xorg_cv_cc_flag_unknown_warning_option=yes
   15427 else
   15428   xorg_cv_cc_flag_unknown_warning_option=no
   15429 fi
   15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15431 fi
   15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15435 	CFLAGS="$xorg_testset_save_CFLAGS"
   15436 fi
   15437 
   15438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15441 	fi
   15442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15446   $as_echo_n "(cached) " >&6
   15447 else
   15448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15449 /* end confdefs.h.  */
   15450 int i;
   15451 _ACEOF
   15452 if ac_fn_c_try_compile "$LINENO"; then :
   15453   xorg_cv_cc_flag_unused_command_line_argument=yes
   15454 else
   15455   xorg_cv_cc_flag_unused_command_line_argument=no
   15456 fi
   15457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15458 fi
   15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15462 	CFLAGS="$xorg_testset_save_CFLAGS"
   15463 fi
   15464 
   15465 found="no"
   15466 
   15467 	if test $found = "no" ; then
   15468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15470 		fi
   15471 
   15472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15474 		fi
   15475 
   15476 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15477 
   15478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15479 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15480 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15481 		if eval \${$cacheid+:} false; then :
   15482   $as_echo_n "(cached) " >&6
   15483 else
   15484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15485 /* end confdefs.h.  */
   15486 int i;
   15487 int
   15488 main ()
   15489 {
   15490 
   15491   ;
   15492   return 0;
   15493 }
   15494 _ACEOF
   15495 if ac_fn_c_try_link "$LINENO"; then :
   15496   eval $cacheid=yes
   15497 else
   15498   eval $cacheid=no
   15499 fi
   15500 rm -f core conftest.err conftest.$ac_objext \
   15501     conftest$ac_exeext conftest.$ac_ext
   15502 fi
   15503 
   15504 
   15505 		CFLAGS="$xorg_testset_save_CFLAGS"
   15506 
   15507 		eval supported=\$$cacheid
   15508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15509 $as_echo "$supported" >&6; }
   15510 		if test "$supported" = "yes" ; then
   15511 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15512 			found="yes"
   15513 		fi
   15514 	fi
   15515 
   15516  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15517 else
   15518 { $as_echo "$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
   15519 $as_echo "$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;}
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 xorg_testset_save_CFLAGS="$CFLAGS"
   15534 
   15535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15540   $as_echo_n "(cached) " >&6
   15541 else
   15542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15543 /* end confdefs.h.  */
   15544 int i;
   15545 _ACEOF
   15546 if ac_fn_c_try_compile "$LINENO"; then :
   15547   xorg_cv_cc_flag_unknown_warning_option=yes
   15548 else
   15549   xorg_cv_cc_flag_unknown_warning_option=no
   15550 fi
   15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15552 fi
   15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15556 	CFLAGS="$xorg_testset_save_CFLAGS"
   15557 fi
   15558 
   15559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15562 	fi
   15563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15567   $as_echo_n "(cached) " >&6
   15568 else
   15569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15570 /* end confdefs.h.  */
   15571 int i;
   15572 _ACEOF
   15573 if ac_fn_c_try_compile "$LINENO"; then :
   15574   xorg_cv_cc_flag_unused_command_line_argument=yes
   15575 else
   15576   xorg_cv_cc_flag_unused_command_line_argument=no
   15577 fi
   15578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15579 fi
   15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15583 	CFLAGS="$xorg_testset_save_CFLAGS"
   15584 fi
   15585 
   15586 found="no"
   15587 
   15588 	if test $found = "no" ; then
   15589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15591 		fi
   15592 
   15593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15595 		fi
   15596 
   15597 		CFLAGS="$CFLAGS -Wimplicit"
   15598 
   15599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15600 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15601 		cacheid=xorg_cv_cc_flag__Wimplicit
   15602 		if eval \${$cacheid+:} false; then :
   15603   $as_echo_n "(cached) " >&6
   15604 else
   15605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15606 /* end confdefs.h.  */
   15607 int i;
   15608 int
   15609 main ()
   15610 {
   15611 
   15612   ;
   15613   return 0;
   15614 }
   15615 _ACEOF
   15616 if ac_fn_c_try_link "$LINENO"; then :
   15617   eval $cacheid=yes
   15618 else
   15619   eval $cacheid=no
   15620 fi
   15621 rm -f core conftest.err conftest.$ac_objext \
   15622     conftest$ac_exeext conftest.$ac_ext
   15623 fi
   15624 
   15625 
   15626 		CFLAGS="$xorg_testset_save_CFLAGS"
   15627 
   15628 		eval supported=\$$cacheid
   15629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15630 $as_echo "$supported" >&6; }
   15631 		if test "$supported" = "yes" ; then
   15632 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15633 			found="yes"
   15634 		fi
   15635 	fi
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 xorg_testset_save_CFLAGS="$CFLAGS"
   15652 
   15653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15658   $as_echo_n "(cached) " >&6
   15659 else
   15660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15661 /* end confdefs.h.  */
   15662 int i;
   15663 _ACEOF
   15664 if ac_fn_c_try_compile "$LINENO"; then :
   15665   xorg_cv_cc_flag_unknown_warning_option=yes
   15666 else
   15667   xorg_cv_cc_flag_unknown_warning_option=no
   15668 fi
   15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15670 fi
   15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15674 	CFLAGS="$xorg_testset_save_CFLAGS"
   15675 fi
   15676 
   15677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15680 	fi
   15681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15685   $as_echo_n "(cached) " >&6
   15686 else
   15687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15688 /* end confdefs.h.  */
   15689 int i;
   15690 _ACEOF
   15691 if ac_fn_c_try_compile "$LINENO"; then :
   15692   xorg_cv_cc_flag_unused_command_line_argument=yes
   15693 else
   15694   xorg_cv_cc_flag_unused_command_line_argument=no
   15695 fi
   15696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15697 fi
   15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15701 	CFLAGS="$xorg_testset_save_CFLAGS"
   15702 fi
   15703 
   15704 found="no"
   15705 
   15706 	if test $found = "no" ; then
   15707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15709 		fi
   15710 
   15711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15713 		fi
   15714 
   15715 		CFLAGS="$CFLAGS -Wnonnull"
   15716 
   15717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15718 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15719 		cacheid=xorg_cv_cc_flag__Wnonnull
   15720 		if eval \${$cacheid+:} false; then :
   15721   $as_echo_n "(cached) " >&6
   15722 else
   15723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15724 /* end confdefs.h.  */
   15725 int i;
   15726 int
   15727 main ()
   15728 {
   15729 
   15730   ;
   15731   return 0;
   15732 }
   15733 _ACEOF
   15734 if ac_fn_c_try_link "$LINENO"; then :
   15735   eval $cacheid=yes
   15736 else
   15737   eval $cacheid=no
   15738 fi
   15739 rm -f core conftest.err conftest.$ac_objext \
   15740     conftest$ac_exeext conftest.$ac_ext
   15741 fi
   15742 
   15743 
   15744 		CFLAGS="$xorg_testset_save_CFLAGS"
   15745 
   15746 		eval supported=\$$cacheid
   15747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15748 $as_echo "$supported" >&6; }
   15749 		if test "$supported" = "yes" ; then
   15750 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15751 			found="yes"
   15752 		fi
   15753 	fi
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 xorg_testset_save_CFLAGS="$CFLAGS"
   15770 
   15771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15776   $as_echo_n "(cached) " >&6
   15777 else
   15778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15779 /* end confdefs.h.  */
   15780 int i;
   15781 _ACEOF
   15782 if ac_fn_c_try_compile "$LINENO"; then :
   15783   xorg_cv_cc_flag_unknown_warning_option=yes
   15784 else
   15785   xorg_cv_cc_flag_unknown_warning_option=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15788 fi
   15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15792 	CFLAGS="$xorg_testset_save_CFLAGS"
   15793 fi
   15794 
   15795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 	fi
   15799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15803   $as_echo_n "(cached) " >&6
   15804 else
   15805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15806 /* end confdefs.h.  */
   15807 int i;
   15808 _ACEOF
   15809 if ac_fn_c_try_compile "$LINENO"; then :
   15810   xorg_cv_cc_flag_unused_command_line_argument=yes
   15811 else
   15812   xorg_cv_cc_flag_unused_command_line_argument=no
   15813 fi
   15814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15815 fi
   15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15819 	CFLAGS="$xorg_testset_save_CFLAGS"
   15820 fi
   15821 
   15822 found="no"
   15823 
   15824 	if test $found = "no" ; then
   15825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15827 		fi
   15828 
   15829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15831 		fi
   15832 
   15833 		CFLAGS="$CFLAGS -Winit-self"
   15834 
   15835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15836 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15837 		cacheid=xorg_cv_cc_flag__Winit_self
   15838 		if eval \${$cacheid+:} false; then :
   15839   $as_echo_n "(cached) " >&6
   15840 else
   15841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15842 /* end confdefs.h.  */
   15843 int i;
   15844 int
   15845 main ()
   15846 {
   15847 
   15848   ;
   15849   return 0;
   15850 }
   15851 _ACEOF
   15852 if ac_fn_c_try_link "$LINENO"; then :
   15853   eval $cacheid=yes
   15854 else
   15855   eval $cacheid=no
   15856 fi
   15857 rm -f core conftest.err conftest.$ac_objext \
   15858     conftest$ac_exeext conftest.$ac_ext
   15859 fi
   15860 
   15861 
   15862 		CFLAGS="$xorg_testset_save_CFLAGS"
   15863 
   15864 		eval supported=\$$cacheid
   15865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15866 $as_echo "$supported" >&6; }
   15867 		if test "$supported" = "yes" ; then
   15868 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15869 			found="yes"
   15870 		fi
   15871 	fi
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 xorg_testset_save_CFLAGS="$CFLAGS"
   15888 
   15889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15894   $as_echo_n "(cached) " >&6
   15895 else
   15896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15897 /* end confdefs.h.  */
   15898 int i;
   15899 _ACEOF
   15900 if ac_fn_c_try_compile "$LINENO"; then :
   15901   xorg_cv_cc_flag_unknown_warning_option=yes
   15902 else
   15903   xorg_cv_cc_flag_unknown_warning_option=no
   15904 fi
   15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15906 fi
   15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15910 	CFLAGS="$xorg_testset_save_CFLAGS"
   15911 fi
   15912 
   15913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15916 	fi
   15917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15921   $as_echo_n "(cached) " >&6
   15922 else
   15923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15924 /* end confdefs.h.  */
   15925 int i;
   15926 _ACEOF
   15927 if ac_fn_c_try_compile "$LINENO"; then :
   15928   xorg_cv_cc_flag_unused_command_line_argument=yes
   15929 else
   15930   xorg_cv_cc_flag_unused_command_line_argument=no
   15931 fi
   15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15933 fi
   15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15937 	CFLAGS="$xorg_testset_save_CFLAGS"
   15938 fi
   15939 
   15940 found="no"
   15941 
   15942 	if test $found = "no" ; then
   15943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15945 		fi
   15946 
   15947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15949 		fi
   15950 
   15951 		CFLAGS="$CFLAGS -Wmain"
   15952 
   15953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15954 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15955 		cacheid=xorg_cv_cc_flag__Wmain
   15956 		if eval \${$cacheid+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 int
   15963 main ()
   15964 {
   15965 
   15966   ;
   15967   return 0;
   15968 }
   15969 _ACEOF
   15970 if ac_fn_c_try_link "$LINENO"; then :
   15971   eval $cacheid=yes
   15972 else
   15973   eval $cacheid=no
   15974 fi
   15975 rm -f core conftest.err conftest.$ac_objext \
   15976     conftest$ac_exeext conftest.$ac_ext
   15977 fi
   15978 
   15979 
   15980 		CFLAGS="$xorg_testset_save_CFLAGS"
   15981 
   15982 		eval supported=\$$cacheid
   15983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15984 $as_echo "$supported" >&6; }
   15985 		if test "$supported" = "yes" ; then
   15986 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15987 			found="yes"
   15988 		fi
   15989 	fi
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 xorg_testset_save_CFLAGS="$CFLAGS"
   16006 
   16007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16012   $as_echo_n "(cached) " >&6
   16013 else
   16014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16015 /* end confdefs.h.  */
   16016 int i;
   16017 _ACEOF
   16018 if ac_fn_c_try_compile "$LINENO"; then :
   16019   xorg_cv_cc_flag_unknown_warning_option=yes
   16020 else
   16021   xorg_cv_cc_flag_unknown_warning_option=no
   16022 fi
   16023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16024 fi
   16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16028 	CFLAGS="$xorg_testset_save_CFLAGS"
   16029 fi
   16030 
   16031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 	fi
   16035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16039   $as_echo_n "(cached) " >&6
   16040 else
   16041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16042 /* end confdefs.h.  */
   16043 int i;
   16044 _ACEOF
   16045 if ac_fn_c_try_compile "$LINENO"; then :
   16046   xorg_cv_cc_flag_unused_command_line_argument=yes
   16047 else
   16048   xorg_cv_cc_flag_unused_command_line_argument=no
   16049 fi
   16050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16051 fi
   16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16055 	CFLAGS="$xorg_testset_save_CFLAGS"
   16056 fi
   16057 
   16058 found="no"
   16059 
   16060 	if test $found = "no" ; then
   16061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16063 		fi
   16064 
   16065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16067 		fi
   16068 
   16069 		CFLAGS="$CFLAGS -Wmissing-braces"
   16070 
   16071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16072 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16073 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16074 		if eval \${$cacheid+:} false; then :
   16075   $as_echo_n "(cached) " >&6
   16076 else
   16077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16078 /* end confdefs.h.  */
   16079 int i;
   16080 int
   16081 main ()
   16082 {
   16083 
   16084   ;
   16085   return 0;
   16086 }
   16087 _ACEOF
   16088 if ac_fn_c_try_link "$LINENO"; then :
   16089   eval $cacheid=yes
   16090 else
   16091   eval $cacheid=no
   16092 fi
   16093 rm -f core conftest.err conftest.$ac_objext \
   16094     conftest$ac_exeext conftest.$ac_ext
   16095 fi
   16096 
   16097 
   16098 		CFLAGS="$xorg_testset_save_CFLAGS"
   16099 
   16100 		eval supported=\$$cacheid
   16101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16102 $as_echo "$supported" >&6; }
   16103 		if test "$supported" = "yes" ; then
   16104 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16105 			found="yes"
   16106 		fi
   16107 	fi
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 xorg_testset_save_CFLAGS="$CFLAGS"
   16124 
   16125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16130   $as_echo_n "(cached) " >&6
   16131 else
   16132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16133 /* end confdefs.h.  */
   16134 int i;
   16135 _ACEOF
   16136 if ac_fn_c_try_compile "$LINENO"; then :
   16137   xorg_cv_cc_flag_unknown_warning_option=yes
   16138 else
   16139   xorg_cv_cc_flag_unknown_warning_option=no
   16140 fi
   16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16142 fi
   16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16146 	CFLAGS="$xorg_testset_save_CFLAGS"
   16147 fi
   16148 
   16149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16152 	fi
   16153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16157   $as_echo_n "(cached) " >&6
   16158 else
   16159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16160 /* end confdefs.h.  */
   16161 int i;
   16162 _ACEOF
   16163 if ac_fn_c_try_compile "$LINENO"; then :
   16164   xorg_cv_cc_flag_unused_command_line_argument=yes
   16165 else
   16166   xorg_cv_cc_flag_unused_command_line_argument=no
   16167 fi
   16168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16169 fi
   16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16173 	CFLAGS="$xorg_testset_save_CFLAGS"
   16174 fi
   16175 
   16176 found="no"
   16177 
   16178 	if test $found = "no" ; then
   16179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16181 		fi
   16182 
   16183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16185 		fi
   16186 
   16187 		CFLAGS="$CFLAGS -Wsequence-point"
   16188 
   16189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16190 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16191 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16192 		if eval \${$cacheid+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 int
   16199 main ()
   16200 {
   16201 
   16202   ;
   16203   return 0;
   16204 }
   16205 _ACEOF
   16206 if ac_fn_c_try_link "$LINENO"; then :
   16207   eval $cacheid=yes
   16208 else
   16209   eval $cacheid=no
   16210 fi
   16211 rm -f core conftest.err conftest.$ac_objext \
   16212     conftest$ac_exeext conftest.$ac_ext
   16213 fi
   16214 
   16215 
   16216 		CFLAGS="$xorg_testset_save_CFLAGS"
   16217 
   16218 		eval supported=\$$cacheid
   16219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16220 $as_echo "$supported" >&6; }
   16221 		if test "$supported" = "yes" ; then
   16222 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16223 			found="yes"
   16224 		fi
   16225 	fi
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 xorg_testset_save_CFLAGS="$CFLAGS"
   16242 
   16243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16248   $as_echo_n "(cached) " >&6
   16249 else
   16250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16251 /* end confdefs.h.  */
   16252 int i;
   16253 _ACEOF
   16254 if ac_fn_c_try_compile "$LINENO"; then :
   16255   xorg_cv_cc_flag_unknown_warning_option=yes
   16256 else
   16257   xorg_cv_cc_flag_unknown_warning_option=no
   16258 fi
   16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16260 fi
   16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16264 	CFLAGS="$xorg_testset_save_CFLAGS"
   16265 fi
   16266 
   16267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16270 	fi
   16271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16275   $as_echo_n "(cached) " >&6
   16276 else
   16277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16278 /* end confdefs.h.  */
   16279 int i;
   16280 _ACEOF
   16281 if ac_fn_c_try_compile "$LINENO"; then :
   16282   xorg_cv_cc_flag_unused_command_line_argument=yes
   16283 else
   16284   xorg_cv_cc_flag_unused_command_line_argument=no
   16285 fi
   16286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16287 fi
   16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16291 	CFLAGS="$xorg_testset_save_CFLAGS"
   16292 fi
   16293 
   16294 found="no"
   16295 
   16296 	if test $found = "no" ; then
   16297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16299 		fi
   16300 
   16301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16303 		fi
   16304 
   16305 		CFLAGS="$CFLAGS -Wreturn-type"
   16306 
   16307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16308 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16309 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16310 		if eval \${$cacheid+:} false; then :
   16311   $as_echo_n "(cached) " >&6
   16312 else
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 int
   16317 main ()
   16318 {
   16319 
   16320   ;
   16321   return 0;
   16322 }
   16323 _ACEOF
   16324 if ac_fn_c_try_link "$LINENO"; then :
   16325   eval $cacheid=yes
   16326 else
   16327   eval $cacheid=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext \
   16330     conftest$ac_exeext conftest.$ac_ext
   16331 fi
   16332 
   16333 
   16334 		CFLAGS="$xorg_testset_save_CFLAGS"
   16335 
   16336 		eval supported=\$$cacheid
   16337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16338 $as_echo "$supported" >&6; }
   16339 		if test "$supported" = "yes" ; then
   16340 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16341 			found="yes"
   16342 		fi
   16343 	fi
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 xorg_testset_save_CFLAGS="$CFLAGS"
   16360 
   16361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16366   $as_echo_n "(cached) " >&6
   16367 else
   16368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16369 /* end confdefs.h.  */
   16370 int i;
   16371 _ACEOF
   16372 if ac_fn_c_try_compile "$LINENO"; then :
   16373   xorg_cv_cc_flag_unknown_warning_option=yes
   16374 else
   16375   xorg_cv_cc_flag_unknown_warning_option=no
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16378 fi
   16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16382 	CFLAGS="$xorg_testset_save_CFLAGS"
   16383 fi
   16384 
   16385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16388 	fi
   16389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16393   $as_echo_n "(cached) " >&6
   16394 else
   16395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16396 /* end confdefs.h.  */
   16397 int i;
   16398 _ACEOF
   16399 if ac_fn_c_try_compile "$LINENO"; then :
   16400   xorg_cv_cc_flag_unused_command_line_argument=yes
   16401 else
   16402   xorg_cv_cc_flag_unused_command_line_argument=no
   16403 fi
   16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16405 fi
   16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16409 	CFLAGS="$xorg_testset_save_CFLAGS"
   16410 fi
   16411 
   16412 found="no"
   16413 
   16414 	if test $found = "no" ; then
   16415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16417 		fi
   16418 
   16419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16421 		fi
   16422 
   16423 		CFLAGS="$CFLAGS -Wtrigraphs"
   16424 
   16425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16426 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16427 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16428 		if eval \${$cacheid+:} false; then :
   16429   $as_echo_n "(cached) " >&6
   16430 else
   16431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16432 /* end confdefs.h.  */
   16433 int i;
   16434 int
   16435 main ()
   16436 {
   16437 
   16438   ;
   16439   return 0;
   16440 }
   16441 _ACEOF
   16442 if ac_fn_c_try_link "$LINENO"; then :
   16443   eval $cacheid=yes
   16444 else
   16445   eval $cacheid=no
   16446 fi
   16447 rm -f core conftest.err conftest.$ac_objext \
   16448     conftest$ac_exeext conftest.$ac_ext
   16449 fi
   16450 
   16451 
   16452 		CFLAGS="$xorg_testset_save_CFLAGS"
   16453 
   16454 		eval supported=\$$cacheid
   16455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16456 $as_echo "$supported" >&6; }
   16457 		if test "$supported" = "yes" ; then
   16458 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16459 			found="yes"
   16460 		fi
   16461 	fi
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 xorg_testset_save_CFLAGS="$CFLAGS"
   16478 
   16479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16484   $as_echo_n "(cached) " >&6
   16485 else
   16486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16487 /* end confdefs.h.  */
   16488 int i;
   16489 _ACEOF
   16490 if ac_fn_c_try_compile "$LINENO"; then :
   16491   xorg_cv_cc_flag_unknown_warning_option=yes
   16492 else
   16493   xorg_cv_cc_flag_unknown_warning_option=no
   16494 fi
   16495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16496 fi
   16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16500 	CFLAGS="$xorg_testset_save_CFLAGS"
   16501 fi
   16502 
   16503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16506 	fi
   16507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16511   $as_echo_n "(cached) " >&6
   16512 else
   16513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16514 /* end confdefs.h.  */
   16515 int i;
   16516 _ACEOF
   16517 if ac_fn_c_try_compile "$LINENO"; then :
   16518   xorg_cv_cc_flag_unused_command_line_argument=yes
   16519 else
   16520   xorg_cv_cc_flag_unused_command_line_argument=no
   16521 fi
   16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16523 fi
   16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16527 	CFLAGS="$xorg_testset_save_CFLAGS"
   16528 fi
   16529 
   16530 found="no"
   16531 
   16532 	if test $found = "no" ; then
   16533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16535 		fi
   16536 
   16537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16539 		fi
   16540 
   16541 		CFLAGS="$CFLAGS -Warray-bounds"
   16542 
   16543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16544 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16545 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16546 		if eval \${$cacheid+:} false; then :
   16547   $as_echo_n "(cached) " >&6
   16548 else
   16549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16550 /* end confdefs.h.  */
   16551 int i;
   16552 int
   16553 main ()
   16554 {
   16555 
   16556   ;
   16557   return 0;
   16558 }
   16559 _ACEOF
   16560 if ac_fn_c_try_link "$LINENO"; then :
   16561   eval $cacheid=yes
   16562 else
   16563   eval $cacheid=no
   16564 fi
   16565 rm -f core conftest.err conftest.$ac_objext \
   16566     conftest$ac_exeext conftest.$ac_ext
   16567 fi
   16568 
   16569 
   16570 		CFLAGS="$xorg_testset_save_CFLAGS"
   16571 
   16572 		eval supported=\$$cacheid
   16573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16574 $as_echo "$supported" >&6; }
   16575 		if test "$supported" = "yes" ; then
   16576 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16577 			found="yes"
   16578 		fi
   16579 	fi
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 xorg_testset_save_CFLAGS="$CFLAGS"
   16596 
   16597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16600 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16601 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16602   $as_echo_n "(cached) " >&6
   16603 else
   16604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16605 /* end confdefs.h.  */
   16606 int i;
   16607 _ACEOF
   16608 if ac_fn_c_try_compile "$LINENO"; then :
   16609   xorg_cv_cc_flag_unknown_warning_option=yes
   16610 else
   16611   xorg_cv_cc_flag_unknown_warning_option=no
   16612 fi
   16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16614 fi
   16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16616 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16618 	CFLAGS="$xorg_testset_save_CFLAGS"
   16619 fi
   16620 
   16621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16624 	fi
   16625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16627 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16628 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16629   $as_echo_n "(cached) " >&6
   16630 else
   16631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16632 /* end confdefs.h.  */
   16633 int i;
   16634 _ACEOF
   16635 if ac_fn_c_try_compile "$LINENO"; then :
   16636   xorg_cv_cc_flag_unused_command_line_argument=yes
   16637 else
   16638   xorg_cv_cc_flag_unused_command_line_argument=no
   16639 fi
   16640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16641 fi
   16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16643 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16645 	CFLAGS="$xorg_testset_save_CFLAGS"
   16646 fi
   16647 
   16648 found="no"
   16649 
   16650 	if test $found = "no" ; then
   16651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16653 		fi
   16654 
   16655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16657 		fi
   16658 
   16659 		CFLAGS="$CFLAGS -Wwrite-strings"
   16660 
   16661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16662 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16663 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16664 		if eval \${$cacheid+:} false; then :
   16665   $as_echo_n "(cached) " >&6
   16666 else
   16667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 int
   16671 main ()
   16672 {
   16673 
   16674   ;
   16675   return 0;
   16676 }
   16677 _ACEOF
   16678 if ac_fn_c_try_link "$LINENO"; then :
   16679   eval $cacheid=yes
   16680 else
   16681   eval $cacheid=no
   16682 fi
   16683 rm -f core conftest.err conftest.$ac_objext \
   16684     conftest$ac_exeext conftest.$ac_ext
   16685 fi
   16686 
   16687 
   16688 		CFLAGS="$xorg_testset_save_CFLAGS"
   16689 
   16690 		eval supported=\$$cacheid
   16691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16692 $as_echo "$supported" >&6; }
   16693 		if test "$supported" = "yes" ; then
   16694 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16695 			found="yes"
   16696 		fi
   16697 	fi
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 xorg_testset_save_CFLAGS="$CFLAGS"
   16714 
   16715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16718 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16719 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16720   $as_echo_n "(cached) " >&6
   16721 else
   16722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16723 /* end confdefs.h.  */
   16724 int i;
   16725 _ACEOF
   16726 if ac_fn_c_try_compile "$LINENO"; then :
   16727   xorg_cv_cc_flag_unknown_warning_option=yes
   16728 else
   16729   xorg_cv_cc_flag_unknown_warning_option=no
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16732 fi
   16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16734 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16736 	CFLAGS="$xorg_testset_save_CFLAGS"
   16737 fi
   16738 
   16739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16742 	fi
   16743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16745 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16746 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16747   $as_echo_n "(cached) " >&6
   16748 else
   16749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16750 /* end confdefs.h.  */
   16751 int i;
   16752 _ACEOF
   16753 if ac_fn_c_try_compile "$LINENO"; then :
   16754   xorg_cv_cc_flag_unused_command_line_argument=yes
   16755 else
   16756   xorg_cv_cc_flag_unused_command_line_argument=no
   16757 fi
   16758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16759 fi
   16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16761 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16763 	CFLAGS="$xorg_testset_save_CFLAGS"
   16764 fi
   16765 
   16766 found="no"
   16767 
   16768 	if test $found = "no" ; then
   16769 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16771 		fi
   16772 
   16773 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16775 		fi
   16776 
   16777 		CFLAGS="$CFLAGS -Waddress"
   16778 
   16779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16780 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16781 		cacheid=xorg_cv_cc_flag__Waddress
   16782 		if eval \${$cacheid+:} false; then :
   16783   $as_echo_n "(cached) " >&6
   16784 else
   16785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16786 /* end confdefs.h.  */
   16787 int i;
   16788 int
   16789 main ()
   16790 {
   16791 
   16792   ;
   16793   return 0;
   16794 }
   16795 _ACEOF
   16796 if ac_fn_c_try_link "$LINENO"; then :
   16797   eval $cacheid=yes
   16798 else
   16799   eval $cacheid=no
   16800 fi
   16801 rm -f core conftest.err conftest.$ac_objext \
   16802     conftest$ac_exeext conftest.$ac_ext
   16803 fi
   16804 
   16805 
   16806 		CFLAGS="$xorg_testset_save_CFLAGS"
   16807 
   16808 		eval supported=\$$cacheid
   16809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16810 $as_echo "$supported" >&6; }
   16811 		if test "$supported" = "yes" ; then
   16812 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16813 			found="yes"
   16814 		fi
   16815 	fi
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 xorg_testset_save_CFLAGS="$CFLAGS"
   16832 
   16833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16838   $as_echo_n "(cached) " >&6
   16839 else
   16840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16841 /* end confdefs.h.  */
   16842 int i;
   16843 _ACEOF
   16844 if ac_fn_c_try_compile "$LINENO"; then :
   16845   xorg_cv_cc_flag_unknown_warning_option=yes
   16846 else
   16847   xorg_cv_cc_flag_unknown_warning_option=no
   16848 fi
   16849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16850 fi
   16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16854 	CFLAGS="$xorg_testset_save_CFLAGS"
   16855 fi
   16856 
   16857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16860 	fi
   16861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16865   $as_echo_n "(cached) " >&6
   16866 else
   16867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16868 /* end confdefs.h.  */
   16869 int i;
   16870 _ACEOF
   16871 if ac_fn_c_try_compile "$LINENO"; then :
   16872   xorg_cv_cc_flag_unused_command_line_argument=yes
   16873 else
   16874   xorg_cv_cc_flag_unused_command_line_argument=no
   16875 fi
   16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16877 fi
   16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16881 	CFLAGS="$xorg_testset_save_CFLAGS"
   16882 fi
   16883 
   16884 found="no"
   16885 
   16886 	if test $found = "no" ; then
   16887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16889 		fi
   16890 
   16891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16893 		fi
   16894 
   16895 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16896 
   16897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16898 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16899 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16900 		if eval \${$cacheid+:} false; then :
   16901   $as_echo_n "(cached) " >&6
   16902 else
   16903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16904 /* end confdefs.h.  */
   16905 int i;
   16906 int
   16907 main ()
   16908 {
   16909 
   16910   ;
   16911   return 0;
   16912 }
   16913 _ACEOF
   16914 if ac_fn_c_try_link "$LINENO"; then :
   16915   eval $cacheid=yes
   16916 else
   16917   eval $cacheid=no
   16918 fi
   16919 rm -f core conftest.err conftest.$ac_objext \
   16920     conftest$ac_exeext conftest.$ac_ext
   16921 fi
   16922 
   16923 
   16924 		CFLAGS="$xorg_testset_save_CFLAGS"
   16925 
   16926 		eval supported=\$$cacheid
   16927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16928 $as_echo "$supported" >&6; }
   16929 		if test "$supported" = "yes" ; then
   16930 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16931 			found="yes"
   16932 		fi
   16933 	fi
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 xorg_testset_save_CFLAGS="$CFLAGS"
   16950 
   16951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16956   $as_echo_n "(cached) " >&6
   16957 else
   16958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16959 /* end confdefs.h.  */
   16960 int i;
   16961 _ACEOF
   16962 if ac_fn_c_try_compile "$LINENO"; then :
   16963   xorg_cv_cc_flag_unknown_warning_option=yes
   16964 else
   16965   xorg_cv_cc_flag_unknown_warning_option=no
   16966 fi
   16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16968 fi
   16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16972 	CFLAGS="$xorg_testset_save_CFLAGS"
   16973 fi
   16974 
   16975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16978 	fi
   16979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16983   $as_echo_n "(cached) " >&6
   16984 else
   16985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16986 /* end confdefs.h.  */
   16987 int i;
   16988 _ACEOF
   16989 if ac_fn_c_try_compile "$LINENO"; then :
   16990   xorg_cv_cc_flag_unused_command_line_argument=yes
   16991 else
   16992   xorg_cv_cc_flag_unused_command_line_argument=no
   16993 fi
   16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16995 fi
   16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16999 	CFLAGS="$xorg_testset_save_CFLAGS"
   17000 fi
   17001 
   17002 found="no"
   17003 
   17004 	if test $found = "no" ; then
   17005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17007 		fi
   17008 
   17009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17011 		fi
   17012 
   17013 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17014 
   17015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17016 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17017 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17018 		if eval \${$cacheid+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 int
   17025 main ()
   17026 {
   17027 
   17028   ;
   17029   return 0;
   17030 }
   17031 _ACEOF
   17032 if ac_fn_c_try_link "$LINENO"; then :
   17033   eval $cacheid=yes
   17034 else
   17035   eval $cacheid=no
   17036 fi
   17037 rm -f core conftest.err conftest.$ac_objext \
   17038     conftest$ac_exeext conftest.$ac_ext
   17039 fi
   17040 
   17041 
   17042 		CFLAGS="$xorg_testset_save_CFLAGS"
   17043 
   17044 		eval supported=\$$cacheid
   17045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17046 $as_echo "$supported" >&6; }
   17047 		if test "$supported" = "yes" ; then
   17048 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17049 			found="yes"
   17050 		fi
   17051 	fi
   17052 
   17053 
   17054 fi
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 		CWARNFLAGS="$BASE_CFLAGS"
   17063 		if  test "x$GCC" = xyes ; then
   17064 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17065 		fi
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 # Check whether --enable-strict-compilation was given.
   17075 if test "${enable_strict_compilation+set}" = set; then :
   17076   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17077 else
   17078   STRICT_COMPILE=no
   17079 fi
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 STRICT_CFLAGS=""
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 xorg_testset_save_CFLAGS="$CFLAGS"
   17101 
   17102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17107   $as_echo_n "(cached) " >&6
   17108 else
   17109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17110 /* end confdefs.h.  */
   17111 int i;
   17112 _ACEOF
   17113 if ac_fn_c_try_compile "$LINENO"; then :
   17114   xorg_cv_cc_flag_unknown_warning_option=yes
   17115 else
   17116   xorg_cv_cc_flag_unknown_warning_option=no
   17117 fi
   17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17119 fi
   17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17123 	CFLAGS="$xorg_testset_save_CFLAGS"
   17124 fi
   17125 
   17126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17129 	fi
   17130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17134   $as_echo_n "(cached) " >&6
   17135 else
   17136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17137 /* end confdefs.h.  */
   17138 int i;
   17139 _ACEOF
   17140 if ac_fn_c_try_compile "$LINENO"; then :
   17141   xorg_cv_cc_flag_unused_command_line_argument=yes
   17142 else
   17143   xorg_cv_cc_flag_unused_command_line_argument=no
   17144 fi
   17145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17146 fi
   17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17150 	CFLAGS="$xorg_testset_save_CFLAGS"
   17151 fi
   17152 
   17153 found="no"
   17154 
   17155 	if test $found = "no" ; then
   17156 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17158 		fi
   17159 
   17160 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17162 		fi
   17163 
   17164 		CFLAGS="$CFLAGS -pedantic"
   17165 
   17166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17167 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17168 		cacheid=xorg_cv_cc_flag__pedantic
   17169 		if eval \${$cacheid+:} false; then :
   17170   $as_echo_n "(cached) " >&6
   17171 else
   17172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17173 /* end confdefs.h.  */
   17174 int i;
   17175 int
   17176 main ()
   17177 {
   17178 
   17179   ;
   17180   return 0;
   17181 }
   17182 _ACEOF
   17183 if ac_fn_c_try_link "$LINENO"; then :
   17184   eval $cacheid=yes
   17185 else
   17186   eval $cacheid=no
   17187 fi
   17188 rm -f core conftest.err conftest.$ac_objext \
   17189     conftest$ac_exeext conftest.$ac_ext
   17190 fi
   17191 
   17192 
   17193 		CFLAGS="$xorg_testset_save_CFLAGS"
   17194 
   17195 		eval supported=\$$cacheid
   17196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17197 $as_echo "$supported" >&6; }
   17198 		if test "$supported" = "yes" ; then
   17199 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17200 			found="yes"
   17201 		fi
   17202 	fi
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 xorg_testset_save_CFLAGS="$CFLAGS"
   17219 
   17220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17225   $as_echo_n "(cached) " >&6
   17226 else
   17227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17228 /* end confdefs.h.  */
   17229 int i;
   17230 _ACEOF
   17231 if ac_fn_c_try_compile "$LINENO"; then :
   17232   xorg_cv_cc_flag_unknown_warning_option=yes
   17233 else
   17234   xorg_cv_cc_flag_unknown_warning_option=no
   17235 fi
   17236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17237 fi
   17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17241 	CFLAGS="$xorg_testset_save_CFLAGS"
   17242 fi
   17243 
   17244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17247 	fi
   17248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17252   $as_echo_n "(cached) " >&6
   17253 else
   17254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17255 /* end confdefs.h.  */
   17256 int i;
   17257 _ACEOF
   17258 if ac_fn_c_try_compile "$LINENO"; then :
   17259   xorg_cv_cc_flag_unused_command_line_argument=yes
   17260 else
   17261   xorg_cv_cc_flag_unused_command_line_argument=no
   17262 fi
   17263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17264 fi
   17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17268 	CFLAGS="$xorg_testset_save_CFLAGS"
   17269 fi
   17270 
   17271 found="no"
   17272 
   17273 	if test $found = "no" ; then
   17274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17276 		fi
   17277 
   17278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17280 		fi
   17281 
   17282 		CFLAGS="$CFLAGS -Werror"
   17283 
   17284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17285 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17286 		cacheid=xorg_cv_cc_flag__Werror
   17287 		if eval \${$cacheid+:} false; then :
   17288   $as_echo_n "(cached) " >&6
   17289 else
   17290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17291 /* end confdefs.h.  */
   17292 int i;
   17293 int
   17294 main ()
   17295 {
   17296 
   17297   ;
   17298   return 0;
   17299 }
   17300 _ACEOF
   17301 if ac_fn_c_try_link "$LINENO"; then :
   17302   eval $cacheid=yes
   17303 else
   17304   eval $cacheid=no
   17305 fi
   17306 rm -f core conftest.err conftest.$ac_objext \
   17307     conftest$ac_exeext conftest.$ac_ext
   17308 fi
   17309 
   17310 
   17311 		CFLAGS="$xorg_testset_save_CFLAGS"
   17312 
   17313 		eval supported=\$$cacheid
   17314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17315 $as_echo "$supported" >&6; }
   17316 		if test "$supported" = "yes" ; then
   17317 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17318 			found="yes"
   17319 		fi
   17320 	fi
   17321 
   17322 	if test $found = "no" ; then
   17323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17325 		fi
   17326 
   17327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17329 		fi
   17330 
   17331 		CFLAGS="$CFLAGS -errwarn"
   17332 
   17333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17334 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17335 		cacheid=xorg_cv_cc_flag__errwarn
   17336 		if eval \${$cacheid+:} false; then :
   17337   $as_echo_n "(cached) " >&6
   17338 else
   17339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17340 /* end confdefs.h.  */
   17341 int i;
   17342 int
   17343 main ()
   17344 {
   17345 
   17346   ;
   17347   return 0;
   17348 }
   17349 _ACEOF
   17350 if ac_fn_c_try_link "$LINENO"; then :
   17351   eval $cacheid=yes
   17352 else
   17353   eval $cacheid=no
   17354 fi
   17355 rm -f core conftest.err conftest.$ac_objext \
   17356     conftest$ac_exeext conftest.$ac_ext
   17357 fi
   17358 
   17359 
   17360 		CFLAGS="$xorg_testset_save_CFLAGS"
   17361 
   17362 		eval supported=\$$cacheid
   17363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17364 $as_echo "$supported" >&6; }
   17365 		if test "$supported" = "yes" ; then
   17366 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17367 			found="yes"
   17368 		fi
   17369 	fi
   17370 
   17371 
   17372 
   17373 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17374 # activate it with -Werror, so we add it here explicitly.
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 xorg_testset_save_CFLAGS="$CFLAGS"
   17389 
   17390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17395   $as_echo_n "(cached) " >&6
   17396 else
   17397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17398 /* end confdefs.h.  */
   17399 int i;
   17400 _ACEOF
   17401 if ac_fn_c_try_compile "$LINENO"; then :
   17402   xorg_cv_cc_flag_unknown_warning_option=yes
   17403 else
   17404   xorg_cv_cc_flag_unknown_warning_option=no
   17405 fi
   17406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17407 fi
   17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17411 	CFLAGS="$xorg_testset_save_CFLAGS"
   17412 fi
   17413 
   17414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17417 	fi
   17418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17422   $as_echo_n "(cached) " >&6
   17423 else
   17424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17425 /* end confdefs.h.  */
   17426 int i;
   17427 _ACEOF
   17428 if ac_fn_c_try_compile "$LINENO"; then :
   17429   xorg_cv_cc_flag_unused_command_line_argument=yes
   17430 else
   17431   xorg_cv_cc_flag_unused_command_line_argument=no
   17432 fi
   17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17434 fi
   17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17438 	CFLAGS="$xorg_testset_save_CFLAGS"
   17439 fi
   17440 
   17441 found="no"
   17442 
   17443 	if test $found = "no" ; then
   17444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17446 		fi
   17447 
   17448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17450 		fi
   17451 
   17452 		CFLAGS="$CFLAGS -Werror=attributes"
   17453 
   17454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17455 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17456 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17457 		if eval \${$cacheid+:} false; then :
   17458   $as_echo_n "(cached) " >&6
   17459 else
   17460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17461 /* end confdefs.h.  */
   17462 int i;
   17463 int
   17464 main ()
   17465 {
   17466 
   17467   ;
   17468   return 0;
   17469 }
   17470 _ACEOF
   17471 if ac_fn_c_try_link "$LINENO"; then :
   17472   eval $cacheid=yes
   17473 else
   17474   eval $cacheid=no
   17475 fi
   17476 rm -f core conftest.err conftest.$ac_objext \
   17477     conftest$ac_exeext conftest.$ac_ext
   17478 fi
   17479 
   17480 
   17481 		CFLAGS="$xorg_testset_save_CFLAGS"
   17482 
   17483 		eval supported=\$$cacheid
   17484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17485 $as_echo "$supported" >&6; }
   17486 		if test "$supported" = "yes" ; then
   17487 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17488 			found="yes"
   17489 		fi
   17490 	fi
   17491 
   17492 
   17493 
   17494 if test "x$STRICT_COMPILE" = "xyes"; then
   17495     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17496     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17497 fi
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 cat >>confdefs.h <<_ACEOF
   17505 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17506 _ACEOF
   17507 
   17508 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17509 	if test "x$PVM" = "x"; then
   17510 		PVM="0"
   17511 	fi
   17512 
   17513 cat >>confdefs.h <<_ACEOF
   17514 #define PACKAGE_VERSION_MINOR $PVM
   17515 _ACEOF
   17516 
   17517 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17518 	if test "x$PVP" = "x"; then
   17519 		PVP="0"
   17520 	fi
   17521 
   17522 cat >>confdefs.h <<_ACEOF
   17523 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17524 _ACEOF
   17525 
   17526 
   17527 
   17528 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17529 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17530 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17531 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17532 
   17533 
   17534 
   17535 
   17536 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17537 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17538 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17539 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17540 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 if test x$APP_MAN_SUFFIX = x    ; then
   17548     APP_MAN_SUFFIX=1
   17549 fi
   17550 if test x$APP_MAN_DIR = x    ; then
   17551     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17552 fi
   17553 
   17554 if test x$LIB_MAN_SUFFIX = x    ; then
   17555     LIB_MAN_SUFFIX=3
   17556 fi
   17557 if test x$LIB_MAN_DIR = x    ; then
   17558     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17559 fi
   17560 
   17561 if test x$FILE_MAN_SUFFIX = x    ; then
   17562     case $host_os in
   17563 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17564 	*)		FILE_MAN_SUFFIX=5  ;;
   17565     esac
   17566 fi
   17567 if test x$FILE_MAN_DIR = x    ; then
   17568     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17569 fi
   17570 
   17571 if test x$MISC_MAN_SUFFIX = x    ; then
   17572     case $host_os in
   17573 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17574 	*)		MISC_MAN_SUFFIX=7  ;;
   17575     esac
   17576 fi
   17577 if test x$MISC_MAN_DIR = x    ; then
   17578     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17579 fi
   17580 
   17581 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17582     case $host_os in
   17583 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17584 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17585     esac
   17586 fi
   17587 if test x$DRIVER_MAN_DIR = x    ; then
   17588     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17589 fi
   17590 
   17591 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17592     case $host_os in
   17593 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17594 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17595     esac
   17596 fi
   17597 if test x$ADMIN_MAN_DIR = x    ; then
   17598     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17599 fi
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 XORG_MAN_PAGE="X Version 11"
   17616 
   17617 MAN_SUBSTS="\
   17618 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17619 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17620 	-e 's|__xservername__|Xorg|g' \
   17621 	-e 's|__xconfigfile__|xorg.conf|g' \
   17622 	-e 's|__projectroot__|\$(prefix)|g' \
   17623 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17624 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17625 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17626 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17627 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17628 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17629 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17630 
   17631 
   17632 
   17633 # Check whether --enable-silent-rules was given.
   17634 if test "${enable_silent_rules+set}" = set; then :
   17635   enableval=$enable_silent_rules;
   17636 fi
   17637 
   17638 case $enable_silent_rules in # (((
   17639   yes) AM_DEFAULT_VERBOSITY=0;;
   17640    no) AM_DEFAULT_VERBOSITY=1;;
   17641     *) AM_DEFAULT_VERBOSITY=0;;
   17642 esac
   17643 am_make=${MAKE-make}
   17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17646 if ${am_cv_make_support_nested_variables+:} false; then :
   17647   $as_echo_n "(cached) " >&6
   17648 else
   17649   if $as_echo 'TRUE=$(BAR$(V))
   17650 BAR0=false
   17651 BAR1=true
   17652 V=1
   17653 am__doit:
   17654 	@$(TRUE)
   17655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17656   am_cv_make_support_nested_variables=yes
   17657 else
   17658   am_cv_make_support_nested_variables=no
   17659 fi
   17660 fi
   17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17663 if test $am_cv_make_support_nested_variables = yes; then
   17664     AM_V='$(V)'
   17665   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17666 else
   17667   AM_V=$AM_DEFAULT_VERBOSITY
   17668   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17669 fi
   17670 AM_BACKSLASH='\'
   17671 
   17672 
   17673 
   17674 # Check whether --enable-malloc0returnsnull was given.
   17675 if test "${enable_malloc0returnsnull+set}" = set; then :
   17676   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17677 else
   17678   MALLOC_ZERO_RETURNS_NULL=auto
   17679 fi
   17680 
   17681 
   17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17683 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17684 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17685 if ${xorg_cv_malloc0_returns_null+:} false; then :
   17686   $as_echo_n "(cached) " >&6
   17687 else
   17688   if test "$cross_compiling" = yes; then :
   17689   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17691 as_fn_error $? "cannot run test program while cross compiling
   17692 See \`config.log' for more details" "$LINENO" 5; }
   17693 else
   17694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17695 /* end confdefs.h.  */
   17696 
   17697 #include <stdlib.h>
   17698 
   17699 int
   17700 main ()
   17701 {
   17702 
   17703     char *m0, *r0, *c0, *p;
   17704     m0 = malloc(0);
   17705     p = malloc(10);
   17706     r0 = realloc(p,0);
   17707     c0 = calloc(0,10);
   17708     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17709 
   17710   ;
   17711   return 0;
   17712 }
   17713 _ACEOF
   17714 if ac_fn_c_try_run "$LINENO"; then :
   17715   xorg_cv_malloc0_returns_null=yes
   17716 else
   17717   xorg_cv_malloc0_returns_null=no
   17718 fi
   17719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17720   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17721 fi
   17722 
   17723 fi
   17724 
   17725 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   17726 fi
   17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17728 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17729 
   17730 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17731 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17732 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17733 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17734 else
   17735 	MALLOC_ZERO_CFLAGS=""
   17736 	XMALLOC_ZERO_CFLAGS=""
   17737 	XTMALLOC_ZERO_CFLAGS=""
   17738 fi
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 # Check randr configuration, strip extra digits from package version to
   17746 # find the required protocol version
   17747 RANDR_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17748 
   17749 
   17750 # Obtain compiler/linker options for depedencies
   17751 
   17752 pkg_failed=no
   17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RANDR" >&5
   17754 $as_echo_n "checking for RANDR... " >&6; }
   17755 
   17756 if test -n "$RANDR_CFLAGS"; then
   17757     pkg_cv_RANDR_CFLAGS="$RANDR_CFLAGS"
   17758  elif test -n "$PKG_CONFIG"; then
   17759     if test -n "$PKG_CONFIG" && \
   17760     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   17761   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   17762   ac_status=$?
   17763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17764   test $ac_status = 0; }; then
   17765   pkg_cv_RANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   17766 		      test "x$?" != "x0" && pkg_failed=yes
   17767 else
   17768   pkg_failed=yes
   17769 fi
   17770  else
   17771     pkg_failed=untried
   17772 fi
   17773 if test -n "$RANDR_LIBS"; then
   17774     pkg_cv_RANDR_LIBS="$RANDR_LIBS"
   17775  elif test -n "$PKG_CONFIG"; then
   17776     if test -n "$PKG_CONFIG" && \
   17777     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   17778   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   17779   ac_status=$?
   17780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17781   test $ac_status = 0; }; then
   17782   pkg_cv_RANDR_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   17783 		      test "x$?" != "x0" && pkg_failed=yes
   17784 else
   17785   pkg_failed=yes
   17786 fi
   17787  else
   17788     pkg_failed=untried
   17789 fi
   17790 
   17791 
   17792 
   17793 if test $pkg_failed = yes; then
   17794    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17795 $as_echo "no" >&6; }
   17796 
   17797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17798         _pkg_short_errors_supported=yes
   17799 else
   17800         _pkg_short_errors_supported=no
   17801 fi
   17802         if test $_pkg_short_errors_supported = yes; then
   17803 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   17804         else
   17805 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   17806         fi
   17807 	# Put the nasty error message in config.log where it belongs
   17808 	echo "$RANDR_PKG_ERRORS" >&5
   17809 
   17810 	as_fn_error $? "Package requirements (x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) were not met:
   17811 
   17812 $RANDR_PKG_ERRORS
   17813 
   17814 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17815 installed software in a non-standard prefix.
   17816 
   17817 Alternatively, you may set the environment variables RANDR_CFLAGS
   17818 and RANDR_LIBS to avoid the need to call pkg-config.
   17819 See the pkg-config man page for more details." "$LINENO" 5
   17820 elif test $pkg_failed = untried; then
   17821      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17822 $as_echo "no" >&6; }
   17823 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17825 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17826 is in your PATH or set the PKG_CONFIG environment variable to the full
   17827 path to pkg-config.
   17828 
   17829 Alternatively, you may set the environment variables RANDR_CFLAGS
   17830 and RANDR_LIBS to avoid the need to call pkg-config.
   17831 See the pkg-config man page for more details.
   17832 
   17833 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17834 See \`config.log' for more details" "$LINENO" 5; }
   17835 else
   17836 	RANDR_CFLAGS=$pkg_cv_RANDR_CFLAGS
   17837 	RANDR_LIBS=$pkg_cv_RANDR_LIBS
   17838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17839 $as_echo "yes" >&6; }
   17840 
   17841 fi
   17842 
   17843 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xrandr.pc"
   17844 
   17845 cat >confcache <<\_ACEOF
   17846 # This file is a shell script that caches the results of configure
   17847 # tests run on this system so they can be shared between configure
   17848 # scripts and configure runs, see configure's option --config-cache.
   17849 # It is not useful on other systems.  If it contains results you don't
   17850 # want to keep, you may remove or edit it.
   17851 #
   17852 # config.status only pays attention to the cache file if you give it
   17853 # the --recheck option to rerun configure.
   17854 #
   17855 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17856 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17857 # following values.
   17858 
   17859 _ACEOF
   17860 
   17861 # The following way of writing the cache mishandles newlines in values,
   17862 # but we know of no workaround that is simple, portable, and efficient.
   17863 # So, we kill variables containing newlines.
   17864 # Ultrix sh set writes to stderr and can't be redirected directly,
   17865 # and sets the high bit in the cache file unless we assign to the vars.
   17866 (
   17867   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17868     eval ac_val=\$$ac_var
   17869     case $ac_val in #(
   17870     *${as_nl}*)
   17871       case $ac_var in #(
   17872       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17873 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17874       esac
   17875       case $ac_var in #(
   17876       _ | IFS | as_nl) ;; #(
   17877       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17878       *) { eval $ac_var=; unset $ac_var;} ;;
   17879       esac ;;
   17880     esac
   17881   done
   17882 
   17883   (set) 2>&1 |
   17884     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17885     *${as_nl}ac_space=\ *)
   17886       # `set' does not quote correctly, so add quotes: double-quote
   17887       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17888       sed -n \
   17889 	"s/'/'\\\\''/g;
   17890 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17891       ;; #(
   17892     *)
   17893       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17894       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17895       ;;
   17896     esac |
   17897     sort
   17898 ) |
   17899   sed '
   17900      /^ac_cv_env_/b end
   17901      t clear
   17902      :clear
   17903      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17904      t end
   17905      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17906      :end' >>confcache
   17907 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17908   if test -w "$cache_file"; then
   17909     if test "x$cache_file" != "x/dev/null"; then
   17910       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17911 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17912       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17913 	cat confcache >"$cache_file"
   17914       else
   17915         case $cache_file in #(
   17916         */* | ?:*)
   17917 	  mv -f confcache "$cache_file"$$ &&
   17918 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17919         *)
   17920 	  mv -f confcache "$cache_file" ;;
   17921 	esac
   17922       fi
   17923     fi
   17924   else
   17925     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17926 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17927   fi
   17928 fi
   17929 rm -f confcache
   17930 
   17931 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17932 # Let make expand exec_prefix.
   17933 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17934 
   17935 DEFS=-DHAVE_CONFIG_H
   17936 
   17937 ac_libobjs=
   17938 ac_ltlibobjs=
   17939 U=
   17940 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17941   # 1. Remove the extension, and $U if already installed.
   17942   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17943   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17944   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17945   #    will be set to the directory where LIBOBJS objects are built.
   17946   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17947   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17948 done
   17949 LIBOBJS=$ac_libobjs
   17950 
   17951 LTLIBOBJS=$ac_ltlibobjs
   17952 
   17953 
   17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17955 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17956    if test -n "$am_sleep_pid"; then
   17957      # Hide warnings about reused PIDs.
   17958      wait $am_sleep_pid 2>/dev/null
   17959    fi
   17960    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17961 $as_echo "done" >&6; }
   17962  if test -n "$EXEEXT"; then
   17963   am__EXEEXT_TRUE=
   17964   am__EXEEXT_FALSE='#'
   17965 else
   17966   am__EXEEXT_TRUE='#'
   17967   am__EXEEXT_FALSE=
   17968 fi
   17969 
   17970 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17971   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17973 fi
   17974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17975   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17977 fi
   17978 
   17979 : "${CONFIG_STATUS=./config.status}"
   17980 ac_write_fail=0
   17981 ac_clean_files_save=$ac_clean_files
   17982 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17984 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17985 as_write_fail=0
   17986 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17987 #! $SHELL
   17988 # Generated by $as_me.
   17989 # Run this file to recreate the current configuration.
   17990 # Compiler output produced by configure, useful for debugging
   17991 # configure, is in config.log if it exists.
   17992 
   17993 debug=false
   17994 ac_cs_recheck=false
   17995 ac_cs_silent=false
   17996 
   17997 SHELL=\${CONFIG_SHELL-$SHELL}
   17998 export SHELL
   17999 _ASEOF
   18000 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18001 ## -------------------- ##
   18002 ## M4sh Initialization. ##
   18003 ## -------------------- ##
   18004 
   18005 # Be more Bourne compatible
   18006 DUALCASE=1; export DUALCASE # for MKS sh
   18007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18008   emulate sh
   18009   NULLCMD=:
   18010   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18011   # is contrary to our usage.  Disable this feature.
   18012   alias -g '${1+"$@"}'='"$@"'
   18013   setopt NO_GLOB_SUBST
   18014 else
   18015   case `(set -o) 2>/dev/null` in #(
   18016   *posix*) :
   18017     set -o posix ;; #(
   18018   *) :
   18019      ;;
   18020 esac
   18021 fi
   18022 
   18023 
   18024 as_nl='
   18025 '
   18026 export as_nl
   18027 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18028 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18031 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18032 # but without wasting forks for bash or zsh.
   18033 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18034     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18035   as_echo='print -r --'
   18036   as_echo_n='print -rn --'
   18037 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18038   as_echo='printf %s\n'
   18039   as_echo_n='printf %s'
   18040 else
   18041   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18042     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18043     as_echo_n='/usr/ucb/echo -n'
   18044   else
   18045     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18046     as_echo_n_body='eval
   18047       arg=$1;
   18048       case $arg in #(
   18049       *"$as_nl"*)
   18050 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18051 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18052       esac;
   18053       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18054     '
   18055     export as_echo_n_body
   18056     as_echo_n='sh -c $as_echo_n_body as_echo'
   18057   fi
   18058   export as_echo_body
   18059   as_echo='sh -c $as_echo_body as_echo'
   18060 fi
   18061 
   18062 # The user is always right.
   18063 if test "${PATH_SEPARATOR+set}" != set; then
   18064   PATH_SEPARATOR=:
   18065   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18066     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18067       PATH_SEPARATOR=';'
   18068   }
   18069 fi
   18070 
   18071 
   18072 # IFS
   18073 # We need space, tab and new line, in precisely that order.  Quoting is
   18074 # there to prevent editors from complaining about space-tab.
   18075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18076 # splitting by setting IFS to empty value.)
   18077 IFS=" ""	$as_nl"
   18078 
   18079 # Find who we are.  Look in the path if we contain no directory separator.
   18080 as_myself=
   18081 case $0 in #((
   18082   *[\\/]* ) as_myself=$0 ;;
   18083   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18084 for as_dir in $PATH
   18085 do
   18086   IFS=$as_save_IFS
   18087   test -z "$as_dir" && as_dir=.
   18088     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18089   done
   18090 IFS=$as_save_IFS
   18091 
   18092      ;;
   18093 esac
   18094 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18095 # in which case we are not to be found in the path.
   18096 if test "x$as_myself" = x; then
   18097   as_myself=$0
   18098 fi
   18099 if test ! -f "$as_myself"; then
   18100   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18101   exit 1
   18102 fi
   18103 
   18104 # Unset variables that we do not need and which cause bugs (e.g. in
   18105 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18106 # suppresses any "Segmentation fault" message there.  '((' could
   18107 # trigger a bug in pdksh 5.2.14.
   18108 for as_var in BASH_ENV ENV MAIL MAILPATH
   18109 do eval test x\${$as_var+set} = xset \
   18110   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18111 done
   18112 PS1='$ '
   18113 PS2='> '
   18114 PS4='+ '
   18115 
   18116 # NLS nuisances.
   18117 LC_ALL=C
   18118 export LC_ALL
   18119 LANGUAGE=C
   18120 export LANGUAGE
   18121 
   18122 # CDPATH.
   18123 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18124 
   18125 
   18126 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18127 # ----------------------------------------
   18128 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18129 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18130 # script with STATUS, using 1 if that was 0.
   18131 as_fn_error ()
   18132 {
   18133   as_status=$1; test $as_status -eq 0 && as_status=1
   18134   if test "$4"; then
   18135     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18136     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18137   fi
   18138   $as_echo "$as_me: error: $2" >&2
   18139   as_fn_exit $as_status
   18140 } # as_fn_error
   18141 
   18142 
   18143 # as_fn_set_status STATUS
   18144 # -----------------------
   18145 # Set $? to STATUS, without forking.
   18146 as_fn_set_status ()
   18147 {
   18148   return $1
   18149 } # as_fn_set_status
   18150 
   18151 # as_fn_exit STATUS
   18152 # -----------------
   18153 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18154 as_fn_exit ()
   18155 {
   18156   set +e
   18157   as_fn_set_status $1
   18158   exit $1
   18159 } # as_fn_exit
   18160 
   18161 # as_fn_unset VAR
   18162 # ---------------
   18163 # Portably unset VAR.
   18164 as_fn_unset ()
   18165 {
   18166   { eval $1=; unset $1;}
   18167 }
   18168 as_unset=as_fn_unset
   18169 # as_fn_append VAR VALUE
   18170 # ----------------------
   18171 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18172 # advantage of any shell optimizations that allow amortized linear growth over
   18173 # repeated appends, instead of the typical quadratic growth present in naive
   18174 # implementations.
   18175 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18176   eval 'as_fn_append ()
   18177   {
   18178     eval $1+=\$2
   18179   }'
   18180 else
   18181   as_fn_append ()
   18182   {
   18183     eval $1=\$$1\$2
   18184   }
   18185 fi # as_fn_append
   18186 
   18187 # as_fn_arith ARG...
   18188 # ------------------
   18189 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18190 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18191 # must be portable across $(()) and expr.
   18192 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18193   eval 'as_fn_arith ()
   18194   {
   18195     as_val=$(( $* ))
   18196   }'
   18197 else
   18198   as_fn_arith ()
   18199   {
   18200     as_val=`expr "$@" || test $? -eq 1`
   18201   }
   18202 fi # as_fn_arith
   18203 
   18204 
   18205 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18206    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18207   as_expr=expr
   18208 else
   18209   as_expr=false
   18210 fi
   18211 
   18212 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18213   as_basename=basename
   18214 else
   18215   as_basename=false
   18216 fi
   18217 
   18218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18219   as_dirname=dirname
   18220 else
   18221   as_dirname=false
   18222 fi
   18223 
   18224 as_me=`$as_basename -- "$0" ||
   18225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18226 	 X"$0" : 'X\(//\)$' \| \
   18227 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18228 $as_echo X/"$0" |
   18229     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18230 	    s//\1/
   18231 	    q
   18232 	  }
   18233 	  /^X\/\(\/\/\)$/{
   18234 	    s//\1/
   18235 	    q
   18236 	  }
   18237 	  /^X\/\(\/\).*/{
   18238 	    s//\1/
   18239 	    q
   18240 	  }
   18241 	  s/.*/./; q'`
   18242 
   18243 # Avoid depending upon Character Ranges.
   18244 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18245 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18246 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18247 as_cr_digits='0123456789'
   18248 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18249 
   18250 ECHO_C= ECHO_N= ECHO_T=
   18251 case `echo -n x` in #(((((
   18252 -n*)
   18253   case `echo 'xy\c'` in
   18254   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18255   xy)  ECHO_C='\c';;
   18256   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18257        ECHO_T='	';;
   18258   esac;;
   18259 *)
   18260   ECHO_N='-n';;
   18261 esac
   18262 
   18263 rm -f conf$$ conf$$.exe conf$$.file
   18264 if test -d conf$$.dir; then
   18265   rm -f conf$$.dir/conf$$.file
   18266 else
   18267   rm -f conf$$.dir
   18268   mkdir conf$$.dir 2>/dev/null
   18269 fi
   18270 if (echo >conf$$.file) 2>/dev/null; then
   18271   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18272     as_ln_s='ln -s'
   18273     # ... but there are two gotchas:
   18274     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18275     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18276     # In both cases, we have to default to `cp -pR'.
   18277     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18278       as_ln_s='cp -pR'
   18279   elif ln conf$$.file conf$$ 2>/dev/null; then
   18280     as_ln_s=ln
   18281   else
   18282     as_ln_s='cp -pR'
   18283   fi
   18284 else
   18285   as_ln_s='cp -pR'
   18286 fi
   18287 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18288 rmdir conf$$.dir 2>/dev/null
   18289 
   18290 
   18291 # as_fn_mkdir_p
   18292 # -------------
   18293 # Create "$as_dir" as a directory, including parents if necessary.
   18294 as_fn_mkdir_p ()
   18295 {
   18296 
   18297   case $as_dir in #(
   18298   -*) as_dir=./$as_dir;;
   18299   esac
   18300   test -d "$as_dir" || eval $as_mkdir_p || {
   18301     as_dirs=
   18302     while :; do
   18303       case $as_dir in #(
   18304       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18305       *) as_qdir=$as_dir;;
   18306       esac
   18307       as_dirs="'$as_qdir' $as_dirs"
   18308       as_dir=`$as_dirname -- "$as_dir" ||
   18309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18310 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18311 	 X"$as_dir" : 'X\(//\)$' \| \
   18312 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18313 $as_echo X"$as_dir" |
   18314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18315 	    s//\1/
   18316 	    q
   18317 	  }
   18318 	  /^X\(\/\/\)[^/].*/{
   18319 	    s//\1/
   18320 	    q
   18321 	  }
   18322 	  /^X\(\/\/\)$/{
   18323 	    s//\1/
   18324 	    q
   18325 	  }
   18326 	  /^X\(\/\).*/{
   18327 	    s//\1/
   18328 	    q
   18329 	  }
   18330 	  s/.*/./; q'`
   18331       test -d "$as_dir" && break
   18332     done
   18333     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18334   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18335 
   18336 
   18337 } # as_fn_mkdir_p
   18338 if mkdir -p . 2>/dev/null; then
   18339   as_mkdir_p='mkdir -p "$as_dir"'
   18340 else
   18341   test -d ./-p && rmdir ./-p
   18342   as_mkdir_p=false
   18343 fi
   18344 
   18345 
   18346 # as_fn_executable_p FILE
   18347 # -----------------------
   18348 # Test if FILE is an executable regular file.
   18349 as_fn_executable_p ()
   18350 {
   18351   test -f "$1" && test -x "$1"
   18352 } # as_fn_executable_p
   18353 as_test_x='test -x'
   18354 as_executable_p=as_fn_executable_p
   18355 
   18356 # Sed expression to map a string onto a valid CPP name.
   18357 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18358 
   18359 # Sed expression to map a string onto a valid variable name.
   18360 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18361 
   18362 
   18363 exec 6>&1
   18364 ## ----------------------------------- ##
   18365 ## Main body of $CONFIG_STATUS script. ##
   18366 ## ----------------------------------- ##
   18367 _ASEOF
   18368 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18369 
   18370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18371 # Save the log message, to keep $0 and so on meaningful, and to
   18372 # report actual input values of CONFIG_FILES etc. instead of their
   18373 # values after options handling.
   18374 ac_log="
   18375 This file was extended by libXrandr $as_me 1.5.0, which was
   18376 generated by GNU Autoconf 2.69.  Invocation command line was
   18377 
   18378   CONFIG_FILES    = $CONFIG_FILES
   18379   CONFIG_HEADERS  = $CONFIG_HEADERS
   18380   CONFIG_LINKS    = $CONFIG_LINKS
   18381   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18382   $ $0 $@
   18383 
   18384 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18385 "
   18386 
   18387 _ACEOF
   18388 
   18389 case $ac_config_files in *"
   18390 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18391 esac
   18392 
   18393 case $ac_config_headers in *"
   18394 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18395 esac
   18396 
   18397 
   18398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18399 # Files that config.status was made for.
   18400 config_files="$ac_config_files"
   18401 config_headers="$ac_config_headers"
   18402 config_commands="$ac_config_commands"
   18403 
   18404 _ACEOF
   18405 
   18406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18407 ac_cs_usage="\
   18408 \`$as_me' instantiates files and other configuration actions
   18409 from templates according to the current configuration.  Unless the files
   18410 and actions are specified as TAGs, all are instantiated by default.
   18411 
   18412 Usage: $0 [OPTION]... [TAG]...
   18413 
   18414   -h, --help       print this help, then exit
   18415   -V, --version    print version number and configuration settings, then exit
   18416       --config     print configuration, then exit
   18417   -q, --quiet, --silent
   18418                    do not print progress messages
   18419   -d, --debug      don't remove temporary files
   18420       --recheck    update $as_me by reconfiguring in the same conditions
   18421       --file=FILE[:TEMPLATE]
   18422                    instantiate the configuration file FILE
   18423       --header=FILE[:TEMPLATE]
   18424                    instantiate the configuration header FILE
   18425 
   18426 Configuration files:
   18427 $config_files
   18428 
   18429 Configuration headers:
   18430 $config_headers
   18431 
   18432 Configuration commands:
   18433 $config_commands
   18434 
   18435 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18436 
   18437 _ACEOF
   18438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18439 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18440 ac_cs_version="\\
   18441 libXrandr config.status 1.5.0
   18442 configured by $0, generated by GNU Autoconf 2.69,
   18443   with options \\"\$ac_cs_config\\"
   18444 
   18445 Copyright (C) 2012 Free Software Foundation, Inc.
   18446 This config.status script is free software; the Free Software Foundation
   18447 gives unlimited permission to copy, distribute and modify it."
   18448 
   18449 ac_pwd='$ac_pwd'
   18450 srcdir='$srcdir'
   18451 INSTALL='$INSTALL'
   18452 MKDIR_P='$MKDIR_P'
   18453 AWK='$AWK'
   18454 test -n "\$AWK" || AWK=awk
   18455 _ACEOF
   18456 
   18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18458 # The default lists apply if the user does not specify any file.
   18459 ac_need_defaults=:
   18460 while test $# != 0
   18461 do
   18462   case $1 in
   18463   --*=?*)
   18464     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18465     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18466     ac_shift=:
   18467     ;;
   18468   --*=)
   18469     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18470     ac_optarg=
   18471     ac_shift=:
   18472     ;;
   18473   *)
   18474     ac_option=$1
   18475     ac_optarg=$2
   18476     ac_shift=shift
   18477     ;;
   18478   esac
   18479 
   18480   case $ac_option in
   18481   # Handling of the options.
   18482   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18483     ac_cs_recheck=: ;;
   18484   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18485     $as_echo "$ac_cs_version"; exit ;;
   18486   --config | --confi | --conf | --con | --co | --c )
   18487     $as_echo "$ac_cs_config"; exit ;;
   18488   --debug | --debu | --deb | --de | --d | -d )
   18489     debug=: ;;
   18490   --file | --fil | --fi | --f )
   18491     $ac_shift
   18492     case $ac_optarg in
   18493     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18494     '') as_fn_error $? "missing file argument" ;;
   18495     esac
   18496     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18497     ac_need_defaults=false;;
   18498   --header | --heade | --head | --hea )
   18499     $ac_shift
   18500     case $ac_optarg in
   18501     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18502     esac
   18503     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18504     ac_need_defaults=false;;
   18505   --he | --h)
   18506     # Conflict between --help and --header
   18507     as_fn_error $? "ambiguous option: \`$1'
   18508 Try \`$0 --help' for more information.";;
   18509   --help | --hel | -h )
   18510     $as_echo "$ac_cs_usage"; exit ;;
   18511   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18512   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18513     ac_cs_silent=: ;;
   18514 
   18515   # This is an error.
   18516   -*) as_fn_error $? "unrecognized option: \`$1'
   18517 Try \`$0 --help' for more information." ;;
   18518 
   18519   *) as_fn_append ac_config_targets " $1"
   18520      ac_need_defaults=false ;;
   18521 
   18522   esac
   18523   shift
   18524 done
   18525 
   18526 ac_configure_extra_args=
   18527 
   18528 if $ac_cs_silent; then
   18529   exec 6>/dev/null
   18530   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18531 fi
   18532 
   18533 _ACEOF
   18534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18535 if \$ac_cs_recheck; then
   18536   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18537   shift
   18538   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18539   CONFIG_SHELL='$SHELL'
   18540   export CONFIG_SHELL
   18541   exec "\$@"
   18542 fi
   18543 
   18544 _ACEOF
   18545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18546 exec 5>>config.log
   18547 {
   18548   echo
   18549   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18550 ## Running $as_me. ##
   18551 _ASBOX
   18552   $as_echo "$ac_log"
   18553 } >&5
   18554 
   18555 _ACEOF
   18556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18557 #
   18558 # INIT-COMMANDS
   18559 #
   18560 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18561 
   18562 
   18563 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18564 # if CDPATH is set.
   18565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18566 
   18567 sed_quote_subst='$sed_quote_subst'
   18568 double_quote_subst='$double_quote_subst'
   18569 delay_variable_subst='$delay_variable_subst'
   18570 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18571 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18572 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18573 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18574 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18575 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18576 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18577 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18578 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18579 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18580 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18581 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18582 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18583 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18584 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18585 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18586 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18587 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18588 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18589 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18590 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18591 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18592 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18593 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18594 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18595 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18596 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18597 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18598 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18599 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18600 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18601 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18602 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18603 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18604 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18605 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18606 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18607 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18608 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18609 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18610 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18611 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18612 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18613 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18614 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18615 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18616 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18617 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18618 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18619 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18620 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18621 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18622 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18623 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18624 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18625 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18626 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"`'
   18627 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18628 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18629 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18630 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18631 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18632 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18633 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18634 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18635 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18636 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18637 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18638 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18639 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18640 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18641 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18642 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18643 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18644 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18645 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18646 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18647 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18648 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18649 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18650 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18651 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18652 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18653 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18654 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18655 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18656 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18657 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18658 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18659 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18660 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18661 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18662 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18663 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18664 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18665 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18666 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18667 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18668 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18669 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18670 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18671 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18672 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18673 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18674 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18675 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18676 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18677 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18678 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18679 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18680 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18681 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18682 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18683 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18684 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18685 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18686 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18687 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18688 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18689 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18690 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18691 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18692 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18693 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18694 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18695 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18696 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18697 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18698 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18699 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18700 
   18701 LTCC='$LTCC'
   18702 LTCFLAGS='$LTCFLAGS'
   18703 compiler='$compiler_DEFAULT'
   18704 
   18705 # A function that is used when there is no print builtin or printf.
   18706 func_fallback_echo ()
   18707 {
   18708   eval 'cat <<_LTECHO_EOF
   18709 \$1
   18710 _LTECHO_EOF'
   18711 }
   18712 
   18713 # Quote evaled strings.
   18714 for var in SHELL \
   18715 ECHO \
   18716 PATH_SEPARATOR \
   18717 SED \
   18718 GREP \
   18719 EGREP \
   18720 FGREP \
   18721 LD \
   18722 NM \
   18723 LN_S \
   18724 lt_SP2NL \
   18725 lt_NL2SP \
   18726 reload_flag \
   18727 OBJDUMP \
   18728 deplibs_check_method \
   18729 file_magic_cmd \
   18730 file_magic_glob \
   18731 want_nocaseglob \
   18732 DLLTOOL \
   18733 sharedlib_from_linklib_cmd \
   18734 AR \
   18735 AR_FLAGS \
   18736 archiver_list_spec \
   18737 STRIP \
   18738 RANLIB \
   18739 CC \
   18740 CFLAGS \
   18741 compiler \
   18742 lt_cv_sys_global_symbol_pipe \
   18743 lt_cv_sys_global_symbol_to_cdecl \
   18744 lt_cv_sys_global_symbol_to_c_name_address \
   18745 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18746 nm_file_list_spec \
   18747 lt_prog_compiler_no_builtin_flag \
   18748 lt_prog_compiler_pic \
   18749 lt_prog_compiler_wl \
   18750 lt_prog_compiler_static \
   18751 lt_cv_prog_compiler_c_o \
   18752 need_locks \
   18753 MANIFEST_TOOL \
   18754 DSYMUTIL \
   18755 NMEDIT \
   18756 LIPO \
   18757 OTOOL \
   18758 OTOOL64 \
   18759 shrext_cmds \
   18760 export_dynamic_flag_spec \
   18761 whole_archive_flag_spec \
   18762 compiler_needs_object \
   18763 with_gnu_ld \
   18764 allow_undefined_flag \
   18765 no_undefined_flag \
   18766 hardcode_libdir_flag_spec \
   18767 hardcode_libdir_separator \
   18768 exclude_expsyms \
   18769 include_expsyms \
   18770 file_list_spec \
   18771 variables_saved_for_relink \
   18772 libname_spec \
   18773 library_names_spec \
   18774 soname_spec \
   18775 install_override_mode \
   18776 finish_eval \
   18777 old_striplib \
   18778 striplib; do
   18779     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18780     *[\\\\\\\`\\"\\\$]*)
   18781       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18782       ;;
   18783     *)
   18784       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18785       ;;
   18786     esac
   18787 done
   18788 
   18789 # Double-quote double-evaled strings.
   18790 for var in reload_cmds \
   18791 old_postinstall_cmds \
   18792 old_postuninstall_cmds \
   18793 old_archive_cmds \
   18794 extract_expsyms_cmds \
   18795 old_archive_from_new_cmds \
   18796 old_archive_from_expsyms_cmds \
   18797 archive_cmds \
   18798 archive_expsym_cmds \
   18799 module_cmds \
   18800 module_expsym_cmds \
   18801 export_symbols_cmds \
   18802 prelink_cmds \
   18803 postlink_cmds \
   18804 postinstall_cmds \
   18805 postuninstall_cmds \
   18806 finish_cmds \
   18807 sys_lib_search_path_spec \
   18808 sys_lib_dlsearch_path_spec; do
   18809     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18810     *[\\\\\\\`\\"\\\$]*)
   18811       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18812       ;;
   18813     *)
   18814       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18815       ;;
   18816     esac
   18817 done
   18818 
   18819 ac_aux_dir='$ac_aux_dir'
   18820 xsi_shell='$xsi_shell'
   18821 lt_shell_append='$lt_shell_append'
   18822 
   18823 # See if we are running on zsh, and set the options which allow our
   18824 # commands through without removal of \ escapes INIT.
   18825 if test -n "\${ZSH_VERSION+set}" ; then
   18826    setopt NO_GLOB_SUBST
   18827 fi
   18828 
   18829 
   18830     PACKAGE='$PACKAGE'
   18831     VERSION='$VERSION'
   18832     TIMESTAMP='$TIMESTAMP'
   18833     RM='$RM'
   18834     ofile='$ofile'
   18835 
   18836 
   18837 
   18838 
   18839 _ACEOF
   18840 
   18841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18842 
   18843 # Handling of arguments.
   18844 for ac_config_target in $ac_config_targets
   18845 do
   18846   case $ac_config_target in
   18847     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18848     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18849     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18850     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18851     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18852     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18853     "xrandr.pc") CONFIG_FILES="$CONFIG_FILES xrandr.pc" ;;
   18854 
   18855   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18856   esac
   18857 done
   18858 
   18859 
   18860 # If the user did not use the arguments to specify the items to instantiate,
   18861 # then the envvar interface is used.  Set only those that are not.
   18862 # We use the long form for the default assignment because of an extremely
   18863 # bizarre bug on SunOS 4.1.3.
   18864 if $ac_need_defaults; then
   18865   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18866   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18867   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18868 fi
   18869 
   18870 # Have a temporary directory for convenience.  Make it in the build tree
   18871 # simply because there is no reason against having it here, and in addition,
   18872 # creating and moving files from /tmp can sometimes cause problems.
   18873 # Hook for its removal unless debugging.
   18874 # Note that there is a small window in which the directory will not be cleaned:
   18875 # after its creation but before its name has been assigned to `$tmp'.
   18876 $debug ||
   18877 {
   18878   tmp= ac_tmp=
   18879   trap 'exit_status=$?
   18880   : "${ac_tmp:=$tmp}"
   18881   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18882 ' 0
   18883   trap 'as_fn_exit 1' 1 2 13 15
   18884 }
   18885 # Create a (secure) tmp directory for tmp files.
   18886 
   18887 {
   18888   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18889   test -d "$tmp"
   18890 }  ||
   18891 {
   18892   tmp=./conf$$-$RANDOM
   18893   (umask 077 && mkdir "$tmp")
   18894 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18895 ac_tmp=$tmp
   18896 
   18897 # Set up the scripts for CONFIG_FILES section.
   18898 # No need to generate them if there are no CONFIG_FILES.
   18899 # This happens for instance with `./config.status config.h'.
   18900 if test -n "$CONFIG_FILES"; then
   18901 
   18902 
   18903 ac_cr=`echo X | tr X '\015'`
   18904 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18905 # But we know of no other shell where ac_cr would be empty at this
   18906 # point, so we can use a bashism as a fallback.
   18907 if test "x$ac_cr" = x; then
   18908   eval ac_cr=\$\'\\r\'
   18909 fi
   18910 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18911 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18912   ac_cs_awk_cr='\\r'
   18913 else
   18914   ac_cs_awk_cr=$ac_cr
   18915 fi
   18916 
   18917 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18918 _ACEOF
   18919 
   18920 
   18921 {
   18922   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18923   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18924   echo "_ACEOF"
   18925 } >conf$$subs.sh ||
   18926   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18927 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18928 ac_delim='%!_!# '
   18929 for ac_last_try in false false false false false :; do
   18930   . ./conf$$subs.sh ||
   18931     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18932 
   18933   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18934   if test $ac_delim_n = $ac_delim_num; then
   18935     break
   18936   elif $ac_last_try; then
   18937     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18938   else
   18939     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18940   fi
   18941 done
   18942 rm -f conf$$subs.sh
   18943 
   18944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18945 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18946 _ACEOF
   18947 sed -n '
   18948 h
   18949 s/^/S["/; s/!.*/"]=/
   18950 p
   18951 g
   18952 s/^[^!]*!//
   18953 :repl
   18954 t repl
   18955 s/'"$ac_delim"'$//
   18956 t delim
   18957 :nl
   18958 h
   18959 s/\(.\{148\}\)..*/\1/
   18960 t more1
   18961 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18962 p
   18963 n
   18964 b repl
   18965 :more1
   18966 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18967 p
   18968 g
   18969 s/.\{148\}//
   18970 t nl
   18971 :delim
   18972 h
   18973 s/\(.\{148\}\)..*/\1/
   18974 t more2
   18975 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18976 p
   18977 b
   18978 :more2
   18979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18980 p
   18981 g
   18982 s/.\{148\}//
   18983 t delim
   18984 ' <conf$$subs.awk | sed '
   18985 /^[^""]/{
   18986   N
   18987   s/\n//
   18988 }
   18989 ' >>$CONFIG_STATUS || ac_write_fail=1
   18990 rm -f conf$$subs.awk
   18991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18992 _ACAWK
   18993 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18994   for (key in S) S_is_set[key] = 1
   18995   FS = ""
   18996 
   18997 }
   18998 {
   18999   line = $ 0
   19000   nfields = split(line, field, "@")
   19001   substed = 0
   19002   len = length(field[1])
   19003   for (i = 2; i < nfields; i++) {
   19004     key = field[i]
   19005     keylen = length(key)
   19006     if (S_is_set[key]) {
   19007       value = S[key]
   19008       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19009       len += length(value) + length(field[++i])
   19010       substed = 1
   19011     } else
   19012       len += 1 + keylen
   19013   }
   19014 
   19015   print line
   19016 }
   19017 
   19018 _ACAWK
   19019 _ACEOF
   19020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19021 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19022   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19023 else
   19024   cat
   19025 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19026   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19027 _ACEOF
   19028 
   19029 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19030 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19031 # trailing colons and then remove the whole line if VPATH becomes empty
   19032 # (actually we leave an empty line to preserve line numbers).
   19033 if test "x$srcdir" = x.; then
   19034   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19035 h
   19036 s///
   19037 s/^/:/
   19038 s/[	 ]*$/:/
   19039 s/:\$(srcdir):/:/g
   19040 s/:\${srcdir}:/:/g
   19041 s/:@srcdir@:/:/g
   19042 s/^:*//
   19043 s/:*$//
   19044 x
   19045 s/\(=[	 ]*\).*/\1/
   19046 G
   19047 s/\n//
   19048 s/^[^=]*=[	 ]*$//
   19049 }'
   19050 fi
   19051 
   19052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19053 fi # test -n "$CONFIG_FILES"
   19054 
   19055 # Set up the scripts for CONFIG_HEADERS section.
   19056 # No need to generate them if there are no CONFIG_HEADERS.
   19057 # This happens for instance with `./config.status Makefile'.
   19058 if test -n "$CONFIG_HEADERS"; then
   19059 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19060 BEGIN {
   19061 _ACEOF
   19062 
   19063 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19064 # here-document in config.status, that substitutes the proper values into
   19065 # config.h.in to produce config.h.
   19066 
   19067 # Create a delimiter string that does not exist in confdefs.h, to ease
   19068 # handling of long lines.
   19069 ac_delim='%!_!# '
   19070 for ac_last_try in false false :; do
   19071   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19072   if test -z "$ac_tt"; then
   19073     break
   19074   elif $ac_last_try; then
   19075     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19076   else
   19077     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19078   fi
   19079 done
   19080 
   19081 # For the awk script, D is an array of macro values keyed by name,
   19082 # likewise P contains macro parameters if any.  Preserve backslash
   19083 # newline sequences.
   19084 
   19085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19086 sed -n '
   19087 s/.\{148\}/&'"$ac_delim"'/g
   19088 t rset
   19089 :rset
   19090 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19091 t def
   19092 d
   19093 :def
   19094 s/\\$//
   19095 t bsnl
   19096 s/["\\]/\\&/g
   19097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19098 D["\1"]=" \3"/p
   19099 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19100 d
   19101 :bsnl
   19102 s/["\\]/\\&/g
   19103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19104 D["\1"]=" \3\\\\\\n"\\/p
   19105 t cont
   19106 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19107 t cont
   19108 d
   19109 :cont
   19110 n
   19111 s/.\{148\}/&'"$ac_delim"'/g
   19112 t clear
   19113 :clear
   19114 s/\\$//
   19115 t bsnlc
   19116 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19117 d
   19118 :bsnlc
   19119 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19120 b cont
   19121 ' <confdefs.h | sed '
   19122 s/'"$ac_delim"'/"\\\
   19123 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19124 
   19125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19126   for (key in D) D_is_set[key] = 1
   19127   FS = ""
   19128 }
   19129 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19130   line = \$ 0
   19131   split(line, arg, " ")
   19132   if (arg[1] == "#") {
   19133     defundef = arg[2]
   19134     mac1 = arg[3]
   19135   } else {
   19136     defundef = substr(arg[1], 2)
   19137     mac1 = arg[2]
   19138   }
   19139   split(mac1, mac2, "(") #)
   19140   macro = mac2[1]
   19141   prefix = substr(line, 1, index(line, defundef) - 1)
   19142   if (D_is_set[macro]) {
   19143     # Preserve the white space surrounding the "#".
   19144     print prefix "define", macro P[macro] D[macro]
   19145     next
   19146   } else {
   19147     # Replace #undef with comments.  This is necessary, for example,
   19148     # in the case of _POSIX_SOURCE, which is predefined and required
   19149     # on some systems where configure will not decide to define it.
   19150     if (defundef == "undef") {
   19151       print "/*", prefix defundef, macro, "*/"
   19152       next
   19153     }
   19154   }
   19155 }
   19156 { print }
   19157 _ACAWK
   19158 _ACEOF
   19159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19160   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19161 fi # test -n "$CONFIG_HEADERS"
   19162 
   19163 
   19164 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19165 shift
   19166 for ac_tag
   19167 do
   19168   case $ac_tag in
   19169   :[FHLC]) ac_mode=$ac_tag; continue;;
   19170   esac
   19171   case $ac_mode$ac_tag in
   19172   :[FHL]*:*);;
   19173   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19174   :[FH]-) ac_tag=-:-;;
   19175   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19176   esac
   19177   ac_save_IFS=$IFS
   19178   IFS=:
   19179   set x $ac_tag
   19180   IFS=$ac_save_IFS
   19181   shift
   19182   ac_file=$1
   19183   shift
   19184 
   19185   case $ac_mode in
   19186   :L) ac_source=$1;;
   19187   :[FH])
   19188     ac_file_inputs=
   19189     for ac_f
   19190     do
   19191       case $ac_f in
   19192       -) ac_f="$ac_tmp/stdin";;
   19193       *) # Look for the file first in the build tree, then in the source tree
   19194 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19195 	 # because $ac_f cannot contain `:'.
   19196 	 test -f "$ac_f" ||
   19197 	   case $ac_f in
   19198 	   [\\/$]*) false;;
   19199 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19200 	   esac ||
   19201 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19202       esac
   19203       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19204       as_fn_append ac_file_inputs " '$ac_f'"
   19205     done
   19206 
   19207     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19208     # use $as_me), people would be surprised to read:
   19209     #    /* config.h.  Generated by config.status.  */
   19210     configure_input='Generated from '`
   19211 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19212 	`' by configure.'
   19213     if test x"$ac_file" != x-; then
   19214       configure_input="$ac_file.  $configure_input"
   19215       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19216 $as_echo "$as_me: creating $ac_file" >&6;}
   19217     fi
   19218     # Neutralize special characters interpreted by sed in replacement strings.
   19219     case $configure_input in #(
   19220     *\&* | *\|* | *\\* )
   19221        ac_sed_conf_input=`$as_echo "$configure_input" |
   19222        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19223     *) ac_sed_conf_input=$configure_input;;
   19224     esac
   19225 
   19226     case $ac_tag in
   19227     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19228       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19229     esac
   19230     ;;
   19231   esac
   19232 
   19233   ac_dir=`$as_dirname -- "$ac_file" ||
   19234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19235 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19236 	 X"$ac_file" : 'X\(//\)$' \| \
   19237 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19238 $as_echo X"$ac_file" |
   19239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19240 	    s//\1/
   19241 	    q
   19242 	  }
   19243 	  /^X\(\/\/\)[^/].*/{
   19244 	    s//\1/
   19245 	    q
   19246 	  }
   19247 	  /^X\(\/\/\)$/{
   19248 	    s//\1/
   19249 	    q
   19250 	  }
   19251 	  /^X\(\/\).*/{
   19252 	    s//\1/
   19253 	    q
   19254 	  }
   19255 	  s/.*/./; q'`
   19256   as_dir="$ac_dir"; as_fn_mkdir_p
   19257   ac_builddir=.
   19258 
   19259 case "$ac_dir" in
   19260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19261 *)
   19262   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19263   # A ".." for each directory in $ac_dir_suffix.
   19264   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19265   case $ac_top_builddir_sub in
   19266   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19267   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19268   esac ;;
   19269 esac
   19270 ac_abs_top_builddir=$ac_pwd
   19271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19272 # for backward compatibility:
   19273 ac_top_builddir=$ac_top_build_prefix
   19274 
   19275 case $srcdir in
   19276   .)  # We are building in place.
   19277     ac_srcdir=.
   19278     ac_top_srcdir=$ac_top_builddir_sub
   19279     ac_abs_top_srcdir=$ac_pwd ;;
   19280   [\\/]* | ?:[\\/]* )  # Absolute name.
   19281     ac_srcdir=$srcdir$ac_dir_suffix;
   19282     ac_top_srcdir=$srcdir
   19283     ac_abs_top_srcdir=$srcdir ;;
   19284   *) # Relative name.
   19285     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19286     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19287     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19288 esac
   19289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19290 
   19291 
   19292   case $ac_mode in
   19293   :F)
   19294   #
   19295   # CONFIG_FILE
   19296   #
   19297 
   19298   case $INSTALL in
   19299   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19300   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19301   esac
   19302   ac_MKDIR_P=$MKDIR_P
   19303   case $MKDIR_P in
   19304   [\\/$]* | ?:[\\/]* ) ;;
   19305   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19306   esac
   19307 _ACEOF
   19308 
   19309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19310 # If the template does not know about datarootdir, expand it.
   19311 # FIXME: This hack should be removed a few years after 2.60.
   19312 ac_datarootdir_hack=; ac_datarootdir_seen=
   19313 ac_sed_dataroot='
   19314 /datarootdir/ {
   19315   p
   19316   q
   19317 }
   19318 /@datadir@/p
   19319 /@docdir@/p
   19320 /@infodir@/p
   19321 /@localedir@/p
   19322 /@mandir@/p'
   19323 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19324 *datarootdir*) ac_datarootdir_seen=yes;;
   19325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19326   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19327 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19328 _ACEOF
   19329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19330   ac_datarootdir_hack='
   19331   s&@datadir@&$datadir&g
   19332   s&@docdir@&$docdir&g
   19333   s&@infodir@&$infodir&g
   19334   s&@localedir@&$localedir&g
   19335   s&@mandir@&$mandir&g
   19336   s&\\\${datarootdir}&$datarootdir&g' ;;
   19337 esac
   19338 _ACEOF
   19339 
   19340 # Neutralize VPATH when `$srcdir' = `.'.
   19341 # Shell code in configure.ac might set extrasub.
   19342 # FIXME: do we really want to maintain this feature?
   19343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19344 ac_sed_extra="$ac_vpsub
   19345 $extrasub
   19346 _ACEOF
   19347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19348 :t
   19349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19350 s|@configure_input@|$ac_sed_conf_input|;t t
   19351 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19352 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19353 s&@srcdir@&$ac_srcdir&;t t
   19354 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19355 s&@top_srcdir@&$ac_top_srcdir&;t t
   19356 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19357 s&@builddir@&$ac_builddir&;t t
   19358 s&@abs_builddir@&$ac_abs_builddir&;t t
   19359 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19360 s&@INSTALL@&$ac_INSTALL&;t t
   19361 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19362 $ac_datarootdir_hack
   19363 "
   19364 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19365   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19366 
   19367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19368   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19369   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19370       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19371   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19372 which seems to be undefined.  Please make sure it is defined" >&5
   19373 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19374 which seems to be undefined.  Please make sure it is defined" >&2;}
   19375 
   19376   rm -f "$ac_tmp/stdin"
   19377   case $ac_file in
   19378   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19379   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19380   esac \
   19381   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19382  ;;
   19383   :H)
   19384   #
   19385   # CONFIG_HEADER
   19386   #
   19387   if test x"$ac_file" != x-; then
   19388     {
   19389       $as_echo "/* $configure_input  */" \
   19390       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19391     } >"$ac_tmp/config.h" \
   19392       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19393     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19394       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19395 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19396     else
   19397       rm -f "$ac_file"
   19398       mv "$ac_tmp/config.h" "$ac_file" \
   19399 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19400     fi
   19401   else
   19402     $as_echo "/* $configure_input  */" \
   19403       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19404       || as_fn_error $? "could not create -" "$LINENO" 5
   19405   fi
   19406 # Compute "$ac_file"'s index in $config_headers.
   19407 _am_arg="$ac_file"
   19408 _am_stamp_count=1
   19409 for _am_header in $config_headers :; do
   19410   case $_am_header in
   19411     $_am_arg | $_am_arg:* )
   19412       break ;;
   19413     * )
   19414       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19415   esac
   19416 done
   19417 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19418 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19419 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19420 	 X"$_am_arg" : 'X\(//\)$' \| \
   19421 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19422 $as_echo X"$_am_arg" |
   19423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19424 	    s//\1/
   19425 	    q
   19426 	  }
   19427 	  /^X\(\/\/\)[^/].*/{
   19428 	    s//\1/
   19429 	    q
   19430 	  }
   19431 	  /^X\(\/\/\)$/{
   19432 	    s//\1/
   19433 	    q
   19434 	  }
   19435 	  /^X\(\/\).*/{
   19436 	    s//\1/
   19437 	    q
   19438 	  }
   19439 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19440  ;;
   19441 
   19442   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19443 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19444  ;;
   19445   esac
   19446 
   19447 
   19448   case $ac_file$ac_mode in
   19449     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19450   # Older Autoconf quotes --file arguments for eval, but not when files
   19451   # are listed without --file.  Let's play safe and only enable the eval
   19452   # if we detect the quoting.
   19453   case $CONFIG_FILES in
   19454   *\'*) eval set x "$CONFIG_FILES" ;;
   19455   *)   set x $CONFIG_FILES ;;
   19456   esac
   19457   shift
   19458   for mf
   19459   do
   19460     # Strip MF so we end up with the name of the file.
   19461     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19462     # Check whether this is an Automake generated Makefile or not.
   19463     # We used to match only the files named 'Makefile.in', but
   19464     # some people rename them; so instead we look at the file content.
   19465     # Grep'ing the first line is not enough: some people post-process
   19466     # each Makefile.in and add a new line on top of each file to say so.
   19467     # Grep'ing the whole file is not good either: AIX grep has a line
   19468     # limit of 2048, but all sed's we know have understand at least 4000.
   19469     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19470       dirpart=`$as_dirname -- "$mf" ||
   19471 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19472 	 X"$mf" : 'X\(//\)[^/]' \| \
   19473 	 X"$mf" : 'X\(//\)$' \| \
   19474 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19475 $as_echo X"$mf" |
   19476     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19477 	    s//\1/
   19478 	    q
   19479 	  }
   19480 	  /^X\(\/\/\)[^/].*/{
   19481 	    s//\1/
   19482 	    q
   19483 	  }
   19484 	  /^X\(\/\/\)$/{
   19485 	    s//\1/
   19486 	    q
   19487 	  }
   19488 	  /^X\(\/\).*/{
   19489 	    s//\1/
   19490 	    q
   19491 	  }
   19492 	  s/.*/./; q'`
   19493     else
   19494       continue
   19495     fi
   19496     # Extract the definition of DEPDIR, am__include, and am__quote
   19497     # from the Makefile without running 'make'.
   19498     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19499     test -z "$DEPDIR" && continue
   19500     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19501     test -z "$am__include" && continue
   19502     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19503     # Find all dependency output files, they are included files with
   19504     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19505     # simplest approach to changing $(DEPDIR) to its actual value in the
   19506     # expansion.
   19507     for file in `sed -n "
   19508       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19509 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19510       # Make sure the directory exists.
   19511       test -f "$dirpart/$file" && continue
   19512       fdir=`$as_dirname -- "$file" ||
   19513 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19514 	 X"$file" : 'X\(//\)[^/]' \| \
   19515 	 X"$file" : 'X\(//\)$' \| \
   19516 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19517 $as_echo X"$file" |
   19518     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19519 	    s//\1/
   19520 	    q
   19521 	  }
   19522 	  /^X\(\/\/\)[^/].*/{
   19523 	    s//\1/
   19524 	    q
   19525 	  }
   19526 	  /^X\(\/\/\)$/{
   19527 	    s//\1/
   19528 	    q
   19529 	  }
   19530 	  /^X\(\/\).*/{
   19531 	    s//\1/
   19532 	    q
   19533 	  }
   19534 	  s/.*/./; q'`
   19535       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19536       # echo "creating $dirpart/$file"
   19537       echo '# dummy' > "$dirpart/$file"
   19538     done
   19539   done
   19540 }
   19541  ;;
   19542     "libtool":C)
   19543 
   19544     # See if we are running on zsh, and set the options which allow our
   19545     # commands through without removal of \ escapes.
   19546     if test -n "${ZSH_VERSION+set}" ; then
   19547       setopt NO_GLOB_SUBST
   19548     fi
   19549 
   19550     cfgfile="${ofile}T"
   19551     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19552     $RM "$cfgfile"
   19553 
   19554     cat <<_LT_EOF >> "$cfgfile"
   19555 #! $SHELL
   19556 
   19557 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19558 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19559 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19560 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19561 #
   19562 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19563 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19564 #                 Foundation, Inc.
   19565 #   Written by Gordon Matzigkeit, 1996
   19566 #
   19567 #   This file is part of GNU Libtool.
   19568 #
   19569 # GNU Libtool is free software; you can redistribute it and/or
   19570 # modify it under the terms of the GNU General Public License as
   19571 # published by the Free Software Foundation; either version 2 of
   19572 # the License, or (at your option) any later version.
   19573 #
   19574 # As a special exception to the GNU General Public License,
   19575 # if you distribute this file as part of a program or library that
   19576 # is built using GNU Libtool, you may include this file under the
   19577 # same distribution terms that you use for the rest of that program.
   19578 #
   19579 # GNU Libtool is distributed in the hope that it will be useful,
   19580 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19581 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19582 # GNU General Public License for more details.
   19583 #
   19584 # You should have received a copy of the GNU General Public License
   19585 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19586 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19587 # obtained by writing to the Free Software Foundation, Inc.,
   19588 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19589 
   19590 
   19591 # The names of the tagged configurations supported by this script.
   19592 available_tags=""
   19593 
   19594 # ### BEGIN LIBTOOL CONFIG
   19595 
   19596 # Which release of libtool.m4 was used?
   19597 macro_version=$macro_version
   19598 macro_revision=$macro_revision
   19599 
   19600 # Whether or not to build shared libraries.
   19601 build_libtool_libs=$enable_shared
   19602 
   19603 # Whether or not to build static libraries.
   19604 build_old_libs=$enable_static
   19605 
   19606 # What type of objects to build.
   19607 pic_mode=$pic_mode
   19608 
   19609 # Whether or not to optimize for fast installation.
   19610 fast_install=$enable_fast_install
   19611 
   19612 # Shell to use when invoking shell scripts.
   19613 SHELL=$lt_SHELL
   19614 
   19615 # An echo program that protects backslashes.
   19616 ECHO=$lt_ECHO
   19617 
   19618 # The PATH separator for the build system.
   19619 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19620 
   19621 # The host system.
   19622 host_alias=$host_alias
   19623 host=$host
   19624 host_os=$host_os
   19625 
   19626 # The build system.
   19627 build_alias=$build_alias
   19628 build=$build
   19629 build_os=$build_os
   19630 
   19631 # A sed program that does not truncate output.
   19632 SED=$lt_SED
   19633 
   19634 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19635 Xsed="\$SED -e 1s/^X//"
   19636 
   19637 # A grep program that handles long lines.
   19638 GREP=$lt_GREP
   19639 
   19640 # An ERE matcher.
   19641 EGREP=$lt_EGREP
   19642 
   19643 # A literal string matcher.
   19644 FGREP=$lt_FGREP
   19645 
   19646 # A BSD- or MS-compatible name lister.
   19647 NM=$lt_NM
   19648 
   19649 # Whether we need soft or hard links.
   19650 LN_S=$lt_LN_S
   19651 
   19652 # What is the maximum length of a command?
   19653 max_cmd_len=$max_cmd_len
   19654 
   19655 # Object file suffix (normally "o").
   19656 objext=$ac_objext
   19657 
   19658 # Executable file suffix (normally "").
   19659 exeext=$exeext
   19660 
   19661 # whether the shell understands "unset".
   19662 lt_unset=$lt_unset
   19663 
   19664 # turn spaces into newlines.
   19665 SP2NL=$lt_lt_SP2NL
   19666 
   19667 # turn newlines into spaces.
   19668 NL2SP=$lt_lt_NL2SP
   19669 
   19670 # convert \$build file names to \$host format.
   19671 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19672 
   19673 # convert \$build files to toolchain format.
   19674 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19675 
   19676 # An object symbol dumper.
   19677 OBJDUMP=$lt_OBJDUMP
   19678 
   19679 # Method to check whether dependent libraries are shared objects.
   19680 deplibs_check_method=$lt_deplibs_check_method
   19681 
   19682 # Command to use when deplibs_check_method = "file_magic".
   19683 file_magic_cmd=$lt_file_magic_cmd
   19684 
   19685 # How to find potential files when deplibs_check_method = "file_magic".
   19686 file_magic_glob=$lt_file_magic_glob
   19687 
   19688 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19689 want_nocaseglob=$lt_want_nocaseglob
   19690 
   19691 # DLL creation program.
   19692 DLLTOOL=$lt_DLLTOOL
   19693 
   19694 # Command to associate shared and link libraries.
   19695 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19696 
   19697 # The archiver.
   19698 AR=$lt_AR
   19699 
   19700 # Flags to create an archive.
   19701 AR_FLAGS=$lt_AR_FLAGS
   19702 
   19703 # How to feed a file listing to the archiver.
   19704 archiver_list_spec=$lt_archiver_list_spec
   19705 
   19706 # A symbol stripping program.
   19707 STRIP=$lt_STRIP
   19708 
   19709 # Commands used to install an old-style archive.
   19710 RANLIB=$lt_RANLIB
   19711 old_postinstall_cmds=$lt_old_postinstall_cmds
   19712 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19713 
   19714 # Whether to use a lock for old archive extraction.
   19715 lock_old_archive_extraction=$lock_old_archive_extraction
   19716 
   19717 # A C compiler.
   19718 LTCC=$lt_CC
   19719 
   19720 # LTCC compiler flags.
   19721 LTCFLAGS=$lt_CFLAGS
   19722 
   19723 # Take the output of nm and produce a listing of raw symbols and C names.
   19724 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19725 
   19726 # Transform the output of nm in a proper C declaration.
   19727 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19728 
   19729 # Transform the output of nm in a C name address pair.
   19730 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19731 
   19732 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19733 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19734 
   19735 # Specify filename containing input files for \$NM.
   19736 nm_file_list_spec=$lt_nm_file_list_spec
   19737 
   19738 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19739 lt_sysroot=$lt_sysroot
   19740 
   19741 # The name of the directory that contains temporary libtool files.
   19742 objdir=$objdir
   19743 
   19744 # Used to examine libraries when file_magic_cmd begins with "file".
   19745 MAGIC_CMD=$MAGIC_CMD
   19746 
   19747 # Must we lock files when doing compilation?
   19748 need_locks=$lt_need_locks
   19749 
   19750 # Manifest tool.
   19751 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19752 
   19753 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19754 DSYMUTIL=$lt_DSYMUTIL
   19755 
   19756 # Tool to change global to local symbols on Mac OS X.
   19757 NMEDIT=$lt_NMEDIT
   19758 
   19759 # Tool to manipulate fat objects and archives on Mac OS X.
   19760 LIPO=$lt_LIPO
   19761 
   19762 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19763 OTOOL=$lt_OTOOL
   19764 
   19765 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19766 OTOOL64=$lt_OTOOL64
   19767 
   19768 # Old archive suffix (normally "a").
   19769 libext=$libext
   19770 
   19771 # Shared library suffix (normally ".so").
   19772 shrext_cmds=$lt_shrext_cmds
   19773 
   19774 # The commands to extract the exported symbol list from a shared archive.
   19775 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19776 
   19777 # Variables whose values should be saved in libtool wrapper scripts and
   19778 # restored at link time.
   19779 variables_saved_for_relink=$lt_variables_saved_for_relink
   19780 
   19781 # Do we need the "lib" prefix for modules?
   19782 need_lib_prefix=$need_lib_prefix
   19783 
   19784 # Do we need a version for libraries?
   19785 need_version=$need_version
   19786 
   19787 # Library versioning type.
   19788 version_type=$version_type
   19789 
   19790 # Shared library runtime path variable.
   19791 runpath_var=$runpath_var
   19792 
   19793 # Shared library path variable.
   19794 shlibpath_var=$shlibpath_var
   19795 
   19796 # Is shlibpath searched before the hard-coded library search path?
   19797 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19798 
   19799 # Format of library name prefix.
   19800 libname_spec=$lt_libname_spec
   19801 
   19802 # List of archive names.  First name is the real one, the rest are links.
   19803 # The last name is the one that the linker finds with -lNAME
   19804 library_names_spec=$lt_library_names_spec
   19805 
   19806 # The coded name of the library, if different from the real name.
   19807 soname_spec=$lt_soname_spec
   19808 
   19809 # Permission mode override for installation of shared libraries.
   19810 install_override_mode=$lt_install_override_mode
   19811 
   19812 # Command to use after installation of a shared archive.
   19813 postinstall_cmds=$lt_postinstall_cmds
   19814 
   19815 # Command to use after uninstallation of a shared archive.
   19816 postuninstall_cmds=$lt_postuninstall_cmds
   19817 
   19818 # Commands used to finish a libtool library installation in a directory.
   19819 finish_cmds=$lt_finish_cmds
   19820 
   19821 # As "finish_cmds", except a single script fragment to be evaled but
   19822 # not shown.
   19823 finish_eval=$lt_finish_eval
   19824 
   19825 # Whether we should hardcode library paths into libraries.
   19826 hardcode_into_libs=$hardcode_into_libs
   19827 
   19828 # Compile-time system search path for libraries.
   19829 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19830 
   19831 # Run-time system search path for libraries.
   19832 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19833 
   19834 # Whether dlopen is supported.
   19835 dlopen_support=$enable_dlopen
   19836 
   19837 # Whether dlopen of programs is supported.
   19838 dlopen_self=$enable_dlopen_self
   19839 
   19840 # Whether dlopen of statically linked programs is supported.
   19841 dlopen_self_static=$enable_dlopen_self_static
   19842 
   19843 # Commands to strip libraries.
   19844 old_striplib=$lt_old_striplib
   19845 striplib=$lt_striplib
   19846 
   19847 
   19848 # The linker used to build libraries.
   19849 LD=$lt_LD
   19850 
   19851 # How to create reloadable object files.
   19852 reload_flag=$lt_reload_flag
   19853 reload_cmds=$lt_reload_cmds
   19854 
   19855 # Commands used to build an old-style archive.
   19856 old_archive_cmds=$lt_old_archive_cmds
   19857 
   19858 # A language specific compiler.
   19859 CC=$lt_compiler
   19860 
   19861 # Is the compiler the GNU compiler?
   19862 with_gcc=$GCC
   19863 
   19864 # Compiler flag to turn off builtin functions.
   19865 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19866 
   19867 # Additional compiler flags for building library objects.
   19868 pic_flag=$lt_lt_prog_compiler_pic
   19869 
   19870 # How to pass a linker flag through the compiler.
   19871 wl=$lt_lt_prog_compiler_wl
   19872 
   19873 # Compiler flag to prevent dynamic linking.
   19874 link_static_flag=$lt_lt_prog_compiler_static
   19875 
   19876 # Does compiler simultaneously support -c and -o options?
   19877 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19878 
   19879 # Whether or not to add -lc for building shared libraries.
   19880 build_libtool_need_lc=$archive_cmds_need_lc
   19881 
   19882 # Whether or not to disallow shared libs when runtime libs are static.
   19883 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19884 
   19885 # Compiler flag to allow reflexive dlopens.
   19886 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19887 
   19888 # Compiler flag to generate shared objects directly from archives.
   19889 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19890 
   19891 # Whether the compiler copes with passing no objects directly.
   19892 compiler_needs_object=$lt_compiler_needs_object
   19893 
   19894 # Create an old-style archive from a shared archive.
   19895 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19896 
   19897 # Create a temporary old-style archive to link instead of a shared archive.
   19898 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19899 
   19900 # Commands used to build a shared archive.
   19901 archive_cmds=$lt_archive_cmds
   19902 archive_expsym_cmds=$lt_archive_expsym_cmds
   19903 
   19904 # Commands used to build a loadable module if different from building
   19905 # a shared archive.
   19906 module_cmds=$lt_module_cmds
   19907 module_expsym_cmds=$lt_module_expsym_cmds
   19908 
   19909 # Whether we are building with GNU ld or not.
   19910 with_gnu_ld=$lt_with_gnu_ld
   19911 
   19912 # Flag that allows shared libraries with undefined symbols to be built.
   19913 allow_undefined_flag=$lt_allow_undefined_flag
   19914 
   19915 # Flag that enforces no undefined symbols.
   19916 no_undefined_flag=$lt_no_undefined_flag
   19917 
   19918 # Flag to hardcode \$libdir into a binary during linking.
   19919 # This must work even if \$libdir does not exist
   19920 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19921 
   19922 # Whether we need a single "-rpath" flag with a separated argument.
   19923 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19924 
   19925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19926 # DIR into the resulting binary.
   19927 hardcode_direct=$hardcode_direct
   19928 
   19929 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19930 # DIR into the resulting binary and the resulting library dependency is
   19931 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19932 # library is relocated.
   19933 hardcode_direct_absolute=$hardcode_direct_absolute
   19934 
   19935 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19936 # into the resulting binary.
   19937 hardcode_minus_L=$hardcode_minus_L
   19938 
   19939 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19940 # into the resulting binary.
   19941 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19942 
   19943 # Set to "yes" if building a shared library automatically hardcodes DIR
   19944 # into the library and all subsequent libraries and executables linked
   19945 # against it.
   19946 hardcode_automatic=$hardcode_automatic
   19947 
   19948 # Set to yes if linker adds runtime paths of dependent libraries
   19949 # to runtime path list.
   19950 inherit_rpath=$inherit_rpath
   19951 
   19952 # Whether libtool must link a program against all its dependency libraries.
   19953 link_all_deplibs=$link_all_deplibs
   19954 
   19955 # Set to "yes" if exported symbols are required.
   19956 always_export_symbols=$always_export_symbols
   19957 
   19958 # The commands to list exported symbols.
   19959 export_symbols_cmds=$lt_export_symbols_cmds
   19960 
   19961 # Symbols that should not be listed in the preloaded symbols.
   19962 exclude_expsyms=$lt_exclude_expsyms
   19963 
   19964 # Symbols that must always be exported.
   19965 include_expsyms=$lt_include_expsyms
   19966 
   19967 # Commands necessary for linking programs (against libraries) with templates.
   19968 prelink_cmds=$lt_prelink_cmds
   19969 
   19970 # Commands necessary for finishing linking programs.
   19971 postlink_cmds=$lt_postlink_cmds
   19972 
   19973 # Specify filename containing input files.
   19974 file_list_spec=$lt_file_list_spec
   19975 
   19976 # How to hardcode a shared library path into an executable.
   19977 hardcode_action=$hardcode_action
   19978 
   19979 # ### END LIBTOOL CONFIG
   19980 
   19981 _LT_EOF
   19982 
   19983   case $host_os in
   19984   aix3*)
   19985     cat <<\_LT_EOF >> "$cfgfile"
   19986 # AIX sometimes has problems with the GCC collect2 program.  For some
   19987 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19988 # vanish in a puff of smoke.
   19989 if test "X${COLLECT_NAMES+set}" != Xset; then
   19990   COLLECT_NAMES=
   19991   export COLLECT_NAMES
   19992 fi
   19993 _LT_EOF
   19994     ;;
   19995   esac
   19996 
   19997 
   19998 ltmain="$ac_aux_dir/ltmain.sh"
   19999 
   20000 
   20001   # We use sed instead of cat because bash on DJGPP gets confused if
   20002   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20003   # text mode, it properly converts lines to CR/LF.  This bash problem
   20004   # is reportedly fixed, but why not run on old versions too?
   20005   sed '$q' "$ltmain" >> "$cfgfile" \
   20006      || (rm -f "$cfgfile"; exit 1)
   20007 
   20008   if test x"$xsi_shell" = xyes; then
   20009   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20010 func_dirname ()\
   20011 {\
   20012 \    case ${1} in\
   20013 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20014 \      *  ) func_dirname_result="${3}" ;;\
   20015 \    esac\
   20016 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20017   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20018     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20019 test 0 -eq $? || _lt_function_replace_fail=:
   20020 
   20021 
   20022   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20023 func_basename ()\
   20024 {\
   20025 \    func_basename_result="${1##*/}"\
   20026 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20027   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20028     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20029 test 0 -eq $? || _lt_function_replace_fail=:
   20030 
   20031 
   20032   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20033 func_dirname_and_basename ()\
   20034 {\
   20035 \    case ${1} in\
   20036 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20037 \      *  ) func_dirname_result="${3}" ;;\
   20038 \    esac\
   20039 \    func_basename_result="${1##*/}"\
   20040 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20041   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20042     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20043 test 0 -eq $? || _lt_function_replace_fail=:
   20044 
   20045 
   20046   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20047 func_stripname ()\
   20048 {\
   20049 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20050 \    # positional parameters, so assign one to ordinary parameter first.\
   20051 \    func_stripname_result=${3}\
   20052 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20053 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20054 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20055   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20056     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20057 test 0 -eq $? || _lt_function_replace_fail=:
   20058 
   20059 
   20060   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20061 func_split_long_opt ()\
   20062 {\
   20063 \    func_split_long_opt_name=${1%%=*}\
   20064 \    func_split_long_opt_arg=${1#*=}\
   20065 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20066   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20067     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20068 test 0 -eq $? || _lt_function_replace_fail=:
   20069 
   20070 
   20071   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20072 func_split_short_opt ()\
   20073 {\
   20074 \    func_split_short_opt_arg=${1#??}\
   20075 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20076 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20077   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20078     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20079 test 0 -eq $? || _lt_function_replace_fail=:
   20080 
   20081 
   20082   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20083 func_lo2o ()\
   20084 {\
   20085 \    case ${1} in\
   20086 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20087 \      *)    func_lo2o_result=${1} ;;\
   20088 \    esac\
   20089 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20090   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20091     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20092 test 0 -eq $? || _lt_function_replace_fail=:
   20093 
   20094 
   20095   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20096 func_xform ()\
   20097 {\
   20098     func_xform_result=${1%.*}.lo\
   20099 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20100   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20102 test 0 -eq $? || _lt_function_replace_fail=:
   20103 
   20104 
   20105   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20106 func_arith ()\
   20107 {\
   20108     func_arith_result=$(( $* ))\
   20109 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20110   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20111     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20112 test 0 -eq $? || _lt_function_replace_fail=:
   20113 
   20114 
   20115   sed -e '/^func_len ()$/,/^} # func_len /c\
   20116 func_len ()\
   20117 {\
   20118     func_len_result=${#1}\
   20119 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20120   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20121     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20122 test 0 -eq $? || _lt_function_replace_fail=:
   20123 
   20124 fi
   20125 
   20126 if test x"$lt_shell_append" = xyes; then
   20127   sed -e '/^func_append ()$/,/^} # func_append /c\
   20128 func_append ()\
   20129 {\
   20130     eval "${1}+=\\${2}"\
   20131 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20132   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20133     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20134 test 0 -eq $? || _lt_function_replace_fail=:
   20135 
   20136 
   20137   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20138 func_append_quoted ()\
   20139 {\
   20140 \    func_quote_for_eval "${2}"\
   20141 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20142 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20143   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20144     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20145 test 0 -eq $? || _lt_function_replace_fail=:
   20146 
   20147 
   20148   # Save a `func_append' function call where possible by direct use of '+='
   20149   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20150     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20151       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20152   test 0 -eq $? || _lt_function_replace_fail=:
   20153 else
   20154   # Save a `func_append' function call even when '+=' is not available
   20155   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20156     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20157       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20158   test 0 -eq $? || _lt_function_replace_fail=:
   20159 fi
   20160 
   20161 if test x"$_lt_function_replace_fail" = x":"; then
   20162   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20163 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20164 fi
   20165 
   20166 
   20167    mv -f "$cfgfile" "$ofile" ||
   20168     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20169   chmod +x "$ofile"
   20170 
   20171  ;;
   20172 
   20173   esac
   20174 done # for ac_tag
   20175 
   20176 
   20177 as_fn_exit 0
   20178 _ACEOF
   20179 ac_clean_files=$ac_clean_files_save
   20180 
   20181 test $ac_write_fail = 0 ||
   20182   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20183 
   20184 
   20185 # configure is writing to config.log, and then calls config.status.
   20186 # config.status does its own redirection, appending to config.log.
   20187 # Unfortunately, on DOS this fails, as config.log is still kept open
   20188 # by configure, so config.status won't be able to write to it; its
   20189 # output is simply discarded.  So we exec the FD to /dev/null,
   20190 # effectively closing config.log, so it can be properly (re)opened and
   20191 # appended to by config.status.  When coming back to configure, we
   20192 # need to make the FD available again.
   20193 if test "$no_create" != yes; then
   20194   ac_cs_success=:
   20195   ac_config_status_args=
   20196   test "$silent" = yes &&
   20197     ac_config_status_args="$ac_config_status_args --quiet"
   20198   exec 5>/dev/null
   20199   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20200   exec 5>>config.log
   20201   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20202   # would make configure fail if this is the last instruction.
   20203   $ac_cs_success || as_fn_exit 1
   20204 fi
   20205 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20207 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20208 fi
   20209 
   20210